/* DORISA — design system from the Dorisa-UI prototype (cream · espresso · gold).
   Loaded after style.css; page layouts below follow the prototype screens 1:1. */
:root {
  --d-espresso: #2A1E16; --d-espresso-2: #33261C; --d-ink: #3A2C22; --d-gold: #C9A15C; --d-gold-light: #E8CE9C; --d-gold-ink: #8A6A35;
  --d-muted-gold: #A88F6D; --d-cream: #F1ECE4; --d-card: #FBF8F3; --d-sand: #E8DFD1; --d-sand-2: #E2D5C0; --d-line: #E2D8C9; --d-line-2: #CDBFA9;
  --d-text-2: #6B5A4A; --d-on-dark: #D9CDBB; --d-dark-line: #6E5638; --d-dark-line-2: #3F3024;
  --d-ease: cubic-bezier(.2, .7, .2, 1); --d-wrap: 1280px;
}
body { background: var(--d-cream); color: var(--d-ink); font-family: Vazirmatn, Tahoma, sans-serif; font-weight: 400; line-height: 1.8; }
body::after { display: none; }
a:hover { color: var(--d-gold-ink); }
.d-wrap { max-width: var(--d-wrap); margin: 0 auto; padding-inline: 24px; }
.d-latin { font-family: Jost, sans-serif; direction: ltr; }
.d-eyebrow { font-family: Jost, sans-serif; letter-spacing: 4px; font-size: 12px; color: var(--d-gold-ink); direction: ltr; text-align: right; text-transform: uppercase; }
.d-dark .d-eyebrow { color: var(--d-gold); }
.d-h2 { margin: 0; font-size: 30px; font-weight: 400; line-height: 1.4; }
.d-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.d-head .d-h2 { margin-top: 6px; }
.d-link { font-size: 14px; color: var(--d-gold-ink); }
.d-dark { background: var(--d-espresso); color: var(--d-cream); }

/* buttons */
.d-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent; font: 700 15px Vazirmatn, Tahoma, sans-serif; cursor: pointer; transition: transform .3s var(--d-ease), box-shadow .3s, background .3s, color .3s; white-space: nowrap; }
.d-btn:active { transform: scale(.97); }
.d-btn-gold { background: var(--d-gold); color: var(--d-espresso); }
.d-btn-gold:hover { color: var(--d-espresso); background: #D4AE6C; box-shadow: 0 12px 30px -12px rgba(201, 161, 92, .7); }
.d-btn-outline { border-color: var(--d-gold); color: var(--d-gold-light); background: transparent; font-weight: 400; padding: 0 26px; }
.d-btn-outline:hover { background: rgba(201, 161, 92, .12); color: var(--d-gold-light); }
.d-btn-ink { background: var(--d-ink); color: var(--d-cream); }
.d-btn-ink:hover { color: var(--d-cream); background: var(--d-espresso); }
.d-btn-line { border-color: var(--d-line-2); color: var(--d-ink); background: transparent; font-weight: 500; }
.d-btn-line:hover { border-color: var(--d-ink); color: var(--d-ink); }
.d-btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.d-btn[disabled] { opacity: .45; pointer-events: none; }
.d-btn svg { width: 18px; height: 18px; }
.shine { position: relative; overflow: hidden; }
.shine::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); transform: translateX(130%); animation: d-shine 3.5s 1.6s ease-in-out infinite; pointer-events: none; }
@keyframes d-shine { 0% { transform: translateX(130%); } 45%, 100% { transform: translateX(-130%); } }
.d-chip { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--d-line-2); background: transparent; color: var(--d-ink); font: 14px Vazirmatn, Tahoma, sans-serif; cursor: pointer; transition: background .2s, color .2s, border-color .2s; display: inline-flex; align-items: center; gap: 6px; }
.d-chip:hover { border-color: var(--d-ink); }
.d-chip.on, .d-chip[aria-pressed=true] { background: var(--d-ink); border-color: var(--d-ink); color: var(--d-cream); }

/* announcement ticker */
.d-announce { background: var(--d-espresso); color: var(--d-gold-light); font-size: 13px; padding: 10px 0; overflow: hidden; white-space: nowrap; }
.d-ticker { display: flex; gap: 64px; width: max-content; animation: d-tick 30s linear infinite; }
@keyframes d-tick { to { transform: translateX(50%); } }

/* header */
.d-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid var(--d-line); background: rgba(241, 236, 228, .96); backdrop-filter: blur(10px); }
.d-header-in { max-width: var(--d-wrap); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.d-logo img { height: 46px; width: auto; display: block; }
.d-nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; font-weight: 500; }
.d-nav a { position: relative; color: var(--d-ink); }
.d-nav a::after { content: ''; position: absolute; right: 0; bottom: -6px; height: 1px; width: 0; background: var(--d-gold); transition: width .35s ease; }
.d-nav a:hover::after, .d-nav a.active::after { width: 100%; }
.d-nav a.tryon { color: var(--d-gold-ink); display: flex; align-items: center; gap: 6px; }
.d-icons { display: flex; gap: 4px; align-items: center; }
.d-icon { position: relative; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--d-ink); cursor: pointer; border-radius: 50%; }
.d-icon:hover { background: rgba(58, 44, 34, .06); color: var(--d-ink); }
.d-icon svg { width: 20px; height: 20px; }
.d-icon .badge { top: 6px; left: 6px; right: auto; min-width: 16px; height: 16px; font-size: 10px; border-radius: 8px; background: var(--d-gold); color: var(--d-espresso); }
.d-icon .dot-in { position: absolute; top: 9px; left: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--d-gold); }
.d-menu-btn { display: none; }
.d-search { position: absolute; inset: 100% 0 auto; background: var(--d-cream); border-bottom: 1px solid var(--d-line); padding: 16px 24px; }
.d-search form { max-width: 720px; margin: 0 auto; display: flex; gap: 8px; }
.d-search input { flex: 1; min-height: 48px; border-radius: 999px; border: 1px solid var(--d-line-2); background: #fff; padding: 0 20px; font: inherit; outline: none; }
.d-search input:focus { border-color: var(--d-gold); }
@media (max-width: 980px) {
  .d-menu-btn { display: flex; }
  .d-nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; gap: 0; background: var(--d-cream); border-bottom: 1px solid var(--d-line); padding: 8px 24px 16px; }
  .d-nav.open { display: flex; }
  .d-nav a { padding: 12px 0; border-bottom: 1px solid var(--d-line); }
  .d-nav a::after { display: none; }
  .d-logo img { height: 38px; }
  .d-icons .hide-sm { display: none; }
}

/* reveal / intro */
@keyframes d-fu { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.fu { animation: d-fu .9s var(--d-ease) both; }
.fu.d1 { animation-delay: .1s; } .fu.d2 { animation-delay: .25s; } .fu.d3 { animation-delay: .4s; } .fu.d4 { animation-delay: .55s; }
@supports (animation-timeline: view()) { .d-reveal { animation: d-fu linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; } }

/* hero */
.d-hero-in { max-width: var(--d-wrap); margin: 0 auto; padding: 72px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.d-hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.d-hero-copy .d-eyebrow { font-weight: 300; letter-spacing: 6px; font-size: 13px; color: var(--d-gold); }
.d-hero h1 { margin: 0; font-size: 56px; line-height: 1.25; font-weight: 300; color: var(--d-gold-light); }
.d-hero p { margin: 0; font-size: 17px; line-height: 2; color: var(--d-on-dark); max-width: 460px; }
.d-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.d-hero-art { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; position: relative; }
.d-arch { width: 100%; max-width: 420px; height: 520px; border-radius: 210px 210px 16px 16px; border: 1px solid var(--d-dark-line); background: var(--d-espresso-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; overflow: hidden; position: relative;
  animation: d-fu 1.1s .2s both, d-glow 5s 2s ease-in-out infinite; }
@keyframes d-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 161, 92, 0); } 50% { box-shadow: 0 0 80px 0 rgba(201, 161, 92, .22); } }
.d-arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.d-arch img.contain { object-fit: contain; inset: 12%; width: 76%; height: 76%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); animation: d-float 6s ease-in-out infinite; }
.d-arch .cap { position: absolute; bottom: 18px; inset-inline: 0; text-align: center; font-size: 13px; color: var(--d-muted-gold); }
.draw path, .draw circle { stroke-dasharray: 600; stroke-dashoffset: 600; animation: d-draw 2.6s cubic-bezier(.6, 0, .2, 1) forwards .5s; }
@keyframes d-draw { to { stroke-dashoffset: 0; } }
@keyframes d-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (max-width: 760px) { .d-hero h1 { font-size: 38px; } .d-hero-in { padding-block: 48px; gap: 36px; } .d-arch { height: 400px; } }

/* sections */
.d-section { max-width: var(--d-wrap); margin: 0 auto; padding: 72px 24px 24px; }
.d-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.d-cat { display: flex; flex-direction: column; gap: 14px; align-items: center; color: var(--d-ink); }
.d-cat > div { width: 100%; aspect-ratio: 3 / 4; border-radius: 160px 160px 12px 12px; background: var(--d-sand); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; transition: transform .5s var(--d-ease), background .5s; }
.d-cat:hover > div { transform: translateY(-8px); background: var(--d-sand-2); }
.d-cat svg, .d-cat img { transition: transform .9s var(--d-ease); }
.d-cat:hover svg, .d-cat:hover img { transform: rotate(-10deg) scale(1.1); }
.d-cat img { width: 62%; height: 62%; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(74, 52, 30, .25)); }
.d-cat span { font-size: 17px; font-weight: 500; }
.d-cat small { color: var(--d-text-2); font-size: 13px; margin-top: -10px; }
@media (max-width: 560px) { .d-cats { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* product card (photo only, like the design) */
.d-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
@media (max-width: 560px) { .d-grid, .d-grid.d-grid-shop, .d-set { grid-template-columns: 1fr 1fr; gap: 14px; } }
.d-card { display: flex; flex-direction: column; gap: 12px; transition: transform .45s var(--d-ease); }
.d-card:hover { transform: translateY(-6px); }
.d-card .top { position: relative; }
.d-card .media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--d-sand); border-radius: 14px; overflow: hidden; }
.d-card .media img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; transition: transform .8s var(--d-ease), opacity .6s; filter: drop-shadow(0 16px 18px rgba(74, 52, 30, .22)); }
.d-card .media img.alt { opacity: 0; }
.d-card:hover .media img { transform: scale(1.08); }
.d-card:hover .media img.alt { opacity: 1; } .d-card:hover .media img.main:not(:only-of-type) { opacity: 0; }
.d-card .badge-tag { position: absolute; top: 12px; right: 12px; background: var(--d-espresso); color: var(--d-gold-light); font-size: 11px; padding: 4px 10px; border-radius: 999px; }
.d-card .badge-tag.warn { background: #8E3B2C; color: #fff; }
.d-card .tryon-tag { position: absolute; bottom: 12px; right: 12px; background: var(--d-cream); color: var(--d-ink); font-size: 12px; padding: 6px 12px; border-radius: 999px; display: flex; align-items: center; gap: 6px; }
.d-card .tryon-tag svg { width: 14px; height: 14px; }
.d-card .quick { position: absolute; bottom: 12px; left: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--d-gold); color: var(--d-espresso); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.d-card:hover .quick, .d-card:focus-within .quick { opacity: 1; transform: none; }
@media (hover: none) { .d-card .quick { opacity: 1; transform: none; } }
.d-card .quick svg { width: 18px; height: 18px; }
.d-card .row { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.d-card .name { font-size: 16px; font-weight: 500; color: var(--d-ink); display: block; }
.d-card .mat { font-size: 13px; color: var(--d-text-2); }
.d-card .fav { width: 44px; height: 44px; flex: none; border: 0; background: transparent; color: var(--d-ink); cursor: pointer; display: grid; place-items: center; }
.d-card .fav svg { width: 20px; height: 20px; transition: transform .3s; }
.d-card .fav:hover svg, .d-card .fav.on svg { transform: scale(1.15); fill: var(--d-gold); stroke: var(--d-gold); }
.d-card .price { font-size: 16px; font-weight: 700; color: var(--d-ink); }
.d-card .price small { font-weight: 400; font-size: 13px; color: var(--d-ink); }
.d-card .stars { margin-top: -4px; }

/* try-on band */
.d-band-in { max-width: var(--d-wrap); margin: 0 auto; padding: 72px 24px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.d-phone { width: 260px; height: 520px; border-radius: 40px; border: 1px solid var(--d-dark-line); background: var(--d-espresso-2); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; animation: d-float 6s ease-in-out infinite; }
.d-phone .scan { position: absolute; left: 16px; right: 16px; top: 50%; height: 2px; background: var(--d-gold); opacity: .6; animation: d-scan 2.8s ease-in-out infinite alternate; }
@keyframes d-scan { 0% { transform: translateY(-200px); } 100% { transform: translateY(200px); } }
.d-phone .pulse { animation: d-pulse 1.8s ease-in-out infinite; }
@keyframes d-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.d-band h2 { margin: 0; font-size: 40px; font-weight: 300; color: var(--d-gold-light); line-height: 1.4; }
.d-band p { margin: 0; font-size: 16px; line-height: 2; color: var(--d-on-dark); }
.d-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.d-steps li { border-top: 1px solid var(--d-dark-line); padding-top: 14px; }
.d-steps .n { font-family: Jost, sans-serif; color: var(--d-gold); font-size: 22px; }
.d-steps .t { margin-top: 6px; font-size: 15px; }

/* instagram + trust */
.d-ig { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.d-ig > a { aspect-ratio: 1; border-radius: 8px; background: var(--d-line); overflow: hidden; display: block; transition: transform .5s, filter .5s; position: relative; }
.d-ig > a:nth-child(3n+2) { background: #D8CAB4; } .d-ig > a:nth-child(3n) { background: var(--d-sand); }
.d-ig > a:hover { transform: scale(.95); filter: brightness(.9); }
.d-ig img { width: 100%; height: 100%; object-fit: cover; }
.d-ig img.contain { object-fit: contain; padding: 14%; }
.d-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.d-trust > div { border: 1px solid var(--d-line); border-radius: 14px; padding: 22px; display: flex; gap: 14px; align-items: center; transition: transform .4s, border-color .4s; }
.d-trust > div:hover { transform: translateY(-4px); border-color: var(--d-gold); }
.d-trust svg { width: 28px; height: 28px; flex: none; }
.d-trust b { display: block; font-weight: 500; } .d-trust small { font-size: 13px; color: var(--d-text-2); }

/* footer */
.d-footer { background: var(--d-espresso); color: var(--d-on-dark); }
.d-footer-in { max-width: var(--d-wrap); margin: 0 auto; padding: 56px 24px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.d-footer img.logo { height: 52px; width: auto; align-self: start; }
.d-footer nav { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.d-footer nav a, .d-footer a { color: var(--d-on-dark); }
.d-footer nav a:hover { color: var(--d-gold-light); }
.d-footer .ttl { color: var(--d-gold); font-weight: 500; font-size: 14px; }
.d-footer p { margin: 0; font-size: 14px; line-height: 2; }
.d-news { display: flex; gap: 8px; }
.d-news input { flex: 1; min-width: 0; min-height: 44px; border-radius: 999px; border: 1px solid var(--d-dark-line); background: transparent; color: var(--d-cream); padding: 0 16px; font-family: inherit; outline: none; }
.d-news input:focus { border-color: var(--d-gold); }
.d-news button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--d-gold); color: var(--d-espresso); font-family: inherit; font-weight: 700; cursor: pointer; }
.d-footer-bottom { border-top: 1px solid var(--d-dark-line-2); padding: 18px 24px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; font-size: 12px; color: var(--d-muted-gold); }
.d-seal { width: 72px; height: 80px; border-radius: 10px; background: var(--d-cream); color: var(--d-text-2); font-size: 10px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.d-seal img { width: 100%; height: 100%; object-fit: contain; }

@media (prefers-reduced-motion: reduce) { .d-ticker, .d-arch, .d-phone, .d-phone .scan, .shine::after, .fu, .draw path, .draw circle { animation: none !important; } .draw path, .draw circle { stroke-dashoffset: 0; } }

/* ---------- shop / category (Category, CAT1–CAT4) ---------- */
.d-shop { max-width: var(--d-wrap); margin: 0 auto; padding: 28px 24px 72px; display: flex; flex-direction: column; gap: 20px; }
.d-shop-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; }
.d-crumbs { font-size: 13px; color: var(--d-text-2); }
.d-crumbs a { color: var(--d-text-2); } .d-crumbs a:hover { color: var(--d-gold-ink); }
.d-title { margin: 6px 0 0; font-size: 32px; font-weight: 400; line-height: 1.4; }
.d-count { font-size: 14px; color: var(--d-text-2); }
.d-sorts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--d-text-2); }
.d-chip-sm { min-height: 40px; padding: 0 14px; font-size: 13px; white-space: nowrap; }
.d-catbar, .d-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.d-qline { font-size: 14px; color: var(--d-text-2); }
.d-textbtn { min-height: 32px; border: 0; background: transparent; font: 12px Vazirmatn, Tahoma, sans-serif; color: var(--d-gold-ink); cursor: pointer; }
.d-shop-body { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.d-filters { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }
.d-f-head { display: flex; justify-content: space-between; align-items: center; } .d-f-head b { font-size: 16px; font-weight: 500; }
.d-f-group { display: flex; flex-direction: column; gap: 10px; } .d-f-group > span { font-size: 13px; color: var(--d-text-2); }
.d-f-row { display: flex; justify-content: space-between; } .d-f-row b { color: var(--d-ink); font-weight: 500; }
.d-filters input[type=range] { width: 100%; accent-color: var(--d-ink); }
.d-swatches { display: flex; gap: 4px; flex-wrap: wrap; }
.d-sw { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: transparent; font: 11px Vazirmatn, Tahoma, sans-serif; color: var(--d-ink); cursor: pointer; min-width: 64px; }
.d-sw span { width: 38px; height: 38px; border-radius: 19px; display: block; box-shadow: 0 0 0 1px var(--d-line-2); transition: box-shadow .2s; }
.d-sw.on span { box-shadow: 0 0 0 3px var(--d-cream), 0 0 0 5px var(--d-ink); }
.d-switch { border: 0; background: transparent; font: 14px Vazirmatn, Tahoma, sans-serif; color: var(--d-ink); display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: 0; cursor: pointer; }
.d-switch span { width: 46px; height: 26px; border-radius: 13px; position: relative; display: block; flex: none; background: var(--d-line-2); transition: background .25s; }
.d-switch i { position: absolute; top: 3px; left: 23px; width: 20px; height: 20px; border-radius: 10px; background: #fff; transition: left .25s; }
.d-switch[aria-checked=true] span { background: var(--d-gold); } .d-switch[aria-checked=true] i { left: 3px; }
.d-btn-dark { background: var(--d-espresso); color: var(--d-gold-light); font-size: 14px; }
.d-btn-dark:hover { background: #3A2C22; color: var(--d-gold-light); }
.d-grid-shop { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
@media (max-width: 560px) { .d-grid.d-grid-shop { grid-template-columns: 1fr 1fr; gap: 14px; } }
.d-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 80px 16px; }
.d-empty svg { animation: d-float 6s ease-in-out infinite; } .d-empty b { font-size: 18px; font-weight: 500; }
.d-filter-btn { display: none; }
@media (max-width: 900px) {
  .d-shop-body { grid-template-columns: 1fr; }
  .d-filter-btn { display: flex; min-height: 44px; border-radius: 12px; border: 1px solid var(--d-line-2); background: var(--d-card); color: var(--d-ink); font: 14px Vazirmatn, Tahoma, sans-serif; align-items: center; justify-content: center; cursor: pointer; }
  .d-filter-btn.on { background: var(--d-ink); color: var(--d-cream); border-color: var(--d-ink); }
  .d-filters { display: none; position: static; } .d-filters.open { display: flex; }
  .d-title { font-size: 26px; }
  .d-catbar, .d-sorts > div { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
}

/* ---------- product page (Product) ---------- */
.d-pdp { max-width: var(--d-wrap); margin: 0 auto; padding: 40px 24px 72px; display: flex; flex-wrap: wrap; gap: 48px; }
.d-gallery { flex: 1 1 520px; min-width: 0; display: flex; gap: 14px; }
.d-thumbs { display: flex; flex-direction: column; gap: 10px; }
.d-thumbs button { width: 76px; height: 76px; border-radius: 12px; border: 1px solid var(--d-line); background: var(--d-sand); padding: 6px; cursor: pointer; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.d-thumbs button.on { border-color: var(--d-ink); box-shadow: 0 0 0 2px var(--d-ink); }
.d-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.d-3d { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 8px; background: var(--d-espresso); color: var(--d-gold-light); font: 500 16px Jost, Vazirmatn, sans-serif; }
.d-stage.stage { flex: 1; min-width: 0; aspect-ratio: 4 / 5; border-radius: 18px; border: 0; background: radial-gradient(70% 60% at 50% 45%, #F6F0E6, var(--d-sand) 80%); }
.d-stage.stage img { filter: drop-shadow(0 26px 30px rgba(74, 52, 30, .25)); }
.d-stage-tag { position: absolute; z-index: 4; bottom: 16px; right: 16px; background: rgba(241, 236, 228, .92); color: var(--d-ink); font-size: 12px; padding: 6px 12px; border-radius: 999px; pointer-events: none; }
.d-stage-try { position: absolute; z-index: 4; top: 16px; left: 16px; background: var(--d-espresso); color: var(--d-gold-light); padding: 10px 16px; border-radius: 999px; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.d-stage-try:hover { color: var(--d-gold-light); background: #3A2C22; }
.d-info { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.d-sku { font-family: Jost, sans-serif; font-size: 12px; letter-spacing: 3px; color: var(--d-gold-ink); direction: ltr; text-align: right; }
.d-pname { margin: 0; font-size: 34px; font-weight: 400; line-height: 1.4; }
.d-rating { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--d-text-2); }
.d-stars { color: var(--d-gold-ink); letter-spacing: 1px; } .d-stars i { font-style: normal; color: var(--d-line-2); }
.d-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; } .d-price b { font-size: 28px; font-weight: 700; } .d-price span { font-size: 14px; } .d-price small { font-size: 12px; color: var(--d-text-2); }
.d-fs { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.d-fs legend, .d-fs .lbl { font-size: 14px; font-weight: 500; margin-bottom: 12px; } .d-fs legend span { font-weight: 400; color: var(--d-text-2); }
.d-dot { width: 40px; height: 40px; border-radius: 20px; background: var(--c); box-shadow: 0 0 0 1px var(--d-line-2); display: block; }
.d-dot.on { box-shadow: 0 0 0 3px var(--d-cream), 0 0 0 5px var(--d-ink); }
.d-buy { display: flex; gap: 12px; flex-wrap: wrap; }
.d-qty { display: flex; align-items: center; border: 1px solid var(--d-line-2); border-radius: 999px; }
.d-qty button { width: 48px; height: 52px; border: 0; background: transparent; font-size: 20px; color: var(--d-ink); cursor: pointer; }
.d-qty span { min-width: 28px; text-align: center; font-weight: 700; }
.d-add { flex: 1 1 200px; min-height: 52px; font-size: 16px; }
.d-favbtn { width: 52px; height: 52px; border: 1px solid var(--d-line-2); border-radius: 999px; background: transparent; color: var(--d-ink); cursor: pointer; display: grid; place-items: center; }
.d-favbtn svg { width: 20px; height: 20px; } .d-favbtn.on svg { fill: var(--d-gold); stroke: var(--d-gold); }
.d-low { margin: -10px 0 0; font-size: 13px; color: #8E3B2C; }
.d-notify { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: var(--d-espresso); color: var(--d-cream); }
.d-notify b { color: var(--d-gold-light); font-weight: 500; display: block; } .d-notify small { color: var(--d-on-dark); }
.d-trycard { border: 1px dashed var(--d-muted-gold); border-radius: 14px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; background: #EBE3D6; color: var(--d-ink); }
.d-trycard span { display: flex; flex-direction: column; gap: 2px; } .d-trycard b { font-weight: 700; } .d-trycard small { font-size: 13px; color: var(--d-text-2); }
.d-perks { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--d-text-2); }
.d-perks span { display: flex; gap: 10px; align-items: center; } .d-perks svg { width: 18px; height: 18px; flex: none; }
.d-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--d-line); overflow-x: auto; }
.d-tabs button { min-height: 44px; padding: 0 16px; border: 0; border-bottom: 2px solid transparent; background: transparent; font: 14px Vazirmatn, Tahoma, sans-serif; color: var(--d-text-2); cursor: pointer; margin-bottom: -1px; white-space: nowrap; }
.d-tabs button[aria-selected=true] { color: var(--d-ink); border-color: var(--d-ink); font-weight: 500; }
.d-tabpane { padding: 18px 0; font-size: 15px; line-height: 2.1; }
.d-tabpane > p { margin: 0; white-space: pre-line; }
.d-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.d-spec div { display: flex; justify-content: space-between; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--d-card); border: 1px solid var(--d-line); font-size: 14px; }
.d-spec span { color: var(--d-text-2); } .d-spec b { font-weight: 500; }
.d-break { margin-top: 14px; display: grid; gap: 4px; font-size: 14px; } .d-break > b { font-weight: 500; margin-bottom: 6px; }
.d-break div { display: flex; justify-content: space-between; gap: 10px; color: var(--d-text-2); padding: 4px 0; border-bottom: 1px dashed var(--d-line); }
.d-break .sum { color: var(--d-ink); font-weight: 700; border: 0; }
.d-review { margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; background: var(--d-card); border: 1px solid var(--d-line); }
.d-review > div { display: flex; gap: 10px; align-items: center; } .d-review p { margin: 6px 0; } .d-review figcaption { font-size: 12px; color: var(--d-text-2); }
.d-verified { font-size: 11px; color: #3F8A5F; border: 1px solid currentColor; border-radius: 999px; padding: 0 8px; }
.d-revform { display: grid; gap: 10px; padding: 16px; border-radius: 14px; border: 1px solid var(--d-line); }
.d-revform textarea { border-radius: 12px; border: 1px solid var(--d-line-2); background: #fff; padding: 12px; font: inherit; outline: none; resize: vertical; }
.d-revform textarea:focus { border-color: var(--d-gold); } .d-revform small { color: var(--d-text-2); font-size: 12px; }
.d-done { display: grid; gap: 4px; padding: 16px; border-radius: 14px; background: #EBE3D6; } .d-done small { color: var(--d-text-2); }
.d-set { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.d-set a { display: flex; flex-direction: column; gap: 10px; color: var(--d-ink); }
.d-set a > div { aspect-ratio: 1; background: var(--d-sand); border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
.d-set img { width: 72%; height: 72%; object-fit: contain; transition: transform .6s var(--d-ease); } .d-set a:hover img { transform: scale(1.08); }
.d-set .n { font-weight: 500; } .d-set .pr { font-size: 14px; }
@media (max-width: 760px) {
  .d-gallery { flex-direction: column-reverse; } .d-thumbs { flex-direction: row; overflow-x: auto; } .d-thumbs button { width: 64px; height: 64px; flex: none; }
  .d-pname { font-size: 26px; } .d-pdp { gap: 28px; padding-top: 20px; } .d-spec { grid-template-columns: 1fr; }
}

/* ---------- cart + checkout (Checkout, CKD1–CKD6) ---------- */
.d-stepper { max-width: 640px; margin: 28px auto 8px; padding: 0 24px; position: relative; }
.d-stepper .bar { position: absolute; top: 16px; right: 40px; left: 40px; height: 2px; background: var(--d-line); }
.d-stepper .bar i { display: block; height: 100%; background: var(--d-gold); transition: width .5s var(--d-ease); }
.d-stepper ol { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; position: relative; }
.d-stepper button { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: transparent; font: inherit; color: var(--d-text-2); cursor: pointer; }
.d-stepper button[disabled] { cursor: default; }
.d-stepper button span { width: 34px; height: 34px; border-radius: 17px; display: grid; place-items: center; background: var(--d-cream); border: 1.5px solid var(--d-line-2); font: 500 14px Jost, Vazirmatn, sans-serif; }
.d-stepper .cur span { background: var(--d-espresso); border-color: var(--d-espresso); color: var(--d-gold-light); }
.d-stepper .done span { background: var(--d-gold); border-color: var(--d-gold); color: var(--d-espresso); }
.d-stepper b { font-size: 12px; font-weight: 500; } .d-stepper .cur b { color: var(--d-ink); }
.d-ck { max-width: 1180px; margin: 0 auto; padding: 24px 24px 72px; }
.d-ck-cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: start; }
.d-ck-main { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.d-ck-box { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.d-ck-empty { align-items: center; text-align: center; padding: 48px 16px; gap: 12px; } .d-ck-empty b { font-size: 18px; font-weight: 500; }
.d-free span { font-size: 13px; display: flex; align-items: center; gap: 8px; }
.d-freebar { height: 6px; border-radius: 3px; background: var(--d-sand); overflow: hidden; } .d-freebar i { display: block; height: 100%; background: var(--d-gold); border-radius: 3px; transition: width .6s var(--d-ease); }
.d-lines { padding-block: 4px; }
.d-line { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid #EBE3D6; } .d-line:last-child { border-bottom: 0; }
.d-line .th { width: 84px; height: 84px; flex: none; border-radius: 12px; background: var(--d-sand); display: grid; place-items: center; }
.d-line .th img { width: 80%; height: 80%; object-fit: contain; }
.d-line .mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; } .d-line .nm { font-size: 15px; font-weight: 500; color: var(--d-ink); }
.d-line .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.d-line .pr { font-size: 15px; font-weight: 700; } .d-line .pr small, .d-sum small { font-size: 11px; font-weight: 400; }
.d-line .rm { width: 40px; height: 40px; flex: none; align-self: start; border: 0; border-radius: 20px; background: transparent; color: var(--d-text-2); cursor: pointer; display: grid; place-items: center; }
.d-line .rm:hover { background: rgba(58, 44, 34, .06); color: #8A2E1F; }
.d-qty.sm { border-color: #DCCFBC; background: #fff; } .d-qty.sm button { width: 38px; height: 38px; font-size: 16px; } .d-qty.sm span { min-width: 22px; }
.err { font-size: 12px; color: #8A2E1F; }
.d-input, .d-field input, .d-field textarea { width: 100%; min-height: 46px; border: 1px solid #DCCFBC; border-radius: 12px; padding: 0 12px; font: 14px Vazirmatn, Tahoma, sans-serif; background: #fff; color: var(--d-ink); outline: none; transition: border-color .2s; }
.d-field textarea { padding: 10px 12px; min-height: 0; resize: vertical; }
.d-input:focus, .d-field input:focus, .d-field textarea:focus { border-color: var(--d-gold); box-shadow: 0 0 0 3px rgba(201, 161, 92, .18); }
.d-field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--d-text-2); } .d-field small { font-size: 11px; }
.d-coupon-ok { display: flex; justify-content: space-between; align-items: center; background: var(--d-espresso); color: var(--d-gold-light); border-radius: 12px; padding: 8px 14px; }
.d-coupon-ok .d-latin { letter-spacing: 2px; font-size: 14px; }
.d-coupon-ok button { min-height: 36px; border: 0; background: transparent; color: var(--d-on-dark); font-size: 12px; font-family: inherit; cursor: pointer; text-decoration: underline; }
.d-ck-sec { display: flex; flex-direction: column; gap: 10px; } .d-ck-sec h2 { margin: 0; font-size: 17px; font-weight: 500; }
.d-opts { display: flex; flex-direction: column; gap: 10px; }
.d-opt { width: 100%; display: flex; gap: 12px; align-items: center; text-align: start; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--d-line); background: var(--d-card); font: inherit; color: var(--d-ink); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.d-opt:hover { border-color: var(--d-line-2); }
.d-opt.on { border-color: var(--d-ink); box-shadow: 0 0 0 1px var(--d-ink); }
.d-opt .dot { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid var(--d-line-2); position: relative; }
.d-opt.on .dot { border-color: var(--d-ink); } .d-opt.on .dot::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--d-ink); }
.d-opt .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; } .d-opt .tx b { font-size: 15px; font-weight: 500; }
.d-opt .tx span { font-size: 13px; color: var(--d-text-2); line-height: 1.8; } .d-opt .tx small { font-size: 12px; color: #8C7B6A; }
.d-opt .cost { font-size: 14px; font-weight: 700; white-space: nowrap; }
.d-opt.dashed { min-height: 56px; border: 1.5px dashed var(--d-muted-gold); background: transparent; justify-content: center; font-weight: 500; }
.d-addr { display: flex; flex-direction: column; gap: 14px; background: var(--d-card); border: 1px solid var(--d-line); border-radius: 16px; padding: 16px; }
.d-mapline { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: #EBE3D6; }
.d-mapline > span { flex: 1; min-width: 0; display: flex; flex-direction: column; } .d-mapline b { font-size: 13px; font-weight: 500; } .d-mapline span span { font-size: 12px; color: var(--d-text-2); }
.d-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .d-grid2 .full { grid-column: 1 / -1; } .d-grid2[hidden] { display: none; }
@media (max-width: 560px) { .d-grid2 { grid-template-columns: 1fr; } }
.d-slots { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--d-text-2); }
.d-recap { padding: 4px 16px; gap: 0; }
.d-recap > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #EBE3D6; } .d-recap > div:last-child { border-bottom: 0; }
.d-recap span { display: flex; flex-direction: column; } .d-recap small { font-size: 12px; color: var(--d-text-2); } .d-recap b { font-size: 14px; font-weight: 500; }
.d-recap button { border: 0; background: transparent; color: var(--d-gold-ink); font-size: 13px; font-family: inherit; cursor: pointer; flex: none; }
.d-secure { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--d-text-2); } .d-secure.warn { color: #8A5A1F; }
.d-agree { display: flex; gap: 10px; align-items: center; text-align: start; border: 0; background: transparent; font: 14px Vazirmatn, Tahoma, sans-serif; color: var(--d-ink); cursor: pointer; padding: 6px 0; }
.d-agree > span:first-child { width: 22px; height: 22px; flex: none; border-radius: 6px; border: 1.5px solid var(--d-line-2); display: grid; place-items: center; color: transparent; font-size: 13px; }
.d-agree.on > span:first-child { background: var(--d-ink); border-color: var(--d-ink); color: var(--d-cream); }
.d-agree a { text-decoration: underline; }
.shake { animation: d-shake .4s; } @keyframes d-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.d-sum { flex: 1 1 300px; min-width: 0; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 12px; }
.d-sum h2 { margin: 0 0 4px; font-size: 17px; font-weight: 500; }
.d-sum .r { display: flex; justify-content: space-between; font-size: 14px; color: var(--d-text-2); } .d-sum .r span:last-child { color: var(--d-ink); }
.d-sum .r.ok span:last-child { color: #3F8A5F; }
.d-sum .r.total { border-top: 1px solid var(--d-line); padding-top: 12px; margin-top: 4px; font-size: 15px; color: var(--d-ink); font-weight: 500; } .d-sum .r.total span:last-child { font-size: 20px; font-weight: 700; }
.d-sum .d-btn { width: 100%; min-height: 52px; margin-top: 6px; }
.d-sum-perks { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; font-size: 12px; color: var(--d-text-2); align-items: center; }
.d-sum-perks span { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--d-line); }
@media (max-width: 900px) { .d-sum { position: static; } }

/* ---------- sign in / sign up (Auth, AU1–AU4) ---------- */
.d-auth-modal { background: rgba(42, 30, 22, .6); }
.d-auth { width: min(920px, 100%); min-height: min(600px, calc(100svh - 32px)); display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 22px; overflow: hidden; background: var(--d-cream); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); animation: pop .45s var(--d-ease); }
.d-auth-art { background: var(--d-espresso); color: var(--d-on-dark); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 40px; text-align: center; position: relative; overflow: hidden; }
.d-auth-art::before { content: ''; position: absolute; width: 360px; height: 460px; border-radius: 180px 180px 16px 16px; border: 1px solid var(--d-dark-line); }
.d-auth-art img { width: 132px; height: auto; position: relative; } .d-auth-art svg { position: relative; }
.d-auth-art p { margin: 0; max-width: 280px; line-height: 2; font-size: 14px; position: relative; }
.d-auth-form { padding: 28px 32px; display: flex; flex-direction: column; gap: 16px; overflow: auto; max-height: calc(100svh - 32px); }
.d-auth-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--d-text-2); }
.d-auth-bar { height: 3px; border-radius: 2px; background: var(--d-line); overflow: hidden; } .d-auth-bar i { display: block; height: 100%; background: var(--d-gold); transition: width .5s var(--d-ease); }
.d-auth-form .step { display: flex; flex-direction: column; gap: 14px; animation: d-fu .5s var(--d-ease) both; }
.d-auth-form .step[hidden] { display: none; }
.d-auth-form h1 { margin: 8px 0 0; font-size: 28px; font-weight: 400; }
.d-auth-form p { margin: 0; font-size: 14px; color: var(--d-text-2); line-height: 2; }
.d-auth-form small { font-size: 12px; color: var(--d-text-2); } .d-auth-form small a { text-decoration: underline; }
.d-auth-form .d-btn { width: 100%; min-height: 52px; }
.d-auth-form .d-field input { min-height: 52px; font-size: 17px; letter-spacing: .05em; }
.d-otp { position: relative; display: block; cursor: text; }
.d-otp .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.d-otp .boxes { display: flex; gap: 10px; direction: ltr; justify-content: center; }
.d-otp .boxes span { width: 54px; height: 62px; border-radius: 14px; border: 1.5px solid var(--d-line-2); background: #fff; display: grid; place-items: center; font: 500 24px Vazirmatn, sans-serif; color: var(--d-ink); transition: border-color .2s; }
.d-otp .boxes span.cur { border-color: var(--d-gold); box-shadow: 0 0 0 3px rgba(201, 161, 92, .2); }
.d-otp input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; font-size: 16px; }
.d-auth-form .dev { font-size: 12px; padding: 8px 12px; border-radius: 10px; background: #F6EBD3; color: #7A5B00; }
.resend-row { display: flex; justify-content: center; font-size: 13px; color: var(--d-text-2); min-height: 32px; align-items: center; }
.d-welcome { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--d-espresso); color: var(--d-gold-light); }
.d-welcome span { display: flex; flex-direction: column; } .d-welcome small { color: var(--d-on-dark); } .d-welcome b { font-size: 18px; letter-spacing: 3px; }
.d-welcome .d-btn { width: auto; min-height: 40px; }
@media (max-width: 760px) {
  .d-auth-modal { padding: 0; }
  .d-auth { grid-template-columns: 1fr; border-radius: 0; min-height: 100svh; }
  .d-auth { align-content: start; }
  .d-auth-art { padding: 14px; gap: 10px; } .d-auth-art svg, .d-auth-art p, .d-auth-art::before { display: none; } .d-auth-art img { width: 84px; }
  .d-auth-form { padding: 20px; max-height: none; }
  .d-otp .boxes span { width: 48px; height: 56px; }
}

/* ---------- account (ACC1–ACC10) + order (ACC4, CK6) ---------- */
.d-acc, .d-order { max-width: 760px; margin: 0 auto; padding: 32px 24px 72px; display: flex; flex-direction: column; gap: 14px; }
.d-acc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; } .d-acc-head h1 { margin: 0; font-size: 24px; font-weight: 400; }
.d-acc-head .d-icon { font-size: 20px; }
.d-acc-card { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.d-me { flex-direction: row; align-items: center; gap: 14px; }
.d-me .av { width: 56px; height: 56px; border-radius: 28px; background: var(--d-espresso); color: var(--d-gold-light); display: grid; place-items: center; font-size: 22px; flex: none; }
.d-me .who { flex: 1; min-width: 0; display: flex; flex-direction: column; } .d-me .who b { font-size: 17px; font-weight: 500; } .d-me .who span { font-size: 13px; color: var(--d-text-2); text-align: right; }
.d-acc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.d-acc-stats a { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--d-ink); transition: border-color .2s, transform .3s var(--d-ease); }
.d-acc-stats a:hover { border-color: var(--d-gold); transform: translateY(-2px); }
.d-acc-stats b { font: 500 22px Jost, Vazirmatn, sans-serif; } .d-acc-stats span { font-size: 12px; color: var(--d-text-2); }
.d-live { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--d-espresso); color: var(--d-cream); }
.d-live:hover { color: var(--d-cream); }
.d-live .pulse { width: 10px; height: 10px; border-radius: 50%; background: #7FC8A0; box-shadow: 0 0 0 0 rgba(127, 200, 160, .6); animation: d-ping 1.8s infinite; flex: none; }
@keyframes d-ping { 70% { box-shadow: 0 0 0 10px rgba(127, 200, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 200, 160, 0); } }
.d-live > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; } .d-live b { color: var(--d-gold-light); font-weight: 500; } .d-live small { color: var(--d-on-dark); }
.d-acc-menu { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.d-acc-menu a { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid #EBE3D6; color: var(--d-ink); font-size: 15px; transition: background .2s; }
.d-acc-menu a:last-child { border-bottom: 0; } .d-acc-menu a:hover { background: #F6F0E6; color: var(--d-ink); }
.d-acc-menu a > span:not(.chev) { flex: 1; } .d-acc-menu em { font-style: normal; font-size: 11px; background: var(--d-gold); color: var(--d-espresso); border-radius: 999px; padding: 1px 8px; }
.d-acc-menu .chev { color: var(--d-muted-gold); font-size: 20px; }
.d-tabs a { min-height: 44px; padding: 0 16px; display: flex; align-items: center; gap: 6px; border-bottom: 2px solid transparent; color: var(--d-text-2); font-size: 14px; margin-bottom: -1px; white-space: nowrap; }
.d-tabs a[aria-selected=true] { color: var(--d-ink); border-color: var(--d-ink); font-weight: 500; } .d-tabs a small { font-size: 11px; }
.d-olist { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.d-ocard { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; color: var(--d-ink); transition: border-color .2s; }
.d-ocard:hover { border-color: var(--d-line-2); color: var(--d-ink); }
.d-ocard .t { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .d-ocard .t b { font: 500 15px Jost, Vazirmatn, sans-serif; letter-spacing: 1px; }
.d-ocard .th { display: flex; gap: 6px; } .d-ocard .th img, .d-ocard .th i { width: 52px; height: 52px; border-radius: 10px; background: var(--d-sand); object-fit: contain; padding: 4px; display: grid; place-items: center; font-style: normal; font-size: 12px; color: var(--d-text-2); }
.d-ocard .b { display: flex; justify-content: space-between; font-size: 13px; color: var(--d-text-2); } .d-ocard .b b { color: var(--d-ink); font-weight: 700; }
.d-ocard .note { font-size: 13px; color: var(--d-text-2); }
.d-acc-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 48px 16px; }
.d-acc-empty b { font-size: 17px; font-weight: 500; }
.d-grid-acc { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.d-acc-form h2 { margin: 6px 0 0; font-size: 16px; font-weight: 500; }
.d-acc-form select.d-input { appearance: auto; }
/* order done / detail */
.d-done-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 20px 0 8px; animation: d-fu .7s var(--d-ease) both; }
.d-done-hero h1 { margin: 0; font-size: 30px; font-weight: 400; } .d-done-hero p { margin: 0; color: var(--d-text-2); line-height: 2; } .d-done-hero b { color: var(--d-ink); }
.d-done-ctas { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; justify-content: center; align-items: center; }
.d-cardpay { width: 100%; display: grid; gap: 6px; padding: 16px; border-radius: 16px; background: var(--d-espresso); color: var(--d-cream); text-align: start; }
.d-cardpay b { color: var(--d-gold-light); font-weight: 500; } .d-cardpay span { font-size: 16px; } .d-cardpay small { color: var(--d-on-dark); line-height: 1.9; }
.d-ostatus { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; animation: pop .6s .2s var(--d-ease) both; }
.d-ostatus .ttl { font-size: 13px; color: var(--d-text-2); } .d-ostatus small { font-size: 13px; color: var(--d-text-2); }
.d-ostatus .line { display: flex; align-items: center; }
.d-ostatus .line > span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--d-text-2); flex: none; }
.d-ostatus .line > span em { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--d-line-2); background: var(--d-cream); }
.d-ostatus .line > span.on { color: var(--d-ink); font-weight: 500; } .d-ostatus .line > span.on em { background: var(--d-gold); border-color: var(--d-gold); }
.d-ostatus .line > i { flex: 1; height: 2px; background: var(--d-line); margin: 0 6px 22px; } .d-ostatus .line > i.on { background: var(--d-gold); }
.d-oline { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid #EBE3D6; }
.d-oline .th { width: 56px; height: 56px; border-radius: 10px; background: var(--d-sand); display: grid; place-items: center; flex: none; } .d-oline .th img { width: 82%; height: 82%; object-fit: contain; }
.d-oline .nm { flex: 1; min-width: 0; display: flex; flex-direction: column; } .d-oline .nm a { color: var(--d-ink); font-weight: 500; } .d-oline .nm small { color: var(--d-text-2); }
.d-oline .pr { font-weight: 700; font-size: 14px; } .d-oline .pr small { font-weight: 400; font-size: 11px; }
.d-hint { text-align: center; font-size: 13px; color: var(--d-gold-ink); }
.ret-card { padding: 12px 0; }

/* ---------- try-on (TryOn) ---------- */
.d-try { padding: 24px 16px 48px; display: flex; justify-content: center; }
.d-try-app { width: min(960px, 100%); background: var(--d-espresso); color: var(--d-cream); border-radius: 28px; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 30px 60px -30px rgba(42, 30, 22, .6); }
.d-try-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 500; }
.d-try-ic { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--d-dark-line); background: transparent; color: var(--d-gold-light); display: grid; place-items: center; cursor: pointer; font-size: 18px; }
.d-try-ic:hover { color: var(--d-gold-light); background: rgba(232, 206, 156, .08); } .d-try-ic[disabled] { opacity: .4; }
.d-try-mode { min-width: 44px; text-align: center; font: 500 13px Jost, sans-serif; color: var(--d-gold); }
.d-try-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--d-espresso-2); align-self: center; }
.d-try-tabs > * { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: var(--d-on-dark); font: 14px Vazirmatn, Tahoma, sans-serif; cursor: pointer; display: flex; align-items: center; }
.d-try-tabs [aria-selected=true] { background: var(--d-gold); color: var(--d-espresso); font-weight: 700; }
.d-try-view.viewport { aspect-ratio: 4 / 3; border-radius: 20px; border: 1px solid var(--d-dark-line); background: #1E150F; }
@media (max-width: 760px) { .d-try-view.viewport { aspect-ratio: 3 / 4; } .d-try { padding: 0; } .d-try-app { border-radius: 0; } }
.d-try-view img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.d-try-view .vp-preview { position: absolute; inset: 0; z-index: 1; opacity: .5; pointer-events: none; }
.d-try-view .vp-state { background: radial-gradient(60% 60% at 50% 45%, rgba(51, 38, 28, .92), rgba(30, 21, 15, .97)); color: var(--d-cream); }
.d-try-view .vp-state h2 { margin: 0; font-weight: 300; font-size: 26px; color: var(--d-gold-light); }
.d-try-view .vp-state p { color: var(--d-on-dark); max-width: 440px; margin: 10px auto 22px; line-height: 2; }
.d-try-view .vp-state .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.d-try-status { position: absolute; z-index: 4; top: 14px; right: 14px; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(42, 30, 22, .7); font-size: 12px; backdrop-filter: blur(6px); }
.d-try-tools { position: absolute; z-index: 4; top: 14px; left: 14px; display: flex; gap: 6px; }
.d-try-tools button { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 0; background: rgba(241, 236, 228, .9); color: var(--d-ink); font: 12px Vazirmatn, Tahoma, sans-serif; cursor: pointer; }
.d-try-tune { position: absolute; z-index: 5; top: 56px; left: 14px; width: 220px; display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(241, 236, 228, .95); color: var(--d-ink); font-size: 12px; }
.d-try-tune label { display: grid; gap: 4px; } .d-try-tune input { accent-color: var(--d-ink); width: 100%; }
.d-try-now { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 0 4px; }
.d-try-now a { color: var(--d-gold-light); font-size: 16px; font-weight: 500; } .d-try-now span { font-size: 14px; color: var(--d-on-dark); }
.d-try-cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.d-try-cats .d-chip { color: var(--d-on-dark); border-color: var(--d-dark-line); }
.d-try-cats .d-chip.on { background: var(--d-gold-light); border-color: var(--d-gold-light); color: var(--d-espresso); }
.d-try-list { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; }
.d-try-list button { flex: none; width: 72px; height: 72px; border-radius: 36px; border: 1.5px solid var(--d-dark-line); background: var(--d-espresso-2); padding: 8px; cursor: pointer; transition: border-color .2s, transform .2s; }
.d-try-list button img { width: 100%; height: 100%; object-fit: contain; }
.d-try-list button.on { border-color: var(--d-gold); box-shadow: 0 0 0 3px rgba(201, 161, 92, .3); transform: scale(1.05); }
.d-try-bottom { display: flex; justify-content: space-around; align-items: center; padding: 4px 0; }
.d-shutter { width: 72px; height: 72px; border-radius: 36px; border: 3px solid var(--d-gold-light); background: transparent; display: grid; place-items: center; cursor: pointer; }
.d-shutter span { width: 56px; height: 56px; border-radius: 28px; background: var(--d-gold); transition: transform .15s; }
.d-shutter:active span { transform: scale(.88); }
.d-try-tip { margin: 0; text-align: center; font-size: 12px; color: var(--d-muted-gold); }

/* ---------- status pages (ST1/ST6 404, ST5 error) ---------- */
.d-status { max-width: 640px; margin: 0 auto; padding: 72px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; animation: d-fu .7s var(--d-ease) both; }
.d-404 { display: flex; align-items: center; gap: 8px; font: 300 120px/1 Jost, sans-serif; color: var(--d-gold-ink); }
.d-404 svg { width: 96px; height: 96px; animation: d-float 6s ease-in-out infinite; }
.d-status h1 { margin: 0; font-size: 28px; font-weight: 400; } .d-status p { margin: 0; color: var(--d-text-2); line-height: 2; }
.d-status code { font: 12px Jost, monospace; color: var(--d-muted-gold); letter-spacing: 1px; }

/* ---------- information pages + track: no fixed header any more ---------- */
.info-hero { padding: 40px 0 44px; }
.info-tabs a { border-color: var(--d-dark-line); color: var(--d-on-dark); }
.info-tabs a.active { background: var(--d-gold); border-color: var(--d-gold); color: var(--d-espresso); }
.page-head { padding: 32px 0 24px; }

/* colour swatches (costume jewelry comes in several colours) */
.d-dots { display: inline-flex; gap: 4px; align-items: center; margin-inline-end: 6px; vertical-align: middle; }
.d-dots small { font-size: 11px; color: var(--d-text-2); }
.d-cdot { display: inline-block; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); flex: none; }
.d-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.d-color { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border: 1px solid var(--d-line); border-radius: 999px; background: var(--d-card); color: var(--d-ink); font: inherit; font-size: 14px; cursor: pointer; transition: border-color .2s var(--d-ease), box-shadow .2s var(--d-ease); }
.d-color:hover { border-color: var(--d-line-2); }
.d-color.on { border-color: var(--d-espresso); box-shadow: 0 0 0 1px var(--d-espresso); }
.d-color[disabled] { cursor: not-allowed; color: var(--d-text-2); text-decoration: line-through; }
