/* Shagufta's Desi Collection
   Peacock blue from her logo, lifted a shade lighter, on a dusty rose page.
   Gold is the thread: her name in Nastaliq, arch outlines, the zari border
   under the header, filigree corners and sparkles. Green only ever means
   "order on WhatsApp"; red only ever means a sale price.
   The pointed Mughal arch frames her photos everywhere. */

:root {
  --peacock: #1F5466;
  --peacock-deep: #163E4C;
  --peacock-night: #102F3A;
  --ink: #18323B;
  --ink-2: #4D5B5E;
  --on-peacock-2: #C9D9DD;
  --rose: #F4E3DC;
  --rose-2: #ECD3CA;
  --rose-3: #E4C4B9;
  --pearl: #FCF5F1;
  --line: #E0C6BC;
  --gold: #E3C27A;
  --gold-soft: #F1DCA8;
  --gold-ink: #7A5B14;
  --announce: #E8C77E;
  --wa: #0B7350;
  --wa-top: #0E8058;
  --wa-dark: #075C3F;
  --sale: #B42318;

  --display: "Rozha One", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Segoe UI", system-ui, -apple-system, sans-serif;
  --urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;

  --gutter: 16px;
  --max: 82rem;
  --header-h: 60px;
  --zari-h: 10px;
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --focus: var(--peacock);

  /* Pointed Mughal arch, stretched to whatever box it masks */
  --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V34C0 17 20 10 36 6C44 4 48 2 50 0C52 2 56 4 64 6C80 10 100 17 100 34V100Z'/%3E%3C/svg%3E");
  /* Ogee jaal lattice, the block-print and jaali pattern, in faint gold */
  --jaal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='64' viewBox='0 0 48 64'%3E%3Cg fill='none' stroke='%23E3C27A' stroke-opacity='.13'%3E%3Cpath d='M0 0C16 10.7 16 21.3 0 32S-16 53.3 0 64M0 0C-16 10.7-16 21.3 0 32S16 53.3 0 64M48 0C64 10.7 64 21.3 48 32S32 53.3 48 64M48 0C32 10.7 32 21.3 48 32S64 53.3 48 64M24-16C40-5.3 40 5.3 24 16S8 37.3 24 48 40 69.3 24 80M24-16C8-5.3 8 5.3 24 16S40 37.3 24 48 8 69.3 24 80'/%3E%3C/g%3E%3Cg fill='%23E3C27A' fill-opacity='.2'%3E%3Ccircle cx='24' cy='0' r='1.5'/%3E%3Ccircle cx='0' cy='32' r='1.5'/%3E%3Ccircle cx='48' cy='32' r='1.5'/%3E%3Ccircle cx='24' cy='64' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
  /* Zari border: gold diamonds between two threads, like a kameez neckline */
  --zari: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='10'%3E%3Crect width='28' height='10' fill='%23163E4C'/%3E%3Cpath d='M0 1.5h28M0 8.5h28' stroke='%23E3C27A' stroke-opacity='.75' stroke-width='.8'/%3E%3Cpath d='M14 2.4l2.6 2.6-2.6 2.6-2.6-2.6z' fill='%23E3C27A'/%3E%3Ccircle cx='3.5' cy='5' r='1' fill='%23E3C27A' fill-opacity='.7'/%3E%3Ccircle cx='24.5' cy='5' r='1' fill='%23E3C27A' fill-opacity='.7'/%3E%3C/svg%3E");
  /* Scalloped lace edge, like the border of a dupatta */
  --scallop-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16'%3E%3Cpath d='M0 0H32A16 16 0 0 1 0 0Z'/%3E%3C/svg%3E");
  --scallop-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16'%3E%3Cpath d='M0 16A16 16 0 0 1 32 16Z'/%3E%3C/svg%3E");
  /* A faint woven grain on the rose page, so it reads as cloth rather than flat colour */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .26 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 74px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

/* Only the menu, bag and filter panels lock scrolling, and they always unlock it */
html.is-locked, html.is-locked body { overflow: hidden; }

body {
  margin: 0;
  background: var(--rose) var(--grain);
  color: var(--ink);
  font: 400 15.5px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 768px) { body { font-size: 16.5px; } }

::selection { background: var(--gold); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
.slides img, .arch img, .thumbs img, .bag-item img, .wa-bubble img, .fan img, .mega-feature img, .look-img img, .seen-list img, .search-ov-results img { color: transparent; font-size: 0; }
/* Photos fade in as they arrive instead of popping */
html.js .slides img, html.js .arch img, html.js .fan img, html.js .mega-feature img { opacity: 0; transition: opacity 0.6s var(--ease), transform 0.9s var(--ease-out); }
html.js .slides img.is-loaded, html.js .arch img.is-loaded, html.js .fan img.is-loaded, html.js .mega-feature img.is-loaded { opacity: 1; }
a { color: inherit; }
p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.06; text-wrap: balance; }
h1, h2 { font-family: var(--display); letter-spacing: -0.005em; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.site-header, .hero, .site-footer, .proof-main, .announce, .coll-hero, .drawer-head--brand, .foot-band { --focus: var(--gold); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--peacock); color: var(--pearl); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.arch {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--rose-2);
  -webkit-mask: var(--arch) center / 100% 100% no-repeat;
  mask: var(--arch) center / 100% 100% no-repeat;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* Arch outline (two strokes meeting at the top) */
.arch-line { position: absolute; inset: -11px; width: calc(100% + 22px); height: calc(100% + 22px); overflow: visible; pointer-events: none; }
.arch-line path { fill: none; stroke: var(--gold); stroke-width: 2.6; stroke-dasharray: 1; stroke-dashoffset: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 600 15px/1.1 var(--sans); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.12s, box-shadow 0.12s, filter 0.2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
/* The WhatsApp button sits on a darker ledge and catches a sweep of light on hover */
.btn--wa {
  background: linear-gradient(180deg, var(--wa-top), var(--wa)); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 3px 0 var(--wa-dark), 0 8px 18px rgba(7, 92, 63, 0.24);
  margin-bottom: 3px;
}
.btn--wa::after, .story-order::after, .look-order::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.32) 50%, transparent 70%);
  transform: translateX(-120%);
}
@media (hover: hover) {
  .btn--wa:hover::after, .story-order:hover::after, .look-order:hover::after { transform: translateX(120%); transition: transform 0.9s var(--ease); }
}
.btn--wa:hover { filter: brightness(1.06); }
.btn--wa:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 1px 0 var(--wa-dark); }
.btn--peacock { background: var(--peacock); color: var(--pearl); box-shadow: 0 3px 0 var(--peacock-night); margin-bottom: 3px; }
.btn--peacock:hover { background: var(--peacock-deep); }
.btn--peacock:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--peacock-night); }
.btn--pearl { background: var(--pearl); color: var(--peacock); box-shadow: 0 3px 0 rgba(10, 32, 40, 0.35); margin-bottom: 3px; }
.btn--pearl:hover { background: #fff; }
.btn--line { background: transparent; border-color: var(--peacock); color: var(--peacock); }
.btn--line:hover { background: var(--rose-2); }
.btn--block { width: 100%; }
.btn--big { min-height: 58px; font-size: 17px; }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 14px; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; border-radius: 50%;
  cursor: pointer; position: relative; color: inherit; text-decoration: none;
  transition: background-color 0.2s;
}
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn:hover { background: rgba(31, 84, 102, 0.08); }

/* ---------- Announcement ticker ---------- */
.announce { position: relative; height: 34px; overflow: hidden; background: var(--announce); color: var(--ink); font-size: 13px; font-weight: 500; }
.ticker { position: relative; height: 100%; max-width: var(--max); margin: 0 auto; }
.ticker-line {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 var(--gutter); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(100%); transition: transform 0.6s var(--ease-out), opacity 0.6s;
}
.ticker-line.is-on { opacity: 1; transform: none; }
.ticker-line.is-out { opacity: 0; transform: translateY(-100%); }
.spark { width: 11px; height: 11px; flex: none; fill: currentColor; }
.announce .spark { fill: var(--peacock); }
@media (max-width: 420px) { .announce { font-size: 12.5px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--peacock); color: var(--pearl);
  view-transition-name: site-header;
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(10, 30, 38, 0.28); }
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h);
  max-width: var(--max); margin: 0 auto; padding: 0 calc(var(--gutter) - 8px);
  transition: height 0.35s var(--ease);
}
.site-header.is-scrolled .header-inner { height: calc(var(--header-h) - 8px); }
.zari { height: var(--zari-h); background: var(--zari) repeat-x center; }
.header-left, .header-right { display: flex; align-items: center; }
.header-right { justify-content: flex-end; gap: 2px; }
.site-header .icon-btn { width: 42px; }
.site-header .icon-btn:hover { background: rgba(252, 245, 241, 0.1); }
.wa-head svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 2px 0 var(--wa-dark); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--gold); box-shadow: 0 0 0 3px rgba(227, 194, 122, 0.18); transition: width 0.35s var(--ease), height 0.35s var(--ease); }
.brand-name { font-family: var(--display); font-size: 22px; line-height: 0.95; }
.brand-name small { display: block; margin-top: 4px; font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em; color: var(--gold); }
.site-header.is-scrolled .brand img { width: 34px; height: 34px; }
.desk-nav { display: none; }
.bag-count {
  position: absolute; top: 3px; right: 0;
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: var(--gold); color: var(--ink);
  font-size: 11.5px; font-weight: 600; line-height: 19px; text-align: center;
}
.bag-count[hidden] { display: none; }
.bag-btn.is-bumped { animation: bag-bump 0.55s var(--ease); }
@keyframes bag-bump { 30% { transform: scale(1.22) rotate(-6deg); } 60% { transform: scale(0.94) rotate(3deg); } }

@media (max-width: 380px) {
  .brand-name { font-size: 19px; }
  .brand img { width: 32px; height: 32px; }
  .brand { gap: 7px; }
}

@media (min-width: 1024px) {
  .header-inner { grid-template-columns: auto 1fr auto auto; gap: 24px; padding: 0 var(--gutter); }
  .brand { order: 0; }
  .desk-nav { order: 1; }
  .header-left { order: 2; }
  .header-right { order: 3; }
  .menu-btn { display: none; }
  .brand img { width: 46px; height: 46px; }
  .site-header.is-scrolled .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 26px; }
  .desk-nav { display: flex; align-items: center; gap: 28px; justify-content: center; height: 100%; }
  .nav-item { height: 100%; display: flex; align-items: center; }
  .nav-link { position: relative; display: inline-flex; align-items: center; gap: 4px; font-size: 15.5px; font-weight: 500; text-decoration: none; padding: 10px 0; }
  .nav-link::after {
    content: ""; position: absolute; left: 50%; right: 50%; bottom: 4px; height: 2px;
    background: var(--gold); border-radius: 2px; transition: left 0.35s var(--ease), right 0.35s var(--ease);
  }
  .nav-link:hover::after, .nav-link[aria-current="page"]::after, .has-mega.is-open .nav-link::after { left: 0; right: 0; }
  .nav-link .chev { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
  .has-mega.is-open .nav-link .chev { transform: rotate(180deg); }
  .nav-sale { color: var(--gold); }
}

/* Mega menu (computers) */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--pearl); color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(10, 30, 38, 0.22);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.28s var(--ease), transform 0.35s var(--ease), visibility 0.28s;
}
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner {
  max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 32px;
  display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 0.9fr); gap: 36px;
}
.mega-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; align-content: start; }
.mega-cat { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 6px; border-radius: 14px; transition: background-color 0.2s; }
.mega-cat:hover { background: var(--rose); }
.mega-cat .arch { width: 52px; flex: none; }
.mega-cat .arch img { transition: transform 0.6s var(--ease-out); }
.mega-cat:hover .arch img { transform: scale(1.08); }
.mega-cat-name { font-family: var(--display); font-size: 18px; line-height: 1.1; }
.mega-cat-name small { display: block; font-family: var(--sans); font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }
.mega-cat.is-sale .mega-cat-name { color: var(--sale); }
.mega-feature { position: relative; display: block; border-radius: 18px; overflow: hidden; text-decoration: none; background: var(--rose-2); aspect-ratio: 4 / 5; max-height: 330px; }
.mega-feature-img, .mega-feature-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mega-feature-img img { transition: transform 1s var(--ease-out); }
.mega-feature:hover .mega-feature-img img { transform: scale(1.05); }
.mega-feature-txt {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 12px 14px;
  background: rgba(252, 245, 241, 0.94); border-radius: 12px; display: grid; gap: 2px;
}
.mega-feature-txt small { font-size: 12px; color: var(--gold-ink); font-weight: 600; }
.mega-feature-txt b { font-weight: 500; font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega-feature-txt span { font-weight: 600; color: var(--peacock); }
.mega-help { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.mega-urdu { font-family: var(--urdu); font-weight: 500; font-size: 34px; line-height: 2; color: var(--gold-ink); margin: -12px 0 -14px; }
.mega-help p:not(.mega-urdu) { color: var(--ink-2); font-size: 14.5px; }
.mega-all { color: var(--peacock); font-weight: 600; font-size: 14.5px; text-underline-offset: 4px; }

/* ---------- Drawers (menu + bag) ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(16, 47, 58, 0.55);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.scrim.is-on { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 100;
  width: min(88vw, 400px);
  background: var(--pearl);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease-out), visibility 0.4s;
  visibility: hidden;
}
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer.is-open { transform: none; visibility: visible; box-shadow: 0 0 60px rgba(10, 30, 38, 0.35); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; padding: 0 8px 0 var(--gutter);
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 26px; }
.drawer-head--brand { background: var(--peacock) var(--jaal); color: var(--pearl); border-bottom: 0; box-shadow: inset 0 calc(-1 * var(--zari-h)) 0 -0px transparent; position: relative; }
.drawer-head--brand::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(-1 * var(--zari-h)); height: var(--zari-h); background: var(--zari) repeat-x center; }
.drawer-urdu { font-family: var(--urdu); font-weight: 500; font-size: 28px; line-height: 1; padding-top: 18px; color: var(--gold); }
.drawer-head--brand { min-height: 74px; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.drawer-head--brand + .drawer-body { padding-top: var(--zari-h); }
.drawer-foot { padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }

.menu-search {
  display: flex; align-items: center; gap: 10px; width: calc(100% - 2 * var(--gutter)); margin: 16px var(--gutter) 6px;
  min-height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--rose);
  color: var(--ink-2); font-size: 15px; cursor: pointer; text-align: left;
}
.menu-search svg { width: 20px; height: 20px; }
.menu-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px var(--gutter); }
.menu-cats a { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 14px; text-decoration: none; }
.menu-cats a:hover { background: var(--rose); }
.menu-cats .arch { width: 44px; flex: none; }
.menu-cat-name { font-family: var(--display); font-size: 18px; line-height: 1.1; }
.menu-cat-name small { display: block; font-family: var(--sans); font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.menu-cats .is-sale .menu-cat-name { color: var(--sale); }
.menu-list { border-top: 1px solid var(--line); margin-top: 8px; }
.menu-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px var(--gutter); border-bottom: 1px solid var(--line);
  text-decoration: none; font-size: 16px; font-weight: 500;
}
.menu-list a span { color: var(--ink-2); font-size: 13px; }
.menu-social, .foot-social { display: flex; gap: 10px; }
.menu-social { padding: 18px var(--gutter); }
.menu-social a, .foot-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: var(--peacock); transition: background-color 0.2s, transform 0.2s; }
.menu-social a:hover { background: var(--rose); }
.menu-social svg, .foot-social svg { width: 20px; height: 20px; }

.bag-items { padding: 4px var(--gutter); }
.bag-item {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: start;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  animation: bag-in 0.4s var(--ease-out);
}
@keyframes bag-in { from { opacity: 0; transform: translateX(16px); } }
.bag-item img { width: 72px; height: 96px; object-fit: cover; background: var(--rose-2); border-radius: 10px; }
.bag-item a { text-decoration: none; font-size: 14.5px; font-weight: 500; display: block; }
.bag-item .meta { color: var(--ink-2); font-size: 13px; margin-top: 4px; }
.bag-item .price { font-weight: 600; margin-top: 4px; }
.bag-empty { padding: 36px var(--gutter); text-align: center; color: var(--ink-2); }
.bag-empty-art { width: 96px; height: 96px; margin: 0 auto 14px; color: var(--gold-ink); fill: var(--gold); }
.bag-empty .btn { margin-top: 18px; }
.bag-total { display: flex; justify-content: space-between; font-weight: 600; font-size: 18px; margin-bottom: 4px; }
.bag-note { color: var(--ink-2); font-size: 13px; margin-bottom: 14px; }

/* Thumbnail flying into the bag */
.fly { position: fixed; z-index: 400; width: 64px; height: 84px; border-radius: 12px; object-fit: cover; pointer-events: none; box-shadow: 0 12px 30px rgba(10, 30, 38, 0.35); }

/* ---------- Search ---------- */
.search-ov {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--ink); overflow: hidden;
}
.search-ov::backdrop { background: rgba(16, 47, 58, 0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.search-ov[open] .search-ov-inner { animation: drop-in 0.4s var(--ease-out); }
@keyframes drop-in { from { opacity: 0; transform: translateY(-24px); } }
.search-ov-inner {
  max-width: 880px; height: 100%; margin: 0 auto; padding: 14px var(--gutter) 30px;
  background: var(--pearl); overflow-y: auto; overscroll-behavior: contain;
}
@media (min-width: 768px) {
  .search-ov-inner { height: auto; max-height: 86vh; margin-top: 4vh; border-radius: 26px; padding: 22px 28px 30px; box-shadow: 0 40px 80px rgba(10, 30, 38, 0.35); }
}
.search-ov-bar { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--peacock); padding-bottom: 8px; }
.search-ov-bar > svg { width: 24px; height: 24px; color: var(--peacock); flex: none; }
.search-ov-bar input { flex: 1; min-width: 0; border: 0; background: none; font: 400 24px/1.3 var(--display); color: var(--ink); padding: 8px 0; }
.search-ov-bar input:focus { outline: none; }
.search-ov-bar input::placeholder { color: #8E9799; }
.search-ov-sugg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.search-ov-sugg p { font-size: 13px; color: var(--ink-2); margin-right: 4px; }
.search-ov-count { margin: 18px 0 10px; font-size: 14px; color: var(--ink-2); min-height: 1.4em; }
.search-ov-results { display: grid; gap: 8px; }
@media (min-width: 640px) { .search-ov-results { grid-template-columns: 1fr 1fr; } }
.search-ov-results a {
  display: grid; grid-template-columns: 60px 1fr; gap: 14px; align-items: center;
  padding: 8px; border-radius: 16px; text-decoration: none; background: var(--rose);
  animation: bag-in 0.35s var(--ease-out) both; transition: background-color 0.2s;
}
.search-ov-results a:hover, .search-ov-results a:focus-visible { background: var(--rose-2); }
.search-ov-results img { width: 60px; height: 80px; border-radius: 10px; object-fit: cover; background: var(--rose-2); }
.search-ov-results b { display: block; font-weight: 500; font-size: 14.5px; line-height: 1.3; }
.search-ov-results span { font-size: 13px; color: var(--ink-2); }
.search-ov-results .p { color: var(--peacock); font-weight: 600; font-size: 14.5px; margin-right: 6px; }
.search-ov-results mark { background: var(--gold-soft); color: inherit; border-radius: 3px; padding: 0 1px; }
.search-ov-all { margin-top: 18px; }

/* ---------- Quick look ---------- */
.qv { width: min(980px, 94vw); max-width: none; max-height: 92dvh; padding: 0; border: 0; border-radius: 26px; background: var(--pearl); color: var(--ink); overflow: hidden; }
.qv::backdrop { background: rgba(16, 47, 58, 0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.qv[open] { animation: qv-in 0.4s var(--ease-out); }
@keyframes qv-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.qv-inner { display: grid; max-height: 92dvh; overflow-y: auto; }
@media (min-width: 760px) { .qv-inner { grid-template-columns: 1.05fr 1fr; overflow: hidden; } .qv-info { overflow-y: auto; max-height: 92dvh; } }
.qv-gallery { position: relative; background: var(--rose-2); }
.qv-gallery .slides { border-radius: 0; height: 100%; aspect-ratio: 3 / 4; }
.qv-info { padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 14px; }
.qv-info h2 { font-size: 30px; }
.qv-close { position: absolute; top: 10px; right: 10px; z-index: 5; background: rgba(252, 245, 241, 0.94); }
.qv-info .facts { margin-top: 0; }
.qv-info .pdp-cta { margin-top: 2px; }
.qv-link { font-weight: 600; color: var(--peacock); text-underline-offset: 4px; }

/* ---------- Section scaffolding ---------- */
.section { padding: 44px 0; }
.section--tight { padding: 8px 0 28px; }
.section--row { padding-top: 32px; }
@media (min-width: 768px) { .section { padding: 72px 0; } .section--tight { padding: 8px 0 44px; } .section--row { padding-top: 48px; } }
/* Product rows follow each other closely so the page keeps its momentum */
.section:has(> .wrap > .row-scroll) { padding: 30px 0; }
@media (min-width: 768px) { .section:has(> .wrap > .row-scroll) { padding: 44px 0; } }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 20px;
}
.section-title { min-width: 0; }
.section-head h2, .section-title h2 { font-size: 31px; }
@media (min-width: 768px) { .section-head h2, .section-title h2 { font-size: 46px; } .section-head { margin-bottom: 28px; } }
.orn { display: flex; align-items: center; gap: 8px; width: 132px; margin-top: 12px; color: var(--gold-ink); }
.orn { background: linear-gradient(rgba(122, 91, 20, 0.2), rgba(122, 91, 20, 0.2)) center / 100% 1px no-repeat; }
.orn::before, .orn::after { content: ""; height: 1px; flex: 1; background: currentColor; opacity: 0.6; transform-origin: left; transition: transform 0.9s var(--ease-out) 0.15s; }
.orn::after { transform-origin: right; }
.orn svg { width: 14px; height: 14px; fill: currentColor; flex: none; transition: transform 0.9s var(--ease-out); }
html.js .orn:not(.is-in)::before, html.js .orn:not(.is-in)::after { transform: scaleX(0); }
html.js .orn:not(.is-in) svg { transform: rotate(-90deg) scale(0.4); }
.section-text { color: var(--ink-2); margin-top: 10px; max-width: 60ch; }
.section-tools { display: flex; align-items: center; gap: 16px; flex: none; }
.see-all { font-size: 14.5px; font-weight: 600; white-space: nowrap; color: var(--peacock); text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.row-nav { display: none; gap: 8px; }
@media (min-width: 900px) { .row-nav { display: flex; } }
.row-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--peacock); background: transparent; color: var(--peacock); cursor: pointer; transition: background-color 0.2s, color 0.2s, opacity 0.2s; }
.row-btn:hover:not([disabled]) { background: var(--peacock); color: var(--pearl); }
.row-btn[disabled] { opacity: 0.3; cursor: default; }
.row-btn svg { width: 20px; height: 20px; }
.row-progress { position: relative; height: 3px; margin-top: 18px; border-radius: 3px; background: rgba(31, 84, 102, 0.14); overflow: hidden; }
.row-progress i { position: absolute; top: 0; bottom: 0; left: 0; width: var(--w, 30%); transform: translateX(var(--x, 0)); background: linear-gradient(90deg, var(--peacock), var(--gold-ink)); border-radius: 3px; transition: transform 0.15s linear; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow-x: clip;
  background:
    radial-gradient(120% 70% at 75% 30%, rgba(227, 194, 122, 0.14), transparent 60%),
    var(--jaal),
    linear-gradient(180deg, var(--peacock) 0%, var(--peacock-deep) 100%);
  color: var(--pearl);
  padding: 20px 0 58px;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -15px; height: 16px; z-index: 1;
  background: var(--peacock-deep);
  -webkit-mask: var(--scallop-down) left top / 32px 16px repeat-x;
  mask: var(--scallop-down) left top / 32px 16px repeat-x;
}
/* On phones the arch comes straight after the heading; the rest of the copy follows it */
.hero-grid { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-copy { display: contents; }
.hero-urdu { order: 1; font-family: var(--urdu); font-weight: 500; font-size: 38px; line-height: 2; color: var(--gold); margin-bottom: -10px; text-shadow: 0 2px 18px rgba(227, 194, 122, 0.35); }
.hero-h { order: 2; font-size: clamp(33px, 9.4vw, 52px); line-height: 1.06; max-width: 13em; }
.hero-stage { order: 3; margin-top: 34px; width: 100%; display: grid; justify-items: center; }
.hero .lede { order: 4; margin-top: 28px; color: var(--on-peacock-2); max-width: 36ch; }
.hero .actions { order: 5; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.hero-rating { order: 6; display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--on-peacock-2); text-decoration: none; }
.hero-rating b { color: var(--pearl); font-weight: 600; }
.hero-rating:hover span { text-decoration: underline; text-underline-offset: 3px; }
.stars { display: inline-flex; gap: 1px; color: var(--gold); }
.stars svg { width: 16px; height: 16px; }

/* One orchestrated entrance: the name writes itself right to left, the
   heading rises word by word, then the arch outline climbs and meets at the top */
.hero-urdu span { display: inline-block; animation: write 1.5s var(--ease) 0.1s both; }
@keyframes write { from { clip-path: inset(-60% -10% -60% 100%); } to { clip-path: inset(-60% -10% -60% -10%); } }
.hero-h .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.04em 0.02em 0.14em; margin-bottom: -0.1em; }
.hero-h .w > span { display: inline-block; animation: word-up 1s var(--ease-out) both; animation-delay: calc(0.35s + var(--i) * 0.075s); }
@keyframes word-up { from { transform: translateY(110%) rotate(4deg); } }
.hero .lede, .hero .actions, .hero-rating { animation: settle 0.9s var(--ease-out) 0.85s both; }
@keyframes settle { from { opacity: 0; transform: translateY(14px); } }

.story { position: relative; width: min(74vw, 420px); --px: 0; --py: 0; }
.medallion {
  position: absolute; z-index: 0; left: 50%; top: 4%; width: 165%; aspect-ratio: 1; height: auto;
  color: var(--gold); opacity: 0.2; pointer-events: none;
  translate: calc(-50% + var(--px) * -14px) calc(-12% + var(--py) * -10px);
  animation: spin 140s linear infinite, fade-in 2s ease 0.6s both;
}
@keyframes spin { to { rotate: 360deg; } }
@keyframes fade-in { from { opacity: 0; } }
.story-art { position: relative; z-index: 1; aspect-ratio: 4 / 5; }
.fan {
  position: absolute; top: 10%; width: 60%; aspect-ratio: 3 / 4; z-index: 0;
  /* Arch shape, fading out towards the bottom */
  -webkit-mask: var(--arch) center / 100% 100% no-repeat, linear-gradient(#000 45%, transparent 92%);
  -webkit-mask-composite: source-in;
  mask: var(--arch) center / 100% 100% no-repeat, linear-gradient(#000 45%, transparent 92%);
  mask-composite: intersect;
  filter: brightness(0.62) saturate(0.85);
  transition: transform 0.9s var(--ease-out);
  animation: fan-in 1.2s var(--ease-out) 1.2s both;
}
.fan img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s var(--ease); }
.fan.is-swapping img { opacity: 0 !important; }
.fan--l { left: -30%; transform: translate(calc(var(--px) * 10px), calc(var(--py) * 6px)) rotate(-9deg); }
.fan--r { right: -30%; transform: translate(calc(var(--px) * 10px), calc(var(--py) * 6px)) rotate(9deg); }
@keyframes fan-in { from { opacity: 0; transform: translateY(30px) rotate(0deg) scale(0.9); } }
.story-frame {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
  aspect-ratio: auto; background: var(--peacock-deep);
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
  box-shadow: 0 30px 60px rgba(8, 24, 30, 0.45);
  animation: unveil 1.1s var(--ease-out) 0.5s both;
}
@keyframes unveil { from { opacity: 0; transform: scale(0.95); } }
.story-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease); }
.story-slide.is-on { opacity: 1; }
.story-slide img { width: 100%; height: 100%; object-fit: cover; }
.story-slide.is-on img { animation: drift 7s linear both; }
@keyframes drift { from { transform: scale(1.1); } }
.story-tap { position: absolute; top: 0; bottom: 0; z-index: 2; border: 0; padding: 0; background: none; cursor: pointer; }
.story-tap--prev { left: 0; width: 34%; }
.story-tap--next { right: 0; width: 66%; }
.story-tap:focus-visible { outline-offset: -6px; }
.story-art > .arch-line { z-index: 2; }
.story-art > .arch-line path { animation: draw 1.8s var(--ease) 0.6s both; }
.story-line--inner { inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); opacity: 0.55; }
.story-line--inner path { stroke-width: 1.2; animation-delay: 0.8s !important; }
@keyframes draw { from { stroke-dashoffset: 1; } }
.arch-finial {
  position: absolute; z-index: 2; left: 50%; top: -28px; width: 10px; height: 10px;
  background: var(--gold); transform: translateX(-50%) rotate(45deg); border-radius: 1px;
  box-shadow: 0 0 0 4px rgba(227, 194, 122, 0.18);
  animation: pop 0.5s var(--ease) 2.2s both;
}
@keyframes pop { from { opacity: 0; transform: translateX(-50%) rotate(45deg) scale(0); } }
.twinkle { position: absolute; z-index: 3; width: 18px; height: 18px; fill: var(--gold); pointer-events: none; animation: twinkle 3.6s ease-in-out infinite; }
.twinkle.t1 { left: -9%; top: 18%; animation-delay: 2.4s; }
.twinkle.t2 { right: -10%; top: 48%; width: 13px; height: 13px; animation-delay: 3.4s; }
.twinkle.t3 { left: 2%; bottom: -4%; width: 11px; height: 11px; animation-delay: 4.3s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); } 45%, 55% { opacity: 1; transform: scale(1) rotate(45deg); } }

.story-caps { position: relative; z-index: 3; display: grid; justify-items: center; margin-top: -30px; min-height: 58px; }
.story-cap {
  grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 8px; max-width: 96%;
  background: var(--pearl); color: var(--ink); text-align: left;
  border-radius: 999px; padding: 5px 5px 5px 18px;
  box-shadow: 0 14px 30px rgba(8, 24, 30, 0.38), 0 0 0 1px rgba(227, 194, 122, 0.5);
}
.story-cap[hidden] { display: none; }
.story-cap.is-entering { animation: settle 0.55s var(--ease-out) both; }
.story-link { display: flex; flex-direction: column; min-width: 0; text-decoration: none; line-height: 1.2; }
.story-link span { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story-link b { font-size: 15.5px; font-weight: 600; color: var(--peacock); }
.story-link s { color: var(--ink-2); font-weight: 400; font-size: 13px; }
.story-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.story-order, .look-order {
  position: relative; overflow: hidden; isolation: isolate;
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(180deg, var(--wa-top), var(--wa)); color: #fff;
  box-shadow: 0 2px 0 var(--wa-dark);
}
.story-order svg, .look-order svg { width: 22px; height: 22px; }

.story-foot { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.story-bars { flex: 1; display: flex; gap: 5px; }
.story-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(252, 245, 241, 0.24); overflow: hidden; }
.story-bars b { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.story-bars i.done b { transform: scaleX(1); }
.story-bars i.on b { animation: fill var(--dur, 6s) linear forwards; }
.story.is-paused .story-bars i.on b { animation-play-state: paused; }
.story.is-manual .story-bars i.on b { animation: none; transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
.story-pause {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
  border: 1px solid rgba(252, 245, 241, 0.4); border-radius: 50%; background: none; color: var(--pearl); cursor: pointer;
}
.story-pause svg { width: 15px; height: 15px; }
.story-pause svg + svg, .story-pause[aria-pressed="true"] svg:first-child { display: none; }
.story-pause[aria-pressed="true"] svg + svg { display: block; }

@media (min-width: 640px) {
  .hero-h { font-size: 52px; }
  .story { width: 360px; }
}
@media (min-width: 1024px) {
  .hero { padding: 56px 0 110px; }
  .hero-grid {
    display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center; gap: 56px; text-align: left;
  }
  .hero-copy { display: block; position: relative; z-index: 2; }
  .hero-urdu { font-size: 56px; margin-bottom: -14px; }
  .hero-h { font-size: clamp(56px, 5.4vw, 84px); max-width: 11em; }
  .hero .lede { margin-top: 24px; font-size: 18.5px; }
  .hero .actions { justify-content: flex-start; margin-top: 28px; }
  .hero-stage { margin-top: 10px; justify-items: center; }
  .story { width: min(100%, 420px); }
  .fan--l { left: -24%; }
  .fan--r { right: -24%; }
}

/* ---------- Fabric ribbon ---------- */
.ribbon { position: relative; overflow: hidden; padding: 30px 0 6px; }
.ribbon-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 55s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon span { font-family: var(--display); font-size: 30px; line-height: 1.2; color: var(--peacock); white-space: nowrap; }
.ribbon span.is-outline { color: transparent; -webkit-text-stroke: 1.1px var(--peacock); }
.ribbon .spark { width: 18px; height: 18px; fill: var(--gold-ink); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (min-width: 768px) { .ribbon span { font-size: 40px; } .ribbon { padding-top: 40px; } }

/* ---------- Section arches ---------- */
.cats-band { padding-top: 34px; }
.cat-rail {
  display: flex; gap: 16px; overflow-x: auto;
  padding: 14px var(--gutter) 10px; margin: 0 calc(var(--gutter) * -1);
  scroll-snap-type: x proximity; scroll-padding: 0 var(--gutter);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.cat-rail::-webkit-scrollbar { display: none; }
.cat-card { flex: 0 0 auto; width: 124px; text-align: center; text-decoration: none; scroll-snap-align: start; }
.cat-art { position: relative; display: block; margin: 0 6px; }
.cat-art .arch img { transition: transform 0.9s var(--ease-out); }
.cat-line { inset: -7px; width: calc(100% + 14px); height: calc(100% + 14px); }
.cat-line path { stroke: var(--gold-ink); stroke-width: 1.6; opacity: 0.45; transition: opacity 0.3s; }
.cat-name { display: block; margin-top: 14px; font-family: var(--display); font-size: 19px; line-height: 1.1; }
.cat-count { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-2); }
.cat-card.is-sale .cat-name { color: var(--sale); }
@media (hover: hover) {
  .cat-card:hover .arch img { transform: scale(1.08); }
  .cat-card:hover .cat-line path { opacity: 1; animation: draw 0.9s var(--ease) both; }
}
@media (min-width: 900px) {
  .cat-rail { justify-content: center; gap: 22px; overflow: visible; margin: 0; padding: 14px 0 0; }
  .cat-card { width: 140px; }
  .cat-name { font-size: 21px; }
}

/* ---------- Product rows (horizontal) ---------- */
.row-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: 46%;
  gap: 12px; overflow-x: auto;
  padding: 0 var(--gutter) 6px; margin: 0 calc(var(--gutter) * -1);
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll > * { scroll-snap-align: start; }
@media (min-width: 768px) { .row-scroll { grid-auto-columns: 30%; gap: 18px; } }
@media (min-width: 1100px) { .row-scroll { grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px; margin: 0; padding: 0 0 6px; scroll-padding: 0; scroll-behavior: smooth; } }

/* ---------- Product grid + card ---------- */
.grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 12px;
}
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 22px; } }

.card { position: relative; min-width: 0; display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.card.is-sold .slides img { filter: saturate(0.55); opacity: 0.85; }

.slides {
  position: relative; isolation: isolate;
  aspect-ratio: 3 / 4;
  background: var(--rose-2);
  border-radius: var(--radius);
  overflow: hidden;
}
/* While a photo is on its way: a faint gold sheen sweeps across the woven ground */
.slides::before, .arch::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, transparent 35%, rgba(252, 245, 241, 0.55) 50%, transparent 65%) 0 0 / 250% 100%,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='64' viewBox='0 0 48 64'%3E%3Cg fill='none' stroke='%237A5B14' stroke-opacity='.1'%3E%3Cpath d='M24-16C40-5.3 40 5.3 24 16S8 37.3 24 48 40 69.3 24 80M24-16C8-5.3 8 5.3 24 16S40 37.3 24 48 8 69.3 24 80'/%3E%3C/g%3E%3C/svg%3E"),
    var(--rose-2);
  animation: sheen 1.8s linear infinite;
}
.arch::before { z-index: 0; }
.arch img { position: relative; z-index: 1; }
@keyframes sheen { from { background-position: 150% 0, 0 0, 0 0; } to { background-position: -100% 0, 0 0, 0 0; } }
/* Stop the sheen once the photo is in, so hidden layers never keep repainting */
.slides:has(img.is-loaded)::before, .arch:has(img.is-loaded)::before { animation: none; }
.slides-track {
  display: flex; height: 100%;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.slides-track::-webkit-scrollbar { display: none; }
.slides-track > a, .slides-track > button, .slides-track > div {
  position: relative; overflow: hidden;
  flex: 0 0 100%; height: 100%;
  scroll-snap-align: start; scroll-snap-stop: always;
  display: block; padding: 0; border: 0; background: none;
}
.slides-track img { width: 100%; height: 100%; object-fit: cover; }
.card-alt { position: absolute; inset: 0; opacity: 0 !important; transition: opacity 0.5s var(--ease) !important; }
@media (hover: hover) {
  .card:hover .slides-track > a:first-child > img:first-child { transform: scale(1.05); }
  .card:hover .card-alt.is-loaded { opacity: 1 !important; }
  .card:hover .dots { opacity: 0; }
}

.dots {
  position: absolute; left: 0; right: 0; bottom: 10px;
  display: flex; justify-content: center; gap: 5px; pointer-events: none; transition: opacity 0.2s;
}
.dots i {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(252, 245, 241, 0.7); box-shadow: 0 0 0 1px rgba(22, 62, 76, 0.25);
  transition: transform 0.2s, background-color 0.2s, width 0.25s;
}
.dots i.on { background: #fff; width: 16px; border-radius: 3px; }

.slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(252, 245, 241, 0.94); color: var(--ink);
  display: none; place-items: center; cursor: pointer;
  box-shadow: 0 4px 12px rgba(10, 30, 38, 0.18);
}
.slide-arrow svg { width: 18px; height: 18px; }
.slide-arrow.prev { left: 8px; }
.slide-arrow.next { right: 8px; }
@media (hover: hover) and (min-width: 768px) {
  .slides:hover .slide-arrow, .slides:focus-within .slide-arrow { display: grid; }
  .slide-arrow[disabled] { opacity: 0; pointer-events: none; }
}

.badges { position: absolute; top: 10px; left: 10px; z-index: 3; display: flex; flex-wrap: wrap; gap: 5px; pointer-events: none; }
.badge {
  display: inline-block;
  background: var(--sale); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  padding: 3px 10px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(10, 30, 38, 0.18);
}
.badge--sold { background: var(--peacock); }
.badge--new { background: var(--gold); color: var(--ink); }

.qv-btn {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3;
  display: none; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; border: 0; border-radius: 999px;
  background: rgba(252, 245, 241, 0.95); color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer;
  opacity: 0; transform: translateY(10px); transition: opacity 0.3s var(--ease), transform 0.35s var(--ease-out), background-color 0.2s;
  box-shadow: 0 8px 20px rgba(10, 30, 38, 0.2);
}
.qv-btn svg { width: 18px; height: 18px; }
.qv-btn:hover { background: #fff; }
@media (hover: hover) and (min-width: 900px) {
  .qv-btn { display: flex; }
  .card:hover .qv-btn, .qv-btn:focus-visible { opacity: 1; transform: none; }
}

.card-body { padding-top: 11px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card-tags { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); min-height: 22px; }
.card-tags span:first-child:not(.size-chip) { color: var(--gold-ink); font-weight: 600; }
.card-h { margin: 0; font: inherit; }
.card-title {
  font-size: 14.5px; line-height: 1.35; font-weight: 500;
  text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.price { font-weight: 600; font-size: 17px; }
.price.is-sale { color: var(--sale); }
.was { color: var(--ink-2); text-decoration: line-through; font-size: 13.5px; }
.size-chip { font-size: 12px; font-weight: 600; color: var(--ink); border: 1px solid var(--line); background: var(--pearl); border-radius: 999px; padding: 0 9px; line-height: 21px; }
.card-actions { display: grid; grid-template-columns: 1fr 42px; gap: 7px; margin-top: auto; padding-top: 10px; }
.card-actions .btn { min-height: 42px; padding: 0 10px; font-size: 14px; gap: 6px; }
.card-actions .btn svg { width: 18px; height: 18px; }
.add-btn {
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 1.5px solid var(--peacock); border-radius: 50%; background: transparent; color: var(--peacock); cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.add-btn svg { width: 19px; height: 19px; }
.add-btn:hover { background: var(--rose-2); }
.add-btn:active { transform: scale(0.92); }
.add-btn.is-added { background: var(--peacock); color: var(--pearl); }

/* ---------- Collection and info page banner ---------- */
.coll-hero {
  position: relative; isolation: isolate; overflow-x: clip;
  background: radial-gradient(90% 90% at 85% 20%, rgba(227, 194, 122, 0.14), transparent 60%), var(--jaal), linear-gradient(180deg, var(--peacock), var(--peacock-deep));
  color: var(--pearl); padding: 18px 0 38px; margin-bottom: 12px;
}
.coll-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -15px; height: 16px;
  background: var(--peacock-deep);
  -webkit-mask: var(--scallop-down) left top / 32px 16px repeat-x; mask: var(--scallop-down) left top / 32px 16px repeat-x;
}
.coll-hero-grid { display: grid; gap: 18px; align-items: end; }
.coll-hero .crumbs { color: var(--on-peacock-2); }
.coll-hero .crumbs li + li::before { color: var(--gold); opacity: 0.7; }
.coll-hero h1 { font-size: clamp(38px, 10vw, 66px); line-height: 1.02; }
.coll-hero h1 { animation: settle 0.8s var(--ease-out) both; }
.coll-hero .intro { margin-top: 12px; color: var(--on-peacock-2); max-width: 58ch; }
.coll-meta { margin-top: 14px; font-size: 14px; color: var(--on-peacock-2); display: flex; align-items: center; gap: 10px; }
.coll-meta b { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--gold); line-height: 1; }
.coll-meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 2px 0; background: var(--gold); transform: rotate(45deg); }
.coll-arches { display: flex; align-items: flex-end; gap: 12px; }
.coll-arch { position: relative; display: block; width: 62px; flex: none; animation: settle 0.9s var(--ease-out) both; }
.coll-arch:nth-child(2) { width: 74px; animation-delay: 0.12s; }
.coll-arch:nth-child(3) { animation-delay: 0.24s; }
.coll-line { inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); }
.coll-line path { stroke-width: 1.6; }
.coll-urdu { font-family: var(--urdu); font-weight: 500; font-size: 44px; line-height: 2; color: var(--gold); opacity: 0.85; }
@media (min-width: 900px) {
  .coll-hero { padding: 40px 0 64px; }
  .coll-hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .coll-arches { justify-content: flex-end; gap: 18px; }
  .coll-arch { width: 130px; }
  .coll-arch:nth-child(2) { width: 160px; }
  .coll-urdu { font-size: 84px; justify-self: end; }
}

.page-head { padding-top: 22px; padding-bottom: 12px; }
.crumbs { font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.toolbar {
  position: sticky; top: var(--header-h); z-index: 40;
  background: color-mix(in srgb, var(--rose) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.chips {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 14px var(--gutter) 12px; margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--pearl); font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--peacock); }
.chip[aria-current="page"], .chip[aria-pressed="true"] { background: var(--peacock); border-color: var(--peacock); color: var(--pearl); }
.chip.is-sale { color: var(--sale); }
.chip.is-sale[aria-current="page"] { background: var(--sale); border-color: var(--sale); color: #fff; }
.tools-row { display: flex; gap: 8px; align-items: center; }
.search-field { position: relative; flex: 1; }
.search-field svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-2); pointer-events: none; }
.search-field input {
  width: 100%; min-height: 44px; padding: 0 14px 0 40px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--pearl);
  font: inherit; font-size: 16px; color: var(--ink);
}
.search-field input:focus { border-color: var(--peacock); outline: none; box-shadow: 0 0 0 3px rgba(31, 84, 102, 0.15); }
.filter-btn { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--peacock); border-radius: 999px; background: transparent; color: var(--peacock); font-weight: 600; font-size: 14.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.filter-btn svg { width: 18px; height: 18px; }
.filter-btn .n { background: var(--peacock); color: var(--pearl); border-radius: 9px; font-size: 11px; padding: 1px 6px; }
.quick-sizes { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 16px 0 2px; scrollbar-width: none; }
.quick-sizes::-webkit-scrollbar { display: none; }
.quick-sizes span { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-right: 2px; }
.qs { flex: none; min-width: 46px; min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--pearl); font-weight: 600; font-size: 14px; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.qs:hover { border-color: var(--peacock); }
.qs[aria-pressed="true"] { background: var(--peacock); border-color: var(--peacock); color: var(--pearl); }
.result-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 0 18px; font-size: 14px; color: var(--ink-2); }
.result-line button[data-clear] { background: none; border: 0; text-decoration: underline; cursor: pointer; font-size: 14px; padding: 0; color: var(--ink); margin-left: auto; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.af { display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 0 6px 0 12px; border-radius: 999px; border: 0; background: var(--peacock); color: var(--pearl); font-size: 13px; font-weight: 500; cursor: pointer; animation: bag-in 0.3s var(--ease-out); }
.af svg { width: 16px; height: 16px; }

.empty { text-align: center; padding: 48px 16px; }
.empty h2 { font-size: 28px; }
.empty p { color: var(--ink-2); margin: 8px 0 18px; }
.empty .btn { margin: 4px; }

/* Filter sheet */
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  max-height: 86vh; background: var(--pearl);
  border-radius: 24px 24px 0 0;
  display: flex; flex-direction: column;
  transform: translateY(100%); visibility: hidden;
  transition: transform 0.4s var(--ease-out), visibility 0.4s;
}
.sheet.is-open { transform: none; visibility: visible; }
@media (min-width: 768px) {
  .sheet { left: auto; top: 0; width: 420px; max-height: none; border-radius: 0; transform: translateX(100%); }
}
.sheet fieldset { border: 0; margin: 0; padding: 18px var(--gutter) 6px; border-bottom: 1px solid var(--line); }
.sheet legend { font-weight: 600; font-size: 15.5px; padding: 0; margin-bottom: 10px; }
.opt-grid { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 12px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; background: var(--rose);
  transition: background-color 0.2s, color 0.2s;
}
.opt input:checked + span { background: var(--peacock); border-color: var(--peacock); color: var(--pearl); }
.opt input:focus-visible + span { outline: 2px solid var(--peacock); outline-offset: 2px; }
.sheet-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }

.seo-copy { max-width: 70ch; color: var(--ink-2); font-size: 15px; }
.seo-copy h2 { font-size: 26px; color: var(--ink); margin-bottom: 10px; }
.seo-copy p + p { margin-top: 10px; }
.seo-copy a { color: var(--ink); }

/* ---------- Product page ---------- */
.pdp { padding-bottom: 24px; }
.pdp .crumbs { padding-top: 14px; padding-bottom: 10px; margin: 0; }
.pdp-grid { display: grid; gap: 22px; }
.pdp-gallery { margin: 0 calc(var(--gutter) * -1); position: relative; }
.pdp-gallery .slides { aspect-ratio: 3 / 4; border-radius: 0; }
.pdp-gallery .slides-track > :first-child img { view-transition-name: pdp-photo; }
.pdp-gallery .slides-track > button { cursor: zoom-in; }
.zoomable img { transition: transform 0.35s var(--ease), opacity 0.6s var(--ease) !important; }
.zoomable.is-zooming img { transform: scale(1.9); transition: transform 0.15s linear !important; }
.counter {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  background: rgba(22, 62, 76, 0.82); color: var(--pearl);
  font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.thumbs { display: none; }

.pdp-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 8px; }
.pdp-kicker a { color: var(--peacock); font-weight: 600; text-decoration: none; }
.pdp-kicker a:hover { text-decoration: underline; }
.pdp-kicker span { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-ink); font-weight: 600; }
.pdp-kicker span::before { content: ""; width: 5px; height: 5px; background: var(--gold-ink); transform: rotate(45deg); }
.pdp-info h1 { font-size: clamp(27px, 6.6vw, 44px); line-height: 1.08; view-transition-name: pdp-title; }
.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: 14px; }
.pdp-price .price { font-size: 28px; }
.pdp-price .was { font-size: 16px; }
.pdp-price .save { font-size: 13px; font-weight: 600; color: #fff; background: var(--sale); border-radius: 999px; padding: 3px 11px; align-self: center; }
.pdp-trust { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; color: var(--ink-2); text-decoration: none; }
.pdp-trust .stars { color: var(--gold-ink); }
.pdp-trust .stars svg { width: 14px; height: 14px; }
.pdp-trust:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.sold-note { margin-top: 8px; color: var(--ink-2); }
.facts {
  display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
  background: var(--pearl); border: 1px solid var(--line); border-radius: var(--radius);
  margin-top: 18px; overflow: hidden;
}
.facts div { padding: 11px 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.facts dt { font-size: 12.5px; color: var(--ink-2); }
.facts dd { font-weight: 600; font-size: 16.5px; margin-top: 1px; }
.measure-box { margin-top: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--pearl); overflow: hidden; }
.measure-box summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--peacock); }
.measure-box summary::-webkit-details-marker { display: none; }
.measure-box summary svg { width: 20px; height: 20px; flex: none; }
.measure-box summary::after { content: "+"; margin-left: auto; font-size: 22px; font-weight: 400; }
.measure-box[open] summary::after { content: "\2212"; }
.measure { padding: 4px 14px 16px; }
.measure svg { display: block; width: 100%; max-width: 300px; margin: 0 auto; overflow: visible; }
.measure .garment { fill: var(--rose); stroke: var(--peacock); stroke-width: 1.6; stroke-linejoin: round; }
.measure .garment-detail { fill: none; stroke: var(--peacock); stroke-opacity: 0.45; stroke-dasharray: 3 3; }
.measure .mline path { fill: none; stroke: var(--gold-ink); stroke-width: 1.5; }
.measure .mline text { font: 600 11px var(--sans); fill: var(--ink); }
.measure figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-2); text-align: center; }
.measure--guide { margin: 20px 0 8px; padding: 22px 16px 18px; background: var(--rose); border-radius: 22px; border: 1px solid var(--line); }
.measure--guide figcaption { max-width: 46ch; margin: 10px auto 0; font-size: 14px; }
.measure-box[open] .mline path:not(.tick) { stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 0.9s var(--ease) both; }
.pdp-cta { display: grid; gap: 10px; margin-top: 20px; }
.pdp-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 14px; }
.pdp-links button, .pdp-links a { background: none; border: 0; padding: 6px 0; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--peacock); text-decoration: underline; text-underline-offset: 4px; display: inline-flex; align-items: center; gap: 6px; }
.pdp-links svg { width: 17px; height: 17px; }
.assure { margin-top: 18px; display: grid; gap: 10px; font-size: 14.5px; padding: 14px 16px; border-radius: var(--radius); background: rgba(252, 245, 241, 0.6); border: 1px dashed var(--line); }
.assure li { display: flex; gap: 10px; align-items: flex-start; }
.assure svg { width: 20px; height: 20px; flex: none; color: var(--peacock); margin-top: 2px; }

.accordion { margin-top: 22px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  min-height: 56px; font-weight: 600; font-size: 16px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 24px; font-weight: 400; line-height: 1; color: var(--peacock); transition: transform 0.3s; }
.accordion details[open] summary::after { content: "\2212"; }
.accordion .acc-body { padding: 0 0 18px; color: var(--ink-2); font-size: 15px; }
.accordion details[open] .acc-body { animation: settle 0.4s var(--ease-out); }
.accordion .acc-body p + p { margin-top: 8px; }
.her-words { margin-top: 14px; padding: 14px 16px; background: var(--pearl); border-radius: var(--radius); }
.her-words p + p { margin-top: 6px; }
.her-label { font-family: var(--display); font-size: 18px; color: var(--ink); }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.spec dt { color: var(--ink-2); }
.spec dd { color: var(--ink); font-weight: 500; }

@media (min-width: 900px) {
  .pdp-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
  .pdp-gallery { margin: 0; display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
  .pdp-gallery .slides { border-radius: 22px; }
  .thumbs { display: flex; flex-direction: column; gap: 8px; }
  .thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; background: var(--rose-2); cursor: pointer; aspect-ratio: 3 / 4; overflow: hidden; transition: border-color 0.2s, opacity 0.2s; opacity: 0.7; }
  .thumbs button:hover { opacity: 1; }
  .thumbs button[aria-current="true"] { border-color: var(--peacock); opacity: 1; }
  .thumbs img { width: 100%; height: 100%; object-fit: cover; }
  .pdp-info { position: sticky; top: calc(var(--header-h) + 24px); }
}

.seen-list { display: grid; grid-auto-flow: column; grid-auto-columns: 38%; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.seen-list::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .seen-list { grid-auto-columns: 18%; } }
.seen-list a { display: block; text-decoration: none; }
.seen-list img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; background: var(--rose-2); }
.seen-list b { display: block; margin-top: 8px; font-weight: 500; font-size: 13.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.seen-list span { font-weight: 600; color: var(--peacock); font-size: 14px; }

/* Sticky order bar on phones */
.order-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--pearl) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(22, 62, 76, 0.1);
  transform: translateY(115%); transition: transform 0.35s var(--ease-out);
}
.order-bar.is-on { transform: none; }
.order-bar .p { font-weight: 600; font-size: 18px; line-height: 1.1; }
.order-bar .p small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-2); max-width: 30vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 900px) { .order-bar { display: none; } }
@media (max-width: 899px) { body.page-product { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }

/* Photo viewer */
.viewer { padding: 0; border: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: #0F2C36; color: var(--pearl); }
.viewer::backdrop { background: #0F2C36; }
.viewer .slides { border-radius: 0; background: none; aspect-ratio: auto; }
.viewer .slides-track { height: calc(100dvh - 56px); }
.viewer .slides-track > div { display: grid; place-items: center; overflow: auto; touch-action: pan-x pan-y pinch-zoom; }
.viewer img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; opacity: 1 !important; }
.viewer-bar { display: flex; justify-content: space-between; align-items: center; height: 56px; padding: 0 8px 0 16px; font-size: 14px; }
.viewer .icon-btn { color: var(--pearl); }
.viewer .icon-btn:hover { background: rgba(252, 245, 241, 0.12); }

/* ---------- Home blocks ---------- */
.proof { display: grid; gap: 12px; }
.proof-main {
  position: relative; overflow: hidden;
  background: radial-gradient(80% 90% at 90% 10%, rgba(227, 194, 122, 0.16), transparent 60%), var(--jaal), linear-gradient(160deg, var(--peacock), var(--peacock-deep));
  color: var(--pearl);
  border-radius: 26px; padding: 28px 24px 26px;
}
.seal { position: absolute; right: -22px; top: -22px; width: 140px; height: 140px; color: var(--gold); opacity: 0.85; animation: spin 50s linear infinite; }
.seal-ring { fill: none; stroke: currentColor; stroke-opacity: 0.55; stroke-width: 0.8; }
.seal-ring--in { stroke-dasharray: 2 3; }
.seal-text { font: 600 9.4px var(--sans); fill: currentColor; letter-spacing: 0.06em; }
.seal-star { fill: currentColor; }
.proof-main .stars svg { width: 22px; height: 22px; }
.proof-score { margin-top: 8px; font-size: 18px; color: var(--on-peacock-2); }
.proof-score b { font-family: var(--display); font-weight: 400; font-size: 80px; line-height: 0.9; color: var(--pearl); margin-right: 6px; }
.proof-main p:not(.proof-score) { margin-top: 10px; color: var(--on-peacock-2); max-width: 36ch; }
.proof-main a { display: inline-block; margin-top: 14px; color: var(--gold); font-weight: 600; text-underline-offset: 4px; }
/* On phones the three facts swipe sideways instead of stacking */
.proof-list {
  display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
}
.proof-list::-webkit-scrollbar { display: none; }
.proof-list li { scroll-snap-align: start; background: var(--pearl); border-radius: 22px; padding: 20px; display: grid; align-content: start; gap: 4px; border: 1px solid rgba(224, 198, 188, 0.7); }
.proof-list li > svg { width: 26px; height: 26px; color: var(--gold-ink); margin-bottom: 6px; }
.proof-list b { font-family: var(--display); font-weight: 400; font-size: 23px; line-height: 1.1; }
.proof-list span { color: var(--ink-2); font-size: 14.5px; }
.proof-list a { color: var(--peacock); font-weight: 600; font-size: 14.5px; margin-top: 6px; text-underline-offset: 4px; }
@media (min-width: 900px) {
  .proof { grid-template-columns: 1fr 1.25fr; gap: 16px; }
  .proof-list { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }
  .proof-list li { grid-template-columns: 34px 1fr; column-gap: 14px; }
  .proof-list li > svg { grid-row: span 3; margin: 2px 0 0; }
  .proof-main { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
  .proof-score b { font-size: 104px; }
  .seal { width: 170px; height: 170px; }
}

.feature {
  position: relative; display: grid; gap: 26px;
  background: radial-gradient(70% 80% at 0% 100%, rgba(227, 194, 122, 0.22), transparent 60%), var(--rose-2);
  border-radius: 30px; padding: 30px 26px 30px;
  border: 1px solid rgba(122, 91, 20, 0.18);
}
.corner { position: absolute; width: 50px; height: 50px; color: var(--gold-ink); opacity: 0.75; pointer-events: none; }
.c-tl { top: 12px; left: 12px; }
.c-tr { top: 12px; right: 12px; transform: scaleX(-1); }
.c-bl { bottom: 12px; left: 12px; transform: scaleY(-1); }
.c-br { bottom: 12px; right: 12px; transform: scale(-1); }
.feature-img { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 14px 8px 0; }
.feature-arch { position: relative; display: block; }
.feature-arch:nth-child(2) { transform: translateY(24px); }
.feature-arch .arch img { transform: scale(1.16); }
.feature-line { inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); }
.feature-line path { stroke: var(--gold-ink); stroke-width: 1.4; }
@supports (animation-timeline: view()) {
  .feature-arch .arch img.is-loaded { animation: drift-y linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes drift-y { from { transform: translateY(-6%) scale(1.16); } to { transform: translateY(6%) scale(1.16); } }
}
.feature-copy { position: relative; }
.feature-copy h2 { font-size: 34px; }
.feature-copy > p { margin-top: 10px; color: var(--ink-2); max-width: 42ch; }
.feature-copy .btn { margin-top: 18px; }
.look-list { display: grid; gap: 8px; margin-top: 18px; }
.look-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr) 44px; gap: 12px; align-items: center; padding: 6px 6px 6px 6px; background: rgba(252, 245, 241, 0.75); border-radius: 16px; }
.look-img img { width: 48px; height: 64px; object-fit: cover; border-radius: 10px; }
.look-txt { min-width: 0; display: grid; }
.look-txt a { font-weight: 500; font-size: 14.5px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.look-txt a:hover { text-decoration: underline; }
.look-txt b { font-weight: 600; color: var(--peacock); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 64px; padding: 52px 64px 64px; }
  .feature-img { gap: 22px; }
  .feature-arch:nth-child(2) { transform: translateY(44px); }
  .feature-copy h2 { font-size: 54px; }
  .feature-copy > p { font-size: 18px; }
  .corner { width: 64px; height: 64px; }
}

.order-band { background: var(--pearl); position: relative; }
.order-band::before { content: ""; position: absolute; inset: 0 0 auto; height: var(--zari-h); background: var(--zari) repeat-x center; opacity: 0.9; }
.order-grid { display: grid; gap: 34px; }
.order-grid h2 { font-size: 31px; }
.steps { display: grid; gap: 22px; counter-reset: step; margin-top: 24px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; position: relative; }
.steps li::before {
  content: counter(step); grid-row: span 2; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--gold-ink);
  font-family: var(--display); font-size: 24px; line-height: 1; color: var(--gold-ink); background: var(--rose);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 24px; top: 54px; bottom: -18px; width: 1px; background: repeating-linear-gradient(var(--gold-ink) 0 4px, transparent 4px 8px); opacity: 0.5; }
.steps li > div { display: contents; }
.steps h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.3; padding-top: 4px; }
.steps p { color: var(--ink-2); font-size: 15px; margin-top: 2px; }

.wa-demo {
  margin: 0; width: 100%; max-width: 380px; justify-self: center;
  border-radius: 26px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 26px 50px rgba(22, 62, 76, 0.2);
  transform: rotate(-1.5deg);
}
.wa-demo-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #075E54; color: #fff; }
.wa-demo-head img { width: 38px; height: 38px; border-radius: 50%; }
.wa-demo-head span { font-size: 15px; font-weight: 600; line-height: 1.2; }
.wa-demo-head small { display: block; font-size: 12px; font-weight: 400; opacity: 0.85; }
.wa-demo-body {
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px; padding: 14px 14px 22px; min-height: 360px;
  background: #EAE2D6 radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1.5px) 0 0 / 14px 14px;
}
.wa-day { align-self: center; padding: 3px 10px; border-radius: 8px; background: #fff; color: #54656F; font-size: 11.5px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06); }
.wa-bubble {
  position: relative;
  max-width: 88%; padding: 5px 5px 8px; border-radius: 12px 4px 12px 12px;
  background: #D9FDD3; color: #111B21; font-size: 14px; line-height: 1.4;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}
.wa-bubble img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin-bottom: 6px; background: var(--rose-2); }
.wa-bubble p { padding: 0 6px; }
.wa-bubble p + p { margin-top: 6px; }
.wa-meta { display: flex; justify-content: flex-end; align-items: center; gap: 4px; padding: 2px 6px 0; font-size: 11px; color: #667781; }
.ticks { width: 17px; height: 11px; color: #8696A0; transition: color 0.4s; }
.wa-demo.is-read .ticks { color: #53BDEB; }
html.js .wa-demo[data-chat]:not(.is-sent) .wa-bubble { opacity: 0; transform: translateY(18px) scale(0.94); }
.wa-demo .wa-bubble { transform-origin: bottom right; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out); }
.wa-demo figcaption { padding: 11px 14px; font-size: 13.5px; color: var(--ink-2); background: var(--pearl); }
@media (min-width: 900px) {
  .order-grid { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 72px; }
  .order-grid h2 { font-size: 46px; }
  .steps { gap: 30px; }
  .steps li:not(:last-child)::after { bottom: -26px; }
  .wa-demo { justify-self: end; }
}

.about-band { overflow: hidden; }
.about-strip { display: grid; gap: 10px; align-items: center; }
.about-art { position: relative; display: grid; place-items: center; min-height: 200px; }
.medallion--soft { position: absolute; inset: auto; left: 50%; top: 50%; width: 260px; translate: -50% -50%; color: var(--gold-ink); opacity: 0.18; animation: spin 160s linear infinite reverse; }
.about-strip .urdu-big { position: relative; font-family: var(--urdu); font-weight: 500; font-size: 72px; line-height: 2; color: var(--gold-ink); }
html.js .about-strip .urdu-big:not(.is-in) { clip-path: inset(-60% -10% -60% 100%); }
.about-strip .urdu-big.is-in { animation: write 1.6s var(--ease) both; }
.about-strip h2 { font-size: 32px; }
.about-strip p { color: var(--ink-2); margin-top: 12px; max-width: 58ch; }
.about-strip .about-cta { margin-top: 20px; }
@media (min-width: 900px) {
  .about-strip { grid-template-columns: 1fr 1.6fr; gap: 56px; }
  .about-art { min-height: 340px; }
  .medallion--soft { width: 380px; }
  .about-strip .urdu-big { font-size: 118px; }
  .about-strip h2 { font-size: 48px; }
}

.prose { max-width: 68ch; }
.prose h2 { font-size: 30px; margin: 34px 0 10px; }
.prose h3 { font-size: 17px; font-weight: 600; margin: 22px 0 6px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 10px; }
.prose ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
.prose a { color: var(--peacock); }
.measure-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.measure-table th, .measure-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.measure-table th { font-weight: 600; color: var(--ink); width: 30%; }
.measure-table td { color: var(--ink-2); }
.section--mist { background: var(--pearl); }

.section .steps { margin-top: 0; }
.tiles { display: grid; gap: 12px; }
.tile { position: relative; display: block; padding: 24px; border-radius: 24px; background: var(--pearl); text-decoration: none; border: 1px solid rgba(224, 198, 188, 0.7); transition: transform 0.3s var(--ease-out), box-shadow 0.3s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(22, 62, 76, 0.12); }
.tile--wa { background: linear-gradient(160deg, var(--wa-top), var(--wa-dark)); color: #fff; border-color: transparent; }
.tile h2 { font-size: 30px; }
.tile p { margin-top: 6px; font-size: 15px; }
.tile .big { font-size: 20px; font-weight: 600; margin-top: 12px; display: block; }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 18px; } .tile { padding: 32px; } }
.section--mist .proof > div { background: var(--rose); border-radius: 20px; padding: 20px; }
.section--mist .proof { gap: 12px; }
.section--mist .proof strong { display: block; font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; }
.section--mist .proof span { display: block; margin-top: 6px; color: var(--ink-2); }
.section--mist .proof a { display: inline-block; margin-top: 8px; color: var(--peacock); font-weight: 600; }
@media (min-width: 768px) { .page-about .section--mist .proof { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; margin-top: 56px;
  background: var(--jaal), linear-gradient(180deg, var(--peacock), var(--peacock-deep));
  color: var(--on-peacock-2);
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 16px;
  background: var(--peacock-night);
  -webkit-mask: var(--scallop-up) left bottom / 32px 16px repeat-x;
  mask: var(--scallop-up) left bottom / 32px 16px repeat-x;
}
.foot-band { background: var(--peacock-night); }
.foot-band::after { content: ""; display: block; height: var(--zari-h); background: var(--zari) repeat-x center; }
.foot-band-inner { display: grid; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.foot-band h2 { font-size: 28px; color: var(--pearl); }
.foot-band p { margin-top: 6px; max-width: 52ch; }
@media (min-width: 900px) { .foot-band-inner { grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding-top: 36px; padding-bottom: 36px; } .foot-band h2 { font-size: 36px; } }
.site-footer a { color: var(--pearl); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .btn:hover { text-decoration: none; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 18px; padding-top: 40px; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand .urdu { font-family: var(--urdu); font-weight: 500; font-size: 44px; line-height: 2; color: var(--gold); text-align: left; }
.foot-brand p { font-size: 14.5px; max-width: 40ch; }
.foot-social { margin-top: 18px; }
.foot-social a { border-color: rgba(227, 194, 122, 0.45); color: var(--gold); }
.foot-social a:hover { background: rgba(227, 194, 122, 0.12); transform: translateY(-2px); }
.foot-col h2 { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--gold); margin-bottom: 12px; }
.foot-col li { margin: 9px 0; font-size: 15px; }
.foot-bottom { margin-top: 36px; padding: 18px 0 24px; border-top: 1px solid rgba(252, 245, 241, 0.16); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.to-top { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(252, 245, 241, 0.3); border-radius: 999px; background: none; color: var(--pearl); padding: 8px 14px; font-size: 13.5px; cursor: pointer; }
.to-top:hover { background: rgba(252, 245, 241, 0.1); }
.to-top svg { width: 16px; height: 16px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .foot-brand { grid-column: auto; } }

/* Floating WhatsApp button (pages without the order bar) */
.wa-float {
  position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 45;
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 20px 0 15px; border-radius: 999px;
  background: linear-gradient(180deg, var(--wa-top), var(--wa)); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
  box-shadow: 0 3px 0 var(--wa-dark), 0 10px 22px rgba(7, 92, 63, 0.3);
}
.wa-float svg { width: 24px; height: 24px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 320;
  display: inline-flex; align-items: center; gap: 8px;
  transform: translate(-50%, 20px); opacity: 0;
  background: var(--peacock-deep); color: var(--pearl); padding: 11px 18px; border-radius: 999px; font-size: 14.5px;
  box-shadow: 0 12px 30px rgba(10, 30, 38, 0.3);
  transition: opacity 0.25s, transform 0.35s var(--ease-out); pointer-events: none; max-width: calc(100vw - 32px);
}
.toast::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--gold); transform: rotate(45deg); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Photos that fail to load */
.img-failed { display: grid; place-items: center; width: 100%; height: 100%; padding: 12px; background: var(--rose-2); color: var(--ink-2); font-size: 13px; text-align: center; }

/* Smooth page-to-page changes; a card's photo grows into the product photo */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.3s; }
::view-transition-group(pdp-photo) { animation-duration: 0.45s; animation-timing-function: var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  html.js .wa-demo[data-chat]:not(.is-sent) .wa-bubble, html.js .about-strip .urdu-big:not(.is-in) { opacity: 1; transform: none; clip-path: none; }
  html.js .orn:not(.is-in)::before, html.js .orn:not(.is-in)::after, html.js .orn:not(.is-in) svg { transform: none; }
  .ribbon-track { transform: none; }
}
