/* ==================================================================
   WESTUDIOAMERICA: shared design system (every page loads this)
   Liquid-glass surfaces over soft drifting light, warm ivory palette.
   Type: Cormorant Garamond (display) + Manrope (text).
   ================================================================== */
:root {
  --bg: #f8f5f0;
  --bg-2: #f1ece4;
  --ink: #17130f;
  --ink-2: #3d362e;
  --muted: #8a8279;
  --line: #e7e1d8;
  --gold: #a8834a;
  --gold-2: #c9a86a;
  --maroon: #5d1a24;

  --glass: rgba(255, 255, 255, .55);
  --glass-strong: rgba(255, 255, 255, .78);
  --glass-line: rgba(255, 255, 255, .85);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 -1px 0 rgba(255, 255, 255, .35) inset, 0 18px 50px -18px rgba(40, 28, 12, .22), 0 2px 8px -2px rgba(40, 28, 12, .08);
  --blur: blur(22px) saturate(1.6);

  --r-sm: 14px;
  --r: 22px;
  --r-lg: 32px;
  --ease: cubic-bezier(.2, .9, .25, 1);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--ink); }
body { font: 15px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
img { max-width: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- ambient light (the "liquid" behind the glass) ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
.ambient i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 26s ease-in-out infinite alternate; }
.ambient i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: radial-gradient(circle, #f3d9cf 0, transparent 70%); }
.ambient i:nth-child(2) { width: 40vw; height: 40vw; right: -10vw; top: 18vh; background: radial-gradient(circle, #efe0bf 0, transparent 70%); animation-duration: 32s; animation-delay: -8s; }
.ambient i:nth-child(3) { width: 38vw; height: 38vw; left: 30vw; bottom: -18vw; background: radial-gradient(circle, #dfe6dc 0, transparent 70%); animation-duration: 38s; animation-delay: -14s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(4vw, 3vh) scale(1.08); } 100% { transform: translate(-3vw, -2vh) scale(.96); } }

/* ---------- glass primitives ---------- */
.glass { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); }
.pill { border-radius: 999px; }

/* ---------- type ---------- */
.serif { font-family: var(--serif); }
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; }
.eyebrow span { color: var(--muted); font-weight: 500; margin-left: 8px; padding-left: 10px; border-left: 1px solid #cfc6ba; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.05; }
h1 {
  font-size: clamp(40px, 6vw, 72px); margin-top: 8px;
  background: linear-gradient(90deg, var(--ink) 0 42%, #a59d92 80%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
h1 em, h2 em { font-style: italic; }
.section-title { font-size: clamp(32px, 4.2vw, 54px); }
.lede { color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 26px; border-radius: 999px;
  border: 1px solid var(--ink); background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(23, 19, 15, .5); }
.btn.ghost { background: var(--glass); color: var(--ink); border-color: var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--glass-shadow); }
.btn.line { background: transparent; color: var(--ink); }
.btn.light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.btn.light:hover { background: #fff; color: var(--ink); }
.link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.cta {
  width: 100%; height: 52px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; cursor: pointer; letter-spacing: .02em;
  display: flex; align-items: center; justify-content: center; gap: 10px; transition: background .3s, transform .3s var(--ease);
}
.cta:hover { transform: translateY(-1px); }
.cta.loading { background: #8c8680; cursor: default; transform: none; }
.spin { width: 14px; height: 14px; border: 2px solid #fff6; border-top-color: #fff; border-radius: 50%; animation: sp .7s linear infinite; }
@keyframes sp { to { transform: rotate(360deg) } }

/* chips (sizes, filters) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-width: 44px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .6);
  cursor: pointer; font-size: 13px; font-weight: 600; transition: .25s var(--ease);
}
.chip:hover { border-color: var(--ink-2); }
.chip.sel, .chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 12px var(--pad); transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(248, 245, 240, .72); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: 0 1px 0 rgba(0, 0, 0, .05); }
.logo-link { justify-self: center; }
.logo { height: 30px; width: auto; display: block; }
.site-header nav { display: flex; gap: 28px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.site-header nav a { text-decoration: none; padding: 6px 0; position: relative; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .35s var(--ease); }
.site-header nav a:hover::after, .site-header nav a.cur::after { transform: scaleX(1); }
.icons { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; transition: background .25s; }
.icon-btn:hover { background: rgba(255, 255, 255, .7); }
.icon-btn svg { width: 21px; height: 21px; }
.menu-btn { display: none; }
.badge {
  position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--ink); color: #fff;
  font-size: 10px; font-weight: 700; display: grid; place-items: center; padding: 0 4px;
}
.badge.bump { animation: bump .5s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes bump { 0% { transform: scale(1) } 40% { transform: scale(1.6) } 100% { transform: scale(1) } }

/* mobile menu sheet */
.menu-sheet { position: fixed; inset: 0; z-index: 220; pointer-events: none; }
.menu-sheet .panel-m {
  position: absolute; top: 10px; left: 10px; bottom: 10px; width: min(360px, calc(100vw - 20px)); border-radius: var(--r-lg); padding: 26px 24px;
  transform: translateX(-110%); transition: transform .5s var(--ease); display: flex; flex-direction: column; gap: 6px; background: var(--glass-strong);
}
.menu-sheet.open { pointer-events: auto; }
.menu-sheet.open .panel-m { transform: none; }
.menu-sheet .panel-m a.m { font-family: var(--serif); font-size: 34px; text-decoration: none; padding: 4px 0; }
.menu-sheet .panel-m .small { margin-top: auto; display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); }
.menu-sheet .panel-m .small a { text-decoration: none; }

/* search sheet */
.search-sheet { position: fixed; inset: 0; z-index: 230; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.search-sheet.open { opacity: 1; pointer-events: auto; }
.search-box { width: min(640px, 100%); border-radius: var(--r-lg); padding: 18px; background: var(--glass-strong); transform: translateY(-12px); transition: transform .45s var(--ease); }
.search-sheet.open .search-box { transform: none; }
.search-box input { width: 100%; height: 54px; border-radius: 999px; border: 1px solid var(--line); background: #fff; padding: 0 22px; font-size: 16px; }
.results { display: grid; gap: 4px; margin-top: 12px; max-height: 50vh; overflow: auto; }
.results a { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 14px; text-decoration: none; }
.results a:hover, .results a:focus { background: rgba(255, 255, 255, .8); }
.results img { width: 48px; height: 56px; object-fit: contain; }
.results a.see-all { display: block; text-align: center; font-weight: 600; font-size: 13px; padding: 12px; border-top: 1px solid var(--line); border-radius: 0 0 14px 14px; text-decoration: underline; }
.sugg { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 6px 4px; }
.sugg .muted { width: 100%; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 2px; }
.sugg .chip { display: inline-flex; align-items: center; text-decoration: none; }
.results small { color: var(--muted); display: block; }

/* overlays share this scrim */
.scrim { position: fixed; inset: 0; background: rgba(23, 19, 15, .22); z-index: 200; opacity: 0; pointer-events: none; transition: opacity .35s; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.scrim.open { opacity: 1; pointer-events: auto; }

/* ---------- garment images ---------- */
.art { display: flex; justify-content: center; filter: drop-shadow(0 18px 14px #00000022); }
.garment { position: relative; }
.garment img { height: var(--gh, 225px); width: auto; display: block; }
.garment.jewel img { height: auto; max-height: calc(var(--gh, 225px) * .72); width: auto; max-width: min(520px, 80vw); }
.model { display: block; height: min(72vh, 620px); width: auto; border-radius: var(--r-lg); }

/* ---------- quick view ---------- */
.qv {
  position: fixed; inset: 0; z-index: 240; background: rgba(248, 245, 240, .86); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); display: grid;
  grid-template-columns: 1.4fr 1fr; align-items: center; padding: 40px 6vw; opacity: 0; pointer-events: none; transition: opacity .35s;
}
.qv.open { opacity: 1; pointer-events: auto; }
.gallery { display: flex; gap: 18px; align-items: center; justify-content: center; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumbs button {
  width: 64px; height: 80px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .7); cursor: pointer; padding: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; opacity: .6; transition: .25s;
}
.thumbs button img { max-width: 100%; max-height: 58px; object-fit: contain; }
.thumbs button span { font-size: 9px; color: var(--muted); }
.thumbs button.sel { opacity: 1; border-color: var(--ink); box-shadow: 0 2px 8px #0001; }
.thumbs button:hover { opacity: 1; }
.qv .big { position: relative; display: flex; justify-content: center; align-items: center; touch-action: pan-y; user-select: none; }
.nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--glass-line);
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--glass-shadow); cursor: pointer; font-size: 22px; line-height: 1; z-index: 2; transition: .2s;
}
.nav:hover { background: #fff; }
.nav.prev { left: -6px; }
.nav.next { right: -6px; }
.count { position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--muted); letter-spacing: .08em; white-space: nowrap; }
.qv .big .art { --gh: min(66vh, 560px); filter: drop-shadow(0 30px 30px #0002); transform: translateY(24px) scale(.96); transition: transform .55s var(--ease); }
.qv.open .big .art { transform: none; }
.qv .panel { max-width: 360px; border-radius: var(--r-lg); padding: 28px; }
.qv .panel small { color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.qv .panel h2 { font-size: 32px; margin: 4px 0 4px; }
.qv .price { font-size: 17px; font-weight: 600; }
.qv .origin { font-size: 12px; color: var(--muted); margin-top: 2px; }
.lbl { font-size: 11px; color: var(--muted); margin: 18px 0 8px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.qv .chips { margin-bottom: 18px; }
.viewcart { display: none; margin-top: 12px; font-size: 13px; font-weight: 600; text-decoration: underline; background: none; border: 0; cursor: pointer; }
.viewcart.show { display: inline-block; }
.qv .meta { display: flex; justify-content: space-between; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.close {
  position: absolute; top: 18px; right: 22px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--glass-line);
  background: var(--glass-strong); cursor: pointer; font-size: 13px; font-weight: 600; box-shadow: var(--glass-shadow); z-index: 3;
}

/* ---------- flying clone ---------- */
.fly { position: fixed; z-index: 300; pointer-events: none; will-change: transform; }
.fly .art { margin: 0; }

/* ---------- cart drawer ---------- */
.drawer {
  position: fixed; top: 10px; right: 10px; bottom: 10px; width: min(420px, calc(100vw - 20px)); border-radius: var(--r-lg); z-index: 210; display: flex; flex-direction: column;
  transform: translateX(110%); transition: transform .5s var(--ease); background: var(--glass-strong); overflow: hidden;
}
.drawer.open { transform: none; }
.dh { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 12px; }
.dh h2 { font-size: 28px; }
.dh button { background: none; border: 0; cursor: pointer; font-size: 18px; width: 38px; height: 38px; border-radius: 50%; }
.dh button:hover { background: #fff; }
.dh .dcount { color: var(--muted); font-family: var(--sans); font-size: 14px; }
.lines { flex: 1; overflow: auto; padding: 0 24px; }
.line { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); animation: in .45s both; }
@keyframes in { from { opacity: 0; transform: translateX(20px) } }
.thumbimg { width: 70px; height: 84px; background: rgba(255, 255, 255, .8); border-radius: 14px; display: grid; place-items: center; overflow: hidden; text-decoration: none; }
.thumbimg .art { --gh: 76px; margin: 0; filter: none; }
.line b a { text-decoration: none; }
.line small { color: var(--muted); display: block; font-size: 12px; }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.rm { border: 0; background: none; color: var(--muted); text-decoration: underline; font-size: 12px; cursor: pointer; margin-left: 6px; }
.empty { color: var(--muted); padding: 40px 0; text-align: center; }
.df { padding: 18px 24px 22px; border-top: 1px solid var(--line); }
.total { display: flex; justify-content: space-between; font-weight: 700; }
.df small { color: var(--muted); display: block; margin: 4px 0 14px; font-size: 12px; }
.df .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.df .row2 .btn { height: 52px; }

/* ---------- footer ---------- */
.site-footer { margin-top: 90px; padding: 0 var(--pad) 28px; }
.foot-card { max-width: 1320px; margin: 0 auto; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 54px); }
.foot-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; }
.foot-top h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.foot-top ul { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.foot-top a { text-decoration: none; color: var(--ink-2); }
.foot-top a:hover { color: var(--ink); text-decoration: underline; }
.news p { font-family: var(--serif); font-size: 26px; line-height: 1.15; margin-bottom: 16px; }
.news form { display: flex; gap: 8px; }
.news input { flex: 1; min-width: 0; height: 48px; border-radius: 999px; border: 1px solid var(--line); background: #fff; padding: 0 18px; }
.news small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 10px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 16px; }
.foot-bottom a { text-decoration: none; }
.foot-bottom a:hover { color: var(--ink); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; z-index: 400; padding: 12px 20px; border-radius: 999px; font-size: 13px; font-weight: 600; transition: .4s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .menu-btn { display: grid; }
  .site-header { grid-template-columns: auto 1fr auto; padding: 10px 12px; }
  .logo-link { justify-self: center; }
  .logo { height: 24px; max-width: 46vw; object-fit: contain; }
  .icons { gap: 2px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-top .news { grid-column: 1 / -1; }
  .model { height: 50vh; }
  .qv .big .art { --gh: 44vh; }
  .qv { grid-template-columns: 1fr; padding: 64px 16px 16px; align-content: start; gap: 30px; overflow: auto; }
  .gallery { flex-direction: column-reverse; gap: 34px; }
  .thumbs { flex-direction: row; }
  .thumbs button { width: 56px; height: 68px; }
  .nav { width: 36px; height: 36px; }
  .qv .panel { margin: 0 auto; width: 100%; max-width: 520px; padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Variations dropdown ---------- */
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; padding: 6px 0; font: inherit; letter-spacing: inherit; text-transform: inherit; position: relative; }
.dd-btn svg { width: 10px; height: 6px; transition: transform .3s var(--ease); }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-btn::after { content: ""; position: absolute; left: 0; right: 16px; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .35s var(--ease); }
.dd.has-cur .dd-btn::after, .dd-btn:hover::after { transform: scaleX(1); }
.dd-panel {
  position: absolute; top: calc(100% + 10px); left: -18px; min-width: 300px; padding: 10px; border-radius: 22px; display: grid; gap: 2px;
  background: var(--glass-strong); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .25s, transform .35s var(--ease); z-index: 95;
  text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500;
}
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.dd.open .dd-panel { opacity: 1; transform: none; pointer-events: auto; }
.site-header nav .dd-panel a { padding: 9px 12px; border-radius: 12px; }
.site-header nav .dd-panel a::after { display: none; }
.site-header nav .dd-panel a:hover { background: rgba(255,255,255,.85); }
.site-header nav .dd-panel a.cur { background: var(--ink); color: #fff; }
.dd-group { display: block; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 10px 12px 4px; }
/* mobile menu version */
.m-dd summary { list-style: none; cursor: pointer; font-family: var(--serif); font-size: 34px; padding: 4px 0; display: flex; justify-content: space-between; align-items: center; }
.m-dd summary::-webkit-details-marker { display: none; }
.m-dd summary::after { content: "+"; font-family: var(--sans); font-size: 22px; font-weight: 300; transition: transform .3s; }
.m-dd[open] summary::after { transform: rotate(45deg); }
.m-dd a { display: block; padding: 8px 0 8px 2px; font-size: 15px; text-decoration: none; color: var(--ink-2); }
.m-dd a.cur { color: var(--ink); font-weight: 700; }
.m-dd .dd-group { padding-left: 2px; }
.menu-sheet .panel-m { overflow-y: auto; }

@media (max-width: 600px) { .icon-btn.acct { display: none; } }

/* ---------- quick view: fixed-size image stage so the arrows never move ---------- */
.qv .big { flex: 0 0 auto; width: min(620px, 46vw); height: min(68vh, 600px); }
.qv .big .art { --gh: min(64vh, 560px); max-width: calc(100% - 128px); max-height: 100%; }
.qv .big .garment img { max-width: 100%; object-fit: contain; }
.qv .big .model { height: min(64vh, 560px); max-width: 100%; object-fit: cover; }
.qv .big .nav.prev { left: 0; }
.qv .big .nav.next { right: 0; }
.qv .big .count { bottom: -26px; }
.img-note { margin-top: 14px; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 900px) {
  .qv .big { width: 100%; height: 46vh; }
  .qv .big .art { --gh: 42vh; max-width: calc(100% - 92px); }
  .qv .big .model { height: 42vh; }
}

/* thumbnails: no labels; on-model photos fill the whole thumb */
.thumbs button { padding: 5px; }
.thumbs button img { max-height: 100%; height: 100%; width: 100%; object-fit: contain; }
.thumbs button.photo, .pg-thumbs button.photo { padding: 0; overflow: hidden; background: #efe5d7; }
.thumbs button.photo img, .pg-thumbs button.photo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: 50% 8%; }

/* bag drawer: Remove is a plain text link, not a round button */
.qty .rm { width: auto; height: auto; border: 0; border-radius: 0; background: none; padding: 4px 2px; margin-left: 8px; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.qty .rm:hover { color: var(--ink); }

/* ---------- product images: white studio views and real photos ----------
   "white" views still have a white background: blended into the tint (multiply)
   with no drop shadow. "photo" views (jewelry, close-ups) fill their frame. */
img.wb, .garment.white img { mix-blend-mode: multiply; filter: none !important; }
.qv .big .art:has(.white) { filter: none; }
.qv .big .garment.white img { border-radius: var(--r); mix-blend-mode: normal; }
.thumbs button.white img, .pg-thumbs button.white img { mix-blend-mode: multiply; }
.drawer .thumbimg .art .model, .line .thumbimg .model { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.thumbimg .art:has(.model) { width: 100%; height: 100%; }

/* ---------- nav dropdown: liquid glass ---------- */
.dd-panel { min-width: 320px; padding: 8px; transform-origin: 30px 0; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, rgba(255,255,255,.86), rgba(255,255,255,.62));
  box-shadow: 0 1px 0 rgba(255,255,255,.95) inset, 0 -1px 0 rgba(255,255,255,.4) inset, 0 30px 60px -24px rgba(40,28,12,.35), 0 4px 14px -6px rgba(40,28,12,.12); }
.dd-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(120% 60% at 20% 0%, rgba(255,255,255,.9), transparent 55%), radial-gradient(80% 50% at 100% 100%, rgba(201,168,106,.16), transparent 60%); }
.dd-blob { position: absolute; left: 8px; right: 8px; top: 0; height: 60px; border-radius: 16px; z-index: -1; opacity: 0; pointer-events: none; transition: opacity .25s;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.7)); box-shadow: 0 1px 0 #fff inset, 0 10px 24px -12px rgba(40,28,12,.35); transform-origin: 50% 50%; }
.site-header nav .dd-panel a.dd-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 16px; background: none; }
.site-header nav .dd-panel a.dd-item:hover { background: none; }
.site-header nav .dd-panel a.dd-item.cur { background: none; }
.site-header nav .dd-panel a.dd-item.cur b::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-left: 8px; vertical-align: middle; }
.dd-thumb { flex: 0 0 auto; width: 46px; height: 52px; border-radius: 12px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(100% 80% at 50% 0%, #fff, rgba(255,255,255,0) 70%), linear-gradient(160deg, #efe6da, #e4d9ca); }
.dd-thumb img { height: 46px; width: auto; filter: drop-shadow(0 4px 4px rgba(30,20,10,.18)); transition: transform .5s var(--ease); }
.dd-item:hover .dd-thumb img { transform: scale(1.12) rotate(-3deg); }
.dd-txt { display: grid; line-height: 1.25; }
.dd-txt b { font-weight: 600; font-size: 14px; color: var(--ink); }
.dd-txt small { font-size: 12px; color: var(--muted); font-weight: 500; }
/* mobile menu dropdown: items rise in */
.m-dd[open] a { animation: mdd-in .55s cubic-bezier(.2,1.4,.4,1) both; }
.m-dd[open] a:nth-of-type(2) { animation-delay: .05s; } .m-dd[open] a:nth-of-type(3) { animation-delay: .1s; }
@keyframes mdd-in { from { opacity: 0; transform: translateY(10px); } }

/* prices: selling price, MRP struck through, saving */
s.mrp { color: var(--muted); font-weight: 500; font-size: .82em; margin-left: 4px; }
.off { color: #2e7d4f; font-weight: 600; font-size: .72em; letter-spacing: .02em; margin-left: 4px; white-space: nowrap; }
.stock { font-size: 12.5px; font-weight: 600; color: var(--maroon); margin-top: 6px; }
.stock.out { color: var(--muted); }
.dd-thumb.white img { mix-blend-mode: multiply; filter: none; } .dd-thumb.photo img { width: 100%; height: 100%; object-fit: cover; filter: none; }
/* quick view: show whole photos instead of cropping them */
.qv .big .model { width: auto; max-width: 100%; height: min(64vh, 560px); object-fit: contain; border-radius: var(--r-lg); }
