/*
 * FILE PATH: /home/sqhemizw/printmyphotos.in/assets/css/store.css
 * PrintMyPhotos store — "photo lab" design. Upar darkroom (prints drying line par), baaki saaf safed kaagaz.
 * Font: Bricolage Grotesque (headings) + Figtree (text). Rang: logo ka laal.
 */
:root {
  --ink: #241d1b; --muted: #6f6661; --line: #e6e1dc; --paper: #fff; --stock: #f6f5f2;
  --dark: #2a201e; --dark-2: #3a2d2a; --on-dark: #f3ece8; --on-dark-2: #c9bcb6;
  --red: #d7262e; --red-d: #b71e25; --ok: #1f7a55; --ok-bg: #e5f3ec; --amber: #9a6512; --amber-bg: #fdf1dc;
  --bad: #b3261e; --bad-bg: #fcebea; --info-bg: #eef2f8;
  --head: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --print-shadow: 0 1px 2px rgba(36, 29, 27, .18), 0 10px 24px -8px rgba(36, 29, 27, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--ink); background: var(--paper); }
a { color: var(--red-d); text-underline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; margin: 0 0 .45em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3, .h3 { font-family: var(--head); font-size: 1.2rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.wrap.narrow { width: min(460px, 100% - 32px); }
.muted { color: var(--muted); } .small { font-size: .875rem; } small { font-size: .82em; }
.center { text-align: center; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(215, 38, 46, .45); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 24px; border: 0; border-radius: 10px;
  background: var(--red); color: #fff; font: 650 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--red-d); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.light { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(243, 236, 232, .4); }
.btn.light:hover { box-shadow: inset 0 0 0 1.5px var(--on-dark); }
.btn.block { width: 100%; margin-top: 12px; }
.btn-s { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 8px; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); background: #fff;
  color: var(--ink); text-decoration: none; font: 600 .9rem/1.2 var(--body); cursor: pointer; }
.btn-s:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-s.ghost-red { color: var(--bad); }
.linkbtn { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; padding: 4px 0; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand img { height: 40px; display: block; }
.menu { display: flex; gap: 2px; margin-left: 10px; }
.menu a { padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: .97rem; }
.menu a:hover, .menu a.on { background: var(--stock); }
.top-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.hi { font-weight: 600; font-size: .92rem; color: var(--muted); }
.cart-link { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: var(--ink); }
.cart-link:hover { background: var(--stock); }
.cart-link svg { width: 24px; height: 24px; }
.cart-link b { position: absolute; top: 2px; right: 0; background: var(--red); color: #fff; font-size: .68rem; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.burger { display: none; border: 0; background: none; padding: 8px; cursor: pointer; color: var(--ink); }
.burger svg { width: 24px; height: 24px; display: block; }
.testbar { background: #fff6dc; color: #6b4e00; text-align: center; font-size: .82rem; padding: 5px 10px; }
@media (max-width: 900px) {
  .menu { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 14px; margin: 0; display: none; }
  .menu.open { display: flex; }
  .menu a { padding: 12px; }
  .burger { display: block; }
}
@media (max-width: 560px) { .hi { display: none; } .brand img { height: 32px; } .top-in { gap: 10px; } .top-right .btn-s { padding: 6px 10px; font-size: .82rem; } }

/* ---------- notes ---------- */
.note { padding: 12px 14px; border-radius: 10px; margin: 12px 0; background: var(--info-bg); }
.note-error { background: var(--bad-bg); color: var(--bad); }
.note-ok { background: var(--ok-bg); color: var(--ok); }
.note-info { background: var(--info-bg); }

/* ---------- hero: darkroom ---------- */
.dark-hero { position: relative; overflow: hidden; color: var(--on-dark); padding: 56px 0 64px;
  background: radial-gradient(60% 70% at 85% 0%, rgba(215, 38, 46, .30), transparent 70%), linear-gradient(180deg, var(--dark) 0%, #231a18 100%); }
.dark-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.dark-hero h1 { color: #fff; max-width: 13ch; }
.dark-hero .lead { color: var(--on-dark-2); font-size: 1.15rem; max-width: 42ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 22px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 26px; color: var(--on-dark-2); font-size: .95rem; }
.facts li { display: flex; gap: 8px; align-items: center; }
.facts svg { width: 18px; height: 18px; color: var(--red); flex: none; }

/* drying line: prints clipped to a string */
.line { position: relative; height: 380px; }
.line::before { content: ""; position: absolute; left: -10%; right: -40vw; top: 28px; height: 2px; background: linear-gradient(90deg, rgba(243, 236, 232, .15), rgba(243, 236, 232, .55) 30%, rgba(243, 236, 232, .35)); transform: rotate(-2deg); }
.hang { position: absolute; top: 20px; transform-origin: 50% 0; animation: sway 2.6s ease-out 1 both; }
.hang:nth-child(2) { animation-delay: .15s; } .hang:nth-child(3) { animation-delay: .3s; } .hang:nth-child(4) { animation-delay: .45s; }
@keyframes sway { 0% { transform: rotate(var(--r0, 6deg)) translateY(-14px); opacity: 0; } 30% { opacity: 1; } 60% { transform: rotate(calc(var(--r, 0deg) - 1.5deg)); } 100% { transform: rotate(var(--r, 0deg)); } }
.clip { position: absolute; left: 50%; top: -12px; width: 14px; height: 30px; margin-left: -7px; border-radius: 3px; background: linear-gradient(90deg, #b9a58a, #e1cfb4 50%, #b09a7e); z-index: 2; box-shadow: 0 2px 4px rgba(0, 0, 0, .4); }
.print { display: block; background: #fff; padding: 9px 9px 9px; box-shadow: 0 2px 3px rgba(0, 0, 0, .3), 0 18px 34px -10px rgba(0, 0, 0, .65); }
.print img, .print .ph { display: block; width: 100%; height: 100%; object-fit: cover; background: #ddd; }
.tag { position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); white-space: nowrap; font: 600 .78rem/1 var(--body); color: var(--on-dark-2); }
.h1p { left: 2%;  width: 150px; height: 222px; --r: -3deg; --r0: -9deg; }
.h2p { left: 28%; width: 228px; height: 164px; top: 26px; --r: 2deg; }
.h3p { left: 66%; width: 160px; height: 178px; top: 34px; --r: -1.5deg; --r0: -8deg; }
.h4p { left: 50%; width: 112px; height: 160px; top: 236px; --r: 4deg; }
.h4p .tag { display: none; }
.h4p .clip { display: none; }
@media (max-width: 900px) {
  .dark-hero { padding: 36px 0 44px; }
  .dark-hero .wrap { grid-template-columns: 1fr; gap: 20px; }
  .line { height: 280px; margin: 0 -8px; }
  .h1p { width: 112px; height: 166px; } .h2p { width: 170px; height: 122px; left: 31%; } .h3p { width: 116px; height: 130px; left: 70%; } .h4p { display: none; }
}
@media (max-width: 420px) { .h3p { display: none; } .h2p { left: 44%; } .facts { grid-template-columns: 1fr; } }

/* ---------- sections ---------- */
.sec { padding: 72px 0; }
.sec.tight { padding: 24px 0 56px; }
.sec.alt { background: var(--stock); }
.sec-intro { max-width: 60ch; margin-bottom: 28px; }
.sec-intro p { color: var(--muted); font-size: 1.05rem; }
.soon { display: inline-block; background: var(--amber-bg); color: var(--amber); font: 650 .8rem/1 var(--body); padding: 6px 10px; border-radius: 6px; vertical-align: middle; }
.crumbs { font-size: .88rem; color: var(--muted); padding-top: 16px; }
.crumbs a { color: var(--muted); }

/* product rows (home): picture + words, sides swap */
.prow { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.prow + .prow { margin-top: 88px; }
.prow.flip .pic { order: 2; }
.prow h2 { margin-bottom: .3em; }
.prow .from { font: 650 1.05rem/1.3 var(--body); margin: 14px 0 20px; }
.prow .from b { font-family: var(--head); font-size: 1.6rem; letter-spacing: -.02em; }
@media (max-width: 860px) { .prow { grid-template-columns: 1fr; gap: 26px; } .prow.flip .pic { order: 0; } .prow + .prow { margin-top: 64px; } }

/* passport sheet picture */
.sheet { position: relative; background: #fff; aspect-ratio: 6 / 4; max-width: 520px; margin: auto; padding: 4.5%; box-shadow: var(--print-shadow); display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 4% 3.2%; transform: rotate(-1.2deg); }
.sheet .pp { background: #eaf1f8; overflow: hidden; display: grid; place-items: end center; }
.sheet .pp img { width: 100%; height: 100%; object-fit: cover; }
.sheet .pp svg { width: 78%; color: #9fb0c2; }
.sheet-note { position: absolute; right: -4px; bottom: -26px; font-size: .8rem; color: var(--muted); }
.doc-list { list-style: none; padding: 0; margin: 18px 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.doc-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.doc-list span { color: var(--muted); white-space: nowrap; }
@media (max-width: 520px) { .doc-list { grid-template-columns: 1fr; } }

/* size ladder: prints drawn to scale */
.ladder { display: flex; align-items: flex-end; gap: 3.5%; padding: 10px 0 34px; }
.ladder a { position: relative; flex: none; display: block; text-decoration: none; color: var(--ink); }
.ladder .print { padding: 5px; box-shadow: var(--print-shadow); height: 100%; transition: transform .2s; }
.ladder a:hover .print { transform: translateY(-4px); }
.ladder .lab { position: absolute; left: 0; right: 0; bottom: -28px; text-align: center; font-size: .82rem; font-weight: 650; white-space: nowrap; }
.size-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }

/* wall art picture */
.wall { position: relative; aspect-ratio: 5 / 4; border-radius: 4px; overflow: hidden; background: linear-gradient(180deg, #e8dfd3 0%, #dfd3c4 78%, #a88c6d 78%, #8e7356 100%); display: flex; align-items: center; justify-content: center; gap: 5%; padding-bottom: 18%; }
.wall::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 78%; background: radial-gradient(60% 50% at 50% 30%, rgba(255, 255, 255, .45), transparent 70%); pointer-events: none; }
.frame { background: #fff; padding: 2.4%; box-shadow: 0 0 0 5px #2c2522, 0 16px 26px -10px rgba(40, 25, 15, .6); }
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.f1, .f3 { width: 19%; aspect-ratio: 2 / 3; } .f2 { width: 34%; aspect-ratio: 3 / 2; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid var(--line); border-radius: 8px; padding: 7px 12px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.chip small { color: var(--muted); font-weight: 500; }
a.chip { text-decoration: none; } a.chip:hover { border-color: var(--ink); }

/* steps (real sequence) */
.steps { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 52px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 1rem/1 var(--head); }
.steps li::after { content: ""; position: absolute; top: 19px; left: 50px; right: -18px; height: 1.5px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps b { display: block; font: 650 1.08rem/1.3 var(--head); margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .steps li::after { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; gap: 18px; } .steps li { padding: 4px 0 0 54px; } }

/* tables */
.table-wrap { overflow-x: auto; margin: 16px 0; -webkit-overflow-scrolling: touch; }
.ptable { border-collapse: collapse; min-width: 420px; width: 100%; background: #fff; }
.ptable th, .ptable td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.ptable th { font-size: .85rem; color: var(--muted); font-weight: 650; border-bottom: 1.5px solid var(--ink); }
.ptable td:first-child { white-space: nowrap; }
.ptable a { color: var(--ink); }
.ptable tr:hover td { background: #fcfbf9; }

/* delivery block */
.deliv { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .deliv { grid-template-columns: 1fr; gap: 10px; } }
.pin-check { background: #fff; border-radius: 14px; padding: 22px; box-shadow: 0 0 0 1px var(--line); }
.pin-check label { font-family: var(--head); font-size: 1.15rem; font-weight: 650; display: block; margin: 0 0 10px; }
.pin-row { display: flex; gap: 8px; }
.pin-row input { flex: 1; min-width: 0; }
.pin-out { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--stock); }
.pin-out.ok { background: var(--ok-bg); } .pin-out.ok b { color: var(--ok); }
.pin-out.bad { background: var(--bad-bg); color: var(--bad); }

/* ---------- forms ---------- */
input, select, textarea { font: inherit; font-size: 1rem; width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--ink); }
label { font-weight: 600; display: block; margin: 14px 0 6px; }
.card { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 0 0 1px var(--line); }
.mobile-input { display: flex; align-items: stretch; }
.mobile-input span { display: flex; align-items: center; padding: 0 12px; background: var(--stock); border: 1.5px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px; font-weight: 600; }
.mobile-input input { border-radius: 0 10px 10px 0; }
input.otp { letter-spacing: .4em; text-align: center; font-size: 1.4rem; }
#resend.off { color: var(--muted); pointer-events: none; }
.chk { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 10px 0 6px; }
.chk input { width: auto; accent-color: var(--red); }
.login-cta { max-width: 560px; margin-top: 22px; }
.login-page { padding: 48px 0 72px; background: var(--stock); }
.login-page .card { padding: 30px; }

/* ---------- footer (darkroom) ---------- */
.foot { background: var(--dark); color: var(--on-dark-2); padding: 52px 0 26px; margin-top: 0; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot b { color: #fff; font-family: var(--head); font-weight: 650; display: block; margin-bottom: 8px; }
.foot-in a { display: block; color: var(--on-dark-2); text-decoration: none; padding: 4px 0; }
.foot-in a:hover { color: #fff; }
.foot-logo { height: 36px; background: #fff; padding: 6px 10px; border-radius: 8px; }
.foot .fine { border-top: 1px solid rgba(243, 236, 232, .14); margin-top: 30px; padding-top: 16px; font-size: .85rem; }
@media (max-width: 700px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-in > div:first-child { grid-column: 1 / -1; } }
.wa-float { position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); z-index: 30; }
body:has(.pa-total:not([hidden])) .wa-float { bottom: 88px; }

/* ---------- page heads (inner pages) ---------- */
.page-top { background: var(--stock); padding: 8px 0 34px; border-bottom: 1px solid var(--line); }
.page-top h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-top: 14px; }
.page-top .lead { color: var(--muted); font-size: 1.1rem; max-width: 56ch; margin: 0; }
.page-top-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: end; }
.page-top .ladder { justify-content: flex-end; padding-bottom: 30px; }
@media (max-width: 860px) { .page-top-in { grid-template-columns: 1fr; gap: 10px; } .page-top .ladder { justify-content: flex-start; } }

/* ---------- uploader ---------- */
.pa { margin-top: 26px; }
.pa-bar { padding: 18px 20px; margin-bottom: 16px; }
.pa-bar-head { margin-bottom: 4px; } .pa-bar-head b { font-family: var(--head); font-size: 1.1rem; }
.pa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; }
.pa-grid label, .it-grid label { margin: 0; font-size: .82rem; color: var(--muted); font-weight: 600; }
.pa-grid select, .pa-grid input, .it-grid select, .it-grid input { margin-top: 5px; padding: 10px 11px; font-size: .95rem; }
.pa-wh { display: flex; align-items: center; gap: 6px; } .pa-wh input { min-width: 0; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; border-radius: 16px; padding: 38px 16px; cursor: pointer; text-align: center; margin: 0;
  background: repeating-linear-gradient(135deg, #fff 0 14px, #fbfaf8 14px 28px); box-shadow: inset 0 0 0 2px #d9d2cb; transition: box-shadow .15s, background .15s; }
.drop:hover, .drop.over { box-shadow: inset 0 0 0 2px var(--red); background: #fff8f7; }
.drop svg { width: 40px; height: 40px; color: var(--red); }
.drop b { font: 650 1.25rem/1.2 var(--head); }
.items { display: grid; gap: 14px; margin-top: 16px; }
.item { display: grid; grid-template-columns: 170px 1fr; gap: 18px; background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 0 0 1px var(--line); }
.item.bad { box-shadow: 0 0 0 1.5px #efb0ad; }
.item.busy { opacity: .55; pointer-events: none; }
.it-prev { display: flex; align-items: flex-start; justify-content: center; background: var(--stock); border-radius: 10px; padding: 14px; }
.it-frame { position: relative; width: 100%; max-height: 200px; overflow: hidden; background: #fff; outline: 5px solid #fff; box-shadow: var(--print-shadow); margin: 5px; }
.it-frame img { position: absolute; max-width: none; }
.it-frame img.fitimg { inset: 0; width: 100%; height: 100%; object-fit: contain; }
.it-top { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.it-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92rem; }
.it-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 8px; }
.it-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.it-price { margin-left: auto; text-align: right; } .it-price b { font: 700 1.15rem/1 var(--head); }
.item textarea { font-size: .92rem; padding: 9px 11px; }
.q { font-size: .75rem; font-weight: 700; padding: 4px 9px; border-radius: 6px; white-space: nowrap; }
.q-good { background: var(--ok-bg); color: var(--ok); } .q-ok { background: var(--amber-bg); color: var(--amber); } .q-low { background: var(--bad-bg); color: var(--bad); }
.uploading .it-prev { height: 110px; align-items: center; }
.spin { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--red); border-radius: 50%; animation: sp 1s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.pa-total { position: sticky; bottom: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border-top: 1px solid var(--line); padding: 12px 0; margin-top: 16px; box-shadow: 0 -10px 20px -14px rgba(0,0,0,.25); }
.pa-total b { font-family: var(--head); font-size: 1.1rem; }
@media (max-width: 560px) { .item { grid-template-columns: 96px 1fr; gap: 12px; padding: 12px; } .it-prev { padding: 8px; } .pa-total .btn { padding: 10px 16px; } }

/* crop */
.crop-dlg { border: 0; border-radius: 16px; padding: 18px; width: min(720px, 96vw); }
.crop-dlg::backdrop { background: rgba(30, 22, 20, .7); }
.crop-stage { position: relative; display: flex; justify-content: center; background: var(--dark); margin: 10px 0; touch-action: none; user-select: none; overflow: hidden; border-radius: 8px; }
.crop-stage img { max-width: 100%; max-height: 60vh; display: block; }
.crop-box { position: absolute; border: 2px solid #fff; box-shadow: 0 0 0 9999px rgba(20, 14, 12, .6); cursor: move; touch-action: none; }
.crop-zoom { display: flex; align-items: center; gap: 10px; margin: 0; } .crop-zoom input { padding: 0; accent-color: var(--red); }
.crop-actions { display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- cart / checkout ---------- */
.cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; margin-top: 16px; }
.cart-grid > div > .card + .card { margin-top: 16px; }
@media (max-width: 860px) { .cart-grid { grid-template-columns: 1fr; } }
.cart-list { display: grid; gap: 10px; align-content: start; }
.crow { display: grid; grid-template-columns: 68px 1fr auto; gap: 14px; align-items: center; background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 0 0 1px var(--line); }
.crow.bad { box-shadow: 0 0 0 1.5px #efb0ad; }
.crow img, .crow .noimg { width: 68px; height: 68px; object-fit: cover; border: 4px solid #fff; box-shadow: var(--print-shadow); background: var(--stock); display: grid; place-items: center; }
.crow-b { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.crow-p { text-align: right; } .crow-p b { font-family: var(--head); }
.sum { position: sticky; top: 86px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; }
.sum-row.total { border-top: 1.5px solid var(--ink); margin-top: 8px; padding-top: 12px; font: 700 1.25rem/1.2 var(--head); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; gap: 0; } }
.seg { display: flex; gap: 10px; flex-wrap: wrap; }
.seg label, .saved-a { display: flex; gap: 10px; align-items: flex-start; border-radius: 10px; padding: 12px 14px; margin: 0; cursor: pointer; font-weight: 550; box-shadow: inset 0 0 0 1.5px var(--line); }
.seg input, .saved-a input { width: auto; margin-top: 4px; accent-color: var(--red); }
.seg label:has(input:checked), .saved-a:has(input:checked) { box-shadow: inset 0 0 0 2px var(--red); background: #fff8f7; }
.saved { display: grid; gap: 8px; margin: 14px 0 4px; }
.free { color: var(--ok); }
details.gst { margin-top: 14px; } details.gst summary { cursor: pointer; font-weight: 600; color: var(--red-d); }

/* ---------- orders ---------- */
.olist { display: grid; gap: 10px; }
.orow { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; background: #fff; border-radius: 14px; padding: 14px 16px; text-decoration: none; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.orow:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.orow > b { font-family: var(--head); }
.st { font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 6px; background: var(--stock); white-space: nowrap; }
.st-paid, .st-printing, .st-ready { background: var(--info-bg); color: #2747a8; }
.st-dispatched { background: var(--amber-bg); color: var(--amber); } .st-delivered { background: var(--ok-bg); color: var(--ok); }
.st-cancelled, .st-refunded { background: var(--bad-bg); color: var(--bad); }
.ohead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .ohead h1 { margin: 0; font-size: 1.7rem; }
.track { display: flex; list-style: none; padding: 0; margin: 22px 0; counter-reset: t; }
.track li { flex: 1; text-align: center; font-size: .86rem; color: var(--muted); position: relative; padding-top: 32px; }
.track li::before { counter-increment: t; content: counter(t); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--line); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .8rem; z-index: 1; }
.track li::after { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.track li:first-child::after { display: none; }
.track li.done { color: var(--ink); font-weight: 600; } .track li.done::before, .track li.done::after { background: var(--ok); }
.olog { margin-top: 18px; } .olog summary { cursor: pointer; font-weight: 600; }

/* ---------- size page + faq ---------- */
.size-hero { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.size-pic { display: flex; justify-content: center; align-items: center; min-height: 300px; background: var(--stock); border-radius: 16px; padding: 30px; }
.size-pic .print { padding: 8px; box-shadow: var(--print-shadow); }
.size-pic .print img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .size-hero { grid-template-columns: 1fr; gap: 20px; } .size-pic { min-height: 220px; } }
.faq details, .faq h2 { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; } .faq summary { cursor: pointer; font: 650 1.08rem/1.35 var(--head); }
.faq p { margin: 10px 0 0; color: #4a423e; max-width: 70ch; }
.h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }

/* ---------- Phase 3: passport & visa ---------- */
.doc-grid-s { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 8px 0 18px; }
.doc-tile { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 14px; padding: 14px; text-decoration: none; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.doc-tile:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.dt-pic { flex: none; width: 76px; height: 76px; display: grid; place-items: center; background: var(--stock); border-radius: 10px; }
.dt-pic .print, .doc-print { padding: 3px; background: #fff; box-shadow: var(--print-shadow); display: grid; place-items: end center; color: #a9b8c8; overflow: hidden; }
.dt-pic .print { background: #eaf1f8; }
.dt-pic img, .doc-print img { width: 100%; height: 100%; object-fit: cover; }
.dt-pic svg { width: 80%; }
.dt-txt { display: flex; flex-direction: column; gap: 1px; } .dt-txt b { font-family: var(--head); font-size: 1.05rem; }
.dt-price { font-weight: 650; color: var(--red-d); margin-top: 3px; font-size: .95rem; }
.doc-spec { position: relative; justify-self: end; padding: 0 40px 30px 0; }
.doc-print { background: #eaf1f8; padding: 6px; }
.doc-print svg { width: 82%; }
.dim { position: absolute; font-size: .78rem; font-weight: 650; color: var(--muted); }
.dim-w { left: 0; right: 40px; bottom: 4px; text-align: center; border-top: 1.5px solid var(--muted); padding-top: 3px; }
.dim-h { top: 0; bottom: 30px; right: 0; width: 32px; writing-mode: vertical-rl; display: flex; align-items: center; justify-content: center; border-left: 1.5px solid var(--muted); }
@media (max-width: 860px) { .doc-spec { justify-self: start; margin-top: 10px; } }

.step-h { display: flex; align-items: center; gap: 10px; margin: 26px 0 12px; }
.step-h:first-child { margin-top: 6px; }
.step-h span { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.pack { margin: 0; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 12px; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; position: relative; }
.pack input, .route input { position: absolute; opacity: 0; pointer-events: none; }
.pack b { font: 650 1.1rem/1.2 var(--head); } .pack span { color: var(--muted); font-weight: 600; }
.pack:has(input:checked), .route:has(input:checked) { box-shadow: inset 0 0 0 2px var(--red); background: #fff8f7; }
.pack:has(input:checked) span { color: var(--red-d); }
.pack:has(input:focus-visible), .route:has(input:focus-visible) { outline: 3px solid rgba(215, 38, 46, .45); outline-offset: 2px; }
.paper-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip-r { margin: 0; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; font-weight: 600; font-size: .92rem; }
.chip-r input { width: auto; accent-color: var(--red); margin: 0; }
.chip-r:has(input:checked) { box-shadow: inset 0 0 0 2px var(--red); }
.routes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 680px) { .routes { grid-template-columns: 1fr; } }
.route { position: relative; margin: 0; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; font-weight: 400; }
.route b { font: 650 1.1rem/1.25 var(--head); } .route span { color: var(--muted); font-size: .94rem; }
.pp-sum { margin: 16px 0; padding: 14px 16px; background: var(--stock); border-radius: 12px; }
.pp-sum b { font-family: var(--head); font-size: 1.15rem; }
.team-box { max-width: 560px; }
.team-box label:first-child { margin-top: 0; }
.ppx { margin-top: 6px; }
.sb-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .95rem; }
.sb-total { border-top: 1.5px solid var(--ink); margin-top: 4px; padding-top: 10px; font-family: var(--head); font-size: 1.1rem; }
.ptable.spec td:first-child { color: var(--muted); width: 160px; }
.doc-list a { color: var(--ink); text-decoration: none; } .doc-list a:hover { color: var(--red-d); text-decoration: underline; }
.crow img.pp-thumb { object-fit: contain; background: #fff; } .cart-more { display: flex; gap: 10px; flex-wrap: wrap; }
.pst { align-self: flex-start; margin-top: 4px; font-size: .76rem; font-weight: 700; padding: 3px 9px; border-radius: 6px; background: var(--info-bg); color: #2747a8; }
.pst-approval, .pst-changes { background: var(--amber-bg); color: var(--amber); } .pst-approved { background: var(--ok-bg); color: var(--ok); }
.approve { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: start; box-shadow: 0 0 0 2px var(--amber-bg), 0 0 0 1px var(--line); }
.ap-img { width: 100%; border: 6px solid #fff; box-shadow: var(--print-shadow); }
.ap-change { margin-top: 12px; } .ap-change summary { cursor: pointer; font-weight: 600; color: var(--red-d); }
@media (max-width: 520px) { .approve { grid-template-columns: 110px 1fr; gap: 14px; padding: 16px; } }

/* ---------- Phase 4: wall art ---------- */
.cat-nav { margin-top: 18px; }
.chip.on { border-color: var(--ink); background: var(--ink); color: #fff; } .chip.on small { color: #ddd; }
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 26px 20px; }
.art { display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--ink); }
.art-pic { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; background: var(--stock); border-radius: 12px; padding: 12%; margin-bottom: 8px; transition: background .15s; }
.art:hover .art-pic { background: #efebe6; }
.art-pic .print { padding: 0; box-shadow: var(--print-shadow); background: #fff; display: block; }
.art-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.art-vertical { width: 70%; aspect-ratio: 2 / 3; } .art-horizontal { width: 100%; aspect-ratio: 3 / 2; } .art-square { width: 84%; aspect-ratio: 1; }
.art-t { font: 650 1rem/1.3 var(--head); }
@media (max-width: 520px) { .art-grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; } }

.rm { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; align-items: start; }
@media (max-width: 900px) { .rm { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
.rm-view { position: sticky; top: 84px; }
@media (max-width: 900px) { .rm-view { position: static; } }
.rm-tabs { display: inline-flex; gap: 4px; background: var(--stock); padding: 4px; border-radius: 10px; margin-bottom: 12px; }
.rm-tabs button { border: 0; background: transparent; padding: 8px 16px; border-radius: 8px; font: 600 .92rem var(--body); cursor: pointer; color: var(--muted); }
.rm-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.rm-stage { background: var(--stock); border-radius: 16px; overflow: hidden; }
.rm-design { display: flex; align-items: center; justify-content: center; padding: 6%; min-height: 380px; }
.rm-frame { position: relative; overflow: hidden; background: #fff; box-shadow: var(--print-shadow); cursor: grab; touch-action: none; }
.rm-frame:active { cursor: grabbing; }
.rm-frame.fit { cursor: default; background: #fff; }
.rm-frame.fit img { padding: 0; }
.rm-wall { position: relative; }
.rm-wall > img { display: block; width: 100%; height: auto; }
.rm-onwall { position: absolute; overflow: hidden; background: #fff; box-shadow: 0 2px 3px rgba(0,0,0,.25), 0 18px 30px -12px rgba(0,0,0,.55); }
.rm-rooms { justify-content: center; margin-top: 10px; }
.rm-rooms .chip { cursor: pointer; font: 600 .88rem var(--body); }
#rm-hint { margin: 10px 0 0; }
.rm-opts h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: .2em; }
.rm-sub { color: var(--muted); font-size: 1.05rem; }
.rm-field { display: block; margin: 18px 0 0; font-weight: 400; }
.rm-l { display: block; font-weight: 650; font-size: .92rem; margin-bottom: 8px; }
.rm-shapes { display: flex; gap: 10px; flex-wrap: wrap; }
.rm-shape { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; width: 96px; height: 104px; padding: 10px 6px 8px; border-radius: 12px; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); }
.rm-shape input { position: absolute; opacity: 0; pointer-events: none; }
.rm-shape .print { padding: 2px; box-shadow: var(--print-shadow); background: #fff; display: block; }
.rm-shape img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rs-vertical { width: 36px; height: 54px; } .rs-horizontal { width: 66px; height: 44px; } .rs-square { width: 50px; height: 50px; }
.rm-shape b { font-size: .82rem; }
.rm-shape:has(input:checked) { box-shadow: inset 0 0 0 2px var(--red); background: #fff8f7; }
.rm-shape:has(input:focus-visible) { outline: 3px solid rgba(215,38,46,.45); outline-offset: 2px; }
.chip-r small { color: var(--muted); font-weight: 500; }
.chip-r.off { opacity: .45; cursor: default; }
.rm-fit label { font-size: .92rem; }
.rm-zoom { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; font-weight: 600; font-size: .9rem; }
.rm-zoom input { padding: 0; accent-color: var(--red); }
.rm-qty input { max-width: 110px; }
.rm-price { margin: 22px 0 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.rm-price b { font: 700 1.8rem/1 var(--head); letter-spacing: -.02em; }
.rm-about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .rm-about { grid-template-columns: 1fr; } }
.rm-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rm-gal img { width: 100%; border-radius: 10px; display: block; }
.rm-gal img:first-child { grid-column: 1 / -1; }
.rm-desc { max-width: 62ch; } .rm-desc p { margin: 0 0 .55em; color: #443d39; }

/* ---------- mobile fixes (13 Nov) ---------- */
.m-only { display: none; }
@media (max-width: 600px) { .d-only { display: none; } .menu .m-only { display: block; border-top: 1px solid var(--line); } }
/* grid ke andar lambi table / ladder poori grid ko chauda na kare */
.prow > *, .deliv > *, .size-hero > *, .rm > *, .cart-grid > *, .page-top-in > *, .two > *, .routes > *, .rm-about > * { min-width: 0; }
.ladder { gap: 3%; overflow: hidden; padding-right: 2px; }
.pack input, .route input, .rm-shape input { left: 0; top: 0; width: 1px; height: 1px; }
/* ungli se dabane layak (kam se kam ~40px) */
.btn-s { min-height: 40px; }
.linkbtn { min-height: 40px; }
.faq summary, details.gst summary, .olog summary, .ap-change summary { padding: 8px 0; }
.ptable td a { display: inline-block; padding: 8px 0; }
input[type=range] { height: 32px; }
.rm-tabs button { min-height: 40px; }
.size-chips .chip, .chips a.chip { min-height: 40px; }
.ptable.spec { min-width: 0; }
.ptable.spec td { vertical-align: top; }
@media (max-width: 560px) {
  .ptable.spec td:first-child { width: 96px; }
  .sec { padding: 52px 0; }
  .top-right { gap: 4px; }
  .cart-link { width: 40px; }
}
.back-link { display: inline-block; padding: 10px 0; }

/* ---------- legacy + saade pages (13 Nov) ---------- */
.legacy { background: var(--stock); padding: 64px 0; border-bottom: 1px solid var(--line); }
.legacy-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.legacy-in h2 { margin-bottom: .4em; }
.legacy-in p { color: #4a423e; max-width: 58ch; }
.legacy-pic { position: relative; display: flex; justify-content: center; padding: 10px 0 30px; }
.legacy-print { width: min(300px, 80%); aspect-ratio: 5 / 4; padding: 12px 12px 34px; background: #fbf8f2; box-shadow: var(--print-shadow); transform: rotate(-3deg); display: block; }
.legacy-print img { width: 100%; height: 100%; object-fit: cover; display: block; }
.legacy-print.aged img { filter: sepia(.75) contrast(1.05) brightness(.95); }
.legacy-year { position: absolute; right: 6%; bottom: 0; font: 700 clamp(3rem, 7vw, 4.6rem)/1 var(--head); color: var(--red); letter-spacing: -.03em; transform: rotate(-3deg); }
.facts.dark { color: var(--muted); margin: 16px 0 0; }
@media (max-width: 860px) { .legacy { padding: 44px 0; } .legacy-in { grid-template-columns: 1fr; gap: 20px; } }

.prose { max-width: 70ch; font-size: 1.05rem; }
.prose h3 { margin: 1.6em 0 .4em; }
.prose ul { padding-left: 1.2em; } .prose li { margin: .35em 0; }
.prose p, .prose li { color: #3f3834; }
.faq-page .faq-g { margin: 30px 0 4px; } .faq-page .faq-g:first-child { margin-top: 0; }
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.contact > * { min-width: 0; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact-side { display: grid; gap: 10px; }
.cbox { display: flex; flex-direction: column; gap: 2px; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); }
a.cbox:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.cbox b { font-family: var(--head); } .cbox span { color: #4a423e; }
.foot-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-in > div:first-child { grid-column: 1 / -1; } }
.foot .fine { display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; }
#area-sel:not([hidden]) + #area-in { margin-top: 8px; } #area-hint { margin: 6px 0 0; }
/* passport: sirf digital download */
.digital { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; background: var(--stock); border-radius: 16px; padding: 22px 24px; margin: 4px 0 8px; }
.digital-t h2 { margin-bottom: .3em; } .digital-t p { margin-bottom: 14px; }
.digital-list { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.digital-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.digital-list li:last-child { border-bottom: 0; }
.digital-list span { display: flex; flex-direction: column; } .digital-list small { color: var(--muted); }
.digital-list em { font-style: normal; font: 700 1.05rem var(--head); white-space: nowrap; }
.or-print { margin: 30px 0 4px; }
@media (max-width: 760px) { .digital { grid-template-columns: 1fr; padding: 18px; gap: 16px; } }
/* passport: print ya digital */
.wants { margin-bottom: 6px; }
.digital-list { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); display: grid; }
.digital-list .dl { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line); cursor: pointer; font-weight: 400; }
.digital-list .dl:last-child { border-bottom: 0; }
.digital-list .dl input { width: auto; accent-color: var(--red); margin: 0 4px 0 0; }
.digital-list .dl span { display: flex; flex-direction: column; flex: 1; } .digital-list small { color: var(--muted); }
.digital-list .dl em { font-style: normal; font: 700 1.05rem var(--head); white-space: nowrap; }
.digital-list .dl:has(input:checked) { background: #fff8f7; box-shadow: inset 3px 0 0 var(--red); }
.dl-btn { min-height: 40px; padding: 8px 18px; margin-top: 6px; align-self: flex-start; }
/* legacy: lab ki asli photo */
.legacy-photo { position: relative; margin: 0; }
.legacy-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(36, 29, 27, .55); }
.legacy-photo figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--red); color: #fff; font: 700 1rem/1 var(--head); padding: 10px 14px; border-radius: 8px; letter-spacing: -.01em; }
.legacy-in { grid-template-columns: 1.05fr 1fr; }
@media (max-width: 860px) { .legacy-in { grid-template-columns: 1fr; } }

/* ===== Frames ===== */
.fx { display: inline-block; box-sizing: content-box; line-height: 0; vertical-align: middle; }
.fx.fx-on { box-shadow: 0 2px 3px rgba(0,0,0,.25), 0 14px 24px -10px rgba(0,0,0,.5); }
.fx-m { display: block; line-height: 0; }
.fx-m.fx-mount-on > * { box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.it-prev .fx { margin: 2px auto; }
.it-fr select { max-width: 100%; }
.fr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 20px; }
.fr-card { display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--ink); min-width: 0; }
.fr-pic { display: block; aspect-ratio: 928 / 1120; border-radius: 12px; overflow: hidden; background: var(--stock); margin-bottom: 8px; }
.fr-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.fr-card:hover .fr-pic img { transform: scale(1.03); }
.fr-swatch { display: block; margin: 18%; height: 64%; border: 14px solid; background: #fff; }
.fr-from { font-size: .95rem; }
.fr-ship { margin-top: 10px; }
.fr-one { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.fr-main { display: block; width: 100%; height: auto; border-radius: 14px; }
.fr-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.fr-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; width: 74px; background: none; cursor: pointer; }
.fr-thumbs button.on { border-color: var(--ink); }
.fr-thumbs img { display: block; width: 100%; aspect-ratio: 928 / 1120; object-fit: cover; }
.fr-opts h1 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: .2em; }
.fr-table { min-width: 0; margin: 10px 0 4px; }
.fr-desc { max-width: 760px; }
@media (max-width: 900px) { .fr-one { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 520px) { .fr-grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; } }
.rm-wpos { position: absolute; line-height: 0; }
.rm-wall .rm-onwall { position: relative; }
.rm-frame.framed, .rm-wall .fx-on .rm-onwall { box-shadow: none; }
.rm-frames { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
.rm-fr { position: relative; flex: 0 0 96px; display: flex; flex-direction: column; gap: 2px; cursor: pointer; scroll-snap-align: start; font-size: .82rem; line-height: 1.25; }
.rm-fr input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rm-fr-pic { display: block; width: 96px; aspect-ratio: 928 / 1120; border-radius: 8px; overflow: hidden; background: var(--stock); border: 2px solid transparent; }
.rm-fr-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rm-fr-none { background: repeating-linear-gradient(45deg, var(--stock), var(--stock) 6px, #fff 6px, #fff 12px); }
.rm-fr input:checked + .rm-fr-pic { border-color: var(--ink); }
.rm-fr input:focus-visible + .rm-fr-pic { outline: 2px solid var(--ink); outline-offset: 2px; }
.rm-fr small { font-size: .74rem; }
.rm-opts, .rm-view { min-width: 0; }
/* digital: photo hamesha + sheets add-on */
.digital-list .dl-fixed { cursor: default; background: #fff8f7; box-shadow: inset 3px 0 0 var(--red); }
.digital-list .dl .dl-tick { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; font-size: .75rem; margin: 0 4px 0 0; flex: none; }
.digital-list .dl em small { font: 400 .78rem var(--body, inherit); color: var(--muted); }
.dl-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.dl-file { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: .86rem; }
.dl-file::before { content: '↓'; margin-right: 6px; color: var(--red); }
.dl-file:hover { border-color: var(--ink); }
