:root {
  /* Brand palette from Shopnery horizontal logo (white BG) */
  --brand: #275086;
  --brand-dark: #1e3f6a;
  --brand-soft: #3a6aa0;
  --gold: #FFCC00;
  --gold-hover: #D99F00;
  --accent: #F9473B;
  --accent-hover: #e03d32;
  --teal: #D99F00;
  --emerald: #059669;
  --sky: #0ea5e9;
  --bg: #f5f7fa;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.1);
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --radius: 1.15rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column;
  background:
    radial-gradient(900px 360px at 10% -8%, rgba(39,80,134,.10), transparent 55%),
    radial-gradient(800px 320px at 95% 0%, rgba(249,71,59,.08), transparent 50%),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 480px) { .container { padding-inline: 1.45rem; } }
@media (min-width: 640px) { .container { padding-inline: 1.75rem; } }
@media (min-width: 980px) { .container { padding-inline: 2rem; max-width: 1220px; } }
@media (min-width: 1280px) { .container { padding-inline: 2.25rem; max-width: 1280px; } }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.muted { color: var(--muted); font-size: .82rem; font-weight: 700; }

/* Join strip */
.join-strip {
  background: #0f172a; color: #fff; font-size: .74rem;
}
.join-strip-inner {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between;
  gap: .55rem; padding: .48rem 0; min-width: 0;
}
@media (max-width: 480px) {
  .join-strip .container,
  .site-header .container,
  .header-search .container { padding-inline: 1.15rem; }
}
.join-strip p {
  margin: 0; font-weight: 700; opacity: .92; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: flex; align-items: center; gap: .4rem;
}
.join-pulse {
  width: .45rem; height: .45rem; border-radius: 50%; background: #22c55e;
  flex-shrink: 0; box-shadow: 0 0 0 0 rgba(34,197,94,.55);
  animation: pulseDot 1.4s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.join-strip-actions { display: flex; gap: .35rem; flex-shrink: 0; }
.join-pill {
  display: inline-flex; align-items: center; padding: .26rem .65rem;
  border-radius: 999px; font-size: .68rem; font-weight: 800; color: #fff;
}
.join-pill.wa { background: #25d366; }
.join-pill.tg { background: #229ed9; }
@media (max-width: 420px) {
  .join-strip p { font-size: .68rem; }
  .join-pill { padding: .24rem .5rem; font-size: .62rem; }
}

/* Logo sticky; search scrolls away — soft bottom shadow on scroll only */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: #fff;
  box-shadow: none;
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
}
.header-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding: .75rem 0 .2rem;
}
.header-search {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
}
.brand {
  display: inline-flex; align-items: center; gap: .45rem;
  flex-shrink: 0; min-width: 0;
}
.brand-logo {
  height: 3.25rem; width: auto; max-width: min(78vw, 17rem);
  object-fit: contain; display: block;
}
@media (min-width: 480px) { .brand-logo { height: 3.55rem; max-width: 18.5rem; } }
@media (min-width: 768px) { .brand-logo { height: 3.9rem; max-width: 21rem; } }
.live-dot { display: none !important; }
.main-nav { display: none; gap: .15rem; align-items: center; flex-wrap: wrap; }
.main-nav a {
  font-size: .78rem; font-weight: 800; padding: .42rem .62rem; border-radius: .65rem;
  color: var(--muted); white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--brand); background: rgba(39,80,134,.08); }
.header-actions { display: flex; align-items: center; gap: .45rem; flex-shrink: 0; }
.wish-link {
  position: relative; width: 2.5rem; height: 2.5rem; border-radius: .85rem;
  border: 1px solid var(--line); background: #f8fafc; color: var(--ink);
  display: grid; place-items: center;
}
.wish-link svg { width: 1.1rem; height: 1.1rem; }
.wish-link:hover, .wish-link.active { color: #ef4444; border-color: #fecaca; background: #fff5f5; }
.wish-count {
  position: absolute; top: -.2rem; right: -.2rem; min-width: 1.05rem; height: 1.05rem;
  padding: 0 .25rem; border-radius: 999px; background: var(--accent); color: #fff;
  font-size: .58rem; font-weight: 900; display: grid; place-items: center; line-height: 1;
}
.wish-count[hidden] { display: none !important; }
@media (min-width: 980px) {
  .wish-link { display: grid; }
  .mobile-toggle { display: none !important; }
}

.search-bar {
  display: flex; gap: .55rem; align-items: stretch;
  padding: .35rem 0 .85rem;
}
.search-box { position: relative; flex: 1; min-width: 0; }
.search {
  width: 100%; padding: .75rem 1rem .75rem 2.55rem; border-radius: 999px;
  border: 1px solid var(--line); background: #f8fafc; color: var(--ink);
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.search::placeholder { color: #94a3b8; }
.search:focus {
  outline: none; background: #fff; border-color: rgba(39,80,134,.35);
  box-shadow: 0 0 0 3px rgba(39,80,134,.12);
}
.search-icon {
  position: absolute; left: .95rem; top: 50%; transform: translateY(-50%);
  color: #94a3b8; width: 1.05rem; height: 1.05rem; pointer-events: none; z-index: 1;
}
.btn-search {
  flex-shrink: 0; border: 0; border-radius: 999px; padding: 0 1.15rem;
  background: var(--brand); color: #fff; font-weight: 900; font-size: .82rem; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.btn-search:hover { background: var(--brand-dark); }
.btn-search:active { transform: scale(.98); }

/* Live search dropdown */
.live-search {
  position: absolute; left: 0; right: 0; top: calc(100% + .4rem); z-index: 50;
  background: #fff; border: 1px solid var(--line); border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(15,23,42,.14);
  overflow: hidden; max-height: min(22rem, 62vh); overflow-y: auto;
  animation: liveSearchIn .16s ease;
}
@keyframes liveSearchIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
.live-search-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem .85rem; border-bottom: 1px solid #f1f5f9;
  transition: background .12s ease;
}
.live-search-item:last-child { border-bottom: 0; }
.live-search-item:hover,
.live-search-item.is-active { background: #f8fafc; }
.live-search-thumb {
  width: 2.6rem; height: 2.6rem; border-radius: .65rem;
  background: #f8fafc; border: 1px solid var(--line);
  object-fit: contain; flex-shrink: 0;
}
.live-search-meta { min-width: 0; flex: 1; }
.live-search-meta strong {
  display: block; font-size: .82rem; font-weight: 800; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.live-search-meta span {
  display: block; margin-top: .15rem; font-size: .72rem; font-weight: 700; color: var(--muted);
}
.live-search-price { font-size: .82rem; font-weight: 900; color: var(--ink); white-space: nowrap; }
.live-search-empty,
.live-search-foot {
  padding: .85rem 1rem; font-size: .8rem; font-weight: 700; color: var(--muted);
}
.live-search-foot {
  border-top: 1px solid var(--line); background: #f8fafc; color: var(--brand);
}
.live-search-foot:hover { color: var(--accent); }

@media (min-width: 980px) {
  .header-top { padding: .8rem 0 .25rem; }
  .search-bar { padding: .4rem 0 .95rem; }
  .main-nav { display: flex; margin-left: auto; margin-right: .75rem; }
  .mobile-toggle { display: none !important; }
  .drawer-root { display: none !important; }
}

.mobile-toggle {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .85rem;
  border: 1px solid var(--line); background: #f8fafc; color: var(--ink); cursor: pointer; padding: 0;
}
.mobile-toggle .burger,
.mobile-toggle .burger::before,
.mobile-toggle .burger::after {
  display: block; width: 1rem; height: 2px; background: currentColor; border-radius: 2px;
  transition: .18s ease; position: relative;
}
.mobile-toggle .burger::before,
.mobile-toggle .burger::after { content: ""; position: absolute; left: 0; }
.mobile-toggle .burger::before { top: -5px; }
.mobile-toggle .burger::after { top: 5px; }
.mobile-toggle.is-open .burger { background: transparent; }
.mobile-toggle.is-open .burger::before { top: 0; transform: rotate(45deg); }
.mobile-toggle.is-open .burger::after { top: 0; transform: rotate(-45deg); }

/* Side drawer */
.drawer-root[hidden] { display: none !important; }
.drawer-root {
  position: fixed; inset: 0; z-index: 70; pointer-events: none;
}
.drawer-root.open { pointer-events: auto; }
.drawer-backdrop {
  position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer;
  background: rgba(11, 18, 32, .48);
  opacity: 0; transition: opacity .22s ease;
}
.drawer-root.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(88vw, 22rem);
  background: #fff; color: var(--ink);
  box-shadow: -18px 0 40px rgba(0,0,0,.18);
  transform: translateX(104%);
  transition: transform .28s cubic-bezier(.22,.7,.25,1);
  display: flex; flex-direction: column;
  padding: 0 0 1.25rem; overflow: hidden;
}
.drawer-root.open .drawer-panel { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1rem .75rem; border-bottom: 1px solid var(--line);
}
.drawer-head strong { font-size: 1rem; font-weight: 900; }
.drawer-close {
  width: 2.25rem; height: 2.25rem; border-radius: .7rem; border: 1px solid var(--line);
  background: #f8fafc; color: var(--ink); font-size: 1.35rem; line-height: 1; cursor: pointer;
}
body.nav-open { overflow: hidden; }
.mobile-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: .35rem;
  background: #f1f5f9; border-radius: .85rem; padding: .28rem;
  margin: .85rem 1rem .35rem;
}
.mobile-tab {
  border: 0; border-radius: .7rem; background: transparent; color: var(--muted);
  font-weight: 800; font-size: .78rem; padding: .65rem .5rem; cursor: pointer;
}
.mobile-tab.active { background: var(--brand); color: #fff; }
.mobile-tab-panel {
  display: none; flex: 1; overflow-y: auto; padding: .25rem 1rem 1rem;
  -webkit-overflow-scrolling: touch;
}
.mobile-tab-panel.active { display: block; }
.mobile-nav a {
  display: flex; align-items: center; gap: .65rem;
  padding: .85rem .2rem; font-weight: 800; font-size: .95rem;
  border-bottom: 1px solid var(--line); color: var(--ink);
}
.mobile-nav a.active { color: var(--accent); }
.mobile-stores a img {
  width: 1.35rem; height: 1.35rem; object-fit: contain; background: #fff;
  border-radius: .35rem; padding: .1rem; flex-shrink: 0; border: 1px solid var(--line);
}
.mobile-stores a em { font-style: normal; color: var(--muted); font-weight: 700; }
.mobile-empty { margin: .75rem .2rem; color: var(--muted); font-size: .85rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 0; border-radius: 999px; font-weight: 800; cursor: pointer;
  transition: .15s ease; text-align: center;
}
.btn-accent { background: var(--accent); color: #fff; padding: .62rem 1.05rem; font-size: .82rem; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-brand { background: var(--brand); color: #fff; padding: .62rem 1.05rem; font-size: .82rem; }
.btn-brand:hover { background: var(--brand-dark); }
.btn-wa { background: #059669; color: #fff; padding: .75rem 1.1rem; font-size: .85rem; }
.btn-wa:hover { background: #047857; }
.btn-tg { background: #0ea5e9; color: #fff; padding: .75rem 1.1rem; font-size: .85rem; }
.btn-tg:hover { background: #0284c7; }
.btn-ghost {
  background: var(--card); border: 1px solid var(--line); color: inherit;
  padding: .62rem .95rem; font-size: .82rem;
}
.btn-gold {
  background: var(--gold); color: #0b1220; padding: .7rem 1rem; font-size: .85rem;
  border-radius: 999px; font-weight: 900; border: 0; cursor: pointer;
}
.btn-gold:hover { background: var(--gold-hover); }

/* Hero card (OfferLoot-style) */
.home-page { overflow-x: clip; }
.hero-card-wrap { padding: 1rem 0 .45rem; }
.hero-card {
  background: linear-gradient(160deg, #fff 0%, #f3f7fc 52%, #fff8f6 100%);
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 1.5rem;
  padding: 1.35rem 1.2rem 1.45rem;
  box-shadow: var(--shadow);
  animation: heroIn .5s ease both;
}
@media (min-width: 720px) {
  .hero-card { padding: 1.85rem 1.85rem 1.95rem; border-radius: 1.75rem; }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.hero-kicker {
  margin: 0 0 .85rem; display: inline-flex;
  font-size: .7rem; font-weight: 800; letter-spacing: .03em;
  color: #9f1d16; background: rgba(249,71,59,.12); padding: .32rem .7rem; border-radius: 999px;
}
.hero-card h1 {
  margin: 0; font-size: clamp(1.32rem, 3.5vw, 2.1rem); font-weight: 900;
  line-height: 1.22; letter-spacing: -.03em; max-width: 28ch;
}
.hero-card h1 em { font-style: normal; color: var(--accent); }
.hero-card h1 span { color: var(--brand); }
.hero-lead {
  margin: .8rem 0 0; color: var(--muted); font-size: .92rem; line-height: 1.65; max-width: 42rem;
}
.hero-pills {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.15rem;
}
.pill-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .55rem 1rem; border-radius: 999px; font-size: .78rem; font-weight: 800;
  border: 1px solid transparent; transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.pill-cta.accent { background: rgba(249,71,59,.12); color: #9f1d16; border-color: rgba(249,71,59,.28); }
.pill-cta.gold { background: rgba(255,204,0,.18); color: #8a6500; border-color: rgba(217,159,0,.35); }
.pill-cta.teal { background: var(--brand); color: #fff; }
.pill-cta.sky { background: rgba(39,80,134,.10); color: var(--brand); border-color: rgba(39,80,134,.22); }
.pill-cta.mute { background: #fff; color: #334155; border-color: var(--line); }
.pill-cta:hover { filter: brightness(.97); transform: translateY(-1px); box-shadow: 0 6px 14px rgba(15,23,42,.08); }
@media (max-width: 640px) {
  .hero-card-wrap { padding: .85rem 0 .35rem; }
  .hero-card { padding: 1.2rem 1.05rem 1.25rem; border-radius: 1.25rem; }
  .hero-pills { gap: .4rem; }
  .pill-cta { padding: .5rem .85rem; font-size: .74rem; }
}
.hero-meta {
  margin: .95rem 0 0; font-size: .8rem; font-weight: 700; color: var(--muted);
}
.hero-meta strong { color: var(--ink); font-weight: 900; }
.home-deals { padding-top: 1.25rem; }
.home-quick-links {
  display: flex; flex-wrap: wrap; gap: .55rem .95rem;
  margin-top: 1.1rem; padding-top: .95rem;
  border-top: 1px solid var(--line);
}
.home-quick-links a {
  font-size: .82rem; font-weight: 800; color: var(--brand);
  transition: color .15s ease;
}
.home-quick-links a:hover { color: var(--accent); }
.empty.soft {
  background: rgba(255,255,255,.7); border: 1px dashed var(--line);
  border-radius: 1rem; padding: 1.25rem; text-align: center;
}
.empty.soft h3 { margin: 0 0 .35rem; font-size: 1rem; }
.empty.soft p { margin: 0 0 .85rem; }

/* Sections */
.section { padding: 1.75rem 0; }
@media (min-width: 768px) { .section { padding: 2.15rem 0; } }
.section-alt {
  background: rgba(255,255,255,.65);
  border-block: 1px solid rgba(226,232,240,.85);
}
.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: .85rem; margin-bottom: 1.15rem;
}
.section-eyebrow {
  margin: 0 0 .25rem; font-size: .68rem; font-weight: 900; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
}
.section-head h2 { margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 900; letter-spacing: -.02em; }
.section-head p { margin: .3rem 0 0; color: var(--muted); font-size: .85rem; }
.section-link {
  font-size: .85rem; font-weight: 800; color: var(--accent);
  transition: color .15s ease, transform .15s ease;
}
.section-link:hover { color: var(--accent-hover); transform: translateX(2px); }
.section-cta { text-align: center; padding: 1.4rem 0 0; }
.home-filter-bar {
  display: flex; flex-direction: column; gap: .85rem;
  margin-bottom: 1.1rem; padding: .85rem; border-radius: 1.15rem;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
@media (min-width: 820px) {
  .home-filter-bar { flex-direction: row; align-items: center; justify-content: space-between; }
}
.coupon-card-title { margin: .6rem 0; font-size: 1rem; font-weight: 900; }
.coupon-card-desc { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.bank-offer-btn { margin-top: 1rem; width: 100%; }

.cat-row { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .15rem; }
.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .5rem .85rem; border-radius: 999px; font-size: .75rem; font-weight: 800;
  background: #f8fafc; border: 1px solid var(--line); white-space: nowrap; color: inherit;
}
.chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.toolbar-meta { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.toolbar-meta span { font-size: .75rem; font-weight: 700; color: var(--muted); }
.select, .select-full {
  font-size: .75rem; font-weight: 700; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: inherit; padding: .55rem .85rem;
}
.select-full { width: 100%; padding: .7rem .85rem; font-size: .9rem; font-weight: 600; border-radius: .85rem; }

.store-chip-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.store-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .55rem .9rem; font-size: .8rem; font-weight: 800; box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.store-chip img { width: 20px; height: 20px; object-fit: contain; border-radius: .3rem; }
.store-chip:hover {
  border-color: var(--brand); color: var(--brand);
  transform: translateY(-1px); box-shadow: 0 8px 18px rgba(15,23,42,.08);
}
.store-grid {
  display: grid; gap: .85rem; padding-bottom: 2.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 700px) { .store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .store-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.store-card {
  display: flex; flex-direction: column; gap: .75rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 1rem;
  padding: 1.05rem; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.store-card:hover {
  transform: translateY(-3px); border-color: #cbd5e1;
  box-shadow: 0 14px 28px rgba(15,23,42,.1);
}
.store-card-logo { height: 2.5rem; display: flex; align-items: center; }
.store-card-logo img { max-height: 2.2rem; width: auto; max-width: 7rem; object-fit: contain; }
.store-card-meta { display: flex; flex-direction: column; gap: .15rem; }
.store-card-meta strong { font-size: .95rem; font-weight: 900; }
.store-card-meta em { font-style: normal; font-size: .78rem; font-weight: 700; color: var(--muted); }

/* Deal cards — Shopnery mgrid system */
.deals-grid {
  display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: .5rem;
}
@media (min-width: 700px) { .deals-grid { gap: .9rem; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .deals-grid { gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.deals-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .deals-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.deal-card,
.mgrid-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
  padding-bottom: 0; min-width: 0;
}
.deal-card:hover,
.mgrid-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15,23,42,.1);
  border-color: #cbd5e1;
}

.mgrid-figure,
.deal-media {
  margin: 0; padding: 14px 14px 6px;
  background: #fff;
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  flex-shrink: 0; min-height: 148px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.mgrid-shimmer {
  position: absolute; inset: 0;
  background: #fff;
  z-index: 1; transition: opacity .25s ease;
}
.mgrid-figure.mgrid-loaded .mgrid-shimmer { opacity: 0; pointer-events: none; }
@keyframes mgridShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.mgrid-img-link, .deal-media-link {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; position: relative; z-index: 2;
}
.mgrid-figure img, .deal-media img {
  max-height: 142px; width: auto; max-width: 100%;
  object-fit: contain; display: block; margin: 0 auto;
  opacity: 0; transition: opacity .3s ease; position: relative; z-index: 2;
}
.mgrid-figure.mgrid-loaded img, .deal-media img { opacity: 1; }
.badge-off { display: none; }
.wish-btn {
  position: absolute; top: .45rem; right: .45rem; z-index: 3;
  width: 1.65rem; height: 1.65rem; border-radius: 999px; border: 0;
  background: rgba(255,255,255,.95); color: #94a3b8; display: grid; place-items: center;
  cursor: pointer; box-shadow: 0 2px 8px rgba(15,23,42,.1); padding: 0;
}
.wish-btn svg { width: .8rem; height: .8rem; }
.wish-btn:hover, .wish-btn.active { color: #ef4444; }
.wish-btn.active svg { fill: currentColor; }

.mgrid-content, .deal-body {
  display: flex; flex-direction: column; flex: 1 1 auto;
  padding: 10px 12px 12px; min-height: 0; gap: 0;
}
.mgrid-title, .deal-title {
  margin: 0 0 4px; padding: 0; line-height: 1;
}
.mgrid-title a, .deal-title a {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; text-overflow: ellipsis;
  font-size: 13px; font-weight: 600; line-height: 1.35; color: #1a202c;
  text-decoration: none; min-height: calc(13px * 1.35 * 2); max-height: calc(13px * 1.35 * 2);
  word-break: break-word;
}
.mgrid-title a:hover, .deal-title a:hover { color: var(--accent); }
.mgrid-time, .deal-time {
  display: flex; align-items: center; gap: 4px;
  margin: 0 0 7px; font-size: 10.5px; color: #94a3b8; line-height: 1; font-weight: 600;
}
.mgrid-price-row, .deal-price-row {
  display: flex; align-items: baseline; flex-wrap: nowrap; gap: 5px;
  margin: 0; overflow: hidden;
}
.mgrid-price, .price-now {
  font-size: 16px; font-weight: 800; color: #111827; line-height: 1.1;
  letter-spacing: -.3px; white-space: nowrap; flex-shrink: 0;
}
.mgrid-mrp, .price-was {
  font-size: 11px; color: #b0b8c4; text-decoration: line-through;
  line-height: 1.1; white-space: nowrap; flex-shrink: 0; font-weight: 600;
}
.mgrid-disc-chip {
  display: inline-flex; align-items: center; gap: 2px;
  background: rgba(217,159,0,.12); border: 1px solid rgba(217,159,0,.32); border-radius: 999px;
  padding: 1px 6px; flex-shrink: 0; white-space: nowrap;
}
.mgrid-disc-txt, .price-off {
  font-size: 10.5px; font-weight: 800; color: #a67c00; line-height: 1.2;
}
.mgrid-spacer { flex: 1 1 auto; min-height: 8px; }
.mgrid-action-bar, .deal-meta-row {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 0; padding-top: 2px; margin: 2px 0 8px;
  gap: 4px; min-height: 28px; min-width: 0; width: 100%;
  overflow: hidden;
}
.mgrid-brand-logo, .deal-store {
  display: flex; align-items: center; max-width: 42%; overflow: hidden; flex: 0 1 auto; min-width: 0;
}
.mgrid-brand-logo img, .deal-store-logo {
  max-height: 16px; width: auto; max-width: 100%; object-fit: contain; display: block; margin: 0;
}
.deal-store-name { font-size: .68rem; font-weight: 800; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag-flash { display: none; }
.mgrid-icon-group, .deal-tools {
  display: flex; align-items: center; gap: 3px; flex: 0 0 auto; margin-left: auto;
  max-width: 58%; justify-content: flex-end;
}
.mgrid-icon-btn, .tool-btn {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; padding: 0; flex-shrink: 0;
  background: #f8fafc; border: 1px solid var(--line); border-radius: .55rem;
  color: var(--muted); cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  line-height: 1; position: relative;
}
.mgrid-icon-btn:hover, .tool-btn:hover, .tool-btn.is-open {
  background: rgba(39,80,134,.08); color: var(--brand); border-color: rgba(39,80,134,.25); outline: none;
}
.mgrid-ico-tick { display: none; }
.mgrid-icon-btn.mgrid-copied { background: rgba(5,150,105,.12); border-color: rgba(5,150,105,.35); color: var(--emerald); }
.mgrid-icon-btn.mgrid-copied .mgrid-ico-copy { display: none; }
.mgrid-icon-btn.mgrid-copied .mgrid-ico-tick { display: block; }
.mgrid-buy-wrap { width: 100%; min-width: 0; }
.mgrid-buynow-btn, .btn-grab {
  display: block; width: 100%; text-align: center;
  padding: 9px 12px; font-size: 13px; font-weight: 800;
  border-radius: .75rem; box-sizing: border-box; line-height: 1.3;
  text-decoration: none; background: var(--brand); color: #fff !important;
  cursor: pointer; transition: background .15s; margin-top: 0;
  text-transform: none; letter-spacing: 0;
}
.mgrid-buynow-btn:hover, .btn-grab:hover { background: var(--brand-dark); color: #fff !important; }

/* Fixed info tooltip (outside card overflow) */
.mgrid-fixed-tt {
  position: fixed; z-index: 99999; width: 220px;
  background: #1e293b; border-radius: 6px; padding: 8px 10px;
  font-size: 10px; font-weight: 400; line-height: 1.5; color: #e2e8f0;
  font-family: inherit; box-shadow: 0 4px 12px rgba(0,0,0,.25);
  pointer-events: none; transform: translateY(-100%);
  animation: mgridTTIn .12s ease;
}
.mgrid-tt-arrow {
  position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 5px solid #1e293b;
}
@keyframes mgridTTIn {
  from { opacity: 0; transform: translateY(calc(-100% + 6px)); }
  to { opacity: 1; transform: translateY(-100%); }
}
.sn-tip { display: none !important; }

@media (max-width: 480px) {
  .mgrid-figure, .deal-media { min-height: 118px; padding: 10px 8px 4px; background: #fff; }
  .mgrid-figure img, .deal-media img { max-height: 108px; }
  .mgrid-content, .deal-body { padding: 8px 8px 9px; }
  .mgrid-title a, .deal-title a {
    font-size: 12px; min-height: calc(12px * 1.35 * 2); max-height: calc(12px * 1.35 * 2);
  }
  .mgrid-price, .price-now { font-size: 14px; }
  .mgrid-mrp, .price-was { font-size: 10px; }
  .mgrid-disc-txt, .price-off { font-size: 9.5px; }
  .mgrid-action-bar, .deal-meta-row { gap: 2px; padding-top: 6px; margin-bottom: 6px; }
  .mgrid-brand-logo, .deal-store { max-width: 38%; }
  .mgrid-brand-logo img, .deal-store-logo { max-height: 14px; }
  .mgrid-icon-group, .deal-tools { gap: 2px; max-width: 62%; }
  .mgrid-icon-btn, .tool-btn { width: 24px; height: 24px; border-radius: .45rem; }
  .mgrid-icon-btn svg, .tool-btn svg { width: 12px; height: 12px; }
  .mgrid-buynow-btn, .btn-grab { font-size: 12px; padding: 8px 8px; border-radius: .65rem; }
}

/* List view */
.deals-grid.list { grid-template-columns: 1fr; gap: .75rem; }
.deals-grid.list .deal-card {
  flex-direction: row; align-items: stretch; overflow: hidden;
}
.deals-grid.list .mgrid-figure,
.deals-grid.list .deal-media {
  width: 7.25rem; min-width: 7.25rem; min-height: 0; align-self: stretch;
  border-radius: 10px 0 0 10px; border-bottom: 0; border-right: 1px solid #f0f2f5;
  padding: 10px;
}
@media (min-width: 560px) {
  .deals-grid.list .mgrid-figure,
  .deals-grid.list .deal-media { width: 9rem; min-width: 9rem; }
}
.deals-grid.list .mgrid-figure img,
.deals-grid.list .deal-media img { max-height: 100px; }
.deals-grid.list .mgrid-content,
.deals-grid.list .deal-body { padding: .7rem .85rem .8rem; }
.deals-grid.list .mgrid-title a,
.deals-grid.list .deal-title a {
  min-height: 0; max-height: none; font-size: .88rem;
}
@media (min-width: 700px) {
  .deals-grid.list .mgrid-title a,
  .deals-grid.list .deal-title a { -webkit-line-clamp: 1; font-size: .95rem; }
  .deals-grid.list .mgrid-buynow-btn,
  .deals-grid.list .btn-grab {
    width: auto; min-width: 8.5rem; display: inline-block; padding-inline: 1.1rem;
  }
  .deals-grid.list .mgrid-buy-wrap { text-align: left; }
}
.sn-tip {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(100% + .45rem); z-index: 5;
  width: min(16.5rem, 72vw); padding: .65rem .75rem;
  background: #0f172a; color: #fff; border-radius: .7rem;
  font-size: .68rem; font-weight: 650; line-height: 1.45; text-align: left;
  box-shadow: 0 12px 28px rgba(15,23,42,.25);
}
.sn-tip::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); top: 100%;
  border: 6px solid transparent; border-top-color: #0f172a;
}

/* Filters / listing */
.deals-page { padding-bottom: 2rem; }
.deals-hero { padding-top: 1.1rem; padding-bottom: .35rem; }
.deals-hero-row,
.deals-hero-top {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .75rem;
}
.deals-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.deals-filter,
.deals-filters {
  background: var(--card); border: 1px solid var(--line); border-radius: 1.15rem;
  padding: 1.05rem; margin-bottom: 1.15rem; box-shadow: var(--shadow);
  animation: liveSearchIn .18s ease;
}
.deals-filters[hidden] { display: none !important; }
.deals-filter { display: none; }
.deals-filter.is-open { display: block; }
.deals-toolbar-simple .cat-row { display: none; }
.wishlist-toolbar { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1rem; }
.wishlist-page { padding-bottom: 2.5rem; }
.deals-filter-grid { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .deals-filter-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .deals-filter-grid { grid-template-columns: repeat(3, 1fr); } }
.deals-filter label,
.deals-filters label { display:block; font-size:.75rem; font-weight:800; margin-bottom:.35rem; color:var(--muted); }
.deals-filter-actions {
  display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin-top: .85rem;
}
.check-inline { display:inline-flex; align-items:center; gap:.4rem; font-size:.82rem; font-weight:700; }
.deals-toolbar {
  display: flex; flex-direction: column; gap: .75rem; margin: .25rem 0 1rem;
}
@media (min-width: 900px) {
  .deals-toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
}
.deals-toolbar-right {
  display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; justify-content: space-between;
}
.view-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card);
}
.view-btn {
  padding: .45rem .75rem; font-size: .75rem; font-weight: 800; color: var(--muted);
  transition: background .15s ease, color .15s ease;
}
.view-btn:hover { color: var(--brand); background: #f8fafc; }
.view-btn.active { background: var(--brand); color: #fff; }
.view-btn.active:hover { background: var(--brand-dark); color: #fff; }
.cms-page, .contact-page, .faq-page { padding-bottom: 3rem; }
.cms-page .cms-prose, .faq-page .faq-list { max-width: none; }
.pagination .disabled, .pagination .dots {
  min-width: 2.4rem; height: 2.4rem; padding: 0 .7rem; border-radius: .7rem;
  border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800; color: var(--muted);
}

/* Share modal */
body.modal-open { overflow: hidden; }
.share-modal[hidden] { display: none !important; }
.share-modal {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1rem;
}
.share-modal-backdrop {
  position: absolute; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(2px);
}
.share-modal-dialog {
  position: relative; z-index: 1; width: min(100%, 22rem);
  background: #fff; border-radius: 1.25rem; padding: 1.25rem 1.15rem 1.1rem;
  box-shadow: 0 24px 60px rgba(15,23,42,.28); text-align: center;
}
.share-modal-dialog h3 {
  margin: 0 0 .65rem; font-size: 1.05rem; font-weight: 900; color: #0b1220;
}
.share-link-preview {
  margin: 0 0 1rem; padding: .55rem .7rem; border-radius: .7rem;
  background: #f8fafc; border: 1px solid var(--line);
  font-size: .72rem; font-weight: 700; color: var(--brand);
  word-break: break-all; text-align: left;
}
.share-modal-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-bottom: 1rem;
}
.share-pill {
  width: 2.85rem; height: 2.85rem; border-radius: .85rem; display: grid; place-items: center;
  color: #fff; border: 0; cursor: pointer; box-shadow: 0 8px 18px rgba(15,23,42,.12);
}
.share-pill.wa { background: #25d366; }
.share-pill.tg { background: #229ed9; }
.share-pill.fb { background: #1877f2; }
.share-pill.x { background: #111827; }
.share-pill.copy { background: #e2e8f0; color: #334155; }
.share-pill:hover { transform: translateY(-2px); }
.share-close {
  width: 100%; border: 1px solid #e2e8f0; background: #f8fafc; color: #0b1220;
  border-radius: .85rem; font-weight: 800; padding: .75rem 1rem; cursor: pointer;
}
.share-close:hover { background: #f1f5f9; }

.deal-meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.store-badge {
  font-size: .68rem; font-weight: 900; padding: .2rem .55rem; border-radius: .45rem;
  background: rgba(255,204,0,.22); color: #7a5a00;
}
.cat-label { font-size: .68rem; color: var(--muted); font-weight: 600; }
.save {
  font-size: .68rem; font-weight: 800; color: #059669; background: #ecfdf5;
  padding: .15rem .4rem; border-radius: .35rem;
}
.coupon-box {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .55rem .75rem; border-radius: .8rem;
  background: rgba(255,204,0,.14); border: 1px dashed rgba(217,159,0,.65); font-size: .75rem;
  transition: background .15s ease, border-color .15s ease;
}
.coupon-box:hover { background: rgba(255,204,0,.22); border-color: rgba(217,159,0,.9); }
.coupon-box code { font-weight: 900; letter-spacing: .04em; }
.copy-btn {
  color: var(--accent); font-weight: 900; background: none; border: 0; cursor: pointer;
  text-decoration: underline dotted; transition: color .15s ease;
}
.copy-btn:hover { color: var(--accent-hover); }

.cta-band {
  margin: 1.5rem 0; border-radius: 1.35rem; padding: 1.4rem 1.2rem;
  background: linear-gradient(120deg, var(--brand), var(--brand-soft) 52%, var(--accent));
  color: #fff; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.cta-band h2 { margin: 0; font-size: 1.25rem; font-weight: 900; }
.cta-band p { margin: .35rem 0 0; opacity: .9; font-size: .9rem; max-width: 34rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .55rem; }

.empty {
  text-align: center; padding: 3.5rem 1.25rem; background: var(--card);
  border: 1px solid var(--line); border-radius: 1.25rem;
}
.empty h3 { margin: 0 0 .4rem; }
.empty p { color: var(--muted); margin: 0 auto 1rem; max-width: 28rem; }

.page-hero { padding: 1.35rem 0 .85rem; }
.page-hero h1 {
  margin: 0; font-size: clamp(1.45rem, 3vw, 2.05rem); font-weight: 900; letter-spacing: -.02em;
}
.page-hero p { color: var(--muted); margin: .45rem 0 0; font-size: .92rem; line-height: 1.5; }
.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: .35rem; align-items: center;
  font-size: .75rem; color: var(--muted); font-weight: 700; margin-bottom: .7rem;
}
.breadcrumbs a { transition: color .15s ease; }
.breadcrumbs a:hover { color: var(--accent); }
main.container { padding-bottom: 2.5rem; }
@media (min-width: 768px) { main.container { padding-bottom: 3rem; } }
.page-grid { padding-bottom: .5rem; }

.pagination {
  display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center;
  padding: 1.5rem 0 2.5rem;
}
.pagination a, .pagination span {
  min-width: 2.4rem; height: 2.4rem; padding: 0 .7rem; border-radius: .7rem;
  border: 1px solid var(--line); background: var(--card); display: inline-flex;
  align-items: center; justify-content: center; font-size: .8rem; font-weight: 800;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.pagination a:hover {
  border-color: var(--brand); color: var(--brand); transform: translateY(-1px);
}
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Deal detail */
.deal-page { padding-bottom: 2.25rem; }
.deal-page-hero { padding: .35rem 0 .1rem; }
.deal-page .breadcrumbs { margin: 0; font-size: .8rem; }
.detail-grid { display: grid; gap: 1rem; padding: .5rem 0 0; }
@media (min-width: 768px) {
  .detail-grid {
    grid-template-columns: minmax(240px, 38%) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
  }
}
@media (min-width: 1100px) {
  .detail-grid { grid-template-columns: minmax(280px, 34%) minmax(0, 1fr); gap: 1.5rem; }
}
.detail-media {
  position: relative;
  border: 1px solid var(--line); background: #fff; border-radius: 1rem;
  overflow: hidden; aspect-ratio: 1; display: grid; place-items: center;
  box-shadow: none;
}
@media (min-width: 768px) {
  .detail-media {
    aspect-ratio: auto;
    position: sticky;
    top: 5.5rem;
    max-height: min(72vh, 520px);
  }
}
.detail-media img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.detail-off-chip {
  position: absolute; top: .75rem; left: .75rem; z-index: 2;
  background: var(--accent); color: #fff; font-size: .7rem; font-weight: 900;
  padding: .3rem .5rem; border-radius: .55rem;
}
.detail-panel { min-width: 0; display: flex; flex-direction: column; gap: .55rem; }
.detail-top-meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem;
}
.detail-store { display: inline-flex; align-items: center; }
.detail-soft-meta { font-size: .78rem; font-weight: 650; color: var(--muted); }
.detail-soft-meta a { color: var(--brand); font-weight: 800; text-decoration: none; }
.detail-soft-meta a:hover { text-decoration: underline; }
.detail-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; }
.detail-tag {
  font-size: .68rem; font-weight: 800; padding: .2rem .48rem; border-radius: 999px;
  background: #f8fafc; border: 1px solid var(--line); color: var(--muted); text-decoration: none;
}
.detail-tag.accent {
  background: rgba(249,71,59,.12); border-color: rgba(249,71,59,.28); color: #9f1d16;
}
a.detail-tag:hover { color: var(--brand); border-color: rgba(39,80,134,.35); }
h1.detail-title {
  margin: 0; font-size: clamp(1.12rem, 2vw, 1.45rem); font-weight: 900; line-height: 1.32;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; text-overflow: ellipsis;
  max-height: calc(1.32em * 2);
}
h1.detail-title.is-expanded {
  display: block; -webkit-line-clamp: unset; overflow: visible; max-height: none;
}
.detail-title-more {
  display: inline-block; align-self: flex-start; margin: -.15rem 0 0; border: 0; background: none; padding: 0;
  color: var(--brand); font-size: .76rem; font-weight: 800; cursor: pointer; line-height: 1.2;
}
.detail-title-more:hover { color: var(--accent); text-decoration: underline; }
.detail-price { margin: .1rem 0 0; }
.detail-save {
  font-size: .74rem; font-weight: 800; color: #a67c00;
  background: rgba(255,204,0,.16); border: 1px solid rgba(217,159,0,.3);
  padding: .18rem .45rem; border-radius: 999px;
}
.detail-content {
  margin: .55rem 0 0; padding: 1rem 1.05rem 1.1rem;
  border: 1px solid var(--line); background: #fff; border-radius: 1rem;
}
.detail-intro { margin: 0 0 .9rem; line-height: 1.65; color: var(--ink); font-size: .93rem; text-align: justify; }
.detail-section-title { margin: 1rem 0 .5rem; font-size: 1.02rem; font-weight: 900; }
.detail-section-title:first-of-type { margin-top: .1rem; }
.detail-howto-title { color: #c47a00; }
.detail-steps {
  margin: 0; padding-left: 1.2rem; color: var(--muted); line-height: 1.75; font-size: .92rem;
}
.detail-steps a { color: var(--brand); font-weight: 800; }
.detail-legal {
  margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--line);
}
.detail-disclaimer { margin: 0; font-size: .8rem; color: var(--muted); line-height: 1.55; }
.detail-disclosure { margin: .45rem 0 0; font-size: .78rem; color: var(--muted); line-height: 1.55; }
.detail-related { margin-top: 2rem; padding-top: .35rem; padding-bottom: .75rem; }
.detail-related .section-head { margin-bottom: .9rem; }
.highlights {
  margin: 0; padding: .85rem .95rem; border-radius: .85rem;
  background: #f8fafc; border: 1px solid var(--line); list-style: none;
}
.highlights li {
  display: flex; gap: .5rem; font-size: .9rem; color: var(--muted);
  margin: .35rem 0; line-height: 1.5;
}
.highlights li::before { content: "✓"; color: var(--emerald); font-weight: 900; flex: 0 0 auto; }
.trust-row {
  display: grid; gap: .55rem; grid-template-columns: 1fr; margin-top: 1rem;
}
@media (min-width: 520px) { .trust-row { grid-template-columns: repeat(3, 1fr); } }
.trust-pill {
  background: var(--card); border: 1px solid var(--line); border-radius: .75rem;
  padding: .7rem; font-size: .75rem; font-weight: 800; text-align: center;
}
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem; }
.price { font-size: 1.25rem; font-weight: 900; }
.mrp { font-size: .75rem; color: var(--muted); text-decoration: line-through; }
.card-actions {
  display: flex; gap: .45rem; padding-top: .75rem; border-top: 1px solid var(--line); margin-top: .15rem;
}
.card-actions .btn-accent { flex: 1; padding: .65rem .5rem; font-size: .75rem; }
.mini-btn {
  border: 1px solid var(--line); background: #f8fafc; border-radius: .75rem;
  padding: .55rem .65rem; font-size: .72rem; font-weight: 800; cursor: pointer; color: inherit;
}

/* Footer */
.site-footer {
  background: var(--brand);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 1rem;
  padding: 2rem 0 1.45rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand-col,
.footer-alerts { grid-column: 1 / -1; }
.footer-explore,
.footer-company { min-width: 0; }
.footer-explore h4,
.footer-company h4 { margin-bottom: .55rem; }
.footer-explore li,
.footer-company li { margin: .32rem 0; font-size: .8rem; }
@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 1.6rem;
  }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-alerts { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.25fr;
    gap: 1.75rem;
    padding: 2.35rem 0 1.6rem;
  }
  .footer-brand-col,
  .footer-alerts { grid-column: auto; }
  .footer-explore li,
  .footer-company li { font-size: .85rem; margin: .4rem 0; }
}
.footer-grid h4 {
  margin: 0 0 .75rem; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .08em; font-weight: 900; color: var(--gold);
}
.footer-grid p, .footer-grid li { color: rgba(255,255,255,.78); font-size: .85rem; line-height: 1.55; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: .4rem 0; }
.footer-grid a { color: rgba(255,255,255,.86); }
.footer-grid a:hover { color: var(--gold); }
.footer-logo {
  display: inline-flex; align-items: center;
  background: #fff; border-radius: .85rem;
  padding: .45rem .7rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.footer-logo img {
  height: 3.35rem; width: auto; max-width: min(70vw, 17rem);
  object-fit: contain; display: block;
}
@media (min-width: 768px) {
  .footer-logo { padding: .55rem .8rem; }
  .footer-logo img { height: 3.75rem; max-width: 19rem; }
}
.footer-desc { margin: .85rem 0 0; max-width: 22rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.footer-social-link {
  width: 2.4rem; height: 2.4rem; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); color: #fff;
  transition: .15s ease;
}
.footer-social-link:hover { transform: translateY(-2px); color: #fff; }
.footer-social-link.brand-facebook:hover { background: #1877f2; border-color: #1877f2; }
.footer-social-link.brand-instagram:hover { background: #e4405f; border-color: #e4405f; }
.footer-social-link.brand-twitter:hover { background: #111827; border-color: #111827; }
.footer-social-link.brand-youtube:hover { background: #ff0000; border-color: #ff0000; }
.footer-social-link.brand-telegram:hover { background: #229ed9; border-color: #229ed9; }
.footer-social-link.brand-whatsapp:hover { background: #25d366; border-color: #25d366; }
.footer-alerts-copy { margin: 0 0 .75rem; }
.footer-alert-form { display: grid; gap: .55rem; }
.footer-input {
  width: 100%; border-radius: .75rem; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.1); color: #fff; padding: .7rem .85rem;
}
.footer-input::placeholder { color: rgba(255,255,255,.6); }
.footer-input:focus { outline: 2px solid rgba(255,204,0,.55); }
.footer-check {
  display: flex; gap: .5rem; align-items: flex-start;
  font-size: .75rem; line-height: 1.4; color: rgba(255,255,255,.8); font-weight: 600;
}
.footer-check input { margin-top: .15rem; }
.footer-bottom {
  display: flex; justify-content: center; align-items: center;
  text-align: center; gap: .85rem;
  padding: 1rem 0 1.4rem; color: rgba(255,255,255,.72); font-size: .82rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--gold); font-weight: 800; }
.footer-bottom a:hover { color: #fff; }
.contact-layout { display: grid; gap: 1rem; }
@media (min-width: 860px) { .contact-layout { grid-template-columns: 1.35fr .9fr; align-items: start; } }
.contact-aside h2 { margin: 0 0 .85rem; font-size: 1.05rem; font-weight: 900; }
.contact-aside p { margin: 0 0 .85rem; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.contact-aside-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .5rem; }

/* Join feeds float */
.join-feeds {
  position: fixed; right: .75rem; bottom: 1rem; z-index: 45;
  display: inline-flex; align-items: center; gap: .4rem;
  background: #0f172a; color: #fff; padding: .5rem .55rem .5rem .85rem;
  border-radius: 999px; box-shadow: 0 12px 28px rgba(15,23,42,.28);
  font-size: .7rem; font-weight: 800;
}
.join-feeds span { white-space: nowrap; }
.join-feeds a {
  width: 1.85rem; height: 1.85rem; border-radius: 999px; display: grid; place-items: center; color: #fff;
}
.join-feeds .tg { background: #229ed9; }
.join-feeds .wa { background: #25d366; }
@media (max-width: 380px) {
  .join-feeds { right: .55rem; bottom: .75rem; padding: .42rem .48rem .42rem .7rem; font-size: .64rem; }
  .join-feeds a { width: 1.7rem; height: 1.7rem; }
}

/* Detail page polish */
.detail-panel .badge-off { position: static; display: inline-block; margin-top: .75rem; }
.detail-panel .badge-tag {
  position: static; display: inline-block; margin: .5rem 0 0 .4rem;
  background: rgba(15,23,42,.88); color: #fcd34d; font-size: .62rem; font-weight: 800;
  padding: .2rem .45rem; border-radius: .4rem; text-transform: uppercase;
}
.detail-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .35rem; align-items: stretch; }
.detail-actions .btn { padding: .85rem 1.1rem; }
.detail-actions .detail-buy { flex: 1 1 11rem; text-align: center; }
.detail-actions .detail-share { flex: 0 0 auto; min-width: 6rem; }
.detail-store-logo { height: 24px; width: auto; max-width: 110px; object-fit: contain; }
.detail-price { margin-top: 1rem; }
.detail-price .price { font-size: 2rem; color: var(--accent); }
.detail-coupon { margin: .15rem 0 0; }
.coupon-label { font-size: .65rem; font-weight: 800; text-transform: uppercase; color: #b45309; }
.detail-coupon code { font-size: 1.1rem; }
.bank-chip {
  font-size: .68rem; font-weight: 800; color: var(--brand); background: rgba(39,80,134,.08);
  border-radius: .5rem; padding: .3rem .5rem; display: inline-block; margin-top: .85rem;
}
.toast { bottom: 4.5rem; }
@media (min-width: 640px) { .toast { bottom: 1.25rem; } }

.toast {
  position: fixed; left: 1rem; right: 1rem; bottom: 1.25rem; z-index: 90;
  display: none; align-items: flex-start; gap: .55rem;
  max-width: 26rem; margin-inline: auto;
  background: #0f172a; color: #fff; padding: .85rem 1rem; border-radius: .85rem;
  font-size: .78rem; font-weight: 700; line-height: 1.45; box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) {
  .toast { left: auto; right: 1.25rem; margin-inline: 0; }
}
.toast.show { display: flex; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.prose { color: var(--muted); line-height: 1.7; }
.prose h2 { color: var(--ink); font-size: 1.2rem; font-weight: 800; margin: 1.55rem 0 .55rem; }
.prose h3 { color: var(--ink); font-size: 1.05rem; font-weight: 800; margin: 1.25rem 0 .45rem; }
.prose p { margin: .65rem 0; }
.prose ul, .prose ol { margin: .55rem 0 .9rem; padding-left: 1.2rem; }
.prose li { margin: .35rem 0; }
.prose a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 800; }
.cms-prose { padding: 1.35rem 1.35rem 1.55rem; }
@media (min-width: 768px) { .cms-prose { padding: 1.65rem 1.75rem 1.85rem; } }
.content-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 1.15rem;
  padding: 1.25rem; margin-bottom: 0; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.content-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15,23,42,.08);
  border-color: #cbd5e1;
}
.flash { padding: .75rem 1rem; border-radius: .75rem; margin-bottom: 1rem; font-weight: 700; font-size: .85rem; }
.flash.ok { background: #ecfdf5; color: #047857; }
.flash.err { background: #fef2f2; color: #b91c1c; }
.input, .textarea {
  width: 100%; padding: .7rem .85rem; border-radius: .75rem;
  border: 1px solid var(--line); background: #f8fafc; color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.input:focus, .textarea:focus, .select:focus, .select-full:focus {
  outline: none; background: #fff; border-color: rgba(39,80,134,.35);
  box-shadow: 0 0 0 3px rgba(39,80,134,.12);
}
.textarea { min-height: 5rem; resize: vertical; }
label { display: block; font-size: .75rem; font-weight: 800; margin-bottom: .3rem; }

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease;
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-card, .live-search, .deal-card, .content-card, .store-chip, .pill-cta { animation: none !important; transition: none !important; }
}

/* FAQ polish */
.faq-list { display: grid; gap: .65rem; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 1rem;
  box-shadow: var(--shadow); overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-item[open], .faq-item:hover {
  border-color: #cbd5e1; box-shadow: 0 8px 20px rgba(15,23,42,.07);
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1rem 1.1rem;
  font-weight: 800; font-size: .92rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; width: 1.4rem; height: 1.4rem; border-radius: 999px;
  display: grid; place-items: center; background: #f8fafc; border: 1px solid var(--line);
  color: var(--brand); font-weight: 900; font-size: .95rem; transition: transform .2s ease, background .15s ease;
}
.faq-item[open] summary::after {
  content: "–"; background: rgba(249,71,59,.12); border-color: rgba(249,71,59,.3); color: var(--accent);
}
.faq-item p { margin: 0; padding: 0 1.1rem 1.05rem; color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* Responsive spacing polish */
@media (max-width: 480px) {
  .section { padding: 1.35rem 0; }
  .section-head { margin-bottom: .95rem; }
  .deals-grid { gap: .65rem; }
  .search-bar { gap: .4rem; }
  .btn-search { padding: 0 .9rem; font-size: .78rem; }
}
