/* =============================================================
   Voltix — Premium Electronics & Gadgets Store Template
   Author: Themely Marketplace
   -------------------------------------------------------------
   TABLE OF CONTENTS
   1.  Design tokens (:root)  ← REBRAND HERE
   2.  Reset & base
   3.  Layout helpers
   4.  Buttons & badges
   5.  Announcement bar
   6.  Header / nav / search / cart
   7.  Hero
   8.  Section headings
   9.  Categories
   10. Products (cards, gradient media, spec chips)
   11. Promo banner
   12. Featured strip
   13. Trust strip
   14. Newsletter
   15. CTA band
   16. Footer
   17. Toast
   18. Scroll-reveal animations
   19. Multi-page additions (banner, shop, product, about, contact)
   20. Responsive breakpoints
============================================================= */

/* -------------------------------------------------------------
   1. DESIGN TOKENS  ← REBRAND HERE
   Change these variables to re-skin the whole template:
   swap colors, fonts and radii in one place.
------------------------------------------------------------- */
:root {
  /* Brand colors */
  --bg:        #ffffff;   /* page background          */
  --ink:       #0f172a;   /* primary text / dark ui   */
  --accent:    #2563eb;   /* primary accent (blue)    */
  --accent-2:  #06b6d4;   /* secondary accent (cyan)  */
  --accent-dk: #1d4ed8;   /* darker blue for hovers   */
  --muted:     #64748b;   /* secondary text           */
  --surface:   #f1f5f9;   /* soft alternate background */
  --line:      #e2e8f0;   /* hairline borders         */

  /* Extra grays derived from palette */
  --ink-700:   #1e293b;
  --gray-400:  #94a3b8;
  --gray-100:  #f8fafc;

  /* Brand gradient (used for accents & visuals) */
  --grad: linear-gradient(135deg, var(--accent), var(--accent-2));

  /* Typography */
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Radii */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow:    0 8px 24px rgba(15,23,42,.08);
  --shadow-lg: 0 20px 50px rgba(15,23,42,.14);
  --shadow-accent: 0 14px 34px rgba(37,99,235,.28);

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --header-h: 70px;

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* -------------------------------------------------------------
   2. RESET & BASE
------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.14; letter-spacing: -.02em; color: var(--ink); }

::selection { background: var(--accent); color: #fff; }

/* -------------------------------------------------------------
   3. LAYOUT HELPERS
------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: 84px 0; }
.section--alt { background: var(--surface); }
.muted { color: var(--muted); }

/* -------------------------------------------------------------
   4. BUTTONS & BADGES
------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dk); box-shadow: var(--shadow-accent); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.btn--add {
  width: 100%;
  margin-top: 14px;
  background: var(--ink);
  color: #fff;
  padding: 11px;
  font-size: .9rem;
}
.btn--add:hover { background: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-accent); }

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  color: #fff;
  z-index: 2;
}
.badge--sale { background: var(--accent); }
.badge--new  { background: var(--accent-2); }
.badge--hot  { background: var(--ink); }

/* -------------------------------------------------------------
   5. ANNOUNCEMENT BAR
------------------------------------------------------------- */
.announcement {
  background: var(--ink);
  color: #fff;
  font-size: .85rem;
}
.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 9px var(--gutter);
  position: relative;
}
.announcement strong { color: var(--accent-2); }
.announcement__close {
  position: absolute;
  right: var(--gutter);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  opacity: .7;
  transition: opacity .2s;
}
.announcement__close:hover { opacity: 1; }
.announcement.is-hidden { display: none; }

/* -------------------------------------------------------------
   6. HEADER / NAV / SEARCH / CART
------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -.03em;
}
.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.logo--light .logo__text { color: #fff; }

.nav { margin-left: 8px; }
.nav__list { display: flex; gap: 28px; }
.nav__link {
  font-weight: 500;
  font-size: .95rem;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width .25s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }
.nav__link.active { color: var(--ink); }
.nav__link.active::after { width: 100%; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
}
.search__icon {
  position: absolute;
  left: 14px;
  color: var(--gray-400);
  display: flex;
}
.search__input {
  width: 220px;
  padding: 10px 16px 10px 40px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: .9rem;
  background: var(--surface);
  color: var(--ink);
  transition: border-color .2s, background .2s, width .25s var(--ease);
}
.search__input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px 9px 14px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  background: var(--surface);
  border: 1.5px solid var(--line);
  transition: background .2s, border-color .2s, transform .2s;
}
.icon-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.cart__label { display: inline; }

.cart__count {
  min-width: 22px; height: 22px;
  padding: 0 6px;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  font-family: var(--font-head);
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s var(--ease);
}
.cart__count.is-bump { animation: bump .35s var(--ease); }
@keyframes bump {
  0%,100% { transform: scale(1); }
  40% { transform: scale(1.45); }
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border-radius: var(--radius-pill);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------------------------------------
   7. HERO
------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(37,99,235,.12), transparent 60%),
    radial-gradient(900px 520px at 0% 110%, rgba(6,182,212,.14), transparent 55%),
    var(--bg);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 80px 0 90px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  background: rgba(37,99,235,.08);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  margin-bottom: 20px;
}
.hero__title span { color: var(--accent); }
.hero__text {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }
.hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; }
.hero__stats span { font-size: .85rem; color: var(--muted); }

/* Hero visual — pure CSS / gradient */
.hero__visual { position: relative; min-height: 460px; }
.hero__blob {
  position: absolute;
  inset: 4% 4% 4% 8%;
  background: var(--grad);
  border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%;
  animation: morph 12s ease-in-out infinite;
  filter: blur(4px);
  opacity: .9;
}
@keyframes morph {
  0%,100% { border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%; }
  50% { border-radius: 58% 42% 44% 56% / 54% 58% 42% 46%; }
}
.hero__card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__card--main {
  inset: 12% 14% 12% 16%;
  display: flex;
  flex-direction: column;
}
.hero__product-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  background: linear-gradient(135deg, #e0e7ff, #cffafe);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.hero__product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-weight: 500;
}
.hero__product-meta span { color: var(--muted); font-size: .92rem; }
.hero__product-meta strong { font-family: var(--font-head); font-size: 1.1rem; }

.hero__card--float {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: .8rem;
}
.hero__card--float span:first-child { font-size: 1.6rem; }
.hero__card--float small { color: var(--muted); display: block; }
.hero__card--float strong { font-family: var(--font-head); font-size: .92rem; }
.hero__card--float-1 { top: 6%; right: 0%; animation: floaty 5s ease-in-out infinite; }
.hero__card--float-2 { bottom: 7%; left: -2%; animation: floaty 6s ease-in-out infinite reverse; }
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* -------------------------------------------------------------
   8. SECTION HEADINGS
------------------------------------------------------------- */
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section__head--left { text-align: left; margin-inline: 0; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section__title { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; }
.section__subtitle { color: var(--muted); margin-top: 10px; font-size: 1.05rem; }

/* -------------------------------------------------------------
   9. CATEGORIES
------------------------------------------------------------- */
.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--cat, var(--grad));
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.category-card__emoji {
  position: absolute;
  top: 46%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 4.2rem;
  transition: transform .4s var(--ease);
  filter: drop-shadow(0 6px 12px rgba(15,23,42,.18));
}
.category-card:hover .category-card__emoji { transform: translate(-50%,-50%) scale(1.12); }
.category-card__body {
  position: relative;
  background: linear-gradient(transparent, rgba(255,255,255,.96));
  padding: 30px 22px 20px;
}
.category-card__body h3 { font-size: 1.2rem; }
.category-card__count {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.category-card__link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  opacity: .7;
  transition: opacity .2s, color .2s;
}
.category-card:hover .category-card__link { opacity: 1; color: var(--accent); }

/* -------------------------------------------------------------
   10. PRODUCTS
------------------------------------------------------------- */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.products--four { grid-template-columns: repeat(4, 1fr); }

.product {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.product__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--p, linear-gradient(135deg, #e0e7ff, #cffafe));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side at 50% 42%, rgba(255,255,255,.55), transparent 70%);
}
.product__emoji {
  position: relative;
  font-size: 4.6rem;
  transition: transform .45s var(--ease);
  filter: drop-shadow(0 10px 18px rgba(15,23,42,.16));
}
.product:hover .product__emoji { transform: scale(1.16) rotate(-3deg); }

/* Real product photos inside media containers */
.product__img,
.gallery__img,
.hero__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product:hover .product__img { transform: scale(1.06); }
.product__img { transition: transform .45s var(--ease); }
.gallery__thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.product__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product__cat {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  font-weight: 700;
}
.product__name { font-size: 1.05rem; font-weight: 600; margin: 5px 0 8px; }
.product__rating { color: #f59e0b; font-size: .92rem; letter-spacing: 1px; }
.product__rating span { color: var(--gray-400); font-size: .8rem; letter-spacing: 0; }

/* Spec chips */
.product__specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.spec-chip {
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}

.product__price { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.price--old { color: var(--gray-400); text-decoration: line-through; font-size: .95rem; }
.product .btn--add { margin-top: auto; }

/* -------------------------------------------------------------
   11. PROMO BANNER
------------------------------------------------------------- */
.promo {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(6,182,212,.35), transparent 60%),
    linear-gradient(120deg, var(--ink), #14213d 70%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  position: relative;
}
.promo__content { padding: 60px 56px; }
.promo__content h2 { color: #fff; }
.promo__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.promo__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 16px; }
.promo__text { color: rgba(255,255,255,.72); max-width: 380px; margin-bottom: 28px; }

.promo__visual { position: relative; height: 100%; min-height: 280px; }
.promo__circle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3rem;
  box-shadow: 0 0 0 14px rgba(37,99,235,.18);
}
.promo__circle small { font-size: 1rem; letter-spacing: .2em; }
.promo__emoji { position: absolute; font-size: 2.4rem; animation: floaty 5s ease-in-out infinite; }
.promo__emoji--1 { top: 16%; left: 16%; }
.promo__emoji--2 { top: 20%; right: 18%; animation-delay: 1s; }
.promo__emoji--3 { bottom: 14%; left: 24%; animation-delay: 2s; }

/* -------------------------------------------------------------
   12. FEATURED STRIP
------------------------------------------------------------- */
.featured-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.featured-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  overflow: hidden;
  background: var(--fc, linear-gradient(135deg, #e0e7ff, #cffafe));
  border: 1px solid var(--line);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.featured-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.featured-card__emoji { position: absolute; top: 22px; right: 24px; font-size: 3rem; filter: drop-shadow(0 8px 14px rgba(15,23,42,.16)); }
.featured-card__tag { font-family: var(--font-head); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.featured-card h3 { font-size: 1.4rem; margin: 8px 0 6px; }
.featured-card p { font-size: .92rem; color: var(--ink-700); margin-bottom: 14px; }
.featured-card__link { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--accent); }

/* -------------------------------------------------------------
   13. TRUST STRIP
------------------------------------------------------------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 24px;
  background: var(--surface);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.trust-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trust-item__icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.trust-item h3 { font-size: 1rem; }
.trust-item p { font-size: .85rem; color: var(--muted); }

/* -------------------------------------------------------------
   14. NEWSLETTER
------------------------------------------------------------- */
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(6,182,212,.12), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(37,99,235,.10), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
}
.newsletter__title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 8px; }
.newsletter__content p { color: var(--muted); max-width: 420px; }
.newsletter__field { display: flex; gap: 10px; }
.newsletter__input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s;
}
.newsletter__input:focus { outline: none; border-color: var(--accent); }
.newsletter__input.is-error { border-color: #ef4444; }
.newsletter__msg { font-size: .85rem; margin-top: 10px; min-height: 1.2em; font-weight: 500; }
.newsletter__msg.is-error { color: #ef4444; }
.newsletter__msg.is-success { color: #16a34a; }

/* -------------------------------------------------------------
   15. CTA BAND
------------------------------------------------------------- */
.cta-band {
  text-align: center;
  background:
    radial-gradient(700px 320px at 50% -30%, rgba(6,182,212,.30), transparent 60%),
    linear-gradient(120deg, var(--accent), var(--accent-dk));
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  color: #fff;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { color: rgba(255,255,255,.85); max-width: 540px; margin: 14px auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* -------------------------------------------------------------
   16. FOOTER
------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--gray-400); }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 72px var(--gutter) 56px;
}
.footer__tagline { font-size: .9rem; margin: 16px 0 22px; max-width: 280px; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; }
.footer__social-link {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.07);
  border-radius: var(--radius-pill);
  font-size: 1.1rem;
  transition: background .2s, transform .2s;
}
.footer__social-link:hover { background: var(--accent); transform: translateY(-3px); }

.footer__col h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: .9rem; transition: color .2s; }
.footer__col a:hover { color: #fff; }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px var(--gutter);
  font-size: .85rem;
}
.footer__legal { display: flex; gap: 22px; }
.footer__legal a:hover { color: #fff; }

/* -------------------------------------------------------------
   17. TOAST
------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: .9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  pointer-events: none;
}
.toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }

/* -------------------------------------------------------------
   18. SCROLL-REVEAL ANIMATIONS
------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =============================================================
   19. MULTI-PAGE ADDITIONS
============================================================= */

/* --- Page banner + breadcrumb --- */
.page-banner {
  background:
    radial-gradient(900px 420px at 88% -20%, rgba(37,99,235,.12), transparent 60%),
    radial-gradient(800px 420px at 0% 120%, rgba(6,182,212,.14), transparent 55%),
    var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 54px 0 50px;
  text-align: center;
}
.page-banner__title { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; }
.page-banner__subtitle { color: var(--muted); margin-top: 12px; font-size: 1.05rem; max-width: 600px; margin-inline: auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  font-size: .85rem;
  color: var(--gray-400);
  font-weight: 500;
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-hidden] { color: var(--line); }
.breadcrumb .is-current { color: var(--ink); }

/* --- Shop layout: sidebar + grid --- */
.shop-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 40px;
  align-items: start;
}
.shop-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.filter-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.filter-group__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-list { display: flex; flex-direction: column; gap: 11px; }
.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  color: var(--ink-700);
  cursor: pointer;
  transition: color .2s;
}
.filter-check:hover { color: var(--accent); }
.filter-check input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.filter-check .filter-count { margin-left: auto; color: var(--gray-400); font-size: .8rem; }

/* Price range (visual) */
.price-range { padding-top: 4px; }
.price-range input[type="range"] { width: 100%; accent-color: var(--accent); cursor: pointer; }
.price-range__labels {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--muted);
  margin-top: 10px;
  font-weight: 600;
}

/* Brand swatches reuse size-chip */
.size-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.size-chip {
  min-width: 42px;
  padding: 8px 12px;
  text-align: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--ink-700);
  background: #fff;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.size-chip:hover { border-color: var(--accent); color: var(--accent); }
.size-chip.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Color swatches */
.color-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.color-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px var(--line);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.color-dot:hover { transform: scale(1.12); }
.color-dot.is-active { box-shadow: 0 0 0 2px var(--accent); }

.filter-clear {
  width: 100%;
  padding: 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink-700);
  transition: all .2s var(--ease);
}
.filter-clear:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* --- Sort bar --- */
.shop-main { min-width: 0; }
.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.sort-bar__left { display: flex; align-items: center; gap: 14px; }
.sort-bar__count { font-size: .9rem; color: var(--muted); }
.sort-bar__count strong { color: var(--ink); font-family: var(--font-head); }
.sort-bar__right { display: flex; align-items: center; gap: 12px; }
.sort-bar__right label { font-size: .9rem; color: var(--muted); }
.sort-select {
  padding: 10px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s;
}
.sort-select:focus { outline: none; border-color: var(--accent); }

.filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  background: #fff;
  color: var(--ink);
}

.products--shop { grid-template-columns: repeat(3, 1fr); }

/* --- Pagination --- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}
.pagination__item {
  min-width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink-700);
  background: #fff;
  transition: all .2s var(--ease);
}
.pagination__item:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.pagination__item.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.pagination__item.is-disabled { opacity: .4; pointer-events: none; }

/* --- Product detail --- */
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: var(--gallery, linear-gradient(135deg, #e0e7ff, #cffafe));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: background .3s var(--ease);
}
.gallery__main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side at 50% 42%, rgba(255,255,255,.5), transparent 70%);
}
.gallery__emoji { position: relative; filter: drop-shadow(0 16px 26px rgba(15,23,42,.18)); }
.gallery__badge { top: 18px; left: 18px; }
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.gallery__thumb {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: var(--t, linear-gradient(135deg, #e0e7ff, #cffafe));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.gallery__thumb:hover { transform: translateY(-3px); }
.gallery__thumb.is-active { border-color: var(--accent); }

.pd-info__cat {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  font-weight: 700;
}
.pd-info__title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; margin: 8px 0 14px; }
.pd-info__rating { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.pd-info__rating .stars { color: #f59e0b; letter-spacing: 1px; }
.pd-info__rating .rating-meta { font-size: .88rem; color: var(--muted); }
.pd-info__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.pd-info__price .price { font-size: 2rem; }
.pd-info__price .price--old { font-size: 1.1rem; }
.pd-info__price .price-save {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  color: #fff;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.pd-info__desc { color: var(--muted); margin: 18px 0 26px; max-width: 480px; }

.pd-option { margin-bottom: 24px; }
.pd-option__label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 12px;
}
.pd-option__label .pd-option__value { color: var(--muted); font-weight: 500; }

.pd-actions { display: flex; flex-direction: column; gap: 14px; margin: 28px 0; }
.pd-actions__row { display: flex; gap: 14px; }
.pd-actions__row .btn { flex: 1; }
.btn--buy { background: var(--accent-2); color: #fff; }
.btn--buy:hover { background: #0891b2; box-shadow: var(--shadow); transform: translateY(-2px); }

/* Quantity selector */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.qty__btn {
  width: 46px; height: 48px;
  font-size: 1.3rem;
  color: var(--ink);
  background: #fff;
  transition: background .2s;
}
.qty__btn:hover { background: var(--surface); }
.qty__input {
  width: 48px;
  height: 48px;
  text-align: center;
  border: none;
  border-left: 1.5px solid var(--line);
  border-right: 1.5px solid var(--line);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  -moz-appearance: textfield;
}
.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus { outline: none; }
.pd-qty-row { display: flex; align-items: center; gap: 16px; }

.pd-meta {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .88rem;
  color: var(--muted);
}
.pd-meta span strong { color: var(--ink); font-weight: 600; }

/* --- Tabs --- */
.tabs { margin-top: 70px; }
.tabs__nav {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.tabs__btn {
  padding: 14px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  color: var(--muted);
  position: relative;
  transition: color .2s;
}
.tabs__btn::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s var(--ease);
}
.tabs__btn:hover { color: var(--ink); }
.tabs__btn.is-active { color: var(--ink); }
.tabs__btn.is-active::after { width: 100%; }
.tabs__panel { display: none; padding: 30px 0; max-width: 760px; color: var(--ink-700); }
.tabs__panel.is-active { display: block; animation: fadeIn .35s var(--ease); }
.tabs__panel h4 { margin: 18px 0 10px; }
.tabs__panel p { margin-bottom: 14px; color: var(--muted); }
.tabs__panel ul { display: flex; flex-direction: column; gap: 9px; }
.tabs__panel ul li { padding-left: 22px; position: relative; color: var(--ink-700); }
.tabs__panel ul li::before { content: '\2713'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 13px 0; font-size: .92rem; }
.spec-table th { font-family: var(--font-head); font-weight: 600; color: var(--ink); width: 220px; }
.spec-table td { color: var(--muted); }

/* Reviews */
.review { padding: 22px 0; border-bottom: 1px solid var(--line); }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; color: #fff;
  background: var(--grad);
}
.review__name { font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.review__stars { color: #f59e0b; font-size: .85rem; }
.review__date { color: var(--gray-400); font-size: .8rem; margin-left: auto; }

.related { margin-top: 90px; }

/* --- About page --- */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-story__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.about-story__visual span { position: relative; filter: drop-shadow(0 12px 22px rgba(15,23,42,.25)); }
.about-story h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; margin-bottom: 18px; }
.about-story p { color: var(--muted); margin-bottom: 16px; }

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 20px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stat-card strong { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--accent); }
.stat-card span { color: var(--muted); font-size: .92rem; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  background: var(--surface);
  margin-bottom: 18px;
}
.value-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: .92rem; }

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why-item {
  display: flex; gap: 16px;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius);
}
.why-item__check {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: var(--font-head);
}
.why-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why-item p { font-size: .9rem; color: var(--muted); }

/* --- Contact page --- */
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: start; }
.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-card h2 { font-size: 1.6rem; margin-bottom: 8px; }
.contact-form-card > p { color: var(--muted); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: .95rem;
  font-family: var(--font-body);
  color: var(--ink);
  transition: border-color .2s, background .2s;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { outline: none; border-color: var(--accent); background: #fff; }
.form-field input.is-error,
.form-field textarea.is-error { border-color: #ef4444; }
.form-msg { font-size: .88rem; margin-top: 6px; min-height: 1.2em; font-weight: 500; }
.form-msg.is-error { color: #ef4444; }
.form-msg.is-success { color: #16a34a; }
.form-note { font-size: .8rem; color: var(--gray-400); margin-top: 14px; }

.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius);
}
.info-card__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.info-card h3 { font-size: 1rem; margin-bottom: 4px; }
.info-card p { font-size: .9rem; color: var(--muted); }
.info-card a { color: var(--accent); }

.hours-table { width: 100%; }
.hours-table tr { border-bottom: 1px solid var(--line); }
.hours-table td { padding: 11px 0; font-size: .9rem; }
.hours-table td:first-child { color: var(--ink-700); font-weight: 500; }
.hours-table td:last-child { text-align: right; color: var(--ink); font-family: var(--font-head); font-weight: 600; }

.map-placeholder {
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(400px 200px at 30% 40%, rgba(37,99,235,.28), transparent 60%),
    radial-gradient(360px 200px at 80% 70%, rgba(6,182,212,.28), transparent 60%),
    linear-gradient(135deg, #e2e8f0, #cbd5e1);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  border: 1px solid var(--line);
}
.map-placeholder .pin { font-size: 2.6rem; }
.map-placeholder b { font-family: var(--font-head); color: var(--ink); display: block; margin-top: 4px; }
.map-placeholder small { color: var(--muted); }

/* --- FAQ accordion --- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .2s var(--ease);
}
.faq-item.is-open { box-shadow: var(--shadow); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.faq-q__icon { flex-shrink: 0; font-size: 1.4rem; color: var(--accent); transition: transform .3s var(--ease); }
.faq-item.is-open .faq-q__icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-a__inner { padding: 0 24px 22px; color: var(--muted); font-size: .94rem; }

/* =============================================================
   20. RESPONSIVE BREAKPOINTS  (1024 / 768 / 360)
============================================================= */
@media (max-width: 1024px) {
  .categories,
  .products,
  .products--four,
  .trust,
  .featured-strip { grid-template-columns: repeat(2, 1fr); }

  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { min-height: 400px; max-width: 480px; }

  .promo { grid-template-columns: 1fr; }
  .promo__visual { min-height: 220px; order: -1; }
  .promo__content { padding: 44px 36px; }

  .newsletter { grid-template-columns: 1fr; gap: 24px; padding: 40px 32px; }

  .footer__inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .search__input { width: 160px; }

  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(82vw, 340px);
    background: #fff;
    z-index: 99;
    padding: calc(var(--header-h) + 20px) 22px 22px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .35s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .shop-sidebar.is-open { transform: translateX(0); }
  .filter-toggle { display: inline-flex; }

  .product-detail { grid-template-columns: 1fr; gap: 36px; }
  .gallery { position: static; max-width: 540px; }
  .gallery__main { font-size: 9rem; }

  .about-story { grid-template-columns: 1fr; gap: 32px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  /* Mobile nav drawer */
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    background: #fff;
    padding: calc(var(--header-h) + 24px) 28px 28px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    margin: 0;
    z-index: 99;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { display: block; padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }

  .hamburger { display: flex; }
  .search { display: none; }
  .cart__label { display: none; }

  body.nav-open { overflow: hidden; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease);
    z-index: 98;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  .products--shop { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .featured-strip { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .categories,
  .products,
  .products--four,
  .products--shop,
  .trust { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .hero__stats { gap: 24px; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .newsletter__field { flex-direction: column; }
  .newsletter__field .btn { width: 100%; }
  .gallery__main { font-size: 7rem; }
  .pd-actions__row { flex-direction: column; }
  .contact-form-card { padding: 28px 22px; }
  .announcement__inner { padding-right: 40px; font-size: .78rem; text-align: center; }
  .cta-band { padding: 44px 24px; }
}

/* =============================================================
   END
============================================================= */
