:root {
  --paper: #F6F5FA;
  --card: #FFFFFF;
  --ink: #1C1F4A;
  --ink-soft: #565A80;
  --ink-deep: #14163A;
  --rani: #C2185B;
  --rani-dark: #9C1249;
  --marigold: #F4A300;
  --line: #DCD9EA;
  --whatsapp: #1E8E55;

  --display: "Rozha One", Georgia, serif;
  --body: "Mukta", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: 22px; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }

main > section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) var(--gutter);
}

/* ---------- Announcement ---------- */
.announce { background: var(--ink); color: var(--paper); overflow: hidden; font-size: 14px; font-weight: 600; }
.announce-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.announce-track span { padding: 8px 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.announce-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--marigold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo { font-family: var(--display); font-size: 32px; text-decoration: none; color: var(--rani); line-height: 1; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; color: var(--ink-soft); position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--rani); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.bag-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 16px var(--body); color: var(--paper);
  background: var(--ink); border: 0; border-radius: 999px;
  padding: 8px 10px 8px 16px; cursor: pointer;
}
.bag-btn svg { width: 20px; height: 20px; }
.bag-count {
  min-width: 26px; height: 26px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--marigold); color: var(--ink); font-size: 14px;
}
.bag-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.3); } }
@media (max-width: 1180px) {
  .nav { display: none; }
  .bag-btn { margin-left: auto; }
}
@media (max-width: 760px) { .bag-label { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  font: 700 16px var(--body); text-decoration: none;
  border: 0; border-radius: 999px; padding: 13px 26px; cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn-rani { background: var(--rani); color: #fff; }
.btn-rani:hover { background: var(--rani-dark); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-deep); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp-outline { background: transparent; color: var(--whatsapp); box-shadow: inset 0 0 0 1.5px var(--whatsapp); }
.btn-whatsapp-outline:hover { background: var(--whatsapp); color: #fff; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; font: 600 15px var(--body); color: var(--ink-soft); text-decoration: underline; cursor: pointer; align-self: flex-start; }
.icon-btn { background: none; border: 0; font-size: 20px; cursor: pointer; color: var(--ink); width: 40px; height: 40px; border-radius: 50%; }
.icon-btn:hover { background: var(--paper); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-top: clamp(40px, 6vw, 72px) !important;
}
.hero-kicker { font-weight: 700; color: var(--rani); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.hero-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1 { font-size: clamp(48px, 6.6vw, 96px); letter-spacing: -0.015em; }
.lede { margin-top: 20px; font-size: 20px; color: var(--ink-soft); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: clamp(460px, 48vw, 640px);
}
.ph { overflow: hidden; border-radius: 20px; background: var(--line); }
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.ph-a { grid-row: 1 / 3; border-radius: 200px 200px 20px 20px; }
.ph-b { border-radius: 20px 20px 20px 80px; }
.ph-c { }
.ph { animation: rise .9s var(--ease) both; }
.ph-b { animation-delay: .12s; }
.ph-c { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }

.pass {
  position: absolute; left: -36px; bottom: -28px; z-index: 2;
  width: min(380px, 80%);
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 30px 60px -30px rgba(20, 22, 58, .55), 0 0 0 1px var(--line);
  transform: rotate(-3deg);
  animation: board 1s .35s var(--ease) both;
  overflow: hidden;
}
@keyframes board { from { transform: translateY(30px) rotate(-8deg); opacity: 0; } }
.pass::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 10px; background: repeating-linear-gradient(var(--marigold) 0 8px, transparent 8px 14px); }
.pass-main { padding: 20px 30px 20px 22px; }
.pass-route { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pass-route .to { text-align: right; }
.pass-code { display: block; font-family: var(--display); font-size: 46px; line-height: 1; }
.pass-city { font-size: 13px; color: var(--ink-soft); }
.pass-plane { width: 72px; color: var(--rani); flex: none; }
.pass-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); }
.pass-grid dt { font-size: 12px; color: var(--ink-soft); }
.pass-grid dd { margin: 0; font-weight: 700; font-size: 16px; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-collage { height: clamp(380px, 90vw, 560px); margin-bottom: 30px; }
  .pass { left: 12px; bottom: -30px; }
}
@media (max-width: 480px) {
  .pass-code { font-size: 36px; }
  .pass-plane { width: 48px; }
  .pass-main { padding: 16px 26px 16px 16px; }
}

/* ---------- Trust strip ---------- */
.trust {
  list-style: none; margin: 0 auto; padding: 22px var(--gutter);
  max-width: var(--max);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-soft); line-height: 1.35; }
.trust strong { color: var(--ink); display: block; }
.trust svg { width: 30px; height: 30px; flex: none; color: var(--rani); }
@media (max-width: 860px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Section head ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }

/* ---------- Categories ---------- */
.cats { padding-bottom: 0 !important; }
.cat-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; }
.cat {
  position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden;
  border: 0; padding: 0; cursor: pointer; background: var(--line); text-align: left;
}
.cat img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .6s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(20, 22, 58, .78)); }
.cat span { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; color: #fff; font-family: var(--display); font-size: 26px; line-height: 1.1; }
.cat small { display: block; font-family: var(--body); font-size: 14px; font-weight: 600; opacity: .85; }
.cat:hover img { transform: scale(1.05); }
@media (max-width: 860px) {
  .cat-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .cat-row::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 42%; scroll-snap-align: start; }
}

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 600 15px var(--body); color: var(--ink);
  background: transparent; border: 1.5px solid var(--line);
  border-radius: 999px; padding: 6px 16px; cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; } }

.product { display: flex; flex-direction: column; cursor: pointer; }
.product-media {
  position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden;
  background: var(--line);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .6s var(--ease); }
.product:hover .product-media img { transform: scale(1.04); }
.product.is-sold .product-media img { filter: grayscale(.7); opacity: .75; }
/* fabric pattern shown until a real photo is added */
.fabric {
  width: 100%; height: 100%;
  background-color: var(--c2);
  background-image:
    radial-gradient(circle at 50% 50%, var(--c1) 0 18%, transparent 19%),
    radial-gradient(circle at 0 0, var(--c1) 0 9%, transparent 10%),
    radial-gradient(circle at 100% 100%, var(--c1) 0 9%, transparent 10%),
    radial-gradient(circle at 100% 0, var(--c1) 0 9%, transparent 10%),
    radial-gradient(circle at 0 100%, var(--c1) 0 9%, transparent 10%);
  background-size: 44px 44px;
}
.badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: var(--rani); color: #fff;
}
.badge.sold { background: var(--ink); }
.quick-add {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--card); color: var(--ink); font: 700 15px var(--body); cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(20, 22, 58, .5);
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), background .2s, color .2s;
}
.quick-add:hover { background: var(--ink); color: var(--paper); }
.product:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }
@media (hover: none) {
  .quick-add { opacity: 1; transform: none; width: 42px; padding: 0; justify-content: center; }
  .quick-add .qa-label { display: none; }
}

.product-info { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 2px; }
.product-name { font-family: var(--body); font-weight: 700; font-size: 18px; line-height: 1.3; }
.product-meta { font-size: 14px; color: var(--ink-soft); }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.price strong { font-size: 20px; }
.price s { color: var(--ink-soft); font-size: 15px; }
.price .off { color: var(--rani); font-weight: 700; font-size: 14px; }
.empty-grid { grid-column: 1 / -1; color: var(--ink-soft); }
@media (max-width: 760px) {
  .product-name { font-size: 16px; }
  .price strong { font-size: 17px; }
  .badge { font-size: 11px; top: 8px; left: 8px; padding: 2px 8px; }
}

/* ---------- How ---------- */
.how h2 { margin-bottom: 36px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 16px; }
.steps li::before { content: counter(step); font-family: var(--display); font-size: 44px; color: var(--rani); line-height: 1; display: block; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); margin-top: 6px; max-width: 30ch; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Instagram ---------- */
.insta { padding-top: 0 !important; }
.view-all { font-weight: 700; color: var(--rani); text-decoration: none; font-size: 18px; }
.view-all:hover { text-decoration: underline; }
.insta-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.insta-row a { aspect-ratio: 1; border-radius: 12px; overflow: hidden; display: block; background: var(--line); }
.insta-row img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .5s var(--ease), opacity .3s; }
.insta-row a:hover img { transform: scale(1.06); opacity: .85; }
@media (max-width: 760px) { .insta-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc details:first-child { border-top: 1px solid var(--line); }
.acc summary { cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--rani); transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details p { padding: 0 0 18px; color: var(--ink-soft); max-width: 62ch; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Footer ---------- */
.site-footer {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
  padding: 64px var(--gutter) 28px; background: var(--ink-deep); color: var(--paper);
}
.site-footer .logo { color: var(--marigold); font-size: 44px; }
.footer-brand p { color: #B9BCDD; margin-top: 10px; max-width: 32ch; }
.footer-col h3 { font-family: var(--body); font-weight: 700; font-size: 16px; color: #B9BCDD; margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { text-decoration: none; font-weight: 600; }
.footer-col a:hover { color: var(--marigold); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; grid-column: 1 / -1; border-top: 1px solid rgba(246, 245, 250, .15); padding-top: 20px; margin-top: 16px; font-size: 14px; color: #9EA1C8; }
@media (max-width: 760px) {
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Quick view ---------- */
.modal-scrim { position: fixed; inset: 0; background: rgba(20, 22, 58, .55); z-index: 40; animation: fade .2s; }
.modal {
  position: fixed; z-index: 45; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(920px, calc(100% - 32px)); max-height: calc(100% - 48px);
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--card); border-radius: 22px; overflow: hidden;
  animation: pop .3s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%); } }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--card); }
.qv-media { background: var(--line); min-height: 100%; }
.qv-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; max-height: calc(100vh - 48px); }
.qv-info { padding: 36px 32px 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.qv-cat { color: var(--rani); font-weight: 700; }
.qv-info h2 { font-size: clamp(28px, 3vw, 38px); }
.qv-info .price strong { font-size: 26px; }
.qv-facts { margin: 8px 0 4px; display: grid; gap: 6px; }
.qv-facts div { display: flex; gap: 10px; }
.qv-facts dt { color: var(--ink-soft); min-width: 92px; }
.qv-facts dd { margin: 0; font-weight: 600; }
.qv-size-help { font-size: 14px; color: var(--ink-soft); margin-bottom: 6px; }
.qv-info .btn + .btn { margin-top: 2px; }
@media (max-width: 700px) {
  .modal { grid-template-columns: 1fr; top: auto; bottom: 0; left: 0; transform: none; width: 100%; border-radius: 22px 22px 0 0; max-height: 92vh; overflow-y: auto; animation: sheet .3s var(--ease); }
  @keyframes sheet { from { transform: translateY(40px); opacity: 0; } }
  .qv-media { aspect-ratio: 4 / 3; min-height: 0; }
  .qv-info { padding: 22px 20px 24px; overflow: visible; }
}

.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; border: 0; padding: 0; }
.sizes legend { font-weight: 700; margin-bottom: 8px; padding: 0; width: 100%; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size span {
  display: grid; place-items: center; min-width: 48px; height: 42px; padding: 0 12px;
  border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; background: var(--card);
}
.size input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.size input:focus-visible + span { outline: 3px solid var(--marigold); outline-offset: 2px; }
.size input:disabled + span { opacity: .4; text-decoration: line-through; }

/* ---------- Drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(20, 22, 58, .45); z-index: 40; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50;
  width: min(440px, 100%);
  display: flex; flex-direction: column;
  background: var(--card);
  transform: translateX(100%); transition: transform .35s var(--ease);
  visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 30px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }

.bag-list { list-style: none; margin: 0; padding: 0; }
.bag-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bag-thumb { width: 72px; height: 92px; border-radius: 10px; overflow: hidden; background: var(--line); }
.bag-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.bag-thumb .fabric { background-size: 22px 22px; }
.bag-item h3 { font-family: var(--body); font-size: 16px; font-weight: 700; line-height: 1.3; }
.bag-item small { color: var(--ink-soft); font-size: 14px; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 32px; height: 32px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--ink); border-radius: 50%; }
.qty span { min-width: 20px; text-align: center; font-weight: 700; }
.bag-item-right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: end; }
.remove { font-size: 14px; }
.bag-empty { text-align: center; padding: 48px 0; display: grid; gap: 16px; justify-items: center; color: var(--ink-soft); }

.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.ship-meter { height: 6px; border-radius: 999px; background: var(--paper); overflow: hidden; }
.ship-meter-fill { height: 100%; width: 0; background: var(--whatsapp); border-radius: inherit; transition: width .4s var(--ease); }
.ship-hint { font-size: 14px; color: var(--whatsapp); font-weight: 600; margin-top: -4px; }
.totals > div { display: flex; justify-content: space-between; padding: 2px 0; }
.totals .total { font-weight: 700; font-size: 20px; padding-top: 8px; margin-top: 6px; border-top: 1px solid var(--line); }

.checkout { display: flex; flex-direction: column; gap: 14px; }
.checkout label { display: grid; gap: 4px; font-weight: 600; font-size: 15px; }
.checkout input, .checkout textarea {
  font: 400 16px var(--body); color: var(--ink);
  padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper);
  width: 100%;
}
.checkout input:focus, .checkout textarea:focus { border-color: var(--ink); outline: none; }
.checkout [aria-invalid="true"] { border-color: var(--rani); }
.checkout .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { color: var(--rani); font-weight: 600; font-size: 15px; }
.form-error:empty { display: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper); font-weight: 600;
  padding: 12px 20px; border-radius: 999px; transition: opacity .2s, transform .2s;
  max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.footer-base a { margin-left: 18px; text-decoration: none; }
.footer-base a:first-child { margin-left: 0; }
.footer-base a:hover { color: var(--marigold); }
.site-footer .logo { text-decoration: none; }

/* ---------- Skip link ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Header extras ---------- */
.menu-btn { display: none; place-items: center; margin-left: -8px; }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 1180px) { .menu-btn { display: grid; } }

.mm-scrim { position: fixed; inset: 0; z-index: 54; background: rgba(20, 22, 58, .5); animation: fade .25s; }
.mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 55;
  width: min(88vw, 400px);
  display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: 0 24px 24px 0;
  box-shadow: 20px 0 60px -20px rgba(20, 22, 58, .45);
  animation: mm-in .32s var(--ease);
}
.mobile-menu.closing { animation: mm-out .22s ease-in forwards; }
.mm-scrim.closing { animation: fade-out .22s forwards; }
@keyframes mm-in { from { transform: translateX(-100%); } }
@keyframes mm-out { to { transform: translateX(-100%); } }
@keyframes fade-out { to { opacity: 0; } }

.mm-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 10px 20px; }
.mm-head .logo { font-size: 30px; }
.mm-body { flex: 1; overflow-y: auto; padding: 4px 20px 20px; }

.mm-feature {
  position: relative; display: block; height: 150px; border-radius: 20px; overflow: hidden;
  background: var(--ink); text-decoration: none;
}
.mm-feature img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.mm-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 22, 58, .85) 10%, rgba(20, 22, 58, .1) 75%); }
.mm-feature-text { position: absolute; z-index: 1; left: 18px; bottom: 16px; right: 18px; color: #fff; }
.mm-feature-text small { display: block; font-size: 13px; font-weight: 700; color: var(--marigold); }
.mm-feature-text strong { display: block; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.1; margin-top: 2px; }

.mm-heading { font-family: var(--body); font-size: 14px; font-weight: 700; color: var(--ink-soft); margin: 24px 0 8px; }

.mm-cats { display: grid; gap: 4px; }
.mm-cats a {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px;
  padding: 8px 10px 8px 8px; border-radius: 16px; text-decoration: none; color: var(--ink);
  transition: background .15s;
}
.mm-cats a:hover, .mm-cats a:active { background: var(--card); }
.mm-cats a[aria-current="page"] { background: var(--card); box-shadow: inset 3px 0 0 var(--rani); }
.mm-thumb { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; background: var(--line); }
.mm-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.mm-thumb .fabric { background-size: 18px 18px; }
.mm-cat-name { font-family: var(--display); font-size: 22px; line-height: 1.1; }
.mm-cat-name small { display: block; font-family: var(--body); font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.mm-chev { color: var(--ink-soft); }
.mm-cats a[aria-current="page"] .mm-cat-name { color: var(--rani); }

.mm-help { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mm-help a {
  padding: 11px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line);
  font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink);
}
.mm-help a[aria-current="page"] { border-color: var(--ink); }

.mm-foot { padding: 14px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; justify-items: center; }
.mm-insta { font-weight: 700; font-size: 15px; color: var(--rani); text-decoration: none; }

.mobile-menu:not(.closing) .mm-body > * { animation: mm-item .4s var(--ease) both; }
.mobile-menu .mm-body > :nth-child(2) { animation-delay: .04s; }
.mobile-menu .mm-body > :nth-child(3) { animation-delay: .08s; }
.mobile-menu .mm-body > :nth-child(n+4) { animation-delay: .12s; }
@keyframes mm-item { from { opacity: 0; transform: translateX(-12px); } }

/* ---------- Product card links ---------- */
.product { cursor: default; }
.product-media > a { display: block; width: 100%; height: 100%; }
.product-name a { text-decoration: none; }
.product-name a::after { content: ""; }
.product-name a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Page header ---------- */
.page-head { max-width: var(--max); margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--gutter) 0; }
.page-head h1 { font-size: clamp(42px, 6vw, 76px); }
.page-head .sub, .contact-form .sub { margin-top: 12px; color: var(--ink-soft); font-size: 19px; max-width: 60ch; }
main > section.page-body, main > section.page-layout { padding-top: clamp(28px, 4vw, 44px); }
.crumbs { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #B4B1C9; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Shop toolbar ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); }
.toolbar-sub { border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.toolbar-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.toolbar-label { font-weight: 700; font-size: 15px; margin-right: 4px; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip.small { padding: 4px 12px; font-size: 14px; }
.select-wrap { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.select {
  font: 600 15px var(--body); color: var(--ink); background: var(--card);
  border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 38px 7px 16px; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231C1F4A' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.toggle { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 15px; cursor: pointer; }
.toggle input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.result-count { color: var(--ink-soft); font-weight: 600; font-size: 15px; padding-left: 12px; border-left: 1px solid var(--line); }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 56px 0; display: grid; gap: 16px; justify-items: center; color: var(--ink-soft); }
.empty-state h1 { color: var(--ink); font-size: clamp(36px, 5vw, 56px); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: clamp(24px, 4vw, 48px) !important; }
.pdp > .empty-state { grid-column: 1 / -1; }
.pdp-gallery { display: grid; gap: 12px; position: sticky; top: 92px; }
.pdp-main { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--line); }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.pdp-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-thumbs button { width: 76px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--line); }
.pdp-thumbs button[aria-current="true"] { border-color: var(--ink); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { display: flex; flex-direction: column; gap: 14px; }
.pdp-info .crumbs { margin: 0; }
.pdp-info h1 { font-size: clamp(36px, 4.4vw, 58px); }
.pdp-info .price strong { font-size: 30px; }
.tax-note { font-size: 14px; color: var(--ink-soft); margin-top: -8px; }
.sizes legend.size-head { display: flex; justify-content: space-between; align-items: baseline; }
.size-head a { font-weight: 600; font-size: 15px; color: var(--rani); }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 4px; }
.qty.lg { margin: 0; }
.qty.lg button { width: 44px; height: 48px; }
.qty.lg span { min-width: 28px; }
.sold-note { padding: 14px 16px; background: var(--card); border-radius: 14px; border: 1px solid var(--line); color: var(--ink-soft); }
.pdp-trust { list-style: none; margin: 6px 0 0; padding: 16px 18px; background: var(--card); border-radius: 16px; border: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; }
.pdp-trust li { display: flex; gap: 12px; align-items: center; }
.pdp-trust svg { width: 22px; height: 22px; color: var(--rani); flex: none; }
.acc .facts { display: grid; gap: 6px; margin: 12px 0 18px; }
.acc .facts div { display: flex; gap: 10px; }
.acc .facts dt { color: var(--ink-soft); min-width: 110px; }
.acc .facts dd { margin: 0; font-weight: 600; }
.acc details p a { color: var(--rani); font-weight: 600; }
.related { padding-top: 0 !important; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .pdp-info { order: 2; }
}

/* ---------- Policies ---------- */
.page-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.side-nav { position: sticky; top: 92px; display: grid; gap: 4px; }
.side-nav a { text-decoration: none; padding: 9px 14px; border-radius: 12px; font-weight: 600; color: var(--ink-soft); }
.side-nav a:hover { background: var(--card); color: var(--ink); }
.side-nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.prose { max-width: 700px; }
.prose h2 { font-size: clamp(26px, 3vw, 32px); margin: 36px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 18px; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose strong { color: var(--ink); }
.prose a { color: var(--rani); font-weight: 600; }
.updated { font-size: 14px !important; }
@media (max-width: 860px) {
  .page-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; display: flex; flex-wrap: wrap; }
}

/* ---------- Size guide ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.size-table { width: 100%; border-collapse: collapse; min-width: 520px; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.size-table thead th { background: var(--paper); font-size: 15px; color: var(--ink-soft); }
.size-table tbody tr:last-child > * { border-bottom: 0; }
.size-table tbody tr:hover { background: #FBFAFE; }
.table-note { margin-top: 12px; color: var(--ink-soft); font-size: 15px; }
.guide-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); margin-top: clamp(48px, 7vw, 88px); align-items: start; }
.guide-grid h2 { margin-bottom: 24px; }
.steps-tight { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.note-card { background: var(--ink); color: var(--paper); border-radius: 24px; padding: 28px; display: grid; gap: 12px; justify-items: start; }
.note-card h2 { color: var(--marigold); font-size: 32px; margin: 0; }
.note-card p { color: #D5D7F0; }
.note-card .btn { margin-top: 8px; }
@media (max-width: 860px) { .guide-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .steps-tight { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; min-height: 240px; }
.contact-card h2 { font-size: 32px; }
.contact-card p { color: var(--ink-soft); }
.contact-card .btn { margin-top: auto; align-self: flex-start; }
.contact-card.primary { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }
.contact-card.primary p { color: rgba(255, 255, 255, .85); }
.btn-light { background: #fff; color: var(--whatsapp); }
.btn-light:hover { background: var(--paper); }
.link-list { margin-top: auto; display: grid; gap: 6px; }
.link-list a { font-weight: 700; color: var(--rani); text-decoration: none; }
.link-list a:hover { text-decoration: underline; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-card { min-height: 0; } }

.contact-form { max-width: 680px; display: grid; gap: 16px; margin-top: clamp(48px, 7vw, 88px); }
.contact-form .sub { margin-top: -6px; }
.contact-form label { display: grid; gap: 4px; font-weight: 600; font-size: 15px; }
.contact-form input, .contact-form textarea {
  font: 400 16px var(--body); color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--ink); outline: none; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form .btn { justify-self: start; }
@media (max-width: 560px) { .contact-form .row { grid-template-columns: 1fr; } }

.qv-size-help a { color: var(--rani); font-weight: 600; }
.bag-item h3 a, .bag-thumb { text-decoration: none; color: inherit; }
