/* rubberstamp.com.in */
:root {
  --ink: #1b2a6b;
  --ink-2: #2b3f9e;
  --red: #d2362b;
  --paper: #f6f2e9;
  --paper-2: #efe9dc;
  --card: #ffffff;
  --text: #1c1d22;
  --muted: #6b6f7b;
  --line: #e4dfd3;
  --focus: #ff7a00;
  --ok: #1b7f3b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(27, 42, 107, .06), 0 8px 24px rgba(27, 42, 107, .07);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Sora', 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--paper); line-height: 1.55; font-size: 16px; }
body.modal-open { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: var(--ink-2); text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0; color: var(--ink); }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; padding: 10px 18px; font-weight: 600; font-size: .95rem; line-height: 1.2; transition: transform .12s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 4px 14px rgba(27, 42, 107, .25); }
.btn-primary:hover { background: var(--ink-2); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-danger { background: #fff; border-color: #f0c9c5; color: var(--red); }
.btn-danger:hover { background: #fdf1f0; }
.btn-sm { padding: 7px 12px; font-size: .85rem; border-radius: 8px; }
.btn-lg { padding: 13px 22px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn.loading { opacity: .7; pointer-events: none; }
.btn.loading::after { content: ''; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { background: none; border: 0; padding: 0; color: var(--ink-2); font-weight: 600; font-size: .85rem; text-decoration: underline; text-underline-offset: 2px; }

/* hero */
.hero { padding: 48px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); background: #fbe5e2; padding: 5px 10px; border-radius: 999px; margin-bottom: 16px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--red); position: relative; }
.lead { font-size: 1.1rem; color: #3b3f4b; margin: 18px 0 26px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 24px 0 0; color: var(--muted); font-size: .92rem; }
.hero-points li::before { content: '✓'; color: var(--ok); font-weight: 700; margin-right: 6px; }
.hero-visual { display: flex; justify-content: center; }
.paper { position: relative; width: min(100%, 460px); aspect-ratio: 4 / 3.2; background: #fffdf8; border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(27, 42, 107, .3), 0 2px 6px rgba(0, 0, 0, .06); transform: rotate(2deg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.paper-lines { position: absolute; inset: 0; background: repeating-linear-gradient(transparent 0 31px, #e8eef8 31px 32px); opacity: .7; }
.paper::before { content: ''; position: absolute; left: 44px; top: 0; bottom: 0; width: 1px; background: #f2c2bd; }
.hero-stamp { position: relative; width: 78%; display: flex; justify-content: center; }
.hero-stamp.round { width: 52%; }
.hero-stamp svg { width: 100%; height: auto; mix-blend-mode: multiply; transform: rotate(-7deg); }
.hero-stamp.stamp-in svg { animation: press .55s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes press { 0% { transform: rotate(-7deg) scale(1.5); opacity: 0; } 60% { transform: rotate(-7deg) scale(.96); opacity: 1; } 100% { transform: rotate(-7deg) scale(1); } }
.hero-label { position: absolute; bottom: 14px; right: 18px; font-size: .8rem; font-weight: 600; color: var(--muted); background: #fff; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }

.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fbf8f2; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.trust-row div { display: flex; flex-direction: column; }
.trust-row b { font-family: var(--display); color: var(--ink); font-size: .98rem; }
.trust-row span { color: var(--muted); font-size: .85rem; }

/* section heads */
.sec-head { text-align: center; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; }
.sec-head p { color: var(--muted); margin: 8px 0 0; }

/* designer */
.designer { padding: 56px 0; scroll-margin-top: 64px; }
.stepper { list-style: none; display: flex; gap: 8px; padding: 6px; margin: 0 auto 28px; max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.stepper li { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 10px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; user-select: none; }
.stepper li .num { width: 24px; height: 24px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; background: var(--paper-2); color: var(--muted); }
.stepper li.done { color: var(--ink); }
.stepper li.done .num { background: var(--ok); color: #fff; font-size: 0; }
.stepper li.done .num::after { content: '✓'; font-size: .8rem; }
.stepper li.active { background: var(--ink); color: #fff; }
.stepper li.active .num { background: #fff; color: var(--ink); }
.stepper li.locked { cursor: not-allowed; opacity: .55; }

.step-panel { display: none; animation: fadeUp .3s ease; }
.step-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.sel-bar { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 18px; }
.sel-bar:empty { display: none; }
.sb-item { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .88rem; }
.sb-item small { color: var(--muted); text-transform: uppercase; font-size: .7rem; letter-spacing: .06em; font-weight: 700; }
.sb-item .link { margin-left: 4px; }

/* products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.product-card { background: var(--card); border: 2px solid transparent; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.product-card:hover { transform: translateY(-2px); }
.product-card.selected { border-color: var(--ink); }
.pc-img { position: relative; display: block; width: 100%; border: 0; padding: 0; background: linear-gradient(160deg, #f3efe6, #e9e3d4); aspect-ratio: 4 / 3; }
.pc-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pc-shape { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--ink); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 9px; border-radius: 999px; }
.pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pc-body h3 { font-size: 1.1rem; }
.pc-body p { margin: 0; color: var(--muted); font-size: .9rem; }
.pc-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 11px; font-size: .8rem; font-weight: 600; color: var(--text); transition: all .12s; }
.chip small { color: var(--muted); font-weight: 500; margin-left: 2px; }
.chip:hover { border-color: var(--ink-2); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.active small { color: #c9d1f3; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.pc-price { color: var(--muted); font-size: .9rem; }
.pc-price b { color: var(--text); font-size: 1.15rem; font-family: var(--display); }

/* design type */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.cat-card { background: #fff; border: 2px solid transparent; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; transition: transform .15s, border-color .15s; }
.cat-card:hover { transform: translateY(-2px); border-color: #c9d1f3; }
.cat-card.selected { border-color: var(--ink); }
.cat-ico { width: 56px; height: 56px; border-radius: 16px; background: #eef1fb; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.cat-ico svg { width: 30px; height: 30px; }
.cat-card b { font-family: var(--display); color: var(--ink); }
.cat-card small { color: var(--muted); font-size: .82rem; line-height: 1.35; }

/* templates */
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.tpl-card { background: #fff; border: 2px solid transparent; border-radius: var(--radius); box-shadow: var(--shadow); padding: 0; overflow: hidden; display: flex; flex-direction: column; text-align: left; transition: transform .15s, border-color .15s; }
.tpl-card:hover { transform: translateY(-2px); border-color: #c9d1f3; }
.tpl-card.selected { border-color: var(--ink); }
.tpl-prev { background: #fffdf8; background-image: radial-gradient(#e9e3d4 1px, transparent 1px); background-size: 14px 14px; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; padding: 18px; border-bottom: 1px solid var(--line); }
.tpl-svg { width: 100%; display: flex; justify-content: center; }
.tpl-svg.round { width: 72%; }
.tpl-svg svg { width: 100%; height: auto; max-height: 150px; }
.tpl-name { padding: 12px 14px 0; font-weight: 600; font-family: var(--display); color: var(--ink); }
.tpl-use { padding: 2px 14px 14px; font-size: .82rem; color: var(--muted); }
.tpl-card:hover .tpl-use { color: var(--ink-2); }
.empty { grid-column: 1 / -1; text-align: center; padding: 40px; background: #fff; border-radius: var(--radius); }

/* editor */
.editor { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: 24px; align-items: start; }
.ed-main { position: sticky; top: 120px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.ed-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.tb-group { display: flex; gap: 6px; }
.tb-btn { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 10px; font-size: .82rem; font-weight: 600; }
.tb-btn svg { width: 16px; height: 16px; }
.tb-btn:disabled { opacity: .4; cursor: not-allowed; }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .sw { width: 36px; height: 20px; border-radius: 10px; background: #d6d2c6; position: relative; transition: background .15s; }
.switch .sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.switch input:checked + .sw { background: var(--ink); }
.switch input:checked + .sw::after { transform: translateX(16px); }
.switch input:focus-visible + .sw { outline: 2px solid var(--focus); outline-offset: 2px; }

.stage-wrap { background: #fffdf8; background-image: radial-gradient(#e6dfcd 1px, transparent 1px); background-size: 16px 16px; border-radius: 10px; border: 1px solid var(--line); padding: 28px 18px; display: flex; align-items: center; justify-content: center; min-height: 280px; }
.stage { width: 100%; display: flex; justify-content: center; touch-action: none; user-select: none; -webkit-user-select: none; }
.stage.round { width: min(100%, 360px); }
.stage svg { width: 100%; height: auto; max-height: 420px; overflow: visible; filter: drop-shadow(0 0 0 transparent); }
.stage .el { cursor: move; }
.stage-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .82rem; margin: 10px 2px 12px; }

.add-bar { display: flex; gap: 8px; }
.add-bar .add-btn { flex: 1; }
.add-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border: 1px dashed #c4bca8; border-radius: 10px; background: #fbf9f4; font-size: .8rem; font-weight: 600; color: var(--ink); transition: all .12s; }
.add-btn:hover { border-color: var(--ink); background: #eef1fb; }
.add-btn b { font-family: 'Roboto Slab', serif; font-size: 1.15rem; line-height: 20px; }
.add-btn svg { width: 20px; height: 20px; }

.ed-side { display: flex; flex-direction: column; gap: 16px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.card-head h4 { font-size: 1rem; }
.card-head small { color: var(--muted); font-size: .78rem; }

.layers { display: flex; flex-direction: column; gap: 8px; max-height: 340px; overflow: auto; }
.ly-row { display: flex; align-items: center; gap: 8px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .12s, background .12s; }
.ly-row.active { border-color: var(--focus); background: #fff8f1; }
.ly-badge { width: 28px; height: 28px; flex: none; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; background: #eef1fb; color: var(--ink); }
.ly-icon { background: #fdf0e3; color: #b25b00; }
.ly-line, .ly-circle { background: #eef6f0; color: var(--ok); }
.ly-input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 6px 4px; font-size: .95rem; outline: none; }
.ly-name { flex: 1; display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; }
.ly-ico { width: 18px; height: 18px; color: var(--ink); }
.ly-del { flex: none; width: 28px; height: 28px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 1.2rem; line-height: 1; }
.ly-del:hover { background: #fdf1f0; color: var(--red); }

.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.fld > span { font-size: .8rem; font-weight: 600; color: #444956; display: flex; justify-content: space-between; }
.fld output { color: var(--muted); font-weight: 500; }
.fld select, .input { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: .92rem; }
.fld select:focus, .input:focus { border-color: var(--ink-2); outline: none; box-shadow: 0 0 0 3px rgba(43, 63, 158, .12); }
input[type="range"] { width: 100%; accent-color: var(--ink); height: 22px; }
.seg { display: flex; gap: 4px; background: var(--paper-2); padding: 3px; border-radius: 9px; }
.seg button { flex: 1; border: 0; background: transparent; border-radius: 7px; padding: 7px 6px; font-size: .8rem; font-weight: 600; color: #444956; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.icon-pick { display: flex; align-items: center; gap: 10px; }
.ip-ico { width: 28px; height: 28px; color: var(--ink); }
.icon-pick .btn { margin-left: auto; }
.nudge { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.nudge button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 0; font-size: 1rem; font-weight: 700; color: var(--ink); }
.nudge button:hover { border-color: var(--ink-2); }
.prop-actions { display: flex; gap: 8px; }
.prop-actions .btn { flex: 1; }

.swatches { display: flex; gap: 10px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; background: var(--c); box-shadow: 0 0 0 1px var(--line); transition: transform .12s; }
.swatch:hover { transform: scale(1.08); }
.swatch.active { box-shadow: 0 0 0 2px var(--c); }

.order-card { border: 2px solid var(--ink); }
.oc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty button { width: 38px; height: 40px; border: 0; background: #fbf9f4; font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.qty input { width: 52px; height: 40px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price { text-align: right; display: flex; flex-direction: column; }
.price small { color: var(--muted); font-size: .8rem; }
.price b { font-family: var(--display); font-size: 1.5rem; color: var(--ink); }
.oc-note { font-size: .78rem; color: var(--muted); margin: 0 0 12px; }

/* how + faq */
.how { padding: 56px 0; background: #fff; border-top: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.how-item { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.how-item span { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center; background: var(--red); color: #fff; font-weight: 800; margin-bottom: 12px; }
.how-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.how-item p { margin: 0; color: var(--muted); font-size: .9rem; }
.faq { padding: 56px 0; }
.faq details { background: #fff; border-radius: 12px; border: 1px solid var(--line); padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq details p { margin: 10px 0 0; color: #444956; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 24, 45, .55); }
.modal-box { position: relative; width: min(100%, 620px); max-height: 86vh; display: flex; flex-direction: column; gap: 12px; background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); animation: fadeUp .2s ease; }
.modal-head { display: flex; align-items: center; justify-content: space-between; }
.modal-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--paper-2); font-size: 1.4rem; line-height: 1; }
.chips-row { display: flex; gap: 6px; flex-wrap: wrap; }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; overflow: auto; padding: 2px; }
.icon-cell { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: .75rem; color: #444956; }
.icon-cell svg { width: 30px; height: 30px; color: var(--ink); }
.icon-cell:hover { border-color: var(--ink); background: #eef1fb; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: #1c1d22; color: #fff; padding: 11px 18px; border-radius: 10px; font-weight: 600; font-size: .9rem; opacity: 0; pointer-events: none; transition: all .25s; z-index: 200; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { background: var(--ok); }
.toast.err { background: var(--red); }

.font-preload { position: absolute; left: -9999px; top: 0; opacity: 0; pointer-events: none; }

/* =====================================================
   STORE
   ===================================================== */
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 999; }
.skip:focus { left: 8px; }
.center { text-align: center; }
.chips-row.center { justify-content: center; margin-bottom: 18px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 4px 14px rgba(210, 54, 43, .25); }
.btn-red:hover { background: #b82b21; }
.grow { flex: 1; }
.link.danger, .err-text { color: var(--red); }
.err-text { display: block; font-size: .8rem; font-weight: 500; }
.ok-text { color: var(--ok); font-weight: 600; }
.hide-sm {}
.show-mobile { display: none; }
.hp { position: absolute; left: -9999px; }

/* topbar + header */
.topbar { background: var(--ink); color: #dfe4fb; font-size: .8rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; }
.tb-links { display: flex; gap: 16px; white-space: nowrap; }
.tb-msg { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 20px; height: 64px; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 8px; color: var(--ink); }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); flex: none; }
.logo-mark { width: 32px; height: 32px; color: var(--red); display: inline-flex; }
.logo-mark svg { width: 100%; height: 100%; transform: rotate(-12deg); }
.logo-text { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; color: var(--ink); }
.logo-text b { color: var(--red); font-weight: 800; }
.search { flex: 1; max-width: 520px; display: flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fbf9f4; }
.search:focus-within { border-color: var(--ink-2); background: #fff; }
.search input { flex: 1; border: 0; background: transparent; padding: 10px 16px; font-size: .92rem; outline: none; min-width: 0; }
.search button { border: 0; background: none; padding: 0 14px; color: var(--ink); }
.search svg { width: 20px; height: 20px; }
.hdr-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.hdr-icon { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: .9rem; }
.hdr-icon svg { width: 24px; height: 24px; }
.cart-btn { position: relative; display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: #fff; }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; transition: transform .2s; }
.cart-count.bump { transform: scale(1.35); }
.mainnav { border-top: 1px solid #f0ece2; }
.mainnav-in { display: flex; gap: 4px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.mainnav-in::-webkit-scrollbar { display: none; }
.mainnav a, .nav-dd > button { padding: 11px 12px; font-size: .9rem; font-weight: 500; color: var(--text); white-space: nowrap; border: 0; background: none; }
.mainnav a:hover, .nav-dd > button:hover { color: var(--ink-2); }
.mainnav .nav-hl { color: var(--red); font-weight: 700; }
.nav-dd { position: relative; }
.dd-menu { display: none; position: absolute; right: 0; top: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; min-width: 240px; z-index: 60; }
.nav-dd:hover .dd-menu, .nav-dd.open .dd-menu { display: flex; flex-direction: column; }
.dd-menu a { padding: 8px 10px; border-radius: 8px; }
.dd-menu a:hover { background: var(--paper); }
.dd-h { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 10px 4px; }
/* the nav scroller would clip the dropdown */
@media (min-width: 981px) { .mainnav-in { overflow: visible; } }

.drawer { position: fixed; inset: 0; z-index: 120; }
.drawer-bg { position: absolute; inset: 0; background: rgba(20, 24, 45, .5); }
.drawer-panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(86vw, 330px); background: #fff; padding: 14px 16px 30px; overflow-y: auto; display: flex; flex-direction: column; animation: slideIn .2s ease; }
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: none; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.drawer-head button { border: 0; background: var(--paper-2); width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; }
.drawer-panel a { padding: 10px 4px; border-bottom: 1px solid #f2efe7; color: var(--text); }
.drawer-panel .nav-hl { color: var(--red); font-weight: 700; }
.drawer-panel .dd-h { padding: 16px 0 4px; }

/* hero + home */
.hero { padding: 48px 0 40px; }
.eyebrow.light { background: rgba(255, 255, 255, .14); color: #ffd7d2; }
.value-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vs-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.vs-row div { display: flex; flex-direction: column; padding-left: 14px; border-left: 3px solid var(--red); }
.vs-row b { font-family: var(--display); color: var(--ink); font-size: .95rem; }
.vs-row span { color: var(--muted); font-size: .84rem; }
.section { padding: 52px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-sm { padding: 36px 0 10px; }
.sec-head.row { display: flex; justify-content: space-between; align-items: end; text-align: left; gap: 12px; }
.link-more { font-weight: 600; font-size: .92rem; }
.h2 { font-size: 1.4rem; margin-bottom: 16px; }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 14px; }
.cat-tile { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 12px 16px; text-align: center; display: flex; flex-direction: column; gap: 4px; color: var(--text); transition: transform .15s; }
.cat-tile:hover { transform: translateY(-3px); }
.ct-img { background: linear-gradient(160deg, #f3efe6, #e9e3d4); border-radius: 10px; aspect-ratio: 4/3; display: flex; margin-bottom: 6px; }
.ct-img img { width: 100%; object-fit: contain; }
.cat-tile b { font-family: var(--display); color: var(--ink); font-size: .95rem; line-height: 1.25; }
.cat-tile small { color: var(--red); font-weight: 600; }
.maker-band { background: var(--ink); color: #dfe4fb; }
.maker-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 10px 0 14px; }
.mb-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.mb-steps { padding-left: 20px; margin: 0 0 22px; line-height: 2; }
.dt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dt-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 14px 12px; display: flex; flex-direction: column; gap: 4px; color: #fff; transition: background .15s; }
.dt-card:hover { background: rgba(255, 255, 255, .14); }
.dt-ico { width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.dt-ico svg { width: 22px; height: 22px; }
.dt-card b { font-family: var(--display); font-size: .92rem; }
.dt-card small { color: #b8c2ee; font-size: .76rem; line-height: 1.35; }
.use-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.use-chips a { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 600; color: var(--ink); font-size: .9rem; }
.use-chips a:hover { border-color: var(--ink); }
.upload-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 32px; border: 2px dashed #d9d1bf; }
.upload-band h2 { font-size: 1.6rem; margin-bottom: 8px; }
.upload-band p { color: #444956; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li::before { content: '✓'; color: var(--ok); font-weight: 800; margin-right: 8px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-grid div { background: var(--paper); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); }
.why-grid h3 { font-size: 1.02rem; margin-bottom: 6px; }
.why-grid p { margin: 0; color: var(--muted); font-size: .9rem; }
.faq { padding: 0; }
.narrow { max-width: 820px; }
.narrow-md { max-width: 900px; }

/* product cards */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.p-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.p-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(27, 42, 107, .06), 0 16px 32px rgba(27, 42, 107, .1); }
.p-media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; background: linear-gradient(160deg, #f3efe6, #e9e3d4); overflow: hidden; }
.p-media > img:not(.p-thumb) { width: 100%; height: 100%; object-fit: contain; }
.p-media.has-imp { background: #fffdf8; background-image: radial-gradient(#ebe4d3 1px, transparent 1px); background-size: 14px 14px; }
.p-imp { width: 82%; display: flex; justify-content: center; }
.p-imp.round { width: 58%; }
.p-imp svg { width: 100%; height: auto; transform: rotate(-4deg); mix-blend-mode: multiply; }
.p-thumb { position: absolute; right: 8px; bottom: 6px; width: 64px; height: 48px; object-fit: contain; background: rgba(255, 255, 255, .85); border-radius: 8px; padding: 2px; }
.p-off { position: absolute; left: 10px; top: 10px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.p-tag { position: absolute; right: 10px; top: 10px; background: var(--ink); color: #fff; font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; }
.p-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-name { font-weight: 600; color: var(--text); line-height: 1.35; font-size: .95rem; }
.p-name:hover { color: var(--ink-2); }
.p-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.p-price b { font-family: var(--display); font-size: 1.15rem; color: var(--ink); }
.p-price s { color: var(--muted); font-size: .85rem; }
.p-price small { color: var(--muted); font-size: .75rem; }
.p-cta { width: 100%; }

/* page basics */
.page { padding-top: 24px; padding-bottom: 56px; }
.page-title { font-size: clamp(1.5rem, 3vw, 2rem); margin: 6px 0 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.crumbs b { color: var(--text); font-weight: 500; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 14px; font-size: .92rem; }
.alert-success { background: #e8f6ee; color: #145c2c; border: 1px solid #bfe4cc; }
.alert-error { background: #fdecea; color: #8f2219; border: 1px solid #f5c6c0; }
.alert-info { background: #eef1fb; color: var(--ink); border: 1px solid #cdd5f3; }
.card h2 { font-size: 1.15rem; margin-bottom: 14px; }
.card + .card { margin-top: 16px; }
.prose { line-height: 1.7; }
.prose h2 { font-size: 1.2rem; margin: 22px 0 8px; }
.prose h3 { font-size: 1.05rem; margin: 18px 0 6px; }
.prose ul, .prose ol { padding-left: 22px; }
.empty-box { text-align: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 48px 20px; }
.empty-box h1, .empty-box h2 { margin-bottom: 8px; }
.empty-box .btn { margin: 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid3 { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 0 14px; }
textarea.input { resize: vertical; }
.check { display: flex; gap: 8px; align-items: center; font-size: .92rem; cursor: pointer; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: #eceef4; color: #444956; white-space: nowrap; }
.badge-pending, .badge-verify { background: #fff4dc; color: #8a5a00; }
.badge-confirmed, .badge-design_review { background: #e6ecff; color: #2338a0; }
.badge-in_production { background: #efe6fb; color: #5b2a86; }
.badge-shipped { background: #e0f2fe; color: #075985; }
.badge-delivered, .badge-paid { background: #e8f6ee; color: #145c2c; }
.badge-cancelled, .badge-failed, .badge-refunded { background: #fdecea; color: #8f2219; }
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th, .tbl td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.tbl th { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pager { display: flex; gap: 6px; justify-content: center; margin: 28px 0 10px; flex-wrap: wrap; }
.pager a, .pager .cur { padding: 8px 13px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.pager .cur { background: var(--ink); color: #fff; border-color: var(--ink); }

/* shop */
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.shop-head h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.shop-head p { margin: 6px 0 0; max-width: 60ch; }
.sort label { display: flex; align-items: center; gap: 8px; font-size: .85rem; }
.sort select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.shop-layout { display: grid; grid-template-columns: 230px 1fr; gap: 26px; align-items: start; }
.filters { position: sticky; top: 130px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 14px; }
.filters details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.filters details:last-child { border: 0; }
.filters summary { font-weight: 700; color: var(--ink); cursor: pointer; margin-bottom: 6px; }
.filters a { display: block; padding: 5px 2px; color: var(--text); font-size: .9rem; }
.filters a small { color: var(--muted); }
.filters a.on { color: var(--red); font-weight: 700; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.active-filters a { background: var(--ink); color: #fff; border-radius: 999px; padding: 5px 12px; font-size: .82rem; font-weight: 600; }
.seo-copy { margin-top: 36px; background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.seo-copy h2 { font-size: 1.1rem; margin-bottom: 8px; }
.seo-copy p { margin: 0; color: #444956; font-size: .92rem; }

/* product page */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: start; }
.pd-gallery { position: sticky; top: 130px; }
.pd-main { position: relative; background: #fffdf8; background-image: radial-gradient(#ebe4d3 1px, transparent 1px); background-size: 16px 16px; border-radius: 18px; box-shadow: var(--shadow); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pd-main > img { width: 100%; height: 100%; object-fit: contain; }
.pd-imp { width: 80%; }
.pd-imp.round { width: 58%; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-th { width: 76px; height: 60px; border: 2px solid var(--line); border-radius: 10px; background: #fff; padding: 2px; font-size: .7rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.pd-th img { width: 100%; height: 100%; object-fit: contain; }
.pd-th.on { border-color: var(--ink); }
.pd-cat { font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.pd-info h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 6px 0 8px; }
.pd-short { color: #444956; margin: 0 0 14px; }
.pd-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.pd-price b { font-family: var(--display); font-size: 2rem; color: var(--ink); }
.pd-price s { color: var(--muted); }
.pd-price small { color: var(--muted); font-size: .82rem; }
.pd-form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.size-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.size-opt input { position: absolute; opacity: 0; }
.size-opt span { display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 12px; cursor: pointer; font-weight: 600; font-size: .88rem; }
.size-opt small { color: var(--muted); font-weight: 500; font-size: .78rem; }
.size-opt input:checked + span { border-color: var(--ink); background: #eef1fb; }
.size-opt input:focus-visible + span { outline: 2px solid var(--focus); }
.swatch-r input { position: absolute; opacity: 0; }
.swatch-r span { display: block; width: 32px; height: 32px; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.swatch-r input:checked + span { box-shadow: 0 0 0 2px var(--c); }
.swatch-r input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.fld b#inkName { color: var(--ink); }
.pd-modes { display: flex; gap: 4px; background: var(--paper-2); border-radius: 10px; padding: 4px; margin: 6px 0 14px; }
.pd-modes button { flex: 1; border: 0; background: none; padding: 10px; border-radius: 8px; font-weight: 600; font-size: .9rem; color: #444956; }
.pd-modes button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.pd-buy { display: flex; gap: 10px; align-items: center; }
.pd-trust { list-style: none; padding: 0; margin: 16px 0 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: .86rem; color: #444956; }
.pd-trust li::before { content: '✓'; color: var(--ok); font-weight: 800; margin-right: 6px; }
.wa-line { font-weight: 600; font-size: .9rem; }
.pd-details { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; margin-top: 40px; align-items: start; }
.pd-desc { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.pd-desc h2 { font-size: 1.25rem; margin: 0 0 10px; }
.spec { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: .9rem; }
.spec th, .spec td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.spec th { width: 38%; background: #fbf9f4; color: #444956; font-weight: 600; }

/* maker extras */
.maker .designer { padding-top: 32px; }
.designer h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.product-card .pc-body h3 { font-size: 1rem; }
.added-box { margin-top: 12px; background: #e8f6ee; border: 1px solid #bfe4cc; border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 10px; color: #145c2c; }
.added-box div { display: flex; gap: 8px; flex-wrap: wrap; }

/* cart */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.ci { display: grid; grid-template-columns: 140px 1fr auto; gap: 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; align-items: center; }
.ci-prev { background: #fffdf8; border: 1px solid var(--line); border-radius: 10px; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 8px; }
.ci-prev img { width: 100%; height: 100%; object-fit: contain; }
.ci-stamp { width: 100%; display: flex; justify-content: center; }
.ci-stamp.round { width: 76%; }
.ci-stamp svg { width: 100%; height: auto; }
.ci-file { font-weight: 800; color: var(--red); text-align: center; font-size: .85rem; }
.ci-name { font-weight: 700; color: var(--ink); }
.ci-meta { color: var(--muted); font-size: .85rem; margin: 2px 0 6px; }
.ci-note { font-size: .82rem; background: var(--paper); border-radius: 8px; padding: 6px 10px; margin-bottom: 8px; max-height: 80px; overflow: auto; }
.ci-actions { display: flex; align-items: center; gap: 16px; }
.ci-qty .qty button, .ci-qty .qty input { height: 34px; }
.ci-price { text-align: right; display: flex; flex-direction: column; }
.ci-price b { font-family: var(--display); font-size: 1.1rem; color: var(--ink); }
.ci-price small { color: var(--muted); font-size: .78rem; }
.summary { position: sticky; top: 130px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.summary h2 { font-size: 1.15rem; margin-bottom: 14px; }
.coupon { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.coupon .input { padding: 8px 10px; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 14px 0; font-size: .95rem; }
.totals dd { margin: 0; text-align: right; }
.totals .grand { font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--ink); border-top: 1px solid var(--line); padding-top: 10px; }
.summary .btn-block { margin: 6px 0 12px; }
.sum-items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: .9rem; }
.sum-items li { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.sum-items small { display: block; color: var(--muted); }
.ci-stamp.sm { width: 70px; flex: none; }
.ci-stamp.sm.round { width: 44px; }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 10px; cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--ink); background: #f5f7fe; }
.pay-opt input { margin-top: 4px; accent-color: var(--ink); }
.pay-opt span { display: flex; flex-direction: column; }
.pay-opt small { color: var(--muted); }
.gst-box { margin: 4px 0 12px; }
.gst-box summary { cursor: pointer; font-weight: 600; color: var(--ink-2); font-size: .9rem; margin-bottom: 10px; }

/* order */
.success-head { text-align: center; margin: 10px 0 24px; }
.success-ico { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 2rem; align-items: center; justify-content: center; margin-bottom: 10px; }
.upi-card { border: 2px solid var(--ink); }
.upi-grid { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.upi-qr { text-align: center; }
.upi-qr #upiQr { display: inline-block; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.upi-qr #upiQr svg { display: block; width: 200px; height: 200px; }
.copy { cursor: pointer; border-bottom: 1px dashed; }
.utr-form { margin-top: 14px; }
.next-steps { padding-left: 20px; line-height: 1.9; margin: 0; }
.timeline { list-style: none; display: flex; padding: 0; margin: 0 0 20px; gap: 4px; }
.timeline li { flex: 1; text-align: center; font-size: .74rem; color: var(--muted); position: relative; padding-top: 22px; }
.timeline li span { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--paper-2); border: 2px solid #d6d0c2; z-index: 1; }
.timeline li::before { content: ''; position: absolute; top: 10px; left: -50%; width: 100%; height: 3px; background: #e2dccf; }
.timeline li:first-child::before { display: none; }
.timeline li.done { color: var(--ink); font-weight: 600; }
.timeline li.done span { background: var(--ok); border-color: var(--ok); }
.timeline li.done::before { background: var(--ok); }
.timeline li.cur span { box-shadow: 0 0 0 4px rgba(27, 127, 59, .2); }
.track-box { background: #e0f2fe; border-radius: 10px; padding: 10px 14px; }
.ov-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.ov-grid h3 { font-size: .95rem; margin-bottom: 8px; }

/* account / auth / contact */
.auth { max-width: 460px; }
.auth h1 { font-size: 1.5rem; margin-bottom: 16px; }
.auth-links { text-align: center; font-size: .9rem; margin-top: 14px; }
.acc-head { display: flex; justify-content: space-between; align-items: center; }
.acc-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
.acc-grid > div > .card + .card { margin-top: 16px; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.contact-info p { margin: 0 0 12px; }
.map { width: 100%; height: 220px; border: 0; border-radius: 12px; margin-top: 14px; }

/* newsletter + footer */
.newsletter { background: var(--paper-2); border-top: 1px solid var(--line); padding: 30px 0; }
.nl-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.nl-in h2 { font-size: 1.3rem; }
.nl-in p { margin: 4px 0 0; color: var(--muted); }
.nl-form { display: flex; gap: 8px; flex: 1 1 280px; max-width: 460px; }
.nl-form .btn { flex: none; }
.nl-form input { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.site-footer { background: var(--ink); color: #c9d1f3; padding: 44px 0 20px; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid h3 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.foot-grid > div:not(.foot-about) { display: flex; flex-direction: column; gap: 7px; }
.site-footer a { color: #dfe4fb; }
.site-footer a:hover { color: #fff; }
.site-footer .logo-text { color: #fff; }
.foot-about p { margin: 10px 0; color: #b8c2ee; }
.foot-about address { font-style: normal; color: #b8c2ee; line-height: 1.6; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 30px; padding-top: 16px; font-size: .8rem; color: #9aa5d6; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); z-index: 90; }
.wa-float svg { width: 30px; height: 30px; }
body.maker .wa-float { bottom: 84px; }

/* ===================== responsive ===================== */
@media (max-width: 1100px) {
  .dt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .editor { grid-template-columns: 1fr; }
  .ed-main { position: sticky; top: 64px; z-index: 20; padding: 10px; box-shadow: 0 8px 24px rgba(27, 42, 107, .12); }
  .stage-wrap { min-height: 0; padding: 16px 10px; }
  .stage svg { max-height: 24vh; }
  .stage.round { width: min(100%, 220px); }
  .mainnav { display: none; }
  .menu-btn { display: inline-flex; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: flex; gap: 8px; overflow-x: auto; padding: 8px; }
  .filters details { border: 0; padding: 0; min-width: 190px; }
  .filters details:not([open]) { min-width: auto; }
  .pd, .pd-details, .cart-layout, .checkout-layout, .acc-grid, .contact-grid, .mb-grid, .upload-band { grid-template-columns: 1fr; }
  .pd-gallery, .summary { position: static; }
  .why-grid, .vs-row { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero { padding: 24px 0 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { order: -1; }
  .paper { width: min(100%, 340px); }
  .search { display: none; }
  .hide-sm { display: none; }
  .show-mobile { display: inline-flex; }
  .tb-msg { display: none; }
  .topbar-in { justify-content: center; }
  .upi-grid { grid-template-columns: 1fr; }
  .ov-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hdr { gap: 8px; height: 58px; }
  .logo-text { font-size: 1rem; }
  .logo-mark { width: 26px; height: 26px; }
  .stepper { border-radius: 14px; }
  .stepper li { flex-direction: column; gap: 4px; padding: 8px 4px; font-size: .72rem; border-radius: 10px; text-align: center; }
  .designer { padding: 28px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-card { padding: 16px 10px; }
  .tpl-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tpl-prev { padding: 10px; }
  .tpl-name { font-size: .85rem; padding: 10px 10px 0; }
  .tpl-use { padding: 0 10px 10px; font-size: .75rem; }
  .ed-toolbar { margin-bottom: 8px; }
  .tb-btn span { display: none; }
  .stage-meta { margin: 6px 2px 8px; }
  .stage-meta .muted { display: none; }
  .add-btn { padding: 7px 4px; font-size: .72rem; }
  .ed-main { top: 58px; }
  .p-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .p-body { padding: 10px; }
  .p-name { font-size: .85rem; }
  .p-price b { font-size: 1rem; }
  .p-tag { display: none; }
  .p-thumb { width: 44px; height: 34px; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dt-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 36px 0; }
  .upload-band { padding: 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .vs-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .ci { grid-template-columns: 92px 1fr; }
  .ci-price { grid-column: 2; text-align: left; flex-direction: row; gap: 8px; align-items: baseline; }
  .pd-trust { grid-template-columns: 1fr; }
  .timeline li { font-size: .62rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .sec-head.row { flex-direction: column; align-items: flex-start; }
}
@media print {
  .topbar, .site-header, .newsletter, .site-footer, .wa-float { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
