﻿:root {
  --ink: #081a39;
  --muted: #5d6678;
  --line: #e7ebf3;
  --paper: #ffffff;
  --soft: #f6f8fc;
  --yellow: #ffd529;
  --pink: #ef1b70;
  --blue: #0776d8;
  --green: #78bd00;
  --purple: #7a47b8;
  --shadow: 0 14px 34px rgba(8, 26, 57, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  padding: 12px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand-link img {
  width: min(220px, 52vw);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.primary-nav a {
  padding: 10px 0;
  border-bottom: 3px solid transparent;
}

.nav-form {
  margin: 0;
}

.nav-form button {
  padding: 10px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.nav-form button:hover,
.nav-form button:focus-visible {
  color: var(--pink);
  border-color: var(--pink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: 620px;
  padding: clamp(28px, 6vw, 78px) clamp(18px, 5vw, 72px);
  background: var(--yellow);
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art img {
  width: min(520px, 90vw);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.14;
}

.hero-copy p {
  max-width: 560px;
  margin: 0 0 24px;
  color: #16284c;
  font-size: 1.15rem;
}

.search-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  max-width: 660px;
  padding: 8px;
  background: var(--paper);
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-shell input {
  min-width: 0;
  height: 54px;
  padding: 0 16px;
  border: 0;
  color: var(--ink);
  outline: none;
}

.search-shell button,
.newsletter-form button,
.coupon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--pink);
  font-weight: 900;
  cursor: pointer;
}

.popular-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.popular-searches a,
.coupon-meta span,
.coupon-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.section-wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 84px) 0;
}

.section-heading {
  margin-bottom: 28px;
}

.inline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.text-link {
  color: var(--pink);
  font-weight: 900;
}

.category-grid,
.store-grid,
.coupon-grid,
.trust-grid,
.metric-grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-tile,
.store-card,
.coupon-card,
.result-item,
.side-panel,
.metric-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(8, 26, 57, 0.06);
}

.category-tile {
  display: grid;
  gap: 8px;
  min-height: 170px;
  padding: 22px;
}

.category-tile span {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  color: var(--pink);
  background: #ffe5ef;
  font-size: 1.55rem;
  font-weight: 900;
}

.category-fa-icon i {
  line-height: 1;
}

.category-thumb,
.store-thumb {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
}

.category-thumb {
  max-height: 118px;
}

.category-tile small,
.store-card small,
.coupon-card small {
  color: var(--muted);
}

.category-tile em,
.store-card em {
  color: var(--muted);
  font-style: normal;
}

.coupon-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coupon-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.coupon-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 300px;
  padding: 22px;
  text-align: center;
}

.coupon-brand {
  --store-color: var(--blue);
  justify-self: center;
  min-width: 104px;
  max-width: 100%;
  min-height: 50px;
  display: inline-grid;
  place-items: center;
  padding: 8px 14px;
  border: 2px solid color-mix(in srgb, var(--store-color), #ffffff 60%);
  border-radius: 8px;
  color: var(--store-color);
  background: color-mix(in srgb, var(--store-color), #ffffff 92%);
  font-weight: 900;
  text-transform: lowercase;
  overflow-wrap: anywhere;
}

.coupon-kicker {
  margin: 4px 0 -4px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.coupon-card h3 {
  color: var(--pink);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 0.96;
}

.coupon-card .coupon-desc {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.store-mark {
  --store-color: var(--blue);
  display: inline-grid;
  place-items: center;
  min-width: 72px;
  min-height: 46px;
  padding: 8px 12px;
  border: 2px solid color-mix(in srgb, var(--store-color), #ffffff 68%);
  border-radius: 8px;
  color: var(--store-color);
  background: color-mix(in srgb, var(--store-color), #ffffff 92%);
  font-weight: 900;
  text-align: center;
}

.store-mark.large {
  width: min(260px, 100%);
  min-height: 140px;
  font-size: 2rem;
}

.store-hero-thumb {
  width: min(360px, 100%);
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.coupon-meta {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.coupon-card .coupon-action {
  width: min(220px, 100%);
  justify-self: center;
  margin-top: 4px;
}

.coupon-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.code-pill,
.deal-pill {
  max-width: 48%;
  padding: 12px 14px;
  border: 2px dashed var(--pink);
  border-radius: 8px;
  color: var(--pink);
  background: #fff7fb;
  font-size: 0.9rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.deal-pill {
  color: var(--blue);
  border-color: var(--blue);
  background: #f1f8ff;
}

.trust-band {
  padding: clamp(46px, 7vw, 82px) clamp(18px, 5vw, 72px);
  color: #fff;
  background: #075bb2;
}

.trust-band h2 {
  text-align: center;
  margin-bottom: 28px;
}

.trust-grid {
  width: min(1080px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid article {
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.26);
}

.trust-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.store-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.store-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 190px;
  padding: 22px;
}

.newsletter-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  align-items: center;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.newsletter-form input[type="email"] {
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.consent-line {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-message {
  margin: 8px 0 0;
  font-weight: 800;
}

.form-message.success {
  color: #137b22;
}

.form-message.error {
  color: #b42318;
}

.page-hero,
.store-hero,
.content-page,
.admin-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 0 28px;
}

.page-hero.compact {
  max-width: 900px;
}

.page-hero p,
.content-page p,
.store-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.store-hero {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

.two-column {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
}

.side-panel {
  position: sticky;
  top: 104px;
  display: grid;
  align-self: start;
  gap: 10px;
  padding: 20px;
}

.side-panel h2 {
  font-size: 1.1rem;
}

.side-panel a {
  color: var(--muted);
  font-weight: 800;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.pagination a,
.pagination span {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.result-list {
  display: grid;
  gap: 14px;
}

.result-item {
  display: grid;
  gap: 6px;
  padding: 20px;
}

.result-item span {
  color: var(--pink);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.result-item p,
.empty-state {
  margin: 0;
  color: var(--muted);
}

.content-page.narrow {
  max-width: 720px;
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.metric-grid article {
  display: grid;
  gap: 6px;
  padding: 24px;
}

.metric-grid strong {
  font-size: 2.2rem;
}

.metric-grid span {
  color: var(--muted);
  font-weight: 800;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 26px;
}

.admin-filter {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 140px auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
}

.admin-filter label {
  display: grid;
  gap: 6px;
}

.admin-filter span {
  color: var(--muted);
  font-weight: 800;
}

.admin-filter input,
.admin-filter select {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.logs-filter {
  grid-template-columns: minmax(180px, 1fr) 150px minmax(220px, 1fr) 110px auto;
}

.log-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.log-entry {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: var(--paper);
}

.log-entry.level-wrn {
  border-left-color: var(--yellow);
}

.log-entry.level-err,
.log-entry.level-ftl {
  border-left-color: var(--pink);
}

.log-entry div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.log-entry span {
  color: var(--pink);
  font-weight: 900;
}

.log-entry small {
  color: var(--muted);
}

.log-entry pre {
  margin: 0;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 0.88rem/1.5 Consolas, "Courier New", monospace;
}

.admin-actions a,
.admin-actions button,
.admin-table button,
.admin-form button,
.admin-filter button {
  min-height: 40px;
  padding: 9px 14px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: var(--soft);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.admin-table form {
  display: inline;
}

.admin-table a {
  color: var(--blue);
  font-weight: 900;
}

.admin-form {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.admin-form label,
.admin-form fieldset {
  display: grid;
  gap: 8px;
}

.admin-form span,
.admin-form legend {
  color: var(--muted);
  font-weight: 800;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-form textarea {
  min-height: 110px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 24px;
  padding: 36px clamp(18px, 5vw, 72px);
  color: #fff;
  background: var(--ink);
}

.footer-brand img {
  width: 210px;
  margin-bottom: 12px;
}

.footer-brand p,
.copyright {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  font-weight: 800;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .store-hero,
  .newsletter-band,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-art {
    order: 2;
  }

  .category-grid,
  .store-grid,
  .coupon-grid,
  .coupon-grid.two-up,
  .trust-grid,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 13px 0;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .search-shell,
  .newsletter-form,
  .admin-filter {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .store-grid,
  .coupon-grid,
  .coupon-grid.two-up,
  .trust-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .inline-heading,
  .coupon-footer,
  .site-footer {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .coupon-footer {
    flex-direction: column;
  }

  .code-pill,
  .deal-pill,
  .coupon-action {
    width: 100%;
    max-width: none;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}


/* ============================================================
   CouponSilly – Homepage design patch
   Add these rules at the END of your existing stylesheet.
   ============================================================ */

/* ── Hero tweaks ─────────────────────────────────────────── */
.hero h1 em,
.hero h1 span {
    color: var(--pink);
    font-style: normal;
}

.search-shell button {
    min-width: 54px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.popular-searches {
    align-items: center;
}

.popular-label {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--ink);
    white-space: nowrap;
}

/* ── Category tile icon colours ──────────────────────────── */
.category-tile span.category-fa-icon {
    font-size: 1.45rem;
    font-weight: 900;
}

/* ── Coupon cards ─────────────────────────────────────────── */

/* Override pink → blue for CTA button */
.coupon-action {
    background: var(--blue) !important;
}

.coupon-summary {
    font-size: 1.4rem;
    line-height: 1.2;
    margin: 0;
    color: var(--ink);
}

.coupon-desc {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.coupon-uses {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-size: 0.83rem;
    margin-top: auto;
}

/* Verified / Exclusive tag colours */
.coupon-meta .tag-verified {
    background: #edffd5;
    color: #3a7200;
}

.coupon-meta .tag-exclusive {
    background: #f0e8ff;
    color: var(--purple);
}

/* ── Trust band icons ─────────────────────────────────────── */
.trust-band h2 {
    font-size: clamp(1.55rem, 2.5vw, 2.2rem);
    margin-bottom: 40px;
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 1.55rem;
    font-weight: 900;
    margin-bottom: 14px;
    line-height: 1;
}

.trust-icon--pink   { background: rgba(239, 27, 112, 0.18); color: var(--pink); }
.trust-icon--green  { background: rgba(120, 189, 0, 0.22);  color: #3a7200;    }
.trust-icon--purple { background: rgba(122, 71, 184, 0.18); color: var(--purple); }
.trust-icon--yellow { background: rgba(255, 213, 41, 0.35); color: #a07000;    }

.trust-grid article {
    border: none;
    box-shadow: none;
    padding: 0 24px;
    border-left: 1px solid rgba(255,255,255,0.2);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.trust-grid article:first-child { border-left: none; }

.trust-grid strong {
    font-size: 1.05rem;
    color: #fff;
}

/* ── Newsletter band ──────────────────────────────────────── */
.newsletter-band {
    grid-template-columns: 180px minmax(260px, 1fr);
    gap: 32px;
    align-items: center;
    padding: 36px clamp(18px, 5vw, 72px);
}

.newsletter-mascot {
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-mascot img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    object-position: top;
    border-radius: 50%;
    background: var(--yellow);
}

.newsletter-content {
    display: grid;
    gap: 4px;
}

.newsletter-content h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    margin-bottom: 4px;
}

.newsletter-desc {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0 0 12px;
}

/* Keep form row + consent below it */
.newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 10px;
}

.newsletter-form button {
    background: var(--pink);
    border-radius: 8px;
    font-weight: 900;
    letter-spacing: 0.03em;
}

/* ── Responsive fixes ─────────────────────────────────────── */
@media (max-width: 980px) {
    .newsletter-band {
        grid-template-columns: 1fr;
    }

    .newsletter-mascot {
        display: none; /* hide mascot on mobile to save space */
    }
}

/* ============================================================
   CouponSilly homepage mockup alignment
   ============================================================ */

body {
    font-family: "Nunito", Arial, Helvetica, sans-serif;
}

.site-header {
    position: relative;
    min-height: 78px;
    padding: 12px 30px;
    background: #fff;
    border-bottom: 0;
    box-shadow: 0 4px 18px rgba(8, 26, 57, 0.06);
}

.brand-link img {
    width: clamp(220px, 28vw, 306px);
}

.primary-nav {
    gap: clamp(18px, 3.5vw, 48px);
    font-size: 0.86rem;
    color: #071532;
}

.primary-nav a {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    border-bottom-width: 2px;
}

.primary-nav a.is-active {
    color: var(--pink);
    border-color: var(--pink);
}

.favorites-link {
    gap: 8px;
}

.favorites-link span {
    min-width: 20px;
    min-height: 20px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: var(--pink);
    font-size: 0.75rem;
}

.home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(360px, 0.72fr) minmax(430px, 1fr);
    align-items: center;
    min-height: 520px;
    padding: 0 clamp(30px, 7vw, 110px) 72px clamp(0px, 2vw, 22px);
    overflow: hidden;
    background:
        radial-gradient(circle at 73% 28%, rgba(255, 255, 255, 0.36), transparent 20%),
        repeating-conic-gradient(from -8deg at 50% 44%, rgba(255, 230, 77, 0.74) 0deg 9deg, rgba(255, 190, 0, 0.58) 9deg 18deg),
        #ffd000;
}

.home-hero::after {
    content: "";
    position: absolute;
    left: -3%;
    right: -3%;
    bottom: -2px;
    height: 124px;
    background:
        radial-gradient(82px 58px at 0% 80%, #fff 98%, transparent 100%),
        radial-gradient(94px 68px at 15% 78%, #fff 98%, transparent 100%),
        radial-gradient(78px 56px at 31% 84%, #fff 98%, transparent 100%),
        radial-gradient(86px 60px at 47% 76%, #fff 98%, transparent 100%),
        radial-gradient(98px 70px at 63% 82%, #fff 98%, transparent 100%),
        radial-gradient(84px 58px at 79% 78%, #fff 98%, transparent 100%),
        radial-gradient(104px 76px at 96% 82%, #fff 98%, transparent 100%),
        linear-gradient(#fff, #fff) bottom / 100% 62px no-repeat;
    z-index: 3;
}

.home-hero-art {
    position: relative;
    z-index: 2;
    align-self: stretch;
    min-height: 520px;
}

.home-hero-art img {
    position: absolute;
    left: -28px;
    top: -12px;
    width: min(575px, 43vw);
    max-width: none;
    filter: drop-shadow(0 18px 20px rgba(8, 26, 57, 0.22));
}

.home-hero-copy {
    position: relative;
    z-index: 4;
    align-self: center;
    max-width: 560px;
    padding-top: 18px;
}

.home-hero-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(2.6rem, 4.5vw, 4.15rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.home-hero-copy h1 span,
.home-hero-copy strong {
    color: var(--pink);
}

.home-hero-copy p {
    margin: 0 0 22px;
    color: #071532;
    font-size: clamp(1.05rem, 1.6vw, 1.28rem);
    line-height: 1.55;
    font-weight: 700;
}

.home-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 66px;
    gap: 8px;
    width: min(600px, 100%);
    padding: 9px;
    border: 8px solid rgba(255, 255, 255, 0.84);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(8, 26, 57, 0.14);
}

.home-search input {
    min-width: 0;
    height: 50px;
    padding: 0 16px;
    border: 0;
    outline: none;
    color: #071532;
    font-size: 1.02rem;
    font-weight: 700;
}

.home-search button {
    min-height: 50px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--pink);
    font-size: 1.35rem;
    cursor: pointer;
}

.home-popular-searches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.home-popular-searches span {
    color: #071532;
    font-size: 0.86rem;
    font-weight: 900;
}

.home-popular-searches a {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    border-radius: 999px;
    color: #fff;
    background: #061b43;
    font-size: 0.8rem;
    font-weight: 900;
}

.home-category-strip {
    width: min(1130px, calc(100% - 44px));
    margin: -8px auto 0;
    padding: 16px 0 30px;
    text-align: center;
}

.home-category-strip h2 {
    margin: 0 0 22px;
    color: #071532;
    font-size: clamp(1.45rem, 2.2vw, 1.95rem);
}

.home-category-strip h2 span::before,
.home-category-strip h2 span::after {
    content: "";
    display: inline-block;
    width: 26px;
    height: 2px;
    margin: 0 12px 7px;
    background: var(--pink);
    box-shadow: 0 7px 0 var(--pink);
    transform: skewY(-18deg);
}

.home-category-row {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 20px;
}

.home-category-item {
    display: grid;
    justify-items: center;
    gap: 10px;
    color: #071532;
    font-size: 0.82rem;
    font-weight: 900;
}

.home-category-item span,
.home-category-item img {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffe5ef;
    color: var(--pink);
    font-size: 2rem;
}

.home-category-item:nth-child(2) span { color: var(--blue); background: #dff1ff; }
.home-category-item:nth-child(3) span { color: var(--green); background: #eaffd9; }
.home-category-item:nth-child(4) span { color: var(--purple); background: #f1e4ff; }
.home-category-item:nth-child(5) span { color: #e9a600; background: #fff4c7; }
.home-category-item:nth-child(6) span { color: #f26b21; background: #ffe9d9; }
.home-category-item:nth-child(7) span { color: var(--blue); background: #dff1ff; }
.home-category-view-all span { color: var(--pink); background: #ffe5ef; }

.home-featured {
    width: min(1130px, calc(100% - 44px));
    margin: 0 auto;
    padding: 14px 0 44px;
}

.home-section-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
}

.home-section-title h2 {
    color: #071532;
    font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.home-section-title h2::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin: 9px auto 0;
    background: var(--pink);
}

.home-section-title a {
    position: absolute;
    right: 0;
    color: var(--pink);
    font-weight: 900;
}

.home-coupon-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.home-featured .coupon-card {
    min-height: 300px;
    padding: 24px 18px 18px;
    border-color: #e8edf5;
    box-shadow: 0 8px 22px rgba(8, 26, 57, 0.09);
}

.home-featured .coupon-brand {
    min-height: 58px;
    border: 0;
    background: transparent;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1;
}

.home-featured .coupon-kicker {
    margin-top: 6px;
    color: #071532;
    font-size: 0.78rem;
}

.home-featured .coupon-card h3 {
    color: var(--pink);
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.home-featured .coupon-desc {
    color: #071532;
    font-size: 0.95rem;
    font-weight: 700;
}

.home-featured .coupon-action {
    width: 100%;
    min-height: 44px;
    border-radius: 6px;
    background: var(--blue) !important;
}

.home-featured .coupon-meta {
    display: none;
}

.home-featured .coupon-uses {
    justify-content: center;
    color: #071532;
}

.home-featured .coupon-uses::first-letter {
    color: var(--pink);
}

.home-trust-band {
    padding: 28px 34px 42px;
    color: #fff;
    background:
        repeating-conic-gradient(from -8deg at 50% 55%, rgba(255, 255, 255, 0.05) 0deg 7deg, transparent 7deg 16deg),
        linear-gradient(180deg, #0873d5 0%, #0056aa 100%);
}

.home-trust-band h2 {
    margin: 0 0 30px;
    text-align: center;
    color: #fff;
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
}

.home-trust-band h2 span {
    color: var(--yellow);
}

.home-trust-grid {
    width: min(1100px, 100%);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0 auto;
}

.home-trust-grid article {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 0 28px;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.32);
}

.home-trust-grid article:first-child {
    border-left: 0;
}

.trust-badge {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 2rem;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.18));
}

.trust-badge-pink { color: var(--pink); background: #ffe0ec; }
.trust-badge-green { color: #3f9800; background: #b8f06e; }
.trust-badge-purple { color: #7b2fbe; background: #dfb7ff; }
.trust-badge-yellow { color: #f28a00; background: #ffe0a3; }

.home-trust-grid strong {
    color: #fff;
    font-size: 1.05rem;
}

.home-trust-grid p {
    max-width: 190px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.94rem;
}

.newsletter-band.home-newsletter {
    grid-template-columns: 205px minmax(0, 1fr);
    min-height: 136px;
    padding: 16px clamp(28px, 8vw, 120px);
    overflow: hidden;
    background: #fff;
    border-top: 1px solid #edf0f6;
}

.home-newsletter .newsletter-mascot {
    align-self: center;
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px 0;
}

.home-newsletter .newsletter-mascot img {
    width: 190px;
    height: auto;
    max-width: none;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    filter: drop-shadow(0 8px 8px rgba(8, 26, 57, 0.12));
}

.home-newsletter .newsletter-content {
    display: grid;
    grid-template-columns: minmax(210px, 0.7fr) minmax(320px, 1.3fr);
    align-items: center;
    gap: 30px;
}

.home-newsletter .newsletter-copy {
    min-width: 0;
}

.home-newsletter .eyebrow {
    display: none;
}

.home-newsletter h2 {
    font-size: 1.35rem;
}

.home-newsletter .newsletter-desc {
    margin: 4px 0 0;
    color: #071532;
    font-size: 0.92rem;
    font-weight: 800;
}

.home-newsletter .newsletter-form {
    grid-template-columns: minmax(0, 1fr) 160px;
    align-items: center;
}

.home-newsletter .newsletter-form input[type="email"] {
    height: 50px;
    border-radius: 14px;
    font-weight: 700;
}

.home-newsletter .newsletter-form button {
    min-height: 50px;
    border-radius: 10px;
    background: var(--pink);
    text-transform: uppercase;
}

.site-footer {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.7fr);
    align-items: start;
    gap: clamp(34px, 6vw, 78px);
    padding: 40px clamp(28px, 8vw, 110px) 34px;
    background: #061b43;
}

.site-footer .footer-brand img {
    width: 235px;
    height: auto;
    max-width: 100%;
    margin-bottom: 18px;
    background: transparent;
}

.site-footer .footer-brand p {
    max-width: 390px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.65;
}

.site-footer .copyright {
    grid-column: auto;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.58);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(112px, 1fr));
    gap: clamp(20px, 3vw, 36px);
}

.footer-column {
    min-width: 0;
}

.footer-column summary {
    margin-bottom: 14px;
    color: #fff;
    cursor: default;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0;
    list-style: none;
    text-transform: uppercase;
}

.footer-column summary::-webkit-details-marker {
    display: none;
}

.site-footer .footer-column nav {
    display: grid;
    justify-content: start;
    gap: 10px;
    font-weight: 700;
}

.site-footer .footer-column nav a {
    color: rgba(255, 255, 255, 0.74);
}

.site-footer .footer-column nav a:hover {
    color: #fff;
}

.site-footer .footer-column .social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
}

.site-footer .footer-column .social-links a {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.site-footer .footer-column .social-links a:hover {
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1120px) {
    .home-hero {
        grid-template-columns: 1fr;
        padding: 24px 28px 80px;
    }

    .home-hero-art {
        min-height: 345px;
    }

    .home-hero-art img {
        left: 50%;
        top: -80px;
        width: min(610px, 92vw);
        transform: translateX(-50%);
    }

    .home-hero-copy {
        justify-self: center;
        text-align: center;
    }

    .home-popular-searches {
        justify-content: center;
    }

    .home-category-row,
    .home-coupon-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .home-trust-grid,
    .home-newsletter .newsletter-content,
    .newsletter-band.home-newsletter {
        grid-template-columns: 1fr;
    }

    .home-trust-grid article {
        padding: 18px 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.28);
    }

    .home-trust-grid article:first-child {
        border-top: 0;
    }

    .home-newsletter .newsletter-mascot {
        height: 86px;
    }

    .home-newsletter .newsletter-mascot img {
        width: 155px;
    }

    .home-newsletter .newsletter-content {
        gap: 18px;
        text-align: center;
    }

    .home-newsletter {
        padding-top: 22px !important;
        padding-bottom: 22px !important;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .site-header {
        position: sticky;
    }

    .primary-nav a {
        min-height: 42px;
    }

    .home-hero {
        padding: 10px 18px 76px;
    }

    .home-hero-art {
        min-height: 285px;
    }

    .home-newsletter .newsletter-form {
        grid-template-columns: 1fr;
    }

    .home-search {
        grid-template-columns: minmax(0, 1fr) 54px;
        gap: 6px;
        padding: 7px;
        border: 4px solid rgba(255, 255, 255, 0.92);
        border-radius: 16px;
        box-shadow: 0 10px 24px rgba(8, 26, 57, 0.22);
    }

    .home-search input {
        height: 48px;
        border: 1px solid #e3eaf5;
        border-radius: 11px;
        background: #fff;
        font-size: 0.95rem;
    }

    .home-search button {
        min-height: 48px;
        border-radius: 11px;
    }

    .home-category-row {
        display: flex;
        gap: 18px;
        overflow-x: auto;
        padding: 0 2px 12px;
        scroll-padding-inline: 2px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .home-category-row::-webkit-scrollbar {
        display: none;
    }

    .home-category-item {
        flex: 0 0 96px;
        scroll-snap-align: start;
    }

    .home-coupon-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-section-title {
        display: grid;
        gap: 10px;
    }

    .home-section-title a {
        position: static;
        justify-self: center;
    }

    .site-footer {
        padding: 34px 22px 30px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-column {
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        padding: 14px 0;
    }

    .footer-column summary {
        position: relative;
        margin: 0;
        cursor: pointer;
        padding-right: 32px;
    }

    .footer-column summary::after {
        content: "+";
        position: absolute;
        right: 2px;
        top: 0;
        color: rgba(255, 255, 255, 0.72);
        font-size: 1.1rem;
        line-height: 1;
    }

    .footer-column[open] summary::after {
        content: "-";
    }

    .site-footer .footer-column nav,
    .site-footer .social-links {
        padding-top: 14px;
    }
}

@media (max-width: 720px) {
    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .newsletter-form button {
        width: 100%;
    }

    .popular-label {
        display: none;
    }

    .trust-grid article {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.2);
        padding: 16px 0 0;
    }

    .trust-grid article:first-child {
        border-top: none;
    }
}
