:root {
  --brand: #4f46e5;
  --brand-dark: #4338ca;
  --brand-soft: #eef2ff;
  --accent: #f59e0b;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f8fafc;
  --card: #ffffff;
  --ok: #059669;
  --danger: #dc2626;
  --radius: 12px;
  --radius-sm: 10px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --heading-font: var(--font);
  --text-2: #374151;
  --soft: #f3f4f6;
  --on-brand: #ffffff;
  --on-accent: #111111;
  --topbar-bg: #111827;
  --topbar-text: #e5e7eb;
  --header-bg: #ffffff;
  --footer-bg: #111827;
  --footer-text: #9ca3af;
  --hero: linear-gradient(120deg, #4f46e5, #7c3aed 60%, #db2777);
  --hero-text: #ffffff;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.5; font-size: 15px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; font-family: var(--heading-font); }
h1 { font-size: 28px; } h2 { font-size: 22px; } h3 { font-size: 17px; }

/* Buttons & inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid transparent; background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: 14px; cursor: pointer; transition: .15s; font-family: inherit; }
.btn:hover { background: var(--brand-dark); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.outline { background: var(--card); color: var(--text); border-color: var(--line); }
.btn.outline:hover { border-color: var(--brand); color: var(--brand); }
.btn.accent { background: var(--accent); color: var(--on-accent); }
.btn.accent:hover { background: var(--accent); filter: brightness(.92); }
.btn.danger { background: var(--card); color: var(--danger); border-color: #fecaca; }
.btn.block { width: 100%; }
.btn.lg { padding: 13px 22px; font-size: 15px; }
.btn.sm { padding: 6px 12px; font-size: 13px; }
input, select, textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: var(--card); color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; color: var(--text-2); }
.field { margin-bottom: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }

/* Header */
/* ---- Announcement bar ---- */
.topbar { background: var(--topbar-bg); color: var(--topbar-text); font-size: 13px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 36px; }
.ticker { position: relative; flex: 1; height: 36px; overflow: hidden; }
.tick { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transform: translateY(100%); transition: .45s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; letter-spacing: .1px; }
.tick.on { opacity: 1; transform: none; }
a.tick:hover { text-decoration: underline; }
.topbar-links { display: flex; gap: 18px; white-space: nowrap; opacity: .9; }
.topbar-links a:hover { opacity: 1; text-decoration: underline; }

/* ---- Main header ---- */
header.site { background: var(--header-bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; transition: box-shadow .2s; }
header.site.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
header.site .row { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.logo { font-weight: 800; font-size: 24px; color: var(--brand); letter-spacing: -.5px; white-space: nowrap; font-family: var(--heading-font); display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: var(--logo-h, 60px); min-height: 58px; width: auto; max-width: 260px; object-fit: contain; }
.logo span { color: var(--accent); }
.search { flex: 1; display: flex; max-width: 620px; position: relative; background: var(--soft); border: 2px solid transparent; border-radius: 999px; transition: .2s; }
.search:focus-within { border-color: var(--brand); background: var(--card); box-shadow: 0 0 0 4px var(--brand-soft); }
.search-ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); display: flex; pointer-events: none; }
.search input { border: 0; background: transparent; padding: 13px 12px 13px 46px; border-radius: 999px; font-size: 15px; outline: none; }
.search input:focus { outline: none; }
.search button { border-radius: 999px; margin: 4px; padding: 0 22px; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; font-weight: 600; }
.nav-ic { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 12px; border-radius: 12px; font-size: 12px; color: var(--text-2); position: relative; transition: .15s; }
.nav-ic svg { color: var(--text); }
.nav-ic:hover { background: var(--brand-soft); color: var(--brand); }
.nav-ic:hover svg { color: var(--brand); }
.cart-link { position: relative; }
.badge-count { position: absolute; top: 0; right: 4px; background: var(--accent); color: var(--on-accent); font-style: normal; font-size: 11px; font-weight: 800; border-radius: 999px; min-width: 19px; height: 19px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; border: 2px solid var(--header-bg); }

/* ---- Category chips ---- */
.catbar { background: var(--header-bg); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.catbar::-webkit-scrollbar { display: none; }
.catbar .container { display: flex; gap: 10px; align-items: center; padding-top: 10px; padding-bottom: 10px; white-space: nowrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 600; color: var(--text-2); transition: .15s; }
.chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.chip-ic { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand); }
.chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.chip.active { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.chip.active .chip-ic { background: rgba(255,255,255,.2); color: var(--on-brand); }
.chip.offer { padding: 6px 14px; background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* Hero */
.hero { background: var(--hero); color: var(--hero-text); border-radius: 18px; padding: 56px 44px; margin: 24px 0; position: relative; overflow: hidden; }
.hero h1 { font-size: 40px; max-width: 620px; }
.hero p { font-size: 17px; opacity: .9; max-width: 520px; margin: 0 0 24px; }
.hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: rgba(255,255,255,.1); }

/* Sections & grids */
.section { margin: 36px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.section-head a { color: var(--brand); font-weight: 600; font-size: 14px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.cat-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .15s; }
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-tile img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.cat-tile div { padding: 10px 12px; font-weight: 600; }
.cat-tile small { display: block; color: var(--muted); font-weight: 400; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .15s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard .img { aspect-ratio: 1; background: var(--soft); position: relative; }
.pcard .img img { width: 100%; height: 100%; object-fit: cover; }
.pcard .body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.pcard .cat { font-size: 12px; color: var(--muted); }
.pcard .name { font-weight: 600; margin: 2px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; }
.pcard .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 700; font-size: 17px; }
.mrp { color: var(--muted); text-decoration: line-through; font-size: 13px; margin-left: 6px; font-weight: 400; }
.off { color: var(--ok); font-size: 13px; font-weight: 600; margin-left: 6px; }
.tag { position: absolute; top: 10px; left: 10px; background: var(--ok); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.tag.out { background: #6b7280; }

/* Shop layout */
.shop { display: grid; grid-template-columns: 240px 1fr; gap: 24px; margin: 24px 0; }
.filters .card { position: sticky; top: 130px; }
.filters h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-top: 18px; }
.filters h3:first-child { margin-top: 0; }
.filters .catlist a { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 8px; font-size: 14px; }
.filters .catlist a.active, .filters .catlist a:hover { background: var(--brand-soft); color: var(--brand); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.toolbar select { width: auto; }
.pager { display: flex; gap: 6px; justify-content: center; margin: 28px 0; }
.pager button { min-width: 38px; }

/* Product page */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 28px 0; }
.pdp .gallery { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.pdp .gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp .price { font-size: 28px; }
.pdp .desc { color: var(--text-2); white-space: pre-line; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); }
.qty button { border: 0; background: var(--card); width: 38px; height: 40px; font-size: 18px; cursor: pointer; }
.qty input { width: 48px; border: 0; text-align: center; border-radius: 0; padding: 0; height: 40px; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.perks div { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 13px; text-align: center; }
.stock-ok { color: var(--ok); font-weight: 600; } .stock-low { color: var(--accent); font-weight: 600; } .stock-out { color: var(--danger); font-weight: 600; }
.crumbs { font-size: 13px; color: var(--muted); margin-top: 20px; }
.crumbs a:hover { color: var(--brand); }

/* Cart & checkout */
.two-col { display: grid; grid-template-columns: 1fr 360px; gap: 24px; margin: 24px 0; align-items: start; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; }
.summary .line { display: flex; justify-content: space-between; margin: 8px 0; }
.summary .total { font-size: 18px; font-weight: 700; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.coupon { display: flex; gap: 8px; margin: 12px 0; }
.coupon input { text-transform: uppercase; }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 10px; cursor: pointer; background: var(--card); }
.pay-opt input { width: auto; margin-top: 4px; }
.pay-opt.active { border-color: var(--brand); background: var(--brand-soft); }
.empty { text-align: center; padding: 60px 20px; }
.empty .icon { font-size: 48px; }

/* Auth */
.auth { max-width: 420px; margin: 48px auto; }
.tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs button { flex: 1; background: none; border: 0; padding: 12px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.tabs button.active { color: var(--brand); border-bottom-color: var(--brand); }

/* Status pills */
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; text-transform: capitalize; background: #f3f4f6; color: var(--text-2); }
.pill.pending { background: #fef3c7; color: #92400e; }
.pill.confirmed { background: #dbeafe; color: #1e40af; }
.pill.shipped { background: #e0e7ff; color: #3730a3; }
.pill.delivered, .pill.paid { background: #d1fae5; color: #065f46; }
.pill.cancelled, .pill.failed { background: #fee2e2; color: #991b1b; }
.pill.refunded { background: #f3e8ff; color: #6b21a8; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
.table th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }

.timeline { display: flex; justify-content: space-between; margin: 20px 0 8px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 13px; left: 5%; right: 5%; height: 3px; background: var(--line); }
.timeline .step { position: relative; text-align: center; flex: 1; font-size: 13px; color: var(--muted); }
.timeline .dot { width: 28px; height: 28px; border-radius: 50%; background: var(--card); border: 3px solid var(--line); margin: 0 auto 6px; }
.timeline .step.done { color: var(--text); font-weight: 600; }
.timeline .step.done .dot { background: var(--brand); border-color: var(--brand); }

/* Footer */
footer.site { background: var(--footer-bg); color: var(--footer-text); margin-top: 60px; padding: 40px 0 24px; font-size: 14px; }
footer.site .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 24px; }
footer.site h4 { color: var(--footer-heading, #fff); margin: 0 0 10px; }
footer.site a { display: block; margin: 4px 0; } footer.site a:hover { color: var(--footer-heading, #fff); }
footer.site .copy { border-top: 1px solid #1f2937; margin-top: 24px; padding-top: 16px; font-size: 13px; }

/* Toast */
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: #111827; color: #fff; padding: 12px 20px; border-radius: 10px; opacity: 0; transition: .25s; z-index: 100; pointer-events: none; font-size: 14px; max-width: 90vw; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.error { background: var(--danger); }
.alert { padding: 10px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 14px; background: #fee2e2; color: #991b1b; }
.alert.ok { background: #d1fae5; color: #065f46; }
.skeleton { background: linear-gradient(90deg, var(--soft), var(--line), var(--soft)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 12px; min-height: 280px; }
@keyframes sk { to { background-position: -200% 0; } }
.hidden { display: none !important; }

@media (max-width: 900px) {
  .shop, .two-col, .pdp { grid-template-columns: 1fr; }
  .filters .card { position: static; }
  .hero { padding: 36px 24px; } .hero h1 { font-size: 30px; }
  footer.site .cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  header.site .row { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 10px; }
  .search { order: 3; max-width: none; flex-basis: 100%; }
  .nav { gap: 12px; font-size: 14px; }
  .nav .hide-sm { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .grid2 { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .table.responsive thead { display: none; }
  .table.responsive td { display: block; border: 0; padding: 4px 0; }
  .table.responsive tr { display: block; border-bottom: 1px solid var(--line); padding: 10px 0; }
}

.ship-box { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-top: 12px; }
.track-list { list-style: none; padding: 0 0 0 16px; margin: 14px 0 0; border-left: 2px solid var(--line); }
.track-list li { position: relative; padding: 0 0 12px 10px; font-size: 14px; }
.track-list li::before { content: ''; position: absolute; left: -23px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); border: 2px solid #fff; }
.track-list li:not(:first-child)::before { background: #cbd5e1; }

/* Theme helpers */
.pcard, .cat-tile, .card, .pdp .gallery { border-radius: var(--radius); }
.pill { background: var(--soft); color: var(--text-2); }

/* Marketplace */
.pcard .seller { font-size: 12px; color: var(--muted); margin: -4px 0 8px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard .seller:hover { color: var(--brand); }
.seller-box { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; margin: 0 0 20px; background: var(--card); }
.seller-box:hover { border-color: var(--brand); }
.seller-box img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: #fff; }
.seller-ic { font-size: 28px; }
.store-head { display: flex; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-top: 24px; }
.store-head img { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.seller-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.seller-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; gap: 12px; align-items: center; transition: .15s; }
.seller-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.seller-card img { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; background: #fff; }
.shipment { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; margin-top: 14px; }
.shipment-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }


/* ---- Offer banners ---- */
.bg-brand { background: var(--hero); } .bg-saffron { background: linear-gradient(120deg, #c2410c, #ea580c 45%, #f59e0b); }
.bg-maroon { background: linear-gradient(120deg, #4c0519, #881337 55%, #b45309); } .bg-green { background: linear-gradient(120deg, #14532d, #15803d 55%, #65a30d); }
.bg-turmeric { background: linear-gradient(120deg, #ca8a04, #facc15); } .bg-ocean { background: linear-gradient(120deg, #0c4a6e, #0891b2 60%, #14b8a6); }
.bg-pink { background: linear-gradient(120deg, #9d174d, #db2777 55%, #fb7185); } .bg-dark { background: linear-gradient(120deg, #111827, #374151); }
.bg-cream { background: linear-gradient(120deg, #fff7e8, #fde7c7); }
.text-light { color: #fff; } .text-dark { color: #1f1300; }
.hero-wrap { margin: 22px 0 8px; }
.carousel { position: relative; overflow: hidden; border-radius: 22px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.slides { display: flex; transition: transform .6s cubic-bezier(.65,0,.35,1); }
.slide { flex: 0 0 100%; min-height: 340px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 44px 64px; position: relative; overflow: hidden; }
.slide::before { content: ''; position: absolute; right: -60px; top: -90px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.1); }
.slide::after { content: ''; position: absolute; left: 35%; bottom: -120px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.06); }
.bn-text { position: relative; z-index: 1; max-width: 560px; }
.bn-badge { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.2); backdrop-filter: blur(4px); margin-bottom: 14px; }
.text-dark .bn-badge { background: rgba(0,0,0,.08); }
.slide h2 { font-size: 44px; line-height: 1.1; margin: 0 0 12px; letter-spacing: -.5px; text-shadow: 0 2px 12px rgba(0,0,0,.15); }
.slide p { font-size: 18px; opacity: .92; margin: 0 0 22px; }
.bn-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.bn-cta { background: #fff; color: #111; padding: 12px 22px; font-size: 15px; box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.bn-cta:hover { background: #fff; transform: translateY(-1px); }
.text-dark .bn-cta { background: #1f1300; color: #fff; }
.bn-code { border: 2px dashed currentColor; background: rgba(255,255,255,.12); color: inherit; border-radius: 10px; padding: 9px 14px; font: inherit; font-size: 14px; cursor: pointer; letter-spacing: .5px; }
.bn-code:hover { background: rgba(255,255,255,.25); }
.bn-art { position: relative; z-index: 1; width: 380px; max-width: 42%; height: auto; filter: drop-shadow(0 12px 20px rgba(0,0,0,.2)); animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: #111; font-size: 28px; line-height: 1; cursor: pointer; z-index: 2; box-shadow: 0 4px 12px rgba(0,0,0,.15); opacity: 0; transition: .2s; }
.carousel:hover .car-btn { opacity: 1; }
.car-btn.prev { left: 14px; } .car-btn.next { right: 14px; }
.dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; transition: .3s; }
.dots button.on { width: 28px; background: #fff; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.offer-card { border-radius: 18px; padding: 22px 22px; min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; overflow: hidden; transition: .2s; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.offer-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.offer-card h2 { font-size: 22px; margin: 0 0 4px; }
.offer-card p { margin: 0 0 12px; font-size: 14px; opacity: .92; }
.offer-card .bn-cta { padding: 8px 14px; font-size: 13px; }
.offer-card .bn-code { padding: 6px 10px; font-size: 12px; }
.offer-card .bn-art { width: 120px; max-width: 34%; animation: none; }
.offer-card::before { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.12); }

@media (max-width: 900px) {
  header.site .row { gap: 14px; }
  .slide { padding: 32px 28px 44px; min-height: 280px; }
  .slide h2 { font-size: 30px; } .slide p { font-size: 15px; }
  .bn-art { width: 200px; }
}
@media (max-width: 640px) {
  header.site .row { min-height: 0; padding: 10px 0; flex-wrap: wrap; gap: 8px; }
  .logo img { height: 44px; min-height: 0; }
  .nav { gap: 0; } .nav-ic { padding: 4px 8px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search button { padding: 0 14px; }
  .slide { flex-direction: column-reverse; align-items: flex-start; text-align: left; padding: 22px 20px 40px; gap: 6px; }
  .slide h2 { font-size: 24px; }
  .bn-art { width: 130px; max-width: 45%; align-self: flex-end; margin-bottom: -20px; }
  .car-btn { display: none; }
  .topbar-in { justify-content: center; }
  .topbar-links { display: none; }
}

/* Simulated payment window (test mode) */
.pay-sim { position: fixed; inset: 0; background: rgba(15,23,42,.55); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pay-sim-box { background: #fff; color: #111; border-radius: 16px; width: 100%; max-width: 400px; padding: 24px; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.pay-sim-box h3 { margin: 10px 0 6px; font-size: 22px; }
.pay-sim-tag { display: inline-block; background: #fef3c7; color: #92400e; font-size: 11px; font-weight: 700; letter-spacing: .5px; border-radius: 999px; padding: 3px 10px; }
.pay-logos { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 0; }
.pay-logos span { border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; font-size: 12px; font-weight: 600; color: var(--muted); background: #fff; }

/* Content pages (policies, About, Contact) */
.prose { max-width: 820px; margin: 0 auto; padding: 32px 36px; line-height: 1.7; font-size: 16px; }
.prose h1 { margin: 0 0 4px; font-size: 30px; }
.prose h2 { font-size: 20px; margin: 28px 0 8px; }
.prose h3 { font-size: 17px; margin: 22px 0 6px; }
.prose h4 { font-size: 15px; margin: 18px 0 6px; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 4px; }
.prose a { color: var(--brand); text-decoration: underline; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
@media (max-width: 640px) { .prose { padding: 22px 18px; } .prose h1 { font-size: 24px; } }
footer.site .policy-links { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin-top: 10px; font-size: 13px; }
footer.site .policy-links a { opacity: .85; }
@media (max-width: 900px) and (min-width: 641px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
.agree a { color: var(--brand); text-decoration: underline; font-weight: 600; }
