/* Dutyfree-Shop 2026 — site.css bundle · 2026-04-20T22:45:11 */

/* === _tokens.css === */
/* =========================================================
   Design tokens — единый источник правды для всего UI
   ========================================================= */
:root {
  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter Display', 'Inter', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Type scale (fluid clamp) */
  --fs-xs: clamp(11px, 0.75rem, 12px);
  --fs-sm: clamp(13px, 0.85rem, 14px);
  --fs-base: clamp(15px, 1rem, 16px);
  --fs-md: clamp(16px, 1.1rem, 18px);
  --fs-lg: clamp(18px, 1.25rem, 22px);
  --fs-xl: clamp(22px, 1.6rem, 28px);
  --fs-2xl: clamp(28px, 2rem, 36px);
  --fs-3xl: clamp(36px, 2.8rem, 48px);
  --fs-4xl: clamp(48px, 4rem, 72px);

  /* Font weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semi: 600;
  --fw-bold: 700;
  --fw-black: 800;

  /* Line heights */
  --lh-tight: 1.05;
  --lh-snug: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;

  /* Spacing scale (4px base) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Radii */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);

  /* Transitions */
  --t-fast: 120ms cubic-bezier(.4,0,.2,1);
  --t-base: 240ms cubic-bezier(.4,0,.2,1);
  --t-slow: 400ms cubic-bezier(.4,0,.2,1);

  /* Layout */
  --container-max: 1240px;
  --container-pad: clamp(16px, 4vw, 32px);

  /* Z-index */
  --z-base: 1;
  --z-sticky: 10;
  --z-drawer: 50;
  --z-overlay: 80;
  --z-modal: 100;
  --z-toast: 120;

  /* Brand */
  --brand-red: #d04c2d;
  --brand-red-dark: #b03a21;
  --brand-gold: #e8ca49;
  --brand-terracotta: #bd6706;
}

/* ===== Light theme (default) ===== */
:root,
[data-theme="light"] {
  --bg: #ffffff;
  --bg-raised: #ffffff;
  --bg-alt: #faf9f5;
  --bg-muted: #f3f1ea;

  --ink: #141414;
  --ink-2: #2a2a2a;
  --ink-muted: rgba(20,20,20,0.55);
  --ink-subtle: rgba(20,20,20,0.32);
  --ink-inverse: #eae7df;

  --hairline: rgba(20,20,20,0.08);
  --hairline-strong: rgba(20,20,20,0.15);

  --accent: var(--brand-terracotta);
  --accent-hover: #a55a04;
  --accent-soft: rgba(189,103,6,0.08);
  --accent-contrast: #ffffff;

  --sale: var(--brand-red);
  --sale-contrast: #ffffff;

  --link: var(--ink);
  --link-hover: var(--accent);
}

/* ===== Dark theme ===== */
[data-theme="dark"] {
  --bg: #141414;
  --bg-raised: #1a1a1a;
  --bg-alt: #1e1e1e;
  --bg-muted: #242424;

  --ink: #eae7df;
  --ink-2: #d4d0c6;
  --ink-muted: rgba(234,231,223,0.55);
  --ink-subtle: rgba(234,231,223,0.3);
  --ink-inverse: #141414;

  --hairline: rgba(255,255,255,0.08);
  --hairline-strong: rgba(255,255,255,0.15);

  --accent: var(--brand-gold);
  --accent-hover: #f3dc76;
  --accent-soft: rgba(232,202,73,0.1);
  --accent-contrast: #141414;

  --sale: var(--brand-red);
  --sale-contrast: #ffffff;

  --link: var(--ink);
  --link-hover: var(--accent);
}

/* Auto dark mode — respect system unless user chose explicitly */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141414;
    --bg-raised: #1a1a1a;
    --bg-alt: #1e1e1e;
    --bg-muted: #242424;
    --ink: #eae7df;
    --ink-2: #d4d0c6;
    --ink-muted: rgba(234,231,223,0.55);
    --ink-subtle: rgba(234,231,223,0.3);
    --ink-inverse: #141414;
    --hairline: rgba(255,255,255,0.08);
    --hairline-strong: rgba(255,255,255,0.15);
    --accent: var(--brand-gold);
    --accent-hover: #f3dc76;
    --accent-soft: rgba(232,202,73,0.1);
    --accent-contrast: #141414;
  }
}

/* === _reset.css === */
/* =========================================================
   Modern CSS reset
   ========================================================= */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html,body { height: 100%; }
html { -webkit-text-size-adjust: 100%; -moz-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  transition: background var(--t-base), color var(--t-base);
  min-height: 100dvh;
}
img,svg,video,canvas,picture { display: block; max-width: 100%; }
img { height: auto; }
input,button,textarea,select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
h1,h2,h3,h4,h5,h6 { text-wrap: balance; line-height: var(--lh-tight); font-weight: var(--fw-medium); }
p { text-wrap: pretty; }
p,li { line-height: var(--lh-relaxed); }
ul,ol { padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--hairline); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-contrast); }

/* Scrollbars */
* { scrollbar-width: thin; scrollbar-color: var(--hairline-strong) transparent; }
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-thumb { background: var(--hairline-strong); border-radius: 3px; }
*::-webkit-scrollbar-track { background: transparent; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Container */
.container { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-pad); }

/* === _typography.css === */
/* =========================================================
   Typography — Inter Variable + Inter Display
   ========================================================= */
@font-face {
  font-family: 'Inter';
  src: url('../../fonts/InterVariable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../../fonts/InterVariable-Italic.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Display';
  src: url('../../fonts/InterDisplay-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Display';
  src: url('../../fonts/InterDisplay-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Display';
  src: url('../../fonts/InterDisplay-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Display';
  src: url('../../fonts/InterDisplay-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

body { font-size: var(--fs-base); font-weight: var(--fw-regular); }

h1,h2,h3,h4 { font-family: var(--font-display); letter-spacing: -0.02em; }
h1 { font-size: var(--fs-4xl); font-weight: var(--fw-light); letter-spacing: -0.03em; line-height: var(--lh-tight); }
h2 { font-size: var(--fs-3xl); font-weight: var(--fw-medium); line-height: var(--lh-tight); }
h3 { font-size: var(--fs-2xl); font-weight: var(--fw-medium); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-xl); font-weight: var(--fw-medium); line-height: var(--lh-snug); }
h5 { font-size: var(--fs-lg); font-weight: var(--fw-semi); letter-spacing: -0.01em; }
h6 { font-size: var(--fs-md); font-weight: var(--fw-semi); letter-spacing: 0.02em; text-transform: uppercase; }

em { font-style: italic; }
strong, b { font-weight: var(--fw-semi); }
small { font-size: var(--fs-xs); }

.eyebrow { font-size: var(--fs-xs); font-weight: var(--fw-semi); letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.mono { font-family: var(--font-mono); }

@supports (font-variation-settings: normal) {
  body { font-feature-settings: "cv11", "ss01", "ss03"; /* Inter alt glyphs */ }
}

/* === _layout.css === */
/* =========================================================
   Layout — container, grid helpers, section spacing
   ========================================================= */
.main { min-height: 50vh; padding-block: var(--sp-8); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.grid-3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
}

.stack > * + * { margin-top: var(--sp-4); }
.stack-lg > * + * { margin-top: var(--sp-8); }

.flex { display: flex; gap: var(--sp-3); }
.flex-col { display: flex; flex-direction: column; gap: var(--sp-3); }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.section { padding-block: var(--sp-12); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.section-title h2 { font-family: var(--font-display); font-weight: var(--fw-light); letter-spacing: -0.03em; }
.section-title h2 em { font-style: italic; color: var(--accent); font-weight: var(--fw-regular); }
.section-title .section-meta { font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); font-weight: var(--fw-semi); }

/* === _header.css === */
/* =========================================================
   Site header — mobile-first sticky
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-3);
  min-height: 56px;
  padding-block: var(--sp-2);
}
@media (min-width: 768px) {
  .site-header__inner { min-height: 68px; gap: var(--sp-6); }
}

.site-header__brand {
  display: flex;
  justify-content: center;
  color: var(--ink);
  text-decoration: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
@media (min-width: 768px) {
  .site-header__actions { gap: var(--sp-2); }
}

/* Brand wordmark */
.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: clamp(14px, 4vw, 20px);
  letter-spacing: 0.08em;
  text-transform: none;
  line-height: 1;
}
.brand-wordmark__main { color: var(--ink); }
.brand-wordmark__dash { color: var(--accent); padding-inline: 0.15em; font-weight: var(--fw-medium); }
.brand-wordmark--footer { font-size: clamp(20px, 3.2vw, 28px); margin-bottom: var(--sp-3); }

/* Icon button */
.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  border-radius: var(--r-sm);
  transition: background var(--t-fast), color var(--t-fast);
}
.icon-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-btn:hover { background: var(--bg-muted); color: var(--accent); }
.icon-btn:active { transform: scale(0.96); }

.icon-btn__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sale);
  color: var(--sale-contrast);
  font-size: 10px;
  font-weight: var(--fw-bold);
  border-radius: var(--r-full);
  line-height: 1;
}

/* Theme toggle: show sun in dark / moon in light */
.icon-btn[data-action="toggle-theme"] .icon-moon { display: none; }
[data-theme="dark"] .icon-btn[data-action="toggle-theme"] .icon-sun { display: none; }
[data-theme="dark"] .icon-btn[data-action="toggle-theme"] .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-btn[data-action="toggle-theme"] .icon-sun { display: none; }
  :root:not([data-theme="light"]) .icon-btn[data-action="toggle-theme"] .icon-moon { display: block; }
}

/* === _menu.css === */
/* =========================================================
   Mobile drawer navigation (<dialog>-based)
   ========================================================= */
.mobile-nav {
  margin: 0;
  padding: 0;
  border: 0;
  max-width: 100%;
  width: 100%;
  max-height: 100%;
  height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  transform: translateY(100%);
  transition: transform var(--t-base);
}
.mobile-nav[open] { transform: translateY(0); }
.mobile-nav::backdrop {
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
@media (min-width: 768px) {
  .mobile-nav {
    inset-inline: auto 0;
    inset-block: 0;
    width: min(420px, 90vw);
    transform: translateX(100%);
  }
  .mobile-nav[open] { transform: translateX(0); }
}

.mobile-nav__inner {
  height: 100%;
  overflow-y: auto;
  padding-block-end: env(safe-area-inset-bottom, 0);
}

.mobile-nav__top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-5) var(--sp-3);
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
}
.mobile-nav__title {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-lg);
  letter-spacing: -0.02em;
}

.mobile-nav__search {
  position: relative;
  padding: var(--sp-3) var(--sp-5);
  border-bottom: 1px solid var(--hairline);
}
.mobile-nav__search svg {
  position: absolute;
  left: calc(var(--sp-5) + 4px);
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--ink-muted);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-nav__search input {
  width: 100%;
  background: transparent;
  border: 0;
  padding: var(--sp-2) 0 var(--sp-2) 32px;
  font-size: var(--fs-md);
  color: var(--ink);
}
.mobile-nav__search input::placeholder { color: var(--ink-subtle); font-style: italic; }
.mobile-nav__search input:focus { outline: none; }

.mobile-nav__hero { padding: var(--sp-8) var(--sp-6) var(--sp-5); }
.mobile-nav__hero .eyebrow { display: inline-block; margin-bottom: var(--sp-3); }
.mobile-nav__headline {
  font-family: var(--font-display);
  font-weight: var(--fw-light);
  font-size: clamp(26px, 6vw, 34px);
  letter-spacing: -0.025em;
  line-height: var(--lh-tight);
  color: var(--ink);
}
.mobile-nav__headline em { font-style: italic; color: var(--accent); font-weight: var(--fw-light); }

.mobile-nav__shortcuts {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  padding: 0 var(--sp-5) var(--sp-5);
  scrollbar-width: none;
}
.mobile-nav__shortcuts::-webkit-scrollbar { display: none; }

.chip {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: var(--fs-xs);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-full);
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
  transition: all var(--t-fast);
}
.chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip--sale { color: var(--sale); border-color: var(--sale); }
.chip--sale:hover { background: var(--sale); color: var(--sale-contrast); border-color: var(--sale); }

.mobile-nav__list {
  padding: var(--sp-3) var(--sp-5) var(--sp-4);
  list-style: none;
}
.mobile-nav__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
  text-decoration: none;
  transition: padding-inline-start var(--t-fast);
}
.mobile-nav__list li:last-child a { border-bottom: 0; }
.mobile-nav__list a:hover { padding-inline-start: 8px; }
.mobile-nav__list a:hover .mobile-nav__name em { color: var(--accent); }

.mobile-nav__name {
  flex: 1;
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-lg);
  letter-spacing: -0.01em;
  line-height: 1;
}
.mobile-nav__name em {
  font-style: italic;
  font-weight: var(--fw-light);
  color: var(--ink-muted);
  font-size: 0.92em;
}
.mobile-nav__count {
  font-size: var(--fs-xs);
  color: var(--ink-subtle);
  letter-spacing: 0.04em;
  font-weight: var(--fw-medium);
}
.mobile-nav__chevron { color: var(--ink-subtle); font-size: var(--fs-base); }

.mobile-nav__section {
  padding: var(--sp-5) var(--sp-6) var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.mobile-nav__info {
  padding: 0 var(--sp-5) var(--sp-10);
  list-style: none;
}
.mobile-nav__info a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-muted);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}
.mobile-nav__info li:last-child a { border-bottom: 0; }
.mobile-nav__info a:hover { color: var(--accent); }
.mobile-nav__info a > span { color: var(--ink-subtle); }

/* === _footer.css === */
/* =========================================================
   Site footer
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--bg-alt);
  margin-top: var(--sp-16);
  padding-block: var(--sp-12) var(--sp-5);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-8);
}
@media (min-width: 640px) {
  .site-footer__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .site-footer__inner { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: var(--sp-10); }
}

.site-footer__brand { max-width: 360px; }
.site-footer__slogan {
  color: var(--ink-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}

.site-footer__col ul { list-style: none; }
.site-footer__col li { margin-bottom: var(--sp-2); }
.site-footer__col a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color var(--t-fast);
}
.site-footer__col a:hover { color: var(--accent); }

.site-footer__title {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--sp-4);
}

.site-footer__phone {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-lg);
  letter-spacing: -0.01em;
  color: var(--ink) !important;
}
.site-footer__hours { color: var(--ink-subtle); font-size: var(--fs-xs); }

.site-footer__social { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); }
.social-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline-strong);
  color: var(--ink-muted);
  transition: all var(--t-fast);
}
.social-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.social-btn:hover { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--hairline);
  font-size: var(--fs-xs);
  color: var(--ink-subtle);
  letter-spacing: 0.02em;
}
@media (min-width: 640px) {
  .site-footer__legal { flex-direction: row; justify-content: space-between; align-items: center; }
}
.site-footer__legal a { color: var(--ink-subtle); text-decoration: none; }
.site-footer__legal a:hover { color: var(--accent); }
