/* ===== Fonts (self-hosted Inter, SIL OFL – see fonts/Inter-LICENSE.txt) ===== */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-Regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/inter-Medium.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-SemiBold.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/inter-Bold.woff") format("woff"); }

/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(165deg, #FFF5EB 0%, #FDE8D8 35%, #F8E4D4 70%, #F5DCC8 100%);
  background-attachment: fixed;
  color: #2A2420;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Links inherit colour; in-text links get an underline (see Accessibility section) */
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== Header ===== */
.site-header {
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(210, 170, 140, 0.35);
  position: sticky;
  top: 0;
  z-index: 200;
}

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

/* Hamburger - left */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #3D5C4A;
  border-radius: 2px;
  transition: 0.2s;
}

.menu-toggle:hover span {
  background: #2A4A3A;
}

.logo {
  font-size: 1.45rem;
  font-weight: 700;
  color: #3D5C4A !important;
  letter-spacing: -0.6px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a,
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #4A423C !important;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.main-nav a:hover,
.nav-link:hover,
.main-nav a.active {
  color: #3D5C4A !important;
}

.nav-dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #FFF9F3;
  border: 1px solid rgba(210, 170, 140, 0.45);
  border-radius: 14px;
  padding: 10px 0;
  min-width: 220px;
  box-shadow: 0 14px 36px rgba(80, 50, 30, 0.1);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu { display: block; }
.dropdown-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }

.dropdown-menu a {
  display: block;
  padding: 11px 22px;
  font-size: 0.9rem;
  color: #3A342F !important;
}

.dropdown-menu a:hover {
  background: #F8E8D8;
  color: #3D5C4A !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Side menu (hamburger panel) */
.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: #FFF9F3;
  border-right: 1px solid rgba(210, 170, 140, 0.4);
  box-shadow: 8px 0 40px rgba(80, 50, 30, 0.12);
  z-index: 300;
  transform: translateX(-105%);
  transition: transform 0.28s ease;
  padding: 28px 0;
  overflow-y: auto;
}

.side-menu.open {
  transform: translateX(0);
}

.side-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px 20px;
  border-bottom: 1px solid rgba(210, 170, 140, 0.35);
  margin-bottom: 12px;
}

.side-menu-header strong {
  font-size: 1.15rem;
  color: #3D5C4A;
}

.side-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6B625A;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.side-menu a {
  display: block;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: #3A342F !important;
  border-bottom: 1px solid rgba(210, 170, 140, 0.2);
}

.side-menu a:hover {
  background: #F8E8D8;
  color: #3D5C4A !important;
}

.side-menu .side-label {
  padding: 18px 24px 8px;
  font-size: 0.75rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6B625A;
}

.side-overlay {
  position: fixed;
  inset: 0;
  background: rgba(40, 30, 20, 0.35);
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.side-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 11px;
  font-size: 0.925rem;
  font-weight: 560;
  transition: all 0.18s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #3D5C4A;
  color: #FFF9F3 !important;
}

.btn-primary:hover {
  background: #324B3D;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(61, 92, 74, 0.25);
  color: #FFF9F3 !important;
}

.btn-text {
  color: #4A423C !important;
  padding: 11px 12px;
}

.btn-text:hover { color: #3D5C4A !important; }

.btn-large {
  padding: 15px 32px;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(210, 170, 140, 0.7);
  color: #4A423C !important;
}

.btn-outline:hover {
  border-color: #3D5C4A;
  color: #3D5C4A !important;
  background: rgba(61, 92, 74, 0.06);
}

/* ===== Hero ===== */
.hero {
  padding: 88px 0 64px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #241F1B;
  letter-spacing: -1.3px;
  margin-bottom: 18px;
  line-height: 1.15;
}

.hero-sub {
  font-size: 1.15rem;
  color: #5C534C;
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.55;
}

/* ===== Seasons ===== */
.seasons { padding: 8px 0 72px; }

.season-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.season-card {
  background: linear-gradient(160deg, #FFF9F3 0%, #FFF0E4 100%);
  border: 1px solid rgba(210, 170, 140, 0.45);
  border-radius: 16px;
  padding: 28px 22px;
  transition: all 0.22s ease;
  box-shadow: 0 2px 10px rgba(120, 70, 40, 0.05);
}

.season-card:hover {
  border-color: #3D5C4A;
  box-shadow: 0 10px 28px rgba(61, 92, 74, 0.12);
  transform: translateY(-3px);
}

.season-card h3 {
  font-size: 1.15rem;
  font-weight: 650;
  color: #241F1B;
  margin-bottom: 6px;
}

.season-card p {
  font-size: 0.88rem;
  color: #6B625A;
}

/* Color accents per season */
.season-card:nth-child(1) { border-top: 3px solid #E8A87C; }
.season-card:nth-child(2) { border-top: 3px solid #C47B4A; }
.season-card:nth-child(3) { border-top: 3px solid #3D5C4A; }
.season-card:nth-child(4) { border-top: 3px solid #7B9E87; }

/* ===== Benefits ===== */
.benefits {
  padding: 72px 0;
  background: linear-gradient(180deg, #FFF9F3 0%, #FFF3E8 100%);
  border-top: 1px solid rgba(210, 170, 140, 0.35);
  border-bottom: 1px solid rgba(210, 170, 140, 0.35);
}

.benefits h2 {
  font-size: 1.8rem;
  font-weight: 650;
  text-align: center;
  margin-bottom: 48px;
  color: #241F1B;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.benefit-card h3 {
  font-size: 1.12rem;
  font-weight: 650;
  margin-bottom: 10px;
  color: #3D5C4A;
}

.benefit-card p {
  font-size: 0.95rem;
  color: #5C534C;
  line-height: 1.6;
}

/* ===== How it works ===== */
.how-it-works { padding: 72px 0; }

.how-it-works h2 {
  font-size: 1.8rem;
  font-weight: 650;
  text-align: center;
  margin-bottom: 48px;
  color: #241F1B;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 48px;
  max-width: 860px;
  margin: 0 auto;
}

.step { text-align: center; flex: 1; }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #3D5C4A;
  color: #FFF9F3;
  border-radius: 50%;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.step p {
  font-size: 0.95rem;
  color: #5C534C;
}

/* ===== Final CTA ===== */
.final-cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, #FFF3E8 0%, #FFE8D4 100%);
  border-top: 1px solid rgba(210, 170, 140, 0.35);
}

.final-cta h2 {
  font-size: 1.8rem;
  font-weight: 650;
  margin-bottom: 12px;
  color: #241F1B;
}

.final-cta p {
  font-size: 1.08rem;
  color: #5C534C;
  margin-bottom: 28px;
}

/* ===== Footer ===== */
.site-footer {
  padding: 36px 0;
  border-top: 1px solid rgba(210, 170, 140, 0.35);
  background: rgba(255, 245, 235, 0.8);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-weight: 700;
  color: #3D5C4A !important;
  font-size: 1.05rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: #6B625A !important;
  font-weight: 500;
}

.footer-links a:hover { color: #3D5C4A !important; }

/* ===== Page Hero ===== */
.page-hero {
  padding: 64px 0 40px;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.8px;
  color: #241F1B;
}

.page-hero p {
  font-size: 1.1rem;
  color: #5C534C;
  max-width: 500px;
  margin: 0 auto;
}

.section { padding: 48px 0; }

.section-title {
  font-size: 1.5rem;
  font-weight: 650;
  margin-bottom: 24px;
  color: #241F1B;
}

.gift-ideas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.idea-card {
  background: linear-gradient(160deg, #FFF9F3, #FFF0E4);
  border: 1px solid rgba(210, 170, 140, 0.45);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.2s;
}

.idea-card:hover {
  border-color: #3D5C4A;
  box-shadow: 0 8px 22px rgba(61, 92, 74, 0.1);
}

.idea-card h4 {
  font-size: 1.02rem;
  font-weight: 650;
  margin-bottom: 6px;
  color: #3D5C4A;
}

.idea-card p {
  font-size: 0.88rem;
  color: #5C534C;
}

.simple-list { list-style: none; max-width: 580px; }

.simple-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(210, 170, 140, 0.35);
  font-size: 0.95rem;
  color: #3F3833;
  padding-left: 20px;
  position: relative;
}

.simple-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 7px;
  height: 7px;
  background: #3D5C4A;
  border-radius: 50%;
}

.simple-list li:last-child { border-bottom: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .season-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps { flex-direction: column; gap: 28px; }
  .gift-ideas-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 600px) {
  .hero { padding: 56px 0 40px; }
  .hero h1 { font-size: 1.85rem; }
  .season-grid, .gift-ideas-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 1.8rem; }
  .header-actions .btn-text { display: none; }
  .container { padding: 0 18px; }
}


/* =====================================================================
   Accessibility
   ===================================================================== */
.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: 12px; top: -60px; z-index: 1000;
  background: #3D5C4A; color: #FFF9F3; padding: 12px 18px; border-radius: 10px; font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #1D5C8A !important; outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none !important; }
p a:not(.btn), li a:not(.btn), .footer-note a, .section-lead a, .summary-note a {
  text-decoration: underline; text-underline-offset: 3px;
}
button.chip, button.filter-chip { font-family: inherit; }
.chip[aria-pressed="true"], .filter-chip[aria-pressed="true"] { background: #3D5C4A; border-color: #3D5C4A; color: #fff; }
.filter-chip.active { color: #fff; }
.side-menu a:focus-visible, .dropdown-menu a:focus-visible { background: #F8E8D8; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* =====================================================================
   Shared components
   ===================================================================== */
.season-banner {
  display: inline-block; margin-bottom: 20px; padding: 7px 16px; border-radius: 100px;
  background: rgba(61, 92, 74, 0.1); border: 1px solid rgba(61, 92, 74, 0.25);
  font-size: 0.9rem; color: #2A4A3A;
}
.season-banner a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.season-banner-label {
  background: #3D5C4A; color: #FFF9F3; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 2px 8px; border-radius: 100px; margin-right: 6px;
}
.season-card.season-now { border-color: #3D5C4A; box-shadow: 0 10px 28px rgba(61, 92, 74, 0.12); }
.season-date { margin-top: 12px; font-size: 0.95rem; font-weight: 600; color: #3D5C4A; }
.section-lead { text-align: center; color: #5C534C; max-width: 620px; margin: -4px auto 28px; }
.footer-note { padding-top: 18px; margin-top: 18px; border-top: 1px solid rgba(210, 170, 140, 0.3); }
.footer-note p { font-size: 0.82rem; color: #6B625A; max-width: 760px; line-height: 1.55; }

/* Notices */
.notice {
  background: #FFFCFA; border: 1px solid rgba(220, 200, 180, 0.7); border-left: 4px solid #3D5C4A;
  border-radius: 12px; padding: 14px 18px; font-size: 0.9rem; color: #4A423C; margin-bottom: 20px; line-height: 1.55;
}
.notice strong { color: #241F1B; }
.notice.demo { border-left-color: #B7791F; background: #FFF8E8; }

/* Deal cards (Deal Radar, home page, Gift Finder) */
.deals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.deal-card {
  background: #FFFCFA; border: 1px solid rgba(220, 200, 180, 0.55); border-radius: 16px; overflow: hidden;
  transition: all 0.2s ease; box-shadow: 0 2px 8px rgba(80, 50, 30, 0.03); display: flex; flex-direction: column;
}
.deal-card:hover { border-color: #C5D4C9; box-shadow: 0 10px 28px rgba(61, 92, 74, 0.1); transform: translateY(-3px); }
.deal-image {
  height: 110px; display: flex; align-items: center; justify-content: center; font-size: 2.6rem;
  background: linear-gradient(145deg, #F5E6D6, #EBD5C0); border-bottom: 1px solid rgba(210, 170, 140, 0.35);
}
.deal-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex-grow: 1; }
.deal-badge { display: inline-block; font-size: 0.75rem; font-weight: 650; padding: 4px 10px; border-radius: 100px; margin-bottom: 10px; width: fit-content; }
.badge-great { background: #3D5C4A; color: #FFFCFA; }
.badge-good { background: #E3EEE7; color: #2A4A3A; }
.deal-title { font-size: 1.02rem; font-weight: 650; color: #241F1B; margin-bottom: 6px; line-height: 1.35; }
.deal-meta { font-size: 0.86rem; color: #6B625A; margin-bottom: 4px; }
.shop-tag { font-size: 0.8rem; color: #6B625A; margin-bottom: 12px; }
.shop-tag abbr { text-decoration: none; border-bottom: 1px dotted #6B625A; cursor: help; }
.deal-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.price-current { font-size: 1.22rem; font-weight: 700; color: #3D5C4A; }
.price-old { font-size: 0.88rem; color: #6B625A; text-decoration: line-through; }
.deal-card-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.deal-card-actions .btn { width: 100%; text-align: center; padding: 10px 16px; font-size: 0.9rem; }
.btn-small { padding: 8px 16px; font-size: 0.85rem; border-radius: 8px; }
.btn[aria-pressed="true"] { background: rgba(61, 92, 74, 0.1); border-color: #3D5C4A; color: #2A4A3A !important; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* Deal Radar controls */
.deal-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; margin-bottom: 18px; }
.deal-toolbar .field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 200px; }
.deal-toolbar label { font-size: 0.82rem; font-weight: 600; color: #3D5C4A; }
.deal-toolbar input, .deal-toolbar select, .form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid rgba(180, 150, 120, 0.7); border-radius: 10px;
  font-size: 0.95rem; font-family: inherit; background: #FFFCFA; color: #2A2420;
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.filter-chip {
  padding: 9px 18px; border: 1px solid rgba(180, 150, 120, 0.7); border-radius: 100px; font-size: 0.9rem;
  color: #4A423C; background: #FFFCFA; cursor: pointer; transition: all 0.15s ease;
}
.filter-chip:hover { border-color: #3D5C4A; color: #3D5C4A; }
.result-count { font-size: 0.9rem; color: #5C534C; margin-bottom: 18px; }
.load-more { text-align: center; margin-top: 32px; }
.how-we-rate { background: #FFFCFA; border: 1px solid rgba(220, 200, 180, 0.55); border-radius: 12px; padding: 14px 18px; margin-bottom: 28px; font-size: 0.92rem; color: #4A423C; }
.how-we-rate summary { cursor: pointer; font-weight: 600; color: #3D5C4A; }
.how-we-rate ul { margin: 10px 0 0 20px; line-height: 1.7; }
.alert-box {
  background: #FFFCFA; border: 1px solid rgba(220, 200, 180, 0.55); border-radius: 16px; padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px;
}
.alert-box h2, .alert-box h3 { font-size: 1.1rem; font-weight: 650; margin-bottom: 6px; color: #241F1B; }
.alert-box p { font-size: 0.925rem; color: #5C534C; }

/* Forms (signup, contact) */
.form-card { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid #E9E4DC; border-radius: 18px; padding: 36px 34px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.form-field { margin-bottom: 22px; }
.form-field label { display: block; font-size: 0.925rem; font-weight: 600; color: #3D5C4A; margin-bottom: 8px; }
.form-field .hint { font-size: 0.84rem; color: #6B625A; margin-top: 6px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: #4A423C; margin-bottom: 22px; line-height: 1.5; }
.form-check input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; accent-color: #3D5C4A; }
.form-check a { text-decoration: underline; text-underline-offset: 3px; }
.form-status { margin-top: 16px; font-size: 0.92rem; color: #2A4A3A; }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { background: #FFFCFA; border: 1px solid rgba(220, 200, 180, 0.55); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; color: #241F1B; }
.faq details p { margin-top: 10px; color: #4A423C; font-size: 0.95rem; line-height: 1.65; }

@media (max-width: 900px) {
  .deals-grid { grid-template-columns: repeat(2, 1fr); }
  .alert-box { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .deals-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
}

.filter-chip[aria-pressed="true"]:hover, .chip[aria-pressed="true"]:hover { color: #fff; }

.page-hero p.season-date { font-size: 0.95rem; font-weight: 600; color: #3D5C4A; margin-top: 12px; }

.deal-image.has-photo { height: 180px; background: #fff; padding: 10px; }
.deal-image.has-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
