/*
Theme Name: DANUTS Storefront
Description: Theme bán hạt điều DANUTS với trang chủ dài, animation, Elementor và WooCommerce.
Version: 1.3.0
Requires at least: 6.5
Requires PHP: 7.4
Author: DANUTS
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: danuts
Tags: e-commerce, food-and-drink, custom-colors, custom-logo, featured-images, full-width-template
*/

:root {
  --danuts-site-cream: #f8f0d2;
  --danuts-site-paper: #fffaf0;
  --danuts-site-ink: #172b20;
  --danuts-site-orange: #ee5a3d;
  --danuts-site-yellow: #f2ba3a;
  --danuts-site-green: #174c35;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--danuts-site-cream);
  color: var(--danuts-site-ink);
  font-family: "Be Vietnam Pro", "Segoe UI", Arial, Tahoma, sans-serif;
  line-height: 1.65;
}
*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 16px;
  background: var(--danuts-site-yellow);
  color: var(--danuts-site-ink);
  font-weight: 800;
}
.site-header,
.site-footer { background: var(--danuts-site-ink); color: var(--danuts-site-paper); }
.site-header__inner,
.site-footer__inner,
.site-main {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.site-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.site-header__actions { display: flex; align-items: center; gap: 18px; }
.site-branding a { color: var(--danuts-site-yellow); font-size: 27px; font-weight: 900; text-decoration: none; }
.site-branding .custom-logo { display: block; width: auto; max-width: min(210px, 55vw); max-height: 60px; object-fit: contain; }
.site-header nav ul { display: flex; flex-wrap: wrap; gap: 22px; margin: 0; padding: 0; list-style: none; }
.site-header nav a { color: inherit; font-size: 12px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.site-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 13px;
  border: 2px solid currentColor;
  color: var(--danuts-site-yellow);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}
.site-cart-link:hover { background: var(--danuts-site-yellow); color: var(--danuts-site-ink); }
.site-main { min-height: 60vh; padding-block: clamp(54px, 8vw, 100px); }
.site-main--elementor { width: 100%; max-width: none; padding: 0; }
.entry-card { margin-bottom: 26px; padding: clamp(24px, 4vw, 48px); border: 2px solid var(--danuts-site-ink); background: var(--danuts-site-paper); box-shadow: 7px 7px 0 var(--danuts-site-ink); }
.entry-card h1,
.entry-card h2 { margin-top: 0; font-weight: 900; line-height: 1.08; }
.entry-card a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 20px; padding-block: 30px; font-size: 12px; }
.nav-links { display: flex; justify-content: space-between; gap: 20px; margin-top: 35px; font-weight: 800; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--danuts-site-orange); outline-offset: 3px; }
@media (max-width: 700px) {
  .site-header__inner,
  .site-footer__inner { align-items: flex-start; flex-direction: column; padding-block: 22px; }
  .site-header nav ul { gap: 13px; }
  .site-header__actions { width: 100%; align-items: flex-start; flex-direction: column; }
}
