:root{
  --purple:#4B0082;
  --purple-2:#5B2A86;
  --purple-deep:#360063;
  --gold:#D4AF37;
  --gold-light:#F0D98C;
  --silver:#C0C0C0;
  --copper:#B87333;
  --ivory:#FBF7F0;
  --cream:#F5EFE4;
}
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family:'Vazirmatn',sans-serif;
  background:var(--ivory);
  color:#2a1240;
  -webkit-tap-highlight-color:transparent;
}
.app{ min-height:100vh; overflow-x:hidden; }
.text-copper{ color:var(--copper); }
.text-purple-900{ color:var(--purple-deep); }
.text-purple-600{ color:var(--purple-2); }
.text-purple-500{ color:#7a5aa0; }
.text-purple-400{ color:#9d84bd; }

/* ---- Header ---- */
.header{
  position:sticky; top:0; z-index:40;
  background:linear-gradient(120deg,var(--purple-deep),var(--purple-2));
  box-shadow:0 4px 24px rgba(75,0,130,.35);
  border-bottom:2px solid var(--gold);
}
.header-inner{ max-width:1200px; margin:0 auto; padding:.7rem 1rem;
  display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.brand{ display:flex; align-items:center; gap:.4rem; background:none; border:none; cursor:pointer;
  font-size:1.6rem; font-weight:900; color:var(--gold-light);
  font-family:'Vazirmatn'; letter-spacing:.5px; }
.crown-sm{ color:var(--gold); text-shadow:0 0 12px var(--gold); }
.nav-desk{ display:flex; gap:.3rem; }
.nav-link{ background:none; border:none; cursor:pointer; color:#e9dcff; font-family:'Vazirmatn';
  font-size:.95rem; padding:.4rem .8rem; border-radius:999px; transition:.25s; font-weight:500; }
.nav-link:hover{ background:rgba(212,175,55,.18); color:var(--gold-light); }
.nav-link.act{ background:var(--gold); color:var(--purple-deep); font-weight:700; }
.header-actions{ display:flex; gap:.4rem; align-items:center; }
.icon-btn{ position:relative; background:rgba(255,255,255,.1); border:1px solid rgba(212,175,55,.35);
  cursor:pointer; font-size:1.15rem; width:40px; height:40px; border-radius:12px; color:#fff; transition:.2s; }
.icon-btn:hover{ background:var(--gold); }
.badge{ position:absolute; top:-6px; left:-6px; background:var(--copper); color:#fff;
  font-size:.7rem; min-width:18px; height:18px; border-radius:999px; display:flex; align-items:center; justify-content:center; padding:0 4px; }
.menu-tog{ display:none; }
.nav-mobile{ display:none; flex-direction:column; padding:.5rem 1rem 1rem; gap:.3rem; }
.nav-link-m{ background:rgba(255,255,255,.08); border:none; color:#f0e6ff; text-align:right;
  padding:.7rem 1rem; border-radius:12px; font-family:'Vazirmatn'; font-size:1rem; cursor:pointer; }
.nav-link-m.act{ background:var(--gold); color:var(--purple-deep); font-weight:700; }
@media(max-width:860px){
  .nav-desk{ display:none; } .menu-tog{ display:block; } .nav-mobile{ display:flex; }
}

/* ---- Hero ---- */
.hero{ position:relative; min-height:78vh; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.hero-bg{ position:absolute; inset:0; height:100%; width:100%; }
.hero-bg img{ width:100%; height:100%; object-fit:cover; }
.hero-overlay{ position:absolute; inset:0;
  background:radial-gradient(circle at 50% 40%, rgba(54,0,99,.55), rgba(30,0,55,.85)); }
.hero-content{ position:relative; text-align:center; color:#fff; padding:2rem; max-width:720px;
  animation:rise .9s ease both; }
.crown{ font-size:2.4rem; color:var(--gold); text-shadow:0 0 24px var(--gold); animation:shimmer 3s ease-in-out infinite; }
.hero-title{ font-size:clamp(3rem,10vw,6rem); font-weight:900; margin:.2rem 0;
  background:linear-gradient(90deg,var(--gold-light),var(--gold),var(--copper),var(--gold-light));
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  background-size:200% auto; animation:sheen 4s linear infinite; letter-spacing:2px; }
.hero-sub{ font-size:clamp(1.2rem,3.5vw,1.9rem); font-weight:300; color:var(--gold-light);
  letter-spacing:1px; margin:.3rem 0; }
.hero-desc{ color:#e5d7f7; font-weight:300; margin-top:.8rem; }
@keyframes sheen{ to{ background-position:200% center; } }
@keyframes shimmer{ 0%,100%{ transform:scale(1); opacity:1; } 50%{ transform:scale(1.15); opacity:.75; } }
@keyframes rise{ from{ opacity:0; transform:translateY(30px); } to{ opacity:1; transform:none; } }

/* ---- Buttons ---- */
.btn-gold{ background:linear-gradient(120deg,var(--gold),var(--gold-light),var(--gold));
  background-size:200% auto; color:var(--purple-deep); border:none; cursor:pointer;
  font-family:'Vazirmatn'; font-weight:700; padding:.7rem 1.6rem; border-radius:999px;
  transition:.3s; box-shadow:0 6px 18px rgba(212,175,55,.4); font-size:1rem; }
.btn-gold:hover{ background-position:right center; transform:translateY(-2px); box-shadow:0 10px 26px rgba(212,175,55,.55); }
.btn-gold:disabled{ opacity:.45; cursor:not-allowed; transform:none; }
.btn-outline{ background:transparent; border:2px solid var(--purple-2); color:var(--purple-2);
  cursor:pointer; font-family:'Vazirmatn'; font-weight:700; padding:.65rem 1.4rem; border-radius:999px; transition:.25s; }
.btn-outline:hover{ background:var(--purple-2); color:#fff; }
.btn-outline-light{ background:rgba(255,255,255,.08); border:2px solid var(--gold);
  color:var(--gold-light); cursor:pointer; font-family:'Vazirmatn'; font-weight:700;
  padding:.7rem 1.6rem; border-radius:999px; transition:.25s; font-size:1rem; }
.btn-outline-light:hover{ background:var(--gold); color:var(--purple-deep); }
.btn-mini{ background:var(--purple-2); color:#fff; border:none; cursor:pointer; font-family:'Vazirmatn';
  font-size:.8rem; font-weight:700; padding:.4rem .8rem; border-radius:999px; white-space:nowrap; }
.btn-mini:hover{ background:var(--copper); }

/* ---- Section headings ---- */
.sec-heading{ text-align:center; font-size:clamp(1.8rem,5vw,2.6rem); font-weight:900; color:var(--purple-deep);
  position:relative; padding-bottom:.6rem; }
.sec-heading::after{ content:''; display:block; width:70px; height:3px; margin:.5rem auto 0;
  background:linear-gradient(90deg,transparent,var(--gold),transparent); border-radius:2px; }

/* ---- Cards ---- */
.card{ position:relative; background:#fff; border-radius:1.2rem; overflow:hidden;
  border:1px solid rgba(212,175,55,.35); box-shadow:0 8px 24px rgba(75,0,130,.1); transition:.35s; }
.card:hover{ transform:translateY(-6px); box-shadow:0 18px 40px rgba(75,0,130,.2); border-color:var(--gold); }
.tag-chip{ position:absolute; top:12px; right:12px; background:rgba(54,0,99,.85); color:var(--gold-light);
  font-size:.75rem; font-weight:700; padding:.25rem .7rem; border-radius:999px; backdrop-filter:blur(4px); }
.fav-btn{ position:absolute; top:12px; left:12px; z-index:2; width:36px; height:36px; border-radius:50%;
  background:rgba(255,255,255,.85); border:none; cursor:pointer; font-size:1.2rem; color:#c86; transition:.2s; }
.fav-btn:hover{ transform:scale(1.15); }
.fav-btn.active{ color:#d1477a; background:#fff; }
.qty{ display:flex; align-items:center; gap:.6rem; border:1.5px solid rgba(91,42,134,.3); border-radius:999px; padding:.25rem .5rem; }
.qty button{ width:28px; height:28px; border-radius:50%; border:none; background:var(--purple-2); color:#fff;
  cursor:pointer; font-size:1.1rem; line-height:1; }
.qty button:hover{ background:var(--gold); color:var(--purple-deep); }
.qty span{ font-weight:700; font-size:.9rem; min-width:52px; text-align:center; color:var(--purple-deep); }

/* ---- Filters ---- */
.filter-row{ display:flex; gap:.5rem; flex-wrap:wrap; justify-content:center; margin-bottom:1.8rem; }
.chip{ background:#fff; border:1.5px solid rgba(212,175,55,.5); color:var(--purple-2);
  cursor:pointer; font-family:'Vazirmatn'; font-weight:600; padding:.4rem 1.1rem; border-radius:999px; transition:.2s; }
.chip:hover{ border-color:var(--gold); }
.chip.act{ background:linear-gradient(120deg,var(--purple-2),var(--purple-deep)); color:var(--gold-light); border-color:var(--purple-deep); }

/* ---- Stepper ---- */
.stepper{ display:flex; align-items:flex-start; justify-content:space-between; gap:.2rem; position:relative; }
.step{ flex:1; position:relative; display:flex; flex-direction:column; align-items:center; text-align:center; }
.step-line{ position:absolute; top:24px; right:50%; width:100%; height:3px; background:#e3d9ef; z-index:0; }
.step-line.fill{ background:linear-gradient(90deg,var(--gold),var(--copper)); }
.step-node{ width:50px; height:50px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:1.4rem; background:#fff; border:2.5px solid #d9cbe9; z-index:1; transition:.3s; }
.step.done .step-node{ border-color:var(--gold); background:linear-gradient(135deg,var(--gold),var(--gold-light)); box-shadow:0 0 14px rgba(212,175,55,.6); }
.step.active .step-node{ border-color:var(--copper); background:#fff; animation:pulse 1.6s infinite; }
.step.todo .step-node{ opacity:.6; filter:grayscale(.4); }
.step-label{ margin-top:.5rem; font-size:.8rem; font-weight:700; color:var(--purple-deep); }
.step.todo .step-label{ color:#9d84bd; font-weight:500; }
@keyframes pulse{ 0%,100%{ box-shadow:0 0 0 0 rgba(184,115,51,.5); } 50%{ box-shadow:0 0 0 8px rgba(184,115,51,0); } }
@media(max-width:560px){
  .stepper{ flex-direction:column; gap:.2rem; align-items:stretch; }
  .step{ flex-direction:row; gap:.8rem; text-align:right; }
  .step-line{ top:0; right:24px; width:3px; height:100%; }
  .step-node{ width:44px; height:44px; font-size:1.2rem; flex-shrink:0; }
  .step-label{ margin:0; align-self:center; }
}

/* ---- Panels & boxes ---- */
.panel-box{ background:#fff; border:1px solid rgba(212,175,55,.3); border-radius:1.4rem;
  padding:1.6rem; box-shadow:0 8px 26px rgba(75,0,130,.08); }
.panel-hero{ background:linear-gradient(120deg,var(--purple-deep),var(--purple-2));
  color:#fff; border-radius:1.4rem; padding:1.8rem; text-align:center; border:2px solid var(--gold);
  box-shadow:0 10px 30px rgba(75,0,130,.3); }
.sec-title{ font-size:1.2rem; font-weight:900; color:var(--purple-deep); margin-bottom:1rem;
  border-right:4px solid var(--gold); padding-right:.6rem; }
.lbl{ display:block; font-size:.82rem; font-weight:700; color:var(--purple-2); margin:.5rem 0 .25rem; }
.inp{ width:100%; padding:.6rem .8rem; border:1.5px solid rgba(91,42,134,.25); border-radius:.8rem;
  font-family:'Vazirmatn'; font-size:.9rem; background:var(--ivory); transition:.2s; color:#2a1240; }
.inp:focus{ outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(212,175,55,.2); background:#fff; }
.order-card{ background:var(--cream); border:1px solid rgba(212,175,55,.3); border-radius:1.2rem;
  padding:1.2rem; margin-bottom:1rem; }

/* ---- Feature cards (home) ---- */
.feature-card{ background:#fff; border-radius:1.4rem; padding:1.2rem; cursor:pointer; transition:.35s;
  border:1px solid rgba(212,175,55,.3); box-shadow:0 8px 24px rgba(75,0,130,.1); }
.feature-card:hover{ transform:translateY(-5px); box-shadow:0 18px 40px rgba(75,0,130,.2); border-color:var(--gold); }
.link-more{ display:inline-block; margin-top:.7rem; color:var(--copper); font-weight:700; font-size:.9rem; }

/* ---- Stage info ---- */
.stage-info{ display:flex; gap:1rem; align-items:center; background:#fff; border-radius:1rem; padding:1rem;
  border:1px solid rgba(212,175,55,.3); animation:rise .6s ease both; }
.stage-icon{ font-size:1.8rem; width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--purple-2),var(--purple-deep)); box-shadow:0 4px 12px rgba(75,0,130,.25); }

/* ---- Cart Drawer ---- */
.drawer-overlay{ position:fixed; inset:0; background:rgba(30,0,55,.5); z-index:60; opacity:0;
  pointer-events:none; transition:.3s; backdrop-filter:blur(2px); }
.drawer-overlay.show{ opacity:1; pointer-events:auto; }
.drawer{ position:fixed; top:0; left:0; height:100%; width:min(400px,90vw); background:var(--ivory);
  transform:translateX(-100%); transition:.35s cubic-bezier(.4,0,.2,1); display:flex; flex-direction:column;
  box-shadow:6px 0 40px rgba(0,0,0,.3); }
.drawer.show{ transform:none; }
.drawer-head{ display:flex; justify-content:space-between; align-items:center; padding:1.2rem;
  background:linear-gradient(120deg,var(--purple-deep),var(--purple-2)); color:var(--gold-light); }
.drawer-head button{ background:none; border:none; color:#fff; cursor:pointer; }
.drawer-body{ flex:1; overflow-y:auto; padding:1rem; }
.drawer-foot{ padding:1.2rem; border-top:1px solid rgba(212,175,55,.3); background:#fff; }
.cart-item{ display:flex; gap:.8rem; align-items:center; background:#fff; border-radius:1rem; padding:.7rem;
  margin-bottom:.7rem; border:1px solid rgba(212,175,55,.25); }
.cart-item button{ background:none; border:none; cursor:pointer; }
.empty{ text-align:center; color:#9d84bd; padding:3rem 1rem; font-weight:700; font-size:1.1rem; line-height:2; }

/* ---- Modal ---- */
.modal-overlay{ position:fixed; inset:0; background:rgba(30,0,55,.6); z-index:70; display:flex;
  align-items:center; justify-content:center; padding:1rem; backdrop-filter:blur(3px); animation:fade .25s ease; }
@keyframes fade{ from{ opacity:0; } to{ opacity:1; } }
.modal{ background:var(--ivory); border-radius:1.6rem; padding:1.4rem; max-width:820px; width:100%;
  max-height:92vh; overflow-y:auto; position:relative; border:2px solid var(--gold);
  box-shadow:0 30px 80px rgba(0,0,0,.4); animation:rise .35s ease both; }
.modal-close{ position:absolute; top:.8rem; left:.8rem; background:var(--purple-2); color:#fff; border:none;
  width:34px; height:34px; border-radius:50%; font-size:1.4rem; cursor:pointer; z-index:2; line-height:1; }

/* ---- Shimmer ---- */
.shimmer{ background:linear-gradient(100deg, #efe6da 30%, #f8f2e8 50%, #efe6da 70%);
  background-size:200% 100%; animation:shim 1.4s infinite; }
@keyframes shim{ to{ background-position:-200% 0; } }

/* ---- Toast ---- */
.toast-wrap{ position:fixed; bottom:1.2rem; left:50%; transform:translateX(-50%); z-index:90;
  display:flex; flex-direction:column; gap:.5rem; align-items:center; pointer-events:none; }
.toast{ background:linear-gradient(120deg,var(--purple-deep),var(--purple-2)); color:var(--gold-light);
  padding:.7rem 1.4rem; border-radius:999px; font-weight:700; font-size:.9rem;
  box-shadow:0 8px 24px rgba(75,0,130,.4); border:1px solid var(--gold); animation:rise .3s ease; }

/* ---- Footer ---- */
.footer{ margin-top:3rem; background:linear-gradient(160deg,var(--purple-deep),#25004a);
  color:#e5d7f7; border-top:2px solid var(--gold); }
.footer-inner{ max-width:1100px; margin:0 auto; padding:2.5rem 1.5rem; display:grid;
  grid-template-columns:1.4fr 1fr 1.2fr; gap:2rem; }
.footer-brand{ font-size:1.6rem; font-weight:900; color:var(--gold-light); }
.footer-tag{ color:#c7aee6; font-weight:300; margin-top:.4rem; font-size:.9rem; }
.footer-links{ display:flex; flex-direction:column; gap:.5rem; }
.footer-links button{ background:none; border:none; color:#d9c6f0; text-align:right; cursor:pointer;
  font-family:'Vazirmatn'; font-size:.92rem; transition:.2s; padding:0; }
.footer-links button:hover{ color:var(--gold-light); }
.footer-contact{ font-size:.9rem; display:flex; flex-direction:column; gap:.5rem; color:#d9c6f0; }
.social{ font-size:1.3rem; letter-spacing:.4rem; }
.footer-bottom{ border-top:1px solid rgba(212,175,55,.25); padding:1rem 1.5rem; display:flex;
  justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.6rem; font-size:.82rem; color:#b79dd6; }
.remix{ color:var(--gold-light); text-decoration:none; font-weight:700; border:1px solid var(--gold);
  padding:.3rem .9rem; border-radius:999px; transition:.2s; }
.remix:hover{ background:var(--gold); color:var(--purple-deep); }
@media(max-width:760px){ .footer-inner{ grid-template-columns:1fr; gap:1.5rem; text-align:center; }
  .footer-links,.footer-contact{ align-items:center; } .footer-links button{ text-align:center; } }