/* ==========================================================================
   S4 Print — storefront + panels
   Brand: Pink (primary) · Navy · Cyan · Yellow   |   Font: Poppins
   ========================================================================== */
:root {
  --pink: #E6007E;
  --pink-600: #C4006B;
  --pink-100: #FFE0F0;
  --pink-50: #FFF3F9;
  --navy: #0B1F4B;
  --navy-700: #132C66;
  --cyan: #0096D6;
  --yellow: #FFC400;
  --green: #12A150;
  --orange: #F08C00;
  --red: #E03131;
  --ink: #1A1D2B;
  --text: #3C4257;
  --muted: #5E6479; /* ≥ 4.5:1 on white and #F7F7FB (WCAG AA) */
  --line: #ECEDF3;
  --bg: #F7F7FB;
  --card: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 10px rgba(16, 24, 64, .06);
  --shadow-lg: 0 14px 40px rgba(16, 24, 64, .12);
  --container: 1240px;
  --bottom-nav: 66px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 2.8vw, 1.9rem); }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.ic { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 26px; height: 26px; }
.text-pink { color: var(--pink); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 } .mb-0 { margin-bottom: 0 } .mt-2 { margin-top: 16px } .mt-3 { margin-top: 24px } .mb-2 { margin-bottom: 16px } .mb-3 { margin-bottom: 24px }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.flex { display: flex; align-items: center; gap: 10px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.grow { flex: 1; }
.hide-mobile { }
.show-mobile { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 14.5px; cursor: pointer; transition: .18s ease; white-space: nowrap; line-height: 1.2;
}
.btn-pink { background: var(--pink); color: #fff; box-shadow: 0 6px 16px rgba(230, 0, 126, .25); }
.btn-pink:hover { background: var(--pink-600); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-outline { border-color: var(--pink); color: var(--pink); background: #fff; }
.btn-outline:hover { background: var(--pink-50); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); }
.btn-green { background: #25D366; color: #fff; }
.btn-danger { background: #fff; color: var(--red); border-color: #F5C2C2; }
.btn-danger:hover { background: #FFF0F0; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--line); color: var(--ink); white-space: nowrap; }
.badge-pink { background: var(--pink-100); color: var(--pink-600); }
.badge-pending { background: #FFF4DB; color: #A86400; }
.badge-confirmed, .badge-contacted { background: #E3F2FD; color: #0B64A8; }
.badge-designing, .badge-quoted { background: #F1E8FF; color: #6A2BC2; }
.badge-printing { background: var(--pink-100); color: var(--pink-600); }
.badge-ready, .badge-dispatched { background: #E0F7FA; color: #00707F; }
.badge-delivered, .badge-paid, .badge-converted { background: #E3F7EA; color: #0F7A3D; }
.badge-cancelled, .badge-unpaid, .badge-closed, .badge-refunded { background: #FDECEC; color: #B42318; }
.badge-partial, .badge-new { background: #FFF4DB; color: #A86400; }

/* ---------- Top bar & header ---------- */
.topbar { background: linear-gradient(90deg, var(--pink), #FF3D9A); color: #fff; font-size: 13px; text-align: center; padding: 7px 12px; }
.topbar a { font-weight: 600; text-decoration: underline; }
.header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo img { height: 52px; width: auto; }
.search { flex: 1; max-width: 520px; position: relative; }
.search input { width: 100%; height: 46px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); padding: 0 52px 0 20px; outline: none; transition: .2s; }
.search input:focus { border-color: var(--pink); background: #fff; box-shadow: 0 0 0 4px var(--pink-50); }
.search button { position: absolute; right: 5px; top: 5px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--pink); color: #fff; display: grid; place-items: center; cursor: pointer; }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.h-link { display: flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 12px; font-weight: 500; font-size: 14px; color: var(--ink); position: relative; }
.h-link:hover { background: var(--pink-50); color: var(--pink); }
.h-link .count { position: absolute; top: 2px; left: 22px; background: var(--pink); color: #fff; font-size: 10.5px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; border: 2px solid #fff; }
.catnav { border-top: 1px solid var(--line); background: #fff; }
.catnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.catnav ul::-webkit-scrollbar { display: none; }
.catnav a { display: block; padding: 11px 14px; font-size: 13.5px; font-weight: 500; white-space: nowrap; color: var(--text); border-bottom: 2.5px solid transparent; }
.catnav a:hover, .catnav a.active { color: var(--pink); border-color: var(--pink); }
.mobile-search { display: none; padding: 0 16px 12px; }

/* ---------- Flash ---------- */
.flash { margin: 16px auto 0; padding: 12px 16px; border-radius: 12px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.flash-success { background: #E7F8EE; color: #0F6B37; border: 1px solid #BFE9CF; }
.flash-error { background: #FFF0F0; color: #A61B1B; border: 1px solid #F6CACA; }
.flash ul { margin: 0; padding-left: 18px; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 400px at 90% -10%, var(--pink-100), transparent 60%), radial-gradient(800px 300px at -10% 110%, #E1F3FF, transparent 60%), #fff; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding: 48px 16px 56px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--pink-50); color: var(--pink-600); font-weight: 600; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: -.5px; margin-bottom: 16px; }
.hero h1 .pink { color: var(--pink); }
.hero h1 .cyan { color: var(--cyan); }
.hero p.lead { font-size: 17px; color: var(--muted); max-width: 540px; margin-bottom: 26px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; }
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-collage img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); background: #fff; }
.hero-collage img:nth-child(2), .hero-collage img:nth-child(4) { transform: translateY(26px); }
.hero-art .float-card { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 12px 16px; display: flex; gap: 10px; align-items: center; font-size: 13px; }
.hero-art .float-card b { display: block; color: var(--ink); font-size: 14px; }
.hero-art .fc1 { left: -24px; bottom: 30px; }
.hero-art .fc2 { right: -10px; top: 20px; }
.fc-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.hero-trust { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust div { font-size: 13px; color: var(--muted); }
.hero-trust b { display: block; font-size: 22px; color: var(--navy); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-sm { padding: 36px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.kicker { color: var(--pink-600); font-weight: 600; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
.bg-white { background: #fff; }

/* Feature strip */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.feature .fi { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.feature b { display: block; color: var(--ink); font-size: 14.5px; }
.feature span { font-size: 12.5px; color: var(--muted); }
.bg-pink { background: var(--pink); } .bg-navy { background: var(--navy); } .bg-yellow { background: var(--yellow); } .bg-cyan { background: var(--cyan); } .bg-green { background: var(--green); }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .2s; display: flex; flex-direction: column; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card .thumb { aspect-ratio: 1 / 1; flex: none; background: #F1F1F5; overflow: hidden; } /* perfect square on every screen */
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.cat-card:hover .thumb img { transform: scale(1.05); }
.cat-card .label { flex: 1; padding: 10px 12px 12px; font-weight: 600; font-size: 14px; color: var(--ink); text-align: center; }
/* tagline always 2 lines tall, so every card in a row is exactly the same size */
.cat-card .label small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; min-height: calc(2 * 1.5em); line-height: 1.5; font-weight: 400; color: var(--muted); font-size: 12px; }
.cat-card:nth-child(4n+1) .label { border-top: 3px solid var(--navy); }
.cat-card:nth-child(4n+2) .label { border-top: 3px solid var(--pink); }
.cat-card:nth-child(4n+3) .label { border-top: 3px solid var(--cyan); }
.cat-card:nth-child(4n+4) .label { border-top: 3px solid var(--yellow); }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.p-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: .2s; position: relative; }
.p-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.p-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: #F1F1F5; }
.p-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.p-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.p-card .cat { font-size: 12px; color: var(--pink-600); font-weight: 600; display: inline-block; padding: 4px 0; } /* ≥24px tap target */
.p-card h3 { font-size: 15px; margin: 0 0 6px; }
.p-card h3 a { display: block; padding: 4px 0; min-height: 24px; }
.p-card .price { margin-top: auto; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.p-card .price small { color: var(--muted); font-size: 12px; }
.p-card .price b { color: var(--ink); font-size: 18px; }
.p-card .tag { position: absolute; top: 12px; left: 12px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.p-card .tag.pink { background: var(--pink); }
.p-card .p-order { margin-top: 12px; }
.p-card .meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #0B7A3B; /* darker green: 4.5:1 on white */ font-weight: 500; margin-bottom: 8px; }

/* Industries */
.use-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.use { background: #fff; border-radius: var(--radius); padding: 22px 18px; text-align: center; box-shadow: var(--shadow); }
.use .ui { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; color: #fff; }
.use b { display: block; color: var(--ink); font-size: 14.5px; }
.use span { font-size: 12.5px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 18px; right: 18px; font-size: 38px; font-weight: 800; color: var(--pink-100); line-height: 1; }
.step .si { width: 46px; height: 46px; border-radius: 14px; background: var(--pink-50); color: var(--pink); display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* Bulk CTA */
.bulk-cta { background: linear-gradient(120deg, var(--navy) 0%, #1B3A85 60%, var(--pink) 130%); border-radius: 24px; color: #fff; padding: 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.bulk-cta h2 { color: #fff; }
.bulk-cta p { color: rgba(255,255,255,.8); }
.bulk-cta ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bulk-cta li { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.bulk-cta li .ic { color: var(--yellow); }
.bulk-cta .stat-box { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bulk-cta .stat-box b { display: block; font-size: 26px; color: var(--yellow); }
.bulk-cta .stat-box span { font-size: 13px; color: rgba(255,255,255,.8); }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.stars { color: var(--yellow); display: flex; gap: 2px; margin-bottom: 10px; }
.stars .ic { fill: currentColor; width: 16px; height: 16px; }
.testi p { font-size: 14px; }
.testi .who { display: flex; gap: 10px; align-items: center; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--pink-100); color: var(--pink-600); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.testi .who b { display: block; color: var(--ink); font-size: 14px; }
.testi .who span { font-size: 12px; color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border-radius: 14px; margin-bottom: 10px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary { padding: 16px 20px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--pink); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 20px 16px; margin: 0; font-size: 14px; }
.seo-text { font-size: 14px; color: var(--muted); columns: 2; column-gap: 40px; }
.seo-text h2 { column-span: all; font-size: 1.2rem; }
.seo-text h3 { font-size: 15px; margin-top: 0; break-after: avoid; }

/* ---------- Breadcrumb / page header ---------- */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 22px 0; }
.page-head h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 6px 0 4px; }
.page-head p { margin: 0; color: var(--muted); }
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: #B5B9C9; }
.crumbs a:hover { color: var(--pink); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 28px 0 40px; align-items: start; }
.pdp-gallery { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); position: sticky; top: 130px; }
.pdp-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pdp-info h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 8px; }
.pdp-info .from { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.pdp-info .from b { font-size: 26px; color: var(--ink); }
.pdp-perks { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.pdp-perks span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: 12.5px; }
.pdp-perks .ic { color: var(--pink); width: 16px; height: 16px; }
.config { background: #fff; border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.config h2, .config h3 { font-size: 14px; margin: 0 0 10px; color: var(--ink); font-weight: 600; }
.opt-group { margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; flex-direction: column; padding: 9px 14px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 13.5px; cursor: pointer; transition: .15s; background: #fff; line-height: 1.3; }
.chip span small { color: var(--muted); font-size: 11.5px; }
.chip input:checked + span { border-color: var(--pink); background: var(--pink-50); color: var(--pink-600); font-weight: 600; box-shadow: 0 0 0 3px var(--pink-50); }
.chip input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
.qty-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.qty-row label { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 14px; transition: .15s; margin-bottom: 6px; }
.qty-row input { accent-color: var(--pink); width: 18px; height: 18px; }
.qty-row label:has(input:checked) { border-color: var(--pink); background: var(--pink-50); }
.qty-row .per { font-size: 12px; color: var(--muted); }
.qty-row .p { font-weight: 700; color: var(--ink); }
.upload-box { border: 2px dashed #D9DBE6; border-radius: 14px; padding: 16px; text-align: center; font-size: 13.5px; color: var(--muted); cursor: pointer; transition: .2s; display: block; }
.upload-box:hover, .upload-box.has-file { border-color: var(--pink); background: var(--pink-50); color: var(--pink-600); }
.upload-box input { display: none; }
.upload-box .ic { width: 28px; height: 28px; margin: 0 auto 6px; color: var(--pink); display: block; }
.total-bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 6px; border-top: 1px dashed var(--line); margin-top: 8px; }
.total-bar .t { font-size: 13px; color: var(--muted); }
.total-bar .t b { display: block; font-size: 26px; color: var(--ink); line-height: 1.2; }
.pdp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.pdp-desc { background: #fff; border-radius: 20px; padding: 26px; box-shadow: var(--shadow); margin-bottom: 30px; }
.pdp-desc ul { padding-left: 20px; }
.help-box { display: flex; gap: 12px; align-items: center; background: var(--pink-50); border-radius: 14px; padding: 14px 16px; margin-top: 16px; font-size: 13.5px; }
.help-box a { color: var(--pink-600); font-weight: 600; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 12px; color: var(--muted); font-weight: 400; }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; background: #fff; outline: none; transition: .15s; font-size: 14.5px;
}
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 4px var(--pink-50); }
.field textarea { min-height: 96px; resize: vertical; }
.field .error, .error-text { color: var(--red); font-size: 12.5px; }
.is-invalid { border-color: var(--red) !important; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; cursor: pointer; }
.check input { accent-color: var(--pink); width: 18px; height: 18px; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card span { display: flex; gap: 10px; align-items: center; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; font-size: 14px; height: 100%; }
.radio-card span small { display: block; color: var(--muted); font-size: 12px; }
.radio-card input:checked + span { border-color: var(--pink); background: var(--pink-50); }
.radio-card .ic { color: var(--pink); }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.card + .card { margin-top: 18px; }
.card-title { font-size: 16px; font-weight: 600; color: var(--ink); margin: 0 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* ---------- Cart / checkout ---------- */
.two-col { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; padding: 26px 0 40px; }
.two-col.aside-lg { grid-template-columns: 1fr 420px; }
.sticky { position: sticky; top: 130px; }
.ic-fill { fill: currentColor; stroke: none; }
.cart-item { display: grid; grid-template-columns: 86px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 86px; height: 86px; border-radius: 12px; object-fit: cover; }
.cart-item h3 { font-size: 15px; margin: 0 0 4px; }
.cart-item .opts { font-size: 12.5px; color: var(--muted); }
.cart-item .price { font-weight: 700; color: var(--ink); text-align: right; }
.cart-item select { border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 10px; font-size: 13px; background: #fff; }
.link-btn { background: none; border: 0; padding: 0; color: var(--red); font-size: 12.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.summary-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; }
.summary-row.total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 700; color: var(--ink); }
.empty { text-align: center; padding: 50px 20px; }
.empty .ic { width: 56px; height: 56px; color: var(--pink); margin: 0 auto 14px; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - 200px); display: grid; place-items: center; padding: 30px 16px; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 32px 28px; }
.auth-card .logo-c { display: flex; justify-content: center; margin-bottom: 14px; }
.auth-card .logo-c img { height: 70px; width: auto; }
.auth-card h1 { font-size: 1.4rem; text-align: center; margin-bottom: 4px; }
.auth-card > p { text-align: center; color: var(--muted); font-size: 14px; }
.auth-card .field { margin-bottom: 14px; }

/* ---------- Account ---------- */
.acc-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 26px 0 40px; align-items: start; }
.acc-side { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; position: sticky; top: 130px; }
.acc-user { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.acc-user .avatar { width: 46px; height: 46px; background: var(--pink); color: #fff; }
.acc-user b { display: block; color: var(--ink); }
.acc-user span { font-size: 12.5px; color: var(--muted); }
.acc-nav a, .acc-nav button { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; font-size: 14px; font-weight: 500; width: 100%; background: none; border: 0; cursor: pointer; text-align: left; }
.acc-nav a:hover, .acc-nav button:hover { background: var(--pink-50); color: var(--pink); }
.acc-nav a.active { background: var(--pink); color: #fff; }
.acc-nav .dot { margin-left: auto; background: var(--pink); color: #fff; font-size: 11px; border-radius: 10px; padding: 1px 7px; }
.acc-nav a.active .dot { background: #fff; color: var(--pink); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; }
.stat .si { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; }
.stat b { display: block; font-size: 20px; color: var(--ink); line-height: 1.2; }
.stat span { font-size: 12.5px; color: var(--muted); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick { background: #fff; border-radius: var(--radius); padding: 16px 12px; text-align: center; box-shadow: var(--shadow); font-size: 13px; font-weight: 600; color: var(--ink); }
.quick .qi { width: 46px; height: 46px; border-radius: 14px; margin: 0 auto 8px; display: grid; place-items: center; background: var(--pink-50); color: var(--pink); }
.order-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; display: block; margin-bottom: 12px; transition: .15s; }
.order-card:hover { box-shadow: var(--shadow-lg); }
.order-card .top { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 8px; }
.order-card .num { font-weight: 700; color: var(--ink); }
.order-card .items { font-size: 13.5px; color: var(--muted); }
.order-card .bottom { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; align-items: center; }
.order-card .bottom b { color: var(--ink); font-size: 15px; }
.tabs { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.tabs a.active { background: var(--pink); color: #fff; border-color: var(--pink); }
.timeline { display: flex; justify-content: space-between; position: relative; margin: 10px 0 6px; }
.timeline::before { content: ''; position: absolute; top: 15px; left: 8%; right: 8%; height: 3px; background: var(--line); }
.timeline .tl { position: relative; flex: 1; text-align: center; font-size: 11.5px; color: var(--muted); }
.timeline .tl i { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: grid; place-items: center; margin: 0 auto 6px; position: relative; z-index: 1; font-style: normal; }
.timeline .tl.done i { background: var(--pink); border-color: var(--pink); color: #fff; }
.timeline .tl.done { color: var(--ink); font-weight: 500; }
.timeline .tl.current i { box-shadow: 0 0 0 6px var(--pink-100); }
.history { list-style: none; padding: 0; margin: 0; }
.history li { padding: 0 0 14px 22px; position: relative; font-size: 13.5px; border-left: 2px solid var(--line); margin-left: 6px; }
.history li::before { content: ''; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--pink); }
.history li:last-child { border-color: transparent; }
.history small { display: block; color: var(--muted); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #FBFBFD; }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: #FCFCFE; }
.table .r { text-align: right; }
.table a.strong { font-weight: 600; color: var(--ink); }
.table a.strong:hover { color: var(--pink); }

/* ---------- Chat ---------- */
.chat { display: flex; flex-direction: column; height: calc(100vh - 230px); min-height: 440px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-head .avatar { background: var(--pink); color: #fff; }
.chat-head b { display: block; color: var(--ink); }
.chat-head span { font-size: 12px; color: var(--green); }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; background: linear-gradient(180deg, #FFF7FB, #F7F8FC); display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 78%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; word-wrap: break-word; white-space: pre-wrap; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.msg time { display: block; font-size: 10.5px; opacity: .7; margin-top: 4px; text-align: right; }
.msg.me { align-self: flex-end; background: var(--pink); color: #fff; border-bottom-right-radius: 4px; }
.msg.them { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 4px; }
.msg a.file { display: inline-flex; gap: 6px; align-items: center; text-decoration: underline; font-weight: 500; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); align-items: flex-end; background: #fff; }
.chat-form .grow { min-width: 0; }
.acc-layout > div, .chat-layout > * { min-width: 0; }
.chat-form textarea { width: 100%; flex: 1; border: 1.5px solid var(--line); border-radius: 22px; padding: 10px 16px; resize: none; max-height: 120px; outline: none; font-size: 14.5px; }
.chat-form textarea:focus { border-color: var(--pink); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; flex: none; background: var(--bg); color: var(--muted); }
.icon-btn.send { background: var(--pink); color: #fff; }
.icon-btn input { display: none; }
.chat-empty { margin: auto; text-align: center; color: var(--muted); font-size: 14px; }
.quick-replies { display: flex; gap: 6px; padding: 0 12px 10px; flex-wrap: wrap; background: #fff; }
.quick-replies button { border: 1px solid var(--pink-100); background: var(--pink-50); color: var(--pink-600); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; cursor: pointer; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.75); margin-top: 20px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 30px; padding: 48px 16px 32px; }
.footer h2, .footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer .brand img { height: 66px; width: auto; background: #fff; border-radius: 14px; padding: 6px 10px; margin-bottom: 14px; }
.footer .contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer .contact .ic { color: var(--pink); margin-top: 3px; }
.footer .social { display: flex; gap: 8px; margin-top: 14px; }
.footer .social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer .social a:hover { background: var(--pink); }
.footer-seo { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 16px; font-size: 13px; }
.footer-seo p { margin: 0; }
.footer-mid { border-top: 1px solid rgba(255,255,255,.1); padding: 16px; text-align: center; letter-spacing: 4px; font-size: 12px; color: rgba(255,255,255,.55); }
.footer-bottom { background: #071536; padding: 14px 16px; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 0; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.4); z-index: 60; }
.wa-float .ic { width: 28px; height: 28px; fill: #fff; stroke: none; }

/* ---------- App-style bottom nav (mobile) ---------- */
.bottom-nav { display: none; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; margin: 24px 0 6px; flex-wrap: wrap; list-style: none; padding: 0; }
.pagination a, .pagination span { min-width: 38px; height: 38px; padding: 0 12px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.pagination .active span { background: var(--pink); color: #fff; border-color: var(--pink); }
.pagination .disabled span { opacity: .45; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; padding: 26px 0 40px; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list .ii { width: 44px; height: 44px; border-radius: 12px; background: var(--pink-50); color: var(--pink); display: grid; place-items: center; flex: none; }
.info-list b { display: block; color: var(--ink); font-size: 14px; }
.map { border: 0; width: 100%; height: 260px; border-radius: 14px; margin-top: 16px; }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.25rem; margin-top: 1.4em; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .use-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 28px; }
  .hero-art { max-width: 520px; margin: 0 auto; }
  .features, .steps, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .pdp, .two-col, .two-col.aside-lg, .contact-grid, .bulk-cta { grid-template-columns: 1fr; }
  .pdp-gallery, .sticky { position: static; }
  .acc-layout { grid-template-columns: 1fr; }
  .acc-side { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .seo-text { columns: 1; }
}
@media (max-width: 720px) {
  body { font-size: 14.5px; padding-bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom)); }
  .hide-mobile { display: none !important; }
  .show-mobile { display: block; }
  .header-inner { height: 60px; gap: 10px; }
  .logo img { height: 42px; }
  .header .search { display: none; }
  .mobile-search { display: block; }
  .mobile-search .search { display: block; max-width: none; }
  .mobile-search .search input { height: 42px; }
  .mobile-search .search button { width: 32px; height: 32px; }
  .h-link { padding: 8px; }
  .h-link .lbl { display: none; }
  .catnav a { padding: 9px 12px; font-size: 13px; }
  .section { padding: 36px 0; }
  .hero-inner { padding: 22px 16px 34px; gap: 22px; }
  .hero p.lead { font-size: 15px; }
  .hero-art .float-card { display: none; }
  .hero-trust b { font-size: 18px; }
  .features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature { flex-direction: column; text-align: center; padding: 14px 10px; gap: 8px; }
  .feature .fi { width: 42px; height: 42px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cat-card .label { font-size: 12px; padding: 8px 6px; }
  .cat-card .label small { display: none; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .p-card .body { padding: 10px 12px 12px; }
  .p-card h3 { font-size: 13.5px; }
  .p-card .price b { font-size: 15px; }
  .use-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .use-grid .use:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .step { padding: 16px; }
  .bulk-cta { padding: 26px 20px; border-radius: 20px; }
  .bulk-cta ul { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .form-grid, .radio-cards { grid-template-columns: 1fr; }
  .pdp { padding-top: 14px; gap: 18px; }
  .pdp-actions { position: fixed; left: 0; right: 0; bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom)); background: #fff; padding: 10px 16px; margin: 0; box-shadow: 0 -6px 20px rgba(0,0,0,.08); z-index: 40; }
  .config { padding: 18px; }
  .stat-grid { gap: 10px; }
  .stat { padding: 14px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .quick-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .quick { padding: 12px 4px; font-size: 11.5px; }
  .quick .qi { width: 40px; height: 40px; }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item img { width: 70px; height: 70px; }
  .cart-item .price { grid-column: 2; text-align: left; }
  .chat { height: calc(100vh - 128px - var(--bottom-nav)); height: calc(100dvh - 128px - var(--bottom-nav)); border-radius: 0; margin: -16px -16px 0; box-shadow: none; }
  .timeline .tl { font-size: 10px; }
  .timeline .tl i { width: 26px; height: 26px; }
  .timeline::before { top: 12px; }
  .footer-top { grid-template-columns: 1fr; padding-top: 32px; gap: 22px; }
  .wa-float { bottom: calc(var(--bottom-nav) + 14px); right: 14px; width: 50px; height: 50px; }
  .auth-card { padding: 26px 20px; }
  .hero-collage { gap: 10px; }
  .hero-collage img { border-radius: 16px; }
  .hero-collage img:nth-child(2), .hero-collage img:nth-child(4) { transform: translateY(14px); }
  body:has(.pdp-actions) { padding-bottom: calc(var(--bottom-nav) + 80px + env(safe-area-inset-bottom)); }
  body:has(.pdp-actions) .wa-float { display: none; }
  .topbar { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; padding: 6px 12px; }
  .hero-trust { gap: 16px; }
  .hero-trust b { font-size: 16px; }
  /* account area feels like an app screen: no search / category strip, no floating WA */
  body:has(.acc-layout) .mobile-search, body:has(.acc-layout) .catnav, body:has(.acc-layout) .wa-float, body:has(.acc-layout) .footer { display: none; }
  .acc-layout { padding-top: 16px; }
  .chat-head > div > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 58vw; }

  .bottom-nav {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    height: calc(var(--bottom-nav) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(16,24,64,.06);
  }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 500; color: var(--muted); position: relative; }
  .bottom-nav a .ic { width: 23px; height: 23px; }
  .bottom-nav a.active { color: var(--pink); }
  .bottom-nav a.active::before { content: ''; position: absolute; top: 0; width: 32px; height: 3px; border-radius: 0 0 4px 4px; background: var(--pink); }
  .bottom-nav a.center .bubble { width: 50px; height: 50px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; margin-top: -26px; box-shadow: 0 8px 18px rgba(230,0,126,.35); border: 4px solid #fff; }
  .bottom-nav a.center .ic { width: 24px; height: 24px; }
  .bottom-nav .bn-dot { position: absolute; top: 6px; left: 55%; background: var(--pink); color: #fff; font-size: 9.5px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; padding: 0 3px; border: 2px solid #fff; }
}
@media (max-width: 380px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Admin panel
   ========================================================================== */
.admin-body { background: #F4F5FA; }
.admin-side { position: fixed; inset: 0 auto 0 0; width: 250px; background: var(--navy); color: rgba(255,255,255,.75); z-index: 80; display: flex; flex-direction: column; transition: transform .25s ease; }
.admin-side .brand { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-side .brand img { height: 42px; width: auto; background: #fff; border-radius: 10px; padding: 3px 6px; }
.admin-side .brand b { color: #fff; font-size: 15px; display: block; line-height: 1.2; }
.admin-side .brand span { font-size: 11.5px; }
.admin-side nav { padding: 12px; overflow-y: auto; flex: 1; }
.admin-side .nav-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.2px; padding: 14px 12px 6px; color: rgba(255,255,255,.4); }
.admin-side nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.admin-side nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.admin-side nav a.active { background: var(--pink); color: #fff; box-shadow: 0 6px 16px rgba(230,0,126,.35); }
.admin-side nav a .pill { margin-left: auto; background: var(--pink); color: #fff; font-size: 11px; font-weight: 700; border-radius: 10px; padding: 1px 8px; }
.admin-side nav a.active .pill { background: #fff; color: var(--pink); }
.admin-side .side-foot { padding: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.admin-side .side-foot button, .admin-side .side-foot a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 10px; font-size: 14px; }
.admin-side .side-foot button:hover, .admin-side .side-foot a:hover { background: rgba(255,255,255,.07); color: #fff; }
.admin-main { margin-left: 250px; min-height: 100vh; }
.admin-top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); height: 64px; display: flex; align-items: center; gap: 14px; padding: 0 24px; }
.admin-top h1 { font-size: 18px; margin: 0; }
.admin-top .menu-btn { display: none; }
.admin-top .top-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.admin-content { padding: 24px; max-width: 1400px; }
.admin-content .card { padding: 20px; }
.side-overlay { display: none; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.filters .input, .filters select { width: auto; min-width: 140px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: 14px; }
.filters .grow-input { flex: 1; min-width: 200px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.kpi { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.kpi span { font-size: 12.5px; color: var(--muted); display: block; }
.kpi b { font-size: 24px; color: var(--ink); display: block; margin-top: 2px; }
.kpi .ki { position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.kpi a { font-size: 12px; color: var(--pink); font-weight: 600; }
.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 170px; padding-top: 10px; }
.bars .bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; font-size: 11px; color: var(--muted); }
.bars .bar i { display: block; width: 100%; max-width: 42px; background: linear-gradient(180deg, var(--pink), #FF6BB5); border-radius: 8px 8px 3px 3px; min-height: 3px; }
.bars .bar em { font-style: normal; font-weight: 600; color: var(--ink); font-size: 10.5px; }
.status-list a { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.status-list a:last-child { border-bottom: 0; }
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 8px 12px; font-size: 14px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); word-break: break-word; }
.thumb-sm { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.repeater-row { display: grid; grid-template-columns: 1fr 1fr 40px; gap: 8px; margin-bottom: 8px; align-items: center; }
.opt-row { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 10px; position: relative; }
.opt-row .rm { position: absolute; top: 8px; right: 8px; }
.icon-sq { width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.icon-sq:hover { color: var(--red); border-color: #F5C2C2; }
.bill-table input { width: 100%; border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 14px; }
.bill-table td { padding: 6px; }
.chat-layout { display: grid; grid-template-columns: 320px 1fr; gap: 16px; }
.thread-list { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; max-height: calc(100vh - 140px); overflow-y: auto; }
.thread { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); align-items: center; }
.thread:hover { background: var(--pink-50); }
.thread.active { background: var(--pink-50); border-left: 3px solid var(--pink); }
.thread .avatar { width: 42px; height: 42px; }
.thread .t-body { flex: 1; min-width: 0; }
.thread b { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink); gap: 6px; }
.thread b small { font-weight: 400; color: var(--muted); font-size: 11px; white-space: nowrap; }
.thread p { margin: 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread .unread { background: var(--pink); color: #fff; font-size: 11px; font-weight: 700; border-radius: 10px; padding: 1px 7px; }
.admin-content .chat { height: calc(100vh - 140px); }
.admin-bottom { display: none; }
.back-mobile { display: none !important; }

@media (max-width: 1100px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid, .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .admin-side { transform: translateX(-100%); }
  body.side-open .admin-side { transform: none; }
  body.side-open .side-overlay { display: block; position: fixed; inset: 0; background: rgba(10,15,40,.45); z-index: 75; }
  .admin-main { margin-left: 0; }
  .admin-top { padding: 0 14px; height: 58px; }
  .admin-top .menu-btn { display: grid; }
  .back-mobile { display: grid !important; }
  .admin-content { padding: 16px 14px calc(var(--bottom-nav) + 24px); }
  .chat-layout { grid-template-columns: 1fr; }
  .chat-layout.has-thread .thread-list { display: none; }
  .admin-content .chat { height: calc(100vh - 58px - var(--bottom-nav) - 40px); margin: 0; border-radius: var(--radius); }
  .admin-bottom {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    height: calc(var(--bottom-nav) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(16,24,64,.06);
  }
  .admin-bottom a, .admin-bottom button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 500; color: var(--muted); background: none; border: 0; position: relative; cursor: pointer; }
  .admin-bottom .ic { width: 23px; height: 23px; }
  .admin-bottom a.active { color: var(--pink); }
  .admin-bottom a.center .bubble { width: 50px; height: 50px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; margin-top: -26px; box-shadow: 0 8px 18px rgba(230,0,126,.35); border: 4px solid #fff; }
  .admin-bottom .bn-dot { position: absolute; top: 6px; left: 55%; background: var(--pink); color: #fff; font-size: 9.5px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; padding: 0 3px; border: 2px solid #fff; }
  .kv { grid-template-columns: 110px 1fr; }
}
@media (max-width: 600px) {
  .kpi-grid { gap: 10px; }
  .kpi { padding: 14px; }
  .kpi b { font-size: 18px; }
  .kpi .ki { width: 34px; height: 34px; }
  .admin-top h1 { font-size: 16px; }
  .admin-top .top-actions .btn .lbl { display: none; }
  .filters .input, .filters select { min-width: 0; flex: 1 1 45%; }
  .table-mobile-cards thead { display: none; }
  .table-mobile-cards tr { display: block; border-bottom: 1px solid var(--line); padding: 10px 0; }
  .table-mobile-cards td { display: flex; justify-content: space-between; gap: 10px; border: 0; padding: 4px 12px; text-align: right; }
  .table-mobile-cards td::before { content: attr(data-l); color: var(--muted); font-size: 12px; text-align: left; }
  .table-mobile-cards td.r { text-align: right; }
}
@media print {
  .admin-side, .admin-top, .admin-bottom, .bottom-nav, .wa-float, .header, .footer, .topbar { display: none !important; }
  .admin-main { margin: 0; }
}

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 20px; }
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: .2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-card .thumb { aspect-ratio: 16 / 9; background: #F1F1F5; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .body { padding: 14px 16px 18px; }
.blog-card time { font-size: 12px; color: var(--muted); }
.blog-card h2 { font-size: 16px; line-height: 1.35; margin: 6px 0 8px; }
.blog-card h2 a:hover { color: var(--pink); }
.blog-card p { margin: 0; font-size: 13.5px; color: var(--muted); }
.blog-article { max-width: 820px; margin: 0 auto; line-height: 1.75; }
.blog-article .cover { width: 100%; border-radius: 12px; margin-bottom: 18px; }
.blog-article img { max-width: 100%; height: auto; }
.blog-cta { margin-top: 28px; padding: 18px; border-radius: 14px; background: var(--pink-50); display: grid; gap: 8px; }
.blog-cta b { color: var(--navy); font-size: 16px; }
.gbp-card { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.gbp-card .gbp-state { display: flex; gap: 12px; align-items: center; }
.gbp-card .gbp-state .ic { color: var(--pink); width: 28px; height: 28px; flex: none; }
.gbp-card p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- Online payment ---------- */
.pay-amount { font-size: 2.2rem; font-weight: 700; color: var(--navy); margin: 10px 0 4px; }
.pdp-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.pdp-thumbs button { flex: none; width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; }
.pdp-thumbs button.active { border-color: var(--pink); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.size-row { display: flex; align-items: flex-end; gap: 10px; }
.size-row .field { flex: 1; max-width: 160px; margin: 0; }
.size-row .x { padding-bottom: 10px; font-weight: 600; color: var(--muted); }
.file-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.file-preview:empty { display: none; }
.file-chip { display: flex; align-items: center; gap: 6px; max-width: 190px; padding: 4px 8px 4px 4px; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; background: #fff; }
.file-chip img { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; }
.file-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gallery-admin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.gallery-admin label { position: relative; display: block; cursor: pointer; }
.gallery-admin img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.gallery-admin input { position: absolute; top: 6px; left: 6px; }
.coupon-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.coupon-form .input { flex: 1; min-width: 120px; }
.text-green { color: var(--green); }
.order-toast { position: fixed; right: 16px; bottom: 84px; z-index: 90; max-width: 340px; background: var(--navy); color: #fff; border-radius: 14px; padding: 14px 40px 14px 16px; box-shadow: var(--shadow-lg); display: grid; gap: 4px; }
.order-toast a { color: #fff; text-decoration: underline; }
.order-toast button { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: #fff; font-size: 20px; cursor: pointer; }
.order-toast[hidden] { display: none; }
.upi-pay { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: center; text-align: left; border: 1px dashed var(--pink); border-radius: 14px; padding: 14px; margin: 14px 0; background: #fff; }
.upi-qr { width: 150px; height: 150px; flex: none; }
.upi-qr img, .upi-qr canvas { width: 150px; height: 150px; }
@media (min-width: 900px) { .upi-app-btn { display: none; } } /* desktop: scan the QR instead */
.grid-title { font-size: 1.05rem; margin: 0 0 14px; color: var(--muted); font-weight: 600; }
