/* Gujarat Wholesale — design system */
:root {
  /* GW brand palette: #800020 burgundy · #F3E6D5 sand · #FFF9F2 cream · #D45060 rose */
  --brand: #800020;
  --brand-d: #5E0018;
  --brand-l: #FCEEF0;
  --rose: #D45060;
  --rose-d: #B23A4E;
  --sand: #F3E6D5;
  --cream: #FFF9F2;
  --ink: #2B1216;
  --ink-2: #4A2A30;
  --bg: #FFF9F2;
  --card: #ffffff;
  --line: #EBDCC8;
  --line-2: #F3E6D5;
  --text: #2B1F21;
  --muted: #7A6A6D;
  --ok: #157f4b;
  --ok-l: #e4f5ec;
  --warn: #a15c00;
  --warn-l: #fff3d6;
  --bad: #b42318;
  --bad-l: #fde8e6;
  --info: #175cd3;
  --info-l: #e5eefc;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(43,18,22,.06), 0 6px 20px rgba(43,18,22,.07);
  --shadow-lg: 0 10px 40px rgba(43,18,22,.14);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-h: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.55; font-size: 15px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand-d); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: 1.7rem; font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
small, .small { font-size: .85rem; }
.muted { color: var(--muted); }
.spacer { flex: 1; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.inline { display: inline; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mb-0 { margin-bottom: 0 !important; } .mb-2 { margin-bottom: 16px; }
.ic { flex: none; vertical-align: -3px; }
.hide-sm { }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 9px; border: 1.5px solid transparent; font: 600 .95rem var(--font); cursor: pointer; text-decoration: none !important; transition: all .15s; line-height: 1.2; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-d); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-rose { background: var(--rose); color: #fff; }
.btn-rose:hover { background: var(--rose-d); }
.btn-wa { background: #1f9d55; color: #fff; }
.btn-wa:hover { background: #157a41; }
.btn-dark:hover { background: var(--ink-2); }
.btn-outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: rgba(128,0,32,.07); }
.btn-danger { background: var(--bad); color: #fff; }
.btn-danger:hover { background: #8f1c12; }
.btn-ok { background: var(--ok); color: #fff; }
.btn-ok:hover { background: #0f6339; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--ink); }
.btn-sm { padding: 7px 13px; font-size: .85rem; border-radius: 8px; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .55; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- Public header / footer ---------- */
.topbar { background: var(--brand); color: var(--sand); font-size: .8rem; }
.topbar a, .topbar span a { color: #fff; }
.topbar-in { display: flex; gap: 22px; align-items: center; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; opacity: .9; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none !important; }
.brand-t { display: flex; flex-direction: column; font-family: var(--font-h); font-size: 1.12rem; font-weight: 700; line-height: 1.05; }
.brand-t b { font-weight: 800; color: var(--brand); }
.brand-t > span { white-space: nowrap; }
.brand-t small { font: 500 .66rem var(--font); color: var(--muted); letter-spacing: .04em; margin-top: 3px; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a { white-space: nowrap; color: var(--ink); font-weight: 600; padding: 9px 13px; border-radius: 8px; font-size: .92rem; text-decoration: none; }
.main-nav > a:hover, .main-nav > a.active { background: var(--brand-l); color: var(--brand-d); }
.nav-actions { display: flex; gap: 8px; align-items: center; margin-left: 10px; padding-left: 14px; border-left: 1px solid var(--line); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-left: auto; cursor: pointer; color: var(--ink); }
.flash-wrap { padding-top: 18px; }

.site-footer { background: #3A0A14; color: #EADBCB; margin-top: 70px; padding: 52px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 38px; }
.site-footer h4 { color: #fff; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { display: block; color: #EADBCB; padding: 4px 0; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.footer-brand { font: 800 1.5rem var(--font-h); color: #fff; margin-bottom: 10px; }
.footer-brand b { color: var(--rose); }
.muted-l { color: #C9ADA4; font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 18px; padding-bottom: 22px; font-size: .84rem; color: #C9ADA4; }

/* ---------- Alerts ---------- */
.alert { padding: 12px 16px; border-radius: 10px; margin: 0 0 14px; border: 1px solid; font-size: .93rem; }
.alert-success { background: var(--ok-l); border-color: #b9e4cb; color: #0d5c37; }
.alert-error, .alert-danger { background: var(--bad-l); border-color: #f6c5c0; color: #8f1c12; }
.alert-warning { background: var(--warn-l); border-color: #f3dc9a; color: #7a4600; }
.alert-info { background: var(--info-l); border-color: #bcd3f6; color: #10428f; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1100px 520px at 88% -12%, #F6D7DC 0, transparent 60%), linear-gradient(180deg, var(--sand) 0, var(--bg) 100%); padding: 56px 0 46px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: .8rem; font-weight: 600; color: var(--ink-2); margin-bottom: 18px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }
.hero h1 { font-size: 3rem; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: 1.12rem; color: #5B4A4E; max-width: 560px; margin-bottom: 24px; }
.search-bar { display: flex; background: #fff; border: 2px solid var(--brand); border-radius: 12px; padding: 5px; box-shadow: var(--shadow); max-width: 640px; }
.search-bar input, .search-bar select { border: 0; outline: 0; background: transparent; font: 500 .98rem var(--font); padding: 11px 14px; min-width: 0; }
.search-bar input { flex: 1; }
.search-bar select { border-left: 1px solid var(--line); max-width: 180px; color: var(--muted); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.hero-stats { display: flex; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats b { display: block; font: 800 1.6rem var(--font-h); color: var(--ink); }
.hero-stats span { font-size: .82rem; color: var(--muted); }

/* ---------- Sections & cards ---------- */
.section { padding: 58px 0; }
.section-alt { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 2px rgba(43,18,22,.04); }
.card > h3:first-child, .card > h4:first-child { margin-top: 0; }
.card-flush { padding: 0; overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.card-head h3, .card-head h4 { margin: 0; }
.card-body { padding: 20px; }
.ind-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none !important; transition: all .18s; }
.ind-tile:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow); }
.ind-tile .em { font-size: 1.8rem; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-l); }
.ind-tile b { font: 700 .98rem var(--font-h); }
.ind-tile small { color: var(--muted); }

.p-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: all .18s; color: var(--text); text-decoration: none !important; }
.p-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #E0C9AE; }
.p-img { aspect-ratio: 4/3; display: grid; place-items: center; font-size: 2.6rem; position: relative; background-size: cover; background-position: center; }
.p-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-img .tag { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.92); border-radius: 99px; padding: 3px 10px; font: 600 .7rem var(--font); color: var(--ink); }
.p-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-body h3 { font-size: 1rem; margin: 0; }
.p-meta { font-size: .82rem; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.p-price { font: 800 1.1rem var(--font-h); color: var(--ink); }
.p-price small { font: 500 .78rem var(--font); color: var(--muted); }
.p-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .84rem; }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-weight: 600; font-size: .78rem; }

.m-card { display: flex; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--text); text-decoration: none !important; transition: all .18s; }
.m-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.m-logo { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; font: 800 1.3rem var(--font-h); color: #fff; flex: none; overflow: hidden; background: var(--brand); }
.m-logo img { width: 100%; height: 100%; object-fit: cover; }
.m-card h3 { margin: 0 0 3px; font-size: 1.02rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration: none !important; }
.chip:hover, .chip.active { border-color: var(--brand); background: var(--brand-l); color: var(--brand-d); }
.chip small { color: var(--muted); font-weight: 500; }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .ti { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-l); color: var(--brand); display: grid; place-items: center; flex: none; }
.trust-item b { display: block; font: 700 .98rem var(--font-h); color: var(--ink); }
.trust-item span { font-size: .87rem; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: st; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; position: relative; }
.step::before { counter-increment: st; content: counter(st); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font: 800 .95rem var(--font-h); margin-bottom: 12px; }
.step b { display: block; font: 700 1rem var(--font-h); color: var(--ink); margin-bottom: 4px; }
.step span { font-size: .87rem; color: var(--muted); }

.cta-band { background: linear-gradient(120deg, var(--brand) 0, #4A0013 100%); color: #fff; border-radius: 22px; padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(212,80,96,.8); }
.cta-band h2 { color: #fff; margin-bottom: 8px; position: relative; z-index: 1; }
.cta-band p { color: var(--sand); margin: 0; position: relative; z-index: 1; max-width: 560px; }
.cta-band .btn-row { position: relative; z-index: 1; }

.role-card { display: flex; flex-direction: column; gap: 10px; }
.role-card .em { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-l); color: var(--brand-d); }
.role-card ul { margin: 0 0 10px; padding-left: 18px; color: var(--muted); font-size: .9rem; }

.page-head { background: linear-gradient(180deg, var(--sand), var(--bg)); padding: 34px 0 26px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: 2rem; margin-bottom: 6px; }
.page-head p { color: var(--muted); margin: 0; }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.prose ul { padding-left: 20px; }
.notice-box { background: var(--warn-l); border: 1px solid #f3dc9a; color: #7a4600; border-radius: 10px; padding: 12px 16px; font-size: .9rem; margin-bottom: 24px; }

/* Catalogue layout */
.catalogue { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 30px 0 0; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; position: sticky; top: 90px; }
.filters h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 16px 0 8px; }
.filters h4:first-child { margin-top: 0; }
.filters a.f { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 7px; color: var(--ink); font-size: .9rem; text-decoration: none; }
.filters a.f:hover { background: var(--brand-l); }
.filters a.f.active { background: var(--brand-l); color: var(--brand-d); font-weight: 700; }
.filters a.f small { color: var(--muted); }
.result-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }

/* Product detail */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; padding-top: 28px; }
.gallery-main { aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; display: grid; place-items: center; font-size: 5rem; border: 1px solid var(--line); background-size: cover; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.thumbs img { width: 74px; height: 74px; object-fit: cover; border-radius: 10px; border: 2px solid var(--line); cursor: pointer; }
.thumbs img.on { border-color: var(--brand); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: .92rem; vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 500; width: 40%; padding-right: 14px; }
.callout { background: var(--brand-l); border: 1px solid #F0C9CF; border-radius: 12px; padding: 16px 18px; }
.callout.teal { background: var(--sand); border-color: #E3CDB2; }
.video-wrap { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px 18px; }
.form-grid > .field, .form-grid > .form-full { grid-column: span 12; }
.col-1 { grid-column: span 1 !important; } .col-2 { grid-column: span 2 !important; } .col-3 { grid-column: span 3 !important; } .col-4 { grid-column: span 4 !important; } .col-5 { grid-column: span 5 !important; } .col-6 { grid-column: span 6 !important; } .col-7 { grid-column: span 7 !important; } .col-8 { grid-column: span 8 !important; } .col-9 { grid-column: span 9 !important; } .col-12 { grid-column: span 12 !important; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label { font-weight: 600; font-size: .88rem; color: var(--ink); }
.field .req { color: var(--bad); }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=tel], .field input[type=number], .field input[type=date], .field input[type=url], .field select, .field textarea, .field input[type=file] {
  width: 100%; padding: 10px 13px; border: 1.5px solid #E0CDB6; border-radius: 9px; background: #fff; font: 400 .95rem var(--font); color: var(--text); transition: border .15s, box-shadow .15s; }
.field input[type=file] { padding: 8px; background: #FFFCF8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(128,0,32,.14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--bad); }
.field .help { color: var(--muted); font-size: .8rem; }
.field .err { color: var(--bad); font-size: .82rem; font-weight: 500; }
.field textarea { resize: vertical; min-height: 90px; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; cursor: pointer; }
label.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.form-actions { grid-column: span 12; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding-top: 6px; }
.form-section { grid-column: span 12; font: 700 .78rem var(--font-h); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-top: 8px; }
.form-full { grid-column: span 12; }
.auth-wrap { max-width: 460px; margin: 44px auto 0; }
.auth-wrap.wide { max-width: 760px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 1.6rem; }
.auth-alt { text-align: center; margin-top: 16px; font-size: .92rem; color: var(--muted); }
.inline-form { display: inline; }
.filter-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 16px; }
.filter-form .field { min-width: 160px; }
.filter-form input, .filter-form select { padding: 9px 12px !important; }
.hidden { display: none !important; }

/* Wizard progress */
.wizard { display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.wiz-step { flex: 1; min-width: 96px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--muted); display: flex; gap: 8px; align-items: center; text-decoration: none !important; }
.wiz-step i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--line-2); font-size: .74rem; flex: none; }
.wiz-step.done { color: var(--ok); } .wiz-step.done i { background: var(--ok); color: #fff; }
.wiz-step.on { border-color: var(--brand); color: var(--brand-d); background: var(--brand-l); } .wiz-step.on i { background: var(--brand); color: #fff; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font: 600 .74rem var(--font); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 11px 14px; border-bottom: 1px solid var(--line); background: #FBF3E9; white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #FFFAF3; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table .sub { display: block; font-size: .8rem; color: var(--muted); }
.table a.strong { font-weight: 600; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .74rem; font-weight: 600; white-space: nowrap; }
.badge-green { background: var(--ok-l); color: var(--ok); }
.badge-amber { background: var(--warn-l); color: var(--warn); }
.badge-red { background: var(--bad-l); color: var(--bad); }
.badge-blue { background: var(--info-l); color: var(--info); }
.badge-grey { background: #eceff3; color: #475467; }
.empty { text-align: center; padding: 44px 20px; color: var(--muted); }
.empty .ei { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; background: var(--line-2); display: grid; place-items: center; color: var(--muted); }
.empty h4 { color: var(--ink); margin-bottom: 4px; }
.pager { display: flex; gap: 6px; justify-content: center; margin: 24px 0 0; flex-wrap: wrap; }
.pg { padding: 7px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: .88rem; font-weight: 600; text-decoration: none !important; }
a.pg:hover { border-color: var(--brand); }
.pg.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.pg.disabled, .pg.gap { color: #b0b6c3; background: transparent; border-color: transparent; }

/* ---------- Dashboard panel ---------- */
.panel-body { background: #FBF4EA; }
.panel { display: flex; min-height: 100vh; }
.sidebar { width: 252px; background: #3A0A14; color: #EBD9CF; padding: 18px 12px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; flex: none; }
.area-admin .sidebar { background: #2B0A12; }
.area-buyer .sidebar { background: #5E0018; }
.area-manufacturer .sidebar { background: #3B1420; }
.area-affiliate .sidebar { background: #4A2018; }
.brand-side { padding: 4px 8px 20px; color: #fff; }
.brand-side .brand-t { color: #fff; }
.brand-side .brand-t small { color: #D9B9B0; }
.brand-side .brand-t b { color: #F7C5CD; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a, .side-foot a, .side-foot button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; color: #EBD9CF; font-weight: 500; font-size: .9rem; text-decoration: none; background: none; border: 0; width: 100%; cursor: pointer; font-family: var(--font); text-align: left; }
.side-nav a:hover, .side-foot a:hover, .side-foot button:hover { background: rgba(255,255,255,.08); color: #fff; }
.side-nav a.active { background: rgba(255,255,255,.14); color: #fff; font-weight: 600; box-shadow: inset 3px 0 0 var(--rose); }
.side-nav .count { margin-left: auto; font-style: normal; background: var(--rose); color: #fff; border-radius: 99px; font-size: .7rem; font-weight: 700; padding: 1px 8px; }
.side-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.panel-main { flex: 1; min-width: 0; padding: 0 28px 40px; }
.panel-top { display: flex; align-items: center; gap: 14px; padding: 16px 0; position: sticky; top: 0; z-index: 20; background: #FBF4EA; }
.panel-title { font-size: 1.4rem; margin: 0; }
.side-toggle { display: none; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 8px; cursor: pointer; color: var(--ink); }
.bell { position: relative; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; }
.top-home { border-radius: 99px; height: 40px; padding: 0 14px; color: var(--brand); font-weight: 700; }
@media (max-width: 520px) { .top-home span { display: none; } .top-home { width: 40px; padding: 0; justify-content: center; } }
.bell em { position: absolute; top: -4px; right: -4px; background: var(--rose); color: #fff; border-radius: 99px; font: 700 .65rem var(--font); padding: 2px 6px; font-style: normal; }
.me { display: flex; gap: 10px; align-items: center; }
.me-av { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font: 800 1rem var(--font-h); }
.me-t { display: flex; flex-direction: column; line-height: 1.2; font-size: .86rem; }
.me-t small { color: var(--muted); font-size: .74rem; }
.side-backdrop { display: none; }
.panel-content > * + * { margin-top: 20px; }
.page-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.page-actions h2 { margin: 0; font-size: 1.25rem; }

.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 16px; }
.stat { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; color: var(--text); text-decoration: none !important; }
a.stat:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.stat-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-l); color: var(--brand-d); display: grid; place-items: center; flex: none; }
.stat-v { font: 800 1.45rem var(--font-h); color: var(--ink); line-height: 1.1; }
.stat-l { font-size: .82rem; color: var(--muted); }
.stat-s { font-size: .76rem; margin-top: 2px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cols-3-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.cols-2 > *, .cols-3-1 > * { min-width: 0; margin-top: 0 !important; }
/* requirement desk: buyer & product cards side by side only when there is room */
.req-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 20px; }
.req-details > * { min-width: 0; margin-top: 0 !important; }
.req-details dd { overflow-wrap: anywhere; }

.bars { display: flex; flex-direction: column; gap: 9px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 90px; gap: 10px; align-items: center; font-size: .84rem; }
.bar-l { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-t { height: 10px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.bar-f { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--rose)); border-radius: 99px; }
.bar-v { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

dl.details { display: grid; grid-template-columns: 170px 1fr; gap: 9px 16px; margin: 0; font-size: .92rem; }
dl.details dt { color: var(--muted); }
dl.details dd { margin: 0; word-break: break-word; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 18px 26px; font-size: .9rem; }
.timeline li::before { content: ''; position: absolute; left: 4px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-l); }
.timeline li::after { content: ''; position: absolute; left: 8px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline small { color: var(--muted); display: block; }
.progress-track { display: flex; gap: 4px; margin: 6px 0 2px; }
.progress-track i { flex: 1; height: 6px; border-radius: 4px; background: var(--line); }
.progress-track i.on { background: var(--ok); }
.progress-track i.cur { background: var(--brand); }
.msgs { display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: .92rem; white-space: pre-wrap; }
.msg.me { align-self: flex-end; background: var(--brand-l); border-color: #F0C9CF; }
.msg.internal { background: var(--warn-l); border-color: #f3dc9a; }
.msg small { display: block; color: var(--muted); margin-bottom: 4px; font-size: .74rem; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; flex-wrap: wrap; }
.tabs a { padding: 9px 16px; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 600; font-size: .9rem; text-decoration: none; margin-bottom: -1px; }
.tabs a.on { color: var(--brand-d); border-color: var(--brand); }
.tabs a small { background: var(--line-2); border-radius: 99px; padding: 1px 8px; margin-left: 4px; }
.copy-box { display: flex; gap: 8px; }
.copy-box input { flex: 1; padding: 11px 13px; border: 1.5px dashed #D9BFA0; border-radius: 9px; background: #FFFCF8; font: 600 .9rem var(--font); min-width: 0; }
.big-code { font: 800 2rem var(--font-h); letter-spacing: .08em; color: var(--ink); }
.doc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.doc-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: #FFFCF8; font-size: .88rem; }
.doc-list li .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.media-grid figure { margin: 0; position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.media-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.media-grid figcaption { padding: 6px 8px; font-size: .76rem; color: var(--muted); }
.media-grid form { position: absolute; top: 6px; right: 6px; }
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.calc-box { background: #FFFCF8; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: .9rem; }
.calc-box .row { display: flex; justify-content: space-between; padding: 3px 0; }
.calc-box .row.t { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; font-weight: 700; font-size: 1rem; }
.internal-only { border-left: 4px solid var(--warn); background: var(--warn-l); padding: 10px 14px; border-radius: 8px; font-size: .85rem; color: #7a4600; }
.invoice { background: #fff; max-width: 860px; margin: 0 auto; padding: 40px; border: 1px solid var(--line); border-radius: 10px; }
.invoice h2 { margin-bottom: 4px; }
.invoice table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .9rem; }
.invoice th, .invoice td { border: 1px solid #E0CDB6; padding: 8px 10px; text-align: left; }
.invoice th { background: var(--sand); }
.invoice td.num, .invoice th.num { text-align: right; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalogue { grid-template-columns: 1fr; }
  .filters { position: static; }
  .pd { grid-template-columns: 1fr; }
  .cols-2, .cols-3-1 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); margin: 0; gap: 2px; }
  .main-nav.open { display: flex; }
  .nav-actions { border: 0; padding: 10px 0 0; margin: 6px 0 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
  .sidebar { position: fixed; left: -270px; top: 0; z-index: 90; transition: left .22s; }
  .sidebar.open { left: 0; box-shadow: var(--shadow-lg); }
  .side-backdrop.open { display: block; position: fixed; inset: 0; background: rgba(43,18,22,.5); z-index: 80; }
  .side-toggle { display: block; }
  .panel-main { padding: 0 16px 30px; }
  .me-t { display: none; }
}
@media (max-width: 640px) {
  h1 { font-size: 1.8rem; } h2 { font-size: 1.4rem; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 34px 0 30px; }
  .grid-2, .grid-3, .grid-4, .grid-6, .steps, .trust-strip, .footer-grid { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .form-grid > .field, .field[class*=col-] { grid-column: span 12 !important; }
  .search-bar { flex-wrap: wrap; } .search-bar select { max-width: none; border-left: 0; width: 100%; border-top: 1px solid var(--line); }
  .search-bar .btn { width: 100%; margin-top: 4px; }
  .hide-sm { display: none; }
  .cta-band { padding: 28px; }
  dl.details { grid-template-columns: 1fr; gap: 2px 0; } dl.details dt { margin-top: 10px; }
  .bar-row { grid-template-columns: 80px 1fr 70px; }
  .msg { max-width: 100%; }
  .topbar-in { gap: 14px; font-size: .74rem; }
  .invoice { padding: 18px; }
}
@media print {
  .topbar, .site-header, .site-footer, .sidebar, .panel-top, .no-print, .flash-wrap, .alert { display: none !important; }
  body, .panel-body { background: #fff; }
  .panel-main { padding: 0; } .invoice { border: 0; padding: 0; max-width: none; }
}

/* ================= v2 additions (Oct 2026 change list) ================= */

/* Home hero: the district map sits on the right, as on the original home page */
.hero-grid.has-map { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; }
.hero-grid.has-map h1 { font-size: 2.7rem; }
.map-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 16px 16px 14px; box-shadow: var(--shadow-lg); scroll-margin-top: 90px; }
.map-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; margin: 2px 4px 10px; }
.map-card-head h2 { font-size: 1.1rem; margin: 0; }
.map-card-head span { font-size: .8rem; color: var(--muted); }
.map-frame { background: var(--cream); border: 1px solid var(--line-2); border-radius: 16px; padding: 8px; }
.map-hint { display: flex; align-items: center; gap: 4px 12px; flex-wrap: wrap; min-height: 44px; margin-top: 10px; padding: 8px 12px; background: var(--sand); border-radius: 12px; font-size: .88rem; color: var(--ink-2); }
.map-hint .mh-name { font: 800 1rem var(--font-h); color: var(--brand); }
.map-hint .mh-n b { color: var(--ink); }
.map-hint .mh-go { margin-left: auto; font-weight: 700; color: var(--brand); white-space: nowrap; }
.map-jump { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .84rem; }
.map-jump label { color: var(--muted); white-space: nowrap; }
.map-jump select { flex: 1; min-width: 0; padding: 7px 10px; border: 1.5px solid #E0CDB6; border-radius: 9px; font: 500 .88rem var(--font); background: #fff; color: var(--ink); }

/* District map */
.gj-map { width: 100%; height: auto; display: block; }
.gj-map .dist path { fill: var(--c); stroke: #6F4B52; stroke-width: .9; stroke-linejoin: round; transition: fill .15s ease; cursor: pointer; }
.gj-map .dist:hover path, .gj-map .dist:focus path, .gj-map .dist.on path { fill: var(--brand); }
.gj-map .dist:focus { outline: none; }
.gj-map .gj-labels text { font-family: var(--font); font-weight: 700; fill: var(--ink); text-anchor: middle; dominant-baseline: central; paint-order: stroke; stroke: rgba(255,255,255,.85); stroke-width: 2.6px; stroke-linejoin: round; pointer-events: none; transition: fill .15s; }
.gj-map .gj-labels text.on { fill: #fff; stroke: rgba(80,0,20,.55); }

/* Manufacturers page: search + city / industry filters in the sidebar, 3 cards per row */
.mfr-catalogue { grid-template-columns: 250px minmax(0, 1fr); }
.mfr-catalogue .filters { max-height: calc(100vh - 110px); overflow: auto; }
.filters .f-label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.filters .f-search { display: flex; gap: 6px; }
.filters .f-search input { flex: 1; min-width: 0; padding: 8px 10px; border: 1.5px solid #E0CDB6; border-radius: 9px; font: 500 .9rem var(--font); }
.filters .f-hint { display: block; font-size: .76rem; color: var(--muted); margin-top: 5px; }
.fgroup { border-top: 1px solid var(--line-2); margin-top: 14px; padding-top: 4px; }
.fgroup summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; list-style: none; padding: 8px 0; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: '▾'; color: var(--muted); font-size: .8rem; }
.fgroup[open] summary::after { content: '▴'; }
.fgroup summary h4 { margin: 0 !important; }
.fgroup .fg-cur { margin-left: auto; font-size: .8rem; font-weight: 700; color: var(--brand); }
.filters a.f span { display: inline-flex; align-items: center; gap: 5px; }
.filters a.f.sub { padding-left: 28px; font-size: .86rem; }
.filters a.f.sub span::before { content: '›'; color: var(--muted); margin-right: 2px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.active-filters .chip { padding: 5px 12px; font-size: .82rem; border-color: var(--brand); background: var(--brand-l); color: var(--brand-d); }

/* City pages */
.city-hero { background: linear-gradient(120deg, var(--brand) 0, #4A0013 100%); color: #fff; padding: 38px 0 30px; }
.city-hero h1 { color: #fff; margin-bottom: 6px; }
.city-hero p { color: var(--sand); margin: 0; }
.city-hero .crumbs, .city-hero .crumbs a { color: #F0C9CF; }
.city-hero .stat-row { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 18px; }
.city-hero .stat-row b { display: block; font: 800 1.5rem var(--font-h); color: #fff; }
.city-hero .stat-row span { font-size: .8rem; color: var(--sand); }

/* Manufacturer cards: always 3 per row, identical structure */
.mfr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mfr-card { display: grid; grid-template-rows: auto auto 1fr auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: var(--text); text-decoration: none !important; transition: all .18s; height: 100%; }
.mfr-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #E0C9AE; }
.mfr-card .mc-top { display: flex; gap: 12px; align-items: center; padding: 16px 16px 12px; background: linear-gradient(180deg, var(--sand), #fff); min-height: 88px; }
.mfr-card .mc-top h3 { font-size: 1rem; margin: 0 0 3px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mfr-card .m-logo { width: 52px; height: 52px; border-radius: 12px; font-size: 1.2rem; }
.mfr-card .mc-rating { padding: 0 16px; display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); min-height: 22px; }
.mfr-card table { width: 100%; border-collapse: collapse; font-size: .84rem; margin: 6px 0 0; align-self: start; }
.mfr-card th, .mfr-card td { padding: 7px 16px; border-top: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.mfr-card th { width: 38%; color: var(--muted); font-weight: 500; }
.mfr-card td { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 0; }
.mfr-card .mc-foot { padding: 12px 16px 16px; display: flex; gap: 8px; }
.mfr-card .mc-foot span { flex: 1; text-align: center; padding: 9px 10px; border-radius: 9px; font-weight: 600; font-size: .86rem; background: var(--brand); color: #fff; }
.mfr-card .mc-foot span.alt { background: var(--brand-l); color: var(--brand); }

/* Stars */
.stars { display: inline-flex; gap: 1px; vertical-align: -2px; }
.stars .st { fill: #E6D6C3; }
.stars .st.on { fill: #E0A82E; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; font-size: 1.9rem; line-height: 1; color: #E6D6C3; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #E0A82E; }

/* Manufacturer profile (per GW mockup) */
.mp-hero { background: radial-gradient(900px 300px at 85% 0, rgba(212,80,96,.35), transparent 60%), linear-gradient(120deg, #2B0A12 0, #5E0018 100%); color: #fff; padding: 34px 0; }
.mp-hero .container { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.mp-logo { width: 96px; height: 96px; border-radius: 20px; background: var(--sand); display: grid; place-items: center; font: 800 2.2rem var(--font-h); color: var(--brand); overflow: hidden; flex: none; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.mp-logo img { width: 100%; height: 100%; object-fit: cover; }
.mp-title { flex: 1; min-width: 260px; }
.mp-title h1 { color: #fff; font-size: 2rem; margin: 0 0 8px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mp-badge { display: inline-flex; align-items: center; gap: 5px; background: #1f9d55; color: #fff; border-radius: 99px; padding: 4px 12px; font: 700 .8rem var(--font); }
.mp-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: .9rem; color: #F3DCE0; }
.mp-meta span { display: inline-flex; gap: 6px; align-items: center; }
.mp-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mp-actions .btn-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.mp-actions .btn-light:hover { background: rgba(255,255,255,.18); }
.mp-strip { background: var(--sand); border-bottom: 1px solid #E3CDB2; }
.mp-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 16px; padding-bottom: 16px; }
.mp-strip div { display: flex; gap: 12px; align-items: center; }
.mp-strip .ic-b { width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--brand); display: grid; place-items: center; flex: none; }
.mp-strip small { display: block; color: var(--muted); font-size: .76rem; }
.mp-strip b { color: var(--brand); font-size: .92rem; }
.mp-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; padding-top: 34px; }
.mp-facts { display: flex; flex-direction: column; gap: 12px; }
.mp-fact { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.mp-fact small { display: block; color: var(--muted); font-size: .78rem; margin-bottom: 3px; }
.mp-fact b { color: var(--ink); font-family: var(--font-h); letter-spacing: .02em; word-break: break-word; }
.mp-fact.ok { background: #EFF8F2; border-color: #BFE3CC; color: #0d5c37; display: flex; gap: 10px; align-items: flex-start; }
.mp-fact.ok b { color: #0d5c37; letter-spacing: 0; }

/* Tabs (JS enhanced; without JS all panels show) */
.tabset .tab-btns { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin: 34px 0 20px; flex-wrap: wrap; }
.tabset .tab-btns button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 11px 16px; font: 600 .95rem var(--font); color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.tabset .tab-btns button.on { color: var(--brand); border-color: var(--brand); }
.tabset.js .tab-panel { display: none; }
.tabset.js .tab-panel.on { display: block; }
.review { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.review + .review { margin-top: 12px; }
.review .rv-h { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.rating-sum { display: flex; gap: 22px; align-items: center; background: var(--sand); border-radius: 14px; padding: 16px 20px; margin-bottom: 16px; }
.rating-sum b { font: 800 2.4rem var(--font-h); color: var(--brand); line-height: 1; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: .8rem; color: var(--muted); padding: 6px 2px 0; }

/* Back office: quick contact & flow checklists */
.quick-contact { display: flex; gap: 6px; flex-wrap: wrap; }
.qc { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 8px; font: 600 .82rem var(--font); text-decoration: none !important; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.qc:hover { border-color: var(--brand); color: var(--brand); }
.qc-call { background: var(--brand); border-color: var(--brand); color: #fff; }
.qc-call:hover { background: var(--brand-d); color: #fff; }
.qc-wa { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.qc-wa:hover { background: #157a41; color: #fff; }
.flow-steps { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.flow-steps span { flex: 1; min-width: 110px; padding: 9px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .78rem; font-weight: 600; color: var(--muted); text-align: center; }
.flow-steps span.done { background: #EFF8F2; border-color: #BFE3CC; color: var(--ok); }
.flow-steps span.cur { background: var(--brand-l); border-color: var(--brand); color: var(--brand); }
.cl-row { display: grid; grid-template-columns: 28px 1fr; gap: 8px 10px; padding: 11px 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.cl-row:last-child { border-bottom: 0; }
.cl-row input[type=checkbox] { width: 19px; height: 19px; accent-color: var(--brand); margin-top: 2px; }
.cl-row .cl-meta { font-size: .76rem; color: var(--muted); }
.cl-row .cl-extra { grid-column: 2; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cl-row .cl-extra input { padding: 7px 10px; border: 1.5px solid #E0CDB6; border-radius: 8px; font: 400 .9rem var(--font); max-width: 220px; }
.cl-done { color: var(--ok); font-weight: 700; }
.lock-note { background: #FBF3E9; border: 1px dashed #D9BFA0; border-radius: 10px; padding: 10px 14px; font-size: .86rem; color: var(--ink-2); }
.doc-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.doc-row:last-child { border-bottom: 0; }
.otp-box { font: 800 2.2rem var(--font-h); letter-spacing: .35em; color: var(--brand); background: var(--brand-l); border: 2px dashed var(--brand); border-radius: 14px; padding: 12px 18px; display: inline-block; }

/* Shipping-partner scan page (mobile first) */
.scan-wrap { max-width: 520px; margin: 0 auto; padding: 18px 16px 40px; }
.scan-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.scan-card + .scan-card { margin-top: 14px; }
.scan-status { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.scan-card .field input { font-size: 1.05rem; }
.otp-input { font: 800 1.8rem var(--font-h) !important; letter-spacing: .4em; text-align: center; }

/* Printable shipping bill */
.ship-bill { background: #fff; max-width: 820px; margin: 0 auto; border: 2px solid var(--ink); border-radius: 6px; }
.ship-bill .sb-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 2px solid var(--ink); }
.ship-bill .sb-grid { display: grid; grid-template-columns: 1fr 1fr; }
.ship-bill .sb-cell { padding: 14px 20px; border-bottom: 1px solid #ccc; }
.ship-bill .sb-cell + .sb-cell { border-left: 1px solid #ccc; }
.ship-bill small { display: block; text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; color: #666; margin-bottom: 3px; }
.ship-bill .sb-qr { display: flex; gap: 22px; align-items: center; padding: 18px 20px; }
.ship-bill .sb-qr canvas, .ship-bill .sb-qr img, .ship-bill .sb-qr svg { width: 180px; height: 180px; image-rendering: pixelated; }
.ship-bill .sb-code { font: 800 1.3rem var(--font-h); letter-spacing: .08em; }

.home-link { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 1080px) {
  .hero-grid.has-map { grid-template-columns: 1fr; }
  .map-card { max-width: 720px; width: 100%; margin: 0 auto; }
  .mfr-catalogue { grid-template-columns: 1fr; }
  .mfr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-body { grid-template-columns: 1fr; }
  .mp-strip .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .mfr-grid, .gallery { grid-template-columns: 1fr; }
  .hero-grid.has-map h1 { font-size: 2rem; }
  .map-card { padding: 12px 10px 10px; border-radius: 18px; }
  .map-frame { padding: 4px; }
  .map-hint .mh-go { margin-left: 0; }
  .mp-title h1 { font-size: 1.5rem; }
  .mp-strip .container { grid-template-columns: 1fr; }
  .ship-bill .sb-grid { grid-template-columns: 1fr; }
  .ship-bill .sb-cell + .sb-cell { border-left: 0; }
}
@media print {
  .ship-bill { border-width: 2px; }
  .scan-wrap { max-width: none; }
}