:root {
  --bg: #f5efe4;
  --surface: #fffdf9;
  --surface-strong: #fff7ec;
  --text: #1d221d;
  --muted: #667061;
  --accent: #0e7a57;
  --accent-dark: #0b5f43;
  --line: #ded3c4;
  --shadow: 0 20px 45px rgba(37, 40, 32, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(214, 239, 216, 0.85), transparent 28%),
    linear-gradient(180deg, #f8f1e6 0%, #f4ede1 100%);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

body.couponic-modal-open {
  overflow: hidden;
}

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

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

code,
pre,
input,
button,
textarea,
select {
  font-family: "Courier New", monospace;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(248, 241, 230, 0.86);
  border-bottom: 1px solid rgba(122, 114, 93, 0.12);
}

.site-header__inner,
.footer-grid,
.hero__grid,
.section-heading,
.store-hero,
.coupon-single {
  display: grid;
  gap: 24px;
}

.site-header__inner {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 18px 0;
}

.brand__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #1fb77e);
  color: #fff;
  box-shadow: var(--shadow);
}

.brand__text,
.hero h1,
.section-heading h2,
.archive-header h1,
.coupon-single h1,
.store-hero h1 {
  font-family: "Trebuchet MS", sans-serif;
}

.main-nav .menu {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-cta,
.button,
.hero-search button,
.copy-code-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-cta,
.button--primary,
.hero-search button,
.copy-code-button {
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
}

.header-cta:hover,
.button:hover,
.hero-search button:hover,
.copy-code-button:hover {
  transform: translateY(-1px);
}

.button--ghost {
  border: 1px solid var(--line);
  background: transparent;
  padding: 11px 16px;
}

.button--block {
  width: 100%;
}

.hero,
.section {
  padding: 40px 0 64px;
}

.section--muted {
  background: rgba(255, 251, 243, 0.72);
  border-top: 1px solid rgba(122, 114, 93, 0.08);
  border-bottom: 1px solid rgba(122, 114, 93, 0.08);
}

.section--flush {
  padding: 0;
}

.hero__grid {
  grid-template-columns: 1.3fr 0.9fr;
  align-items: center;
}

.hero__content,
.hero__panel,
.proof-card,
.store-card__inner,
.coupon-card,
.content-panel,
.sidebar-card,
.store-hero,
.coupon-single__main {
  background: var(--surface);
  border: 1px solid rgba(124, 115, 89, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__content {
  padding: 42px;
}

.hero__panel {
  padding: 24px;
}

.eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}

.hero h1,
.archive-header h1,
.coupon-single h1,
.store-hero h1 {
  margin: 10px 0 16px;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 0.96;
}

.hero p,
.archive-header p,
.coupon-single__summary,
.store-hero p,
.store-card p,
.coupon-card p {
  color: var(--muted);
}

.hero-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: 24px 0;
}

.hero-search input,
.wp-block-search__input,
input[type="search"],
input[type="text"],
input[type="url"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.chip-row,
.stat-grid,
.card-grid,
.coupon-grid {
  display: grid;
  gap: 16px;
}

.chip-row {
  grid-template-columns: repeat(auto-fit, minmax(120px, max-content));
}

.chip,
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.9rem;
}

.chip {
  background: var(--surface-strong);
  border: 1px solid rgba(14, 122, 87, 0.14);
}

.pill {
  background: rgba(14, 122, 87, 0.1);
  color: var(--accent-dark);
}

.pill--soft {
  background: rgba(14, 122, 87, 0.08);
}

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

.stat-card,
.mini-stat {
  padding: 18px;
  border-radius: 20px;
  background: var(--surface-strong);
  border: 1px solid rgba(124, 115, 89, 0.12);
}

.stat-card strong,
.mini-stat strong {
  display: block;
  font-size: 1.8rem;
  font-family: "Trebuchet MS", sans-serif;
}

.proof-card {
  margin-top: 16px;
  padding: 20px;
  background: #132018;
  color: #cfe4d6;
}

.proof-card pre {
  margin: 10px 0 0;
  white-space: pre-wrap;
  color: #f1f8f3;
}

.proof-card__label {
  color: #8ec7a1;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.section-heading {
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.coupon-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.store-card__inner,
.coupon-card,
.post-card,
.content-panel,
.sidebar-card {
  padding: 22px;
}

.store-card__inner {
  display: block;
  height: 100%;
}

.store-card__top,
.coupon-card__header,
.coupon-card__footer,
.coupon-card__code,
.store-card__footer,
.feed-item,
.coupon-single__meta,
.coupon-code-box,
.store-hero__brand,
.store-hero__stats {
  display: flex;
  align-items: center;
  gap: 14px;
}

.store-card__top,
.coupon-card__header,
.coupon-card__footer,
.store-card__footer {
  justify-content: space-between;
}

.store-logo {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid rgba(124, 115, 89, 0.14);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.store-logo--large {
  width: 92px;
  height: 92px;
  border-radius: 28px;
}

.store-logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-logo-fallback {
  font-size: 1.2rem;
  font-weight: 700;
  font-family: "Trebuchet MS", sans-serif;
}

.coupon-card__store,
.coupon-card__rate,
.store-card__footer,
.coupon-card__footer,
.feed-item time,
.coupon-single__meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.coupon-card__code,
.coupon-code-box {
  justify-content: space-between;
  padding: 14px;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px dashed rgba(124, 115, 89, 0.3);
}

.coupon-card code,
.coupon-code-box code {
  font-size: 1rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.live-feed {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(124, 115, 89, 0.12);
}

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

.feed-item {
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(124, 115, 89, 0.12);
}

.feed-item:last-child {
  border-bottom: 0;
}

.feed-item__dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(14, 122, 87, 0.08);
}

.archive-header {
  margin-bottom: 28px;
}

.store-directory {
  max-width: 1320px;
}

.store-directory__header {
  margin-bottom: 28px;
}

.store-directory__header h1 {
  margin: 0 0 20px;
  color: #197f9a;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-family: "Trebuchet MS", sans-serif;
}

.store-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  max-width: 980px;
}

.store-filter__select {
  height: 56px;
  border-radius: 12px;
  background: #fff;
}

.store-filter__reset {
  height: 44px;
  padding: 0 22px;
  border: 1px solid #9ea8b0;
  border-radius: 8px;
  background: #f6f7f8;
  color: #67727b;
  cursor: pointer;
  font-size: 1rem;
}

.store-directory__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.store-directory-card {
  min-width: 0;
}

.store-directory-card[hidden] {
  display: none !important;
}

.store-directory-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 18px 16px 14px;
  background: #fff;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.store-directory-card__logo {
  width: 100%;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 6px;
  overflow: hidden;
}

.store-directory-card__logo .store-logo,
.store-directory-card__logo .store-logo-image {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.store-directory-card__logo .store-logo {
  display: grid;
  place-items: center;
}

.store-directory-card h3 {
  margin: 0;
  color: #0e7f9a;
  font-size: 1.05rem;
  font-family: "Trebuchet MS", sans-serif;
}

.store-directory-card p {
  margin: 4px 0 0;
  color: #66717d;
  font-size: 0.95rem;
}

.store-hero {
  grid-template-columns: 1.3fr 0.7fr;
  padding: 28px;
  margin-bottom: 24px;
}

.store-hero__stats {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.coupon-single {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.9fr);
  align-items: start;
}

.coupon-single__main {
  padding: 28px;
}

.coupon-single__sidebar {
  position: sticky;
  top: 98px;
}

.site-footer {
  padding: 30px 0 50px;
  border-top: 1px solid rgba(122, 114, 93, 0.12);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.post-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(124, 115, 89, 0.12);
}

.couponic-mobile-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.couponic-mobile-modal.is-open {
  display: block;
}

.couponic-mobile-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 23, 19, 0.66);
}

.couponic-mobile-modal__panel {
  position: absolute;
  inset: 12px;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.couponic-mobile-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(122, 114, 93, 0.16);
  background: #f8f7f2;
}

.couponic-mobile-modal__close,
.couponic-mobile-modal__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.92rem;
}

.couponic-mobile-modal__close {
  border: 0;
  background: #197f9a;
  color: #fff;
  cursor: pointer;
}

.couponic-mobile-modal__link {
  background: rgba(25, 127, 154, 0.12);
  color: #197f9a;
}

.couponic-mobile-modal__frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.store-page {
  padding: 36px 0 60px;
  background: #050505;
  color: #f5f5f5;
}

.store-page__layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.store-page__sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.store-panel {
  padding: 14px;
  background: #1f1f1f;
  border: 1px solid #343434;
  border-radius: 18px;
}

.store-panel__logo {
  height: 118px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: #f6f6f6;
  border-radius: 10px;
}

.store-panel__logo .store-logo,
.store-panel__logo .store-logo-image {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  object-fit: contain;
}

.store-panel h2,
.store-panel h3,
.store-page__main h1,
.store-report h2,
.store-faq-panel h2,
.store-offer-card h3 {
  font-family: "Trebuchet MS", sans-serif;
}

.store-panel h2,
.store-panel h3 {
  margin: 0 0 12px;
  color: #fff;
}

.store-panel p,
.store-panel li,
.store-page__meta,
.store-report__notice,
.store-offer-card p,
.store-offer-card__meta,
.store-offer-card__status,
.store-offer-card__verifications {
  color: #bdbdbd;
}

.store-panel__list,
.store-panel__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.store-panel__list li::before {
  content: "✓";
  color: #17f37b;
  margin-right: 8px;
}

.store-panel__links a {
  color: #d8d8d8;
  text-decoration: underline;
}

.store-page__shop-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #111;
  border: 1px solid #2f2f2f;
  color: #fff;
}

.store-page__main h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  color: #fff;
}

.store-page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 0.92rem;
}

.store-page__tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid #222;
}

.store-page__tabs a {
  padding: 0 0 12px;
  color: #e7e7e7;
  font-weight: 600;
}

.store-page__tabs a.is-active {
  color: #18ff83;
  border-bottom: 2px solid #18ff83;
}

.store-report h2,
.store-faq-panel h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.store-report__notice {
  margin-bottom: 16px;
  padding: 10px 14px;
  background: #161616;
  border: 1px solid #2f2f2f;
  border-radius: 999px;
  font-size: 0.92rem;
}

.store-offer-card {
  margin-bottom: 14px;
  padding: 12px;
  background: #303030;
  border: 1px solid #414141;
  border-radius: 20px;
}

.store-offer-card__topline {
  margin-bottom: 10px;
}

.store-offer-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #18ff83;
  color: #05110a;
  font-size: 0.8rem;
  font-weight: 700;
}

.store-offer-card__header {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.store-offer-card__brand {
  width: 54px;
  height: 54px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.store-offer-card__brand .store-logo,
.store-offer-card__brand .store-logo-image {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.store-offer-card__title-row,
.store-offer-card__status,
.store-offer-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.store-offer-card__title-row h3 {
  margin: 0;
  color: #fff;
  font-size: 2rem;
}

.store-offer-card__type,
.store-offer-card__status span {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #4a4a4a;
  color: #f2f2f2;
  font-size: 0.78rem;
  font-weight: 700;
}

.store-offer-card__status .is-verified {
  background: transparent;
  color: #19f380;
  padding-left: 0;
}

.store-offer-card__content p {
  margin: 12px 0;
  color: #fff;
}

.store-offer-card__meta {
  font-size: 0.85rem;
}

.store-offer-card__verifications {
  margin-top: 12px;
  padding: 10px 14px;
  background: #5a5a5a;
  border-radius: 999px;
  font-size: 0.88rem;
}

.store-offer-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  padding: 16px 18px;
  border: 0;
  border-radius: 14px;
  background: #18ff83;
  color: #07110b;
  font-weight: 700;
  cursor: pointer;
}

.store-faq-panel .content-panel {
  background: #1d1d1d;
  border-color: #333;
  color: #dedede;
  box-shadow: none;
}

@media (max-width: 960px) {
  .site-header__inner,
  .hero__grid,
  .section-heading,
  .store-hero,
  .coupon-single,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .store-hero__stats,
  .coupon-card__code,
  .coupon-code-box,
  .feed-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .coupon-single__sidebar {
    position: static;
  }

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

  .store-page__layout,
  .store-offer-card__header {
    grid-template-columns: 1fr;
  }

  .store-page__sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .hero,
  .section {
    padding: 28px 0 44px;
  }

  .hero__content,
  .hero__panel,
  .coupon-single__main,
  .sidebar-card,
  .store-card__inner,
  .coupon-card,
  .live-feed,
  .store-hero {
    padding: 18px;
  }

  .hero-search {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .store-filter,
  .store-directory__grid {
    grid-template-columns: 1fr;
  }

  .store-page {
    padding: 20px 0 44px;
  }

  .store-panel__logo {
    height: 88px;
  }

  .store-page__main h1 {
    font-size: 2rem;
  }

  .store-page__tabs {
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .store-report__notice {
    border-radius: 18px;
  }

  .store-offer-card__title-row h3 {
    font-size: 1.5rem;
  }

  .store-offer-card__button {
    width: 100%;
  }
}
