/* ─── Reset ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  color: #1c1c1c;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; }
ul   { list-style: none; }

/* ─── Tokens ─────────────────────────────── */
:root {
  --white:  #ffffff;
  --off:    #f7f6f3;
  --stone:  #eceae5;
  --border: #e4e1db;
  --text:   #1c1c1c;
  --muted:  #8a8680;
  --accent: #1d3fd4;
  --r:      12px;
}

/* ─── Utility ────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.eyebrow   { font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ═══════════════════════════════════════ HEADER ═══ */
header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
nav { display: flex; align-items: center; gap: 2rem; }
.logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.logo img { height: 81px; width: auto; display: block; align-self: center; padding: 10px; }
.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a {
  font-size: .88rem; font-weight: 400; color: var(--muted);
  transition: color .2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.btn-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: none; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text); transition: border-color .2s, background .2s;
}
.btn-icon:hover { border-color: var(--text); background: var(--off); }
.cart-btn {
  display: flex; align-items: center; gap: .4rem;
  background: var(--text); color: #fff;
  border-radius: 999px; padding: .42rem 1.1rem;
  font-size: .82rem; font-weight: 400;
  transition: background .2s;
}
.cart-btn:hover { background: var(--accent); }
.cart-label-text { display: inline; }
.nav-toggle {
  display: none; background: none; padding: 8px;
  color: var(--text); border-radius: 8px;
  transition: background .2s;
}
.nav-toggle:hover { background: var(--stone); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ═══════════════════════════════════════ DRAWER ═══ */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }
.drawer {
  position: fixed; top: 80px; left: 0;
  width: 90%; box-sizing: border-box;
  background: #fff; z-index: 100;
  padding: 0.75rem 2rem 1.5rem 1.5rem;
  border-radius: 0 0 14px 0;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: none; }
.drawer-close {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); cursor: pointer; transition: border-color .2s;
}
.drawer-close:hover { border-color: var(--text); }
.drawer-nav { display: block; width: 100%; }
.drawer-nav a {
  font-size: .95rem; color: var(--text); font-weight: 400;
  padding: .35rem 0; border-bottom: 1px solid var(--border);
  transition: color .2s; display: flex; align-items: center;
  justify-content: space-between; gap: .5rem;
  width: 100%; box-sizing: border-box; overflow: hidden;
}
.drawer-nav a .nav-icon { flex-shrink: 0; margin-right: .4rem; opacity: .75; }
.drawer-nav a span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer-nav a svg:not(.nav-icon) { flex-shrink: 0; flex-basis: 14px; }
.drawer-nav a:hover { color: var(--accent); }
.drawer-cart {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; width: 100%; box-sizing: border-box;
  background: var(--text); color: #fff;
  border-radius: 10px; padding: .75rem 1rem;
  font-size: .88rem; font-weight: 400;
  transition: background .2s; margin-top: 1rem; text-decoration: none;
}
.drawer-cart:hover { background: var(--accent); }

/* ═══════════════════════════════════════ PAGE HERO (categories) ═══ */
.page-hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
}
.page-hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; line-height: 1.15;
  margin: .25rem 0 .5rem;
}
.page-hero-desc { font-size: .95rem; color: var(--muted); max-width: 520px; line-height: 1.75; }

/* ── Info / content pages ── */
.info-section { padding: 3rem 0 4rem; }
.info-layout  { display: grid; grid-template-columns: 200px 1fr; gap: 3rem; align-items: start; }
@media (max-width: 700px) { .info-layout { grid-template-columns: 1fr; } }

.info-nav { display: flex; flex-direction: column; gap: .25rem; }
@media (min-width: 701px) { .info-nav { position: sticky; top: 90px; } }
.info-nav-link {
  font-size: .85rem; color: var(--muted); text-decoration: none;
  padding: .45rem .75rem; border-radius: 6px; transition: background .15s, color .15s;
}
.info-nav-link:hover { background: var(--off); color: var(--text); }

.info-block { padding: 1.5rem 0; }
.info-block-title {
  display: flex; align-items: center; gap: .65rem;
  font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 300;
  margin-bottom: 1rem;
}
.info-text { font-size: .93rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.25rem; }
.info-divider { border: none; border-top: 1px solid var(--border); margin: .5rem 0; }

.info-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 1rem; }
.info-card {
  background: var(--off); border-radius: var(--r); padding: 1.1rem 1.25rem;
}
.info-card-logo { margin-bottom: .75rem; }
.size-illustration { display: block; height: 110px; width: auto; margin: 0 auto .9rem; opacity: .78; }
.info-card-title { font-weight: 500; font-size: .9rem; margin-bottom: .3rem; }
.info-card-desc  { font-size: .82rem; color: var(--muted); line-height: 1.6; margin-bottom: .6rem; }
.info-card-price { font-size: .82rem; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.info-price-free { font-weight: 600; color: #2e7d32; }
.info-price-note { color: var(--muted); }

.info-steps { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.info-step { display: flex; gap: 1rem; align-items: flex-start; }
.info-step-num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--text); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 500; margin-top: .1rem;
}
.info-step-title { font-weight: 500; font-size: .9rem; margin-bottom: .2rem; }
.info-step-desc  { font-size: .83rem; color: var(--muted); line-height: 1.6; }
.info-step-desc a { color: var(--accent); }

.info-note {
  display: flex; gap: .65rem; align-items: flex-start;
  background: #f0f4ff; border-radius: 8px; padding: .85rem 1rem;
  font-size: .82rem; color: #3a4a7a; margin-top: 1.25rem; line-height: 1.6;
}
.info-note svg { flex-shrink: 0; margin-top: .1rem; }
.info-note p { margin: 0; }

/* ── Contact page ── */
.contact-layout { display: grid; grid-template-columns: 320px 1fr; gap: 3rem; align-items: start; }
@media (max-width: 800px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-map-wrap { border-radius: 12px; overflow: hidden; height: 480px; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.contact-map-wrap iframe { display: block; }

.contact-info-card {
  background: var(--off); border-radius: var(--r); padding: 1.5rem;
}
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-info-item:first-child { padding-top: 0; }
.contact-info-icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 8px;
  background: #fff; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-label { font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.contact-info-value { font-size: .9rem; font-weight: 400; color: var(--text); text-decoration: none; display: block; }
a.contact-info-value:hover { text-decoration: underline; }
.contact-info-sub   { font-size: .8rem; color: var(--muted); margin-top: .1rem; }

.contact-quick-link {
  display: flex; align-items: center; gap: .5rem;
  font-size: .83rem; color: var(--muted); text-decoration: none;
  padding: .4rem 0; border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.contact-quick-link:last-child { border-bottom: none; }
.contact-quick-link:hover { color: var(--text); }

.contact-form { background: var(--off); border-radius: var(--r); padding: 2rem; }
.contact-form-title {
  font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 300;
  margin-bottom: 1.5rem;
}
.contact-success {
  background: var(--off); border-radius: var(--r); padding: 3rem 2rem;
  text-align: center;
}
.page-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300; line-height: 1.15;
  white-space: pre-line;
}
.page-desc {
  font-size: .95rem; color: var(--muted);
  max-width: 540px; line-height: 1.75; margin-top: .75rem;
}

/* ─── Category jump nav (categories page) ─── */
.cat-jump { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.75rem; }
.cat-jump a {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border); border-radius: 999px;
  padding: .42rem 1.1rem; font-size: .82rem; font-weight: 400;
  color: var(--text); transition: border-color .2s, background .2s;
}
.cat-jump a:hover, .cat-jump a.active { border-color: var(--text); background: var(--off); }

/* ═══════════════════════════════════════ BREADCRUMB ═══ */
/* Version 1 – flat row with chevrons (categories page) */
.breadcrumb {
  display: flex; align-items: center; gap: .4rem;
  font-size: .78rem; color: var(--muted); margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb svg { opacity: .5; }
/* Version 2 – list with border-bottom (product / cart pages) */
.breadcrumb-bar { padding: 1.1rem 0; border-bottom: 1px solid var(--border); }
.breadcrumb-list { display: flex; align-items: center; gap: .5rem; font-size: .78rem; color: var(--muted); list-style: none; margin: 0; padding: 0; }
.breadcrumb-list a { color: var(--muted); transition: color .2s; }
.breadcrumb-list a:hover { color: var(--text); }
.breadcrumb-list span { color: var(--text); }
.breadcrumb-sep { opacity: .4; }

/* ═══════════════════════════════════════ SECTION HEAD ═══ */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
.sec-title { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 300; line-height: 1.2; margin-top: .4rem; }
.sec-link {
  display: flex; align-items: center; gap: 6px;
  font-size: .86rem; color: var(--muted);
  transition: color .2s; flex-shrink: 0; margin-bottom: 4px;
}
.sec-link:hover { color: var(--text); }
.sec-link:hover svg { transform: translateX(3px); }
.sec-link svg { transition: transform .2s; }

/* ═══════════════════════════════════════ PRODUCT GRID (shared) ═══ */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.prod-card {
  display: block;
  background: #fff; border-radius: var(--r); overflow: hidden;
  transition: transform .3s ease;
  color: inherit;
}
.prod-card:hover { transform: translateY(-5px); }

.prod-img {
  position: relative; overflow: hidden;
  background: #fff; aspect-ratio: 4/3;
}
.prod-img img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .5s ease;
}
.prod-card:hover .prod-img img { transform: scale(1.06); }

.prod-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  border-radius: 6px; padding: 4px 10px;
  font-size: .68rem; font-weight: 500; letter-spacing: .04em;
  background: var(--text); color: #fff;
}
.prod-badge.blue   { background: #1565c0; }
.prod-badge.red    { background: #c62828; }
.prod-badge.green  { background: #2e7d32; }
.prod-badge.orange { background: #e65100; }
.prod-badge.purple { background: #6a1b9a; }
.prod-badge.pink   { background: #ad1457; }
.prod-badge.teal   { background: #00695c; }
.prod-badge.sale   { background: #c62828; }
.prod-badge.kids   { background: #2e7d32; }

.card-stock-badge {
  position: absolute; bottom: 12px; left: 12px; z-index: 1;
  border-radius: 6px; padding: 4px 10px;
  font-size: .68rem; font-weight: 500; letter-spacing: .04em;
  background: #2e7d32; color: #fff;
}

.prod-actions {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: .75rem; display: flex; justify-content: flex-end;
  opacity: 0; transform: translateY(6px);
  transition: opacity .25s, transform .25s;
}
.prod-card:hover .prod-actions { opacity: 1; transform: translateY(0); }
.btn-add {
  background: var(--text); color: #fff;
  border-radius: 8px; padding: 8px 16px;
  font-size: .78rem; font-weight: 500; transition: background .2s;
}
.btn-add:hover { background: var(--accent); }

.prod-body { padding: 1.1rem 1.25rem 1.25rem; }
.prod-cat  { font-size: .68rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 3px; }
.prod-name { font-weight: 500; font-size: .98rem; margin-bottom: 3px; }
.prod-sub  { font-size: .8rem; color: var(--muted); }
.prod-foot { display: flex; align-items: center; justify-content: space-between; }
.prod-price { font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 400; }
.prod-price .strike {
  font-family: 'Outfit', sans-serif; font-size: .8rem;
  color: var(--muted); text-decoration: line-through; margin-right: 5px;
}
.prod-sizes { display: flex; gap: 4px; }
.size-dot {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff;
  font-size: .62rem; font-weight: 500; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
}
.size-dot.active { border-color: var(--text); color: var(--text); }

/* ─── Card color arrows (categories page) ─── */
.color-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.88); border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); cursor: pointer;
  opacity: 0; transition: opacity .2s, background .15s;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.prod-card:hover .color-arrow { opacity: 1; }
.color-arrow:hover { background: #fff; }
.color-arrow-prev { left: 8px; }
.color-arrow-next { right: 8px; }

/* ─── Card color swatches (categories page) ─── */
.card-colors {
  display: flex; gap: 5px; flex-wrap: wrap; padding: 10px 0 .75rem;
}
.card-color-dot {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.08);
  cursor: pointer; flex-shrink: 0;
  outline: 2px solid transparent; outline-offset: 2px;
  transition: transform .15s, outline-color .15s;
}
.card-color-dot:hover  { transform: scale(1.25); outline-color: var(--border); }
.card-color-dot.active { outline-color: var(--text); }
.card-color-dot.has-icon { background: none; border: none; padding: 0; overflow: hidden; }
.card-color-dot.has-icon img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }

/* ═══════════════════════════════════════ CATEGORY SECTIONS (categories page) ═══ */
.cat-section        { padding: 1rem 0; }
.cat-section.alt    { background: var(--off); }

/* ─── Back bar ─── */
.back-bar { padding: 3rem 0 2rem; border-top: 1px solid var(--border); }
.btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: 8px;
  padding: .75rem 1.5rem; font-size: .88rem; font-weight: 400;
  color: var(--text); transition: border-color .2s, background .2s;
}
.btn-back:hover { border-color: var(--text); background: var(--off); }
.btn-back svg { transition: transform .2s; }
.btn-back:hover svg { transform: translateX(-3px); }

/* ═══════════════════════════════════════ HOMEPAGE HERO ═══ */
.hero-compact {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.hero-compact-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.hero-compact-stats { display: flex; gap: 3rem; flex-shrink: 0; padding-bottom: 4px; }
.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 300; line-height: 1.1;
  letter-spacing: -.02em; margin-bottom: 1rem; margin-top: .4rem;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-desc { font-size: .95rem; color: var(--muted); max-width: 480px; line-height: 1.75; }
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.btn-primary {
  display: inline-block;
  background: var(--text); color: #fff;
  border-radius: 8px; padding: .8rem 1.8rem;
  font-size: .9rem; font-weight: 400;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn-ghost {
  display: inline-block;
  background: none; color: var(--text);
  border: 1px solid var(--border); border-radius: 8px;
  padding: .8rem 1.8rem; font-size: .9rem; font-weight: 400;
  transition: border-color .2s, transform .15s;
}
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.stat-num { font-family: 'Fraunces', serif; font-size: 1.9rem; font-weight: 400; display: block; line-height: 1; }
.stat-lab { font-size: .76rem; color: var(--muted); margin-top: 4px; display: block; }

/* ─── Category hero grid (homepage) ─── */
.cat-section-hero { padding: 1.5rem 0 0; }
.cat-hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 6px;
}
.cat-hero-grid .cat-card { aspect-ratio: unset; }
.cat-hero-grid .cat-card:first-child { grid-row: span 2; }
.cat-card {
  position: relative; overflow: hidden;
  border-radius: var(--r); background: #fff;
  display: flex; align-items: flex-end; padding: 2rem;
}
.cat-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .6s ease;
}
.cat-card:hover img { transform: scale(1.04); }
.cat-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.58) 0%, rgba(0,0,0,.08) 55%, transparent 100%);
}
.cat-body { position: relative; z-index: 1; }
.cat-label { color: rgba(255,255,255,.65); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.cat-title { color: #fff; font-family: 'Fraunces', serif; font-size: 1.9rem; font-weight: 300; margin-bottom: 14px; }
.cat-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--text);
  border-radius: 999px; padding: 7px 18px;
  font-size: .82rem; font-weight: 500;
  transition: background .2s, color .2s;
}
.cat-btn:hover { background: var(--accent); color: #fff; }

/* ─── Homepage product sections ─── */
.products   { padding: 2rem 0; background: var(--off); }
.tabourets  { padding: 2rem 0; }
.tab-grid   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.eps-section { padding: 2rem 0; background: var(--off); }
.eps-desc   { font-size: .95rem; color: var(--muted); max-width: 560px; line-height: 1.75; margin-bottom: 2.5rem; }
.eps-grid   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

/* ─── Promo banner (homepage) ─── */
.promo { background: var(--accent); color: #fff; padding: 5rem 0; }
.promo-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.promo-eyebrow { color: rgba(255,255,255,.55); margin-bottom: .6rem; }
.promo-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300; line-height: 1.15; margin-bottom: 1.25rem;
}
.promo-desc { color: rgba(255,255,255,.7); font-size: .95rem; line-height: 1.75; margin-bottom: 2rem; }
.btn-white {
  display: inline-block;
  background: #fff; color: var(--text);
  border-radius: 8px; padding: .85rem 2rem;
  font-size: .9rem; font-weight: 500; transition: background .2s;
}
.btn-white:hover { background: var(--stone); }
.promo-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; background: #fff; }
.promo-img img { width: 100%; height: 100%; object-fit: contain; }

/* ═══════════════════════════════════════ USP (homepage + product) ═══ */
.usp { padding: 4.5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.usp-item { display: flex; gap: 1rem; align-items: flex-start; }
.usp-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--stone); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--fg);
}
.usp-icon svg { display: block; }
.usp-title { font-weight: 500; font-size: .92rem; margin-bottom: 3px; }
.usp-desc  { font-size: .8rem; color: var(--muted); line-height: 1.55; }

/* ═══════════════════════════════════════ PRODUCT DETAIL PAGE ═══ */
.product-section { padding: 3rem 0 4rem; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

/* Gallery */
.gallery { position: sticky; top: 110px; }
.gallery-main {
  background: var(--off); border-radius: var(--r); overflow: hidden;
  aspect-ratio: 4/3; margin-bottom: .75rem;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; cursor: zoom-in; }

/* Fly-to-cart */
.fly-bubble { position: fixed; border-radius: 50%; overflow: hidden; pointer-events: none; z-index: 9998; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.fly-bubble img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes cartBump { 0%{transform:scale(1)} 35%{transform:scale(1.35)} 65%{transform:scale(0.88)} 100%{transform:scale(1)} }
.cart-bump { animation: cartBump .45s ease; }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 9900; align-items: center; justify-content: center; gap: 16px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; cursor: default; }
.lightbox-inner img { max-width: min(80vw, calc(100vw - 128px)); max-height: 80vh; object-fit: contain; border-radius: 4px; transition: opacity .12s; }
.lb-footer { display: flex; align-items: center; gap: 14px; }
.lb-counter { color: rgba(255,255,255,.6); font-size: .82rem; min-width: 44px; text-align: center; }
.lb-side-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.25); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s; display: flex; align-items: center; justify-content: center; z-index: 1; }
.lb-side-arrow:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lightbox-close { background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.3); color: #fff; font-size: .85rem; letter-spacing: .04em; padding: 8px 24px; border-radius: 999px; cursor: pointer; transition: background .2s; }
.lightbox-close:hover { background: rgba(255,255,255,.28); }
.gallery-thumbs { display: flex; gap: .5rem; flex-wrap: wrap; }
.thumb {
  width: 72px; height: 72px; border-radius: 8px; overflow: hidden;
  background: var(--off); border: 2px solid transparent;
  cursor: pointer; transition: border-color .2s; flex-shrink: 0;
}
.thumb.active { border-color: var(--text); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }

/* Info panel */
.prod-info .eyebrow { margin-bottom: .6rem; }
.prod-info-name {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300; line-height: 1.1; letter-spacing: -.02em; margin-bottom: .75rem;
}
.prod-rating { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem; }
.stars { display: flex; gap: 2px; color: #f59e0b; }
.rating-text { font-size: .82rem; color: var(--muted); }
.prod-info-price { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 300; margin-bottom: .3rem; }
.prod-info-price .old-price {
  font-family: 'Outfit', sans-serif; font-size: 1rem;
  color: var(--muted); text-decoration: line-through; margin-right: .5rem;
}
.price-note { font-size: .8rem; color: var(--muted); margin-bottom: 1.5rem; }
.prod-divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

/* Selectors */
.selector-label {
  font-size: .78rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: .75rem; color: var(--muted);
}
.size-selector { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.size-opt {
  display: flex; flex-direction: column; align-items: center;
  padding: .6rem .9rem; border: 1px solid var(--border); border-radius: 8px;
  cursor: pointer; transition: border-color .2s, background .2s; background: #fff;
}
.size-opt:hover:not(.disabled) { border-color: var(--text); }
.size-opt.active { border-color: var(--text); background: var(--text); color: #fff; }
.size-opt.disabled { opacity: .35; cursor: not-allowed; border-style: dashed; }
.size-opt .size-name { font-size: .85rem; font-weight: 500; }
.size-opt .size-vol { font-size: .7rem; color: var(--muted); margin-top: .1rem; }
.size-opt.active .size-vol { color: rgba(255,255,255,.7); }
.size-opt.disabled .size-vol { color: var(--muted); }

/* Color picker */
.color-selector { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.color-opt {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, outline-color .2s;
  outline: 2px solid transparent; outline-offset: 3px;
  flex-shrink: 0;
}
.color-opt:hover  { transform: scale(1.15); outline-color: var(--border); }
.color-opt.active { outline-color: var(--text); }
.color-opt img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; pointer-events: none; }

/* Cart actions */
.cart-actions { display: flex; gap: .75rem; margin-bottom: 1.5rem; }
.qty-selector {
  display: flex; align-items: center;
  border: 1px solid var(--border); border-radius: 8px; overflow: hidden; flex-shrink: 0;
}
.qty-btn { width: 40px; height: 48px; background: none; font-size: 1.1rem; color: var(--text); transition: background .2s; }
.qty-btn:hover { background: var(--off); }
.qty-val { width: 40px; text-align: center; font-size: .9rem; font-weight: 500; border: none; outline: none; background: none; }
.btn-cart-main {
  flex: 1; background: var(--text); color: #fff; border-radius: 8px;
  padding: 0 1.5rem; font-size: .95rem; font-weight: 400; height: 48px;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  transition: background .2s, transform .15s;
}
.btn-cart-main:hover { background: var(--accent); transform: translateY(-1px); }

/* Stock status */
#stock-status { margin-bottom: .75rem; }
.stock-badge {
  display: inline-block; font-size: .8rem; font-weight: 500;
  padding: .3rem .75rem; border-radius: 20px;
}
.stock-ok  { background: #e8f5e9; color: #2e7d32; }
.stock-low { background: #fff8e1; color: #e65100; }
.stock-out { background: #fce4ec; color: #b71c1c; }

/* In-cart notice */
.in-cart-notice {
  display: flex; align-items: flex-start; gap: .65rem;
  background: #f0f7f0; border: 1px solid #c8e6c9;
  border-radius: 8px; padding: .85rem 1rem;
  margin-bottom: 1.5rem; font-size: .85rem;
}
.in-cart-notice svg { flex-shrink: 0; color: #2e7d32; margin-top: 1px; }
.in-cart-notice strong { font-weight: 500; color: #1b5e20; display: block; margin-bottom: .2rem; }
.in-cart-notice span  { color: #388e3c; }
.in-cart-notice a     { color: #1d3fd4; text-decoration: underline; text-underline-offset: 2px; margin-left: .25rem; }
.in-cart-rows { display: flex; flex-direction: column; gap: .15rem; }

/* Delivery */
.delivery-info {
  background: var(--off); border-radius: var(--r); padding: 1rem 1.25rem;
  display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.5rem;
}
.delivery-row { display: flex; align-items: center; gap: .6rem; font-size: .83rem; }
.delivery-row svg { flex-shrink: 0; color: var(--accent); }
.delivery-row strong { font-weight: 500; }
.prod-desc { font-size: .9rem; color: var(--muted); line-height: 1.8; }

/* Specs / Tabs */
.specs-section { padding: 4rem 0; background: var(--off); }
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 2.5rem; overflow-x: auto; }
.tab-btn {
  padding: .75rem 1.5rem; font-size: .88rem; font-weight: 400; color: var(--muted);
  background: none; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s; white-space: nowrap; margin-bottom: -1px;
}
.tab-btn.active { color: var(--text); border-bottom-color: var(--text); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.spec-row {
  display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem;
  background: #fff; border-radius: 8px; font-size: .88rem;
}
.spec-key-wrap { display: flex; align-items: center; gap: .5rem; }
.spec-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--muted); }
.spec-icon svg { width: 16px; height: 16px; }
.spec-key { color: var(--muted); }
.spec-val { font-weight: 500; }
.features-list { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.feature-item { display: flex; align-items: flex-start; gap: .75rem; background: #fff; border-radius: 8px; padding: 1rem 1.25rem; }
.feature-icon { width: 36px; height: 36px; flex-shrink: 0; background: var(--stone); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.feature-title { font-weight: 500; font-size: .88rem; margin-bottom: 2px; }
.feature-desc { font-size: .78rem; color: var(--muted); line-height: 1.5; }

/* Related products */
.related-section { padding: 4rem 0; }
.related-section .prod-grid { grid-template-columns: repeat(4, 1fr); }
.related-section .prod-card { border: 1px solid var(--border); }
.related-section .prod-body { padding: 1rem 1.1rem 1.1rem; }
.related-section .prod-name { font-size: .92rem; }
.related-section .prod-sub  { margin-bottom: .75rem; }
.related-section .prod-price { font-size: 1.15rem; }

/* Sticky bar */
.sticky-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  background: rgba(255,255,255,.97); border-top: 1px solid var(--border);
  padding: .75rem 1.25rem; gap: .75rem; align-items: center;
}
.sticky-price { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 300; flex: 1; }
.sticky-btn { background: var(--text); color: #fff; border-radius: 8px; padding: .7rem 1.5rem; font-size: .9rem; font-weight: 400; transition: background .2s; }
.sticky-btn:hover { background: var(--accent); }

/* ═══════════════════════════════════════ CART PAGE ═══ */
.cart-section { padding: 3rem 0 5rem; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; }
.cart-header {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem;
}
.cart-title { font-family: 'Fraunces', serif; font-size: 1.6rem; font-weight: 300; }
.cart-meta { font-size: .82rem; color: var(--muted); }

.cart-item {
  display: grid; grid-template-columns: 88px 1fr auto;
  gap: 1.25rem; align-items: center;
  padding: 1.25rem 0; border-bottom: 1px solid var(--border);
  transition: opacity .2s;
}
.cart-item.removing { opacity: .4; pointer-events: none; }

.item-img { width: 88px; height: 88px; border-radius: 8px; overflow: hidden; background: var(--off); flex-shrink: 0; }
.item-img img { width: 100%; height: 100%; object-fit: contain; }
.item-info { min-width: 0; }
.item-cat  { font-size: .68rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
.item-name { font-weight: 500; font-size: .96rem; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-size { font-size: .78rem; color: var(--muted); }
.item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.item-price { font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 400; white-space: nowrap; }

.qty-row { display: flex; align-items: center; gap: .5rem; }
/* Cart page qty-selector overrides (smaller than product page) */
.cart-section .qty-selector { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.cart-section .qty-btn { width: 32px; height: 32px; font-size: 1rem; }
.cart-section .qty-btn:disabled { opacity: .35; cursor: default; }
.cart-section .qty-val { width: 32px; font-size: .88rem; }

.btn-remove {
  background: none; font-size: .76rem; color: var(--muted);
  display: flex; align-items: center; gap: 4px;
  padding: 0; transition: color .2s;
}
.btn-remove:hover { color: #c62828; }

/* Empty state */
.cart-empty { text-align: center; padding: 4rem 2rem; border: 1px solid var(--border); border-radius: var(--r); }
.cart-empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.cart-empty h2 { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 300; margin-bottom: .5rem; }
.cart-empty p  { color: var(--muted); font-size: .9rem; margin-bottom: 1.75rem; }
.btn-shop {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text); color: #fff; border-radius: 8px;
  padding: .75rem 1.75rem; font-size: .9rem; font-weight: 400;
  transition: background .2s;
}
.btn-shop:hover { background: var(--accent); }

/* Order summary */
.summary-box { background: var(--off); border-radius: var(--r); padding: 1.75rem; position: sticky; top: 110px; }
.summary-title { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 300; margin-bottom: 1.5rem; }
.summary-row { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; margin-bottom: .75rem; }
.summary-row .label { color: var(--muted); }
.summary-row.shipping-free .value { color: #2e7d32; font-weight: 500; }
.summary-divider { border: none; border-top: 1px solid var(--border); margin: 1.25rem 0; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.5rem; }
.summary-total .label { font-weight: 500; font-size: .95rem; }
.summary-total .value { font-family: 'Fraunces', serif; font-size: 1.6rem; font-weight: 300; }
.btn-checkout {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; background: var(--text); color: #fff;
  border-radius: 8px; padding: .9rem 1.5rem;
  font-size: .95rem; font-weight: 400; transition: background .2s, transform .15s;
}
.btn-checkout:hover { background: var(--accent); transform: translateY(-1px); }
.btn-checkout:disabled { opacity: .5; cursor: default; transform: none; }
.free-shipping-bar { margin-top: 1.25rem; }
.free-shipping-label { font-size: .76rem; color: var(--muted); margin-bottom: .4rem; }
.progress-track { height: 4px; background: var(--border); border-radius: 99px; overflow: hidden; }
.progress-fill  { height: 100%; background: var(--accent); border-radius: 99px; transition: width .4s; }
.summary-perks { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.perk { display: flex; align-items: center; gap: .5rem; font-size: .78rem; color: var(--muted); }
.perk svg { flex-shrink: 0; color: var(--accent); }

/* ═══════════════════════════════════════ CHECKOUT PAGE ═══ */
.checkout-section { padding: 3rem 0 5rem; }
.checkout-layout  { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; }

/* Form sections */
.form-section { margin-bottom: 2rem; }
.form-section-title {
  display: flex; align-items: center; gap: .65rem;
  font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 300;
  margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border);
}
.form-step {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--text); color: #fff;
  font-family: 'Outfit', sans-serif; font-size: .72rem; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.form-row       { display: grid; gap: .75rem; margin-bottom: .75rem; }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
.form-group     { display: flex; flex-direction: column; gap: .35rem; }
.form-label     { font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.form-input,
.form-select,
.form-textarea  {
  font-family: 'Outfit', sans-serif; font-size: .9rem; font-weight: 300;
  color: var(--text); background: #fff;
  border: 1px solid var(--border); border-radius: 8px;
  padding: .7rem 1rem; transition: border-color .2s; outline: none; width: 100%;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--text); }
.form-input.error    { border-color: #c62828; }
.form-error          { font-size: .74rem; color: #c62828; }
.form-textarea       { resize: vertical; min-height: 80px; }
.form-select         { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8680' stroke-width='2' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-alert-error    { background: #fff0f0; border: 1px solid #ffcdd2; border-radius: 8px; padding: .85rem 1rem; font-size: .88rem; color: #c62828; margin-bottom: 1.5rem; }

/* Radio options */
.radio-options { display: flex; flex-direction: column; gap: .5rem; }
.radio-opt {
  display: flex; align-items: center; gap: .85rem;
  padding: .85rem 1rem; border: 1px solid var(--border); border-radius: 8px;
  cursor: pointer; transition: border-color .2s, background .2s; user-select: none;
}
.radio-opt:hover  { border-color: var(--text); }
.radio-opt.checked { border-color: var(--text); background: var(--off); }
.radio-opt input[type=radio] { display: none; }
.radio-mark {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s;
}
.radio-opt.checked .radio-mark { border-color: var(--text); background: var(--text); }
.radio-opt.checked .radio-mark::after {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; display: block;
}
.radio-body  { flex: 1; min-width: 0; }
.radio-name  { font-size: .9rem; font-weight: 400; display: block; }
.radio-desc  { font-size: .74rem; color: var(--muted); margin-top: 1px; display: block; }
.radio-price { font-size: .88rem; font-weight: 500; white-space: nowrap; flex-shrink: 0; }
.radio-price.free { color: #2e7d32; }

/* Submit */
.checkout-submit   { margin-top: 2rem; }
.btn-place-order   {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; background: var(--text); color: #fff;
  border-radius: 8px; padding: 1rem 1.5rem;
  font-size: .95rem; font-weight: 400; transition: background .2s, transform .15s;
}
.btn-place-order:hover    { background: var(--accent); transform: translateY(-1px); }
.btn-place-order:disabled { opacity: .5; cursor: default; transform: none; }
.checkout-terms {
  text-align: center; font-size: .74rem; color: var(--muted);
  margin-top: .85rem; line-height: 1.6;
}
.checkout-terms a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* Order summary sidebar */
.co-summary-box {
  background: var(--off); border-radius: var(--r);
  padding: 1.75rem; position: sticky; top: 110px;
}
.co-summary-items { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1.5rem; }
.co-item          { display: flex; align-items: center; gap: .85rem; }
.co-item-img      {
  width: 52px; height: 52px; border-radius: 8px;
  overflow: visible; background: var(--stone); flex-shrink: 0; position: relative;
}
.co-item-img img  { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.co-item-qty      {
  position: absolute; top: -6px; right: -6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--text); color: #fff; border: 2px solid var(--off);
  font-size: .62rem; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}
.co-item-info     { flex: 1; min-width: 0; }
.co-item-name     { font-size: .85rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-item-meta     { font-size: .72rem; color: var(--muted); margin-top: 2px; }
.co-item-price    { font-family: 'Fraunces', serif; font-size: 1rem; white-space: nowrap; }
.co-back-link     {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; color: var(--muted); margin-top: 1rem;
  transition: color .2s;
}
.co-back-link:hover { color: var(--text); }
.co-back-link svg   { transition: transform .2s; }
.co-back-link:hover svg { transform: translateX(-3px); }

/* Success */
.checkout-success  { text-align: center; padding: 5rem 2rem; max-width: 520px; margin: 0 auto; }
.success-icon      {
  width: 64px; height: 64px; background: #e8f5e9; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
}
.success-icon svg  { color: #2e7d32; }
.success-title     { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 300; margin-bottom: .75rem; }
.success-text      { font-size: .95rem; color: var(--muted); line-height: 1.75; margin-bottom: 2rem; }

/* Responsive */
@media (max-width: 860px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .co-summary-box  { position: static; }
}
@media (max-width: 560px) {
  .form-row.cols-2 { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════ 404 ═══ */
.notfound-section { padding: 5rem 0 6rem; }
.notfound-inner { max-width: 520px; margin: 0 auto; text-align: center; }
.notfound-code { font-family: 'Fraunces', serif; font-size: clamp(5rem, 18vw, 9rem); font-weight: 300; line-height: 1; color: var(--border); margin: 0 0 .25rem; }
.notfound-title { font-family: 'Fraunces', serif; font-size: clamp(1.6rem, 4vw, 2.25rem); font-weight: 300; margin: 0 0 1rem; }
.notfound-desc { font-size: .95rem; color: var(--muted); line-height: 1.75; margin: 0 0 2rem; }
.notfound-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════ FOOTER ═══ */
footer { padding: 4rem 0 2.5rem; border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-desc { font-size: .85rem; color: var(--muted); line-height: 1.7; max-width: 230px; margin-top: .9rem; }
.footer-col h4 { font-weight: 500; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { font-size: .86rem; color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 1.75rem; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem; color: var(--muted);
}
.footer-payment { display: flex; align-items: center; gap: .5rem; }
.pay-badge { border: 1px solid var(--border); border-radius: 6px; padding: 4px 10px; font-size: .7rem; font-weight: 500; color: var(--muted); }

/* ═══════════════════════════════════════ TOAST ═══ */
.toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 600;
  background: var(--text); color: #fff;
  border-radius: 8px; padding: .75rem 1.25rem;
  font-size: .88rem; font-weight: 400;
  opacity: 0; transform: translateY(8px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.toast-cart-btn {
  display: none;
  margin-top: .55rem;
  color: #fff; text-decoration: none;
  font-size: .82rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 5px; padding: .3rem .75rem;
  text-align: center;
  transition: background .15s;
}
.toast-cart-btn:hover { background: rgba(255,255,255,.12); }

/* ═══════════════════════════════════════ MATERIALS PAGE ═══ */
.mat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 0 4rem;
}
.mat-card {
  background: var(--off); border-radius: var(--r);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.mat-card-photo {
  width: 100%; aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  background-color: var(--stone);
  flex-shrink: 0;
}
.mat-card-photo--empty { background-color: var(--stone); }
.mat-card-body  { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; }
.mat-card-title { font-size: 1.1rem; font-weight: 500; color: var(--text); }
.mat-card-desc  { font-size: .875rem; line-height: 1.7; color: var(--muted); }

/* ═══════════════════════════════════════ RESPONSIVE ═══ */
@media (max-width: 1060px) {
  .mat-grid   { grid-template-columns: repeat(2, 1fr); }
  .prod-grid  { grid-template-columns: repeat(2, 1fr); }
  .tab-grid   { grid-template-columns: repeat(2, 1fr); }
  .eps-grid   { grid-template-columns: repeat(2, 1fr); }
  .usp-grid   { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .related-section .prod-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .product-layout { grid-template-columns: 1fr; gap: 2rem; }
  .gallery { position: static; }
  .specs-grid { grid-template-columns: 1fr; }
  .features-list { grid-template-columns: 1fr; }
  .sticky-bar { display: flex; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary-box { position: static; }
  body { padding-bottom: 80px; }
}
@media (max-width: 768px) {
  .hero        { grid-template-columns: 1fr; max-height: none; min-height: 0; }
  .hero-visual { height: 56vw; max-height: 420px; order: -1; }
  .hero-content{ padding: 2.5rem 0; }
  .hero-chip   { display: none; }
  .cat-hero-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .tab-grid    { grid-template-columns: 1fr; }
  .promo-inner { grid-template-columns: 1fr; }
  .promo-img   { order: -1; }
  .prod-actions { opacity: 1; transform: none; }
}
@media (max-width: 600px) {
  .cart-btn { padding: .42rem .65rem; gap: .25rem; }
  .cart-label { display: none; }
  .cart-label-text { display: none; }
}
@media (max-width: 560px) {
  .container   { padding: 0 1rem; }
  .mat-grid    { grid-template-columns: 1fr; }
  .prod-grid   { grid-template-columns: 1fr; }
  .related-section .prod-grid { grid-template-columns: 1fr 1fr; }
  .eps-grid    { grid-template-columns: 1fr; }
  .usp-grid    { grid-template-columns: 1fr; }
  .footer-top  { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; gap: .6rem; text-align: center; }
  .prod-img    { aspect-ratio: 3/2; }
  .prod-body   { padding: .85rem 1rem 1rem; }
  .prod-name   { font-size: .9rem; }
  .prod-price  { font-size: 1.1rem; }
  .prod-info-name { font-size: 1.8rem; }
  .cart-actions { flex-direction: column; }
  .btn-cart-main { height: 60px; font-size: 1rem; padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .item-actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (max-width: 640px) {
  .nav-links   { display: none; }
  .nav-toggle  { display: flex; }
  .nav-actions { margin-left: auto; }
}
@media (hover: none) and (pointer: coarse) {
  .prod-actions { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .toast { left: 1rem; right: 1rem; bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); max-width: 100%; box-sizing: border-box; }
}
@media (max-width: 380px) {
  .related-section .prod-grid { grid-template-columns: 1fr; }
}
@media (max-width: 320px) {
  .drawer { padding: 0.75rem 1rem 1.5rem 1rem; }
  .drawer-nav a { font-size: .85rem; gap: .3rem; }
  .drawer-nav a svg { width: 12px; height: 12px; }
}
