/* ==========================================================================
   Order Click — Restaurant Template
   Design system + components
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* palette */
  --cream:      #FBF6EE;
  --cream-2:    #F4EDE1;
  --paper:      #FFFFFF;
  --ink:        #14181B;
  --ink-2:      #2C3237;
  --muted:      #6E7781;
  --line:       rgba(20, 24, 27, .09);
  --line-strong:rgba(20, 24, 27, .16);

  --brand:      #12A150;
  --brand-dark: #0C7C3D;
  --brand-soft: #E7F6EC;
  --accent:     #FF6B35;
  --accent-soft:#FFEDE5;
  --gold:       #E8A33D;
  --danger:     #E5484D;

  /* semantic */
  --bg:         var(--cream);
  --bg-alt:     var(--cream-2);
  --surface:    var(--paper);
  --surface-2:  #FBFAF8;
  --text:       var(--ink);
  --text-2:     var(--muted);

  /* type */
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", sans-serif;

  /* shape */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* elevation */
  --sh-xs: 0 1px 2px rgba(16, 20, 24, .05);
  --sh-sm: 0 2px 8px rgba(16, 20, 24, .06);
  --sh:    0 8px 28px rgba(16, 20, 24, .08);
  --sh-lg: 0 24px 60px rgba(16, 20, 24, .12);
  --ring:  0 0 0 4px rgba(18, 161, 80, .16);

  /* layout */
  --container: 1240px;
  --gutter: 20px;
  --header-h: 74px;

  --ease: cubic-bezier(.22, .8, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

html[data-theme="dark"] {
  --bg:        #0D1012;
  --bg-alt:    #121618;
  --surface:   #171B1E;
  --surface-2: #1D2225;
  --text:      #F2F4F5;
  --text-2:    #9AA3AA;
  --line:      rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --brand-soft: rgba(18, 161, 80, .14);
  --accent-soft: rgba(255, 107, 53, .14);
  --sh-xs: 0 1px 2px rgba(0, 0, 0, .4);
  --sh-sm: 0 2px 10px rgba(0, 0, 0, .35);
  --sh:    0 10px 34px rgba(0, 0, 0, .45);
  --sh-lg: 0 26px 70px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }

body.no-scroll { overflow: hidden; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; border: 3px solid var(--bg); }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.02em; }
h4 { font-size: 1.08rem; letter-spacing: -.01em; }
p  { color: var(--text-2); }
.lead { font-size: clamp(1rem, 1.35vw, 1.14rem); color: var(--text-2); line-height: 1.72; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.text-center { text-align: center; }
.text-center .eyebrow::before { display: none; }

/* ---------- 4. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-sm { max-width: 880px; }
.section { padding: clamp(56px, 8vw, 108px) 0; }
.section-tight { padding: clamp(40px, 5vw, 68px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 14px 0 12px; }
.section-head p { font-size: 1.02rem; }
.head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 44px);
}
.head-row .section-head { margin-bottom: 0; }
.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.bg-alt { background: var(--bg-alt); }
.divider { height: 1px; background: var(--line); border: 0; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .95rem; letter-spacing: -.01em;
  white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s ease, color .2s ease, border-color .2s ease;
  box-shadow: var(--sh-xs);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary { --btn-bg: var(--brand); --btn-fg: #fff; }
.btn-primary:hover { --btn-bg: var(--brand-dark); }
.btn-dark { --btn-bg: var(--ink); --btn-fg: #fff; }
html[data-theme="dark"] .btn-dark { --btn-bg: #fff; --btn-fg: #101315; }
.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--text);
  border: 1.5px solid var(--line-strong); box-shadow: none;
}
.btn-ghost:hover { border-color: var(--text); box-shadow: var(--sh-sm); }
.btn-soft { --btn-bg: var(--surface); --btn-fg: var(--text); border: 1px solid var(--line); }
.btn-accent { --btn-bg: var(--accent); --btn-fg: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: .86rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--text); font-size: .95rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover svg { transform: translateX(5px); }

/* icon button */
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: var(--r-pill); background: var(--surface);
  border: 1px solid var(--line); color: var(--text);
  transition: .22s var(--ease-out);
}
.icon-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
html[data-theme="dark"] .icon-btn:hover { background: #fff; color: #101315; border-color: #fff; }
.icon-btn svg { width: 19px; height: 19px; }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px rgba(16,20,24,.05); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.12rem; letter-spacing: -.03em; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 13px; flex: none;
  background: linear-gradient(140deg, var(--brand), #0A6B34);
  display: grid; place-items: center; color: #fff; font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(18,161,80,.28);
}
.brand small { display: block; font-size: .66rem; font-weight: 600; color: var(--text-2); letter-spacing: .08em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 9px 15px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .94rem; color: var(--text-2);
  transition: color .2s ease, background .2s ease;
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.active { color: var(--text); }
.nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 18px; height: 3px; border-radius: 3px; background: var(--brand);
}
.header-actions { display: flex; align-items: center; gap: 9px; }

.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 99px; background: var(--accent); color: #fff;
  font-size: .68rem; font-weight: 800; display: grid; place-items: center;
  border: 2px solid var(--bg);
}
.burger { display: none; }

/* mobile drawer nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 120;
  visibility: hidden; pointer-events: none;
}
.mobile-nav__scrim {
  position: absolute; inset: 0; background: rgba(10,12,14,.5);
  opacity: 0; transition: opacity .3s ease; backdrop-filter: blur(3px);
}
.mobile-nav__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(340px, 88vw);
  background: var(--surface); padding: 22px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(102%); transition: transform .42s var(--ease-out);
  box-shadow: var(--sh-lg); overflow-y: auto;
}
.mobile-nav.open { visibility: visible; pointer-events: auto; }
.mobile-nav.open .mobile-nav__scrim { opacity: 1; }
.mobile-nav.open .mobile-nav__panel { transform: none; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-nav a.mlink {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 16px; border-radius: var(--r); font-weight: 700; font-size: 1.02rem;
  border: 1px solid transparent; transition: .2s ease;
}
.mobile-nav a.mlink:hover, .mobile-nav a.mlink.active { background: var(--bg-alt); border-color: var(--line); }
.mobile-nav a.mlink span { color: var(--text-2); font-size: .82rem; font-weight: 600; }
.mobile-nav__foot { margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }

/* ---------- 7. Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -22%; right: -12%;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(18,161,80,.16), transparent 66%);
  filter: blur(10px); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; bottom: -30%; left: -14%;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,.13), transparent 66%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero h1 { margin: 18px 0 20px; }
.hero h1 .hl { position: relative; white-space: nowrap; color: var(--brand); }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .18em;
  background: rgba(18,161,80,.18); border-radius: 4px; z-index: -1;
}
.hero .lead { max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 17px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: .88rem; font-weight: 600; color: var(--text-2);
  transition: .25s var(--ease-out); cursor: pointer;
}
.chip:hover { color: var(--text); border-color: var(--text); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
html[data-theme="dark"] .chip.active { background: #fff; color: #101315; border-color: #fff; }

/* hero visual */
.hero-visual { position: relative; }
.hero-media {
  position: relative; aspect-ratio: 1/1; border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--sh-lg);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease-out); }
.hero-media:hover img { transform: scale(1.07); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,10,12,.42), transparent 46%);
}
.float-card {
  position: absolute; z-index: 2;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 14px 18px; box-shadow: var(--sh);
  display: flex; align-items: center; gap: 12px;
  animation: floaty 5.5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .95rem; letter-spacing: -.02em; }
.float-card span { font-size: .78rem; color: var(--text-2); }
.float-card--rating { top: 8%; left: -18px; }
.float-card--time { bottom: 9%; right: -14px; animation-delay: -2.6s; }
.float-avatars { display: flex; }
.float-avatars img {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--surface); margin-left: -10px;
}
.float-avatars img:first-child { margin-left: 0; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars svg { width: 13px; height: 13px; }

/* ---------- 8. Value strip ---------- */
.value-strip {
  background: var(--surface); border-block: 1px solid var(--line);
}
.value-strip .grid { gap: 0; }
.value-item {
  display: flex; align-items: center; gap: 14px; padding: 26px 24px;
  border-right: 1px solid var(--line);
  transition: background .25s ease;
}
.value-item:last-child { border-right: 0; }
.value-item:hover { background: var(--bg-alt); }
.value-item .ic {
  width: 46px; height: 46px; flex: none; border-radius: 14px;
  display: grid; place-items: center; background: var(--brand-soft); color: var(--brand);
}
.value-item .ic svg { width: 21px; height: 21px; }
.value-item strong { display: block; font-size: .96rem; letter-spacing: -.02em; }
.value-item span { font-size: .84rem; color: var(--text-2); }

/* ---------- 9. Category rail ---------- */
.cat-rail { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card {
  position: relative; display: block; border-radius: var(--r-lg);
  overflow: hidden; aspect-ratio: 3/4; background: var(--surface-2);
  box-shadow: var(--sh-sm); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,10,12,.78) 4%, rgba(8,10,12,.05) 58%);
}
.cat-card__label {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; color: #fff;
}
.cat-card__label strong { display: block; font-size: 1rem; letter-spacing: -.02em; }
.cat-card__label span { font-size: .78rem; opacity: .78; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.cat-card:hover img { transform: scale(1.09); }

/* ---------- 10. Product card ---------- */
.product-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.product-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.product-card:hover .product-card__media img { transform: scale(1.07); }
.tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.94); color: var(--ink);
  font-size: .72rem; font-weight: 800; letter-spacing: .02em;
  backdrop-filter: blur(6px);
}
.tag.hot { background: var(--accent); color: #fff; }
.tag.new { background: var(--brand); color: #fff; }
.wish {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--ink);
  opacity: 0; transform: translateY(-6px); transition: .3s var(--ease-out);
}
.product-card:hover .wish { opacity: 1; transform: none; }
.wish:hover { background: var(--accent); color: #fff; }
.wish.on { opacity: 1; transform: none; background: var(--accent); color: #fff; }
.wish svg { width: 17px; height: 17px; }

.product-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__meta { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--text-2); }
.dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.product-card h4 { font-size: 1.03rem; }
.product-card h4 a:hover { color: var(--brand); }
.product-card__desc {
  font-size: .86rem; color: var(--text-2); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-weight: 800; font-size: 1.12rem; letter-spacing: -.03em; }
.price s { font-weight: 600; font-size: .84rem; color: var(--text-2); margin-left: 6px; }
.add-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; font-weight: 700; font-size: .84rem;
  transition: .25s var(--ease-out);
}
.add-btn svg { width: 15px; height: 15px; }
.add-btn:hover { background: var(--brand); transform: scale(1.04); }
html[data-theme="dark"] .add-btn { background: #fff; color: #101315; }
html[data-theme="dark"] .add-btn:hover { background: var(--brand); color: #fff; }

/* list layout variant */
.products.list-view { grid-template-columns: 1fr; }
.products.list-view .product-card { flex-direction: row; }
.products.list-view .product-card__media { width: 230px; flex: none; aspect-ratio: auto; }
.products.list-view .product-card__body { padding: 20px 22px; }
.products.list-view .product-card__desc { -webkit-line-clamp: 3; }

/* ---------- 11. Feature / story ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 68px); align-items: center; }
.media-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh); }
.media-frame img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; transition: transform .8s var(--ease-out); }
.media-frame:hover img { transform: scale(1.05); }
.media-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.media-stack .media-frame:first-child { grid-row: span 2; }
.media-stack .media-frame:first-child img { aspect-ratio: 3/4.6; }
.media-stack .media-frame img { aspect-ratio: 1/1; }

.check-list { display: grid; gap: 13px; margin: 24px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--text-2); }
.check-list .tick {
  width: 22px; height: 22px; flex: none; border-radius: 50%; margin-top: 2px;
  background: var(--brand-soft); color: var(--brand); display: grid; place-items: center;
}
.check-list .tick svg { width: 12px; height: 12px; }
.check-list b { color: var(--text); }

/* stats */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 22px; transition: .35s var(--ease-out);
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.stat b { display: block; font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: .88rem; color: var(--text-2); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 26px; overflow: hidden;
  transition: .35s var(--ease-out);
}
.step::before {
  counter-increment: s; content: "0" counter(s);
  position: absolute; top: 12px; right: 16px;
  font-size: 3.4rem; font-weight: 800; letter-spacing: -.05em;
  color: var(--text); opacity: .05;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: transparent; }
.step .ic {
  width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 18px;
}
.step .ic svg { width: 23px; height: 23px; }
.step h4 { margin-bottom: 8px; }
.step p { font-size: .9rem; }

/* ---------- 12. Testimonials ---------- */
.tst-scroller { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.tst-scroller::-webkit-scrollbar { height: 6px; }
.testimonial {
  flex: 0 0 min(390px, 84vw); scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 26px;
  display: flex; flex-direction: column; gap: 16px;
  transition: .35s var(--ease-out);
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.testimonial p { color: var(--text); font-size: .98rem; line-height: 1.68; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial .who strong { display: block; font-size: .93rem; letter-spacing: -.02em; }
.testimonial .who span { font-size: .8rem; color: var(--text-2); }

/* ---------- 13. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); padding: clamp(36px, 5vw, 64px);
  background: linear-gradient(135deg, #10241A 0%, #0C1A13 55%, #12A150 190%);
  color: #fff;
}
.cta-band::before {
  content: ""; position: absolute; top: -40%; right: -8%;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(18,161,80,.42), transparent 68%);
}
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.72); margin-top: 12px; max-width: 46ch; }

/* ---------- 14. Footer ---------- */
.site-footer {
  background: #101416; color: #E8EBEC;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  margin-top: clamp(40px, 6vw, 80px);
  padding: clamp(44px, 6vw, 72px) 0 26px;
}
html[data-theme="dark"] .site-footer { background: #0A0D0F; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px 30px; }
.site-footer h5 { font-size: .96rem; margin-bottom: 18px; color: #fff; }
.site-footer p, .site-footer a, .site-footer li { color: rgba(232,235,236,.62); font-size: .92rem; }
.site-footer a { transition: color .2s ease, padding .2s ease; display: inline-block; }
.site-footer a:hover { color: #fff; }
.footer-links li + li { margin-top: 11px; }
.footer-links a:hover { padding-left: 5px; color: var(--brand); }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand small { color: rgba(232,235,236,.5); }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact li + li { margin-top: 13px; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--brand); }
.socials { display: flex; gap: 9px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); color: #fff; transition: .25s var(--ease-out);
}
.socials a:hover { background: var(--brand); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }

.newsletter { display: flex; gap: 8px; margin-top: 18px; }
.newsletter input {
  flex: 1; min-width: 0; padding: 13px 16px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff;
}
.newsletter input::placeholder { color: rgba(232,235,236,.4); }
.newsletter input:focus { outline: none; border-color: var(--brand); }

.pay-strip { margin-top: 42px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.09); }
.pay-strip h6 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(232,235,236,.5); font-weight: 700; margin-bottom: 16px; }
.pay-list { display: flex; flex-wrap: wrap; gap: 9px; }
.pay-list li {
  height: 38px; min-width: 58px; padding: 0 12px; border-radius: 10px;
  background: rgba(255,255,255,.94); color: #101416;
  display: grid; place-items: center; font-size: .72rem; font-weight: 800; letter-spacing: -.01em;
  transition: .25s var(--ease-out);
}
.pay-list li:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.footer-bottom {
  margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .87rem; color: rgba(232,235,236,.52);
}
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- 15. Page head / breadcrumb ---------- */
.page-head { padding: clamp(30px, 4vw, 52px) 0 clamp(24px, 3vw, 40px); }
.crumb { display: flex; align-items: center; gap: 9px; font-size: .86rem; color: var(--text-2); margin-bottom: 18px; flex-wrap: wrap; }
.crumb a:hover { color: var(--brand); }
.crumb svg { width: 13px; height: 13px; opacity: .5; }
.crumb .now { color: var(--text); font-weight: 600; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.page-head p { margin-top: 14px; max-width: 62ch; }

/* ---------- 16. Forms ---------- */
.field { display: grid; gap: 8px; }
.field label { font-size: .87rem; font-weight: 700; letter-spacing: -.01em; }
.field label .req { color: var(--danger); }
.input, .select, .textarea {
  width: 100%; padding: 14px 16px;
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--r); color: var(--text); font-size: .95rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--text-2); opacity: .8; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: var(--ring);
}
.textarea { resize: vertical; min-height: 130px; }
.select {
  appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E7781' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 17px;
}
.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-2); pointer-events: none; }
.input-icon .input { padding-left: 46px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hint { font-size: .8rem; color: var(--text-2); }

/* radio / option cards */
.opt-list { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 13px; cursor: pointer;
  padding: 15px 17px; border-radius: var(--r); border: 1.5px solid var(--line);
  background: var(--surface); transition: .25s var(--ease-out);
}
.opt:hover { border-color: var(--line-strong); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .mark {
  width: 21px; height: 21px; flex: none; border-radius: 50%;
  border: 2px solid var(--line-strong); position: relative; transition: .2s ease;
}
.opt .mark::after {
  content: ""; position: absolute; inset: 4px; border-radius: 50%;
  background: var(--brand); transform: scale(0); transition: transform .2s var(--ease-out);
}
.opt input:checked ~ .mark { border-color: var(--brand); }
.opt input:checked ~ .mark::after { transform: scale(1); }
.opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.opt .txt { flex: 1; }
.opt .txt strong { display: block; font-size: .94rem; letter-spacing: -.02em; }
.opt .txt span { font-size: .81rem; color: var(--text-2); }
.opt .badge-ic {
  width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: var(--bg-alt); color: var(--text-2);
}
.opt .badge-ic svg { width: 18px; height: 18px; }

/* ---------- 17. Cards / panels ---------- */
.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.panel__head {
  display: flex; align-items: center; gap: 11px;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
}
.panel__head .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.panel__head .ic svg { width: 17px; height: 17px; }
.panel__head h3 { font-size: 1.06rem; }
.panel__body { padding: 22px; }
.panel--sticky { position: sticky; top: calc(var(--header-h) + 20px); }

/* ---------- 18. Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 390px; gap: 26px; align-items: start; }
.cart-item {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item__img { width: 96px; height: 96px; border-radius: var(--r); object-fit: cover; background: var(--bg-alt); }
.cart-item h4 { font-size: 1rem; margin-bottom: 4px; }
.cart-item .opts { font-size: .82rem; color: var(--text-2); }
.cart-item__right { display: flex; align-items: center; gap: 18px; }
.qty {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 4px; background: var(--surface);
}
.qty button {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  color: var(--text-2); transition: .2s ease;
}
.qty button:hover { background: var(--ink); color: #fff; }
html[data-theme="dark"] .qty button:hover { background: #fff; color: #101315; }
.qty button svg { width: 14px; height: 14px; }
.qty input {
  width: 34px; text-align: center; border: 0; background: transparent;
  font-weight: 700; font-size: .94rem; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.remove-btn { color: var(--text-2); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; transition: .2s ease; }
.remove-btn:hover { background: rgba(229,72,77,.12); color: var(--danger); }
.remove-btn svg { width: 16px; height: 16px; }

.summary-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; font-size: .93rem; }
.summary-row span:first-child { color: var(--text-2); }
.summary-row strong { font-weight: 700; }
.summary-row.total { border-top: 1px dashed var(--line-strong); margin-top: 8px; padding-top: 16px; font-size: 1.12rem; }
.summary-row.total strong { color: var(--brand); font-size: 1.32rem; letter-spacing: -.03em; }
.coupon { display: flex; gap: 8px; margin: 4px 0 14px; }
.coupon .input { border-radius: var(--r-pill); }

.empty-state { text-align: center; padding: clamp(40px, 7vw, 80px) 20px; }
.empty-state .ic {
  width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg-alt); color: var(--text-2);
}
.empty-state .ic svg { width: 40px; height: 40px; }

/* ---------- 19. Product detail ---------- */
.pd-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(26px, 4vw, 54px); align-items: start; }
.gallery__main { border-radius: var(--r-xl); overflow: hidden; background: var(--bg-alt); box-shadow: var(--sh-sm); }
.gallery__main img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.gallery__thumbs button {
  border-radius: var(--r); overflow: hidden; border: 2px solid transparent;
  aspect-ratio: 1/1; background: var(--bg-alt); transition: .25s var(--ease-out);
}
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button:hover { transform: translateY(-3px); }
.gallery__thumbs button.active { border-color: var(--brand); }

.pd-price { display: flex; align-items: baseline; gap: 12px; margin: 16px 0; }
.pd-price .now { font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.04em; }
.pd-price s { color: var(--text-2); font-size: 1.05rem; }
.save { padding: 5px 11px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); font-size: .78rem; font-weight: 800; }
.opt-group { margin-top: 22px; }
.opt-group__title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 11px; }
.opt-group__title h4 { font-size: .95rem; }
.opt-group__title span { font-size: .78rem; color: var(--text-2); }
.pill-opts { display: flex; flex-wrap: wrap; gap: 9px; }
.pill-opt { position: relative; }
.pill-opt input { position: absolute; opacity: 0; }
.pill-opt span {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  padding: 10px 17px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: var(--surface);
  font-size: .88rem; font-weight: 600; transition: .22s var(--ease-out);
}
.pill-opt span:hover { border-color: var(--line-strong); }
.pill-opt input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
html[data-theme="dark"] .pill-opt input:checked + span { background: #fff; color: #101315; border-color: #fff; }
.pill-opt small { opacity: .65; font-weight: 600; }
.pd-actions { display: flex; gap: 12px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.pd-meta { display: grid; gap: 10px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.pd-meta li { display: flex; gap: 10px; align-items: center; font-size: .88rem; color: var(--text-2); }
.pd-meta svg { width: 16px; height: 16px; color: var(--brand); flex: none; }

/* tabs */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab {
  padding: 14px 20px; font-weight: 700; font-size: .94rem; color: var(--text-2);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
  transition: .22s ease;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); border-color: var(--brand); }
.tab-panel { display: none; padding-top: 26px; }
.tab-panel.active { display: block; animation: fadeUp .4s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 20. Toolbar / filters ---------- */
.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; padding: 14px 18px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); margin-bottom: 24px;
}
.toolbar .count { font-size: .9rem; font-weight: 600; color: var(--text-2); }
.toolbar .count b { color: var(--text); }
.toolbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.view-toggle { display: flex; gap: 4px; padding: 4px; background: var(--bg-alt); border-radius: var(--r-pill); }
.view-toggle button {
  width: 36px; height: 34px; border-radius: var(--r-pill); display: grid; place-items: center;
  color: var(--text-2); transition: .2s ease;
}
.view-toggle button.active { background: var(--surface); color: var(--text); box-shadow: var(--sh-xs); }
.view-toggle svg { width: 17px; height: 17px; }

.shop-layout { display: grid; grid-template-columns: 272px 1fr; gap: 28px; align-items: start; }
.filter-group + .filter-group { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.filter-group h5 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.check {
  display: flex; align-items: center; gap: 11px; cursor: pointer; padding: 7px 0;
  font-size: .92rem; color: var(--text-2); transition: color .2s ease;
}
.check:hover { color: var(--text); }
.check input { position: absolute; opacity: 0; }
.check .box {
  width: 20px; height: 20px; flex: none; border-radius: 7px;
  border: 1.8px solid var(--line-strong); display: grid; place-items: center;
  color: transparent; transition: .2s var(--ease-out);
}
.check .box svg { width: 12px; height: 12px; }
.check input:checked ~ .box { background: var(--brand); border-color: var(--brand); color: #fff; }
.check input:checked ~ .lbl { color: var(--text); font-weight: 600; }
.check .num { margin-left: auto; font-size: .8rem; opacity: .6; }
input[type="range"] { width: 100%; accent-color: var(--brand); }

/* ---------- 21. Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 140;
  display: grid; place-items: center; padding: 20px;
  visibility: hidden; pointer-events: none;
}
.modal__scrim {
  position: absolute; inset: 0; background: rgba(10,12,14,.55);
  backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s ease;
}
.modal__dialog {
  position: relative; width: min(560px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--sh-lg);
  transform: translateY(18px) scale(.97); opacity: 0;
  transition: transform .4s var(--ease-out), opacity .3s ease;
}
.modal.open { visibility: visible; pointer-events: auto; }
.modal.open .modal__scrim { opacity: 1; }
.modal.open .modal__dialog { transform: none; opacity: 1; }
.modal__head { padding: 24px 26px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal__head h3 { font-size: 1.35rem; }
.modal__head p { font-size: .9rem; margin-top: 6px; }
.modal__body { padding: 20px 26px 26px; }
.modal__foot { padding: 0 26px 26px; display: flex; gap: 10px; }
.modal__close {
  width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-alt); color: var(--text-2); transition: .22s var(--ease-out);
}
.modal__close:hover { background: var(--danger); color: #fff; transform: rotate(90deg); }
.modal__close svg { width: 17px; height: 17px; }
.modal--wide .modal__dialog { width: min(760px, 100%); }

/* quick search results */
.qs-list { display: grid; gap: 6px; margin-top: 18px; }
.qs-item {
  display: flex; align-items: center; gap: 13px; padding: 10px; border-radius: var(--r);
  transition: background .2s ease;
}
.qs-item:hover { background: var(--bg-alt); }
.qs-item img { width: 48px; height: 48px; border-radius: 11px; object-fit: cover; flex: none; }
.qs-item strong { display: block; font-size: .93rem; letter-spacing: -.02em; }
.qs-item span { font-size: .8rem; color: var(--text-2); }
.qs-item .price { margin-left: auto; font-size: .95rem; }
.qs-terms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ---------- 22. Cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 130; visibility: hidden; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(10,12,14,.5); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s ease; }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 92vw);
  background: var(--surface); display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform .45s var(--ease-out); box-shadow: var(--sh-lg);
}
.drawer.open { visibility: visible; pointer-events: auto; }
.drawer.open .drawer__scrim { opacity: 1; }
.drawer.open .drawer__panel { transform: none; }
.drawer__head { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.drawer__body { flex: 1; overflow-y: auto; padding: 6px 22px; }
.drawer__foot { padding: 20px 22px; border-top: 1px solid var(--line); background: var(--surface-2); }
.drawer .cart-item { grid-template-columns: 68px 1fr; gap: 13px; }
.drawer .cart-item__img { width: 68px; height: 68px; }
.drawer .cart-item__right { grid-column: 1/-1; justify-content: space-between; }

/* ---------- 23. Accordion (FAQ) ---------- */
.acc { display: grid; gap: 12px; }
.acc-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .3s ease, border-color .3s ease;
}
.acc-item.open { box-shadow: var(--sh-sm); border-color: var(--line-strong); }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; text-align: left; font-weight: 700; font-size: 1rem; letter-spacing: -.02em;
}
.acc-head .pm {
  width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-alt); color: var(--text-2); transition: .3s var(--ease-out);
}
.acc-head .pm svg { width: 15px; height: 15px; }
.acc-item.open .pm { background: var(--brand); color: #fff; transform: rotate(45deg); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease-out); }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; }
.acc-body p { padding: 0 22px 22px; font-size: .94rem; line-height: 1.7; }

/* ---------- 24. Legal / prose ---------- */
.legal-layout { display: grid; grid-template-columns: 262px 1fr; gap: 40px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); }
.toc h5 { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.toc a {
  display: block; padding: 9px 14px; border-radius: var(--r-sm);
  font-size: .89rem; color: var(--text-2); border-left: 2px solid var(--line);
  transition: .2s ease;
}
.toc a:hover, .toc a.active { color: var(--text); border-color: var(--brand); background: var(--surface); }
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin: 44px 0 14px; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.12rem; margin: 26px 0 10px; }
.prose p { margin-bottom: 15px; line-height: 1.78; }
.prose ul { display: grid; gap: 10px; margin: 0 0 18px; }
.prose ul li { position: relative; padding-left: 24px; color: var(--text-2); line-height: 1.7; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
}
.prose strong { color: var(--text); }
.prose a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.note {
  padding: 18px 22px; border-radius: var(--r); background: var(--brand-soft);
  border-left: 3px solid var(--brand); margin: 22px 0;
}
.note p { color: var(--text); margin: 0; font-size: .93rem; }

/* ---------- 25. Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 30px; align-items: start; }
.contact-card {
  display: flex; gap: 15px; padding: 22px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: .35s var(--ease-out);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: transparent; }
.contact-card .ic { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.contact-card .ic svg { width: 21px; height: 21px; }
.contact-card strong { display: block; font-size: .96rem; margin-bottom: 4px; letter-spacing: -.02em; }
.contact-card a, .contact-card p { font-size: .9rem; color: var(--text-2); }
.contact-card a:hover { color: var(--brand); }
.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); height: 320px; background: var(--bg-alt); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25); }

.hours-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .92rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list span { color: var(--text-2); }
.hours-list.today strong { color: var(--brand); }
.open-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  border-radius: var(--r-pill); background: var(--brand-soft); color: var(--brand-dark);
  font-size: .82rem; font-weight: 700;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); position: relative; }
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--brand);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }

/* ---------- 26. About extras ---------- */
.team-card { text-align: center; }
.team-card__img {
  border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/3.4; background: var(--bg-alt);
  margin-bottom: 14px; position: relative;
}
.team-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.team-card:hover .team-card__img img { transform: scale(1.06); }
.team-card strong { display: block; font-size: 1rem; letter-spacing: -.02em; }
.team-card span { font-size: .85rem; color: var(--text-2); }

.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -34px; top: 5px;
  width: 20px; height: 20px; border-radius: 50%; background: var(--surface);
  border: 3px solid var(--brand); box-shadow: 0 0 0 4px var(--bg);
}
.timeline b { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 5px; }
.timeline h4 { margin-bottom: 6px; }
.timeline p { font-size: .93rem; }

.gallery-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-mosaic a { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1/1; background: var(--bg-alt); }
.gallery-mosaic a:nth-child(1), .gallery-mosaic a:nth-child(6) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.gallery-mosaic a:hover img { transform: scale(1.07); }

/* ---------- 27. Toast ---------- */
.toast-wrap { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  border-radius: var(--r); background: var(--ink); color: #fff;
  box-shadow: var(--sh-lg); font-size: .92rem; font-weight: 600;
  animation: toastIn .4s var(--ease-out);
}
.toast .ic { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; flex: none; }
.toast .ic svg { width: 14px; height: 14px; }
.toast.hide { animation: toastOut .3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(14px); } }

/* ---------- 28. Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 29. Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 10px; } .mt-2 { margin-top: 18px; } .mt-3 { margin-top: 28px; } .mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 18px; } .mb-3 { margin-bottom: 28px; }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; } .gap-2 { gap: 14px; } .gap-3 { gap: 22px; }
.wrap { flex-wrap: wrap; }
.muted { color: var(--text-2); }
.small { font-size: .86rem; }
.hide-sm { display: initial; }

/* ---------- 30. Responsive ---------- */
@media (max-width: 1100px) {
  .cat-rail { grid-template-columns: repeat(4, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-layout .filters-panel { display: none; }
  .shop-layout .filters-panel.show { display: block; }
  .cart-layout { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
  .toc h5 { display: none; }
  .toc a { white-space: nowrap; border-left: 0; border: 1px solid var(--line); border-radius: var(--r-pill); }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; margin-inline: auto; width: 100%; }
  .float-card--rating { left: 4px; }
  .float-card--time { right: 4px; }
  .split { grid-template-columns: 1fr; }
  .pd-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .value-strip .g-4 { grid-template-columns: repeat(2, 1fr); }
  .value-item:nth-child(2n) { border-right: 0; }
  .value-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; --header-h: 66px; }
  .g-3, .g-2 { grid-template-columns: repeat(2, 1fr); }
  .cat-rail { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .products.list-view .product-card { flex-direction: column; }
  .products.list-view .product-card__media { width: 100%; aspect-ratio: 16/10; }
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .hide-sm { display: none; }
  .brand small { display: none; }
}
@media (max-width: 540px) {
  .g-3, .g-2, .g-4 { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }
  .products .product-card__body { padding: 13px 14px 15px; }
  .products .product-card h4 { font-size: .92rem; }
  .products .product-card__desc { display: none; }
  .products .price { font-size: 1rem; }
  .products .add-btn { padding: 9px 12px; font-size: .78rem; }
  .products .add-btn span { display: none; }
  .cat-rail { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cart-item { grid-template-columns: 76px 1fr; }
  .cart-item__img { width: 76px; height: 76px; }
  .cart-item__right { grid-column: 1/-1; justify-content: space-between; }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .value-strip .g-4 { grid-template-columns: 1fr; }
  .value-item { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .btn { padding: 13px 22px; }
  .hero-cta .btn { flex: 1; }
}
