/* ============================================================
   The Daily Deal Finder — static template styles
   Converted from the Tailwind v4 design tokens used in the
   original React template (same colors / spacing / breakpoints).
   ============================================================ */

:root {
  --yellow: #f9d600;
  --yellow-hover: #ebd000;
  --yellow-hover-alt: #ecd000;
  --yellow-soft: #fef9c3;
  --ink: #111111;
  --olive: #78650a;
  --deal-red: #c42b1c;
  --coupon-blue: #49a6e9;
  --coupon-blue-soft: #bce3fa;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, Cambria, "Times New Roman", Times, serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: var(--sans);
  background-color: #ffffff;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  font-family: inherit;
  color: inherit;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

input {
  font-family: inherit;
}

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ---------------- Page shell + curved yellow hero ---------------- */

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  background: #ffffff;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 315px;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------------- Header ---------------- */

.site-header {
  position: relative;
  z-index: 30;
  width: 100%;
}

.header-inner {
  padding-top: 14px;
  padding-bottom: 8px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-align: left;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: var(--ink);
  flex-shrink: 0;
}

.brand-mark-icon {
  width: 20px;
  height: 20px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.nav {
  position: relative;
  display: none;
  align-items: center;
  gap: 20px;
}

.nav-item {
  position: relative;
}

.nav-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}

.nav-trigger:hover {
  opacity: 0.75;
}

.nav-caret {
  display: inline-flex;
  transition: transform 0.15s ease;
}

.nav-caret .icon {
  width: 14px;
  height: 14px;
}

.nav-trigger[aria-expanded="true"] .nav-caret {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 8px;
  z-index: 50;
  padding: 8px 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.dropdown--thin {
  width: 224px;
}

.dropdown--wide {
  width: 288px;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 8px 16px;
  text-align: left;
  font-size: 13.5px;
  color: #374151;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.dropdown-item:hover {
  background: var(--yellow-soft);
}

.dropdown-item--active {
  font-weight: 700;
  color: var(--ink);
  background: rgba(254, 249, 195, 0.6);
}

.dropdown-item--stacked {
  padding: 10px 16px;
}

.dropdown-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.dropdown-item-desc {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.35;
  color: #4b5563;
}

/* ---------------- Search pill + account area ---------------- */

.header-search {
  display: none;
  align-items: center;
  flex: 1;
  max-width: 460px;
}

.search-pill {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 38px;
  padding: 0 16px;
  border-radius: 9999px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.search-pill:focus-within {
  box-shadow: 0 0 0 2px var(--ink);
}

.search-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: #6b7280;
  margin-right: 10px;
}

.search-icon .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}

.search-input::placeholder {
  color: #4b5563;
}

.search-clear {
  display: inline-flex;
  margin-left: 6px;
  color: #9ca3af;
  transition: color 0.15s ease;
}

.search-clear:hover {
  color: var(--ink);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.auth-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: #222222;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.auth-btn:hover {
  color: #000000;
}

.auth-btn-icon {
  display: inline-flex;
  color: #374151;
}

.auth-btn-icon .icon {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

.hamburger {
  display: inline-flex;
  padding: 8px;
  border-radius: 8px;
  color: var(--ink);
}

.hamburger:hover {
  background: rgba(0, 0, 0, 0.1);
}

.hamburger .icon {
  width: 20px;
  height: 20px;
}

.mobile-search {
  display: block;
  margin-top: 12px;
}

.mobile-menu {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.mobile-menu-group + .mobile-menu-group {
  margin-top: 16px;
}

.mobile-menu-label {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  padding: 6px 12px;
  border-radius: 8px;
  background: #f3f4f6;
  color: #374151;
  font-size: 12px;
  font-weight: 600;
}

.chip--active-store {
  background: var(--yellow);
  color: var(--ink);
}

.chip--active-category {
  background: var(--ink);
  color: #ffffff;
}

/* ---------------- Section title + main layout ---------------- */

.section-title-band {
  position: relative;
  z-index: 10;
  padding-top: 12px;
  padding-bottom: 24px;
  text-align: center;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.site-main {
  position: relative;
  z-index: 10;
  flex: 1;
  padding-bottom: 64px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
}

.filter-label {
  font-weight: 600;
  color: #4b5563;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
}

.filter-chip .icon {
  width: 12px;
  height: 12px;
}

.filter-chip--store {
  background: var(--yellow);
  color: var(--ink);
}

.filter-chip--category {
  background: var(--ink);
  color: #ffffff;
}

.filter-chip--search {
  background: #f3f4f6;
  color: var(--ink);
  font-weight: 600;
}

.filter-clear {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
}

.content-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.deals-section {
  width: 100%;
  flex: 1;
  min-width: 0;
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* ---------------- Deal cards ---------------- */

.deal-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.deal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09);
}

.deal-card--online {
  border: 1.5px solid var(--olive);
}

.deal-card--coupon {
  border: 1.5px dashed var(--coupon-blue);
}

.deal-card--selected {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--ink);
}

.deal-card-banner {
  width: 100%;
  padding: 4px 0;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  user-select: none;
}

.deal-card-banner--online {
  background: var(--olive);
  color: #ffffff;
}

.deal-card-banner--coupon {
  background: var(--coupon-blue-soft);
  color: #1f2937;
}

.deal-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 112px;
  padding: 12px 12px 6px;
  background: #ffffff;
}

.product-visual {
  width: 88px;
  height: 88px;
  transition: transform 0.15s ease;
}

.deal-card:hover .product-visual {
  transform: scale(1.03);
}

.deal-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 4px 10px 10px;
}

.deal-store-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.store-badge {
  display: block;
  flex: none;
}

.store-badge--sm {
  width: 16px;
  height: 16px;
}

.store-badge--lg {
  width: 36px;
  height: 36px;
}

.deal-store-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deal-coupon-headline {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 1.25;
  font-weight: 500;
  color: var(--ink);
}

.deal-coupon-title {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 400;
  color: #4b5563;
}

.deal-title {
  margin-top: 4px;
  min-height: 34px;
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 1.28;
  font-weight: 400;
  color: var(--ink);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.deal-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}

.deal-price-current {
  color: var(--deal-red);
  font-weight: 500;
}

.deal-price-original {
  color: var(--ink);
  text-decoration: line-through;
}

.deal-discount-wrap {
  margin-top: 6px;
}

.deal-discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5px 12px;
  border: 1px solid var(--olive);
  border-radius: 9999px;
  font-family: var(--serif);
  font-size: 11.5px;
  line-height: 1.25;
  color: var(--ink);
}

.deal-timestamp {
  margin-top: auto;
  padding-top: 12px;
  font-size: 11px;
  color: #374151;
}

/* ---------------- Empty state ---------------- */

.empty-state {
  padding: 40px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.empty-title {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
}

.empty-text {
  margin-top: 4px;
  font-size: 14px;
  color: #4b5563;
}

.empty-button {
  margin-top: 16px;
  padding: 8px 20px;
  border-radius: 9999px;
  background: var(--yellow);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.empty-button:hover {
  background: var(--yellow-hover);
}

/* ---------------- Right sidebar: stores + featured ---------------- */

.right-sidebar {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex-shrink: 0;
}

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

.store-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 12px;
  border-radius: 26%;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.store-tile--active {
  background: var(--yellow-soft);
  box-shadow: 0 0 0 2px var(--ink);
}

.store-tile .store-badge--lg {
  width: 100%;
  height: 100%;
  max-width: 40px;
  max-height: 40px;
}

.featured-block {
  margin-top: 28px;
}

.featured-heading-wrap {
  margin-bottom: 14px;
}

.featured-heading {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 3.5px solid var(--yellow);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.featured-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.featured-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.featured-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 68px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f8fafc;
}

.featured-thumb .product-visual {
  width: 100%;
  height: 100%;
}

.featured-card-body {
  min-width: 0;
  flex: 1;
}

.featured-card-title {
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 1.28;
  font-weight: 400;
  color: var(--ink);
}

.featured-card:hover .featured-card-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.featured-card-time {
  margin-top: 6px;
  font-size: 11px;
  color: #4b5563;
}

/* ---------------- Footer ---------------- */

.site-footer {
  padding: 20px 16px;
  border-top: 1px solid #f3f4f6;
  background: #ffffff;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-link:hover {
  color: var(--ink);
}

a.footer-link {
  text-decoration: none;
}

/* ---------------- Animated right-to-left deal drawer ---------------- */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s ease, visibility 0s linear 0s;
}

.deal-drawer {
  position: fixed;
  top: 8px;
  bottom: 8px;
  right: 8px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: calc(100vw - 16px);
  overflow: hidden;
  border: 1.5px solid var(--olive);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.36s cubic-bezier(0.22, 1.1, 0.36, 1), visibility 0s linear 0.36s;
}

.deal-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.36s cubic-bezier(0.22, 1.1, 0.36, 1), visibility 0s linear 0s;
}

.drawer-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 4px;
}

.drawer-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  color: var(--ink);
  transition: background-color 0.15s ease;
}

.drawer-icon-btn:hover {
  background: #f3f4f6;
}

.drawer-icon-btn .icon {
  width: 20px;
  height: 20px;
}

.drawer-icon-btn--bordered {
  border: 1px solid #d1d5db;
}

.drawer-icon-btn--bordered .icon {
  width: 16px;
  height: 16px;
}

.drawer-more {
  position: relative;
}

.more-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 6px;
  z-index: 20;
  width: 176px;
  padding: 6px 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.more-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 14px;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.more-item:hover {
  background: var(--yellow-soft);
}

.more-item .icon {
  width: 16px;
  height: 16px;
}

.more-icon {
  display: inline-flex;
}

.more-icon--filled .icon {
  fill: var(--ink);
}

.more-icon--success .icon {
  color: #047857;
}

.drawer-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px 24px;
}

.drawer-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  margin: 4px 0;
}

.drawer-hero .product-visual {
  width: 168px;
  height: 168px;
}

.drawer-meta {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.drawer-title {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.18;
  font-weight: 400;
  color: var(--ink);
}

.drawer-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.drawer-price-label {
  color: var(--ink);
}

.drawer-price-current {
  color: var(--deal-red);
  font-weight: 600;
}

.drawer-price-original {
  color: var(--ink);
  text-decoration: line-through;
}

.drawer-discount-wrap {
  margin-top: 8px;
}

.drawer-discount {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 9999px;
  background: var(--yellow);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.drawer-section {
  margin-top: 24px;
}

.drawer-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 9999px;
  background: var(--yellow);
}

.drawer-section-icon .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
  color: var(--ink);
}

.drawer-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.what-to-buy {
  display: block;
  width: 100%;
  margin-top: 12px;
  text-align: left;
  border-radius: 4px;
}

.what-to-buy-label {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.what-to-buy-original {
  margin-left: 2px;
  font-weight: 400;
  color: #4b5563;
  text-decoration: line-through;
}

.what-to-buy .icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 4px;
  vertical-align: text-bottom;
  transition: transform 0.15s ease;
}

.what-to-buy-caret {
  display: inline-flex;
}

.what-to-buy-caret.is-expanded .icon {
  transform: rotate(90deg);
}

.deal-breakdown {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #e5e0c8;
  border-radius: 12px;
  background: #faf9f5;
}

.deal-breakdown-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.deal-steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.625;
  color: #374151;
}

.deal-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
  font-size: 12px;
  color: #4b5563;
}

.deal-code-row strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--ink);
}

.copy-code-btn {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--yellow);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
}

.copy-code-btn:hover {
  background: var(--yellow-hover);
}

.drawer-bonus {
  margin-top: 12px;
}

.bonus-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: #1f2937;
}

.bonus-tip-btn {
  display: inline-flex;
  color: #6b7280;
}

.bonus-tip-btn:hover {
  color: var(--ink);
}

.bonus-tip-btn .icon {
  width: 14px;
  height: 14px;
}

.bonus-tip {
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  font-size: 12px;
  line-height: 1.4;
  color: #4b5563;
}

.drawer-cta {
  padding: 12px 20px 20px;
  border-top: 1px solid #f3f4f6;
  background: #ffffff;
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 9999px;
  background: var(--yellow);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.cta-button:hover {
  background: var(--yellow-hover-alt);
}

.cta-button:active {
  transform: scale(0.99);
}

.cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: var(--ink);
  color: var(--yellow);
}

.cta-arrow .icon {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

/* ---------------- Auth / saved deals modal ---------------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.5);
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 448px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  color: #6b7280;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.modal-close:hover {
  background: #f3f4f6;
  color: var(--ink);
}

.modal-close .icon {
  width: 20px;
  height: 20px;
}

.modal-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
}

.modal-subtitle {
  margin-top: 4px;
  font-size: 14px;
  color: #4b5563;
}

.modal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.modal-tab {
  padding: 6px 16px;
  border-radius: 9999px;
  background: #f3f4f6;
  font-size: 14px;
  font-weight: 700;
  color: #4b5563;
}

.modal-tab--active {
  background: var(--yellow);
  color: var(--ink);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.field-label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
}

.text-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 14px;
  color: var(--ink);
  background: #ffffff;
  outline: none;
}

.text-input:focus {
  box-shadow: 0 0 0 2px var(--ink);
}

.modal-submit {
  width: 100%;
  padding: 12px;
  border-radius: 9999px;
  background: var(--yellow);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  transition: background-color 0.15s ease;
}

.modal-submit:hover {
  background: var(--yellow-hover);
}

.saved-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

.saved-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.saved-heading .icon {
  width: 16px;
  height: 16px;
}

.saved-empty {
  margin-top: 8px;
  font-size: 12px;
  color: #6b7280;
}

.saved-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 192px;
  margin-top: 10px;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.saved-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-align: left;
  transition: background-color 0.15s ease;
}

.saved-item:hover {
  background: var(--yellow-soft);
}

.saved-item-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink);
}

.saved-item-price {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--deal-red);
}

.modal-signout {
  width: 100%;
  margin-top: 24px;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  transition: background-color 0.15s ease;
}

.modal-signout:hover {
  background: #f3f4f6;
}

/* ---------------- Toast ---------------- */

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 9999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transform: translateX(-50%);
}

.toast-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--yellow);
}

.toast-icon .icon {
  width: 16px;
  height: 16px;
}

/* ---------------- Responsive breakpoints ---------------- */

@media (min-width: 640px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-backdrop {
    height: 330px;
  }

  .section-title {
    font-size: 19px;
  }

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

  .store-grid {
    gap: 12px;
  }

  .mobile-search {
    display: none;
  }

  .header-search {
    display: flex;
  }

  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .footer-inner {
    flex-direction: row;
  }

  .toast {
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

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

@media (min-width: 1024px) {
  .header-row {
    gap: 28px;
  }

  .header-left {
    gap: 28px;
  }

  .nav {
    gap: 24px;
  }

  .content-row {
    flex-direction: row;
    gap: 24px;
  }

  .right-sidebar {
    width: 270px;
  }
}

@media (min-width: 1280px) {
  .content-row {
    gap: 28px;
  }

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

  .right-sidebar {
    width: 292px;
  }
}

@media (min-width: 640px) {
  .deal-drawer {
    width: 376px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------------- Product photos + AJAX load more ---------------- */

.deal-visual {
  position: relative;
}

.deal-photo {
  position: absolute;
  inset: 8px 12px 6px;
  width: calc(100% - 24px);
  height: calc(100% - 14px);
  object-fit: contain;
  background: #ffffff;
}

.featured-thumb {
  position: relative;
}

.featured-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f8fafc;
}

.drawer-hero {
  position: relative;
}

.drawer-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.cta-button {
  text-decoration: none;
}

.load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 22px 0 6px;
}

.load-more-button {
  min-width: 240px;
  padding: 13px 28px;
  border-radius: 9999px;
  background: var(--yellow);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.load-more-button:hover {
  background: var(--yellow-hover-alt);
}

.load-more-button:active {
  transform: scale(0.99);
}

.load-more-button:disabled {
  opacity: 0.65;
  cursor: progress;
}



/* ---------------- Footer: savings guides ---------------- */

.footer-guides {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
}

.footer-guides-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

.footer-guide-link {
  font-size: 11px;
  color: #6b7280;
  text-decoration: none;
}

.footer-guide-link:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ---------------- Animated image placeholders (js/media.js) ---------------- */

.media-shell {
  position: relative;
}

.media-shell.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(90deg, #f1f2f4 25%, #e6e8ee 37%, #f1f2f4 63%);
  background-size: 400% 100%;
  animation: mediaShimmer 1.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes mediaShimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .media-shell.is-loading::before {
    animation: none;
    background: #eef0f3;
  }
}
/* ---------------- Homepage SEO hub (keyword sections below the grid) ---------------- */

.seo-hub {
  padding-bottom: 64px;
}

.seo-section {
  padding: 34px 0;
  border-top: 1px solid #f1f2f4;
}

.seo-section:first-child {
  border-top: 0;
  padding-top: 8px;
}

.seo-eyebrow {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
}

.seo-heading {
  display: inline-block;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 4px solid var(--yellow);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.seo-copy {
  max-width: 820px;
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
}

.seo-copy strong {
  color: var(--ink);
}

.seo-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.seo-step {
  padding: 16px 18px;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--yellow);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.seo-step-num {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--olive);
}

.seo-step h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.seo-step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #4b5563;
}

.seo-subheading {
  margin: 24px 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.seo-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.seo-chip:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-1px);
}

.seo-chip--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.seo-chip--dark:hover {
  background: var(--olive);
  border-color: var(--olive);
  color: #ffffff;
}

.seo-guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 20px;
}

.seo-guide-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.seo-guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);
}

.seo-guide-kicker {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
}

.seo-guide-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
}

.seo-guide-desc {
  flex: 1;
  font-size: 13px;
  line-height: 1.55;
  color: #4b5563;
}

.seo-guide-cta {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.seo-faq {
  margin-top: 8px;
  border-top: 1px solid #f1f2f4;
}

.seo-faq-item {
  border-bottom: 1px solid #f1f2f4;
}

.seo-faq-item summary {
  padding: 14px 0;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
}

.seo-faq-item summary::marker {
  color: var(--olive);
}

.seo-faq-item p {
  max-width: 820px;
  margin: 0 0 14px;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
}

@media (min-width: 640px) {
  .seo-section {
    padding: 44px 0;
  }

  .seo-heading {
    font-size: 28px;
  }

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

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

@media (min-width: 1024px) {
  .seo-section {
    padding: 52px 0;
  }

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


/* ============================================================
   SEO hub / deal landing pages (hub.php + deal.php)
   ============================================================ */
.hub-main,
.deal-page {
  padding-top: 16px;
  padding-bottom: 40px;
}

.hub-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 20px;
}

.hub-breadcrumbs a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.hub-breadcrumbs a:hover {
  text-decoration: underline;
}

.hub-intro {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 28px;
}

.hub-intro strong {
  color: var(--ink);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hub-deal-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #ebebeb;
  border-radius: 18px;
  padding: 14px;
  background: #fff;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.hub-deal-card:hover {
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
  transform: translateY(-2px);
}

.hub-deal-media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f6f6f6;
}

.hub-deal-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-deal-media-empty {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f6f6f6 0%, #ececec 100%);
}

.hub-deal-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.hub-deal-store {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--olive);
}

.hub-deal-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
}

.hub-deal-title:hover {
  text-decoration: underline;
}

.hub-deal-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 15px;
}

.hub-deal-prices strong {
  color: var(--deal-red);
  font-size: 17px;
}

.hub-deal-prices s {
  color: #9ca3af;
}

.hub-deal-prices em {
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  color: #0f7a2d;
  background: #e9f7ee;
  border-radius: 999px;
  padding: 3px 9px;
}

.hub-deal-cta,
.deal-page-cta {
  display: inline-block;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  color: #111;
  background: var(--yellow);
  border-radius: 999px;
  padding: 11px 18px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.hub-deal-cta:hover,
.deal-page-cta:hover {
  background: var(--yellow-hover);
}

.hub-empty {
  color: #6b7280;
  font-size: 16px;
  margin: 0 0 16px;
}

/* Fallback for the shared "back to deals" button when article.css isn't loaded */
.article-cta-btn {
  display: inline-block;
  font-weight: 800;
  font-size: 15px;
  color: #111;
  background: var(--yellow);
  border-radius: 999px;

/* Language switcher in the footer */
.footer-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px 0 4px;
}

.footer-langs-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
}

.footer-lang-link {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
}

.footer-lang-link:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-lang-link--active {
  color: var(--ink);
  font-weight: 800;
}

  padding: 12px 20px;
  text-decoration: none;
}

.article-cta-btn:hover {
  background: var(--yellow-hover);
}

/* ---- Single deal page ---- */
.deal-page-card {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.deal-page-media {
  border-radius: 18px;
  overflow: hidden;
  background: #f6f6f6;
}

.deal-page-media img {
  display: block;
  width: 100%;
  height: auto;
}

.deal-page-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.deal-page-store {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0;
}

.deal-page-title {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.deal-page-price {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.deal-page-current {
  font-size: 32px;
  font-weight: 800;
  color: var(--deal-red);
}

.deal-page-original {
  font-size: 18px;
  color: #9ca3af;
}

.deal-page-discount {
  font-weight: 800;
  font-size: 14px;
  color: #0f7a2d;
  background: #e9f7ee;
  border-radius: 999px;
  padding: 4px 11px;
}

.deal-page-section h2 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
}

.deal-page-steps {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-size: 15px;
  color: #374151;
}

.deal-page-code {
  margin: 0;
  font-size: 18px;
}

.deal-page-code strong {
  background: #fff7cc;
  border: 1px dashed var(--olive);
  border-radius: 8px;
  padding: 6px 12px;
  letter-spacing: 0.02em;
}

.deal-page-note {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.deal-page-cta {
  align-self: flex-start;
  font-size: 16px;
  padding: 14px 26px;
}

.deal-related {
  margin-top: 40px;
}

.deal-related-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 18px;
}

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

  .deal-page-card {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   Legal pages (privacy.php, do-not-sell.php) + footer disclaimer
   ============================================================ */
.legal {
  max-width: 820px;
  font-size: 16px;
  line-height: 1.65;
  color: #374151;
  background: #fff;
  border-radius: 16px;
  padding: 24px 26px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
}


.legal h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 30px 0 10px;
}

.legal h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 22px 0 8px;
}

.legal p {
  margin: 0 0 14px;
}

.legal ul {
  margin: 0 0 16px;
  padding-left: 22px;
  display: grid;
  gap: 6px;
}

.legal a {
  color: #0f5aa8;
}

.legal-updated {
  font-size: 14px;
  font-weight: 700;
  color: #6b7280;
}

.legal-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
  margin-top: 10px;
}

.legal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.legal-field input,
.legal-field textarea {
  font: inherit;
  font-weight: 400;
  padding: 11px 13px;
  border: 1px solid #d9dde1;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

.legal-field input:focus,
.legal-field textarea:focus {
  outline: 2px solid var(--yellow);
  border-color: var(--yellow);
}

.legal-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.legal-submit {
  justify-self: start;
  font-weight: 800;
  font-size: 15px;
  color: #111;
  background: var(--yellow);
  border: 0;
  border-radius: 999px;
  padding: 12px 26px;
  cursor: pointer;
}

.legal-submit:hover {
  background: var(--yellow-hover);
}

.legal-success {
  background: #e9f7ee;
  border: 1px solid #bfe6cc;
  border-radius: 12px;
  padding: 16px 18px;
  color: #14532d;
}

.legal-error {
  background: #fdecec;
  border: 1px solid #f3c0c0;
  border-radius: 10px;
  padding: 10px 14px;
  color: #b91c1c;
  font-weight: 600;
}

.footer-disclaimer {
  padding: 18px 0 4px;
  color: #6b7280;
  font-size: 12.5px;
  line-height: 1.55;
}

.footer-disclaimer p {
  margin: 0;
  max-width: 900px;
}


/* 404 page */
.notfound-main {
  padding-top: 26px;
  padding-bottom: 48px;
}

.notfound-card {
  background: #fff;
  border-radius: 18px;
  padding: 40px 30px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 30px;
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.08);
  position: relative;
  z-index: 2;
}

.notfound-code {
  display: inline-block;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: #111;
  background: var(--yellow);
  border-radius: 16px;
  padding: 6px 22px;
  margin-bottom: 16px;
}

.notfound-title {
  font-family: var(--serif);
  font-size: 30px;
  margin: 0 0 10px;
}

.notfound-text {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 22px;
}

.notfound-btn {
  display: inline-block;
  font-weight: 800;
  font-size: 15px;
  color: #111;
  background: var(--yellow);
  border-radius: 999px;
  padding: 13px 26px;
  text-decoration: none;
}

.notfound-btn:hover {
  background: var(--yellow-hover);
}

.notfound-stores {
  position: relative;
  z-index: 2;
}

/* Keep hub intro + article text readable on a white surface over the yellow hero */
.hub-intro {
  background: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  position: relative;
  z-index: 2;
}

.article {
  background: #fff;
  border-radius: 16px;
  padding: 22px 26px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
}

