/* ==========================================================================
   WhatsOrder — Storefront styles
   Fonts: Plus Jakarta Sans (SIL Open Font License) via Google Fonts
   ========================================================================== */

:root {
  --brand: #22c55e;
  --brand-600: #16a34a;
  --brand-700: #15803d;
  --brand-50: #f0fdf4;
  --brand-100: #dcfce7;
  --wa: #25d366;
  --ink: #0b1220;
  --ink-2: #1e293b;
  --muted: #64748b;
  --line: #e7ebf1;
  --bg: #f6f8fb;
  --card: #ffffff;
  --danger: #ef4444;
  --warn: #f59e0b;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .06);
  --shadow: 0 10px 30px -12px rgba(11, 18, 32, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 18, 32, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.ic { flex-shrink: 0; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(34, 197, 94, .45); outline-offset: 2px; border-radius: 8px; }

/* ---------- Announcement + header ---------- */
.demo-store-bar { background: linear-gradient(90deg, #1e1b4b, #312e81); color: #e0e7ff; font-size: 13px; font-weight: 600; text-align: center; padding: 8px 16px; display: flex; align-items: center; justify-content: center; gap: 8px; border-bottom: 1px solid #4338ca; }
.demo-store-bar strong { color: #f59e0b; }
.announce { background: linear-gradient(90deg, #15803d, #22c55e, #15803d); background-size: 200% 100%; animation: shimmer 8s linear infinite; color: #fff; font-size: 13px; font-weight: 600; text-align: center; padding: 9px 16px; }
@keyframes shimmer { to { background-position: -200% 0; } }

.topbar { position: sticky; top: 0; z-index: 50; background: rgba(11, 18, 32, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); color: #fff; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #4ade80, #16a34a); box-shadow: 0 6px 18px -4px rgba(34, 197, 94, .6); color: #fff; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #cbd5e1; padding: 9px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover, .nav a.active { color: #fff; background: rgba(255, 255, 255, .08); }
.nav .nav-cart { background: var(--brand); color: #052e16; position: relative; }
.nav .nav-cart:hover { background: #4ade80; color: #052e16; }
.nav-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #052e16; color: #fff; font-size: 11px; display: inline-grid; place-items: center; }
@media (max-width: 560px) { .nav a span.lbl { display: none; } .nav a { padding: 9px 11px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: 64px 0 88px; background: radial-gradient(1200px 500px at 85% -10%, rgba(34, 197, 94, .35), transparent 60%), radial-gradient(800px 400px at -10% 110%, rgba(20, 184, 166, .25), transparent 60%), linear-gradient(160deg, #0b1220 0%, #0f1f2e 55%, #0b2a22 100%); }
.hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000 30%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent); pointer-events: none; }
.hero .container { position: relative; z-index: 1; text-align: center; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); margin-bottom: 18px; }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: pulse 2s infinite; }
.status-pill.closed .dot { background: var(--danger); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.hero h1 { font-size: clamp(32px, 5.5vw, 56px); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; margin-bottom: 14px; }
.hero h1 .grad { background: linear-gradient(90deg, #86efac, #34d399, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: #a7b4c6; font-size: clamp(15px, 2vw, 18px); max-width: 560px; margin: 0 auto 28px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 26px; font-size: 13px; color: #a7b4c6; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .ic { color: #4ade80; }

.searchbar { max-width: 560px; margin: 0 auto; position: relative; }
.searchbar .ic { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.searchbar input { width: 100%; height: 58px; padding: 0 130px 0 52px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); background: #fff; color: var(--ink); font-size: 15px; box-shadow: var(--shadow-lg); transition: box-shadow .2s; }
.searchbar input:focus { outline: none; box-shadow: 0 0 0 5px rgba(34, 197, 94, .25), var(--shadow-lg); }
.searchbar button { position: absolute; right: 6px; top: 6px; height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; transition: background .2s; }
.searchbar button:hover { background: var(--brand-700); }

/* ---------- Category bar ---------- */
.cats-wrap { position: sticky; top: 64px; z-index: 40; margin-top: -30px; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 10px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat-pill { white-space: nowrap; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s; display: inline-flex; align-items: center; gap: 8px; }
.cat-pill:hover { background: #f1f5f9; }
.cat-pill.active { background: var(--ink); color: #fff; }
.cat-pill small { font-size: 11px; opacity: .6; font-weight: 700; }

/* ---------- Menu ---------- */
.menu-sec { padding: 26px 0 60px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 34px 0 16px; }
.sec-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.sec-head span { color: var(--muted); font-size: 13px; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); animation: rise .5s var(--ease) both; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.card .ph { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #ecfdf5, #d1fae5); display: grid; place-items: center; color: var(--brand-600); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .ph img { transform: scale(1.06); }
.card .ph .tag { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--ink-2); }
.card .body { padding: 16px 16px 18px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; display: flex; align-items: flex-start; gap: 8px; }
.veg { display: inline-block; width: 14px; height: 14px; border: 2px solid #16a34a; border-radius: 3px; position: relative; flex-shrink: 0; margin-top: 3px; }
.veg::after { content: ''; position: absolute; inset: 2px; background: #16a34a; border-radius: 50%; }
.veg.nonveg { border-color: #dc2626; }
.veg.nonveg::after { background: #dc2626; }
.card .desc { font-size: 13px; color: var(--muted); flex: 1; margin-bottom: 14px; }
.card .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 800; font-size: 18px; letter-spacing: -.02em; }

.add-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px; border-radius: 12px; border: 1.5px solid var(--brand); background: var(--brand-50); color: var(--brand-700); font-weight: 800; font-size: 13px; letter-spacing: .04em; transition: all .2s var(--ease); }
.add-btn:hover { background: var(--brand); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(34, 197, 94, .8); }
.add-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.qty-ctl { display: inline-flex; align-items: center; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; overflow: hidden; box-shadow: 0 8px 18px -8px rgba(34, 197, 94, .8); animation: pop .25s var(--ease); }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.qty-ctl button { width: 36px; height: 100%; border: 0; background: transparent; color: #fff; display: grid; place-items: center; transition: background .15s; }
.qty-ctl button:hover { background: rgba(0, 0, 0, .12); }
.qty-ctl span { min-width: 26px; text-align: center; font-weight: 800; font-size: 14px; }
.qty-ctl.sm { height: 32px; border-radius: 10px; box-shadow: none; }
.qty-ctl.sm button { width: 30px; }

.empty { text-align: center; color: var(--muted); padding: 70px 20px; }
.empty .ic { color: #cbd5e1; margin: 0 auto 14px; }
.empty h3 { color: var(--ink); font-size: 18px; margin-bottom: 6px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 14px; border: 0; font-weight: 700; font-size: 15px; transition: all .2s var(--ease); white-space: nowrap; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { background: #f8fafc; }
.btn-wa { background: linear-gradient(135deg, #25d366, #16a34a); color: #fff; box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .8); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(37, 211, 102, .9); }
.btn-block { width: 100%; }
.btn-lg { height: 56px; font-size: 16px; border-radius: 16px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ---------- Floating cart bar ---------- */
.cartbar { position: fixed; left: 50%; bottom: 20px; z-index: 60; width: calc(100% - 32px); max-width: 520px; transform: translate(-50%, 140%); transition: transform .45s var(--ease); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 20px; background: rgba(11, 18, 32, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .08); }
.cartbar.show { transform: translate(-50%, 0); }
.cartbar .info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cartbar .bag { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #4ade80; flex-shrink: 0; }
.cartbar .count { font-size: 12px; color: #94a3b8; font-weight: 600; }
.cartbar .total { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.cartbar .btn { height: 46px; border-radius: 14px; }
.cartbar.bump .bag { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.2) rotate(-6deg); } }

/* ---------- Toast ---------- */
.toast { position: fixed; top: 80px; left: 50%; transform: translate(-50%, -20px); opacity: 0; pointer-events: none; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); display: inline-flex; align-items: center; gap: 10px; transition: all .35s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .ic { color: #4ade80; }
.toast.err .ic { color: #f87171; }

/* ---------- Generic pages ---------- */
.page { padding: 40px 0 80px; }
.page-head { margin-bottom: 26px; }
.page-head h1 { font-size: clamp(26px, 3.5vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.page-head p { color: var(--muted); margin-top: 4px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 14px; transition: color .2s; }
.back-link:hover { color: var(--ink); }
.panel { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 26px; }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.panel h2 .num { width: 28px; height: 28px; border-radius: 9px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; font-size: 13px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.sticky-col { position: sticky; top: 90px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .sticky-col { position: static; } }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 7px; }
.field label em { color: var(--danger); font-style: normal; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 13px; font-size: 15px; background: #fbfcfe; transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(34, 197, 94, .14); }
.field textarea { resize: vertical; min-height: 88px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.pay-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .pay-opts { grid-template-columns: 1fr; } }
.pay-opts label { position: relative; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 10px; transition: all .2s; background: #fbfcfe; }
.pay-opts label:hover { border-color: #cbd5e1; }
.pay-opts input { position: absolute; opacity: 0; }
.pay-opts .ic { color: var(--muted); }
.pay-opts label:has(input:checked) { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 4px rgba(34, 197, 94, .12); }
.pay-opts label:has(input:checked) .ic { color: var(--brand-700); }

.sum-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sum-item img, .sum-item .noimg { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: var(--brand-50); display: grid; place-items: center; color: var(--brand-600); flex-shrink: 0; }
.sum-item .nm { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; }
.sum-item .nm small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.sum-item .amt { font-weight: 800; font-size: 14px; }
.line { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; color: var(--ink-2); }
.line.disc { color: var(--brand-700); font-weight: 700; }
.line.total { font-size: 20px; font-weight: 800; color: var(--ink); border-top: 2px dashed var(--line); margin-top: 8px; padding-top: 14px; letter-spacing: -.02em; }
.coupon-row { display: flex; gap: 8px; margin: 16px 0 10px; }
.coupon-row input { flex: 1; min-width: 0; padding: 12px 14px; border: 1.5px dashed #cbd5e1; border-radius: 12px; text-transform: uppercase; font-weight: 700; letter-spacing: .05em; background: #fbfcfe; }
.coupon-row input:focus { outline: none; border-color: var(--brand); }
.coupon-row button { padding: 0 18px; border-radius: 12px; border: 0; background: var(--ink); color: #fff; font-weight: 700; }
.coupon-applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--brand-50); border: 1.5px dashed var(--brand); color: var(--brand-700); border-radius: 12px; padding: 10px 14px; margin: 16px 0 10px; font-size: 14px; font-weight: 700; }
.coupon-applied button { border: 0; background: none; color: var(--danger); display: grid; place-items: center; }
.hint { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.progress-note { font-size: 13px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }

/* ---------- Alerts ---------- */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin-bottom: 18px; font-size: 14px; font-weight: 600; border: 1px solid; }
.alert.err { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert.ok { background: var(--brand-50); border-color: #bbf7d0; color: #14532d; }
.alert.warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }

/* ---------- Success ---------- */
.success-box { max-width: 560px; margin: 0 auto; text-align: center; padding: 40px 30px; }
.success-icon { width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%; background: radial-gradient(circle, #4ade80, #16a34a); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 12px var(--brand-50), 0 20px 40px -12px rgba(34, 197, 94, .7); animation: popIn .6s var(--ease) both; }
@keyframes popIn { 0% { transform: scale(0); } 70% { transform: scale(1.1); } }
.success-box h1 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.success-box p { color: var(--muted); }
.ordnum { display: inline-flex; align-items: center; gap: 10px; background: var(--bg); border: 2px dashed #cbd5e1; border-radius: 14px; padding: 12px 22px; font-size: 22px; font-weight: 800; margin: 20px 0 8px; letter-spacing: .04em; }
.ordnum button { border: 0; background: none; color: var(--muted); display: grid; place-items: center; }
.ordnum button:hover { color: var(--ink); }
.steps-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; text-align: left; }
.steps-mini div { background: var(--bg); border-radius: 14px; padding: 12px; font-size: 12px; color: var(--muted); }
.steps-mini b { display: block; color: var(--ink); font-size: 13px; margin-bottom: 2px; }
@media (max-width: 520px) { .steps-mini { grid-template-columns: 1fr; } }

/* ---------- Tracking ---------- */
.track-form { display: flex; gap: 10px; }
.track-form input { flex: 1; min-width: 0; }
@media (max-width: 520px) { .track-form { flex-direction: column; } }
.track-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.track-head h2 { margin: 0; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--brand-50); color: var(--brand-700); }
.badge.cancelled { background: #fef2f2; color: #b91c1c; }
.timeline { position: relative; margin: 22px 0 6px; }
.tstep { position: relative; display: flex; gap: 16px; padding: 0 0 26px; }
.tstep:last-child { padding-bottom: 0; }
.tstep::before { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.tstep:last-child::before { display: none; }
.tstep.done::before { background: var(--brand); }
.tdot { width: 40px; height: 40px; border-radius: 50%; background: #f1f5f9; color: #94a3b8; display: grid; place-items: center; flex-shrink: 0; position: relative; z-index: 1; transition: all .3s; }
.tstep.done .tdot { background: var(--brand); color: #fff; }
.tstep.current .tdot { box-shadow: 0 0 0 6px rgba(34, 197, 94, .18); }
.tstep .tt { font-weight: 800; padding-top: 2px; }
.tstep .ts { font-size: 13px; color: var(--muted); }
.tstep:not(.done) .tt { color: #94a3b8; }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: #94a3b8; padding: 48px 0 110px; font-size: 14px; margin-top: 40px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
footer.site .brand { color: #fff; margin-bottom: 10px; }
footer.site p, footer.site li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; list-style: none; }
footer.site .ic { color: #4ade80; margin-top: 2px; }
footer.site .copy { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 30px; padding-top: 20px; font-size: 13px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
footer.site a:hover { color: #fff; }

.closed-banner { background: #fef2f2; color: #991b1b; border-bottom: 1px solid #fecaca; text-align: center; padding: 10px 16px; font-size: 14px; font-weight: 600; }

/* ---------- Pagination ---------- */
.pagination-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0 10px; flex-wrap: wrap; }
.pagination-info { font-size: 13px; color: var(--muted); }
.pagination-info b { color: var(--ink); }
.pagination { display: flex; align-items: center; gap: 6px; }
.pag-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-size: 13px; font-weight: 700; color: var(--ink-2); transition: all 0.2s; text-decoration: none; }
.pag-btn:hover:not(.disabled) { background: #f8fafc; border-color: #cbd5e1; }
.pag-btn.disabled { opacity: 0.4; cursor: not-allowed; background: #f8fafc; }
.pag-num { min-width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--ink-2); border: 1.5px solid transparent; transition: all 0.2s; padding: 0 6px; text-decoration: none; }
.pag-num:hover:not(.active) { background: #f1f5f9; }
.pag-num.active { background: var(--brand); color: #052e16; border-color: var(--brand); font-weight: 800; }
.pag-dots { padding: 0 4px; color: var(--muted); font-size: 13px; }
@media (max-width: 640px) {
  .pagination-bar { flex-direction: column; align-items: center; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
