/* Print Wala — storefront theme
   Brand colours come from admin settings via --primary / --accent on :root. */

:root {
  --primary: #0f766e;
  --accent: #db2777;
  --primary-dark: color-mix(in srgb, var(--primary) 72%, #000);
  --primary-soft: color-mix(in srgb, var(--primary) 10%, #fff);
  --primary-softer: color-mix(in srgb, var(--primary) 5%, #fff);
  --accent-soft: color-mix(in srgb, var(--accent) 10%, #fff);
  --gold: #e9b949;
  --ink: #0b1f1c;
  --ink-2: #183530;
  --body: #3a4a47;
  --muted: #687a76;
  --line: #e1e8e6;
  --line-2: #ecf1ef;
  --soft: #f3f7f6;
  --cream: #fbf8f3;
  --white: #fff;
  --success: #059669;
  --success-soft: #ecfdf5;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --warning: #d97706;
  --warning-soft: #fffbeb;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 28, .06);
  --shadow: 0 14px 34px -14px rgba(11, 31, 28, .22);
  --shadow-lg: 0 32px 64px -24px rgba(11, 31, 28, .32);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
  --container: 1320px;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 16px; font-weight: 700; }
p { margin: 0 0 1em; }
.display { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.xsmall { font-size: 12px; }
.strong { font-weight: 700; color: var(--ink); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-primary { color: var(--primary); }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 16px; align-items: center; }
.row-between { display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mt-0 { margin-top: 0 } .mt-1 { margin-top: 8px } .mt-2 { margin-top: 16px } .mt-3 { margin-top: 24px } .mt-4 { margin-top: 40px }
.mb-0 { margin-bottom: 0 } .mb-1 { margin-bottom: 8px } .mb-2 { margin-bottom: 16px } .mb-3 { margin-bottom: 24px }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 14.5px; cursor: pointer; transition: .18s ease; white-space: nowrap; background: var(--ink); color: #fff; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 85%, #000); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--soft); box-shadow: none; }
.btn-light { background: #fff; color: var(--ink); }
.btn-soft { background: var(--primary-soft); color: var(--primary); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn-icon { width: 42px; height: 42px; padding: 0; border-radius: 50%; }
.link { color: var(--primary); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ---------- Badges / pills ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--soft); color: var(--ink); line-height: 1.4; }
.badge-primary { background: var(--primary-soft); color: var(--primary); }
.badge-accent { background: var(--accent); color: #fff; }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-dark { background: var(--ink); color: #fff; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }

/* ---------- Forms ---------- */
.field { display: block; margin-bottom: 18px; }
.field > label, .label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.input, .select, .textarea { width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; background: #fff; transition: .15s; outline: none; }
.textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--danger); }
.error { color: var(--danger); font-size: 12.5px; margin-top: 5px; display: block; }
.hint { color: var(--muted); font-size: 12.5px; margin-top: 5px; display: block; }
.checkbox { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--primary); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }

/* ---------- Alerts / toasts ---------- */
.alert { padding: 14px 16px; border-radius: 12px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; }
.alert-success { background: var(--success-soft); color: #065f46; }
.alert-danger { background: var(--danger-soft); color: #991b1b; }
.alert-info { background: var(--primary-soft); color: var(--primary-dark); }
.alert-warning { background: var(--warning-soft); color: #92400e; }
.toast-wrap { position: fixed; top: 20px; right: 20px; z-index: 1000; display: grid; gap: 10px; }
.toast { background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 600; display: flex; gap: 10px; align-items: center; max-width: 380px; animation: toastIn .35s ease; }
.toast.toast-error { background: var(--danger); }
.toast svg { width: 18px; height: 18px; flex: none; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------- Announcement + header ---------- */
.announce { background: var(--ink); color: #e2e8f0; font-size: 13px; font-weight: 600; text-align: center; padding: 9px 16px; }
.announce strong { color: #fff; }
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line-2); }
.header-main { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--ink); letter-spacing: -.03em; flex: none; }
.brand img { max-height: 44px; width: auto; }
.brand-mark { position: relative; width: 36px; height: 36px; flex: none; }
.brand-mark i { position: absolute; inset: 0 8px 8px 0; border-radius: 9px; background: var(--primary); }
.brand-mark b { position: absolute; right: 0; bottom: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px #fff; }
.brand span em { font-style: normal; color: var(--primary); }
.search { flex: 1; max-width: 560px; position: relative; }
.search input { width: 100%; height: 48px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--soft); padding: 0 52px 0 20px; outline: none; transition: .15s; }
.search input:focus { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.search button { position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; display: grid; place-items: center; cursor: pointer; }
.search button svg { width: 18px; height: 18px; }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hdr-link { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--ink); position: relative; transition: .15s; }
.hdr-link:hover { background: var(--soft); }
.hdr-link svg { width: 22px; height: 22px; }
.hdr-link .count { position: absolute; top: 0; left: 20px; min-width: 19px; height: 19px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; box-shadow: 0 0 0 2px #fff; }
.hdr-link small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); line-height: 1.1; }
.hdr-link .lbl { line-height: 1.15; }
.menu-toggle { display: none; }

.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 60; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a, .dropdown-menu button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink); background: none; border: 0; cursor: pointer; text-align: left; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--soft); }
.dropdown-menu svg { width: 18px; height: 18px; color: var(--muted); }
.dropdown-menu hr { border: 0; border-top: 1px solid var(--line-2); margin: 6px 0; }

/* Category nav + mega menu */
.catnav { border-top: 1px solid var(--line-2); }
.catnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.catnav ul::-webkit-scrollbar { display: none; }
.catnav > .container > ul > li { position: static; }
.catnav-link { display: block; padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; border-bottom: 2.5px solid transparent; transition: .15s; }
.catnav li:hover > .catnav-link, .catnav-link.active { color: var(--primary); border-bottom-color: var(--primary); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line-2); box-shadow: 0 30px 40px -24px rgba(15, 23, 42, .25); opacity: 0; visibility: hidden; transition: .18s; transition-delay: .08s; }
.catnav li:hover > .mega { opacity: 1; visibility: visible; }
.mega-inner { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 28px 24px 34px; }
.mega-intro { background: var(--soft); border-radius: 18px; padding: 22px; }
.mega-intro img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.mega-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-content: start; }
.mega-products a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; font-weight: 600; font-size: 14px; color: var(--ink); transition: .15s; }
.mega-products a:hover { background: var(--soft); color: var(--primary); }
.mega-products img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }
.mega-products small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .5); z-index: 90; opacity: 0; visibility: hidden; transition: .2s; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(86vw, 360px); background: #fff; z-index: 100; transform: translateX(-100%); transition: .25s ease; overflow-y: auto; padding: 20px; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer a { display: flex; align-items: center; gap: 12px; padding: 12px 8px; border-bottom: 1px solid var(--line-2); font-weight: 600; color: var(--ink); }
.drawer a img { width: 40px; height: 40px; border-radius: 10px; }

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.crumbs a:hover { color: var(--primary); }
.crumbs span.sep { opacity: .5; }

/* ---------- Hero slider ---------- */
.hero { padding: 24px 0 8px; }
.slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.slides { display: flex; transition: transform .6s cubic-bezier(.65, 0, .35, 1); }
.slide { flex: 0 0 100%; min-height: 440px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; padding: 56px 64px; position: relative; overflow: hidden; color: #fff; }
.slide::before { content: ''; position: absolute; width: 620px; height: 620px; border-radius: 50%; right: -120px; top: -160px; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 65%); }
.slide::after { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; left: -120px; bottom: -200px; background: radial-gradient(circle, rgba(255, 255, 255, .1), transparent 65%); }
.slide-copy { position: relative; z-index: 2; max-width: 560px; }
.slide .eyebrow { color: inherit; opacity: .85; background: rgba(255, 255, 255, .14); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.slide h1 { color: inherit; font-family: var(--display); font-weight: 600; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.05; margin-bottom: 18px; letter-spacing: -.02em; }
.slide p { font-size: 17px; opacity: .85; margin-bottom: 28px; max-width: 460px; }
.slide-art { position: relative; z-index: 2; display: flex; justify-content: center; }
.slide-art img { width: min(420px, 100%); border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); transform: rotate(-3deg); }
.slider-dots { position: absolute; left: 64px; bottom: 28px; display: flex; gap: 8px; z-index: 5; }
.slider-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; transition: .3s; padding: 0; }
.slider-dots button.active { width: 32px; background: #fff; }
.slider-nav { position: absolute; right: 28px; bottom: 24px; display: flex; gap: 8px; z-index: 5; }
.slider-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.slider-nav button:hover { background: rgba(255, 255, 255, .25); }
.slider-nav svg { width: 20px; height: 20px; }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 24px 0 8px; }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 18px; background: var(--soft); }
.trust-item .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); flex: none; }
.trust-item .ic svg { width: 22px; height: 22px; }
.trust-item strong { display: block; color: var(--ink); font-size: 14.5px; }
.trust-item span { font-size: 12.5px; color: var(--muted); }

/* Section heading */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 6px 0 0; color: var(--muted); }

/* ---------- Horizontal carousel (Vistaprint-like rails) ---------- */
.rail { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 20px) / 6); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 14px; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }
.rail.cats .rail-track { grid-auto-columns: calc((100% - 7 * 20px) / 8); }
.rail-btn { position: absolute; top: 38%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; z-index: 3; transition: .15s; }
.rail-btn:hover { transform: translateY(-50%) scale(1.06); }
.rail-btn svg { width: 20px; height: 20px; }
.rail-btn.prev { left: -20px; }
.rail-btn.next { right: -20px; }
.rail-btn[hidden] { display: none; }

.cat-card { display: block; text-align: left; }
.cat-card .thumb { aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: var(--soft); transition: .25s; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover .thumb { box-shadow: var(--shadow); border-color: transparent; }
.cat-card:hover .thumb img { transform: scale(1.06); }
.cat-card h3 { font-size: 15.5px; margin: 14px 0 2px; font-weight: 700; }
.cat-card span { font-size: 12.5px; color: var(--muted); }

/* Product card */
.p-card { display: flex; flex-direction: column; background: #fff; border-radius: 20px; transition: .25s; position: relative; }
.p-card .thumb { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: var(--soft); }
.p-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.p-card:hover .thumb { box-shadow: var(--shadow); border-color: transparent; }
.p-card:hover .thumb img { transform: scale(1.05); }
.p-card .deal { position: absolute; top: 12px; left: 12px; background: var(--primary-soft); color: var(--primary); border: 1px solid color-mix(in srgb, var(--primary) 25%, #fff); font-size: 12px; font-weight: 800; padding: 4px 11px; border-radius: 999px; letter-spacing: .01em; backdrop-filter: blur(4px); }
.p-card .tag { position: absolute; top: 46px; left: 12px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.p-card .body { padding: 14px 4px 4px; }
.p-card h3 { font-size: 15.5px; font-weight: 700; margin: 0 0 4px; }
.p-card .price { font-size: 13.5px; color: var(--muted); }
.p-card .price b { color: var(--ink); font-size: 15px; }
.p-card .price s { color: #94a3b8; margin-left: 4px; }
.p-card .quick { position: absolute; left: 12px; right: 12px; bottom: 12px; opacity: 0; transform: translateY(8px); transition: .25s; }
.p-card:hover .quick { opacity: 1; transform: none; }
.p-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }

/* Promo tiles */
.promos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.promo { display: grid; grid-template-columns: 1fr 180px; align-items: center; gap: 16px; border-radius: 24px; padding: 30px 34px; overflow: hidden; position: relative; min-height: 200px; }
.promo h3 { font-family: var(--display); font-weight: 600; font-size: 28px; margin-bottom: 6px; color: inherit; }
.promo p { opacity: .75; margin-bottom: 16px; }
.promo img { border-radius: 18px; transform: rotate(4deg); box-shadow: var(--shadow); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line-2); position: relative; }
.step::before { counter-increment: step; content: '0' counter(step); position: absolute; right: 22px; top: 18px; font-family: var(--display); font-size: 40px; font-weight: 600; color: var(--line); }
.step .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 18px; }
.step .ic svg { width: 24px; height: 24px; }
.step h4 { margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* Dark band */
.band { background: radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--primary) 55%, transparent), transparent 45%), radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 40%), var(--ink); color: #cbd5e1; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.band h2 { color: #fff; font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.4vw, 42px); }
.band .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.band .stat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 22px; }
.band .stat b { display: block; font-size: 30px; color: #fff; font-weight: 800; letter-spacing: -.02em; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quote { background: var(--soft); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.quote p { color: var(--ink-2); font-size: 14.5px; margin: 0; flex: 1; }
.stars { display: flex; gap: 2px; color: #f59e0b; }
.stars svg { width: 16px; height: 16px; }
.quote .who { display: flex; gap: 12px; align-items: center; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--primary); flex: none; }
.quote .who b { display: block; color: var(--ink); font-size: 14px; }
.quote .who span { font-size: 12.5px; color: var(--muted); }

/* CTA / enquiry */
.cta { border-radius: 28px; background: linear-gradient(120deg, var(--primary-soft), var(--accent-soft)); padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* ---------- Footer ---------- */
.footer { background: #0b1120; color: #94a3b8; margin-top: 80px; padding-top: 64px; font-size: 14px; }
.footer .brand { color: #fff; }
.footer .brand-mark b { box-shadow: 0 0 0 3px #0b1120; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.footer h5 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #cbd5e1; }
.socials a:hover { background: var(--primary); color: #fff; }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.pay-icons { display: flex; gap: 8px; }
.pay-icons span { background: rgba(255, 255, 255, .08); border-radius: 6px; padding: 3px 9px; font-size: 11.5px; font-weight: 700; color: #cbd5e1; }
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); z-index: 40; transition: .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Listing page ---------- */
.page-hero { border-radius: 26px; padding: 32px 44px; display: grid; grid-template-columns: 1fr 190px; gap: 30px; align-items: center; margin-top: 18px; overflow: hidden; }
.page-hero img { border-radius: 20px; box-shadow: var(--shadow); }
.page-hero h1 { margin-bottom: 8px; }
.listing { display: grid; grid-template-columns: 250px 1fr; gap: 36px; margin-top: 32px; }
.filters { position: sticky; top: calc(var(--header-h) + 60px); align-self: start; }
.filters h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.filters a { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.filters a:hover { background: var(--soft); }
.filters a.active { background: var(--primary-soft); color: var(--primary); }
.filters a span { color: var(--muted); font-weight: 500; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.toolbar .select { width: auto; height: 42px; }
.empty { text-align: center; padding: 70px 20px; border: 2px dashed var(--line); border-radius: 24px; }
.empty .ic { width: 72px; height: 72px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin: 0 auto 18px; }
.empty .ic svg { width: 32px; height: 32px; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; margin-top: 24px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 64px); }
.gallery-main { aspect-ratio: 1; border-radius: 26px; overflow: hidden; background: var(--soft); border: 1px solid var(--line-2); position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; overflow-x: auto; }
.gallery-thumbs button { width: 78px; height: 78px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--soft); flex: none; }
.gallery-thumbs button.active { border-color: var(--primary); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.rating-line { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.pdp-lead { font-size: 16px; color: var(--body); }
.config { border: 1px solid var(--line); border-radius: 22px; padding: 24px; margin-top: 22px; background: #fff; }
.opt { margin-bottom: 22px; }
.opt-label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.opt-label span { color: var(--muted); font-weight: 500; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; flex-direction: column; align-items: center; padding: 10px 16px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: .15s; background: #fff; color: var(--ink); line-height: 1.3; }
.pill span small { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.pill:hover span { border-color: #94a3b8; }
.pill input:checked + span { border-color: var(--primary); background: var(--primary-softer); box-shadow: 0 0 0 3px var(--primary-soft); color: var(--primary); }
.pill input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch input { position: absolute; opacity: 0; }
.swatch { position: relative; }
.swatch span { display: block; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; border: 1px solid rgba(15, 23, 42, .15); box-shadow: inset 0 0 0 3px #fff; transition: .15s; }
.swatch input:checked + span { box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--primary); }
.qty-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.qty-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 14px; transition: .15s; margin-bottom: 8px; background: #fff; }
.qty-row:hover { border-color: #94a3b8; }
.qty-row.active { border-color: var(--primary); background: var(--primary-softer); box-shadow: 0 0 0 3px var(--primary-soft); }
.qty-row b { color: var(--ink); }
.qty-row .save { color: var(--success); font-weight: 700; font-size: 12.5px; }
.qty-custom { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.qty-custom .input { width: 140px; height: 42px; }
.price-box { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: 16px; background: var(--soft); margin: 18px 0; }
.price-box .total { font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.price-box s { color: #94a3b8; font-size: 15px; margin-left: 6px; }
.price-box .unit { font-size: 13px; color: var(--muted); margin-top: 6px; }
.price-box .off { background: var(--success-soft); color: var(--success); font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.price-box.loading .total { opacity: .4; }
.design-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice { border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 14px; text-align: center; cursor: pointer; transition: .18s; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--ink); }
.choice:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.choice .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.choice .ic svg { width: 22px; height: 22px; }
.choice small { font-weight: 500; color: var(--muted); font-size: 12px; line-height: 1.35; }
.choice.is-active { border-color: var(--primary); background: var(--primary-softer); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.perks div { display: flex; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.perks svg { width: 18px; height: 18px; color: var(--success); flex: none; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.tabs button { background: none; border: 0; padding: 14px 18px; font-weight: 700; color: var(--muted); border-bottom: 2.5px solid transparent; cursor: pointer; white-space: nowrap; }
.tabs button.active { color: var(--ink); border-bottom-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.prose { color: var(--body); max-width: 780px; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.4em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* Upload dropzone */
.dropzone { display: block; border: 2px dashed color-mix(in srgb, var(--primary) 40%, #fff); background: var(--primary-softer); border-radius: 18px; padding: 26px; text-align: center; cursor: pointer; transition: .15s; position: relative; }
.dropzone:hover, .dropzone.drag { background: var(--primary-soft); border-color: var(--primary); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .ic { width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.dropzone .ic svg { width: 24px; height: 24px; }
.upload-preview { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; margin-top: 12px; background: #fff; }
.upload-preview .pv { width: 84px; height: 84px; border-radius: 10px; background: var(--soft) center/contain no-repeat; flex: none; display: grid; place-items: center; color: var(--muted); font-weight: 800; font-size: 13px; border: 1px solid var(--line-2); }
.progress { height: 6px; background: var(--line-2); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.progress i { display: block; height: 100%; width: 0; background: var(--primary); transition: width .2s; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px); }
.modal-box { position: relative; background: #fff; border-radius: 24px; width: min(1000px, 100%); max-height: calc(100vh - 40px); overflow: auto; box-shadow: var(--shadow-lg); animation: toastIn .25s ease; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 26px; border-bottom: 1px solid var(--line-2); position: sticky; top: 0; background: #fff; z-index: 2; }
.modal-head h3 { margin: 0; }
.modal-body { padding: 24px 26px; }
.modal-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--soft); cursor: pointer; display: grid; place-items: center; }
.modal-close svg { width: 18px; height: 18px; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.tpl-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; cursor: pointer; transition: .2s; background: #fff; text-align: left; padding: 0; }
.tpl-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
.tpl-card .tpl-thumb { background: var(--soft) repeating-conic-gradient(#f1f5f9 0 25%, #fff 0 50%) 0 0/16px 16px; display: grid; place-items: center; padding: 14px; aspect-ratio: 4/3; }
.tpl-card .tpl-thumb img, .tpl-card .tpl-thumb canvas { max-width: 100%; max-height: 100%; box-shadow: var(--shadow); border-radius: 4px; }
.tpl-card .tpl-meta { padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tpl-card .tpl-meta b { color: var(--ink); font-size: 14px; }

/* ---------- Cart & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: start; margin-top: 24px; }
.cart-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; margin-bottom: 16px; background: #fff; }
.cart-item .thumb { width: 120px; height: 120px; border-radius: 14px; background: var(--soft) center/contain no-repeat; border: 1px solid var(--line-2); overflow: hidden; }
.cart-item .thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-item h3 { font-size: 16.5px; margin-bottom: 6px; }
.opt-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.opt-list span { font-size: 12px; background: var(--soft); color: var(--ink-2); padding: 3px 9px; border-radius: 999px; font-weight: 600; }
.cart-item .actions { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; font-weight: 700; align-items: center; }
.cart-item .actions a, .cart-item .actions button { color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; font-weight: 700; display: inline-flex; gap: 5px; align-items: center; }
.cart-item .actions a:hover, .cart-item .actions button:hover { color: var(--primary); }
.cart-item .actions svg { width: 15px; height: 15px; }
.cart-item .line-total { text-align: right; }
.cart-item .line-total b { display: block; font-size: 18px; color: var(--ink); }
.qty-input { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; height: 38px; }
.qty-input input { width: 74px; border: 0; text-align: center; font-weight: 700; outline: none; height: 100%; }
.summary { border: 1px solid var(--line); border-radius: 22px; padding: 24px; position: sticky; top: calc(var(--header-h) + 64px); background: #fff; }
.summary h3 { margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14.5px; }
.sum-row.total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 16px; font-size: 19px; font-weight: 800; color: var(--ink); }
.coupon-form { display: flex; gap: 8px; margin: 14px 0; }
.coupon-form .input { height: 44px; text-transform: uppercase; }
.applied { display: flex; justify-content: space-between; align-items: center; background: var(--success-soft); color: var(--success); padding: 10px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 700; margin: 12px 0; }
.ship-meter { background: var(--soft); border-radius: 14px; padding: 12px 14px; font-size: 13px; margin-bottom: 14px; }
.ship-meter .progress i { background: var(--success); }
.checkout-steps { display: flex; gap: 10px; align-items: center; margin: 22px 0 6px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.checkout-steps .on { color: var(--primary); }
.checkout-steps i { width: 30px; height: 2px; background: var(--line); }
.box { border: 1px solid var(--line); border-radius: 22px; padding: 26px; background: #fff; margin-bottom: 20px; }
.box h3 { display: flex; align-items: center; gap: 10px; }
.box h3 .num { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 14px; display: grid; place-items: center; }
.pay-option { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; margin-bottom: 10px; transition: .15s; }
.pay-option:has(input:checked) { border-color: var(--primary); background: var(--primary-softer); }
.pay-option input { margin-top: 4px; accent-color: var(--primary); width: 18px; height: 18px; }
.pay-option b { display: block; color: var(--ink); }
.pay-option span { font-size: 13px; color: var(--muted); }
.addr-card { display: block; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; cursor: pointer; font-size: 14px; }
.addr-card:has(input:checked) { border-color: var(--primary); background: var(--primary-softer); }
.mini-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; }
.mini-item img { width: 54px; height: 54px; border-radius: 10px; object-fit: contain; background: var(--soft); flex: none; border: 1px solid var(--line-2); }

/* Success */
.success-hero { text-align: center; padding: 56px 20px 30px; }
.success-hero .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; margin: 0 auto 20px; animation: pop .5s ease; }
.success-hero .tick svg { width: 40px; height: 40px; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0 } 70% { transform: scale(1.1) } 100% { transform: scale(1); opacity: 1 } }

/* ---------- Auth ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 160px); }
.auth-art { background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--accent) 50%, transparent), transparent 40%), linear-gradient(150deg, var(--primary), var(--primary-dark)); color: #e0e7ff; padding: 64px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-art h2 { color: #fff; font-family: var(--display); font-weight: 600; font-size: 40px; }
.auth-art .art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; max-width: 420px; }
.auth-art .art-grid img { border-radius: 14px; box-shadow: 0 20px 30px -12px rgba(0, 0, 0, .4); }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 30px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; margin: 20px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------- Account ---------- */
.account { display: grid; grid-template-columns: 260px 1fr; gap: 36px; margin-top: 28px; align-items: start; }
.acc-nav { border: 1px solid var(--line); border-radius: 22px; padding: 12px; position: sticky; top: calc(var(--header-h) + 64px); }
.acc-user { display: flex; gap: 12px; align-items: center; padding: 12px 12px 18px; border-bottom: 1px solid var(--line-2); margin-bottom: 8px; }
.acc-user b { display: block; color: var(--ink); }
.acc-user span { font-size: 12.5px; color: var(--muted); word-break: break-all; }
.acc-nav a, .acc-nav button { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--ink-2); width: 100%; background: none; border: 0; cursor: pointer; }
.acc-nav a:hover, .acc-nav button:hover { background: var(--soft); }
.acc-nav a.active { background: var(--primary-soft); color: var(--primary); }
.acc-nav svg { width: 19px; height: 19px; }
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.stat-card b { display: block; font-size: 26px; color: var(--ink); }
.stat-card span { font-size: 13px; color: var(--muted); }
.table-wrap { border: 1px solid var(--line); border-radius: 18px; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 14px 16px; background: var(--soft); font-weight: 700; white-space: nowrap; }
.table td { padding: 14px 16px; border-top: 1px solid var(--line-2); vertical-align: middle; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pending { background: #fef3c7; color: #b45309; }
.status-confirmed, .status-design_review { background: #e0e7ff; color: #4338ca; }
.status-printing, .status-ready { background: #f3e8ff; color: #7e22ce; }
.status-shipped { background: #cffafe; color: #0e7490; }
.status-delivered, .status-paid { background: #dcfce7; color: #15803d; }
.status-cancelled, .status-failed { background: #fee2e2; color: #b91c1c; }
.status-refunded { background: #f1f5f9; color: #475569; }
.timeline { display: flex; justify-content: space-between; position: relative; margin: 26px 0 10px; }
.timeline::before { content: ''; position: absolute; top: 15px; left: 8%; right: 8%; height: 3px; background: var(--line); }
.timeline .tl { position: relative; z-index: 1; text-align: center; flex: 1; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.timeline .dot { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 3px solid var(--line); margin: 0 auto 8px; display: grid; place-items: center; }
.timeline .tl.done { color: var(--ink); }
.timeline .tl.done .dot { background: var(--success); border-color: var(--success); color: #fff; }
.timeline .dot svg { width: 15px; height: 15px; }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.pagination .active span { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .disabled span { opacity: .4; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .rail-track { grid-auto-columns: calc((100% - 4 * 20px) / 5); }
  .rail.cats .rail-track { grid-auto-columns: calc((100% - 5 * 20px) / 6); }
  .mega-products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .header-main { gap: 16px; }
  .hdr-link .lbl { display: none; }
  .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail-track { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; }
  .rail.cats .rail-track { grid-auto-columns: calc((100% - 4 * 16px) / 5); }
  .trust, .steps, .quotes { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .band, .cta { grid-template-columns: 1fr; padding: 40px; }
  .listing { grid-template-columns: 1fr; }
  .filters { position: static; display: flex; gap: 8px; overflow-x: auto; }
  .filters h4 { display: none; }
  .filters a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; }
  .filters a span { display: none; }
  .account { grid-template-columns: 1fr; }
  .acc-nav { position: static; display: flex; overflow-x: auto; gap: 4px; }
  .acc-user { display: none; }
  .acc-nav a, .acc-nav button { white-space: nowrap; width: auto; }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  body { font-size: 14.5px; }
  .container { padding: 0 16px; }
  .section { padding: 44px 0; }
  .menu-toggle { display: grid; }
  .catnav { display: none; }
  .header-main { gap: 10px; flex-wrap: wrap; height: auto; padding: 10px 0; }
  .brand { font-size: 19px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search input { height: 44px; }
  .search button { width: 34px; height: 34px; }
  .hdr-link { padding: 8px; }
  .hdr-link.hide-sm { display: none; }
  .slide { grid-template-columns: 1fr; padding: 36px 26px 80px; min-height: 0; }
  .slide-art { display: none; }
  .slider-dots { left: 26px; }
  .slider-nav { right: 18px; bottom: 18px; }
  .rail-track { grid-auto-columns: 46%; gap: 14px; }
  .rail.cats .rail-track { grid-auto-columns: 34%; }
  .rail-btn { display: none; }
  .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .trust { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust-item { padding: 14px; gap: 10px; flex-direction: column; align-items: flex-start; }
  .promos { grid-template-columns: 1fr; }
  .promo { grid-template-columns: 1fr 110px; padding: 24px; }
  .steps, .quotes { grid-template-columns: 1fr; }
  .band, .cta { padding: 28px; border-radius: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { grid-template-columns: 1fr; padding: 28px; }
  .page-hero img { display: none; }
  .design-choices { grid-template-columns: 1fr; }
  .choice { flex-direction: row; text-align: left; }
  .perks { grid-template-columns: 1fr; }
  .qty-row { grid-template-columns: 1fr 1fr auto; }
  .qty-row .per { display: none; }
  .cart-item { grid-template-columns: 80px 1fr; padding: 16px; gap: 14px; }
  .cart-item .thumb { width: 80px; height: 80px; }
  .cart-item .line-total { grid-column: 1 / -1; text-align: left; display: flex; justify-content: space-between; align-items: center; }
  .form-grid { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .stat-cards { grid-template-columns: 1fr; }
  .timeline .tl { font-size: 10.5px; }
  .modal-body { padding: 18px; }
  .p-card .quick { display: none; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}
.footer .contact-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.footer .contact-list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: color-mix(in srgb, var(--primary) 55%, #fff); }

/* ---------- Maths captcha ---------- */
.captcha { border: 1.5px solid color-mix(in srgb, var(--primary) 22%, #fff); background: linear-gradient(135deg, var(--primary-softer), #fff 60%, var(--accent-soft)); border-radius: 18px; padding: 16px 18px; margin-bottom: 18px; position: relative; overflow: hidden; }
.captcha::after { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--primary) 12%, transparent), transparent 70%); pointer-events: none; }
.captcha.has-error { border-color: var(--danger); }
.captcha-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.captcha-head b { display: block; color: var(--ink); font-size: 14px; }
.captcha-head small { color: var(--muted); font-size: 12px; }
.captcha-badge { width: 36px; height: 36px; border-radius: 11px; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px -8px var(--primary); flex: none; }
.captcha-badge svg { width: 19px; height: 19px; }
.captcha-body { display: flex; align-items: center; gap: 10px; }
.captcha-q { display: flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border-radius: 12px; padding: 0 16px; height: 50px; font-weight: 800; font-size: 22px; letter-spacing: .02em; box-shadow: inset 0 -3px 0 rgba(255, 255, 255, .08); user-select: none; font-variant-numeric: tabular-nums; }
.captcha-q i { font-style: normal; color: color-mix(in srgb, var(--accent) 80%, #fff); font-size: 20px; }
.captcha-input { width: 92px; height: 50px; border-radius: 12px; border: 2px dashed color-mix(in srgb, var(--primary) 45%, #fff); background: #fff; text-align: center; font-size: 22px; font-weight: 800; color: var(--primary); outline: none; transition: .15s; -moz-appearance: textfield; }
.captcha-input::-webkit-outer-spin-button, .captcha-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.captcha-input:focus { border-style: solid; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.captcha-input::placeholder { color: color-mix(in srgb, var(--primary) 40%, #fff); }
.captcha-refresh { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--muted); transition: .3s; margin-left: auto; }
.captcha-refresh:hover { color: var(--primary); border-color: var(--primary); transform: rotate(180deg); }
.captcha-refresh svg { width: 18px; height: 18px; }

/* ---------- OTP boxes ---------- */
.otp-boxes { display: flex; gap: 10px; justify-content: space-between; margin: 8px 0 6px; }
.otp-boxes input { width: 100%; max-width: 58px; aspect-ratio: 1 / 1.1; border: 2px solid var(--line); border-radius: 14px; text-align: center; font-size: 26px; font-weight: 800; color: var(--ink); outline: none; transition: .15s; background: #fff; }
.otp-boxes input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.otp-boxes input.filled { border-color: color-mix(in srgb, var(--primary) 50%, #fff); background: var(--primary-softer); }
.otp-email { display: inline-flex; gap: 8px; align-items: center; background: var(--soft); padding: 6px 12px; border-radius: 999px; font-weight: 700; color: var(--ink); font-size: 13.5px; }
.otp-email svg { width: 16px; height: 16px; color: var(--primary); }
.otp-dev { background: #fffbeb; border: 1px dashed #f59e0b; color: #92400e; border-radius: 12px; padding: 10px 14px; font-size: 13px; margin-bottom: 16px; }

/* ---------- Artwork upload (product page) ---------- */
.upload-panel { border: 1px solid var(--line); border-radius: 20px; padding: 18px; background: linear-gradient(180deg, var(--primary-softer), #fff 45%); animation: toastIn .25s ease; }
.upload-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.upload-head-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 10px 20px -10px var(--primary); }
.upload-head-ic svg { width: 20px; height: 20px; }
.upload-head b { display: block; color: var(--ink); font-size: 15px; }
.upload-head span { font-size: 12.5px; color: var(--muted); }
.upload-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.upload-grid.two { grid-template-columns: 1fr 1fr; }
.upzone { display: block; position: relative; min-height: 150px; border: 2px dashed color-mix(in srgb, var(--primary) 35%, #fff); border-radius: 18px; background: #fff; cursor: pointer; transition: .18s; overflow: hidden; }
.upzone:hover, .upzone.drag { border-color: var(--primary); background: var(--primary-softer); box-shadow: 0 0 0 4px var(--primary-soft); }
.upzone.drag { transform: scale(1.01); }
.upzone input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 1; }
.upzone-empty { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 18px; text-align: center; }
.upzone-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 6px; transition: .2s; }
.upzone:hover .upzone-ic { background: var(--primary); color: #fff; transform: translateY(-2px); }
.upzone-ic svg { width: 22px; height: 22px; }
.upzone-empty b { color: var(--ink); font-size: 15px; }
.upzone-empty small { color: var(--muted); font-size: 12.5px; }
.upzone-empty u { color: var(--primary); font-weight: 700; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.upzone-tag { font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); background: var(--soft); padding: 2px 8px; border-radius: 99px; margin-top: 2px; }
.upzone.has-file { border-style: solid; border-color: color-mix(in srgb, var(--success) 55%, #fff); background: #fff; }
.upzone-file { display: flex; align-items: center; gap: 12px; padding: 14px; min-height: 150px; }
.upzone-file[hidden], .upzone-empty[hidden] { display: none; }
.upzone-thumb { width: 92px; height: 92px; flex: none; border-radius: 12px; border: 1px solid var(--line-2); background: var(--soft) center/contain no-repeat; display: grid; place-items: center; font-weight: 800; color: var(--primary); font-size: 15px; }
.upzone-meta { flex: 1; min-width: 0; }
.upzone-meta b { display: block; color: var(--ink); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upzone-meta small { color: var(--success); font-size: 12px; font-weight: 600; }
.upzone-remove { position: absolute; top: 8px; right: 8px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.upzone-remove:hover { color: var(--danger); border-color: var(--danger); }
.upzone-remove svg { width: 15px; height: 15px; }
.upload-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.upload-specs span { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--line-2); padding: 5px 10px; border-radius: 999px; }
.upload-specs svg { width: 14px; height: 14px; color: var(--primary); }
@media (max-width: 768px) { .upload-grid.two { grid-template-columns: 1fr; } }

/* Shipment card */
.ship-card h3 { display: flex; gap: 10px; align-items: center; }
.ship-card h3 svg { color: var(--primary); }
.ship-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ship-field { background: var(--soft); border-radius: 14px; padding: 12px 16px; }
.ship-field span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.ship-field b { color: var(--ink); font-size: 16px; display: flex; align-items: center; gap: 8px; word-break: break-all; }
.awb { font-family: ui-monospace, Menlo, monospace; letter-spacing: .03em; }
.copy-btn { border: 1px solid var(--line); background: #fff; border-radius: 8px; width: 30px; height: 30px; display: inline-grid; place-items: center; cursor: pointer; color: var(--muted); flex: none; }
.copy-btn:hover { color: var(--primary); border-color: var(--primary); }
.copy-btn svg { width: 15px; height: 15px; }
@media (max-width: 600px) { .ship-grid { grid-template-columns: 1fr; } }

/* ---------- Product gallery: hover zoom + lightbox ---------- */
.gallery { position: sticky; z-index: 20; }
.gallery-main { cursor: zoom-in; outline: none; }
.gallery-main img { user-select: none; }
.gallery-main video { width: 100%; height: 100%; object-fit: contain; background: #0b1120; display: block; }
.gallery-main video[hidden], .gallery-main img[hidden] { display: none; }
.gallery-main.is-video { cursor: default; }
.g-label { position: absolute; left: 16px; top: 16px; background: rgba(15, 23, 42, .78); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; backdrop-filter: blur(4px); pointer-events: none; }
.g-nav, .g-expand { position: absolute; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: .2s; z-index: 2; color: var(--ink); }
.g-nav svg, .g-expand svg { width: 20px; height: 20px; }
.g-nav { top: 50%; transform: translateY(-50%); }
.g-nav.prev { left: 14px; }
.g-nav.next { right: 14px; }
.g-expand { right: 14px; top: 14px; }
.gallery-main:hover .g-nav, .gallery-main:hover .g-expand, .gallery-main:focus-visible .g-nav { opacity: 1; }
.zoom-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(255, 255, 255, .9); color: var(--ink-2); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; display: flex; gap: 6px; align-items: center; pointer-events: none; transition: .2s; white-space: nowrap; box-shadow: var(--shadow-sm); }
.zoom-hint svg { width: 14px; height: 14px; }
.gallery-main:hover .zoom-hint, .gallery-main.is-video .zoom-hint { opacity: 0; }
.zoom-lens { position: absolute; border: 2px solid #fff; background: rgba(15, 118, 110, .12); box-shadow: 0 0 0 1px rgba(15, 23, 42, .15), 0 8px 20px rgba(15, 23, 42, .15); border-radius: 10px; pointer-events: none; z-index: 1; }
.zoom-pane { position: absolute; left: calc(100% + 28px); top: 0; width: 100%; aspect-ratio: 1; border-radius: 22px; background: #fff no-repeat; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); z-index: 30; pointer-events: none; animation: toastIn .15s ease; }
.gallery-thumbs { padding-bottom: 4px; scrollbar-width: thin; }
.gallery-thumbs button { width: 84px; height: auto; display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0; padding: 0; overflow: visible; }
.gallery-thumbs .t-img { position: relative; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; border: 2px solid var(--line-2); background: var(--soft); transition: .15s; display: block; }
.gallery-thumbs button:hover .t-img { border-color: #94a3b8; }
.gallery-thumbs button.active .t-img { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.gallery-thumbs small { font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; max-width: 84px; overflow: hidden; text-overflow: ellipsis; }
.gallery-thumbs button.active small { color: var(--primary); }
.t-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15, 23, 42, .35); font-style: normal; }
.t-play::before { content: ''; width: 0; height: 0; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.t-play svg { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(8, 11, 22, .96); display: grid; grid-template-rows: auto 1fr auto auto; color: #fff; animation: toastIn .2s ease; }
.lightbox[hidden] { display: none; }
.lb-top { display: flex; align-items: center; gap: 16px; padding: 14px 20px; font-size: 14px; }
.lb-top b { flex: 1; text-align: center; font-size: 15px; }
.lb-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; transition: .15s; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-stage { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 0; padding: 0 70px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; cursor: zoom-in; transition: transform .15s ease-out; user-select: none; }
.lb-stage.zoomed img { cursor: zoom-out; transition: transform .05s linear; }
.lb-stage video { max-width: 100%; max-height: 100%; border-radius: 12px; }
.lb-stage video[hidden], .lb-stage img[hidden] { display: none; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-thumbs { display: flex; gap: 10px; justify-content: center; padding: 14px; overflow-x: auto; }
.lb-thumbs button { position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #1e293b; cursor: pointer; opacity: .6; flex: none; }
.lb-thumbs button.active { border-color: #fff; opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb-hint { text-align: center; font-size: 12px; color: #94a3b8; margin: 0 0 12px; }
@media (max-width: 1024px) { .zoom-pane, .zoom-lens { display: none !important; } }
@media (max-width: 768px) { .g-nav { opacity: 1; width: 36px; height: 36px; } .zoom-hint { display: none; } .lb-stage { padding: 0 8px; } .lb-prev, .lb-next { display: none; } .gallery-thumbs button, .gallery-thumbs .t-img { width: 68px; } .gallery-thumbs .t-img { height: 68px; } }

/* Ready-made designs: front/back flip cards */
.showcase { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.flip { position: relative; background: var(--soft) radial-gradient(circle at 30% 20%, #fff, transparent 70%); border: 1px solid var(--line-2); border-radius: 22px; padding: 22px 22px 14px; perspective: 1200px; transition: .25s; }
.flip:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.flip-inner { position: relative; width: 100%; max-height: 260px; margin: 0 auto; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3, .7, .2, 1); cursor: pointer; }
.flip.has-back:hover .flip-inner, .flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-items: center; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 18px 30px -16px rgba(15, 23, 42, .45), 0 0 0 1px rgba(15, 23, 42, .06); }
.flip-face img { width: 100%; height: 100%; object-fit: contain; }
.flip-face.back { transform: rotateY(180deg); }
.flip-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; }
.flip-meta b { display: block; color: var(--ink); font-size: 14.5px; }
.flip-meta span { font-size: 12px; color: var(--muted); }
.flip-badge { position: absolute; top: 10px; right: 12px; font-size: 10.5px; font-weight: 700; color: var(--primary); background: #fff; padding: 3px 9px; border-radius: 999px; box-shadow: var(--shadow-sm); transition: .2s; }
.flip:hover .flip-badge { opacity: 0; }
@media (hover: none) { .flip-badge::after { content: ' (tap)'; } }

/* Checkout: guest OTP note, saved-address chips, admin preview strip */
.otp-note { display: flex; gap: 10px; align-items: flex-start; background: var(--primary-softer); border: 1px solid color-mix(in srgb, var(--primary) 18%, #fff); color: var(--ink-2); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; }
.otp-note svg { color: var(--primary); flex: none; margin-top: 2px; }
.saved-addr { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip-btn { display: inline-flex; gap: 6px; align-items: center; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink); }
.chip-btn:hover, .chip-btn.active { border-color: var(--primary); color: var(--primary); background: var(--primary-softer); }
.admin-strip { background: #fef3c7; color: #92400e; font-size: 13px; font-weight: 600; text-align: center; padding: 8px 16px; display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; border-bottom: 1px solid #fde68a; }
.admin-strip a, .admin-strip button { color: #92400e; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.admin-note { display: flex; gap: 10px; align-items: flex-start; background: #fef3c7; color: #92400e; border-radius: 14px; padding: 12px 14px; font-size: 13.5px; font-weight: 600; margin-top: 12px; }

/* Homepage: two full rows of products */
.p-grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px 18px; }
.p-grid-6 .p-card h3 { font-size: 14.5px; }
@media (max-width: 1200px) { .p-grid-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 768px) { .p-grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } }

/* Back-to-top button */
.to-top { position: fixed; right: 22px; bottom: 90px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); z-index: 39; opacity: 0; transform: translateY(10px); transition: .25s; }
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { background: var(--primary); }
.to-top svg { width: 22px; height: 22px; transform: rotate(180deg); }
.to-top[hidden] { display: grid; pointer-events: none; }
@media (max-width: 768px) { .to-top { right: 14px; bottom: 76px; width: 44px; height: 44px; } }

/* Mobile: product grids become a 2-row, swipeable rail (4 cards on screen, swipe for the rest) */
@media (max-width: 768px) {
  .p-grid-6 { display: grid; grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: 44%; gap: 16px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 6px; scroll-padding: 0 16px; }
  .p-grid-6::-webkit-scrollbar { display: none; }
  .p-grid-6 > * { scroll-snap-align: start; }
  .p-grid-6 .p-card .body { padding-top: 8px; }
  .p-grid-6 .p-card h3 { font-size: 13.5px; }
  .p-grid-6 .p-card .price { font-size: 12.5px; }
  .p-grid-6 .p-card .deal { font-size: 10.5px; padding: 3px 8px; top: 8px; left: 8px; }
  .p-grid-6 .p-card .tag { font-size: 9.5px; top: 34px; left: 8px; }
  .swipe-hint { display: flex; }
}
.swipe-hint { display: none; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.swipe-hint svg { width: 14px; height: 14px; }

/* Checkout: sign in / create account choice */
.signin-hint { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: var(--soft); border-radius: 14px; padding: 12px 16px; font-size: 13.5px; margin-bottom: 18px; color: var(--ink-2); }
.signin-hint svg { color: var(--primary); }
.acct-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acct-choice { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; cursor: pointer; transition: .15s; position: relative; }
.acct-choice input { position: absolute; opacity: 0; }
.acct-choice .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--soft); color: var(--muted); display: grid; place-items: center; flex: none; transition: .15s; }
.acct-choice .ic svg { width: 20px; height: 20px; }
.acct-choice b { display: block; color: var(--ink); }
.acct-choice small { color: var(--muted); font-size: 12.5px; }
.acct-choice:has(input:checked) { border-color: var(--primary); background: var(--primary-softer); box-shadow: 0 0 0 3px var(--primary-soft); }
.acct-choice:has(input:checked) .ic { background: var(--primary); color: #fff; }
.acct-choice:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (max-width: 600px) { .acct-choices { grid-template-columns: 1fr; } }
.buy-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; }
@media (max-width: 420px) { .buy-row { grid-template-columns: 1fr; } }

/* Small centred popup (e.g. "You don't have an account") */
.popup-box { width: min(420px, 100%); padding: 30px 28px 22px; text-align: center; }
.popup-box h3 { margin: 6px 0 8px; }
.popup-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin: 0 auto 6px; }
.popup-ic svg { width: 28px; height: 28px; }

/* =====================================================================
   Print Wala skin — overrides the base theme above with the Print Wala look
   ===================================================================== */
body { background: var(--white); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; }
h1, h2 { font-weight: 700; }
h4, h5 { font-family: var(--font); }
.display { font-family: var(--display); font-weight: 700; }
::selection { background: color-mix(in srgb, var(--primary) 22%, #fff); }

/* Buttons: softer squares instead of pills */
.btn { border-radius: 12px; font-weight: 700; letter-spacing: .005em; }
.btn-primary { background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 88%, #fff), var(--primary)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 18px -10px var(--primary); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-glass { background: rgba(255, 255, 255, .1); color: inherit; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); }
.btn-icon { border-radius: 12px; }
.badge, .status { border-radius: 8px; }
.input, .select, .textarea { border-radius: 10px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .16em; color: var(--accent); }
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.icon { stroke-width: 1.7; }

/* Top bar */
.topbar { background: var(--ink); color: #c9d8d4; font-size: 12.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-msg { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; min-width: 0; }
.topbar-msg span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-msg svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.topbar-links { display: flex; gap: 20px; flex: none; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #c9d8d4; }
.topbar-links a:hover { color: #fff; }
.topbar-links svg { width: 14px; height: 14px; }

/* Header */
.header { background: rgba(255, 255, 255, .95); border-bottom: 0; box-shadow: 0 1px 0 var(--line-2), 0 10px 30px -24px rgba(11, 31, 28, .4); }
.brand { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.035em; }
.brand span em { color: var(--accent); }
.brand-mark { width: 38px; height: 38px; filter: drop-shadow(0 6px 10px rgba(11, 31, 28, .18)); }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.search input { border-radius: 12px; background: #fff; border-color: var(--line); padding-right: 118px; }
.search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.search button { width: auto; border-radius: 9px; padding: 0 14px; gap: 6px; display: inline-flex; align-items: center; font-weight: 700; font-size: 13.5px; background: var(--ink); }
.search button:hover { background: var(--primary); }
.hdr-link { border-radius: 10px; }
.hdr-link svg { color: var(--primary); }
.hdr-link .count { background: var(--accent); border-radius: 6px; }

.catnav { border-top: 1px solid var(--line-2); background: var(--white); }
.catnav ul { gap: 4px; padding: 6px 0; }
.catnav-link { padding: 8px 14px; border: 0; border-radius: 9px; font-size: 13.5px; }
.catnav li:hover > .catnav-link, .catnav-link.active { color: var(--primary); background: var(--primary-soft); border: 0; }
.catnav-all { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff !important; }
.catnav li:hover > .catnav-all, .catnav-all.active { background: var(--primary) !important; color: #fff !important; }
.catnav-all svg { width: 16px; height: 16px; }
.mega { border-top: 0; box-shadow: 0 30px 50px -28px rgba(11, 31, 28, .35); }
.mega-intro { background: linear-gradient(160deg, var(--primary-soft), var(--accent-soft)); border-radius: 14px; }
.mega-products a { border-radius: 10px; }
.mega-products img { border-radius: 10px; }
.dropdown-menu { border-radius: 12px; }

/* Hero: slider + side tiles */
.hero { padding: 22px 0 0; background: linear-gradient(180deg, var(--soft), #fff 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; }
.hero-grid.no-slider { grid-template-columns: 1fr; }
.hero-grid.no-slider .hero-side { grid-template-columns: repeat(3, 1fr); }
.slider { border-radius: 22px; box-shadow: var(--shadow-lg); isolation: isolate; }
.slide { --slide-bg: var(--ink); min-height: 500px; padding: 56px 60px 96px; grid-template-columns: 1.05fr .95fr; gap: 24px;
  background:
    radial-gradient(circle at 78% 42%, color-mix(in srgb, var(--slide-bg) 55%, #fff) 0, transparent 46%),
    radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 42%),
    linear-gradient(135deg, var(--slide-bg), color-mix(in srgb, var(--slide-bg) 70%, #000)); }
.slide::before { width: auto; height: auto; inset: 0; border-radius: 0; right: 0; top: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1.4px); background-size: 22px 22px; background-color: transparent;
  -webkit-mask-image: linear-gradient(110deg, transparent 35%, #000 85%); mask-image: linear-gradient(110deg, transparent 35%, #000 85%); }
.slide::after { display: none; }
.slide .eyebrow { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: inherit; opacity: 1; padding: 7px 14px 7px 12px; border-radius: 999px; letter-spacing: .14em; }
.slide .eyebrow::before { display: none; }
.slide .eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(233, 185, 73, .25); }
.slide h1 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.02; letter-spacing: -.035em; }
.slide p { font-size: 17px; opacity: .82; }
.slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.slide-actions .btn-light { color: var(--ink); }
.slide-proof { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 13.5px; opacity: .9; }
.slide-proof .stars { color: var(--gold); }
.slide-proof .stars svg { fill: currentColor; width: 15px; height: 15px; }
.slide-art { align-self: stretch; align-items: center; }
.art-stage { position: relative; width: min(400px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.art-ring { position: absolute; inset: 4%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .35); animation: spin 40s linear infinite; }
.art-ring::before { content: ''; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); top: 12%; left: 12%; }
@keyframes spin { to { transform: rotate(360deg); } }
.slide-art img { width: 80%; border-radius: 26px; transform: rotate(4deg); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7), 0 0 0 8px rgba(255, 255, 255, .08); }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; padding: 10px 14px; border-radius: 12px; box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .5); animation: floaty 6s ease-in-out infinite; white-space: nowrap; }
.float-chip svg { width: 17px; height: 17px; color: var(--accent); }
.chip-a { left: -4%; top: 16%; }
.chip-b { right: -2%; bottom: 14%; animation-delay: -3s; }
.chip-b svg { color: var(--primary); }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.slider-foot { position: absolute; left: 60px; right: 28px; bottom: 26px; display: flex; align-items: center; gap: 18px; z-index: 5; color: #fff; }
.slider-count { font-size: 13px; font-weight: 600; opacity: .8; font-variant-numeric: tabular-nums; }
.slider-count b { font-size: 18px; opacity: 1; }
.slider-foot .slider-dots, .slider-foot .slider-nav { position: static; }
.slider-foot .slider-nav { margin-left: auto; }
.slider-dots { gap: 6px; }
.slider-dots button { width: 42px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .28); overflow: hidden; position: relative; }
.slider-dots button.active { width: 42px; background: rgba(255, 255, 255, .28); }
.slider-dots button i { position: absolute; inset: 0; width: 0; background: #fff; border-radius: inherit; }
.slider-dots button.active i { animation: dotfill 6s linear forwards; }
@keyframes dotfill { to { width: 100%; } }
.slider-nav button { border-radius: 12px; }

.hero-side { display: grid; grid-template-rows: 1fr 1fr auto; gap: 18px; }
.hero-tile { --tile-bg: var(--soft); position: relative; display: grid; grid-template-columns: 1fr 120px; align-items: center; gap: 10px; padding: 22px; border-radius: 20px; background: linear-gradient(140deg, #fff, var(--tile-bg) 70%); border: 1px solid var(--line-2); overflow: hidden; transition: .25s; }
.hero-tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.hero-tile h3 { font-size: 21px; margin: 8px 0 10px; line-height: 1.15; }
.hero-tile img { width: 120px; border-radius: 14px; box-shadow: var(--shadow); transform: rotate(-5deg); transition: .3s; }
.hero-tile:hover img { transform: rotate(0) scale(1.04); }
.hero-tile-tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); background: #fff; padding: 4px 9px; border-radius: 6px; box-shadow: var(--shadow-sm); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.link-arrow svg { width: 16px; height: 16px; transition: .2s; }
.hero-tile:hover .link-arrow svg { transform: translateX(4px); }
.hero-mini { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--ink); color: #c9d8d4; font-size: 12.5px; }
.hero-mini b { display: block; color: #fff; font-size: 14px; }
.hero-mini small { font-size: 12px; }
.hero-mini .ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: var(--gold); flex: none; }
.hero-mini .ic svg { width: 20px; height: 20px; }
.hero-mini > svg { margin-left: auto; width: 18px; height: 18px; }
.hero-mini:hover { background: var(--primary-dark); }

/* Scrolling trust ticker (replaces the 4 trust boxes) */
.ticker { margin-top: 26px; border-block: 1px solid var(--line-2); background: #fff; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; }
.ticker-group span { display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; font-weight: 700; font-size: 14px; color: var(--ink-2); white-space: nowrap; position: relative; }
.ticker-group span::after { content: '✦'; position: absolute; right: -6px; color: var(--accent); font-size: 12px; }
.ticker-group svg { width: 20px; height: 20px; color: var(--primary); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track, .art-ring, .float-chip { animation: none; } .slider-dots button.active i { animation: none; width: 100%; } }

/* Section headings */
.sec-head { margin-bottom: 30px; }
.sec-head h2 { margin-top: 6px; font-size: clamp(24px, 3vw, 36px); }
.sec-head-center { justify-content: center; text-align: center; }
.sec-head-center .eyebrow::after { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

/* Category bubbles */
.rail.cats .rail-track { grid-auto-columns: calc((100% - 9 * 20px) / 10); }
.rail.cats .cat-card { text-align: center; }
.rail.cats .cat-card .thumb { aspect-ratio: 1; border-radius: 50%; border: 0; padding: 8px; box-shadow: inset 0 0 0 1px var(--line-2); position: relative; transition: .3s; }
.rail.cats .cat-card .thumb img { border-radius: 50%; }
.rail.cats .cat-card:hover .thumb { box-shadow: inset 0 0 0 2px var(--primary), var(--shadow); }
.rail.cats .cat-card h3 { font-family: var(--font); font-size: 14px; margin-top: 12px; }
.rail-btn { border-radius: 12px; top: 36%; }

/* Product cards: framed tiles */
.p-card { border: 1px solid var(--line-2); border-radius: 18px; padding: 8px; transition: .25s; }
.p-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.p-card .thumb { border-radius: 12px; border: 0; }
.p-card:hover .thumb { box-shadow: none; }
.p-card .deal { top: auto; bottom: 10px; left: 10px; background: rgba(11, 31, 28, .86); color: #fff; border: 0; border-radius: 7px; font-size: 11px; letter-spacing: .03em; }
.p-card .tag { top: 10px; left: 10px; border-radius: 7px; background: var(--accent); }
.p-card .quick { left: auto; right: 10px; bottom: 10px; width: auto; height: 34px; padding: 0 12px; border-radius: 9px; }
.p-card .body { padding: 12px 6px 6px; }
.p-card h3 { font-family: var(--font); font-weight: 800; letter-spacing: -.01em; }
.p-card .price b { color: var(--primary); }

/* Promo tiles */
.promo { --promo-bg: var(--soft); background: linear-gradient(120deg, var(--promo-bg), #fff); border: 1px solid var(--line-2); border-radius: 22px; grid-template-columns: 1fr 200px; }
.promo h3 { font-family: var(--display); font-weight: 700; font-size: 30px; }
.promo img { transform: rotate(-4deg); border-radius: 16px; transition: .3s; }
.promo:hover img { transform: rotate(0) scale(1.04); }
.promo-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

/* How it works: intro + numbered list */
.process { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: center; background: var(--cream); border-radius: 26px; padding: 48px; }
.process-intro h2 { margin: 10px 0 12px; font-size: clamp(26px, 3vw, 38px); }
.process-intro p { color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.step { display: flex; gap: 16px; align-items: flex-start; border: 1px solid #eee6da; background: #fff; border-radius: 18px; padding: 22px; }
.step::before { position: static; order: 3; margin-left: auto; font-family: var(--display); font-size: 28px; font-weight: 700; color: color-mix(in srgb, var(--accent) 30%, #fff); line-height: 1; }
.step .ic { flex: none; width: 48px; height: 48px; border-radius: 14px; margin: 0; background: var(--ink); color: var(--gold); }
.step h4 { font-size: 15.5px; margin-bottom: 4px; }

/* Stats band */
.band { background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 40%),
    linear-gradient(135deg, var(--primary-dark), var(--ink));
  border-radius: 26px; color: #c9d8d4; position: relative; overflow: hidden; }
.band::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.band > * { position: relative; }
.band .eyebrow { color: var(--gold); }
.band h2 { font-family: var(--display); font-weight: 700; }
.band-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.band-list li { display: flex; gap: 10px; align-items: center; color: #e2ece9; font-weight: 600; }
.band-list svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.band .stat { border-radius: 16px; background: rgba(255, 255, 255, .05); backdrop-filter: blur(4px); }
.band .stat b { font-family: var(--display); font-size: 36px; font-weight: 700; color: #fff; }
.band .stat span { font-size: 13px; }

/* Testimonials */
.quote { position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 28px 24px 22px; margin: 0; box-shadow: var(--shadow-sm); }
.quote-mark { position: absolute; right: 18px; top: 2px; font-family: var(--display); font-size: 84px; line-height: 1; color: var(--primary-soft); pointer-events: none; }
.quote blockquote { margin: 0; color: var(--ink-2); font-size: 14.5px; flex: 1; }
.quote .stars svg { fill: currentColor; }
.quote .who { border-top: 1px dashed var(--line); padding-top: 14px; }
.avatar { border-radius: 12px; }
.stars { color: #e9a23b; }

/* Bulk CTA */
.cta { background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow); grid-template-columns: .9fr 1.1fr; }
.cta-art { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; transform: rotate(-3deg); }
.cta-tile { display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.cta-tile:nth-child(even) { transform: translateY(18px); }
.cta-tile img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.footer { background: var(--ink); color: #9db3ad; margin-top: 96px; padding-top: 0; }
.footer-help { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: linear-gradient(120deg, var(--primary), color-mix(in srgb, var(--primary) 60%, var(--accent))); border-radius: 22px; padding: 30px 36px; transform: translateY(-48px); margin-bottom: 8px; box-shadow: var(--shadow-lg); }
.footer-help .eyebrow { color: #fff; opacity: .8; }
.footer-help h3 { color: #fff; font-size: clamp(20px, 2.4vw, 28px); margin: 6px 0 0; }
.footer-help-links { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-help-links a { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; padding: 12px 16px; border-radius: 14px; font-weight: 700; font-size: 14px; transition: .2s; }
.footer-help-links a:hover { background: #fff; color: var(--ink); }
.footer-help-links small { display: block; font-size: 11.5px; font-weight: 600; opacity: .75; }
.footer-help-links svg { width: 22px; height: 22px; flex: none; }
.footer h5 { font-family: var(--font); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--gold); }
.socials a { border-radius: 10px; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .08); }
.pay-icons span { border-radius: 5px; }
.footer .contact-list svg { color: var(--gold); }
.to-top { border-radius: 14px; background: var(--primary); }
.wa-float { border-radius: 18px; }

/* Listing */
.crumbs { font-weight: 600; }
.page-hero { border-radius: 22px; position: relative; padding: 40px 48px; border: 1px solid var(--line-2); background-image: radial-gradient(color-mix(in srgb, var(--primary) 16%, transparent) 1px, transparent 1.4px) !important; background-size: 20px 20px !important; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); }
.page-hero img { border-radius: 18px; transform: rotate(4deg); }
.filters { background: var(--soft); border-radius: 16px; padding: 16px; }
.filters a { border-radius: 9px; }
.filters a.active { background: var(--ink); color: #fff; }
.filters a.active span { color: #9db3ad; }
.empty { border-radius: 18px; }

/* Product page */
.gallery-main { border-radius: 20px; }
.gallery-thumbs .t-img { border-radius: 10px; }
.pdp-info h1 { font-size: clamp(28px, 3.2vw, 40px); }
.config { border-radius: 18px; background: linear-gradient(180deg, var(--soft), #fff 140px); border-color: var(--line-2); }
.pill span, .qty-row, .choice, .chip-btn { border-radius: 10px; }
.pill input:checked + span, .qty-row.active { border-color: var(--primary); }
.price-box { background: var(--ink); color: #c9d8d4; border-radius: 14px; }
.price-box .total { color: #fff; font-family: var(--display); }
.price-box .unit { color: #9db3ad; }
.price-box .off { background: var(--gold); color: var(--ink); }
.choice .ic { border-radius: 12px; background: var(--ink); color: var(--gold); }
.tabs button.active { color: var(--primary); }
.flip { border-radius: 18px; }

/* Cart, checkout, account */
.cart-item, .summary, .box, .acc-nav, .table-wrap, .stat-card { border-radius: 16px; border-color: var(--line-2); }
.summary { background: var(--soft); }
.sum-row.total { font-family: var(--display); }
.box h3 .num { border-radius: 9px; background: var(--ink); color: var(--gold); }
.pay-option, .addr-card, .acct-choice { border-radius: 12px; }
.checkout-steps .on { color: var(--accent); }
.acc-nav { background: var(--soft); }
.acc-nav a.active { background: var(--ink); color: #fff; }
.stat-card { background: linear-gradient(160deg, #fff, var(--soft)); }
.stat-card b { font-family: var(--display); }
.table th { background: var(--ink); color: #c9d8d4; }
.pagination a, .pagination span { border-radius: 10px; }
.pagination .active span { background: var(--ink); border-color: var(--ink); }
.timeline .tl.done .dot { background: var(--primary); border-color: var(--primary); }

/* Auth */
.auth-art { background:
    radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 40%),
    linear-gradient(160deg, var(--primary-dark), var(--ink)); color: #c9d8d4; }
.auth-art::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.4px); background-size: 22px 22px; pointer-events: none; }
.auth-art > * { position: relative; }
.auth-art h2 { font-family: var(--display); font-weight: 700; }
.auth-art .art-grid img { border-radius: 50%; border: 4px solid rgba(255, 255, 255, .12); }
.auth-card h1 { font-family: var(--display); }
.otp-boxes input { border-radius: 10px; }

@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 280px; }
  .rail.cats .rail-track { grid-auto-columns: calc((100% - 7 * 20px) / 8); }
  .process { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .hero-mini { grid-column: 1 / -1; }
  .topbar-links a:not(:first-child) { display: none; }
  .rail.cats .rail-track { grid-auto-columns: calc((100% - 5 * 16px) / 6); }
  .footer-help { grid-template-columns: 1fr; }
  .cta-art { transform: none; }
}
@media (max-width: 768px) {
  .topbar-inner { min-height: 34px; }
  .topbar-links { display: none; }
  .topbar-msg { font-size: 12px; }
  .search input { padding-right: 52px; }
  .search button span { display: none; }
  .search button { padding: 0; width: 34px; justify-content: center; }
  .slide { padding: 36px 24px 90px; min-height: 0; }
  .slide h1 { font-size: 34px; }
  .slide p { font-size: 15px; }
  .slide-proof { margin-top: 18px; font-size: 12.5px; }
  .slider-foot { left: 24px; right: 16px; bottom: 20px; gap: 12px; }
  .slider-dots button, .slider-dots button.active { width: 26px; }
  .slider-nav button { width: 38px; height: 38px; }
  .hero-side { grid-template-columns: 1fr; }
  .hero-tile { grid-template-columns: 1fr 96px; padding: 18px; }
  .hero-tile img { width: 96px; }
  .hero-tile h3 { font-size: 18px; }
  .ticker-group span { padding: 13px 20px; font-size: 13px; }
  .rail.cats .rail-track { grid-auto-columns: 26%; gap: 12px; }
  .rail.cats .cat-card h3 { font-size: 12.5px; }
  .rail.cats .cat-card span { display: none; }
  .p-card { padding: 6px; border-radius: 14px; }
  .promo { grid-template-columns: 1fr 110px; }
  .promo h3 { font-size: 23px; }
  .process { padding: 28px 20px; border-radius: 20px; }
  .steps { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .cta-art { order: 2; }
  .footer-help { padding: 24px 20px; transform: translateY(-40px); }
  .footer-help-links a { flex: 1 1 100%; }
  .page-hero { padding: 26px 22px; }
}

/* Homepage product grids: bigger cards — 4 per row on desktop (12 products = 3 rows), 2 per row on phones */
.p-grid-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 22px; }
.p-grid-6 .p-card h3 { font-size: 16px; }
.p-grid-6 .p-card .price { font-size: 14px; }
@media (max-width: 1024px) { .p-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 16px; } }
@media (max-width: 768px) {
  .p-grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: 14px 12px; scroll-snap-type: none; }
  .p-grid-6 .p-card h3 { font-size: 14px; line-height: 1.3; }
  .p-grid-6 .p-card .price { font-size: 12.5px; }
  .p-grid-6 .p-card .deal { font-size: 10px; padding: 3px 7px; top: auto; bottom: 8px; left: 8px; }
  .p-grid-6 .p-card .tag { font-size: 9.5px; top: 8px; left: 8px; }
  .swipe-hint { display: none; }
}

/* Polish & mobile fixes */
.slide h1 { font-size: clamp(32px, 4vw, 54px); }
.quote .who .avatar { color: #fff; font-size: 16px; }
.cta-art { max-width: 460px; justify-self: center; width: 100%; }
.footer-help { background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 45%), linear-gradient(120deg, var(--primary), var(--primary-dark)); }
@media (max-width: 768px) {
  .header-main { padding: 10px 16px; }
  .brand-mark { width: 34px; height: 34px; }
  .slide { padding: 30px 22px 84px; }
  .slide h1 { font-size: 31px; line-height: 1.06; }
  .slide p { margin-bottom: 20px; }
  .slide-actions { gap: 10px; }
  .slide-actions .btn { flex: 1 1 0; height: 48px; padding: 0 14px; font-size: 14.5px; }
  .slide-proof .stars svg { width: 13px; height: 13px; }
  .hero-side { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-tile { grid-template-columns: 1fr; padding: 14px; gap: 6px; border-radius: 16px; }
  .hero-tile img { width: 72px; order: -1; justify-self: end; margin-top: -4px; }
  .hero-tile h3 { font-size: 16px; margin: 6px 0 4px; }
  .hero-tile-tag { font-size: 10px; }
  .hero-mini { padding: 12px 14px; }
  .ticker { margin-top: 18px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
  .sec-head-center { align-items: center; }
  .sec-head p { font-size: 13.5px; }
  .band .stats { gap: 10px; }
  .band .stat { padding: 16px; }
  .band .stat b { font-size: 26px; }
  .quotes { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 10px; }
  .quotes::-webkit-scrollbar { display: none; }
  .quote { scroll-snap-align: start; }
  .cta { padding: 26px 20px; }
  .footer-help h3 { font-size: 20px; }
  .wa-float { bottom: 18px; }
}
@media (max-width: 380px) { .slide-actions .btn { flex-basis: 100%; } }
@media (max-width: 480px) { .slide-actions .btn { flex-basis: 100%; } }
@media (max-width: 768px) { .cta-art { display: none; } }
