/* =========================================================================
   EGOSH — bento grid, dark premium streetwear
   Bricolage Grotesque · full-flavour tiles, tactile depth, imagery-forward
   ========================================================================= */

:root {
  --bg:        #0d0d0f;
  --card:      #17171b;
  --card-2:    #1f1f25;
  --ink:       #f3f1ea;
  --ink-dim:   rgba(243, 241, 234, 0.60);
  --ink-faint: rgba(243, 241, 234, 0.34);
  --line:      rgba(243, 241, 234, 0.09);
  --line-2:    rgba(243, 241, 234, 0.18);
  --accent:    #e0483a;   /* vermilion pop — used sparingly */
  --accent-ink:#ffffff;
  --paper:     #e9e5db;   /* light product tiles */

  --r:    22px;
  --r-sm: 14px;
  --r-lg: 30px;
  --shadow:    0 26px 60px -32px rgba(0, 0, 0, 0.85);
  --shadow-hi: 0 40px 90px -34px rgba(0, 0, 0, 0.9);

  --wrap: 1340px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --font-black: 'Grenze Gotisch', Georgia, serif;

  /* legacy aliases so admin.css + shared markup resolve */
  --glass: var(--card); --glass-2: var(--card-2); --glass-line: var(--line); --glass-line-2: var(--line-2);
  --hot: var(--accent); --mint: #74c48f; --radius: var(--r); --font-display: var(--font); --font-body: var(--font); --font-mono: var(--font); --font-head: var(--font);
  --ink-soft: var(--ink-dim);
  color-scheme: dark;
}

/* --------------------------------- base --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
button, a, .btn, .chip, [role="button"] { touch-action: manipulation; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font); background: var(--bg); color: var(--ink);
  font-size: 16px; line-height: 1.5; min-height: 100vh; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; font-optical-sizing: auto;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* ------------------------------ typography ------------------------------ */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; }
.display { font-weight: 800; font-size: clamp(2.6rem, 6.5vw, 5.4rem); line-height: 0.94; letter-spacing: -0.035em; }
.blackletter { font-family: var(--font-black); font-weight: 600; letter-spacing: 0; }
.eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-dim); }
.lead { font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--ink-dim); max-width: 56ch; line-height: 1.6; }
.muted { color: var(--ink-dim); } .faint { color: var(--ink-faint); }

/* ------------------------------- layout --------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(14px, 3vw, 30px); }
.section { padding-block: clamp(40px, 6vw, 80px); }
.section-tight { padding-block: clamp(28px, 4vw, 52px); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 14px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(20px, 3vw, 34px); flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; }

/* generic flat card (legacy .glass) */
.glass { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.glass-2 { background: var(--card-2); }

/* ================================ BENTO ================================= */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; grid-auto-rows: 200px; grid-auto-flow: dense; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r); background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tile.link:hover { transform: translateY(-4px); box-shadow: var(--shadow-hi); border-color: var(--line-2); }
.tile.c2 { grid-column: span 2; } .tile.c3 { grid-column: span 3; } .tile.c4 { grid-column: span 4; }
.tile.r2 { grid-row: span 2; } .tile.r3 { grid-row: span 3; }

.tile-img { position: absolute; inset: 0; z-index: 0; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform 0.8s var(--ease); }
.tile.link:hover .tile-img img { transform: scale(1.045); }
.tile-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,8,10,0) 30%, rgba(8,8,10,0.82) 100%); }
.tile-scrim.full { background: linear-gradient(180deg, rgba(8,8,10,0.35) 0%, rgba(8,8,10,0.15) 45%, rgba(8,8,10,0.88) 100%); }
.tile-body { position: relative; z-index: 2; padding: clamp(18px, 2vw, 30px); display: flex; flex-direction: column; height: 100%; }
.tile-body.bottom { justify-content: flex-end; } .tile-body.between { justify-content: space-between; }
.tile-tag { position: absolute; top: 16px; left: 16px; z-index: 3; }
.tile-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.82rem; }
.tile-cta .arw { transition: transform 0.3s var(--ease); } .tile.link:hover .tile-cta .arw { transform: translateX(4px); }

.tile-hero h1 { font-size: clamp(2rem, 3.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; }
.tile-title { font-size: clamp(1.15rem, 2.2vw, 2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
.tile-huge { font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 0.9; }

/* accent + solid tiles */
.tile.accent { background: linear-gradient(150deg, var(--accent), #a8281c); border-color: transparent; color: #fff; }
.tile.solid { background: var(--card-2); }
.tile.paper { background: var(--card-2); color: #17151a; }

/* --------------------------------- buttons ------------------------------- */
.btn {
  --pad: 0.85em 1.5em; display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: var(--pad); border-radius: 999px; border: 1px solid transparent; background: var(--ink); color: var(--bg);
  font-weight: 600; font-size: 0.9rem; letter-spacing: -0.01em; cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(0,0,0,0.6); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #f0574a; }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--card-2); }
.btn-light { background: var(--ink); color: var(--bg); }
.btn-wa { background: #25D366; color: #052e16; } .btn-wa:hover { background: #1fbe59; color: #052e16; }
.btn-block { width: 100%; } .btn-lg { --pad: 1.05em 1.9em; font-size: 0.98rem; } .btn-sm { --pad: 0.55em 1.05em; font-size: 0.8rem; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

/* --------------------------------- tags ---------------------------------- */
.pill { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.35em 0.8em; border-radius: 999px; background: rgba(20,20,24,0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--line-2); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.pill-hot { background: var(--accent); border-color: transparent; }
.pill-accent { background: rgba(20,20,24,0.72); }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot-pending { background: #e0a53a; } .dot-confirmed { background: #6ea8ff; } .dot-shipped { background: #74c48f; } .dot-delivered { background: #57c777; } .dot-cancelled { background: var(--accent); }

/* --------------------------------- header ------------------------------- */
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(13,13,15,0.72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); transition: background 0.35s var(--ease), border-color 0.35s var(--ease); }
.site-header.hero-mode { background: rgba(13,13,15,0.72) !important; -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: rgba(255,255,255,0.06) !important; }
.site-header.hero-mode .nav > .brand, .site-header.hero-mode .nav-actions .icon-btn, .site-header.hero-mode .nav-actions .lang-code { color: #fff; }
@media (min-width: 1001px) {
  .site-header.hero-mode .nav-links a { color: rgba(255,255,255,0.82); }
  .site-header.hero-mode .nav-links a:hover, .site-header.hero-mode .nav-links a.active { color: #fff; background: rgba(255,255,255,0.14); }
}
.nav { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.04em; text-transform: uppercase; }
.brand-logo { width: 30px; height: 30px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,0.16); }
.brand-mark { display: none; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a { padding: 0.5em 0.95em; border-radius: 999px; font-size: 0.92rem; font-weight: 500; color: var(--ink-dim); transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--ink); } .nav-links a.active { color: var(--ink); background: var(--card-2); }
.nav-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid transparent; background: transparent; cursor: pointer; position: relative; color: var(--ink); transition: background 0.2s; }
.icon-btn:hover { background: var(--card-2); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count { position: absolute; top: -1px; right: -1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 0.62rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.cart-count[data-empty='true'] { display: none; }
.nav-toggle { display: none; }

/* --------------------------- product cards ------------------------------ */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.product-card { position: relative; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s; aspect-ratio: 3 / 4; display: flex; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hi); border-color: var(--line-2); }
.product-media { position: absolute; inset: 0; z-index: 0; background: var(--card-2); }
.product-media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.8s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.03); }
.product-media .ph { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; text-align: center; padding: 18px; color: var(--ink-faint); }
.product-media .ph span { font-family: var(--font-black); font-size: 1.5rem; } .product-media .ph small { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; }
.product-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,8,10,0.34) 0%, rgba(8,8,10,0.05) 26%, rgba(8,8,10,0.12) 54%, rgba(8,8,10,0.93) 100%); }
.product-tags { position: absolute; top: 14px; left: 14px; z-index: 3; display: flex; gap: 6px; }
.product-body { position: relative; z-index: 2; margin-top: auto; padding: 16px; width: 100%; color: #fff; }
.product-body .cat { display: block; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.72); margin-bottom: 3px; }
.product-body .name { display: block; font-weight: 700; font-size: 1.02rem; letter-spacing: -0.02em; line-height: 1.12; }
.product-media img { object-position: center; }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; font-weight: 600; font-size: 0.92rem; }
.product-price .was { color: rgba(255,255,255,0.55); text-decoration: line-through; font-size: 0.8rem; font-weight: 500; }
.card-link::after { content: ''; position: absolute; inset: 0; z-index: 4; }

/* sold-out */
.product-card.sold-out .product-media img { filter: grayscale(1) brightness(0.55); }
.soldout-veil { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; }
.soldout-veil span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; border: 1px solid rgba(255,255,255,0.6); padding: 7px 15px; border-radius: 999px; background: rgba(8,8,10,0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* category tiles (bento, soft-tint + generated icon) */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat-tile { position: relative; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); padding: 22px; min-height: 176px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; transition: transform 0.4s var(--ease), box-shadow 0.3s; box-shadow: var(--shadow); background: var(--card); }
.cat-tile[class*="tint-"] { background: linear-gradient(158deg, color-mix(in srgb, var(--tc) 11%, var(--card)), var(--card)); }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-hi); }
.cat-ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: color-mix(in srgb, var(--tc) 20%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tc) 24%, transparent); }
.cat-ico img { width: 34px; height: 34px; object-fit: contain; mix-blend-mode: multiply; }
.cat-tile .cat-meta { display: flex; flex-direction: column; gap: 7px; }
.cat-tile .name { font-size: 1.26rem; font-weight: 800; letter-spacing: -0.03em; }
.cat-tile .count { font-size: 0.78rem; color: var(--ink-dim); } .cat-tile .arrow { opacity: 0.55; }

/* featured carousel — arrows live OUTSIDE the track (flex gutters) */
.carousel { position: relative; display: flex; align-items: center; gap: 10px; }
.carousel-track { flex: 1 1 auto; min-width: 0; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding: 3px; margin: -3px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-cell { flex: 0 0 calc((100% - 4 * 12px) / 5); scroll-snap-align: start; }
.carousel-btn { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-hi); color: var(--ink); cursor: pointer; transition: background 0.2s, opacity 0.25s, transform 0.2s; }
.carousel-btn:hover { background: var(--card-2); transform: scale(1.07); }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-btn[disabled] { opacity: 0.32; pointer-events: none; }

/* custom / made-to-order callout */
.custom-cta { display: flex; align-items: center; justify-content: space-between; gap: clamp(20px,3vw,40px); flex-wrap: wrap; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(120deg, color-mix(in srgb, var(--ink) 6%, var(--card)), var(--card) 60%); padding: clamp(26px,4vw,46px); box-shadow: var(--shadow); }
.custom-cta .custom-copy { flex: 1 1 320px; }
.custom-cta h2 { font-size: clamp(1.55rem,3vw,2.35rem); font-weight: 800; letter-spacing: -0.03em; margin: 9px 0 10px; }
.custom-cta .lead { max-width: 54ch; color: var(--ink-dim); }
.custom-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* --------------------------- editorial band ----------------------------- */
.band { display: grid; grid-template-columns: 1.1fr 0.9fr; border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.band-media { position: relative; overflow: hidden; background: var(--card-2); min-height: 380px; }
.band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.band-media-figure { background: #dee2e4; min-height: 480px; }
:root[data-theme='light'] .band-media-figure { background: #dee2e4; }
.lookbook-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lookbook-fig { display: block; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--card-2); aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.lookbook-fig img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.6s var(--ease); }
.lookbook-fig:hover img { transform: scale(1.03); }
@media (max-width: 700px) { .lookbook-grid { grid-template-columns: 1fr; gap: 10px; } .lookbook-fig { aspect-ratio: 4 / 5; } }
.band-slider { position: relative; overflow: hidden; }
.band-slider .slider-track { display: flex; height: 100%; width: 100%; will-change: transform; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.band-slider .slider-track img { position: static; flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; gap: 7px; justify-content: center; }
.slider-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,0.5); cursor: pointer; transition: width 0.3s var(--ease), background 0.3s; }
.slider-dots button.active { width: 20px; background: #fff; }
.band-body { padding: clamp(28px, 4vw, 60px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.band-body h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 40px); }

/* full-bleed home hero */
.home-hero { position: relative; height: 100vh; height: 100dvh; min-height: 560px; margin-top: -65px; box-sizing: border-box; padding-bottom: 160px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.home-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.home-hero-scrim { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 76% 60% at 50% 47%, rgba(8,8,10,0.5), rgba(8,8,10,0.86) 94%), linear-gradient(0deg, rgba(8,8,10,0.62), transparent 30%); }
.home-hero-inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; align-items: center; }
.home-hero-inner .eyebrow { color: rgba(255,255,255,0.82); }
.home-hero-inner .display { color: #fff; margin: 18px 0 30px; text-shadow: 0 2px 44px rgba(0,0,0,0.6); }
.home-hero-inner .lead { color: rgba(255,255,255,0.82); max-width: 48ch; margin: 0 auto 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-ghost { color: #fff; border-color: rgba(255,255,255,0.32); }
.hero-scroll { position: absolute; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255,255,255,0.72); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; }
.hero-scroll svg { width: 20px; height: 20px; animation: heroBob 1.8s ease-in-out infinite; }
@keyframes heroBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .hero-scroll svg { animation: none; } }
@media (max-width: 640px) { .home-hero { padding-bottom: 88px; } .hero-scroll { bottom: calc(44px + env(safe-area-inset-bottom, 0px)); } }
.craft-points { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.craft-points > div { display: flex; flex-direction: column; gap: 2px; }
.craft-points b { font-size: 0.95rem; } .craft-points span { font-size: 0.88rem; }

/* feature boxes — soft tinted, theme-adaptive (dark tint / light pastel) */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.feature-box { border-radius: var(--r); border: 1px solid var(--line); padding: 26px 24px; box-shadow: var(--shadow); transition: transform 0.4s var(--ease); }
.feature-box:hover { transform: translateY(-4px); }
.feature-box .feature-icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; }
.feature-box .feature-icon svg { width: 23px; height: 23px; }
.feature-box h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.feature-box p { color: var(--ink-dim); font-size: 0.9rem; line-height: 1.55; }
.feature-box[class*="tint-"] { background: linear-gradient(158deg, color-mix(in srgb, var(--tc) 7%, var(--card)), var(--card)); }
.feature-box[class*="tint-"] .feature-icon { background: color-mix(in srgb, var(--tc) 13%, var(--card)); color: color-mix(in srgb, var(--tc) 52%, var(--ink)); }
.tint-red { --tc: #c94b3f; } .tint-blue { --tc: #5b78c4; } .tint-violet { --tc: #8b6fc4; } .tint-ink { --tc: #7a7a80; }
.tint-green { --tc: #4fa585; } .tint-amber { --tc: #c49a4f; } .tint-rose { --tc: #c46f92; }

/* --------------------------- product detail ----------------------------- */
.pdp { display: grid; grid-template-columns: 1fr 0.82fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 84px; }
.gallery-main { aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; position: relative; background: var(--card-2); box-shadow: var(--shadow); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-thumbs button { width: 70px; height: 88px; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line-2); background: var(--card-2); cursor: pointer; padding: 0; opacity: 0.6; }
.gallery-thumbs button.active { opacity: 1; border-color: var(--accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { padding-top: 6px; }
.pdp-info h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; margin-bottom: 0.3em; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; font-size: 1.4rem; font-weight: 700; margin-bottom: 1.6em; }
.pdp-price .was { font-size: 1rem; color: var(--ink-faint); text-decoration: line-through; font-weight: 500; }
.opt-group { margin-bottom: 1.5em; } .opt-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 0.7em; }
.opt-choices { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 0.55em 1em; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 0.88rem; font-weight: 500; transition: all 0.2s; }
.chip:hover { border-color: var(--ink); } .chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.qty button { width: 44px; height: 46px; background: transparent; border: 0; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.qty input { width: 46px; height: 46px; text-align: center; background: transparent; border: 0; -moz-appearance: textfield; font-weight: 600; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pdp-desc { margin-top: 1.6em; padding-top: 1.6em; border-top: 1px solid var(--line); color: var(--ink-dim); line-height: 1.7; }
.pdp-specs { margin-top: 1.4em; }
.pdp-specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.pdp-specs dt { color: var(--ink-dim); } .pdp-specs dd { margin: 0; text-align: right; }
.pdp-meta { display: flex; gap: 18px; margin-top: 1.4em; flex-wrap: wrap; font-size: 0.82rem; color: var(--ink-dim); }
.stock-line { font-size: 0.9rem; color: var(--ink-dim); margin-top: 1.1em; } .stock-line b { color: #74c48f; }
.stock-line.low b { color: #e0a53a; } .stock-line.out b { color: var(--accent); }

/* ------------------------------- forms ---------------------------------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); font-weight: 600; }
.input, .select, .textarea { width: 100%; padding: 0.85em 1.05em; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--ink); font-size: 0.98rem; transition: border-color 0.2s; }
.input::placeholder, .textarea::placeholder { color: var(--ink-faint); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); }
.textarea { resize: vertical; min-height: 120px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; padding-right: 2.4em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.92rem; } .check input { width: 17px; height: 17px; accent-color: var(--accent); }
.hint { font-size: 0.78rem; color: var(--ink-faint); }

/* --------------------------------- cart --------------------------------- */
.cart-layout { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: 18px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; padding: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); }
.cart-line + .cart-line { margin-top: 10px; }
.cart-thumb { width: 88px; height: 108px; border-radius: 10px; overflow: hidden; background: var(--card-2); position: relative; } .cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.6rem; color: var(--ink-faint); letter-spacing: 0.08em; text-transform: uppercase; text-align: center; padding: 6px; }
.cart-line .name { font-weight: 700; letter-spacing: -0.02em; } .cart-line .meta { font-size: 0.8rem; color: var(--ink-dim); margin-top: 2px; }
.cart-line .rm { background: none; border: 0; color: var(--ink-faint); cursor: pointer; font-size: 0.8rem; padding: 0; } .cart-line .rm:hover { color: var(--accent); }
.cart-line .qty button { width: 34px; height: 36px; } .cart-line .qty input { width: 40px; height: 36px; }
.summary { padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); position: sticky; top: 84px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--ink-dim); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; color: var(--ink); font-size: 1.2rem; font-weight: 700; }
.empty-state { text-align: center; padding: clamp(50px, 9vw, 100px) 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.empty-state .big { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; margin: 0.4em 0; letter-spacing: -0.03em; }

/* ------------------------------- checkout ------------------------------- */
.checkout-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; align-items: start; }
.col-form { padding: clamp(20px, 3vw, 32px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.mini-line { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 0.9rem; color: var(--ink-dim); }

/* --------------------------- order confirmation ------------------------- */
.confirm-hero { text-align: center; padding: clamp(40px, 6vw, 72px) 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.confirm-hero .check { width: 66px; height: 66px; border-radius: 999px; margin: 0 auto 20px; display: grid; place-items: center; background: var(--accent); }
.confirm-hero .check svg { width: 30px; height: 30px; stroke: #fff; }
.confirm-num { font-size: 1.1rem; font-weight: 700; }

/* ------------------------------ newsletter ------------------------------ */
.newsletter { padding: clamp(34px, 5vw, 60px); text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.newsletter h2 { font-weight: 800; letter-spacing: -0.03em; }
.newsletter form { display: flex; gap: 8px; max-width: 460px; margin: 22px auto 0; }
.newsletter .input { border-radius: 999px; }
@media (max-width: 460px) { .newsletter form { flex-direction: column; } }

/* -------------------------------- footer -------------------------------- */
.site-footer { margin-top: clamp(30px, 5vw, 60px); border-top: 1px solid var(--line); padding: clamp(40px, 5vw, 64px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 30px; }
.footer-grid h4 { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; font-weight: 600; }
.footer-grid a { display: block; color: var(--ink-dim); padding: 5px 0; font-size: 0.92rem; } .footer-grid a:hover { color: var(--ink); }
.footer-brand { font-weight: 800; font-size: 2.2rem; letter-spacing: -0.05em; text-transform: uppercase; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; color: var(--ink-faint); }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-dim); transition: all 0.2s; }
.socials a:hover { color: var(--ink); background: var(--card-2); border-color: var(--ink); } .socials svg { width: 18px; height: 18px; }

/* --------------------------------- flash -------------------------------- */
.flash { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 200; padding: 12px 22px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; background: var(--ink); color: var(--bg); box-shadow: var(--shadow-hi); max-width: 90vw; animation: flashin 0.4s var(--ease); }
.flash-error { background: var(--accent); color: #fff; }
@keyframes flashin { from { opacity: 0; transform: translate(-50%, -14px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ------------------------------ reveal + parallax ----------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.parallax { will-change: transform; } img.parallax { transform: translateY(var(--py, 0px)) scale(1.12); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } img.parallax { transform: none; } }

/* --------------------------- language switch ---------------------------- */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 11px; border-radius: 999px; border: 1px solid transparent; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { background: var(--card-2); }
.flag { width: 19px; height: 13px; border-radius: 3px; display: block; box-shadow: 0 0 0 1px var(--line-2); flex: none; }
.lang-code { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; color: var(--ink-dim); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 90; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px; min-width: 170px; box-shadow: var(--shadow-hi); display: flex; flex-direction: column; gap: 2px; }
.lang-menu a { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 10px; font-size: 0.88rem; font-weight: 500; color: var(--ink-dim); }
.lang-menu a:hover, .lang-menu a.active { background: var(--card-2); color: var(--ink); }

/* mobile nav drawer chrome */
.nav-drawer-head { display: none; }
.nav-drawer-head .brand { font-family: var(--font-black); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.02em; }
.nav-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,0.55); opacity: 0; transition: opacity 0.32s var(--ease); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.nav-backdrop.show { opacity: 1; }

/* theme toggle icon swap */
.icon-btn .i-moon { display: none; } .icon-btn .i-sun { display: block; }
:root[data-theme='light'] .icon-btn .i-sun { display: none; }
:root[data-theme='light'] .icon-btn .i-moon { display: block; }

/* --------------------------- product order box -------------------------- */
.order-actions { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 4px; }
.order-row { display: flex; gap: 10px; }
.order-details { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.order-details > summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 0.92rem; color: var(--ink-dim); display: inline-flex; align-items: center; gap: 8px; }
.order-details > summary::-webkit-details-marker { display: none; }
.order-details > summary::before { content: '+'; font-size: 1.15rem; line-height: 1; }
.order-details[open] > summary::before { content: '–'; }
.order-details > summary:hover { color: var(--ink); }
.bank-box { white-space: pre-wrap; background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-family: ui-monospace, 'SF Mono', monospace; font-size: 0.9rem; line-height: 1.65; }

/* ------------------------------- light theme ---------------------------- */
:root[data-theme='light'] {
  --bg: #f3f2f0; --card: #ffffff; --card-2: #ece9e3; --ink: #17161b;
  --ink-dim: rgba(23,22,27,0.6); --ink-faint: rgba(23,22,27,0.34);
  --line: rgba(23,22,27,0.10); --line-2: rgba(23,22,27,0.18); --paper: #eae5db;
  --shadow: 0 24px 60px -34px rgba(60,54,42,0.26); --shadow-hi: 0 34px 80px -34px rgba(60,54,42,0.32);
  color-scheme: light;
}
:root[data-theme='light'] .site-header { background: rgba(243,242,240,0.78); }
:root[data-theme='light'] .btn-light, :root[data-theme='light'] .btn:not(.btn-primary):not(.btn-ghost):not(.btn-wa) { background: var(--ink); color: var(--bg); }
.btn-wa { color: #06371c; } .btn-wa svg { width: 19px; height: 19px; flex: none; }

/* ------------------------------ responsive ------------------------------ */
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .tile.c3, .tile.c4 { grid-column: span 2; }
  .pdp { grid-template-columns: 1fr; } .gallery { position: static; }
  .band { grid-template-columns: 1fr !important; } .band-media { min-height: 300px; order: -1; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; } .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .custom-cta { flex-direction: column; align-items: flex-start; gap: 20px; }
  .custom-cta .custom-copy { flex: 0 1 auto; width: 100%; }
  .carousel-cell { flex-basis: calc((100% - 2 * 12px) / 3); }
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: min(84vw, 340px); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 3px; padding: 20px 22px 40px; margin: 0; background: var(--bg); border-left: 1px solid var(--line); transform: translateX(101%); transition: transform 0.4s var(--ease); z-index: 80; overflow-y: auto; }
  .nav-links.open { transform: none; box-shadow: -24px 0 60px rgba(0,0,0,0.45); } .nav-links a { width: 100%; font-size: 1.12rem; padding: 0.72em 0.62em; }
  .nav-drawer-head { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 14px; padding-bottom: 2px; }
  .nav-toggle { display: inline-grid; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; gap: 10px; grid-auto-rows: 188px; }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .carousel-cell { flex-basis: calc((100% - 12px) / 2); }
  .carousel-btn { display: none; }
  .field-row { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; }
}
