/* =========================================================
   CONTENENTAL — curated accessories
   White ground, graphite ink, bronze accent.
   Unbounded (display) + Manrope (text). Soft rounded cards,
   floating pill navigation, bento catalogue, cart drawer.
   ========================================================= */

:root{
  /* --- color --- */
  --page:      #FFFFFF;   /* page ground */
  --surface:   #F7F5F0;   /* cards */
  --tint:      #EFECE5;   /* media fill / inputs */
  --mist:      #DDD7C7;
  --ink:       #16181A;   /* text + dark grounds */
  --ink-soft:  #666B62;   /* secondary text */
  --accent:    #B98A47;   /* bronze */
  --accent-deep:#9A702F;
  --dark:      #1A1B1C;   /* contact + footer ground */
  --dark-2:    #121314;
  --on-dark:   #F2EFE7;
  --on-dark-mute: rgba(242,239,231,0.6);
  --line:      rgba(22,24,26,0.16);
  --line-soft: rgba(22,24,26,0.09);
  --line-dark: rgba(242,239,231,0.16);
  --danger:    #B3261E;

  --shadow-card: 0 1px 2px rgba(22,24,26,.04), 0 8px 24px rgba(22,24,26,.08);
  --shadow-hover: 0 2px 4px rgba(22,24,26,.06), 0 16px 36px rgba(22,24,26,.14);

  --f-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --f-text: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --maxw: 1320px;
  --nav-h: 76px;
  --r-card: 22px;
  --ease: cubic-bezier(.22,1,.36,1);
}

/* =============== reset =============== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--nav-h) + 8px);}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;}
}
body{
  font-family:var(--f-text);
  background:var(--page);
  color:var(--ink);
  line-height:1.6;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;}
input,textarea{font:inherit;color:inherit;}
ul{list-style:none;}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;}
[hidden]{display:none !important;}
html.is-locked{overflow:hidden;}

.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 var(--gutter);}
.section-pad{padding:clamp(3rem,6vw,5.5rem) 0;}

/* =============== i18n =============== */
.i18n{display:none;}
body[data-lang="uz"] .i18n.uz,
body[data-lang="ru"] .i18n.ru{display:inline;}

/* =============== shared pieces =============== */
.eyebrow{
  font-size:.72rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
  color:var(--ink-soft);margin-bottom:1.2rem;
}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:clamp(1.5rem,3vw,2.4rem);}
.section-title{
  font-family:var(--f-display);font-weight:500;letter-spacing:-.02em;line-height:1.05;
  font-size:clamp(2rem,4.6vw,3.4rem);
}
.section-count{font-size:.72rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-soft);}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  min-height:48px;padding:0 1.7rem;border-radius:999px;
  font-size:.86rem;font-weight:600;letter-spacing:.01em;white-space:nowrap;
  border:1px solid transparent;transition:background .25s var(--ease),color .25s var(--ease),border-color .25s var(--ease),transform .25s var(--ease);
}
.btn:active{transform:scale(.98);}
.btn-solid{background:var(--ink);color:var(--page);}
.btn-solid:hover{background:#2c3033;}
.btn-outline{border-color:var(--line);background:transparent;color:var(--ink);}
.btn-outline:hover{border-color:var(--ink);background:var(--surface);}
.btn-accent{background:var(--accent);color:var(--ink);}
.btn-accent:hover{background:#c99753;}
.btn-block{width:100%;}
.btn[disabled]{opacity:.55;cursor:wait;}

.icon-btn{
  width:38px;height:38px;border-radius:50%;flex:none;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line);background:var(--surface);color:var(--ink);
  transition:border-color .25s var(--ease),background .25s var(--ease);
}
.icon-btn:hover{border-color:var(--ink);}
.icon-btn svg{width:18px;height:18px;}
.icon-btn[hidden],.mobile-menu a[hidden]{display:none !important;}

/* media placeholder / image slot */
.media-slot{position:relative;background:var(--tint);overflow:hidden;}
.media-slot img,.media-slot video,.media-slot iframe{width:100%;height:100%;object-fit:cover;border:0;display:block;}
.media-slot video{background:#111;}
.media-slot.is-embed{background:#000;}
.media-slot iframe.is-bg{position:absolute;inset:0;pointer-events:none;transform:scale(1.35);}   /* hide the player chrome of a looping banner */
.video-tile{position:absolute;inset:0;background:linear-gradient(135deg,#2a2c2e,#111);}
.play-badge{position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;background:rgba(255,255,255,.92);box-shadow:0 4px 14px rgba(0,0,0,.25);pointer-events:none;}
.play-badge::after{content:"";position:absolute;left:17px;top:13px;border-left:14px solid var(--ink);border-top:9px solid transparent;border-bottom:9px solid transparent;}
.search-thumb .play-badge,.cart-thumb .play-badge{width:26px;height:26px;margin:-13px 0 0 -13px;}
.search-thumb .play-badge::after,.cart-thumb .play-badge::after{left:10px;top:7px;border-left-width:9px;border-top-width:6px;border-bottom-width:6px;}
.media-slot__label{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:1rem;
  font-size:.7rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:rgba(22,24,26,.3);
}
.media-slot.has-image .media-slot__label{display:none;}
/* "show whole photo" mode: no cropping, neutral white matte around the picture */
.media-slot.fit-contain{background:#fff;}
.media-slot.fit-contain img{object-fit:contain;padding:4%;}
.media-slot.fit-contain video{object-fit:contain;}

.hp-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}

/* =============== nav =============== */
.nav{position:fixed;inset:0 0 auto 0;z-index:60;padding:14px 0;transition:background .3s var(--ease),box-shadow .3s var(--ease);}
.nav.is-scrolled{background:rgba(255,255,255,.88);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 1px 0 var(--line-soft);}
.nav-inner{
  max-width:var(--maxw);margin:0 auto;padding:0 var(--gutter);
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;
}
.brand{display:inline-flex;align-items:center;justify-self:start;}
/* logo file ships as white artwork; brightness(0) recolours it solid black for light grounds */
.brand-logo{height:17px;width:auto;filter:brightness(0);}
.footer .brand-logo{filter:none;}

.nav-pill{
  display:flex;align-items:center;gap:2px;padding:5px;border-radius:999px;
  background:rgba(255,255,255,.88);border:1px solid var(--line);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
}
.nav-pill a{
  padding:.55rem 1.15rem;border-radius:999px;font-size:.84rem;font-weight:600;color:var(--ink);
  transition:background .25s var(--ease),color .25s var(--ease);white-space:nowrap;
}
.nav-pill a:hover{background:var(--tint);}
.nav-pill a.is-active{background:var(--accent);color:#fff;}

.nav-right{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;}
.lang-switch{display:flex;align-items:center;gap:.35rem;margin:0 .5rem;font-size:.74rem;font-weight:600;letter-spacing:.06em;}
.lang-switch .sep{color:var(--line);}
.lang-btn{color:var(--ink-soft);padding:.2rem .1rem;transition:color .2s;}
.lang-btn:hover{color:var(--ink);}
body[data-lang="uz"] .lang-btn[data-lang-btn="uz"],
body[data-lang="ru"] .lang-btn[data-lang-btn="ru"]{color:var(--ink);font-weight:800;}

.cart-btn{position:relative;width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:var(--ink);transition:background .25s var(--ease);}
.cart-btn:hover{background:var(--tint);}
.cart-btn svg{width:22px;height:22px;}
.cart-count{
  position:absolute;top:1px;right:0;min-width:18px;height:18px;padding:0 5px;border-radius:9px;
  background:var(--accent);color:#fff;font-size:.66rem;font-weight:800;line-height:18px;text-align:center;
}
.cart-btn.bump .cart-count{animation:bump .45s var(--ease);}
@keyframes bump{0%{transform:scale(1)}40%{transform:scale(1.5)}100%{transform:scale(1)}}

.nav-burger{display:none;width:42px;height:42px;border-radius:50%;flex-direction:column;align-items:center;justify-content:center;gap:6px;}
.nav-burger span{display:block;width:20px;height:1.6px;background:var(--ink);transition:transform .3s var(--ease);}
.nav-burger.is-open span:first-child{transform:translateY(3.8px) rotate(45deg);}
.nav-burger.is-open span:last-child{transform:translateY(-3.8px) rotate(-45deg);}

.mobile-menu{
  position:fixed;inset:var(--nav-h) 0 0 0;z-index:55;background:var(--page);
  display:flex;flex-direction:column;gap:.2rem;padding:2rem var(--gutter);
  transform:translateY(-12px);opacity:0;visibility:hidden;transition:opacity .3s var(--ease),transform .3s var(--ease),visibility .3s;
}
.mobile-menu.is-open{transform:none;opacity:1;visibility:visible;}
.mobile-menu a{font-family:var(--f-display);font-weight:500;font-size:1.5rem;padding:.9rem 0;border-bottom:1px solid var(--line-soft);}

/* =============== hero =============== */
.hero{padding:calc(var(--nav-h) + clamp(1.5rem,4vw,3.5rem)) 0 clamp(2rem,4vw,3.5rem);}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(1.5rem,4vw,4rem);align-items:center;}
.hero-title{
  font-family:var(--f-display);font-weight:500;text-transform:uppercase;letter-spacing:-.02em;line-height:1.04;
  font-size:clamp(2rem,4.6vw,4rem);margin-bottom:1.4rem;overflow-wrap:anywhere;
}
.hero-subtitle{font-size:clamp(.98rem,1.2vw,1.1rem);color:var(--ink-soft);max-width:34rem;margin-bottom:2.1rem;}
.hero-actions{display:flex;flex-wrap:wrap;gap:.8rem;}
.hero-card{border-radius:32px;aspect-ratio:var(--hero-ratio,5/4);box-shadow:var(--shadow-card);}
.hero-card img{object-position:center;}

/* =============== marquee =============== */
.marquee-strip{overflow:hidden;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:1rem 0;}
.marquee-track{display:flex;width:max-content;animation:marquee 38s linear infinite;}
.marquee-item{display:inline-flex;align-items:center;gap:1.6rem;padding-right:1.6rem;font-size:.74rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-soft);white-space:nowrap;}
.marquee-item .dot{color:var(--accent);font-size:.6rem;}
@keyframes marquee{to{transform:translateX(-50%);}}

/* =============== catalog bento =============== */
.bento{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(280px,1fr);gap:16px;}
.bento-tile{
  position:relative;display:block;text-align:left;overflow:hidden;
  background:var(--surface);border-radius:26px;padding:22px 24px;box-shadow:var(--shadow-card);
  transition:transform .35s var(--ease),box-shadow .35s var(--ease);
}
.bento-tile:first-child{grid-column:span 2;grid-row:span 2;}
.bento-tile:hover{transform:translateY(-4px);box-shadow:var(--shadow-hover);}
.bento-name{position:relative;z-index:2;font-family:var(--f-display);font-weight:500;font-size:clamp(1rem,1.5vw,1.45rem);line-height:1.15;max-width:75%;}
.bento-count{position:absolute;z-index:2;top:24px;right:24px;font-size:.72rem;font-weight:600;color:var(--ink-soft);}
.bento-img{position:absolute;inset:0;display:flex;gap:10px;padding:64px 18px 18px;}
.bento-img img{flex:1 1 0;min-width:0;height:100%;object-fit:cover;object-position:center 55%;border-radius:16px;transition:transform .5s var(--ease);}
.bento-tile:hover .bento-img img{transform:scale(1.03);}
.bento-img--empty{align-items:center;font-family:var(--f-display);font-weight:600;font-size:clamp(5rem,12vw,9rem);color:var(--tint);padding-top:40px;}
.bento-tile:first-child .bento-img--empty{font-size:clamp(9rem,22vw,15rem);}

/* =============== products =============== */
.filter-bar{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.4rem;margin-bottom:1.6rem;scrollbar-width:none;}
.filter-bar::-webkit-scrollbar{display:none;}
.filter-btn{
  flex:none;padding:.6rem 1.2rem;border-radius:999px;border:1px solid var(--line);
  font-size:.82rem;font-weight:600;color:var(--ink);background:transparent;
  transition:background .25s var(--ease),color .25s var(--ease),border-color .25s var(--ease);
}
.filter-btn:hover{border-color:var(--ink);}
.filter-btn.is-active{background:var(--ink);border-color:var(--ink);color:var(--page);}
.category-blurb{min-height:0;color:var(--ink-soft);margin:-.4rem 0 1.4rem;max-width:40rem;font-size:.95rem;}
.category-blurb:empty{display:none;}

.products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
.product-card{
  position:relative;display:flex;flex-direction:column;cursor:pointer;
  background:var(--surface);border-radius:var(--r-card);padding:10px;box-shadow:var(--shadow-card);
  transition:transform .35s var(--ease),box-shadow .35s var(--ease);
}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-hover);}
.product-card.is-filtered-out{display:none;}
.product-media{border-radius:16px;aspect-ratio:var(--product-ratio,4/5);}
.product-media img{transition:transform .5s var(--ease);}
.product-card:hover .product-media img{transform:scale(1.04);}
.product-tag{
  display:inline-block;padding:.28rem .7rem;border-radius:999px;background:var(--ink);color:var(--page);
  font-size:.62rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
}
.product-tag:empty{display:none;}
.product-card .product-tag{position:absolute;top:20px;left:20px;z-index:2;}
.product-body{display:flex;flex-direction:column;flex:1;padding:14px 8px 8px;gap:.35rem;}
.product-cat{font-size:.66rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-soft);}
.product-title{font-size:.9rem;font-weight:800;letter-spacing:.015em;text-transform:uppercase;line-height:1.25;}
.product-spec{font-size:.78rem;color:var(--ink-soft);line-height:1.4;}
.price{font-weight:800;font-size:1.05rem;letter-spacing:-.005em;}
.price small{font-size:.66rem;font-weight:700;letter-spacing:.1em;color:var(--ink-soft);margin-left:.3rem;text-transform:uppercase;}
.price--ask{font-size:.82rem;font-weight:600;color:var(--ink-soft);}
.product-colors,.product-modal__colors{display:flex;gap:.5rem;align-items:center;min-height:22px;}
.color-dot{
  width:20px;height:20px;border-radius:50%;border:1px solid var(--line);flex:none;padding:0;
  box-shadow:inset 0 0 0 2px var(--surface);
  transition:box-shadow .2s,border-color .2s;
}
button.color-dot:hover{border-color:var(--ink);}
.color-dot.is-selected{border-color:var(--ink);box-shadow:inset 0 0 0 2px var(--surface),0 0 0 1.5px var(--ink);}
.product-buy{margin-top:auto;padding-top:.7rem;}
.add-btn{
  width:100%;min-height:42px;border-radius:999px;background:var(--ink);color:var(--page);
  font-size:.8rem;font-weight:700;letter-spacing:.02em;
  transition:background .25s var(--ease),transform .2s var(--ease);
}
.add-btn:hover{background:var(--accent-deep);}
.add-btn:active{transform:scale(.98);}
.add-btn.is-added{background:var(--accent);color:var(--ink);}
.add-btn--ghost{background:transparent;color:var(--ink);border:1px solid var(--line);}
.add-btn--ghost:hover{background:var(--surface);border-color:var(--ink);color:var(--ink);}

/* =============== about =============== */
.about-card{
  display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,4rem);align-items:center;
  background:var(--surface);border-radius:36px;padding:clamp(1.5rem,4vw,3.4rem);box-shadow:var(--shadow-card);
  max-width:calc(var(--maxw) - 2 * var(--gutter));
}
.about-title{font-family:var(--f-display);font-weight:500;letter-spacing:-.02em;line-height:1.08;font-size:clamp(1.7rem,3.4vw,2.8rem);margin-bottom:1.3rem;}
.about-body{color:var(--ink-soft);max-width:36rem;}
.about-stats{display:flex;flex-wrap:wrap;gap:2.5rem;margin-top:2.2rem;padding-top:1.8rem;border-top:1px solid var(--line);}
.about-stat .num{font-family:var(--f-display);font-weight:500;font-size:clamp(2rem,3.4vw,2.8rem);line-height:1;color:var(--accent);}
.about-stat .lbl{margin-top:.5rem;font-size:.82rem;color:var(--ink-soft);}
.about-media{border-radius:26px;aspect-ratio:var(--about-ratio,4/5);}

/* =============== advantages =============== */
.spec-sheet{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;}
.spec-row{background:var(--surface);border-radius:var(--r-card);padding:26px 24px;box-shadow:var(--shadow-card);}
.spec-row .label{font-size:.68rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--accent-deep);margin-bottom:.9rem;}
.spec-row .value{font-family:var(--f-display);font-weight:500;font-size:1.1rem;line-height:1.3;letter-spacing:-.01em;}

/* =============== contact =============== */
.contact{background:var(--dark);color:var(--on-dark);padding:clamp(3.5rem,7vw,6rem) 0;margin-top:clamp(1rem,3vw,2rem);border-radius:40px 40px 0 0;}
.contact .eyebrow{color:var(--on-dark-mute);}
.contact-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(2rem,5vw,5rem);align-items:start;}
.contact-title{font-family:var(--f-display);font-weight:500;letter-spacing:-.02em;line-height:1.08;font-size:clamp(1.8rem,3.6vw,3rem);margin-bottom:1.1rem;}
.contact-subtitle{color:var(--on-dark-mute);max-width:30rem;}
.contact-info{margin-top:2.4rem;max-width:30rem;}
.contact-info .row{display:grid;grid-template-columns:7.5rem 1fr;gap:1rem;padding:1.05rem 0;border-top:1px solid var(--line-dark);}
.contact-info .row:last-child{border-bottom:1px solid var(--line-dark);}
.contact-info dt{font-size:.68rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--on-dark-mute);padding-top:.25rem;}
.contact-info dd{font-weight:600;}
.contact-info a:hover{color:var(--accent);}

.form-card{position:relative;background:var(--surface);color:var(--ink);border-radius:30px;padding:clamp(1.4rem,3vw,2.2rem);}
.field{margin-bottom:1.05rem;}
.field label{display:block;font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:.45rem;}
.field input,.field textarea{
  width:100%;padding:.9rem 1rem;border-radius:14px;border:1px solid var(--line);background:#fff;
  font-size:.95rem;transition:border-color .2s,box-shadow .2s;
}
.field textarea{min-height:104px;resize:vertical;}
.field input:focus,.field textarea:focus{outline:0;border-color:var(--ink);box-shadow:0 0 0 3px rgba(185,138,71,.25);}
.field.has-error input,.field.has-error textarea{border-color:var(--danger);}
.field-hint{margin-top:.35rem;font-size:.74rem;color:var(--ink-soft);line-height:1.4;}
.form-error{background:rgba(179,38,30,.09);color:var(--danger);font-size:.85rem;font-weight:600;border-radius:12px;padding:.75rem 1rem;margin-bottom:1rem;}
.form-note{margin-top:.9rem;font-size:.76rem;color:var(--ink-soft);text-align:center;line-height:1.5;}
.form-success{
  position:absolute;inset:0;z-index:3;background:var(--surface);border-radius:inherit;
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:.7rem;padding:2rem;
}
.form-success h3,.drawer__done h3{font-family:var(--f-display);font-weight:500;font-size:1.4rem;}
.form-success p{color:var(--ink-soft);}
.check{width:64px;height:64px;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:.4rem;}
.check svg{width:30px;height:30px;}

/* =============== footer =============== */
.footer{background:var(--dark-2);color:var(--on-dark);padding-top:clamp(2.5rem,5vw,4rem);}
.footer-top{display:flex;justify-content:space-between;gap:2.5rem;flex-wrap:wrap;padding-bottom:2.5rem;}
.footer-brand p{margin-top:1rem;max-width:22rem;color:var(--on-dark-mute);font-size:.9rem;}
.footer-cols{display:flex;gap:clamp(2rem,6vw,5rem);}
.footer-col h4{font-size:.68rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--on-dark-mute);margin-bottom:1rem;}
.footer-col li{margin-bottom:.55rem;}
.footer-col a{font-size:.92rem;color:rgba(242,239,231,.85);transition:color .2s;}
.footer-col a:hover{color:var(--accent);}
.footer-bottom{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding-top:1.4rem;padding-bottom:1.6rem;border-top:1px solid var(--line-dark);font-size:.76rem;color:var(--on-dark-mute);}
.footer-bottom a:hover{color:var(--on-dark);}

/* =============== reveal (only when JS is running) =============== */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .7s var(--ease),transform .7s var(--ease);}
.js .reveal.is-visible{opacity:1;transform:none;}

/* =============== product modal =============== */
.product-modal{position:fixed;inset:0;z-index:90;display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;transition:opacity .25s var(--ease);}
.product-modal.is-open{opacity:1;}
.product-modal__backdrop{position:absolute;inset:0;background:rgba(22,24,26,.5);backdrop-filter:blur(3px);}
.product-modal__panel{
  position:relative;z-index:1;width:min(980px,100%);max-height:calc(100vh - 40px);overflow:auto;
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  background:var(--page);border-radius:30px;box-shadow:0 30px 80px rgba(0,0,0,.3);
  transform:translateY(14px) scale(.98);transition:transform .35s var(--ease);
}
.product-modal.is-open .product-modal__panel{transform:none;}
.product-modal__close{position:absolute;top:14px;right:14px;z-index:5;}
.product-modal__stage{position:relative;padding:12px;}
.product-modal__media .media-slot{border-radius:20px;aspect-ratio:var(--product-ratio,4/5);}
.product-modal__nav{
  position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;
  background:rgba(250,248,242,.92);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;z-index:2;
}
.product-modal__nav.prev{left:24px;}
.product-modal__nav.next{right:24px;}
.product-modal__nav svg{width:18px;height:18px;}
.product-modal__dots{position:absolute;left:0;right:0;bottom:26px;display:flex;justify-content:center;gap:7px;}
.product-modal__dots button{width:7px;height:7px;border-radius:50%;background:rgba(22,24,26,.25);padding:0;}
.product-modal__dots button.is-active{background:var(--ink);width:20px;border-radius:4px;}
.product-modal__info{padding:clamp(1.4rem,3vw,2.4rem) clamp(1.4rem,3vw,2.4rem) clamp(1.4rem,3vw,2.4rem) clamp(.8rem,2vw,1.4rem);display:flex;flex-direction:column;gap:.8rem;justify-content:center;}
.product-modal__top{display:flex;align-items:center;gap:.7rem;}
.product-modal__title{font-family:var(--f-display);font-weight:500;letter-spacing:-.015em;line-height:1.12;font-size:clamp(1.4rem,2.6vw,2.1rem);}
.product-modal__spec{color:var(--ink-soft);font-size:.9rem;}
.product-modal__price{font-weight:800;font-size:1.5rem;letter-spacing:-.01em;}
.product-modal__desc{color:var(--ink-soft);font-size:.92rem;}
.product-modal__colors{margin:.2rem 0;}
.product-modal__colors .color-dot{width:26px;height:26px;}
.product-modal__info .btn{margin-top:.6rem;}

.share-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;align-self:flex-start;margin-top:.2rem;padding:.4rem .2rem;font-size:.8rem;font-weight:700;color:var(--ink-soft);}
.share-btn svg{width:16px;height:16px;}
.share-btn:hover{color:var(--ink);}

/* =============== cart drawer =============== */
.drawer{position:fixed;inset:0;z-index:100;}
.drawer__backdrop{position:absolute;inset:0;background:rgba(22,24,26,.45);opacity:0;transition:opacity .3s var(--ease);}
.drawer__panel{
  position:absolute;top:0;right:0;bottom:0;width:min(460px,100%);background:var(--page);
  display:flex;flex-direction:column;transform:translateX(100%);transition:transform .4s var(--ease);
  box-shadow:-20px 0 60px rgba(0,0,0,.18);
}
.drawer.is-open .drawer__backdrop{opacity:1;}
.drawer.is-open .drawer__panel{transform:none;}
.drawer__head{display:flex;align-items:center;gap:.7rem;padding:18px 20px 16px 24px;border-bottom:1px solid var(--line-soft);}
.drawer__head h3{flex:1;font-family:var(--f-display);font-weight:500;font-size:1.25rem;}
.drawer__back{display:none;}
.drawer[data-step="checkout"] .drawer__back{display:inline-flex;}
.drawer__step{display:none;flex-direction:column;flex:1;min-height:0;}
.drawer[data-step="cart"] .drawer__step--cart,
.drawer[data-step="checkout"] .drawer__step--checkout,
.drawer[data-step="done"] .drawer__step--done{display:flex;}
.drawer__body{flex:1;min-height:0;overflow-y:auto;padding:18px 24px;}
.drawer__foot{padding:16px 24px 22px;border-top:1px solid var(--line-soft);background:var(--page);}
.total-row{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:1rem;font-weight:600;}
.total-row strong{font-size:1.3rem;font-weight:800;}

.cart-empty{text-align:center;padding:3rem 1rem;color:var(--ink-soft);display:flex;flex-direction:column;align-items:center;gap:1.4rem;}
.cart-item{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:14px;padding:14px 0;border-bottom:1px solid var(--line-soft);align-items:start;}
.cart-item:last-child{border-bottom:0;}
.cart-thumb{width:76px;height:92px;border-radius:14px;}
.cart-info{min-width:0;display:flex;flex-direction:column;gap:.25rem;}
.cart-name{font-size:.82rem;font-weight:800;text-transform:uppercase;letter-spacing:.015em;line-height:1.25;}
.cart-meta{display:flex;align-items:center;gap:.45rem;font-size:.76rem;color:var(--ink-soft);}
.cart-meta .color-dot{width:14px;height:14px;box-shadow:none;}
.cart-price{font-weight:800;font-size:.95rem;margin-top:.15rem;}
.cart-side{display:flex;flex-direction:column;align-items:flex-end;gap:.8rem;}
.cart-remove{width:26px;height:26px;border-radius:50%;color:var(--ink-soft);display:flex;align-items:center;justify-content:center;}
.cart-remove:hover{background:var(--tint);color:var(--ink);}
.cart-remove svg{width:14px;height:14px;}
.qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;background:var(--surface);}
.qty button{width:30px;height:30px;font-size:1.05rem;line-height:1;border-radius:50%;}
.qty button:hover{background:var(--tint);}
.qty span{min-width:22px;text-align:center;font-size:.85rem;font-weight:700;}

.summary{margin-top:1.4rem;padding:1rem 1.1rem;background:var(--surface);border-radius:16px;font-size:.84rem;}
.summary .line{display:flex;justify-content:space-between;gap:1rem;padding:.3rem 0;}
.summary .line span:first-child{color:var(--ink-soft);min-width:0;}
.summary .line span:last-child{font-weight:700;white-space:nowrap;}

.drawer__done{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:.9rem;padding:2rem;}
.drawer__done p{color:var(--ink-soft);max-width:20rem;}
.done-id{font-family:var(--f-display);font-weight:500;font-size:1rem;color:var(--ink) !important;background:var(--tint);padding:.45rem 1rem;border-radius:999px;}
.drawer__done .btn{margin-top:.6rem;}

/* =============== price: dollar approximation =============== */
.price .approx,.total-row strong .approx{display:block;margin:.05rem 0 0;font-size:.72rem;font-weight:600;letter-spacing:0;text-transform:none;color:var(--ink-soft);}
.total-row strong{text-align:right;}

/* =============== search =============== */
.search{position:fixed;inset:0;z-index:95;display:flex;align-items:flex-start;justify-content:center;padding:max(14px,env(safe-area-inset-top)) 14px 14px;opacity:0;transition:opacity .2s var(--ease);}
.search.is-open{opacity:1;}
.search__backdrop{position:absolute;inset:0;background:rgba(22,24,26,.5);backdrop-filter:blur(3px);}
.search__panel{
  position:relative;z-index:1;width:min(660px,100%);max-height:calc(100vh - 28px);display:flex;flex-direction:column;margin-top:clamp(0px,7vh,70px);
  background:var(--page);border-radius:24px;box-shadow:0 30px 80px rgba(0,0,0,.3);overflow:hidden;
  transform:translateY(-10px);transition:transform .3s var(--ease);
}
.search.is-open .search__panel{transform:none;}
.search__bar{display:flex;align-items:center;gap:.6rem;padding:.9rem 1rem .9rem 1.2rem;border-bottom:1px solid var(--line-soft);}
.search__bar>svg{width:22px;height:22px;flex:none;color:var(--ink-soft);}
.search__bar input{flex:1;min-width:0;border:0;background:transparent;font-size:1.05rem;padding:.4rem 0;}
.search__bar input:focus{outline:0;}
.search__bar input::-webkit-search-cancel-button{display:none;}
.search__body{overflow-y:auto;padding:.7rem;min-height:0;}
.search-hint,.search-count{padding:.4rem .6rem .7rem;font-size:.82rem;color:var(--ink-soft);}
.search-chips{display:flex;flex-wrap:wrap;gap:.5rem;padding:0 .6rem .8rem;}
.search-chip{padding:.55rem 1.1rem;border-radius:999px;border:1px solid var(--line);font-size:.84rem;font-weight:600;background:var(--page);transition:border-color .2s,background .2s;}
.search-chip:hover{border-color:var(--ink);background:var(--surface);}
.search-item{display:flex;align-items:center;gap:.9rem;width:100%;padding:.55rem .6rem;border-radius:16px;text-align:left;transition:background .15s;}
.search-item:hover,.search-item.is-active{background:var(--surface);}
.search-thumb{width:56px;height:68px;border-radius:12px;flex:none;}
.search-thumb img,.search-thumb video{width:100%;height:100%;object-fit:cover;}
.search-thumb.fit-contain img{object-fit:contain;padding:4%;}
.search-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:.1rem;}
.search-cat{font-size:.64rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-soft);}
.search-title{font-size:.9rem;font-weight:800;text-transform:uppercase;letter-spacing:.015em;line-height:1.25;}
.search-price{flex:none;font-weight:800;font-size:.9rem;white-space:nowrap;}
.search-empty{text-align:center;padding:2.2rem 1rem;color:var(--ink-soft);display:flex;flex-direction:column;align-items:center;gap:1.1rem;}

/* =============== responsive =============== */
@media (max-width:1100px){
  .nav-social{display:none;}
  .products-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:900px){
  :root{--nav-h:66px;}
  .nav-inner{grid-template-columns:1fr auto;}
  .nav-pill{display:none;}
  .nav-burger{display:inline-flex;}
  .hero-grid{grid-template-columns:1fr;}
  .hero-card{order:-1;aspect-ratio:var(--hero-ratio,4/3);border-radius:26px;}
  .bento{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(250px,1fr);}
  .bento-tile:first-child{grid-column:span 2;grid-row:span 1;min-height:340px;}
  .about-card,.contact-grid{grid-template-columns:1fr;}
  .about-media{aspect-ratio:var(--about-ratio,4/3);}
  .products-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .contact{border-radius:30px 30px 0 0;}
}
@media (max-width:700px){
  .product-modal{align-items:flex-end;padding:0;}
  .product-modal__panel{grid-template-columns:1fr;border-radius:26px 26px 0 0;max-height:92vh;}
  .product-modal__media .media-slot{max-height:52vh;}
  .product-modal__info{padding:.4rem 1.3rem 1.5rem;}
}
@media (max-width:560px){
  .search{padding:0;}
  .search__panel{width:100%;margin-top:0;border-radius:0 0 22px 22px;max-height:88vh;}
  .search-price{font-size:.82rem;}
  /* phones: one card per row */
  .bento{grid-template-columns:1fr;grid-auto-rows:minmax(250px,1fr);gap:14px;}
  .bento-tile:first-child{grid-column:auto;min-height:300px;}
  .bento-tile{padding:20px 20px;}
  .bento-name{font-size:1.05rem;max-width:100%;}
  .bento-count{position:static;display:block;margin-top:.15rem;}
  .bento-img{padding:76px 14px 14px;gap:8px;}
  .products-grid{grid-template-columns:1fr;gap:16px;}
  .contact-info .row{grid-template-columns:5.5rem 1fr;}
  .footer-top{flex-direction:column;}
  .about-stats{gap:1.6rem;}
  .btn{padding:0 1.3rem;}
  .hero-actions .btn{flex:1 1 100%;}
  .lang-switch{margin:0 .2rem;}
}

/* no stock left: the product can still be ordered, and the shop says so */
.stock-note,.product-modal__stock{font-size:.76rem;font-weight:700;line-height:1.4;color:#7a4f12;background:rgba(185,138,71,.16);border-radius:10px;padding:.4rem .65rem;margin:.1rem 0}
.product-modal__stock{font-size:.84rem;margin:.2rem 0 .6rem}
.cart-note{font-size:.72rem;font-weight:700;color:#7a4f12;line-height:1.35}
