/* Home-only design tokens. Loading, results and comparison keep their styles. */
body[data-view="hero"] {
  --sy-bg-dark: #091827;
  --sy-bg-dark-soft: #142737;
  --sy-primary: #ff811f;
  --sy-primary-hover: #ff963f;
  --sy-text-dark: #14202e;
  --sy-text-muted: #566574;
  --sy-bg-light: #f6f8fb;
  --sy-card: #fff;
  --sy-border: #dfe5ec;
  --sy-radius-small: 8px;
  --sy-radius-medium: 12px;
  --sy-radius-card: 8px;
  background: var(--sy-bg-light);
  color: var(--sy-text-dark);
  font-family: 'Inter', system-ui, sans-serif;
}

.sy-home-only { display: none; }
body[data-view="hero"] .sy-home-only { display: inline-flex; }
body[data-view="hero"] .sy-results-only { display: none; }
body[data-view="hero"] #page-main { max-width: none; padding: 0; }
body[data-view="hero"] #hero-view,
body[data-view="hero"] header,
body[data-view="hero"] footer { letter-spacing: 0; }
body[data-view="hero"] header {
  background: var(--sy-bg-dark-soft);
  border-color: #31404e;
  box-shadow: none;
}
body[data-view="hero"] .sy-header-inner {
  display: flex;
  gap: 24px;
  min-height: 76px;
  height: auto;
  max-width: 1280px;
  padding: 12px 32px;
}
body[data-view="hero"] .sy-brand-wrap { order: 0; margin-right: auto; justify-content: flex-start; }
body[data-view="hero"] #logo-container { gap: 8px; min-height: 44px; }
body[data-view="hero"] .sy-brand-image { width: 36px; height: 36px; }
body[data-view="hero"] .sy-brand-name { color: white; font-size: 24px; letter-spacing: 0; }
body[data-view="hero"] .sy-brand-name > span { color: var(--sy-primary); text-shadow: none; }
body[data-view="hero"] .sy-brand-slogan { display: none; }
body[data-view="hero"] .sy-home-nav { order: 1; align-items: center; gap: 24px; }
body[data-view="hero"] .sy-home-nav > a:not(.sy-button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  color: #edf1f5;
}
body[data-view="hero"] .sy-home-nav > a:hover { color: var(--sy-primary); }
body[data-view="hero"] .sy-mode-control { order: 2; }
body[data-view="hero"] #show-filters-hero-btn {
  color: #ecf1f6;
  background: transparent;
  border: 1px solid #566572;
  box-shadow: none;
  width: 44px;
  padding: 0;
}
body[data-view="hero"] #show-filters-hero-btn:hover { background: #2b4051; }
body[data-view="hero"] #show-filters-hero-btn span { display: none; }
body[data-view="hero"] .sy-menu-control { order: 3; }
body[data-view="hero"] .sy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--sy-radius-small);
  background: var(--sy-primary);
  color: #17202a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  transition: background-color 150ms;
}
body[data-view="hero"] .sy-button:hover { color: #17202a; background: var(--sy-primary-hover); }
body[data-view="hero"] .sy-button svg { width: 18px; height: 18px; flex: 0 0 auto; }
body[data-view="hero"] :is(a, button, input):focus-visible { outline: 3px solid #d95d00; outline-offset: 4px; }
body[data-view="hero"] :is(header, .sy-hero, .sy-comparison) :is(a, button, input):focus-visible { outline-color: #ffac69; }

#hero-view .sy-shell { max-width: 1280px; margin-inline: auto; padding-inline: 32px; }
#hero-view h2 { font-size: 28px; line-height: 1.25; font-weight: 800; }
#hero-view :is(h1, h2, h3, p, a) { overflow-wrap: anywhere; }
#hero-view svg { flex-shrink: 0; }
#hero-view .sy-hero { background: var(--sy-bg-dark); color: white; overflow: hidden; }
#hero-view .sy-hero-inner { position: relative; padding-block: 40px 24px; }
#hero-view .sy-hero-copy { position: relative; z-index: 1; width: 66%; }
#hero-view .sy-eyebrow { color: #ffa050; font-size: 12px; font-weight: 700; text-transform: uppercase; line-height: 1.5; }
#hero-view h1 { max-width: 790px; font-size: 48px; font-weight: 800; line-height: 1.1; margin: 12px 0 16px; }
#hero-view h1 span { color: var(--sy-primary); }
#hero-view .sy-hero-description { max-width: 690px; color: #c9d2db; font-size: 16px; line-height: 1.65; }
#hero-view .sy-search-form {
  margin-top: 26px;
  padding: 6px;
  border-radius: var(--sy-radius-medium);
  background: white;
  border: 1px solid #6c7a85;
  box-shadow: 0 0 0 4px #ffffff0d;
  align-items: stretch;
}
#hero-view .sy-search-field { display: flex; align-items: center; }
#hero-view .sy-search-field > svg { position: absolute; left: 12px; width: 19px; height: 19px; color: #506176; pointer-events: none; }
#hero-view #search-input-hero {
  width: 100%; min-width: 0; height: 48px; padding: 12px 10px 12px 40px;
  border: 0; border-radius: 6px; font-size: 16px; color: #14202e; background: white;
}
#hero-view #search-input-hero::placeholder { color: #566574; opacity: 1; }
#hero-view #quick-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
#hero-view .quick-tag-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 12px; border: 1px solid #536573; border-radius: 24px;
  font-size: 12px; font-weight: 500; color: #edf1f5; background: transparent;
}
#hero-view .quick-tag-btn:hover { border-color: var(--sy-primary); background: #21323e; }
#hero-view .quick-tag-btn svg { width: 17px; height: 17px; }
#hero-view .sy-trust {
  position: relative; display: flex; flex-wrap: wrap; gap: 20px 30px;
  border-top: 1px solid #293947; margin-top: 28px; padding-top: 20px;
}
#hero-view .sy-trust li { display: flex; align-items: center; gap: 8px; color: #e4eaf0; font-size: 12px; }
#hero-view .sy-trust svg { width: 19px; height: 19px; color: var(--sy-primary); }

/* Decorative bitmap only, never a catalog product. */
#hero-view .sy-hero-art { position: absolute; right: 12px; top: 64px; width: 33%; pointer-events: none; }
#hero-view .sy-hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
#hero-view .sy-hero-art > p { text-align: right; color: #adbdca; font-size: 14px; line-height: 1.65; margin: 16px 30px 0 0; }
#hero-view .sy-hero-art strong { font-weight: 500; color: #e6ebef; }

#hero-view .sy-promotions { padding-top: 34px; padding-bottom: 24px; }
#hero-view .sy-promotions-status { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; min-height: 180px; padding-block: 24px; color: var(--sy-text-muted); font-size: 14px; line-height: 1.6; }
#hero-view .sy-promotions-status[hidden] { display: none; }
#hero-view .sy-promotions-status button { color: var(--sy-text-dark); }
#hero-view .sy-promotions-status button:disabled { opacity: 0.6; cursor: wait; }
#hero-view .sy-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#hero-view .sy-section-heading p { color: var(--sy-text-muted); font-size: 14px; margin-top: 6px; line-height: 1.6; }
#hero-view .sy-heading-with-icon { display: flex; align-items: center; gap: 14px; }
#hero-view .sy-heading-with-icon > svg { width: 34px; height: 34px; color: #df6300; }
#hero-view .sy-text-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font-size: 13px; font-weight: 600; }
#hero-view .sy-text-link:hover { color: #b34d00; }
#hero-view .sy-text-link svg { width: 17px; height: 17px; }
#hero-view #home-top-picks-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 8px; margin: 18px -4px 8px; }
#hero-view .home-top-pick-tab { border-radius: 24px; box-shadow: none; font-size: 13px; color: #566574; background: white; border-color: var(--sy-border); }
#hero-view .home-top-pick-tab[aria-pressed="true"] { background: #fff2e8; border-color: #e39a62; color: #994207; }
#hero-view .sy-offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
#hero-view .sy-offer-card {
  display: grid; grid-template-columns: minmax(96px, 36%) minmax(0, 1fr); gap: 14px;
  grid-template-rows: auto minmax(0, 1fr) auto 16px;
  min-width: 0; padding: 20px; border: 1px solid var(--sy-border); border-radius: var(--sy-radius-card);
  background: var(--sy-card); box-shadow: 0 4px 20px #172d4610;
}
#hero-view .sy-offer-label { grid-column: 1 / -1; justify-self: start; background: #eef3f7; color: #4b6174; padding: 5px 8px; border-radius: 5px; font-size: 11px; font-weight: 600; line-height: 1.4; }
#hero-view .sy-offer-image { min-width: 0; display: flex; align-items: center; justify-content: center; }
#hero-view .sy-offer-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
#hero-view .sy-offer-image-fallback { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 100px; padding: 12px; color: #526677; background: #f4f7fa; font-size: 12px; text-align: center; }
#hero-view .sy-offer-content { min-width: 0; display: flex; flex-direction: column; }
#hero-view .sy-offer-content h3 { font-size: 14px; font-weight: 700; line-height: 1.5; min-height: 42px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#hero-view .sy-offer-specs { font-size: 12px; line-height: 1.5; color: var(--sy-text-muted); margin: 10px 0 14px; }
#hero-view .sy-offer-specs li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#hero-view .sy-offer-price { margin-top: auto; color: #101c29; font-size: 22px; line-height: 1.25; font-weight: 800; white-space: nowrap; }
#hero-view .sy-offer-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; }
#hero-view .sy-offer-store { font-size: 13px; color: #42576a; font-weight: 700; overflow-wrap: anywhere; }
#hero-view .sy-offer-rating { grid-column: 1 / -1; color: var(--sy-text-muted); font-size: 11px; }
#hero-view .sy-offer-cta { min-height: 44px; font-size: 13px; padding: 10px 16px; }
#hero-view .sy-offer-unavailable { font-size: 13px; color: var(--sy-text-muted); }
#hero-view .sy-updated { margin-top: 12px; font-size: 11px; color: var(--sy-text-muted); text-align: right; }
#hero-view .sy-featured { margin-top: 20px; background: white; }
#hero-view .sy-featured a { min-height: 44px; }
#hero-view .sy-how { padding-block: 32px 46px; }
#hero-view .sy-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 30px; }
#hero-view .sy-steps li { position: relative; display: flex; align-items: flex-start; gap: 14px; padding-left: 36px; }
#hero-view .sy-step-number { position: absolute; left: 0; top: 4px; color: #758493; font-size: 12px; font-weight: 700; }
#hero-view .sy-steps li > svg { width: 32px; height: 32px; color: #324c62; }
#hero-view .sy-steps h3 { font-size: 14px; font-weight: 700; line-height: 1.5; }
#hero-view .sy-steps p { margin-top: 8px; font-size: 13px; line-height: 1.65; color: var(--sy-text-muted); }
#hero-view .sy-comparison { background: var(--sy-bg-dark-soft); color: white; }
#hero-view .sy-comparison-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 96px; padding-block: 42px; }
#hero-view .sy-comparison h2 { margin: 12px 0; max-width: 510px; }
#hero-view .sy-comparison p:not(.sy-eyebrow) { color: #c4ced7; font-size: 15px; line-height: 1.65; max-width: 580px; }
#hero-view .sy-comparison .sy-button { margin-top: 22px; }
#hero-view .sy-comparison-points { display: flex; flex-direction: column; justify-content: center; gap: 24px; }
#hero-view .sy-comparison-points li { display: flex; align-items: center; gap: 16px; }
#hero-view .sy-comparison-points svg { width: 25px; height: 25px; color: #ffab6c; }
#hero-view .sy-comparison-points strong { display: block; font-size: 14px; font-weight: 600; }
#hero-view .sy-comparison-points span { display: block; margin-top: 5px; font-size: 13px; color: #becbd5; }
#hero-view .sy-guides { padding-block: 36px; }
#hero-view .sy-guides h2 { font-size: 20px; }
#hero-view .sy-guides nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 16px; }
#hero-view .sy-guides a { display: flex; align-items: center; gap: 10px; min-height: 52px; border-bottom: 1px solid #ced8e1; font-size: 14px; font-weight: 600; }
#hero-view .sy-guides a:hover { color: #ae4c03; border-color: #ae4c03; }
#hero-view .sy-guides svg { width: 20px; height: 20px; color: #4e6475; }
#hero-view .sy-guides svg:last-child { margin-left: auto; width: 16px; }
body[data-view="hero"] .sy-site-footer { background: white; border-color: var(--sy-border); }
body[data-view="hero"] .sy-site-footer > div { padding-block: 32px; gap: 20px; }
body[data-view="hero"] .sy-site-footer a { min-height: 44px; display: inline-flex; align-items: center; color: #4f6274; font-size: 12px; }
body[data-view="hero"] .sy-site-footer a:hover { color: #a44300; }
body[data-view="hero"] .sy-footer-brand { gap: 8px; color: #14202e; }
body[data-view="hero"] .sy-footer-brand > span { font-size: 22px; font-weight: 800; }
body[data-view="hero"] .sy-footer-brand > span > span { color: #c75400; }
body[data-view="hero"] .sy-footer-brand svg { width: 28px; height: 28px; }
#hero-view [id] { scroll-margin-top: 96px; }

@media (min-width: 1024px) {
  body[data-view="hero"] .sy-site-footer > div { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 12px 32px; }
  body[data-view="hero"] .sy-site-footer .sy-footer-brand { grid-column: 1; grid-row: 1; }
  body[data-view="hero"] .sy-site-footer nav { grid-column: 2; justify-content: flex-start; gap: 8px 20px; }
  body[data-view="hero"] .sy-site-footer nav:first-of-type { grid-row: 1; }
  body[data-view="hero"] .sy-site-footer nav:last-of-type { grid-row: 2; }
  body[data-view="hero"] .sy-site-footer a[href^="mailto:"] { grid-column: 1; grid-row: 2; }
}
@media (min-width: 1600px) {
  #hero-view .sy-hero-inner { padding-block: 48px 28px; }
  #hero-view h1 { font-size: 54px; }
}
@media (max-width: 1199px) {
  body[data-view="hero"] .sy-header-inner { gap: 18px; padding-inline: 24px; }
  body[data-view="hero"] .sy-home-nav { gap: 18px; }
  body[data-view="hero"] .sy-home-nav > .sy-button { display: none; }
  #hero-view .sy-shell { padding-inline: 24px; }
  #hero-view .sy-hero-copy { width: 72%; }
  #hero-view .sy-hero-art { width: 28%; top: 100px; right: 8px; }
  #hero-view h1 { font-size: 42px; }
  #hero-view .sy-trust { gap: 16px 24px; }
  #hero-view .sy-offer-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 120px minmax(0, 1fr) auto 16px; padding: 18px; gap: 10px; }
  #hero-view .sy-offer-image img { height: 120px; width: 100%; }
  #hero-view .sy-comparison-inner { gap: 48px; }
}
@media (max-width: 1023px) {
  body[data-view="hero"] .sy-home-nav { display: none; }
  body[data-view="hero"] .sy-menu-control { display: flex; }
  body[data-view="hero"] #mobile-menu:not(.hidden) { display: block; background: var(--sy-bg-dark-soft); border-color: #314657; }
  body[data-view="hero"] #mobile-menu a { align-items: center; min-height: 44px; padding: 12px; color: #f2f5f7; border-radius: 8px; font-size: 14px; }
  body[data-view="hero"] #mobile-menu .sy-button { color: #17202a; margin-top: 8px; }
  body[data-view="hero"] #mobile-menu a:hover:not(.sy-button) { background: #263c4d; }
  body[data-view="hero"] #mobile-menu-button { color: #ecf1f6; background: transparent; border: 1px solid #566572; }
  #hero-view .sy-hero-copy { width: 100%; max-width: 720px; }
  #hero-view .sy-hero-art { display: none; }
  #hero-view .sy-trust { display: grid; grid-template-columns: 1fr 1fr; }
  #hero-view .sy-steps { gap: 24px; }
  #hero-view .sy-steps li { display: block; padding-left: 26px; }
  #hero-view .sy-steps li > svg { margin-bottom: 12px; }
  #hero-view .sy-guides nav { gap: 16px; }
}
@media (max-width: 767px) {
  body[data-view="hero"] .sy-header-inner { min-height: 68px; gap: 10px; padding: 10px 20px; }
  body[data-view="hero"] .sy-brand-name { font-size: 20px; }
  body[data-view="hero"] .sy-brand-image { display: none; }
  #hero-view .sy-shell { padding-inline: 20px; }
  #hero-view .sy-hero-inner { padding-block: 32px 24px; }
  #hero-view .sy-eyebrow { font-size: 11px; }
  #hero-view h1 { font-size: 36px; margin-block: 12px 16px; max-width: 560px; }
  #hero-view .sy-hero-description { font-size: 14px; line-height: 1.7; }
  #hero-view .sy-search-form { margin-top: 22px; padding: 6px; }
  #hero-view #quick-tags { gap: 8px; margin-top: 18px; }
  #hero-view .quick-tag-btn { padding-inline: 10px; }
  #hero-view .sy-trust { margin-top: 22px; padding-top: 18px; gap: 14px 16px; }
  #hero-view .sy-trust li { font-size: 11px; line-height: 1.5; align-items: flex-start; }
  #hero-view .sy-trust svg { width: 17px; height: 17px; margin-top: 2px; }
  #hero-view h2 { font-size: 24px; }
  #hero-view .sy-promotions { padding-top: 28px; }
  #hero-view .sy-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  #hero-view .sy-heading-with-icon { gap: 10px; }
  #hero-view .sy-heading-with-icon > svg { width: 26px; height: 26px; }
  #hero-view .sy-section-heading p { font-size: 13px; }
  #hero-view .sy-text-link { justify-content: flex-start; }
  #hero-view #home-top-picks-tabs { margin-top: 8px; }
  #hero-view .sy-offer-grid { display: flex; overflow-x: auto; gap: 12px; padding: 4px 4px 14px; margin-inline: -4px; scroll-snap-type: x mandatory; }
  #hero-view .sy-offer-card { flex: 0 0 calc(100% - 24px); grid-template-columns: minmax(96px, 35%) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto 16px; padding: 18px; gap: 12px; scroll-snap-align: start; }
  #hero-view .sy-offer-price { font-size: 20px; }
  #hero-view .sy-offer-image img { height: auto; }
  #hero-view .sy-offer-grid > article:not(.sy-offer-card) { flex: 0 0 calc(100% - 24px); }
  #hero-view .sy-featured { margin-top: 16px; }
  #hero-view .sy-how { padding-block: 24px 36px; }
  #hero-view .sy-steps { grid-template-columns: 1fr; gap: 24px; margin-top: 20px; }
  #hero-view .sy-steps li { display: flex; padding-left: 30px; }
  #hero-view .sy-steps li > svg { width: 26px; height: 26px; margin: 0; }
  #hero-view .sy-steps p { margin-top: 5px; }
  #hero-view .sy-comparison-inner { grid-template-columns: 1fr; gap: 32px; padding-block: 32px; }
  #hero-view .sy-comparison p:not(.sy-eyebrow) { font-size: 14px; }
  #hero-view .sy-guides { padding-block: 28px; }
  #hero-view .sy-guides nav { grid-template-columns: 1fr; gap: 4px; }
  body[data-view="hero"] .sy-site-footer > div { gap: 12px; padding-inline: 20px; }
  body[data-view="hero"] .sy-site-footer nav { gap: 4px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-view="hero"] :is(a, button) { transition: none; }
}
