/* =========================================================
   بخت ستور — BAKHT STORE
   Ivory boutique · lilac / peach / mint · paper cards
   ========================================================= */

:root{
  --cream:#FAF7F2;
  --cream-2:#F3EEFF;
  --paper:#FFFDFA;
  --ink:#24222C;
  --ink-70:rgba(36,34,44,.70);
  --ink-55:rgba(36,34,44,.55);
  --ink-40:rgba(36,34,44,.40);
  --lilac:#CDBAF2;
  --peach:#FFC9A8;
  --mint:#B9E7D6;
  --line:rgba(36,34,44,.10);
  --line-soft:rgba(36,34,44,.06);
  --r-xl:28px;
  --r-lg:24px;
  --r-md:16px;
  --r-sm:12px;
  --shadow:0 24px 48px -28px rgba(36,34,44,.30), 0 2px 6px -2px rgba(36,34,44,.06);
  --shadow-sm:0 14px 30px -22px rgba(36,34,44,.34);
  --shadow-hover:0 36px 64px -30px rgba(36,34,44,.36), 0 4px 10px -4px rgba(36,34,44,.08);
  --ease:cubic-bezier(.22,1,.36,1);
}

*,*::before,*::after{box-sizing:border-box}

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:Tajawal,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

body.locked{overflow:hidden}

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

button{
  font:inherit;
  color:inherit;
  background:none;
  border:0;
  padding:0;
  cursor:pointer;
  -webkit-user-select:none;
  user-select:none;
  -webkit-tap-highlight-color:transparent;
}

a{color:inherit;text-decoration:none}

h1,h2,h3,p,ul{margin:0}
ul{list-style:none;padding:0}

::selection{background:var(--lilac);color:var(--ink)}

:focus-visible{outline:3px solid var(--lilac);outline-offset:3px;border-radius:8px}

.wrap{width:min(1180px,100% - 36px);margin-inline:auto}

/* ---------- shared type ---------- */
.eyebrow{
  font-size:13px;
  font-weight:700;
  letter-spacing:0;
  color:var(--ink-55);
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.eyebrow::before{
  content:"";
  width:22px;height:1.5px;border-radius:2px;
  background:var(--lilac);
  display:inline-block;
}

h1,h2{font-weight:800;line-height:1.12}
h1{font-size:clamp(34px,6.6vw,66px);letter-spacing:0}
h1 em{
  font-style:normal;
  background:linear-gradient(transparent 58%, var(--lilac) 58%, var(--lilac) 90%, transparent 90%);
  padding-inline:2px;
}
h2{font-size:clamp(26px,3.6vw,40px);line-height:1.16}

.lede{
  color:var(--ink-70);
  font-size:clamp(15px,1.6vw,17px);
  max-width:52ch;
  margin-top:16px;
}

.fine{
  font-size:12.5px;
  color:var(--ink-40);
  line-height:1.5;
  margin-top:12px;
}

/* ---------- reveal ---------- */
html.js .reveal{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay:calc(var(--i,0) * 60ms);
}
html.js .reveal.in{opacity:1;transform:none}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:52px;
  padding:0 26px;
  border-radius:999px;
  font-weight:700;
  font-size:16px;
  transition:transform .26s var(--ease), box-shadow .26s var(--ease), background-color .26s var(--ease), color .26s var(--ease);
  will-change:transform;
}
.btn svg{width:18px;height:18px;flex:none}
.btn-primary{
  background:var(--ink);
  color:#FCFAF6;
  box-shadow:0 20px 34px -20px rgba(36,34,44,.85);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 26px 42px -20px rgba(36,34,44,.9)}
.btn-primary:active{transform:translateY(0) scale(.985)}
.btn-ghost{
  background:rgba(255,255,255,.72);
  color:var(--ink);
  border:1px solid var(--line);
  box-shadow:0 10px 24px -20px rgba(36,34,44,.6);
}
.btn-ghost:hover{background:#fff;transform:translateY(-2px)}
.btn-ghost:active{transform:translateY(0) scale(.985)}
.btn-block{width:100%}

.icon-btn{
  width:44px;height:44px;
  display:grid;place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.8);
  border:1px solid var(--line);
  color:var(--ink);
  transition:background-color .22s var(--ease), transform .22s var(--ease);
  flex:none;
}
.icon-btn svg{width:18px;height:18px}
.icon-btn:hover{background:#fff;transform:rotate(90deg)}

.link-btn{
  display:block;
  margin:10px auto 0;
  font-size:13.5px;
  font-weight:700;
  color:var(--ink-55);
  padding:8px 14px;
  border-radius:999px;
  transition:color .22s var(--ease), background-color .22s var(--ease);
}
.link-btn:hover{color:#B4483F;background:rgba(180,72,63,.07)}
.link-btn.armed{color:#fff;background:#B4483F}

/* ---------- topbar ---------- */
.topbar{
  position:sticky;
  top:0;
  z-index:60;
  background:rgba(250,247,242,.82);
  -webkit-backdrop-filter:blur(16px) saturate(1.25);
  backdrop-filter:blur(16px) saturate(1.25);
  border-bottom:1px solid transparent;
  transition:border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.topbar.scrolled{
  border-bottom-color:var(--line-soft);
  box-shadow:0 14px 34px -30px rgba(36,34,44,.7);
}
.topbar-in{
  display:flex;
  align-items:center;
  gap:14px;
  height:68px;
}

.brand{display:flex;align-items:center;gap:10px;flex:none}
.brand-mark{
  width:40px;height:40px;
  display:grid;place-items:center;
  border-radius:14px;
  background:linear-gradient(150deg,var(--lilac),#E4D8FA);
  color:var(--ink);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8), 0 10px 20px -14px rgba(36,34,44,.7);
}
.brand-mark svg{width:22px;height:22px}
.brand-txt{display:flex;flex-direction:column;line-height:1.1}
.brand-txt b{font-size:17px;font-weight:800}
.brand-txt i{
  font-style:normal;
  font-size:9.5px;
  letter-spacing:.22em;
  color:var(--ink-40);
  font-weight:700;
  margin-top:2px;
}

.nav{
  display:flex;
  gap:6px;
  margin-inline-start:20px;
  margin-inline-end:auto;
}
.nav a{
  padding:9px 14px;
  border-radius:999px;
  font-size:14.5px;
  font-weight:500;
  color:var(--ink-70);
  transition:background-color .22s var(--ease), color .22s var(--ease);
}
.nav a:hover{background:rgba(255,255,255,.85);color:var(--ink)}

.bag-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:46px;
  padding:0 8px 0 16px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  font-weight:700;
  font-size:14.5px;
  color:var(--ink);
  box-shadow:0 12px 26px -22px rgba(36,34,44,.75);
  transition:transform .24s var(--ease), box-shadow .24s var(--ease);
  flex:none;
}
.bag-btn:hover{transform:translateY(-2px);box-shadow:0 18px 30px -22px rgba(36,34,44,.8)}
.bag-btn svg{width:19px;height:19px}
.bag-count{
  min-width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:var(--lilac);
  color:var(--ink);
  font-size:13px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
  transition:transform .24s var(--ease);
}
.bag-count.pulse{animation:pop .52s var(--ease)}

@keyframes pop{
  0%{transform:scale(1)}
  35%{transform:scale(1.42)}
  70%{transform:scale(.94)}
  100%{transform:scale(1)}
}

/* ---------- hero ---------- */
.hero{
  position:relative;
  padding-block:clamp(26px,4.4vw,64px) 0;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-30% -12% auto -12%;
  height:150%;
  background:radial-gradient(58% 52% at 66% 8%, #FFFFFF 0%, rgba(255,255,255,.55) 42%, rgba(255,255,255,0) 74%);
  pointer-events:none;
}
.hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);
  gap:clamp(20px,4vw,54px);
  align-items:center;
}
.hero-copy h1{margin-top:14px}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.hero-stats{
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
  margin-top:30px;
  font-size:13.5px;
  color:var(--ink-55);
}
.hero-stats li{display:flex;align-items:center;gap:7px}
.hero-stats b{color:var(--ink);font-weight:800;font-size:14.5px}
.hero-stats li+li::before{
  content:"";
  width:4px;height:4px;
  border-radius:50%;
  background:var(--lilac);
  margin-inline-end:14px;
}

.hero-stage{
  position:relative;
  height:clamp(250px,34vw,420px);
}
.fc{
  position:absolute;
  width:clamp(112px,30%,208px);
  will-change:transform;
  transform-origin:50% 62%;
}
.fc:nth-child(1){left:0;top:16%}
.fc:nth-child(2){left:31%;top:0}
.fc:nth-child(3){left:62%;top:24%}
.fc-inner{
  border-radius:26px;
  background:linear-gradient(158deg,#FFFFFF, #F7F1EA);
  box-shadow:0 30px 56px -34px rgba(36,34,44,.55), inset 0 1px 0 rgba(255,255,255,.95);
  border:1px solid rgba(255,255,255,.9);
  padding:10px 10px 4px;
  overflow:hidden;
}
.fc-inner svg{
  width:100%;
  height:auto;
  animation:breathe 7s ease-in-out infinite;
}
.fc:nth-child(2) .fc-inner svg{animation-delay:-2.4s}
.fc:nth-child(3) .fc-inner svg{animation-delay:-4.6s}

@keyframes breathe{
  0%,100%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-6px) scale(1.014)}
}

/* ---------- marquee ---------- */
.marquee{
  position:relative;
  z-index:1;
  margin-top:clamp(22px,4vw,48px);
  background:var(--ink);
  color:#F2EDE6;
  overflow:hidden;
  padding-block:13px;
}
.marquee-track{
  display:flex;
  align-items:center;
  gap:26px;
  width:max-content;
  animation:slide 34s linear infinite;
  font-size:14px;
  font-weight:500;
}
.marquee-track span{white-space:nowrap}
.marquee-track .sep{color:var(--lilac);font-size:11px}

@keyframes slide{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

/* ---------- collection ---------- */
.collection{
  position:relative;
  margin-top:clamp(30px,5vw,64px);
  padding-block:clamp(36px,5.5vw,72px) clamp(44px,6vw,84px);
  background:var(--cream-2);
  border-radius:clamp(26px,4vw,44px) clamp(26px,4vw,44px) 0 0;
}
.sec-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}
.sec-head h2{margin-top:10px}
.sec-note{
  font-size:14px;
  color:var(--ink-55);
  max-width:34ch;
}

.filters{
  margin-top:clamp(20px,3vw,32px);
  background:rgba(255,255,255,.62);
  border:1px solid rgba(255,255,255,.9);
  border-radius:var(--r-lg);
  padding:clamp(14px,2vw,22px);
  box-shadow:var(--shadow-sm);
  display:flex;
  flex-direction:column;
  gap:14px;
}
.filter-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.filter-label{
  font-size:12.5px;
  font-weight:700;
  color:var(--ink-40);
  min-width:44px;
  flex:none;
}
.pills{display:flex;gap:8px;flex-wrap:wrap}

.pill{
  min-height:40px;
  padding:0 16px;
  border-radius:999px;
  background:rgba(255,255,255,.85);
  border:1px solid var(--line);
  font-size:14px;
  font-weight:500;
  color:var(--ink-70);
  transition:background-color .24s var(--ease), color .24s var(--ease), transform .24s var(--ease), border-color .24s var(--ease);
}
.pill:hover{background:#fff;transform:translateY(-1px);color:var(--ink)}
.pill[aria-pressed="true"]{
  background:var(--ink);
  color:#FCFAF6;
  border-color:transparent;
  box-shadow:0 12px 22px -16px rgba(36,34,44,.9);
}

.pills-colors{gap:9px}
.swatch-filter{
  width:36px;height:36px;
  border-radius:50%;
  display:grid;place-items:center;
  background:var(--c);
  border:2px solid rgba(255,255,255,.95);
  box-shadow:0 0 0 1px var(--line), 0 8px 16px -12px rgba(36,34,44,.9);
  transition:transform .24s var(--ease), box-shadow .24s var(--ease);
  position:relative;
}
.swatch-filter:hover{transform:translateY(-2px) scale(1.05)}
.swatch-filter[aria-pressed="true"]{
  transform:scale(1.06);
  box-shadow:0 0 0 2px var(--ink), 0 10px 18px -12px rgba(36,34,44,.9);
}
.swatch-filter.all{
  width:auto;
  height:36px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(255,255,255,.9);
  border:1px solid var(--line);
  font-size:13px;
  font-weight:600;
  color:var(--ink-70);
}
.swatch-filter.all[aria-pressed="true"]{background:var(--ink);color:#FCFAF6;box-shadow:0 10px 18px -14px rgba(36,34,44,.9)}

.search-row{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:4px;
}
.search-box{
  flex:1 1 240px;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:52px;
  padding-inline:18px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 12px 26px -24px rgba(36,34,44,.8);
  transition:box-shadow .24s var(--ease), border-color .24s var(--ease);
  cursor:text;
}
.search-box:focus-within{
  border-color:var(--lilac);
  box-shadow:0 0 0 4px rgba(205,186,242,.35);
}
.search-box svg{width:19px;height:19px;color:var(--ink-40);flex:none}
.search-box input{
  flex:1;
  min-width:0;
  border:0;
  outline:0;
  background:none;
  font:inherit;
  font-size:16px;
  color:var(--ink);
  -webkit-appearance:none;
}
.search-box input::placeholder{color:var(--ink-40)}
.search-box input::-webkit-search-cancel-button{-webkit-appearance:none}

.result-count{
  flex:none;
  font-size:14px;
  color:var(--ink-55);
  display:flex;
  align-items:baseline;
  gap:5px;
  padding:0 6px;
}
.result-count b{
  font-size:19px;
  font-weight:800;
  color:var(--ink);
  font-variant-numeric:tabular-nums;
  display:inline-block;
}
.result-count.bump b{animation:pop .5s var(--ease)}

/* ---------- grid + cards ---------- */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(232px,1fr));
  gap:clamp(14px,2vw,22px);
  margin-top:clamp(20px,3vw,30px);
}

.card{
  position:relative;
  background:var(--paper);
  border-radius:var(--r-lg);
  padding:12px;
  border:1px solid rgba(255,255,255,.95);
  box-shadow:var(--shadow);
  overflow:hidden;
  transition:transform .34s var(--ease), box-shadow .34s var(--ease);
  will-change:transform;
}
.card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(112deg, transparent 34%, rgba(255,255,255,.72) 48%, transparent 62%);
  transform:translateX(130%);
  opacity:.55;
  pointer-events:none;
  transition:transform .75s var(--ease);
}
@media (hover:hover){
  .card:hover{transform:translateY(-6px);box-shadow:var(--shadow-hover)}
  .card:hover::after{transform:translateX(-130%)}
}

.card-media{
  position:relative;
  display:block;
  width:100%;
  border-radius:18px;
  padding:8px 8px 2px;
  background:radial-gradient(120% 92% at 50% 0%, #FFFFFF 0%, #F6F0E9 62%, #F1EAE1 100%);
  overflow:hidden;
  transition:background .3s var(--ease);
}
.card-media .jk-svg{
  width:100%;
  height:auto;
  animation:breathe 4s ease-in-out infinite;
  animation-delay:calc(var(--i,0) * -0.55s);
}
.card-media:focus-visible{outline:3px solid var(--lilac);outline-offset:2px}

.card-body{padding:12px 6px 6px}
.card-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.card-name{
  font-size:16px;
  font-weight:800;
  line-height:1.3;
  color:var(--ink);
}
.card-price{
  font-size:14.5px;
  font-weight:700;
  color:var(--ink);
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
  flex:none;
}
.card-meta{
  font-size:12.5px;
  color:var(--ink-55);
  margin-top:4px;
}
.card-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:12px;
}
.dots{display:flex;gap:5px;align-items:center}
.dot{
  width:16px;height:16px;
  border-radius:50%;
  background:var(--c);
  box-shadow:0 0 0 1px rgba(36,34,44,.10), inset 0 1px 0 rgba(255,255,255,.45);
}

.quick{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:38px;
  padding:0 13px;
  border-radius:999px;
  background:rgba(205,186,242,.32);
  color:var(--ink);
  font-size:13px;
  font-weight:700;
  transition:background-color .24s var(--ease), transform .24s var(--ease), color .24s var(--ease);
}
.quick svg{width:15px;height:15px}
.quick:hover{background:rgba(205,186,242,.62);transform:translateY(-1px)}
.quick.added{background:var(--mint);color:var(--ink)}
.quick.added svg{animation:pop .5s var(--ease)}

/* empty state */
.empty{
  margin-top:clamp(24px,4vw,40px);
  background:var(--paper);
  border-radius:var(--r-xl);
  padding:clamp(28px,5vw,52px) 24px;
  text-align:center;
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.95);
}
.empty[hidden]{display:none}
.empty-icon{
  width:64px;height:64px;
  margin:0 auto 16px;
  border-radius:50%;
  display:grid;place-items:center;
  background:rgba(205,186,242,.35);
  color:var(--ink);
}
.empty-icon svg{width:28px;height:28px}
.empty h3{font-size:19px;font-weight:800}
.empty p{color:var(--ink-55);font-size:14.5px;margin:8px auto 20px;max-width:38ch}

/* ---------- about ---------- */
.about{
  padding-block:clamp(48px,7vw,96px);
  background:var(--cream);
}
.about-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:clamp(26px,4vw,56px);
  align-items:center;
}
.about-copy h2{margin-top:12px}
.about-copy p{color:var(--ink-70);margin-top:14px;font-size:15.5px;max-width:46ch}

.about-cards{display:grid;gap:12px}
.feature{
  display:grid;
  grid-template-columns:44px 1fr;
  grid-template-rows:auto auto;
  gap:2px 14px;
  align-items:center;
  background:var(--paper);
  border-radius:var(--r-lg);
  padding:16px 18px;
  border:1px solid rgba(255,255,255,.95);
  box-shadow:var(--shadow-sm);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.feature-ico{
  grid-row:1 / span 2;
  width:44px;height:44px;
  display:grid;place-items:center;
  border-radius:14px;
  background:linear-gradient(150deg,rgba(255,201,168,.55),rgba(205,186,242,.5));
  color:var(--ink);
}
.feature-ico svg{width:21px;height:21px}
.feature b{font-size:15.5px;font-weight:800}
.feature span:last-child{font-size:13px;color:var(--ink-55)}

/* ---------- footer ---------- */
.footer{
  background:var(--ink);
  color:#F2EDE6;
  padding-block:clamp(30px,4vw,48px);
}
.footer-in{display:flex;flex-direction:column;gap:18px}
.footer-brand{display:flex;flex-direction:column;gap:4px}
.footer-brand b{font-size:20px;font-weight:800}
.footer-brand span{font-size:12.5px;color:rgba(242,237,230,.55);letter-spacing:.02em}
.footer-nav{display:flex;gap:6px;flex-wrap:wrap}
.footer-nav a,.footer-nav button{
  padding:9px 14px;
  border-radius:999px;
  font-size:14px;
  color:rgba(242,237,230,.8);
  transition:background-color .22s var(--ease), color .22s var(--ease);
}
.footer-nav a:hover,.footer-nav button:hover{background:rgba(255,255,255,.1);color:#fff}
.footer-note{
  font-size:12.5px;
  color:rgba(242,237,230,.45);
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:16px;
  line-height:1.6;
}

/* ---------- overlays ---------- */
.modal{
  position:fixed;
  inset:0;
  z-index:110;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}
.modal[hidden]{display:none}

.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(36,34,44,.42);
  -webkit-backdrop-filter:blur(7px);
  backdrop-filter:blur(7px);
  opacity:0;
  transition:opacity .3s var(--ease);
}
.modal.open .modal-backdrop{opacity:1}

.sheet{
  position:relative;
  z-index:1;
  width:min(980px,100%);
  max-height:92vh;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  background:var(--paper);
  border-radius:var(--r-xl) var(--r-xl) 0 0;
  box-shadow:0 -30px 70px -40px rgba(36,34,44,.6);
  padding:clamp(18px,3vw,30px);
  transform:translateY(28px);
  opacity:0;
  transition:transform .34s var(--ease), opacity .34s var(--ease);
}
.modal.open .sheet{transform:none;opacity:1}

.sheet .close{position:absolute;top:14px;inset-inline-end:14px;z-index:3}

/* detail */
.detail{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(18px,3vw,32px);
  align-items:start;
}
.detail-info{padding-bottom:6px}
.detail-tags{
  font-size:12.5px;
  font-weight:700;
  color:var(--ink-40);
  margin-bottom:6px;
}
.detail-info h3{font-size:clamp(22px,3vw,30px);font-weight:800;line-height:1.2}
.detail-price{
  font-size:21px;
  font-weight:800;
  margin-top:6px;
  font-variant-numeric:tabular-nums;
}
.detail-desc{color:var(--ink-70);font-size:15px;margin-top:12px;max-width:44ch}

.stage-wrap{position:relative}
.stage{
  position:relative;
  width:100%;
  max-width:420px;
  margin-inline:auto;
  aspect-ratio:1;
  border-radius:50%;
  display:grid;
  place-items:center;
  overflow:hidden;
  cursor:grab;
  touch-action:pan-y;
  background:radial-gradient(circle at 50% 26%, #FFFFFF 0%, #F4EEF9 58%, #EFE6F6 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.9), 0 30px 60px -40px rgba(36,34,44,.55);
  transition:background .45s var(--ease);
  perspective:1100px;
  -webkit-user-select:none;
  user-select:none;
}
.stage.dragging{cursor:grabbing}
.stage-glow{
  position:absolute;
  inset:8%;
  border-radius:50%;
  background:radial-gradient(circle at 50% 22%, rgba(255,255,255,.95), rgba(255,255,255,0) 62%);
  pointer-events:none;
}
.stage-object{
  position:relative;
  width:74%;
  aspect-ratio:400/460;
  transform-style:preserve-3d;
  transition:transform .1s linear;
  will-change:transform;
  margin-bottom:6%;
}
.stage.dragging .stage-object{transition:none}
.face{
  position:absolute;
  inset:0;
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
}
.face.back{transform:rotateY(180deg)}
.face svg{width:100%;height:100%}
.stage-shadow{
  position:absolute;
  bottom:9%;
  left:50%;
  width:52%;
  height:20px;
  transform:translateX(-50%);
  border-radius:50%;
  background:radial-gradient(ellipse at center, rgba(36,34,44,.22), rgba(36,34,44,0) 70%);
  filter:blur(2px);
  pointer-events:none;
}
.stage-hint{
  position:absolute;
  bottom:14px;
  left:50%;
  transform:translateX(-50%);
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(255,255,255,.95);
  font-size:11.5px;
  font-weight:700;
  color:var(--ink-55);
  pointer-events:none;
  white-space:nowrap;
  box-shadow:0 10px 20px -18px rgba(36,34,44,.9);
}
.stage-hint svg{width:14px;height:14px}

.opt-block{margin-top:22px}
.opt-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  font-size:13px;
  font-weight:700;
  color:var(--ink-55);
  margin-bottom:10px;
}
.opt-head b{color:var(--ink);font-weight:800}

.swatches{display:flex;gap:10px;flex-wrap:wrap}
.swatch{
  width:40px;height:40px;
  border-radius:50%;
  background:var(--c);
  border:2px solid #fff;
  box-shadow:0 0 0 1px var(--line), 0 10px 18px -14px rgba(36,34,44,.9);
  transition:transform .24s var(--ease), box-shadow .24s var(--ease);
}
.swatch:hover{transform:translateY(-2px) scale(1.05)}
.swatch[aria-pressed="true"]{
  transform:scale(1.06);
  box-shadow:0 0 0 2px var(--ink), 0 12px 20px -14px rgba(36,34,44,.9);
}

.sizes{display:flex;gap:8px;flex-wrap:wrap}
.size{
  min-width:54px;
  height:46px;
  padding:0 12px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--line);
  font-size:14.5px;
  font-weight:700;
  color:var(--ink);
  transition:background-color .22s var(--ease), color .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease);
}
.size:hover:not(:disabled){transform:translateY(-2px);border-color:rgba(36,34,44,.24)}
.size[aria-pressed="true"]{background:var(--ink);color:#FCFAF6;border-color:transparent}
.size:disabled{
  opacity:.34;
  text-decoration:line-through;
  cursor:not-allowed;
}

.add-btn{
  margin-top:26px;
  width:100%;
  min-height:56px;
  border-radius:999px;
  background:var(--ink);
  color:#FCFAF6;
  font-weight:800;
  font-size:16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  box-shadow:0 20px 34px -22px rgba(36,34,44,.9);
  transition:transform .26s var(--ease), background-color .3s var(--ease), color .3s var(--ease), box-shadow .26s var(--ease);
}
.add-btn svg{width:19px;height:19px}
.add-btn:active{transform:scale(.985)}
.add-btn.added{
  background:var(--mint);
  color:var(--ink);
  box-shadow:0 18px 30px -22px rgba(36,34,44,.6);
}
.add-btn.added svg{animation:pop .55s var(--ease)}

/* ---------- drawer ---------- */
.overlay{position:fixed;inset:0;z-index:120}
.overlay[hidden]{display:none}
.drawer-backdrop{
  position:absolute;
  inset:0;
  background:rgba(36,34,44,.42);
  -webkit-backdrop-filter:blur(7px);
  backdrop-filter:blur(7px);
  opacity:0;
  transition:opacity .3s var(--ease);
}
.drawer.open .drawer-backdrop{opacity:1}

.drawer-panel{
  position:absolute;
  inset-block:0;
  inset-inline-start:0;
  width:min(430px,94vw);
  background:var(--cream);
  display:flex;
  flex-direction:column;
  box-shadow:0 0 70px -30px rgba(36,34,44,.7);
  transform:translateX(102%);
  transition:transform .38s var(--ease);
  border-start-end-radius:var(--r-xl);
  border-end-end-radius:var(--r-xl);
}
.drawer.open .drawer-panel{transform:none}

.drawer-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:22px 20px 14px;
  border-bottom:1px solid var(--line-soft);
}
.drawer-head h2{font-size:20px;font-weight:800}
.drawer-head p{font-size:12.5px;color:var(--ink-40);margin-top:2px}

.drawer-body{flex:1;overflow-y:auto;padding:14px 16px 20px;-webkit-overflow-scrolling:touch}

.bag-list{display:flex;flex-direction:column;gap:10px}
.bag-item{
  position:relative;
  display:grid;
  grid-template-columns:64px 1fr auto;
  gap:12px;
  align-items:center;
  background:var(--paper);
  border-radius:18px;
  padding:10px 40px 10px 12px;
  box-shadow:var(--shadow-sm);
  border:1px solid rgba(255,255,255,.95);
  animation:itemIn .34s var(--ease) both;
}
@keyframes itemIn{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:none}
}
.bag-thumb{
  width:64px;height:64px;
  border-radius:14px;
  display:grid;place-items:center;
  background:radial-gradient(120% 92% at 50% 0%, #fff, #F5EFE8);
  overflow:hidden;
}
.bag-thumb svg{width:66%;height:auto}
.bag-name{font-size:14px;font-weight:800;line-height:1.3}
.bag-meta{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:var(--ink-55);
  margin-top:3px;
}
.bag-meta .dot{width:12px;height:12px}
.qty{
  display:inline-flex;
  align-items:center;
  gap:2px;
  margin-top:7px;
  border:1px solid var(--line);
  border-radius:999px;
  padding:2px;
  background:#fff;
}
.qty button{
  width:26px;height:26px;
  border-radius:50%;
  display:grid;place-items:center;
  font-size:15px;
  font-weight:800;
  color:var(--ink-70);
  transition:background-color .2s var(--ease), color .2s var(--ease);
}
.qty button:hover{background:rgba(205,186,242,.4);color:var(--ink)}
.qty span{
  min-width:22px;
  text-align:center;
  font-size:13px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
}
.bag-price{
  font-size:13.5px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
  align-self:start;
  padding-top:4px;
}
.bag-del{
  position:absolute;
  top:8px;
  inset-inline-end:8px;
  width:28px;height:28px;
  border-radius:50%;
  display:grid;place-items:center;
  color:var(--ink-40);
  font-size:16px;
  line-height:1;
  transition:background-color .2s var(--ease), color .2s var(--ease);
}
.bag-del:hover{background:rgba(180,72,63,.1);color:#B4483F}

.bag-empty{
  text-align:center;
  padding:48px 20px;
  color:var(--ink-55);
}
.bag-empty svg{width:44px;height:44px;margin:0 auto 14px;color:var(--ink-40)}
.bag-empty b{display:block;font-size:16px;color:var(--ink);margin-bottom:6px}
.bag-empty p{font-size:13.5px;max-width:26ch;margin-inline:auto}

.drawer-foot{
  border-top:1px solid var(--line-soft);
  padding:16px 20px 20px;
  background:rgba(255,255,255,.6);
}
.drawer-foot[hidden]{display:none}
.totals{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
  font-size:14px;
  color:var(--ink-55);
  font-weight:700;
}
.totals strong{
  font-size:20px;
  color:var(--ink);
  font-variant-numeric:tabular-nums;
}

/* ---------- order sheet ---------- */
.sheet-order{max-width:600px;margin:auto}
@media (min-width:820px){
  .modal{align-items:center;padding:32px}
  .sheet{border-radius:var(--r-xl);max-height:88vh}
  .detail{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:34px}
}
.sheet-order h2{font-size:23px;font-weight:800;padding-inline-end:48px}
.order-sub{font-size:14px;color:var(--ink-55);margin-top:8px;max-width:44ch}
.order-text{
  margin-top:16px;
  background:#fff;
  border:1px dashed rgba(36,34,44,.18);
  border-radius:var(--r-md);
  padding:16px;
  font-family:"SFMono-Regular",ui-monospace,Menlo,Consolas,monospace;
  font-size:12.5px;
  line-height:1.9;
  color:var(--ink);
  white-space:pre-wrap;
  word-break:break-word;
  max-height:42vh;
  overflow:auto;
  -webkit-user-select:text;
  user-select:text;
  direction:rtl;
  text-align:right;
}
.order-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.order-actions .btn{flex:1 1 auto}

/* ---------- toast ---------- */
.toast-wrap{
  position:fixed;
  inset-inline:0;
  bottom:22px;
  display:flex;
  justify-content:center;
  z-index:300;
  pointer-events:none;
  padding-inline:16px;
}
.toast{
  display:inline-flex;
  align-items:center;
  gap:8px;
  max-width:min(440px,92vw);
  padding:12px 20px;
  border-radius:999px;
  background:var(--ink);
  color:#FCFAF6;
  font-size:14px;
  font-weight:700;
  box-shadow:0 24px 44px -26px rgba(36,34,44,.95);
  opacity:0;
  transform:translateY(16px) scale(.96);
  transition:opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.show{opacity:1;transform:none}

/* ---------- responsive ---------- */
@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr;gap:28px}
  .hero-stage{height:clamp(220px,46vw,340px);margin-top:8px}
  .about-grid{grid-template-columns:1fr}
}

@media (max-width:700px){
  .nav{display:none}
  .topbar-in{height:62px;gap:10px}
  .brand-txt i{display:none}
  .bag-word{display:none}
  .bag-btn{padding:0 8px;gap:6px}
  .hero{padding-top:20px}
  .hero-cta{gap:10px}
  .hero-cta .btn{flex:1 1 auto;padding:0 18px;font-size:15px}
  .hero-stats{gap:8px 14px;font-size:12.5px}
  .hero-stats li+li::before{margin-inline-end:8px}
  .sec-note{max-width:none}
  .filter-row{align-items:flex-start}
  .filter-label{padding-top:10px}
  .drawer-panel{
    width:100%;
    border-radius:var(--r-xl) var(--r-xl) 0 0;
    inset-block:auto 0;
    inset-inline:0;
    max-height:88vh;
    transform:translateY(102%);
  }
  .drawer.open .drawer-panel{transform:none}
}

@media (max-width:560px){
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .card{padding:9px;border-radius:20px}
  .card-body{padding:10px 3px 3px}
  .card-name{font-size:13.5px}
  .card-price{font-size:12.5px}
  .card-meta{font-size:11px}
  .quick{padding:0 9px;min-height:34px;font-size:11.5px}
  .quick span{display:none}
  .dots{gap:4px}
  .dot{width:13px;height:13px}
  .card-foot{margin-top:9px}
  h1{font-size:clamp(30px,9vw,42px)}
  .stage{max-width:340px}
  .order-actions .btn{flex:1 1 100%}
}

@media (max-width:400px){
  .wrap{width:calc(100% - 28px)}
  .hero-cta .btn{font-size:14px;min-height:48px}
  .pill{padding:0 13px;font-size:13px;min-height:38px}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
  html.js .reveal{opacity:1;transform:none}
  .marquee-track{animation:none}
  .card:hover{transform:none}
}