/* =====================================================================
   NORDHEM — Scandinavian Furniture & Home-Decor Store
   Premium multi-page e-commerce template.
   Plain HTML5 + CSS3 + vanilla JS. No frameworks, no build step.
   No external image files — every visual is a CSS gradient, inline SVG,
   or Unicode/emoji, so the template works completely offline.
   ---------------------------------------------------------------------
   REBRAND TIP: Edit the CSS variables in :root below to recolor the
   whole site. Swap --accent for your primary, adjust the neutrals, and
   update --font-head / --font-body plus the Google Fonts <link> in each
   HTML file. Everything else cascades.
   ===================================================================== */

:root {
  /* --- Brand palette (edit these to rebrand) --- */
  --bg:       #faf7f2;   /* warm off-white page background          */
  --ink:      #2b2620;   /* near-black warm brown (headings/text)   */
  --accent:   #b08968;   /* warm tan / wood (primary brand color)   */
  --accent-dark: #8c6b4f;/* deeper wood for hovers / gradients      */
  --accent-soft: #efe7dc;/* soft tan tint for chips / surfaces      */
  --muted:    #8a8276;   /* muted greige for secondary text         */
  --surface:  #ffffff;   /* card / surface white                    */
  --line:     #e8e1d6;   /* hairline borders / dividers             */
  --dark:     #34302a;   /* deep warm charcoal (footer / dark band) */
  --star:     #d9a441;   /* rating star gold                        */
  --sale:     #c2603f;   /* terracotta sale accent                  */

  /* --- Fonts --- */
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* --- Shape & motion --- */
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow:    0 10px 30px rgba(43, 38, 32, .07);
  --shadow-lg: 0 24px 60px rgba(43, 38, 32, .12);
  --ease:      .35s cubic-bezier(.4, 0, .2, 1);

  /* --- Layout --- */
  --maxw:   1200px;
  --gutter: 24px;
}

/* ---------------------------------------------------------------------
   RESET / BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

a { color: var(--accent-dark); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--ink); }

img, svg { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; }

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

.section { padding: 92px 0; }
.section--soft { background: var(--accent-soft); }
.section--tight { padding: 60px 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}
.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  max-width: 100%;
  gap: 20px;
  flex-wrap: wrap;
}
.section-head--split p { margin: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.lead { font-size: 1.12rem; color: var(--ink); }
.muted { color: var(--muted); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  color: var(--accent-dark);
}
.link-arrow span { transition: transform var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .96rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(176, 137, 104, .35);
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 12px 30px rgba(176, 137, 104, .45); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: var(--dark); color: #fff; }

.btn-light {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-light:hover { background: #fff; color: var(--ink); }

.btn--block { width: 100%; }

/* ---------------------------------------------------------------------
   HEADER / NAV  (shared, identical IDs on every page)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(43,38,32,.06); }

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -.01em;
  flex: 0 0 auto;
}
.brand:hover { color: var(--ink); }
.brand .logo-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--accent), var(--accent-dark));
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(176, 137, 104, .4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .96rem;
  color: var(--ink);
  padding: 8px 15px;
  border-radius: 9px;
  transition: background var(--ease), color var(--ease);
}
.nav-links a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.nav-links a.active { color: var(--accent-dark); font-weight: 600; }

/* Search (visual) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex: 0 0 auto;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(176,137,104,.12); }
.search svg { color: var(--muted); flex: 0 0 auto; }
.search input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--ink);
  width: 150px;
}
.search input::placeholder { color: var(--muted); }

/* Cart pill */
.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
}
.cart-pill:hover { background: var(--accent-dark); transform: translateY(-1px); }
.cart-pill .cart-icon { font-size: 1rem; line-height: 1; }
#cartCount {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
}
#cartCount.is-bump { animation: bump .35s ease; }
@keyframes bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: var(--accent-soft);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  flex: 0 0 auto;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   HERO (home)
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(176,137,104,.16), transparent 60%),
    radial-gradient(680px 480px at -5% 110%, rgba(176,137,104,.10), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, #fff 100%);
  padding: 84px 0 92px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--accent-dark); }
.hero .lead { max-width: 500px; margin-bottom: 30px; color: var(--muted); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-meta { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-meta div strong {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.hero-meta div span { font-size: .88rem; color: var(--muted); }

/* Hero visual — pure CSS furniture vignette */
.hero-visual { position: relative; min-height: 440px; }
.hero-stage {
  position: relative;
  height: 100%;
  min-height: 440px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #efe3d4, #e3d3bf);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-stage::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 320px at 75% 18%, rgba(255,255,255,.5), transparent 60%);
}
.hero-emoji {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(8rem, 18vw, 13rem);
  line-height: 1;
  filter: drop-shadow(0 18px 28px rgba(43,38,32,.22));
}
/* Real hero photo overlay */
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-stage:has(.hero-photo)::after { display: none; }
.hero-stage:has(.hero-photo) .hero-emoji { display: none; }
.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
}
.hero-chip span.ico { font-size: 1.5rem; line-height: 1; }
.hero-chip small { display: block; font-size: .72rem; color: var(--muted); }
.hero-chip strong { font-family: var(--font-head); font-size: 1rem; color: var(--ink); }
.hero-chip--1 { top: 26px; left: 22px; }
.hero-chip--2 { bottom: 26px; right: 22px; }
.hero-chip--price {
  bottom: 26px; left: 22px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.05rem;
  padding: 11px 18px;
}

/* ---------------------------------------------------------------------
   CATEGORY TILES
   --------------------------------------------------------------------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cat-tile {
  position: relative;
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--tile, linear-gradient(150deg, #efe3d4, #e3d3bf));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.cat-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-tile .cat-emoji {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 3rem;
  line-height: 1;
  filter: drop-shadow(0 8px 14px rgba(43,38,32,.16));
}
/* Real category photo overlay */
.cat-tile .cat-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cat-tile:has(.cat-photo)::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(43,38,32,0) 35%, rgba(43,38,32,.55) 100%); }
.cat-tile:has(.cat-photo) .cat-emoji { display: none; }
.cat-tile:has(.cat-photo) h3 { color: #fff; position: relative; z-index: 1; }
.cat-tile:has(.cat-photo) .cat-count { color: #f3e6d6; position: relative; z-index: 1; }
.cat-tile h3 { color: var(--ink); margin-bottom: 4px; font-size: 1.3rem; }
.cat-tile span.cat-count { font-size: .85rem; color: var(--accent-dark); font-weight: 600; }

/* ---------------------------------------------------------------------
   PRODUCT CARDS / GRID
   --------------------------------------------------------------------- */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.products--3 { grid-template-columns: repeat(3, 1fr); }

.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(176,137,104,.3); }
.product__media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  background: var(--pm, linear-gradient(150deg, #efe3d4, #e3d3bf));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product__media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(220px 160px at 70% 25%, rgba(255,255,255,.45), transparent 62%);
}
.product__emoji { font-size: 3.6rem; line-height: 1; filter: drop-shadow(0 10px 16px rgba(43,38,32,.18)); z-index: 1; }
/* Real product photo overlay */
.product__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.product__media:has(.product__photo)::after { display: none; }
.product__media:has(.product__photo) .product__emoji { display: none; }
.badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  color: #fff;
}
.badge--sale { background: var(--sale); }
.badge--new  { background: var(--accent-dark); }
.product__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product__cat {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.product__name { font-size: 1.12rem; margin-bottom: 8px; }
.product__name a { color: var(--ink); }
.product__name a:hover { color: var(--accent-dark); }
.product__rating { font-size: .82rem; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.product__stars { color: var(--star); letter-spacing: 1px; }
.product__price { display: flex; align-items: baseline; gap: 9px; margin-bottom: 16px; margin-top: auto; }
.price { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.price--old { font-size: .95rem; color: var(--muted); text-decoration: line-through; }
.btn--add {
  width: 100%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-weight: 600;
  font-size: .92rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), transform var(--ease);
}
.btn--add:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }

/* ---------------------------------------------------------------------
   PROMO BANNER
   --------------------------------------------------------------------- */
.promo {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;
  background:
    radial-gradient(500px 360px at 88% 12%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(135deg, var(--dark), var(--ink));
  border-radius: var(--radius-lg);
  padding: 56px 52px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.promo h2 { color: #fff; margin-bottom: 14px; }
.promo p { color: rgba(255,255,255,.82); max-width: 440px; margin-bottom: 26px; }
.promo .eyebrow { background: rgba(255,255,255,.14); color: #fff; }
.promo__visual {
  position: relative;
  min-height: 200px;
  display: grid;
  place-items: center;
}
.promo__circle {
  width: 170px; height: 170px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), var(--accent-dark));
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 2.6rem;
  line-height: 1;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.3);
}
.promo__circle small { display: block; font-size: .8rem; letter-spacing: .2em; margin-top: 4px; }
.promo__emoji { position: absolute; font-size: 2.4rem; filter: drop-shadow(0 8px 14px rgba(0,0,0,.3)); }
.promo__emoji--1 { top: 6px; right: 18%; }
.promo__emoji--2 { bottom: 4px; left: 16%; }

/* ---------------------------------------------------------------------
   FEATURED STRIP (split content/visual)
   --------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-lg);
  min-height: 400px;
  background: linear-gradient(155deg, #efe3d4, #e3d3bf);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.split-media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(360px 280px at 72% 22%, rgba(255,255,255,.5), transparent 60%);
}
.split-media .split-emoji {
  font-size: clamp(6rem, 12vw, 9rem);
  line-height: 1;
  filter: drop-shadow(0 16px 26px rgba(43,38,32,.2));
  z-index: 1;
}
.feature-list { display: grid; gap: 22px; margin-top: 26px; }
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature .tick {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.feature h3 { font-size: 1.1rem; margin-bottom: 4px; }
.feature p { margin-bottom: 0; font-size: .97rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   TRUST STRIP
   --------------------------------------------------------------------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 15px;
}
.trust__ico {
  width: 52px; height: 52px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid; place-items: center;
  font-size: 1.5rem;
}
.trust__item h3 { font-size: 1.02rem; margin-bottom: 2px; }
.trust__item p { margin-bottom: 0; font-size: .88rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   NEWSLETTER
   --------------------------------------------------------------------- */
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 52px 50px;
  box-shadow: var(--shadow);
}
.newsletter h2 { margin-bottom: 10px; }
.newsletter p { color: var(--muted); margin-bottom: 0; }
.newsletter__form { width: 100%; }
.newsletter__field {
  display: flex;
  gap: 12px;
}
.newsletter__input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.newsletter__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(176,137,104,.12); }
.newsletter__input.is-error { border-color: var(--sale); }
.newsletter__msg { margin: 14px 0 0; font-size: .9rem; min-height: 1.2em; }
.newsletter__msg.is-error { color: var(--sale); }
.newsletter__msg.is-success { color: #2f7d52; }

/* ---------------------------------------------------------------------
   CTA BAND
   --------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(560px 380px at 90% 8%, rgba(176,137,104,.3), transparent 60%),
    linear-gradient(135deg, var(--dark), var(--ink));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   PAGE BANNER (inner pages)
   --------------------------------------------------------------------- */
.page-banner {
  background:
    radial-gradient(680px 380px at 86% -20%, rgba(176,137,104,.16), transparent 60%),
    linear-gradient(180deg, var(--accent-soft), var(--bg));
  padding: 60px 0 54px;
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { margin-bottom: 10px; }
.page-banner p { max-width: 620px; color: var(--muted); margin-bottom: 0; }
.breadcrumb {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--accent-dark); }
.breadcrumb span { margin: 0 8px; opacity: .6; }

/* ---------------------------------------------------------------------
   SHOP — sidebar + grid + pagination
   --------------------------------------------------------------------- */
.shop-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 40px;
  align-items: start;
}
.shop-sidebar {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.filter-group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter-group:first-child { padding-top: 0; }
.filter-group:last-child { border-bottom: none; padding-bottom: 0; }
.filter-group h4 {
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.filter-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .94rem;
  color: var(--ink);
  padding: 5px 0;
  cursor: pointer;
}
.filter-opt input { accent-color: var(--accent); width: 16px; height: 16px; cursor: pointer; }
.filter-opt .opt-count { margin-left: auto; font-size: .8rem; color: var(--muted); }
.swatch-row { display: flex; flex-wrap: wrap; gap: 10px; }
.mat-chip {
  font-size: .82rem;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease), color var(--ease);
}
.mat-chip.is-active, .mat-chip:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.price-range { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.price-range input[type="range"] { width: 100%; accent-color: var(--accent); }
.filter-select {
  width: 100%;
  font-family: var(--font-body);
  font-size: .92rem;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}

.shop-main { min-width: 0; }
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.shop-toolbar .result-count { font-size: .92rem; color: var(--muted); }
.shop-toolbar .toolbar-right { display: flex; align-items: center; gap: 12px; }
.shop-toolbar .toolbar-right label { font-size: .9rem; color: var(--muted); }
.shop-toolbar .filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  cursor: pointer;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination a {
  min-width: 44px; height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
  transition: border-color var(--ease), background var(--ease), color var(--ease);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent-dark); }
.pagination a.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------------------------------------------------------------------
   PRODUCT DETAIL (product.html)
   --------------------------------------------------------------------- */
.pd-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: start;
}
.gallery__main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: var(--gallery, linear-gradient(155deg, #efe3d4, #e3d3bf));
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.gallery__main::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(360px 280px at 70% 22%, rgba(255,255,255,.5), transparent 60%);
}
.gallery__emoji { font-size: clamp(6rem, 14vw, 10rem); line-height: 1; filter: drop-shadow(0 16px 26px rgba(43,38,32,.2)); z-index: 1; }
/* Real gallery photo overlay */
.gallery__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.gallery__main:has(.gallery__photo)::after { display: none; }
.gallery__main:has(.gallery__photo) .gallery__emoji { display: none; }
.gallery__thumb .gallery__thumb-photo { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.gallery__thumb:has(.gallery__thumb-photo) { font-size: 0; padding: 0; overflow: hidden; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery__thumb {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: var(--tg, linear-gradient(155deg, #efe3d4, #e3d3bf));
  border: 2px solid transparent;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  cursor: pointer;
  transition: border-color var(--ease), transform var(--ease);
}
.gallery__thumb:hover { transform: translateY(-2px); }
.gallery__thumb.is-active { border-color: var(--accent); }

.pd-info .pd-cat {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pd-info h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 8px 0 14px; }
.pd-rating { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.pd-rating .stars { color: var(--star); letter-spacing: 1px; }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.pd-price .price { font-size: 2rem; }
.pd-price .price--old { font-size: 1.15rem; }
.pd-price .save-tag {
  font-size: .8rem;
  font-weight: 700;
  color: var(--sale);
  background: rgba(194,96,63,.1);
  padding: 4px 11px;
  border-radius: 999px;
}
.pd-desc { color: var(--muted); margin-bottom: 26px; }

.pd-option { margin-bottom: 22px; }
.pd-option__head { display: flex; gap: 8px; margin-bottom: 10px; font-size: .9rem; }
.pd-option__head b { font-family: var(--font-body); color: var(--ink); }
.pd-option__value { color: var(--accent-dark); font-weight: 600; }
.color-row { display: flex; gap: 12px; }
.color-dot {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--line);
  cursor: pointer;
  background: var(--c, #ccc);
  position: relative;
  transition: transform var(--ease);
}
.color-dot:hover { transform: scale(1.08); }
.color-dot.is-active { border-color: var(--ink); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
.mat-row { display: flex; flex-wrap: wrap; gap: 10px; }
.mat-row .mat-chip.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }

.pd-buy {
  display: flex;
  gap: 14px;
  align-items: stretch;
  margin: 26px 0 14px;
  flex-wrap: wrap;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  overflow: hidden;
}
.qty button {
  width: 44px; height: 48px;
  border: none;
  background: transparent;
  font-size: 1.3rem;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--ease);
}
.qty button:hover { background: var(--accent-soft); }
.qty__input {
  width: 46px;
  height: 48px;
  border: none;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
}
.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-buy .btn { flex: 1; min-width: 150px; }

.pd-meta-list { display: grid; gap: 8px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.pd-meta-list div { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.pd-meta-list .ico { color: var(--accent-dark); }

/* Tabs */
.tabs { margin-top: 60px; }
.tabs__nav { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 26px; flex-wrap: wrap; }
.tabs__btn {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .96rem;
  color: var(--muted);
  padding: 12px 18px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--ease), border-color var(--ease);
}
.tabs__btn:hover { color: var(--ink); }
.tabs__btn.is-active { color: var(--accent-dark); border-color: var(--accent); }
.tabs__panel { display: none; max-width: 760px; }
.tabs__panel.is-active { display: block; }
.tabs__panel p { color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.spec-table td:first-child { font-weight: 600; color: var(--ink); width: 42%; }
.spec-table td:last-child { color: var(--muted); }

/* ---------------------------------------------------------------------
   ABOUT — stats / values
   --------------------------------------------------------------------- */
.stats-band {
  background: linear-gradient(135deg, var(--dark), var(--ink));
  color: #fff;
}
.stats-band .section-head h2 { color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat strong {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  display: block;
  line-height: 1;
  color: #fff;
}
.stat span { color: rgba(255,255,255,.75); font-size: .92rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(176,137,104,.25); }
.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: grid; place-items: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------------------------------------------------
   CONTACT
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(176,137,104,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { color: var(--sale); font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--sale); }
.field.invalid .error-msg { display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: #edf7f0;
  border: 1px solid #aedcc0;
  color: #2f7d52;
  font-weight: 500;
}
.form-status.show { display: block; }

.info-card {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 22px;
}
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .info-ic {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 12px; background: var(--surface);
  display: grid; place-items: center; font-size: 1.3rem;
  box-shadow: var(--shadow);
}
.info-row b { font-family: var(--font-body); font-weight: 600; color: var(--ink); display: block; }
.info-row span { font-size: .94rem; color: var(--muted); }

.map-placeholder {
  border-radius: var(--radius);
  min-height: 240px;
  background:
    linear-gradient(rgba(176,137,104,.05), rgba(176,137,104,.05)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 42px),
    var(--accent-soft);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  text-align: center;
  color: var(--muted);
}
.map-placeholder .pin { font-size: 2.4rem; }
.map-placeholder b { font-family: var(--font-head); color: var(--ink); display: block; }

/* ---------------------------------------------------------------------
   FOOTER (shared)
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.72);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand:hover { color: #fff; }
.footer-about p { font-size: .95rem; color: rgba(255,255,255,.66); max-width: 320px; }
.footer-col h4 {
  color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 16px; font-family: var(--font-body); font-weight: 700;
}
.footer-col a { display: block; color: rgba(255,255,255,.68); padding: 5px 0; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: grid; place-items: center;
  font-size: 1rem;
}
.social a:hover { background: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .88rem;
  color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.72); }

/* ---------------------------------------------------------------------
   TOAST
   --------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 120%);
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  opacity: 0;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .4s ease;
  max-width: 90vw;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------------------------------------------------------------------
   SCROLL-REVEAL
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .search input { width: 110px; }
}

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 520px; }
  .pd-layout { grid-template-columns: 1fr; gap: 36px; }
  .promo { grid-template-columns: 1fr; gap: 28px; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: min(320px, 86vw);
    z-index: 130;
    border-radius: 0;
    overflow-y: auto;
    transform: translateX(-110%);
    transition: transform var(--ease);
  }
  .shop-sidebar.is-open { transform: none; }
  .shop-toolbar .filter-toggle { display: inline-flex; }
}

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

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .header-actions .search { display: none; }
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 14px var(--gutter) 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }

  .products, .products--3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split, .contact-grid, .newsletter { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split-media { order: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .promo { padding: 40px 28px; }
  .newsletter { padding: 38px 28px; }
  .cta-band { padding: 44px 26px; }
  .newsletter__field { flex-direction: column; }
  .newsletter__field .btn { width: 100%; }
}

@media (max-width: 460px) {
  .products, .products--3, .cat-grid { grid-template-columns: 1fr; }
  .trust, .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .pd-buy .btn { min-width: 0; }
}

/* Shop sidebar backdrop (mobile) */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(43,38,32,.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
  z-index: 120;
}
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
body.no-scroll { overflow: hidden; }
