/* Telego design refresh: calmer commerce UI layered on top of the retro base theme. */
:root {
  --soft-border: rgba(102, 126, 234, 0.18);
  --soft-panel: #f8f9ff;
  --trust-bg: rgba(102, 126, 234, 0.08);
}

/* Keep the retro identity for branding and section labels, but make shopping content easier to scan. */
.card h3,
.card h3 a,
.price-box,
.price-label,
.price,
.merchant,
.specs,
.product-info h1,
.product-info .meta,
.product-info p:not(.meta):not(.price):not(.savings-callout),
.spec-grid div,
.table th,
.table td {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.card h3 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* Make secondary modules quieter so the strongest purple is reserved for primary actions. */
.notice,
.card,
.table,
.product-detail,
.guidance-panel {
  border: 1px solid var(--soft-border);
  box-shadow: 0 10px 28px rgba(21, 21, 21, 0.04);
}

.ai-search-box,
.filter-panel,
.hero-home {
  border-width: 1px;
}

.notice {
  color: var(--text);
  background: #fff;
}

.card {
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 126, 234, 0.34);
  box-shadow: 0 16px 34px rgba(21, 21, 21, 0.08);
}

.price-box {
  border: 1px solid var(--soft-border);
  background: linear-gradient(180deg, #ffffff 0%, var(--soft-panel) 100%);
}

.price-label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price {
  color: var(--primary-dark);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.card-trust-note,
.card-data-note {
  width: fit-content;
  margin: -4px 0 0;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--primary-dark);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 650;
}

.card-trust-note {
  background: var(--trust-bg);
}

.card-data-note {
  border: 1px solid var(--soft-border);
  background: #fff;
  color: var(--muted);
}

.card .merchant {
  gap: 6px;
}

/* More commercial CTA zone on cards. */
.card .actions {
  margin: auto -16px -16px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--soft-border);
  background: linear-gradient(180deg, rgba(248, 249, 255, 0.65), #fff);
}

.card .actions .cta,
.card .actions .secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
}

.card .actions .cta {
  box-shadow: 0 8px 18px rgba(102, 126, 234, 0.22);
}

/* Product detail: clearer price, trust and CTA block. */
.product-detail {
  background: linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
}

.product-price-box {
  border: 1px solid var(--soft-border);
  background: #fff;
}

.product-trust-list {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--soft-border);
  color: var(--primary-dark);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 650;
  list-style: none;
}

.product-trust-list li::before {
  content: "✓";
  margin-right: 7px;
}

.product-main-cta {
  display: block;
  width: 100%;
  max-width: 420px;
  margin-top: 12px;
  padding: 14px 18px;
  box-shadow: 0 10px 22px rgba(102, 126, 234, 0.22);
}

.savings-callout {
  border: 1px solid var(--soft-border);
  background: var(--trust-bg);
}

.table {
  border-radius: 12px;
}

.table th {
  color: var(--primary-dark);
}

/* Page titles added to listings and the information page. */
.listing-header {
  margin: 8px 0 22px;
}

.listing-header h1 {
  margin: 0;
  color: var(--text);
  font-family: "VT323", monospace;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.05;
}

.listing-header p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

/* Footer disclosure. */
.cookie-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.5;
}

.footer-info-link {
  color: var(--primary-dark);
  text-decoration: none;
}

.footer-info-link:hover,
.footer-info-link:focus-visible {
  text-decoration: underline;
}

.footer-affiliate-note {
  flex-basis: 100%;
  color: var(--muted);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
}

@media (max-width: 760px) {
  .card:hover {
    transform: none;
  }

  .card .actions {
    gap: 8px;
  }

  .product-trust-list {
    font-size: 12px;
  }

  .footer-divider {
    display: none;
  }

  .cookie-notice > * {
    flex-basis: 100%;
  }
}
