/* =========================================================================
   NILORAS — design system
   Editorial fashion aesthetic: warm paper, ink dark green, terracotta accent.
   ========================================================================= */
:root {
  --ink: #0f2a1e;
  --ink-2: #34312d;
  --muted: #776f65;
  --faint: #a59d92;
  --line: #e6dfd4;
  --line-2: #d8cfc2;
  --paper: #f7f4ef;
  --sand: #efe8dd;
  --sand-2: #e6dccd;
  --card: #ffffff;
  --accent: #b4532a;
  --accent-ink: #8f3d1b;
  --accent-soft: #f7e7dd;
  --green: #1c6b44;
  --green-soft: #e2f1e7;
  --red: #b42318;
  --red-soft: #fde8e6;
  --amber: #9a6512;
  --amber-soft: #fbf0d9;
  --blue: #1f4e9e;
  --blue-soft: #e5edfa;
  --violet: #5b3fa6;
  --violet-soft: #eee8fa;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(15, 42, 30, .05), 0 1px 1px rgba(15, 42, 30, .03);
  --shadow: 0 10px 30px -12px rgba(36, 28, 18, .18), 0 2px 6px rgba(36, 28, 18, .05);
  --shadow-lg: 0 30px 60px -20px rgba(36, 28, 18, .28);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --max: 1240px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 15px/1.6 var(--font-body); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--ink); color: var(--paper); }

.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -.025em; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .92em; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.stack > * + * { margin-top: var(--gap, 12px); }
.row { display: flex; align-items: center; gap: 12px; }
.row.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.grid { display: grid; gap: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.profit { color: var(--green); }
.private-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: var(--green-soft); padding: 3px 9px; border-radius: 99px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 14.5px; letter-spacing: .01em;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s, border-color .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(15, 42, 30, .45); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.loading { opacity: .55; pointer-events: none; }
.btn.loading::after { content: ''; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.btn-ghost:hover { --bd: var(--ink); box-shadow: none; }
.btn-light { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.btn-accent { --bg: var(--accent); --fg: #fff; --bd: var(--accent); }
.btn-wa { --bg: #1f9d55; --fg: #fff; --bd: #1f9d55; }
.btn-danger { --bg: transparent; --fg: var(--red); --bd: #f0c7c2; }
.btn-danger:hover { --bg: var(--red-soft); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-xs { height: 30px; padding: 0 12px; font-size: 12.5px; gap: 6px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-icon { width: 42px; padding: 0; }
.link { color: var(--accent-ink); font-weight: 700; border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.link:hover { border-bottom-color: currentColor; }
.icon { width: 18px; height: 18px; flex: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.rise { animation: rise .6s var(--ease) both; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field .hint { font-size: 12px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; height: 48px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--card); transition: border-color .2s, box-shadow .2s; font-size: 15px;
}
.textarea { height: auto; min-height: 96px; padding: 12px 16px; resize: vertical; }
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%230f2a1e' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(15, 42, 30, .06); }
.input.invalid, .select.invalid, .textarea.invalid { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.field-error { color: var(--red); font-size: 12.5px; font-weight: 600; }
.input-prefix { position: relative; }
.input-prefix > span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--muted); }
.input-prefix > .input { padding-left: 34px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .span-2 { grid-column: span 2; }
.form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.checkbox { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--ink); }
.form-section-title { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin: 8px 0 4px; }
.otp-inputs { display: flex; gap: 10px; justify-content: center; }
.otp-inputs input { width: 52px; height: 60px; text-align: center; font-size: 24px; font-weight: 700; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; }
.otp-inputs input:focus { border-color: var(--ink); outline: none; }
.dev-hint { background: var(--amber-soft); color: var(--amber); padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; }

/* ---------- Cards, chips, tables ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.card-tight { padding: 18px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-head h3 { font-family: var(--font-display); font-weight: 500; font-size: 21px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--sand); color: var(--ink-2); white-space: nowrap; }
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9; }
.chip.plain::before { display: none; }
.chip.s-placed, .chip.p-pending, .chip.p-cod_due { background: #eeeae4; color: #5a544b; }
.chip.s-confirmed, .chip.s-payment_confirmed { background: var(--blue-soft); color: var(--blue); }
.chip.s-stitching, .chip.s-printing, .chip.s-quality_check, .chip.s-packed, .chip.p-processing { background: var(--amber-soft); color: var(--amber); }
.chip.s-shipped, .chip.s-out_for_delivery { background: var(--violet-soft); color: var(--violet); }
.chip.s-delivered, .chip.p-successful, .chip.ok { background: var(--green-soft); color: var(--green); }
.chip.s-cancelled, .chip.p-failed, .chip.bad { background: var(--red-soft); color: var(--red); }
.chip.p-refunded { background: var(--violet-soft); color: var(--violet); }
.swatch-dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); flex: none; vertical-align: -2px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
table.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 14px 16px; background: #fbf9f6; border-bottom: 1px solid var(--line); white-space: nowrap; position: sticky; top: 0; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr.clickable { cursor: pointer; }
.table tbody tr.clickable:hover { background: #fbf8f3; }
.thumb { width: 44px; height: 48px; border-radius: 10px; background: var(--sand); overflow: hidden; flex: none; }
.empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty h3 { font-family: var(--font-display); font-weight: 500; color: var(--ink); font-size: 22px; margin-bottom: 6px; }

.skeleton { background: linear-gradient(90deg, var(--sand) 0%, #f5f0e8 50%, var(--sand) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 12px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.page-loader { display: grid; place-items: center; min-height: 50vh; }
.spinner { width: 28px; height: 28px; border: 2.5px solid var(--line-2); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }

/* ---------- Toast & modal ---------- */
.toast-root { position: fixed; z-index: 100; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; width: calc(100% - 32px); max-width: 440px; }
.toast { pointer-events: auto; background: var(--ink); color: var(--paper); padding: 14px 18px; border-radius: 14px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg); animation: rise .35s var(--ease); display: flex; gap: 10px; align-items: center; width: 100%; }
.toast.error { background: var(--red); }
.toast.success::before { content: '✓'; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #2fb36d; font-size: 13px; flex: none; }
.modal-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(18, 16, 13, .45); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; animation: fade .2s; }
.modal { background: var(--paper); border-radius: var(--r-xl); width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow: auto; box-shadow: var(--shadow-lg); animation: rise .3s var(--ease); }
.modal.wide { max-width: 920px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px 0; gap: 16px; }
.modal-head h3 { font-family: var(--font-display); font-weight: 500; font-size: 24px; }
.modal-body { padding: 20px 26px 26px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 0 26px 24px; flex-wrap: wrap; }
.close-x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 20px; line-height: 1; flex: none; }

/* ---------- WhatsApp floating button ---------- */
.wa-float { position: fixed; z-index: 60; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 99px; background: #1f9d55; color: #fff; font-weight: 700; box-shadow: 0 14px 30px -10px rgba(31, 157, 85, .7); transition: transform .25s var(--ease); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
body.has-tabbar .wa-float { bottom: calc(88px + env(safe-area-inset-bottom)); }
@media (min-width: 1025px) { body.has-tabbar .wa-float { display: none; } }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { width: 56px; padding: 0; justify-content: center; } }

/* =========================================================================
   PUBLIC SITE
   ========================================================================= */
.site-nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(247, 244, 239, .82); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-nav.scrolled { border-bottom-color: var(--line); }
.site-nav .container { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: .14em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 17px; letter-spacing: 0; }
/* VS monogram sits small on a dark green badge (cream/gold mark). */
.logo-img { height: 34px; width: auto; display: block; flex: none; box-sizing: border-box; padding: 4px 9px 8px 7px; background: var(--ink); border-radius: 9px; } /* uneven padding: the VS sits low/right in the PNG, this centres it optically */
.sidebar .logo .logo-img { height: 32px; }
.nav-links { display: flex; gap: 28px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--ink); transition: right .3s var(--ease); }
.nav-links a:hover::after { right: 0; }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; place-items: center; }
.mobile-menu { position: fixed; inset: var(--nav-h) 0 0; z-index: 49; background: var(--paper); padding: 24px; display: flex; flex-direction: column; gap: 6px; animation: fade .2s; }
.mobile-menu a { font-family: var(--font-display); font-size: 30px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 14px; }

.hero { position: relative; overflow: hidden; padding: 36px 0 28px; }
.hero .container { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(44px, 6.4vw, 92px); line-height: .98; letter-spacing: -.035em; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero-lead { font-size: 18px; color: var(--ink-2); max-width: 520px; margin: 26px 0 34px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 42px; flex-wrap: wrap; }
.hero-trust div strong { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 500; }
.hero-trust div span { font-size: 13px; color: var(--muted); }
.hero-visual { position: relative; aspect-ratio: 1 / 1.02; }
.hero-blob { position: absolute; inset: 6% 2% 4% 8%; border-radius: 44% 56% 48% 52% / 52% 44% 56% 48%; background: radial-gradient(120% 90% at 30% 20%, #efe2cf 0%, #e7d5bd 45%, #dcc6a8 100%); }
a.float-card { color: inherit; text-decoration: none; }
.float-card { position: absolute; z-index: 5; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .8); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); font-size: 13px; animation: bob 6s ease-in-out infinite; }
.float-card strong { display: block; font-size: 15px; }
.float-card.f1 { left: 2%; top: 10%; }
.float-card.f2 { right: 0; bottom: 6%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

.marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--ink); color: var(--paper); }
.marquee-track { display: flex; gap: 48px; padding: 18px 0; width: max-content; animation: marquee 38s linear infinite; font-family: var(--font-display); font-size: 22px; font-style: italic; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee-track span::after { content: '✦'; font-style: normal; font-size: 14px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: 64px 0; }
.section.tight { padding: 48px 0; }
.section.dark { background: var(--ink); color: var(--paper); }
.section.dark .muted, .section.dark .eyebrow { color: #b4aca1; }
.section.sand { background: var(--sand); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 4.2vw, 58px); letter-spacing: -.03em; max-width: 760px; margin-top: 12px; }
.section-head h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.section-head p { max-width: 420px; color: var(--muted); font-size: 16px; }
.section.dark .section-head h2 em { color: #e7a17d; }

.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.intro-quote { font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); line-height: 1.22; letter-spacing: -.02em; }
.intro-quote em { color: var(--accent); }
.intro-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.intro-stats .card { padding: 22px; }
.intro-stats strong { font-family: var(--font-display); font-weight: 500; font-size: 38px; display: block; letter-spacing: -.03em; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.flow-step { position: relative; padding: 28px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.flow-step::before { counter-increment: step; content: '0' counter(step); font-family: var(--font-display); font-size: 48px; font-style: italic; color: #e7a17d; display: block; margin-bottom: 18px; line-height: 1; }
.flow-step h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin-bottom: 8px; }
.flow-step p { color: #c9c1b6; font-size: 14.5px; }
.money-strip { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); }
.money-strip > div { padding: 24px 28px; background: rgba(255, 255, 255, .04); }
.money-strip > div + div { border-left: 1px solid rgba(255, 255, 255, .12); }
.money-strip strong { font-family: var(--font-display); font-size: 30px; font-weight: 500; display: block; }
.money-strip .eq { color: #8fd3a9; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { position: relative; display: block; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card .pc-media { position: relative; aspect-ratio: 4 / 4.3; background: linear-gradient(160deg, #f4efe7, #e9e0d2); display: grid; place-items: center; padding: 22px; overflow: hidden; }
.product-card .pc-media .mockup { width: 86%; transition: transform .6s var(--ease); }
.product-card:hover .pc-media .mockup { transform: scale(1.04); }
.product-card .pc-body { padding: 18px 20px 20px; }
.product-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 21px; }
.product-card .pc-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 14px; }
.product-card .pc-tag { position: absolute; top: 14px; left: 14px; z-index: 2; }
.pc-swatches { display: flex; gap: 6px; align-items: center; }
.pc-swatches .swatch-dot { width: 16px; height: 16px; }
.pc-price { font-weight: 800; font-size: 16px; }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink-2); background: #fff; }

.design-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.design-card { position: relative; border-radius: var(--r); background: var(--card); border: 1.5px solid var(--line); overflow: hidden; text-align: left; padding: 0; transition: transform .3s var(--ease), border-color .2s, box-shadow .3s; display: flex; flex-direction: column; }
.design-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.design-card.selected { border-color: var(--ink); box-shadow: 0 0 0 3px var(--ink); }
.design-card .dc-media { aspect-ratio: 1; display: grid; place-items: center; padding: 18px; background: var(--dc-bg, var(--ink)); transition: background .3s; }
.design-card .dc-media img { width: 100%; height: 100%; object-fit: contain; }
.design-card .dc-body { padding: 12px 14px 14px; }
.design-card .dc-name { font-weight: 700; font-size: 14px; line-height: 1.3; }
.design-card .dc-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; display: flex; gap: 6px; justify-content: space-between; }
.design-card.unavailable .dc-media { filter: grayscale(1) opacity(.45); }
.design-card .dc-flag { position: absolute; top: 10px; left: 10px; }
.checker { background-color: #fff; background-image: linear-gradient(45deg, #e8e3db 25%, transparent 25%), linear-gradient(-45deg, #e8e3db 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e8e3db 75%), linear-gradient(-45deg, transparent 75%, #e8e3db 75%); background-size: 18px 18px; background-position: 0 0, 0 9px, 9px -9px, -9px 0; }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-chip { height: 38px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line-2); background: transparent; font-weight: 700; font-size: 13px; transition: all .2s; white-space: nowrap; }
.filter-chip:hover { border-color: var(--ink); }
.filter-chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filter-scroll::-webkit-scrollbar { display: none; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { padding: 30px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); transition: transform .3s var(--ease); }
.benefit:hover { transform: translateY(-4px); }
.benefit .b-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; }
.benefit .b-icon svg { width: 24px; height: 24px; }
.benefit h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin-bottom: 8px; }
.benefit p { color: var(--muted); }
.benefit.feature { grid-row: span 3; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.benefit.feature p { color: #c9c1b6; }
.benefit.feature .b-icon { background: rgba(255, 255, 255, .08); color: #e7a17d; }

.steps-h { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.steps-h::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1.5px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.step-h { position: relative; text-align: center; padding: 0 8px; }
.step-h .n { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); display: grid; place-items: center; font-family: var(--font-display); font-size: 20px; font-style: italic; position: relative; }
.step-h h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; letter-spacing: -.01em; }
.step-h p { font-size: 13.5px; color: var(--muted); }

.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 24px; font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-body); font-size: 26px; font-weight: 300; transition: transform .3s var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 720px; font-size: 15.5px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.contact-list { display: grid; gap: 14px; margin-top: 28px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.contact-item .ci-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); flex: none; }
.contact-form { background: var(--paper); color: var(--ink); border-radius: var(--r-xl); padding: 32px; }

.cta-band { border-radius: var(--r-xl); background: var(--accent); color: #fff; padding: 64px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 4vw, 54px); letter-spacing: -.03em; }
.cta-band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .08); }

.site-footer { background: var(--ink); color: #b4aca1; padding: 32px 0 18px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px; }
.site-footer h5 { color: var(--paper); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; }
.site-footer a { display: block; padding: 4px 0; transition: color .2s; }
.site-footer a:hover { color: var(--paper); }
.footer-bottom { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; background: var(--ink); color: var(--paper); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.auth-side h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 3.6vw, 56px); letter-spacing: -.03em; line-height: 1.02; }
.auth-side h2 em { color: #e7a17d; }
.auth-side .auth-tees { position: relative; height: 320px; margin: 24px 0; }
.auth-side .auth-tees .mockup { position: absolute; width: 46%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .4)); }
.auth-side.admin { background: var(--ink); }
.auth-main { display: grid; place-items: center; padding: 48px 24px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h1 { font-family: var(--font-display); font-weight: 500; font-size: 38px; letter-spacing: -.03em; margin-bottom: 8px; }
.auth-card.wide { max-width: 640px; }
.auth-steps { display: flex; gap: 6px; margin-bottom: 28px; }
.auth-steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.auth-steps span.on { background: var(--ink); }
.divider { display: flex; align-items: center; gap: 14px; color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* =========================================================================
   PORTAL (reseller & admin)
   ========================================================================= */
.portal { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 22px 16px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); background: var(--paper); overflow-y: auto; }
.sidebar .logo { padding: 4px 10px 22px; font-size: 21px; }
.side-label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding: 18px 12px 8px; }
.side-link { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 12px; font-weight: 600; color: var(--ink-2); font-size: 14.5px; transition: background .15s, color .15s; }
.side-link svg { width: 19px; height: 19px; opacity: .75; }
.side-link:hover { background: var(--sand); }
.side-link.active { background: var(--ink); color: var(--paper); }
.side-link.active svg { opacity: 1; }
.side-link .badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 800; display: grid; place-items: center; }
.side-cta { margin-top: auto; padding: 18px; border-radius: var(--r); background: var(--sand); }
.side-cta h4 { font-family: var(--font-display); font-weight: 500; font-size: 18px; margin-bottom: 4px; }
.sidebar.admin { background: var(--ink); color: #d6d1c9; border-right-color: #173626; }
.sidebar.admin .side-link { color: #c2bcb2; }
.sidebar.admin .side-link:hover { background: #1a3d2c; }
.sidebar.admin .side-link.active { background: var(--paper); color: var(--ink); }
.sidebar.admin .side-label { color: #6e6a63; }
.sidebar.admin .logo-mark { background: var(--paper); color: var(--ink); }
.sidebar.admin .side-cta { background: #1a3d2c; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 30; height: 70px; display: flex; align-items: center; gap: 16px; padding: 0 32px; background: rgba(247, 244, 239, .86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar .t-title { font-weight: 700; font-size: 15px; }
.topbar .t-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: border-color .2s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn .dot { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: 99px; border: 1px solid var(--line); background: #fff; }
.user-chip .avatar { width: 34px; height: 34px; font-size: 12.5px; }
.user-chip div { line-height: 1.2; }
.user-chip strong { font-size: 13px; display: block; }
.user-chip span { font-size: 11.5px; color: var(--muted); }
.content { padding: 32px; max-width: 1360px; width: 100%; }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.page-head h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 3vw, 40px); letter-spacing: -.03em; }
.page-head p { color: var(--muted); margin-top: 6px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.back-link:hover { color: var(--ink); }

.notif-panel { position: absolute; top: 60px; right: 32px; width: 380px; max-width: calc(100vw - 32px); max-height: 70vh; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); z-index: 40; animation: rise .25s var(--ease); }
.notif-panel .n-item { display: block; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.notif-panel .n-item:hover { background: #fbf8f3; }
.notif-panel .n-item.unread { background: #fdf7f2; }
.notif-panel .n-item strong { font-size: 13.5px; display: block; }
.notif-panel .n-item p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.tabbar { display: none; }

/* Stat cards */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { position: relative; padding: 20px 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.stat .s-label { font-size: 12.5px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.stat .s-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--ink)); }
.stat .s-value { font-family: var(--font-display); font-weight: 500; font-size: 34px; letter-spacing: -.03em; margin-top: 10px; line-height: 1.05; }
.stat .s-sub { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.stat.hero-stat { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.stat.hero-stat .s-label, .stat.hero-stat .s-sub { color: #b4aca1; }
.stat.profit-stat { background: linear-gradient(150deg, #173f2b, #1c6b44); color: #fff; border: 0; }
.stat.profit-stat .s-label, .stat.profit-stat .s-sub { color: #bfe3cc; }
.stat a.s-link { position: absolute; inset: 0; }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: start; }

/* Charts */
.chart { position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .bar { fill: var(--ink); transition: opacity .15s; }
.chart .bar.dim { opacity: .35; }
.chart .grid-line { stroke: var(--line); stroke-width: 1; }
.chart .axis-label { fill: var(--muted); font-size: 11px; font-family: var(--font-body); }
.chart-tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 10px; font-size: 12.5px; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); box-shadow: var(--shadow); z-index: 5; }
.chart-tip strong { display: block; font-size: 14px; }
.hbar { display: grid; grid-template-columns: 120px 1fr 48px; gap: 12px; align-items: center; font-size: 13px; padding: 6px 0; }
.hbar .track { height: 10px; border-radius: 99px; background: var(--sand); overflow: hidden; }
.hbar .fill { height: 100%; border-radius: 99px; background: var(--ink); }

.mini-order { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini-order:last-child { border-bottom: 0; }
.mini-order .thumb { width: 54px; height: 58px; }

/* ---------- Mockup / garment renderer ---------- */
.mockup { position: relative; width: 100%; aspect-ratio: 600 / 660; user-select: none; -webkit-user-select: none; }
.mockup > .m-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.mockup > img.m-layer { object-fit: contain; }
.mockup .m-overlay { pointer-events: none; }
/* Uploaded photos (model shots) fill a portrait frame instead of shrinking to fit the drawn-Kurti box. */
.mockup.is-photo { aspect-ratio: 3 / 4; }
.mockup.is-photo > img.m-layer { object-fit: cover; object-position: 50% 0; }
.sc-img:has(> .is-photo), .pp-img:has(> .is-photo), .pp-shot.main .pp-img:has(> .is-photo) { width: 100%; height: 100%; }
.sc-img > .is-photo, .pp-img > .is-photo, .thumb > .is-photo, .m-zoom > .is-photo { height: 100%; aspect-ratio: auto; }
.pp-shot.main:has(.is-photo) { aspect-ratio: 4 / 5; }
.thumb:has(> .is-photo) { padding: 0 !important; }
.m-zoom > .mockup.is-photo { transform: scale(1.9); transform-origin: 50% 34%; }
/* Saree / shawl without a photo yet: three folded layers of the colour. */
.mockup.fabric-ph { display: grid; place-items: center; }
.mockup.fabric-ph i { position: absolute; left: 18%; right: 18%; height: 20%; border-radius: 6px; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(0, 0, 0, .14)), var(--c); box-shadow: 0 6px 14px rgba(0, 0, 0, .12); }
.mockup.fabric-ph i:nth-child(1) { top: 26%; }
.mockup.fabric-ph i:nth-child(2) { top: 40%; left: 15%; right: 15%; }
.mockup.fabric-ph i:nth-child(3) { top: 54%; left: 12%; right: 12%; }
/* Admin: photos fill the product card, the photo boxes and the preview, edge to edge. */
.product-card .pc-media:has(.is-photo), .mm-cell .mm-media:has(.is-photo), .preview-panel:has(.is-photo) { padding: 0 !important; overflow: hidden; }
.product-card .pc-media .mockup.is-photo { width: 100%; height: 100%; aspect-ratio: auto; }
.mm-cell .mm-media { aspect-ratio: 3 / 4; display: grid; place-items: center; overflow: hidden; }
.mm-cell .mm-media > .mockup:not(.is-photo), .mm-cell .mm-media > .m-zoom:not(:has(.is-photo)) { width: 100%; }
.mm-cell .mm-media > .is-photo, .mm-cell .mm-media > .m-zoom { height: 100%; aspect-ratio: auto; }
.mockup .m-print { position: absolute; }
.mockup .m-design { position: absolute; transform: translate(-50%, -50%); max-width: none; touch-action: none; }
.mockup .m-design img { width: 100%; height: auto; pointer-events: none; -webkit-user-drag: none; }
.mockup.interactive .m-print { outline: 1.5px dashed rgba(180, 83, 42, 0); transition: outline-color .2s; }
.mockup.interactive:hover .m-print, .mockup.interactive.dragging .m-print, .mockup.interactive.show-area .m-print { outline-color: rgba(180, 83, 42, .75); }
.mockup.interactive .m-design { cursor: grab; }
.mockup.interactive.dragging .m-design { cursor: grabbing; }
.mockup .m-design .handle { display: none; }
.mockup.interactive .m-design { outline: 1.5px solid transparent; }
.mockup.interactive .m-design:hover, .mockup.interactive.dragging .m-design { outline-color: rgba(15, 42, 30, .55); }
.mockup.interactive .m-design .handle { display: block; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); right: -9px; bottom: -9px; cursor: nwse-resize; touch-action: none; box-shadow: var(--shadow-sm); }
.mockup .m-area-label { position: absolute; top: -22px; left: 0; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.mockup.interactive:hover .m-area-label, .mockup.interactive.dragging .m-area-label, .mockup.interactive.show-area .m-area-label { opacity: 1; }

/* ---------- Design Studio ---------- */
.studio { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 28px; align-items: start; }
.stage-wrap { position: sticky; top: 94px; }
.stage { position: relative; border-radius: var(--r-xl); background: radial-gradient(90% 80% at 50% 35%, #fbf8f3 0%, #efe7da 70%, #e6dccd 100%); border: 1px solid var(--line); overflow: hidden; aspect-ratio: 1 / 1.02; display: grid; place-items: center; }
.stage-inner { width: 66%; margin-top: 2%; transition: transform .45s var(--ease); transform-origin: 50% 38%; }
.stage-title { position: absolute; top: 22px; left: 26px; right: 26px; display: flex; justify-content: space-between; align-items: start; gap: 12px; z-index: 3; pointer-events: none; }
.stage-title > * { pointer-events: auto; }
.stage-title h2 { font-family: var(--font-display); font-weight: 500; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; }
.stage-title p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.stage-tools { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px; border-radius: 99px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); box-shadow: var(--shadow); z-index: 3; }
.seg { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--sand); gap: 2px; }
.seg button { height: 34px; padding: 0 16px; border-radius: 99px; border: 0; background: transparent; font-weight: 700; font-size: 13px; color: var(--ink-2); transition: background .2s, color .2s; }
.seg button.active { background: var(--ink); color: var(--paper); }
.seg button:disabled { opacity: .35; cursor: not-allowed; }
.tool-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; transition: background .2s; }
.tool-btn:hover { background: var(--sand); }
.tool-btn svg { width: 18px; height: 18px; }
.stage-badge { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); font-weight: 700; font-size: 12.5px; box-shadow: var(--shadow-sm); }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.panel-step { border-bottom: 1px solid var(--line); }
.panel-step:last-child { border-bottom: 0; }
.panel-step > header { display: flex; align-items: center; gap: 14px; padding: 18px 22px; cursor: pointer; }
.panel-step > header .num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; border: 1.5px solid var(--line-2); flex: none; }
.panel-step.done > header .num { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.panel-step > header h4 { font-size: 15px; font-weight: 800; }
.panel-step > header .val { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 600; text-align: right; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-step > .body { padding: 0 22px 22px; }
.panel-step:not(.open) > .body { display: none; }

.model-list { display: grid; gap: 10px; }
.model-opt { display: flex; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; text-align: left; transition: border-color .2s, background .2s; width: 100%; }
.model-opt:hover { border-color: var(--line-2); background: #fcfaf7; }
.model-opt.selected { border-color: var(--ink); background: #fcfaf7; }
.model-opt[disabled] { opacity: .5; cursor: not-allowed; }
.model-opt .thumb { width: 54px; height: 58px; padding: 4px; background: var(--sand); }
.model-opt strong { display: block; font-size: 14px; }
.model-opt span { font-size: 12.5px; color: var(--muted); }
.model-opt .mo-price { margin-left: auto; text-align: right; font-weight: 800; font-size: 14px; }
.model-opt .mo-price small { display: block; font-weight: 600; font-size: 11px; color: var(--muted); }

.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 64px; border: 0; background: none; padding: 0; font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.swatch i { width: 46px; height: 46px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 0 0 3px var(--paper), 0 0 0 4px transparent; transition: box-shadow .2s, transform .2s; }
.swatch:hover i { transform: scale(1.06); }
.swatch.selected i { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 0 0 3px #fff, 0 0 0 5.5px var(--ink); }
.swatch.selected { color: var(--ink); }

.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size-opt { min-width: 56px; height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 800; font-size: 14px; transition: all .15s; }
.size-opt:hover { border-color: var(--line-2); }
.size-opt.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.design-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-height: 360px; overflow-y: auto; padding: 2px; margin-top: 12px; }
.design-picker .design-card .dc-media { padding: 10px; }
.design-picker .design-card .dc-body { padding: 8px 10px 10px; }
.design-picker .design-card .dc-name { font-size: 12px; }

.range-row { display: grid; grid-template-columns: 90px 1fr 46px; gap: 12px; align-items: center; font-size: 13px; font-weight: 700; }
.range-row output { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; accent-color: var(--ink); }
.nudge { display: grid; grid-template-columns: repeat(3, 38px); gap: 4px; }
.nudge button { height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 800; }
.nudge button:hover { border-color: var(--ink); }

.price-box { border-radius: var(--r); background: #fbf9f6; border: 1px solid var(--line); padding: 18px; display: grid; gap: 12px; }
.price-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.price-line strong { font-size: 15px; }
.price-line.total { padding-top: 12px; border-top: 1px dashed var(--line-2); }
.profit-big { font-family: var(--font-display); font-size: 34px; font-weight: 500; color: var(--green); letter-spacing: -.02em; }
.profit-big.neg { color: var(--red); }
.margin-bar { height: 8px; border-radius: 99px; background: var(--sand); overflow: hidden; }
.margin-bar > i { display: block; height: 100%; background: var(--green); border-radius: 99px; transition: width .3s var(--ease); }
.quick-prices { display: flex; gap: 6px; flex-wrap: wrap; }
.quick-prices button { height: 32px; padding: 0 12px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 12.5px; }
.quick-prices button:hover { border-color: var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; height: 48px; }
.qty button { width: 44px; height: 100%; border: 0; background: transparent; font-size: 20px; font-weight: 600; }
.qty button:hover { background: var(--sand); }
.qty input { width: 56px; height: 100%; border: 0; text-align: center; font-weight: 800; font-size: 16px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); gap: 28px; align-items: start; }
.summary-card { position: sticky; top: 94px; }
.summary-card .mock-thumb { border-radius: var(--r); background: linear-gradient(160deg, #f4efe7, #e9e0d2); padding: 18px 40px; margin-bottom: 18px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 14px; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; font-weight: 700; text-align: right; }
.kv.left dd { text-align: left; }
.stepper { display: flex; gap: 8px; align-items: center; margin-bottom: 26px; flex-wrap: wrap; font-size: 13px; font-weight: 700; color: var(--faint); }
.stepper span { display: inline-flex; align-items: center; gap: 8px; }
.stepper span b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; font-size: 11.5px; }
.stepper span.on { color: var(--ink); }
.stepper span.on b { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.stepper span.done { color: var(--green); }
.stepper span.done b { background: var(--green); color: #fff; border-color: var(--green); }
.stepper i { width: 28px; height: 1.5px; background: var(--line-2); }

/* Payment */
.pay-methods { display: grid; gap: 10px; }
.pay-method { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; text-align: left; width: 100%; transition: border-color .2s; }
.pay-method:hover { border-color: var(--line-2); }
.pay-method.selected { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(15, 42, 30, .06); }
.pay-method .pm-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; font-weight: 800; font-size: 12px; flex: none; }
.pay-method strong { display: block; font-size: 14.5px; }
.pay-method span { font-size: 12.5px; color: var(--muted); }
.pay-method .radio { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.pay-method.selected .radio { border: 6px solid var(--ink); }
.secure-note { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); }
.secure-note svg { width: 16px; height: 16px; color: var(--green); }
.sandbox-banner { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--amber-soft); color: var(--amber); font-size: 13px; font-weight: 600; }

.success-hero { text-align: center; padding: 20px 0 8px; }
.success-check { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; animation: pop .6s var(--ease); box-shadow: 0 0 0 12px var(--green-soft); }
.success-check svg { width: 40px; height: 40px; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }
.success-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 4vw, 46px); letter-spacing: -.03em; }

/* Timeline */
.timeline { position: relative; display: grid; gap: 0; }
.tl-item { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding-bottom: 22px; }
.tl-item::before { content: ''; position: absolute; left: 17px; top: 30px; bottom: -2px; width: 2px; background: var(--line); }
.tl-item:last-child::before { display: none; }
.tl-item.done::before { background: var(--ink); }
.tl-dot { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; position: relative; z-index: 1; color: var(--faint); }
.tl-dot svg { width: 16px; height: 16px; }
.tl-item.done .tl-dot { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tl-item.current .tl-dot { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 6px var(--accent-soft); }
.tl-item h5 { margin: 6px 0 2px; font-size: 14.5px; font-weight: 800; }
.tl-item:not(.done):not(.current) h5 { color: var(--faint); font-weight: 700; }
.tl-item p { font-size: 12.5px; color: var(--muted); }
.track-h { display: flex; gap: 0; overflow-x: auto; padding: 6px 0 4px; }
.track-h .th { flex: 1; min-width: 92px; text-align: center; position: relative; font-size: 11.5px; font-weight: 700; color: var(--faint); }
.track-h .th::before { content: ''; position: absolute; top: 13px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.track-h .th:first-child::before { display: none; }
.track-h .th i { display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto 8px; border-radius: 50%; background: #fff; border: 2px solid var(--line); position: relative; z-index: 1; font-style: normal; }
.track-h .th.done { color: var(--ink); }
.track-h .th.done::before { background: var(--ink); }
.track-h .th.done i { background: var(--ink); border-color: var(--ink); color: #fff; }
.track-h .th.current { color: var(--ink); }
.track-h .th.current i { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }

/* Orders */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.toolbar .input, .toolbar .select { height: 42px; font-size: 14px; border-radius: 99px; }
.toolbar .search { flex: 1; min-width: 220px; position: relative; }
.toolbar .search .input { padding-left: 42px; }
.toolbar .search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.order-cards { display: none; }
.order-card { display: block; padding: 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.order-card + .order-card { margin-top: 10px; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.preview-panel { border-radius: var(--r-lg); background: linear-gradient(160deg, #f4efe7, #e7ddcd); padding: 28px 56px; position: relative; }
.preview-panel .seg { position: absolute; top: 16px; right: 16px; }

/* Admin specifics */
.print-spec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.print-spec > div { background: #fff; padding: 14px 16px; }
.print-spec span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.print-spec strong { font-size: 15px; }
.address-block { font-size: 14.5px; line-height: 1.6; padding: 16px; border-radius: var(--r); background: #fbf9f6; border: 1px dashed var(--line-2); }
.mockup-matrix { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.mm-cell { border: 1px solid var(--line); border-radius: 14px; padding: 10px; background: #fff; }
.mm-cell .mm-media { border-radius: 10px; background: var(--sand); padding: 8px 14px; position: relative; }
.mm-cell .mm-media .tag { position: absolute; z-index: 2; top: 6px; left: 6px; font-size: 10px; font-weight: 800; letter-spacing: .06em; padding: 2px 7px; border-radius: 99px; background: #fff; }
.upload-drop { border: 2px dashed var(--line-2); border-radius: var(--r); padding: 26px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; display: block; }
.upload-drop:hover, .upload-drop.drag { border-color: var(--ink); background: #fbf8f3; }
.colour-row { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.colour-row:last-child { border-bottom: 0; }
.colour-row input[type=color] { width: 42px; height: 42px; border: 0; border-radius: 50%; padding: 0; background: none; cursor: pointer; }
.colour-row input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.colour-row input[type=color]::-webkit-color-swatch { border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.check-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.check-pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 13px; cursor: pointer; user-select: none; }
.check-pill input { display: none; }
.check-pill:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.print-only { display: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio { grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr); }
}
@media (max-width: 1024px) {
  .hero .container, .intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit.feature { grid-row: auto; grid-column: span 2; }
  .steps-h { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps-h::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 44px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .portal { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .studio, .checkout, .detail-grid, .dash-grid { grid-template-columns: 1fr; }
  .stage-wrap, .summary-card { position: static; }
  body.has-tabbar .content { padding-bottom: 110px; }
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); border-top: 1px solid var(--line); padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 700; color: var(--muted); padding: 4px 0; }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a.active { color: var(--ink); }
  .tabbar a.studio-tab span.tb-ico { width: 46px; height: 46px; margin-top: -22px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .5); }
  .tabbar.admin a.studio-tab span.tb-ico { background: var(--accent); }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 18px; }
  .nav-links, .nav-cta .hide-sm { display: none; }
  .burger { display: grid; }
  .hero { padding: 28px 0 24px; }
  .hero-lead { font-size: 16px; margin: 18px 0 26px; }
  .hero-ctas .btn { flex: 1; }
  .hero-trust { gap: 20px; margin-top: 30px; }
  .float-card { display: none; }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 32px; }
  .flow, .product-grid, .benefits, .money-strip { grid-template-columns: 1fr; }
  .money-strip > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .benefit.feature { grid-column: auto; }
  .design-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .steps-h { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > :first-child { grid-column: span 2; }
  .cta-band { padding: 32px 24px; }
  .contact-form { padding: 22px; }
  .form-grid, .form-grid.cols-3 { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .hide-mobile { display: none !important; }
  .topbar { padding: 0 16px; height: 62px; }
  .topbar .user-chip div { display: none; }
  .topbar .user-chip { padding: 4px; }
  .content { padding: 20px 16px; }
  .card { padding: 18px; border-radius: 20px; }
  .stats { gap: 10px; }
  .stat { padding: 16px; border-radius: 18px; }
  .stat .s-value { font-size: 26px; }
  .orders-table { display: none; }
  .order-cards { display: block; }
  .stage { border-radius: 24px; aspect-ratio: 1 / 1.18; }
  .stage-inner { width: 70%; margin-top: 10%; }
  .stage-title h2 { font-size: 11.5px; letter-spacing: .14em; }
  .stage-title p { font-size: 12px; }
  .stage-badge { padding: 6px 10px; font-size: 11px; max-width: 46%; }
  .stage-tools { gap: 2px; padding: 4px; }
  .stage-tools .seg button { padding: 0 12px; }
  .stage-title { top: 14px; left: 16px; right: 16px; }
  .stage-tools { bottom: 10px; }
  .design-picker { grid-template-columns: repeat(2, 1fr); }
  .preview-panel { padding: 20px 28px; }
  .notif-panel { right: 16px; }
  .modal-backdrop { padding: 0; align-items: end; }
  .modal { border-radius: 26px 26px 0 0; max-height: 92vh; }
  .modal-head, .modal-body, .modal-foot { padding-left: 20px; padding-right: 20px; }
  .print-spec { grid-template-columns: 1fr 1fr; }
  .hbar { grid-template-columns: 90px 1fr 40px; }
  .stepper i { width: 12px; }
  .page-head { margin-bottom: 20px; }
}

/* Print: shipping label / job sheet */
@media print {
  body * { visibility: hidden; }
  .print-only, .print-only * { visibility: visible; }
  .print-only { display: block; position: absolute; left: 0; top: 0; width: 100%; padding: 24px; }
  .wa-float, .tabbar { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================================
   Wallet, activation & sharing
   ========================================================================= */
.stretched { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.product-card, .design-card { position: relative; }
.share-fab { position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 22px -8px rgba(31, 157, 85, .8); transition: transform .2s var(--ease); }
.share-fab:hover { transform: scale(1.08); }
.share-fab svg { width: 20px; height: 20px; }
.design-card .share-fab { width: 36px; height: 36px; top: 8px; right: 8px; }
.design-card .share-fab svg { width: 17px; height: 17px; }

.share-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.share-preview { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); aspect-ratio: 1080 / 1350; box-shadow: var(--shadow); }
.share-preview img { width: 100%; height: 100%; object-fit: cover; }
.share-preview .spinner { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; }
.swatches.sm { gap: 8px; }
.swatches.sm .swatch { width: auto; }
.swatches.sm .swatch i { width: 32px; height: 32px; }

.pay-method[disabled] { pointer-events: none; }
.wallet-line { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--green-soft); }
.wallet-line .pm-icon { width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 800; flex: none; }
.wallet-line strong { display: block; font-size: 14px; }
.wallet-line span { font-size: 12.5px; color: var(--ink-2); }
.wallet-line.low { background: var(--amber-soft); }
.wallet-chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 99px; background: var(--ink); color: var(--paper); font-weight: 800; font-size: 13.5px; }
.wallet-chip svg { width: 17px; height: 17px; }
.side-amt { margin-left: auto; font-size: 12px; font-weight: 800; color: var(--green); }
.side-link.active .side-amt { color: #8fd3a9; }
.wallet-banner { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-radius: var(--r-lg); background: linear-gradient(120deg, #173f2b, #1c6b44); color: #fff; margin-bottom: 16px; }
.wallet-banner strong { font-family: var(--font-display); font-weight: 500; font-size: 24px; }
.wallet-banner .wb-ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; flex: none; }
.wallet-banner .wb-ico svg { width: 20px; height: 20px; }
.wallet-banner.low { background: linear-gradient(120deg, #7a4a0c, #b4532a); }

.activate { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); gap: 24px; align-items: start; }
.activate-hero { position: relative; border-radius: var(--r-xl); background: var(--ink); color: var(--paper); padding: 40px; overflow: hidden; }
.activate-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.03em; margin: 12px 0 14px; line-height: 1.02; }
.activate-hero p { color: #c9c1b6; font-size: 16px; max-width: 520px; }
.activate-hero p strong, .activate-hero em { color: #e7a17d; font-style: normal; }
.activate-tees { position: relative; height: 300px; margin: 26px 0 10px; }
.activate-tees > div { position: absolute; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45)); }
.activate-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.activate-list li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.activate-list li svg { width: 18px; height: 18px; color: #8fd3a9; flex: none; }
.activate-pay { position: sticky; top: 94px; }

@media (max-width: 1024px) {
  .activate { grid-template-columns: 1fr; }
  .activate-pay { position: static; }
}
@media (max-width: 760px) {
  .share-grid { grid-template-columns: 1fr; }
  .share-preview { max-width: 320px; margin: 0 auto; width: 100%; }
  .activate-hero { padding: 26px 22px; }
  .activate-tees { height: 200px; }
  .wallet-chip span { font-size: 12.5px; }
  .wallet-banner { padding: 12px 16px; }
  .wallet-banner > .small:last-child { display: none; }
}

/* Customer "My Orders" */
.customer-order { display: flex; align-items: center; gap: 16px; padding: 14px 18px; transition: transform .2s var(--ease), box-shadow .2s; }
.customer-order:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.customer-order .thumb { width: 72px; height: 78px; padding: 6px; }
.customer-order > svg { color: var(--muted); }

/* Moving sample Kurtis (replaces the text ticker) */
.tee-marquee { overflow: hidden; background: var(--sand); border-block: 1px solid var(--line); padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tee-track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.tee-marquee:hover .tee-track { animation-play-state: paused; }
.tee-chip { display: flex; flex-direction: column; align-items: center; width: 150px; flex: none; padding: 10px 10px 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.tee-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tee-chip .tee-img { width: 112px; display: block; }
.tee-cap { text-align: center; margin-top: 6px; line-height: 1.3; }
.tee-cap strong { display: block; font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.tee-cap span { font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.tee-cap .swatch-dot { width: 10px; height: 10px; }
@media (max-width: 760px) { .tee-chip { width: 120px; } .tee-chip .tee-img { width: 88px; } .tee-marquee { padding: 12px 0; } }

/* Password show/hide */
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 52px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); display: grid; place-items: center; }
.pw-toggle:hover { background: var(--sand); color: var(--ink); }
.pw-toggle svg { width: 20px; height: 20px; }

/* =========================================================================
   Design Studio (3D)
   ========================================================================= */
.ds-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.ds-title { font-size: clamp(28px, 3vw, 38px); }
.ds { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 22px; align-items: start; }
.ds-stage { position: sticky; top: 86px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(90% 75% at 50% 32%, #fffdf9 0%, #efe7da 68%, #e3d7c5 100%); }
.viewer { position: relative; width: 100%; aspect-ratio: 1 / 1.02; }
.viewer.flat { display: grid; place-items: center; }
.viewer-fallback { width: 74%; }
.viewer-tools { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 4px; align-items: center; padding: 5px; border-radius: 99px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.viewer-tools .tool-btn.active { background: var(--ink); color: var(--paper); }
.viewer-hint { position: absolute; top: 14px; left: 16px; display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; color: var(--muted); background: rgba(255, 255, 255, .75); padding: 6px 10px; border-radius: 99px; pointer-events: none; }
.viewer-hint svg { width: 14px; height: 14px; }
.ds-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.ds-sec { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.ds-sec h4 { font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.ds-sec > .row h4 { margin: 0; }
.ds-tees { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.ds-tee { flex: none; width: 92px; padding: 6px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ds-tee span { width: 70px; }
.ds-tee small { font-size: 10.5px; font-weight: 700; line-height: 1.2; text-align: center; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ds-tee.selected { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }
.ds-art { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 8px; max-height: 300px; overflow-y: auto; margin-top: 10px; padding: 2px; }
.ds-art-item { border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 0; overflow: hidden; display: flex; flex-direction: column; text-align: left; }
.ds-art-item span { aspect-ratio: 1; background: var(--dc-bg, var(--ink)); display: grid; place-items: center; padding: 8px; }
.ds-art-item img { width: 100%; height: 100%; object-fit: contain; }
.ds-art-item small { font-size: 10.5px; font-weight: 700; padding: 5px 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-art-item.selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.ds-art-item[disabled] { opacity: .35; cursor: not-allowed; }
.ds-cur { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: var(--sand); }
.ds-cur-img { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; padding: 4px; flex: none; }
.ds-cur-img img { width: 100%; height: 100%; object-fit: contain; }
.ds-place { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; }
.ds-place #ds-place { background: var(--sand); border-radius: 14px; padding: 6px; }
.ds-actions { padding: 16px 18px; display: grid; gap: 8px; }
.seg button.active { background: var(--ink); color: var(--paper); }

.paywall { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 22px; align-items: start; }
.paywall-hero { border-radius: var(--r-xl); background: var(--ink); color: var(--paper); padding: 32px; overflow: hidden; }
.paywall-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.03em; margin: 10px 0; line-height: 1.04; }
.paywall-hero p { color: #c9c1b6; max-width: 520px; }
.paywall-viewer { height: 340px; margin-top: 10px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plan { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px 14px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; }
.plan strong { font-size: 13px; }
.plan-price { font-family: var(--font-display); font-size: 26px; font-weight: 500; }
.plan.selected { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(15, 42, 30, .08); }
.plan-tag { position: absolute; top: -9px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 99px; }

@media (max-width: 1024px) {
  .ds, .paywall { grid-template-columns: 1fr; }
  .ds-stage { position: relative; top: 0; }
}
@media (max-width: 760px) {
  .viewer { aspect-ratio: 1 / 1.08; }
  .ds-place { grid-template-columns: 110px 1fr; }
  .paywall-hero { padding: 22px; }
  .paywall-viewer { height: 240px; }
  .plan-price { font-size: 22px; }
}
/* Phones/tablets: keep the 3D shirt pinned on top while browsing designs below. */
@media (max-width: 1024px) {
  .ds > .ds-stage { position: sticky; top: calc(var(--nav-h, 64px) + 4px); z-index: 6; box-shadow: var(--shadow); }
  .ds > .ds-stage .viewer { aspect-ratio: auto; height: 46vh; min-height: 260px; }
  body.has-tabbar .ds > .ds-stage { top: 66px; }
}

/* ---------- Shop: bag, prices, checkout ---------- */
.bag-btn { text-decoration: none; color: inherit; }
.bag-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--paper); }
.bag-count[hidden] { display: none; }
.price-tag { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-tag strong { font-weight: 800; font-size: 17px; }
.price-tag s { color: var(--muted); font-size: 13px; }
.price-tag em { font-style: normal; color: var(--green); font-weight: 800; font-size: 12.5px; }
.price-tag.lg strong { font-family: var(--font-display); font-weight: 500; font-size: 34px; }
.price-tag.lg s { font-size: 17px; }
.price-tag.lg em { font-size: 15px; }
.bag-line { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bag-line:first-child { padding-top: 0; }
.bag-line:last-child { border-bottom: 0; padding-bottom: 0; }
.bag-line .thumb { width: 84px; height: 92px; padding: 6px; display: block; }
.bag-line.unavailable .thumb { opacity: .45; }
.qty.sm { height: 38px; border-radius: 10px; }
.qty.sm button { width: 34px; font-size: 17px; }
.qty.sm input { width: 40px; font-size: 14px; }
.btn.disabled { opacity: .5; pointer-events: none; }
.success-hero { padding: 28px; border-radius: var(--r-lg); background: linear-gradient(160deg, #eef5ee, #e3eee2); }
@media (max-width: 760px) { .bag-line .thumb { width: 64px; height: 70px; } }

/* Compact sections (home: "How to order" steps and the shop-now banner). */
.section.compact { padding: 28px 0; }
.section.compact .section-head { margin-bottom: 18px; }
.section.compact .section-head h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 6px; }
.steps-h.four { grid-template-columns: repeat(4, 1fr); }
.section.compact .steps-h::before { top: 20px; left: 12.5%; right: 12.5%; }
.section.compact .step-h .n { width: 40px; height: 40px; margin-bottom: 10px; font-size: 16px; }
.section.compact .step-h h4 { font-size: 14.5px; margin-bottom: 2px; }
.section.compact .step-h p { font-size: 12.5px; }
.cta-band.compact { padding: 28px 40px; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.cta-band.compact h2 { font-size: clamp(22px, 2.4vw, 30px); }
.cta-band.compact::after { width: 200px; height: 200px; border-width: 40px; right: -60px; top: -60px; }
@media (max-width: 1024px) { .steps-h.four { grid-template-columns: repeat(2, 1fr); row-gap: 20px; } .cta-band.compact { grid-template-columns: 1fr; } .cta-band.compact .row { justify-content: flex-start !important; } }
@media (max-width: 760px) { .cta-band.compact { padding: 24px 22px; } }
/* "Why Niloras": feature card (no picture) sits wide in the first row → two even rows of four. */
@media (min-width: 1025px) {
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .benefit.feature { grid-row: auto; grid-column: span 2; justify-content: flex-start; }
}
/* Hero: calmer type so the heading, text and carousel fit comfortably on one screen. */
.hero { padding: 24px 0 20px; }
.hero .container { grid-template-columns: 1fr 1fr; gap: 40px; }
.hero h1 { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.02; }
.hero-lead { font-size: 16px; max-width: 460px; margin: 18px 0 24px; }
.hero-trust { margin-top: 28px; gap: 24px; }
.hero-trust div strong { font-size: 22px; }
.hero-trust div span { font-size: 12px; }
.hero-visual { max-width: 520px; width: 100%; justify-self: center; }
.float-card { padding: 9px 13px; font-size: 12px; }
.float-card strong { font-size: 13.5px; }
.float-card.f2 { right: auto; left: 0; bottom: 8%; }

/* Simple home: one-line trust strip and contact strip. */
.trust-strip { border-block: 1px solid var(--line); background: var(--sand); }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 10px 24px; padding-block: 14px; }
.trust-strip .container > div { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; }
.trust-strip svg { width: 18px; height: 18px; color: var(--accent); }
/* "Our process" videos (printing, dyeing…) below the Kurtis. */
.process { padding-block: 56px 48px; border-top: 1px solid var(--line); }
.process-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.01em; margin: 8px 0 24px; }
.process-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; align-items: flex-start; }
.pv { margin: 0; flex: 1 1 260px; max-width: 320px; }
.pv.vertical, .pv.instagram { flex: 0 0 200px; max-width: 200px; }
.pv-frame { position: relative; aspect-ratio: 16 / 9; background: #111; overflow: hidden; }
.pv.vertical .pv-frame, .pv.instagram .pv-frame { aspect-ratio: 4 / 5; border-radius: 14px; background: #111; }
.pv-frame iframe, .pv-btn { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pv-btn { padding: 0; background: none; cursor: pointer; }
.pv-btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.pv-btn:hover img { transform: scale(1.03); }
.pv-play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.pv-play svg { width: 24px; height: 24px; fill: var(--ink); margin-left: 4px; }
/* Instagram embeds are 326px wide with a 54px header: scale to 200px and shift so only the 4:5 video shows. */
.pv.instagram .pv-frame iframe { width: 326px; height: 720px; inset: auto; top: 0; left: 0; transform-origin: 0 0; transform: translateY(-33px) scale(.6135); }
.pv figcaption { font-size: 13px; font-weight: 600; padding: 10px 2px 0; }
/* Natural Dyeing (craft) page */
.craft-hero { padding: 22px 0; background: radial-gradient(120% 90% at 85% 10%, #efe3cf 0%, var(--paper) 60%); }
.craft-hero-grid { display: grid; grid-template-columns: minmax(0, 660px) auto; justify-content: center; gap: 56px; align-items: center; }
.craft-hero-img { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; width: 230px; box-shadow: var(--shadow); }
.craft-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 860px) { .craft-hero-grid { grid-template-columns: 1fr; gap: 28px; } .craft-hero-img { aspect-ratio: 16 / 10; width: 100%; } .craft-hero-img img { object-position: 50% 20%; } }
.craft-hero h1 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; margin-top: 10px; }
@media (min-width: 861px) { .craft-hero h1 { white-space: nowrap; } }
.craft-hero h1 em { font-style: italic; font-weight: 400; color: var(--accent); white-space: nowrap; }
.craft-lead { max-width: 620px; margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.6; }
.dye-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.dye-card { background: var(--card); border-radius: var(--r-lg); padding: 22px; border: 1px solid var(--line); }
.dye-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 21px; margin: 14px 0 4px; }
.dye-card p + p { margin-top: 8px; }
.dye-swatch { display: block; width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .28), transparent 55%), var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.craft-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px 24px; counter-reset: none; }
.craft-steps li { border-top: 1px solid var(--line); padding-top: 18px; }
.craft-steps .step-no { font-family: var(--font-display); font-size: 15px; color: var(--accent); font-weight: 600; letter-spacing: .06em; }
.craft-steps h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin: 6px 0 8px; }
.craft-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; }
.craft-h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.02em; margin: 10px 0 18px; }
.craft-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; line-height: 1.55; }
.craft-list li { padding-left: 22px; position: relative; color: #d9d2c7; }
.craft-list li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: #c9a45c; }
.craft-list strong { color: var(--paper); }
/* Compact sizing for the whole Natural Dyeing page. */
.craft .section { padding: 40px 0; }
.craft .section-head { margin-bottom: 18px; }
.craft .section-head h2 { font-size: clamp(24px, 2.6vw, 34px); margin-top: 6px; }
.craft .section-head p { font-size: 14px; max-width: 380px; }
.craft .dye-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.craft .dye-card { padding: 14px; border-radius: 14px; font-size: 13px; }
.craft .dye-card h3 { font-size: 16px; margin: 8px 0 2px; }
.craft .dye-card p + p { margin-top: 4px; }
.craft .dye-swatch { width: 32px; height: 32px; }
.craft .craft-steps { gap: 16px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.craft .craft-steps li { padding-top: 12px; font-size: 14px; }
.craft .craft-steps h3 { font-size: 17px; margin: 2px 0 4px; }
.craft .craft-two { gap: 32px; }
.craft .craft-h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 6px 0 12px; }
.craft .craft-list { gap: 8px; font-size: 14px; }
.craft .process { padding-block: 36px; }
.craft .process-title { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 16px; }
/* Auto-playing collection slideshow in the Natural Dyeing intro. */
.craft-hero-img.slideshow { position: relative; width: 280px; background: #ece5d8; }
.slideshow .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; color: #fff; text-decoration: none; }
.slideshow .slide.on { opacity: 1; z-index: 1; }
.slideshow .slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 30px; display: grid; gap: 2px;
  background: linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0)); font-size: 12px; }
.slide-cap strong { font-size: 14px; font-weight: 700; }
.slide-dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; flex-wrap: wrap; padding: 0 10px; }
.slide-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .55); cursor: pointer; }
.slide-dots button.on { background: #fff; width: 16px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .slideshow .slide { transition: none; } }
/* Intro + colours fit on one screen together. */
.craft .section.craft-colours { padding: 22px 0 26px; }
.craft .craft-colours .section-head { margin-bottom: 12px; align-items: center; }
.craft-hero .row { margin-top: 18px !important; }
.craft-cta { text-align: center; }
.craft-cta h2 { font-size: clamp(24px, 2.6vw, 34px); }
.craft-cta p { margin-top: 6px; }
.section:has(> .craft-cta), .section:has(> .container.craft-cta) { padding: 36px 0; }
/* Compact footer: smaller logo, text and icons. */
.site-footer { font-size: 14px; }
.site-footer .logo { font-size: 19px; }
.site-footer .logo-img { height: 30px; padding: 3px 8px 7px 6px; }
.site-footer h5 { font-size: 12px; margin-bottom: 10px; }
.site-footer a { padding: 2px 0; }
.site-footer .footer-tagline { margin-top: 12px; font-size: 11px; letter-spacing: .24em; }
.site-footer .social { margin-top: 12px; }
.site-footer .social span { font-size: 11px; }
.site-footer .social a { width: 34px; height: 34px; }
.site-footer .social a svg { width: 17px; height: 17px; }
/* Instagram / Facebook links */
.social { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.social span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #c9a45c; margin-right: 4px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .22); color: var(--paper); transition: background .2s, border-color .2s; }
.social a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.social a svg { width: 20px; height: 20px; }
.social.light { margin-top: 0; }
.social.light span { color: var(--muted); }
.social.light a { border-color: var(--line-2); color: var(--ink); width: 38px; height: 38px; }
.social.light a:hover { background: var(--sand); }
.contact-strip { border-top: 1px solid var(--line); }
.contact-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; padding-block: 22px; font-size: 14px; color: var(--muted); }
#home-page .hero-lead { margin-bottom: 22px; }
/* Product-first shop grid (home + /kurtis). */
.announce { background: var(--ink); color: var(--paper); text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; padding: 9px 16px; }
.shop-page { padding: 28px 0 48px; }
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.shop-head h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.02em; text-transform: uppercase; }
.filter-btn { display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 22px; border: 1px solid var(--ink); background: #fff; font-weight: 600; font-size: 14px; }
.filter-btn svg { width: 18px; height: 18px; }
.filter-panel { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: end; padding: 18px 0; border-block: 1px solid var(--line); margin-bottom: 14px; }
.filter-panel .label { margin-bottom: 8px; }
#fs-count { margin: 4px 0 14px; }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shop-card { position: relative; }
.sc-media { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; background: #f1f0ee; overflow: hidden; }
.sc-img { width: 78%; transition: transform .5s var(--ease); }
.shop-card:hover .sc-img { transform: scale(1.04); }
.sc-tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: #fff; font-size: 11.5px; font-weight: 800; padding: 4px 9px; color: var(--green); }
.sc-tag.bad { color: var(--red); }
.sc-arrow { position: absolute; top: calc((100% - 92px) / 2); z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .1); opacity: 0; transition: opacity .2s; }
.sc-arrow svg { width: 18px; height: 18px; }
.sc-arrow.prev { left: 10px; }
.sc-arrow.next { right: 10px; }
.shop-card:hover .sc-arrow, .sc-arrow:focus-visible { opacity: 1; }
@media (hover: none) { .sc-arrow { opacity: .9; width: 32px; height: 32px; } }
.sc-info { display: grid; gap: 4px; padding: 12px 2px 4px; color: inherit; text-decoration: none; }
.sc-name { font-size: 14px; font-weight: 600; }
.sc-natural { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: #2f6b3a; }
.cat-tabs { margin: -4px 0 16px; }
.sc-info .price-tag strong { font-size: 14.5px; }
.sc-dots { display: flex; gap: 5px; margin-top: 2px; }
.sc-dots i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.sc-dots i.on { outline: 1.5px solid var(--ink); outline-offset: 1.5px; }
@media (max-width: 1024px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .filter-btn { height: 42px; padding: 0 14px; } .sc-name { font-size: 13px; } }

.pp-desc { margin-top: 14px; font-size: 15.5px; line-height: 1.65; }
.pp-desc p + p, .pp-desc p + ul, .pp-desc ul + p { margin-top: 10px; }
.pp-desc ul { margin: 8px 0 0 20px; padding: 0; display: grid; gap: 4px; }
.pp-desc strong { color: var(--ink); }
/* Product page: three pictures (large + two below) beside sticky details. */
.pp-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.pp-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pp-shot { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 3.4; background: #f1f0ee; border: 0; padding: 0; cursor: zoom-in; overflow: hidden; }
.pp-shot.main { grid-column: span 2; aspect-ratio: 4 / 3.9; cursor: default; }
.pp-img { width: 74%; display: block; }
.pp-shot.main .pp-img { width: 62%; }
.pp-shot:not(.main):hover .pp-img { transform: scale(1.04); }
.pp-img { transition: transform .4s var(--ease); }
.pp-label { position: absolute; left: 12px; bottom: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pp-details { position: sticky; top: 94px; }
.m-zoom { position: relative; width: 100%; aspect-ratio: 600 / 660; overflow: hidden; }
.m-zoom > .mockup { transform: scale(2.2); transform-origin: 50% 6%; }
@media (max-width: 1024px) { .pp-layout { grid-template-columns: 1fr; gap: 28px; } .pp-details { position: static; } }
.pp-shot:not(.main) .pp-img:has(> .m-zoom) { width: 100%; }
.footer-tagline { margin-top: 16px; font-size: 12px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: #c9a45c; }

/* Natural Dyeing page: clothing and fabric groups */
.natural-groups { display: grid; gap: 56px; }
.natural-group { scroll-margin-top: 90px; }
.natural-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; justify-content: space-between; padding: 22px; }
.natural-empty p { margin: 0; max-width: 560px; }
