/* =====================================================================
   VM CLOTHES — features: Buy-now button with prepaid offer, AI photo try-on,
   Create-your-T-shirt designer, prepaid discount at checkout, footer CTA.
   Loaded after app.css on every storefront page.
   ===================================================================== */
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }

/* ----------------------------------------------------------- Buy now (prepaid offer) */
.bn-wrap { position: relative; width: 100%; }
.bn-wrap.has-offer { padding-top: 15px; }
.bn-offer { position: absolute; top: 0; left: 22px; z-index: 1; padding: 5px 16px 6px; border-radius: 14px 14px 0 0; background: #E4DCCD; color: #13213A; font-size: 12px; font-weight: 600; letter-spacing: .07em; line-height: 1.1; white-space: nowrap; }
.bn-offer::after { content: ""; position: absolute; right: -10px; bottom: 0; width: 10px; height: 10px; background: radial-gradient(circle at 100% 0, transparent 9.5px, #E4DCCD 10px); }
.bn-btn { position: relative; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 18px 12px 26px; border: 0; border-radius: 16px; background: #0F1E36; color: #fff; text-align: left; box-shadow: 0 10px 24px -12px rgba(15, 30, 54, .7); transition: transform var(--t-fast) ease-out, box-shadow var(--t-fast) ease-out, background-color var(--t-fast) ease-out; }
.cta-row .bn-btn[data-buy-now], .bn-btn { background: #0F1E36; color: #fff; }
.bn-btn:hover, .cta-row .bn-btn[data-buy-now]:hover { background: #142847; color: #fff; transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(15, 30, 54, .75); }
.bn-btn:active { transform: translateY(0); }
.bn-btn:disabled { opacity: .45; pointer-events: none; }
.bn-label { font-size: 17px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.bn-apps { display: flex; align-items: center; }
.bn-app { display: grid; place-items: center; width: 30px; height: 30px; margin-left: -7px; border-radius: 50%; background: #fff; border: 2px solid #0F1E36; font-style: normal; font-size: 10px; font-weight: 700; color: #3a3a3a; overflow: hidden; }
.bn-app:first-child { margin-left: 0; }
.bn-app img { width: 22px; height: 22px; object-fit: contain; }
.bn-app--gpay { color: #4285F4; font-size: 15px; font-weight: 700; }
.bn-app--phonepe { background: #5F259F; color: #fff; font-size: 11px; }
.bn-app--paytm { color: #00BAF2; font-size: 7.5px; letter-spacing: -.02em; }
.bn-arrow { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-fast) ease-out; }
.bn-btn:hover .bn-arrow { transform: translateX(3px); }
.bn-btn.is-loading { color: transparent; pointer-events: none; }
.bn-btn.is-loading > * { visibility: hidden; }
.bn-btn.is-loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.bn-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 8px 4px 0; font-size: 12px; color: var(--muted); }
.bn-foot span { display: inline-flex; align-items: center; gap: 6px; }
.bn-foot span:first-child { color: var(--ok); font-weight: 500; }
.bn-foot svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cta-row--stack { display: grid; grid-template-columns: 1fr; gap: 12px; }
.btn-addcart { border-color: var(--ink); }
@media (max-width: 380px) { .bn-label { font-size: 15px; letter-spacing: .1em; } .bn-app { width: 26px; height: 26px; } .bn-offer { font-size: 11px; left: 14px; } }

/* product page try-on CTA badge */
.tryon-cta { position: relative; }
.tryon-new { position: absolute; top: -9px; right: 12px; padding: 3px 9px; border-radius: 10px; background: linear-gradient(90deg, #7B5CFF, #FF4D8D); color: #fff; font-size: 10px; font-style: normal; font-weight: 600; letter-spacing: .12em; }

/* ----------------------------------------------------------- Checkout / cart prepaid */
.pay-offer { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 10px; background: #E4DCCD; color: #13213A; font-size: 11px; font-weight: 600; letter-spacing: .04em; vertical-align: 1px; }
.prepaid-note { display: flex; gap: 10px; align-items: center; margin: 12px 0 0; padding: 10px 12px; border-radius: var(--r-lg); background: #F3EFE6; color: #13213A; font-size: 13px; }
.prepaid-note b { font-weight: 600; }
.totals [data-row="prepaid"] dd { color: var(--ok); font-weight: 500; }
.line-design { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 10px; background: var(--tint); font-size: 11px; letter-spacing: .04em; color: var(--ink-2); }

/* ----------------------------------------------------------- Footer CTA */
.footer-create { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 12px 18px; border: 1px solid var(--dark-line); border-radius: 30px; color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; transition: background-color var(--t-fast) ease-out, border-color var(--t-fast) ease-out; }
.footer-create:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); }
.footer-create svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mobile-nav .nav-create { font-weight: 500; }

/* ----------------------------------------------------------- AI photo try-on modal */
.ptry { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 12px; background: rgba(10, 11, 13, .62); backdrop-filter: blur(4px); animation: fadeIn var(--t) ease-out; }
.ptry-card { position: relative; width: min(920px, 100%); max-height: calc(100dvh - 24px); display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); animation: riseIn var(--t) ease-out; }
.ptry-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line); }
.ptry-garment { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ptry-garment img { width: 44px; height: 54px; object-fit: cover; border-radius: 6px; background: var(--tint); }
.ptry-garment small { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ptry-garment strong { display: block; font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52vw; }
.ptry-head .icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.ptry-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; list-style: none; margin: 0; padding: 12px 18px 0; counter-reset: s; }
.ptry-steps li { position: relative; padding-top: 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.ptry-steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 2px; background: var(--tint-2); transition: background-color var(--t) ease-out; }
.ptry-steps li.on { color: var(--ink); }
.ptry-steps li.on::before { background: var(--ink); }
.ptry-body { overflow-y: auto; overscroll-behavior: contain; padding: 18px; }
.ptry-body h3 { margin: 0 0 10px; font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.01em; }
.ptry-err { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: #FBEDEC; color: var(--sale); font-size: 14px; }
.ptry-err svg, .ptry-checks svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ptry-pick { display: grid; grid-template-columns: 1fr 150px; gap: 18px; align-items: center; margin-bottom: 18px; }
.ptry-tips ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.ptry-tips b { font-weight: 500; color: var(--ink); }
.ptry-pose-guide { display: grid; place-items: center; gap: 6px; padding: 14px; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.ptry-pose-guide svg { width: 90px; height: 110px; fill: var(--tint-2); stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; }
.ptry-consent { display: flex; gap: 10px; align-items: center; margin: 0 0 14px; font-size: 14px; }
.ptry-consent input { width: 18px; height: 18px; accent-color: var(--ink); }
.ptry-consent.shake { animation: ptryShake .35s ease-out; }
@keyframes ptryShake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.ptry-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ptry-actions.col, .ptry-report .ptry-actions { grid-template-columns: 1fr; }
.ptry-file { cursor: pointer; }
.ptry-file svg, .ptry-actions svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ptry-privacy { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.ptry-analyse, .ptry-gen, .ptry-result { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.ptry-photo { position: relative; overflow: hidden; border-radius: 12px; background: var(--tint); }
.ptry-photo img, .ptry-photo canvas { display: block; width: 100%; height: auto; max-height: 62vh; object-fit: contain; }
.ptry-photo canvas { position: absolute; inset: 0; height: 100%; }
.ptry-scan { position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(to bottom, rgba(47, 128, 255, 0), rgba(47, 128, 255, .28) 70%, rgba(120, 180, 255, .9) 100%); opacity: 0; pointer-events: none; }
.ptry-photo.scanning .ptry-scan, .ptry-photo.gen .ptry-scan { opacity: 1; animation: ptryScan 1.6s ease-in-out infinite; }
@keyframes ptryScan { 0% { transform: translateY(-100%); } 100% { transform: translateY(340%); } }
.ptry-photo.gen img { filter: saturate(.7) brightness(.92); }
.ptry-orbit { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.ptry-orbit span { position: absolute; width: 90px; height: 90px; border: 2px solid rgba(255, 255, 255, .85); border-radius: 50%; border-right-color: transparent; border-bottom-color: transparent; animation: spin 1.2s linear infinite; }
.ptry-orbit span:nth-child(2) { width: 64px; height: 64px; animation-duration: .9s; animation-direction: reverse; border-color: rgba(255, 77, 141, .9) transparent transparent rgba(255, 77, 141, .9); }
.ptry-orbit span:nth-child(3) { width: 38px; height: 38px; animation-duration: .7s; border-color: rgba(123, 92, 255, .95) rgba(123, 92, 255, .95) transparent transparent; }
.ptry-checks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.ptry-checks li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-2); }
.ptry-checks li i { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--tint); }
.ptry-checks li.wait i::after { content: ""; width: 12px; height: 12px; border: 1.5px solid var(--line-strong); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; }
.ptry-checks li.ok i { background: #E3F1E8; color: var(--ok); }
.ptry-checks li.warn i { background: #FBF1DD; color: var(--warn); }
.ptry-checks li.bad i { background: #FBEDEC; color: var(--sale); }
.ptry-msg { font-weight: 500; min-height: 1.6em; }
.ptry-bar { height: 6px; margin: 10px 0 14px; border-radius: 3px; background: var(--tint-2); overflow: hidden; }
.ptry-bar i { display: block; height: 100%; width: 3%; border-radius: 3px; background: linear-gradient(90deg, #7B5CFF, #FF4D8D); transition: width .3s ease-out; }
.ptry-compare { --pos: 50%; position: relative; width: fit-content; max-width: 100%; margin-inline: auto; overflow: hidden; border-radius: 12px; background: var(--tint); user-select: none; }
.ptry-compare img { display: block; width: auto; max-width: 100%; height: auto; max-height: 64vh; }
.ptry-compare .before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ptry-compare .before img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.ptry-compare.anim .before { transition: clip-path .8s var(--ease); }
.ptry-compare::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 8px rgba(0, 0, 0, .35); pointer-events: none; }
.ptry-compare.anim::after { transition: left .8s var(--ease); }
.ptry-compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ptry-tag { position: absolute; bottom: 10px; padding: 3px 9px; border-radius: 10px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.ptry-tag.l { left: 10px; } .ptry-tag.r { right: 10px; }
@media (max-width: 767px) {
  .ptry { padding: 0; place-items: end stretch; }
  .ptry-card { width: 100%; max-height: 96dvh; border-radius: 16px 16px 0 0; }
  .ptry-analyse, .ptry-gen, .ptry-result { grid-template-columns: 1fr; gap: 14px; }
  .ptry-pick { grid-template-columns: 1fr 96px; }
  .ptry-pose-guide svg { width: 60px; height: 74px; }
  .ptry-photo img, .ptry-compare img.after { max-height: 46vh; }
  .ptry-actions { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------- Designer: login gate */
.dz-gate { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(28px, 5vw, 72px); }
.dz-gate-art { position: relative; height: clamp(300px, 40vw, 480px); }
.dz-gate-tee { position: absolute; width: 62%; aspect-ratio: 1 / 1.1; display: grid; place-items: center; clip-path: polygon(30% 0, 70% 0, 100% 16%, 90% 36%, 80% 31%, 80% 100%, 20% 100%, 20% 31%, 10% 36%, 0 16%); font-family: Anton, Impact, sans-serif; font-size: clamp(22px, 3vw, 40px); line-height: 1; text-align: center; letter-spacing: .04em; }
.dz-gate-tee.black { left: 2%; top: 4%; background: #18181b; color: #fff; transform: rotate(-6deg); box-shadow: 0 20px 40px rgba(0, 0, 0, .2); }
.dz-gate-tee.white { right: 2%; bottom: 2%; background: #f2f1ec; color: #E53935; transform: rotate(5deg); border: 1px solid var(--line); }
.dz-gate-tee span { margin-top: 18%; }
.dz-gate-list { margin: 18px 0; padding-left: 18px; line-height: 1.9; color: var(--ink-2); }
.dz-gate-note { font-size: 14px; color: var(--muted); }
.dz-gate-actions { display: grid; gap: 10px; max-width: 420px; }
.dz-gate-actions .or-divider { margin: 2px 0; }
@media (max-width: 767px) { .dz-gate { grid-template-columns: 1fr; } .dz-gate-art { height: 260px; } }

/* ----------------------------------------------------------- Designer */
.dz { padding-bottom: clamp(32px, 6vw, 80px); }
.dz-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.dz-head .display-md { margin: 0; }
.dz-price { margin: 0; text-align: right; }
.dz-price strong { display: block; font-size: var(--fs-h2); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.dz-price span { font-size: 12px; color: var(--muted); }
.dz-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: clamp(16px, 3vw, 40px); align-items: start; }
.dz-stage-col { position: sticky; top: calc(var(--header-h) + 12px); }
.dz-stagebar { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.dz-seg { display: inline-flex; padding: 3px; border-radius: 24px; background: var(--tint); }
.dz-seg button { min-height: 36px; padding: 0 18px; border: 0; border-radius: 20px; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 500; letter-spacing: .04em; transition: background-color var(--t-fast) ease-out, color var(--t-fast) ease-out; }
.dz-seg button.on { background: var(--ink); color: #fff; }
.dz-seg-full { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 14px; }
.dz-seg-full button { padding: 0 6px; }
.dz-flipbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--surface); font-size: 13px; }
.dz-flipbtn svg, .dz-hist svg, .dz-objbar svg, .dz-tabs svg, .dz-drop svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dz-flipbtn:hover { border-color: var(--ink); }
.dz-hist { margin-left: auto; display: flex; gap: 2px; }
.dz-hist .icon-btn:disabled { opacity: .3; }
.dz-stage { position: relative; border-radius: 14px; background: radial-gradient(120% 90% at 50% 20%, #fff 0%, #ECEBE6 70%, #E2E0D9 100%); overflow: hidden; perspective: 1400px; }
.dz[data-color="white"] .dz-stage { background: radial-gradient(120% 90% at 50% 20%, #E9E8E3 0%, #D4D2CA 75%, #C9C6BD 100%); }
.dz-flip { transition: transform .24s ease-in, opacity .24s ease-in; transform-origin: 50% 50%; }
.dz-flip.flip-out { transform: rotateY(90deg) scale(.96); opacity: .3; }
.dz-flip.flip-in { animation: dzFlipIn .26s ease-out; }
@keyframes dzFlipIn { from { transform: rotateY(-90deg) scale(.96); opacity: .3; } to { transform: none; opacity: 1; } }
.dz-stage canvas { display: block; width: 100%; touch-action: none; }
.is-drawing .dz-stage canvas { cursor: crosshair !important; }
.dz-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; padding: 8px 14px; border-radius: 20px; background: rgba(17, 18, 20, .78); color: #fff; font-size: 12px; white-space: nowrap; pointer-events: none; }
.dz-hint b { font-weight: 600; }
.dz-objbar { position: absolute; z-index: 2; display: flex; gap: 2px; padding: 4px; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.dz-objbar button { display: grid; place-items: center; width: 40px; height: 38px; border: 0; border-radius: 8px; background: none; color: var(--ink); }
.dz-objbar button:hover { background: var(--tint); }
.dz-objbar .danger { color: var(--sale); }
.dz-minis { display: flex; gap: 10px; margin-top: 10px; }
.dz-mini { display: grid; justify-items: center; gap: 2px; padding: 6px 10px 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 11px; color: var(--muted); }
.dz-mini canvas { width: 60px; height: 72px; }
.dz-mini.on { border-color: var(--ink); color: var(--ink); }
.dz-panel { display: grid; gap: 16px; }
.dz-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--tint); }
.dz-tabs button { display: grid; justify-items: center; gap: 3px; min-height: 58px; padding: 8px 2px 6px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; transition: background-color var(--t-fast) ease-out, color var(--t-fast) ease-out; }
.dz-tabs button svg { width: 22px; height: 22px; }
.dz-tabs button.on { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(17, 18, 20, .08); }
.dz-pane { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); animation: riseIn var(--t) ease-out; }
.dz-pane h3 { margin: 0 0 10px; font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.dz-pane h3 + * { margin-bottom: 18px; }
.dz-label { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 8px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.dz-pane textarea { width: 100%; font-size: 17px; resize: vertical; }
.dz-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dz-color { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; transition: border-color var(--t-fast) ease-out, box-shadow var(--t-fast) ease-out; }
.dz-color input { position: absolute; opacity: 0; }
.dz-color i { width: 38px; height: 38px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.dz-color span { font-weight: 500; }
.dz-color:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.dz-color:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.dz-quick-row { display: flex; flex-wrap: wrap; gap: 8px; }
.dz-chip { min-height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface); font-size: 13px; }
.dz-chip:hover { border-color: var(--ink); }
.dz-props.is-off { opacity: .4; pointer-events: none; filter: grayscale(1); }
.dz-fonts { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; max-height: 196px; overflow-y: auto; padding: 2px; }
.dz-font { min-height: 44px; padding: 4px 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 17px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-font:hover { border-color: var(--line-strong); }
.dz-font.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.dz-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.dz-range { display: grid; gap: 4px; margin-top: 12px; font-size: 12px; color: var(--muted); flex: 1; min-width: 140px; }
.dz-range input { width: 100%; accent-color: var(--ink); }
.dz-grow { flex: 1; }
.dz-row .dz-range { margin-top: 0; }
.dz-toggles { display: flex; gap: 6px; }
.dz-tg { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); font-size: 16px; }
.dz-tg svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.dz-tg.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.dz-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.dz-check input { width: 18px; height: 18px; accent-color: var(--ink); }
.dz-row input[type=color] { width: 40px; height: 34px; padding: 0; border: 1px solid var(--line-strong); border-radius: 6px; background: none; }
.dz-swatches { display: grid; grid-template-columns: repeat(auto-fill, 30px); gap: 7px; }
.dz-sw { position: relative; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); cursor: pointer; transition: transform var(--t-fast) ease-out; }
.dz-sw:hover { transform: scale(1.1); }
.dz-sw.on { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.dz-pick { background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); overflow: hidden; }
.dz-pick input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.dz-drop { display: grid; justify-items: center; gap: 6px; padding: 26px 16px; border: 1.5px dashed var(--line-strong); border-radius: 12px; text-align: center; cursor: pointer; transition: border-color var(--t-fast) ease-out, background-color var(--t-fast) ease-out; }
.dz-drop svg { width: 30px; height: 30px; }
.dz-drop span { font-size: 12px; color: var(--muted); }
.dz-drop:hover, .dz-drop.over { border-color: var(--ink); background: var(--tint); }
.dz-pane[data-pane="image"] .dz-props { margin-top: 14px; }
.dz-layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dz-layers li { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 10px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 14px; }
.dz-layers li.on { border-color: var(--ink); }
.dz-li-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: var(--tint); font-weight: 600; }
.dz-li-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-layers button { width: 30px; height: 30px; border: 0; border-radius: 6px; background: none; color: var(--ink-2); }
.dz-layers button:hover { background: var(--tint); }
.dz-buy { display: grid; gap: 12px; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.dz-buy .dz-label { margin-top: 0; }
.dz-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 6px; }
.dz-sizes .size-btn span { height: 44px; }
.dz-tryon { margin: 0; }
.dz-terms { margin: 0; }
@media (max-width: 1023px) {
  .dz-layout { grid-template-columns: 1fr; }
  .dz-stage-col { position: relative; top: 0; }
  .dz-price { text-align: left; }
}
@media (max-width: 767px) {
  .dz-head { margin-bottom: 10px; }
  .dz-stage-col { position: sticky; top: calc(var(--header-h) - 4px); z-index: 5; background: var(--bg); padding-bottom: 6px; }
  .dz-stage { border-radius: 10px; }
  .dz-minis { display: none; }
  .dz-tabs button { min-height: 52px; font-size: 10px; }
  .dz-pane { padding: 14px; }
  .dz-flipbtn span { display: none; }
}
