/* Achados TudoPronto — Public Deals Storefront CSS (mobile-first, zero CDN) */

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-tint: #f1f5f9;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --emerald: #059669;
  --emerald-hover: #047857;
  --emerald-soft: #ecfdf5;
  --emerald-ink: #065f46;

  --discount: #dc2626;
  --discount-soft: #fef2f2;
  --amber: #d97706;
  --amber-soft: #fffbeb;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 10px -4px rgba(15, 23, 42, 0.04);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

.is-hidden {
  display: none !important;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.65rem 1rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-narrow {
  max-width: 820px;
}

.site-main {
  flex: 1 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #059669 0%, #0f766e 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.28);
}

.header-search {
  order: 3;
  flex: 1 0 100%;
  display: flex;
  align-items: center;
  background: var(--surface-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.25rem 0.2rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.header-search:focus-within {
  background: var(--surface);
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.14);
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.93rem;
  color: var(--ink);
  padding: 0.42rem 0;
  outline: none;
}

.header-search button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--emerald);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.header-search button:hover {
  background: var(--emerald-hover);
}

.nav-toggle {
  margin-left: auto;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.site-nav {
  order: 4;
  flex: 1 0 100%;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--border);
}

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

.nav-link {
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-2);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: var(--emerald-soft);
  color: var(--emerald-ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  font-size: 0.86rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background: var(--emerald);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.22);
}

.btn-primary:hover {
  background: var(--emerald-hover);
  box-shadow: 0 6px 14px rgba(5, 150, 105, 0.28);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--surface-tint);
  border-color: var(--muted);
}

.btn-ghost {
  background: var(--emerald-soft);
  color: var(--emerald-ink);
  border-color: rgba(5, 150, 105, 0.16);
}

.btn-ghost:hover {
  background: #d1fae5;
}

.btn-cta-lg {
  font-size: 1.08rem;
  padding: 1rem 1.5rem;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px -4px rgba(5, 150, 105, 0.36);
}

.btn-share {
  width: 100%;
}

.btn-copy.is-copied,
.btn-share.is-copied {
  background: var(--emerald);
  color: #fff;
  border-color: var(--emerald);
}

.btn-telegram {
  background: #0284c7;
  color: #ffffff;
}

.btn-telegram:hover {
  background: #0369a1;
}

.btn-whatsapp {
  background: #16a34a;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #15803d;
}

/* Hero */
.hero {
  background: radial-gradient(120% 100% at 50% 0%, #ecfdf5 0%, #ffffff 55%, #f8fafc 100%);
  border-bottom: 1px solid var(--border);
  padding: 2.25rem 0 2rem;
}

.hero-content {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.78rem;
  border-radius: var(--radius-full);
  background: var(--emerald-soft);
  color: var(--emerald-ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.hero-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-subtitle {
  margin: 0 auto 1.4rem;
  max-width: 600px;
  color: var(--ink-2);
  font-size: 1.02rem;
}

.hero-search {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 620px;
  margin: 0 auto 1.1rem;
  background: var(--surface);
  padding: 0.45rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.hero-search:focus-within {
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.14);
}

.hero-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.25rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}

/* Category Pills */
.category-pills {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.55rem;
  padding: 1.5rem 0 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.category-pills-compact {
  padding-top: 1.1rem;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.category-pill:hover {
  border-color: var(--emerald);
  color: var(--emerald-ink);
  transform: translateY(-1px);
}

.category-pill.is-active {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #ffffff;
}

.pill-icon {
  font-size: 1rem;
  line-height: 1;
}

.pill-count {
  font-size: 0.76rem;
  padding: 0.08rem 0.45rem;
  border-radius: var(--radius-full);
  background: var(--surface-tint);
  color: var(--muted);
}

.category-pill.is-active .pill-count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* Sections */
.section {
  padding: 2.25rem 0;
}

.section-tinted {
  background: var(--surface-tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.section-title {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-sub {
  margin: 0.2rem 0 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.link-more {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--emerald);
  white-space: nowrap;
}

.link-more:hover {
  color: var(--emerald-hover);
  text-decoration: underline;
}

/* Offers Grid & Cards */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.1rem;
}

.offer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.offer-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #ffffff;
  border-bottom: 1px solid var(--surface-tint);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.offer-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.offer-card:hover .offer-card-media img {
  transform: scale(1.03);
}

.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #94a3b8;
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

.img-placeholder-lg {
  min-height: 280px;
}

.badge-discount {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  background: var(--discount);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  padding: 0.26rem 0.6rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
}

.badge-discount-lg {
  top: 1rem;
  left: 1rem;
  font-size: 0.9rem;
  padding: 0.35rem 0.78rem;
}

.badge-tag {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  background: var(--amber-soft);
  color: #92400e;
  border: 1px solid #fde68a;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-full);
}

.badge-tag-lg {
  top: 1rem;
  right: 1rem;
  font-size: 0.82rem;
  padding: 0.3rem 0.72rem;
}

.offer-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.offer-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  background: var(--surface-tint);
  color: var(--ink-2);
  font-size: 0.74rem;
  font-weight: 700;
}

.store-pill-lg {
  font-size: 0.82rem;
  padding: 0.28rem 0.75rem;
}

.cat-mini {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.cat-link-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--emerald-soft);
  color: var(--emerald-ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.cat-link-pill:hover {
  background: #d1fae5;
}

.lowest-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--amber-soft);
  color: #92400e;
  font-size: 0.8rem;
  font-weight: 700;
}

.offer-card-title {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.38;
  font-weight: 700;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offer-card-title a:hover {
  color: var(--emerald);
}

.offer-price-box {
  margin-top: auto;
  padding-top: 0.25rem;
}

.price-old {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: line-through;
}

.price-now-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
}

.price-now {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--emerald-ink);
}

.price-check {
  font-size: 1rem;
  font-weight: 700;
  color: var(--emerald);
}

.price-save {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald);
  background: var(--emerald-soft);
  padding: 0.14rem 0.45rem;
  border-radius: var(--radius-sm);
}

.coupon-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  padding: 0.24rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--emerald);
  background: var(--emerald-soft);
  font-size: 0.78rem;
  color: var(--emerald-ink);
}

.coupon-chip code {
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.offer-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding-top: 0.2rem;
}

/* Guides Grid */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.1rem;
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong);
}

.guide-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.guide-date {
  font-size: 0.8rem;
  color: var(--muted);
}

.guide-card-title {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.32;
}

.guide-card-title a:hover {
  color: var(--emerald);
}

.guide-card-excerpt {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-2);
  flex: 1;
}

.guide-card-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--emerald);
}

.guide-card-link:hover {
  text-decoration: underline;
}

/* VIP Channel Banner */
.vip-banner {
  background: linear-gradient(135deg, #0f172a 0%, #064e3b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-md);
}

.vip-badge {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.vip-banner h2 {
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
  line-height: 1.25;
}

.vip-banner p {
  margin: 0;
  color: #cbd5e1;
  max-width: 560px;
}

.vip-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Page Header & Breadcrumbs */
.page-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0 1.6rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.breadcrumbs a:hover {
  color: var(--emerald);
  text-decoration: underline;
}

.page-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.page-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.title-icon {
  margin-right: 0.35rem;
}

.page-desc {
  margin: 0.5rem 0 0;
  color: var(--ink-2);
  max-width: 720px;
  font-size: 1rem;
}

.count-badge {
  background: var(--surface-tint);
  color: var(--ink-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.8rem;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.filter-search {
  display: flex;
  gap: 0.5rem;
}

.filter-search input {
  flex: 1;
  min-width: 0;
  padding: 0.58rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font: inherit;
  font-size: 0.92rem;
}

.filter-search input:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.14);
}

.sort-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sort-tab {
  padding: 0.46rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.sort-tab:hover {
  border-color: var(--emerald);
  color: var(--emerald-ink);
}

.sort-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

/* Offer Detail Page */
.section-offer {
  padding-top: 1.5rem;
}

.offer-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.offer-gallery {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--surface-tint);
  border-radius: var(--radius-md);
  min-height: 280px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-gallery img {
  max-height: 380px;
  width: auto;
  object-fit: contain;
}

.offer-summary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.offer-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.offer-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.offer-subtitle {
  margin: -0.35rem 0 0;
  font-size: 1rem;
  color: var(--ink-2);
}

.price-panel {
  background: var(--emerald-soft);
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
}

.price-panel-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.2rem;
}

.price-old-lg {
  font-size: 0.96rem;
  color: var(--muted);
  text-decoration: line-through;
}

.discount-pill-inline {
  background: var(--discount);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.16rem 0.55rem;
  border-radius: var(--radius-full);
}

.price-current-lg {
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--emerald-ink);
}

.price-current-check {
  font-size: 1.25rem;
}

.price-savings-line {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--emerald-ink);
}

.coupon-box {
  border: 1.5px dashed var(--emerald);
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.coupon-box-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem;
  margin-bottom: 0.55rem;
}

.coupon-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--emerald-ink);
}

.coupon-hint {
  font-size: 0.78rem;
  color: var(--muted);
}

.coupon-box-row {
  display: flex;
  gap: 0.5rem;
}

.coupon-input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--ink);
  background: var(--surface-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
  text-align: center;
}

.offer-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.offer-disclaimer {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.offer-details-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
}

.detail-card h2 {
  margin: 0 0 0.8rem;
  font-size: 1.18rem;
}

.detail-card p {
  margin: 0 0 0.75rem;
  color: var(--ink-2);
}

.detail-card p:last-child {
  margin-bottom: 0;
}

.highlights-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--ink-2);
}

.check-icon {
  color: var(--emerald);
  font-weight: 900;
  flex-shrink: 0;
}

/* Prose / Guides / Legal */
.guide-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.prose {
  font-size: 1.03rem;
  line-height: 1.72;
  color: var(--ink-2);
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
}

.prose h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--ink);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 1.35rem 0 0.5rem;
  font-size: 1.12rem;
  color: var(--ink);
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.1rem;
  padding-left: 1.35rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose a {
  color: var(--emerald);
  text-decoration: underline;
  font-weight: 600;
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--surface-tint);
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
}

.guide-offers-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
}

.guide-offers-section h2 {
  margin: 0;
  font-size: 1.4rem;
}

.guide-offers-list {
  margin-top: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide-offer-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  box-shadow: var(--shadow-xs);
}

.guide-offer-thumb {
  width: 100%;
  height: 140px;
  background: #ffffff;
  border: 1px solid var(--surface-tint);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-offer-thumb img {
  max-height: 100%;
  object-fit: contain;
}

.guide-offer-info h3 {
  margin: 0.35rem 0 0.3rem;
  font-size: 1.05rem;
}

.guide-offer-info h3 a:hover {
  color: var(--emerald);
}

.guide-offer-sub {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.guide-offer-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
}

.guide-offer-cta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

/* Pagination & Empty States */
.pagination {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.pagination-info {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.empty-state {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  text-align: center;
}

.empty-state-lg {
  padding: 3rem 1.5rem;
}

.empty-state h1,
.empty-state h3 {
  margin: 0 0 0.5rem;
}

.empty-state p {
  margin: 0 auto 1.25rem;
  max-width: 480px;
  color: var(--muted);
}

.notfound-code {
  display: inline-block;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--emerald);
  margin-bottom: 0.5rem;
}

.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 2.5rem 0 1.75rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}

.brand-footer {
  color: #ffffff;
}

.footer-tagline {
  margin: 0.65rem 0 0;
  color: #94a3b8;
  font-size: 0.92rem;
  max-width: 340px;
}

.footer-heading {
  margin: 0 0 0.7rem;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.92rem;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: #34d399;
  text-decoration: underline;
}

.footer-disclosure {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  color: #cbd5e1;
  margin-bottom: 1.35rem;
}

.footer-disclosure p {
  margin: 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  color: #94a3b8;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #6ee7b7;
}

/* Responsive Breakpoints */
@media (min-width: 600px) {
  .hero-search {
    flex-direction: row;
    align-items: center;
  }

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

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

  .guide-offer-item {
    grid-template-columns: 120px 1fr auto;
  }

  .guide-offer-thumb {
    width: 120px;
    height: 110px;
  }

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

@media (min-width: 860px) {
  .header-inner {
    flex-wrap: nowrap;
    gap: 1.25rem;
  }

  .header-search {
    order: 2;
    flex: 1 1 auto;
    max-width: 440px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    order: 3;
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 0;
    border-top: 0;
    margin-left: auto;
  }

  .category-pills {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }

  .category-pills-compact {
    justify-content: flex-start;
  }

  .filter-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .filter-search {
    width: 320px;
  }

  .offer-hero {
    grid-template-columns: 1fr 1.1fr;
    padding: 2rem;
    gap: 2.25rem;
  }

  .offer-details-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .vip-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.15rem 2.5rem;
  }

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

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

@media (min-width: 1120px) {
  .offers-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
