/* Gujarat Wholesale — design system */
:root {
  --ink: #14213d;
  --ink-2: #2b3a5c;
  --brand: #f26b0f;
  --brand-d: #d4560a;
  --brand-l: #fff1e6;
  --teal: #0e7c7b;
  --teal-l: #e3f4f3;
  --bg: #faf7f2;
  --card: #ffffff;
  --line: #e8e2d6;
  --line-2: #f0ebe1;
  --text: #1c2333;
  --muted: #667085;
  --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(20,33,61,.06), 0 6px 20px rgba(20,33,61,.06);
  --shadow-lg: 0 10px 40px rgba(20,33,61,.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-dark:hover { background: var(--ink-2); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: rgba(20,33,61,.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(--ink); color: #cdd5e6; font-size: .8rem; }
.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: var(--ink); color: #c5cde0; 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: #c5cde0; 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(--brand); }
.muted-l { color: #93a0bd; 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: #93a0bd; }

/* ---------- 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(1200px 500px at 85% -10%, #ffe2c8 0, transparent 60%), linear-gradient(180deg, #fff8ef 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: #48536b; max-width: 560px; margin-bottom: 24px; }
.search-bar { display: flex; background: #fff; border: 2px solid var(--ink); 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); }
.map-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 18px 12px; box-shadow: var(--shadow-lg); position: relative; }
.map-card h4 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.map-card h4 small { font: 500 .72rem var(--font); color: var(--muted); }
.gj-map { width: 100%; height: auto; display: block; }
.gj-map .land { fill: #ffe8d2; stroke: #f26b0f; stroke-width: 1.4; stroke-linejoin: round; }
.gj-map .pin circle.dot { fill: var(--ink); stroke: #fff; stroke-width: 2; transition: all .15s; }
.gj-map .pin text { font: 600 10.5px var(--font); fill: var(--ink); paint-order: stroke; stroke: #ffe8d2; stroke-width: 3px; }
.gj-map .pin:hover circle.dot { fill: var(--brand); r: 8; }
.gj-map .pin .n { font-size: 9px; fill: #fff; text-anchor: middle; stroke: none; font-weight: 700; }
.gj-map a { cursor: pointer; }
.map-note { font-size: .72rem; color: var(--muted); margin: 6px 0 2px; text-align: center; }

/* ---------- Sections & cards ---------- */
.section { padding: 58px 0; }
.section-alt { background: #fff; 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(20,33,61,.03); }
.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: #d9d0bd; }
.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(--ink); }
.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(--teal-l); color: var(--teal); 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(--ink); 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(--ink) 0, #22345f 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(242,107,15,.85); }
.cta-band h2 { color: #fff; margin-bottom: 8px; position: relative; z-index: 1; }
.cta-band p { color: #cdd5e6; 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, #fff8ef, 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 #ffd3b0; border-radius: 12px; padding: 16px 18px; }
.callout.teal { background: var(--teal-l); border-color: #b9e0de; }
.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 #d9d2c3; 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: #fdfbf7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(242,107,15,.16); }
.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: #fdfbf7; 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: #fdfbf7; }
.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(--ink); color: #fff; border-color: var(--ink); }
.pg.disabled, .pg.gap { color: #b0b6c3; background: transparent; border-color: transparent; }

/* ---------- Dashboard panel ---------- */
.panel-body { background: #f5f2eb; }
.panel { display: flex; min-height: 100vh; }
.sidebar { width: 252px; background: var(--ink); color: #c5cde0; padding: 18px 12px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; flex: none; }
.area-admin .sidebar { background: #101a30; }
.area-buyer .sidebar { background: #14213d; }
.area-manufacturer .sidebar { background: #0f3b3a; }
.area-affiliate .sidebar { background: #4a2a12; }
.brand-side { padding: 4px 8px 20px; color: #fff; }
.brand-side .brand-t { color: #fff; }
.brand-side .brand-t small { color: #93a0bd; }
.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: #c5cde0; 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(--brand); }
.side-nav .count { margin-left: auto; font-style: normal; background: var(--brand); 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: #f5f2eb; }
.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; }
.bell em { position: absolute; top: -4px; right: -4px; background: var(--brand); 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; }

.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), #ff9a4d); 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: #ffd3b0; }
.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 #c9bfa8; border-radius: 9px; background: #fffdf8; 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: #fdfbf7; 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: #fdfbf7; 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 #d9d2c3; padding: 8px 10px; text-align: left; }
.invoice th { background: #f5f2eb; }
.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(10,15,30,.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; }
}
