@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-variable.woff2") format("woff2");
}

:root {
  --bg: #fbfaf7;
  --bg-soft: #f4efe5;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --text: #142b31;
  --text-strong: #0a2329;
  --muted: #5f7073;
  --line: #dce3e1;
  --line-strong: #c8d4d1;
  --primary: #0b6d75;
  --primary-bright: #108b92;
  --primary-dark: #07545d;
  --primary-soft: #e2f2f1;
  --action-bg: #0b6d75;
  --action-hover: #07545d;
  --sand: #efe2c8;
  --sand-strong: #d5bc89;
  --success: #267a51;
  --success-soft: #e8f5ed;
  --warning: #7a4b05;
  --warning-soft: #fff3d8;
  --danger: #aa3f45;
  --danger-soft: #fcecee;
  --shadow-sm: 0 5px 18px rgb(16 53 58 / 7%);
  --shadow-md: 0 18px 50px rgb(16 53 58 / 12%);
  --shadow-lg: 0 32px 90px rgb(5 34 39 / 24%);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shell: 1240px;
  --header-height: 118px;
  font-family: "Plus Jakarta Sans", "Segoe UI Variable", "Segoe UI", sans-serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #09181c;
  --bg-soft: #102329;
  --surface: #10262b;
  --surface-raised: #163036;
  --text: #dbe8e8;
  --text-strong: #f4fbfa;
  --muted: #9bb0b1;
  --line: #284147;
  --line-strong: #38545a;
  --primary: #42b9bd;
  --primary-bright: #64d0d2;
  --primary-dark: #29959b;
  --primary-soft: #173d42;
  --action-bg: #0b6d75;
  --action-hover: #07545d;
  --sand: #3a3224;
  --sand-strong: #bba678;
  --success: #77d6a2;
  --success-soft: #183b2a;
  --warning: #f0c56a;
  --warning-soft: #3c311c;
  --danger: #ff9da2;
  --danger-soft: #45252a;
  --shadow-sm: 0 7px 22px rgb(0 0 0 / 18%);
  --shadow-md: 0 20px 55px rgb(0 0 0 / 28%);
  --shadow-lg: 0 34px 95px rgb(0 0 0 / 52%);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 60%, transparent);
  outline-offset: 3px;
}

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 500;
  top: 10px;
  left: 10px;
  transform: translateY(-140%);
  border-radius: var(--radius-sm);
  background: var(--text-strong);
  color: var(--surface);
  padding: 10px 14px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  box-shadow: 0 4px 18px rgb(12 55 60 / 4%);
  backdrop-filter: blur(18px);
}

.header-primary {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto minmax(320px, 660px) auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-strong);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
  border-radius: 13px;
  box-shadow: 0 7px 20px rgb(7 84 93 / 18%);
}

.brand span {
  font-size: 1.12rem;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent);
}

.search-icon {
  flex: 0 0 auto;
  margin-left: 16px;
  color: var(--primary);
  font-size: 1.3rem;
  line-height: 1;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-strong);
  padding: 12px 10px;
}

.search-box input::placeholder {
  color: var(--muted);
  opacity: 0.82;
}

.search-submit,
.button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 17px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.search-submit,
.button.primary {
  border-color: var(--action-bg);
  background: var(--action-bg);
  color: #ffffff;
}

.search-submit {
  min-height: 40px;
  margin-right: 4px;
  border-radius: 999px;
  padding-inline: 19px;
}

.search-submit:hover,
.button.primary:hover {
  border-color: var(--action-hover);
  background: var(--action-hover);
}

.button.secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--text-strong);
}

.button.secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.button.ghost {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.button:hover {
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.icon-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  padding: 7px 9px;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.icon-action:hover {
  border-color: var(--line);
  background: var(--surface);
  color: var(--primary);
}

.icon-action > span:first-child {
  color: var(--primary);
  font-size: 1.18rem;
}

.count-pill {
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.68rem !important;
}

.menu-action {
  display: none;
}

.header-secondary {
  border-top: 1px solid color-mix(in srgb, var(--line) 68%, transparent);
}

.nav-row {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-row a {
  position: relative;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-row a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  border-radius: 99px;
  background: var(--primary);
  transition: transform 160ms ease;
}

.nav-row a:hover {
  color: var(--primary);
}

.nav-row a:hover::after {
  transform: scaleX(1);
}

.nav-status {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.73rem;
}

.nav-status.is-ready {
  color: var(--success);
}

.nav-status.is-warning {
  color: var(--warning);
}

.search-suggestions {
  position: absolute;
  z-index: 95;
  top: calc(100% + 9px);
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
  box-shadow: var(--shadow-md);
}

.suggestion {
  width: 100%;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 11px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
}

.suggestion:last-child {
  border-bottom: 0;
}

.suggestion:hover,
.suggestion[aria-selected="true"] {
  background: var(--primary-soft);
}

.suggestion img {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: var(--surface);
  object-fit: contain;
}

.suggestion strong,
.suggestion small {
  display: block;
}

.suggestion strong {
  overflow: hidden;
  color: var(--text-strong);
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggestion small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.69rem;
}

.suggestion-type {
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 40px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -190px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 18%, transparent), transparent 67%);
}

.hero-grid {
  min-height: 432px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(2.75rem, 5.8vw, 5.3rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.99;
}

.hero h1 span {
  color: var(--primary);
}

.hero-lead {
  max-width: 680px;
  margin: 21px 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.68;
}

.hero-search {
  max-width: 670px;
  border-radius: var(--radius);
  padding: 6px;
}

.hero-search .search-icon {
  margin-left: 9px;
}

.hero-search .button {
  min-width: 105px;
}

.hero-actions {
  display: none;
  gap: 10px;
  margin-top: 13px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 22px 0 0;
}

.hero-metrics div {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.hero-metrics dt {
  color: var(--text-strong);
  font-size: 1.08rem;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.hero-mosaic {
  min-height: 388px;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  grid-template-rows: 1fr 1fr;
  gap: 13px;
}

.mosaic-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.mosaic-card:first-child {
  grid-row: 1 / 3;
}

.mosaic-card img {
  width: 100%;
  height: 100%;
  padding: 20px;
  object-fit: contain;
  transition: transform 280ms ease;
}

.mosaic-card:hover img {
  transform: scale(1.035);
}

.mosaic-label {
  position: absolute;
  right: 11px;
  bottom: 11px;
  left: 11px;
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  padding: 8px 10px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.mosaic-label strong,
.mosaic-label span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mosaic-label strong {
  color: var(--text-strong);
  font-size: 0.75rem;
}

.mosaic-label span {
  margin-top: 2px;
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 700;
}

.affiliate-disclosure {
  border-block: 1px solid var(--line);
  background: var(--sand);
}

.affiliate-disclosure .shell {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.78rem;
  text-align: center;
}

.affiliate-disclosure p {
  margin: 0;
}

.affiliate-disclosure > .shell > span {
  width: 20px;
  height: 20px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--sand-strong);
  border-radius: 50%;
  color: var(--text-strong);
  font-size: 0.68rem;
  font-weight: 800;
}

.affiliate-disclosure a {
  color: var(--primary);
  font-weight: 700;
}

.section {
  padding: clamp(56px, 7vw, 88px) 0;
}

.section-tint {
  border-block: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
  background: var(--bg-soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 27px;
}

.section-heading.centered {
  justify-content: center;
  text-align: center;
}

.section-heading h2,
.trust-grid h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(1.8rem, 3.1vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.section-heading > div > p:not(.eyebrow) {
  max-width: 680px;
  margin: 9px 0 0;
  color: var(--muted);
}

.text-link {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

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

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

.category-card {
  min-height: 122px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 17px;
  cursor: pointer;
  text-align: left;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

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

.category-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 800;
}

.category-card strong,
.category-card small {
  display: block;
}

.category-card strong {
  overflow: hidden;
  color: var(--text-strong);
  font-size: 0.88rem;
  line-height: 1.3;
  text-overflow: ellipsis;
}

.category-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
}

.category-arrow {
  color: var(--primary);
  font-size: 1.1rem;
}

.carousel-controls {
  display: flex;
  gap: 7px;
}

.carousel-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  font-weight: 800;
}

.carousel-controls button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.product-carousel {
  display: grid;
  grid-auto-columns: minmax(225px, 24%);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding: 3px 2px 12px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--line-strong) transparent;
}

.product-carousel > * {
  scroll-snap-align: start;
}

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

.product-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

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

.product-media {
  position: relative;
  height: 210px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 88%, var(--sand)), var(--surface));
}

.product-media::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 7%, transparent);
}

.product-media img {
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 15px;
  object-fit: contain;
  transition: transform 220ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.025);
}

.card-badges {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: calc(100% - 58px);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--text);
  padding: 4px 8px;
  box-shadow: 0 3px 12px rgb(15 47 52 / 8%);
  font-size: 0.63rem;
  font-weight: 800;
  backdrop-filter: blur(9px);
}

.badge.discount {
  border-color: color-mix(in srgb, var(--success) 35%, transparent);
  background: var(--success-soft);
  color: var(--success);
}

.card-icon-button {
  position: absolute;
  z-index: 4;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 93%, transparent);
  cursor: pointer;
  color: var(--muted);
  font-size: 1.15rem;
  backdrop-filter: blur(9px);
}

.card-icon-button:hover,
.card-icon-button.is-active {
  border-color: var(--primary);
  color: var(--primary);
}

.product-body {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px;
}

.product-meta {
  overflow: hidden;
  margin: 0 0 6px;
  color: var(--primary);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-body h3 {
  min-height: 2.72em;
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--text-strong);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.36;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-score-row {
  min-height: 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-top: 8px;
}

.score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--warning);
  padding: 4px 7px;
  font-size: 0.67rem;
  font-weight: 800;
}

.variant-count {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 12px;
}

.price-line span {
  color: var(--muted);
  font-size: 0.68rem;
}

.price-line strong {
  color: var(--text-strong);
  font-size: 1.04rem;
}

.previous-price {
  color: var(--muted) !important;
  font-size: 0.72rem !important;
  text-decoration: line-through;
}

.store-line {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.67rem;
}

.availability-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 41px;
  gap: 7px;
  margin-top: auto;
  padding-top: 13px;
}

.product-open {
  min-height: 40px;
  border: 1px solid var(--action-bg);
  border-radius: 10px;
  background: var(--action-bg);
  color: #ffffff;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
}

.product-open:hover {
  border-color: var(--action-hover);
  background: var(--action-hover);
}

.compare-toggle {
  width: 41px;
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  color: var(--primary);
  font-weight: 900;
}

.compare-toggle:hover,
.compare-toggle.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.help-chip {
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
}

.catalog-heading {
  margin-bottom: 18px;
}

.filter-bar {
  position: sticky;
  z-index: 35;
  top: calc(var(--header-height) + 10px);
  display: grid;
  grid-template-columns: repeat(3, minmax(145px, 1fr)) auto minmax(150px, 1fr) auto;
  align-items: end;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.filter-bar label > span,
.advanced-filters label > span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 750;
}

.filter-bar select,
.advanced-filters input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: 0;
  background: var(--surface);
  color: var(--text-strong);
  padding: 8px 10px;
  font-size: 0.78rem;
}

.filter-bar select:focus,
.advanced-filters input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 11%, transparent);
}

.filter-more {
  min-height: 42px;
  white-space: nowrap;
}

.filter-count {
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--action-bg);
  color: #ffffff;
  font-size: 0.65rem;
}

.clear-filters {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--danger);
  padding: 8px;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 750;
}

.active-filters {
  min-height: 35px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px 1px 7px;
}

.active-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 6px 9px;
  font-size: 0.68rem;
}

.active-filter button {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--primary);
  padding: 0;
  font-weight: 900;
}

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

.empty-state {
  grid-column: 1 / -1;
  min-height: 260px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 34px;
  text-align: center;
}

.empty-state h3 {
  margin: 0;
  color: var(--text-strong);
}

.empty-state p {
  max-width: 520px;
  margin: 8px auto 18px;
  color: var(--muted);
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.load-more {
  min-width: 230px;
}

.category-guide {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(230px, 0.75fr);
  gap: 30px;
  margin-top: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 30px;
}

.category-guide h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.category-guide p {
  margin: 10px 0 0;
  color: var(--muted);
}

.category-guide ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.guide-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 17px;
}

.guide-card {
  min-height: 265px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 26px;
  text-decoration: none;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

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

.guide-featured {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 40%),
    var(--primary-soft);
}

.guide-label {
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-card h3 {
  margin: 18px 0 10px;
  color: var(--text-strong);
  font-size: 1.18rem;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.guide-featured h3 {
  max-width: 520px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.guide-card p {
  margin: 0;
  color: var(--muted);
}

.guide-action {
  margin-top: auto;
  padding-top: 18px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-grid li {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 26px;
}

.steps-grid li > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--action-bg);
  color: #ffffff;
  font-weight: 800;
}

.steps-grid h3 {
  margin: 18px 0 8px;
  color: var(--text-strong);
}

.steps-grid p {
  margin: 0;
  color: var(--muted);
}

.trust-section {
  background:
    linear-gradient(115deg, var(--action-bg), var(--action-hover));
  color: #ffffff;
}

.trust-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(35px, 8vw, 110px);
}

.trust-grid .eyebrow {
  color: #b9eff0;
}

.trust-grid h2 {
  color: #ffffff;
}

.trust-copy p {
  margin: 0 0 20px;
  color: #d6efef;
  line-height: 1.75;
}

.trust-copy .button {
  border-color: rgb(255 255 255 / 48%);
  background: rgb(255 255 255 / 10%);
  color: #ffffff;
}

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

.store-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
}

.store-mark {
  width: 46px;
  height: 46px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 800;
}

.store-card strong,
.store-card span {
  display: block;
}

.store-card strong {
  color: var(--text-strong);
  font-size: 0.88rem;
}

.store-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.71rem;
}

.store-card .store-mark {
  margin-top: 0;
  color: var(--primary);
  font-size: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding-top: 54px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 34px;
}

.footer-brand p {
  max-width: 350px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-disclosure {
  font-size: 0.7rem !important;
}

.footer-grid h2 {
  margin: 3px 0 14px;
  color: var(--text-strong);
  font-size: 0.78rem;
}

.footer-grid > div > a,
.footer-grid > div > button {
  display: block;
  margin: 9px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
  cursor: pointer;
  font-size: 0.75rem;
  text-align: left;
  text-decoration: none;
}

.footer-grid > div > a:hover,
.footer-grid > div > button:hover {
  color: var(--primary);
}

.footer-bottom {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 43px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
}

.compare-tray {
  position: fixed;
  z-index: 110;
  right: 50%;
  bottom: 18px;
  width: min(680px, calc(100% - 28px));
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateX(50%);
  border: 1px solid color-mix(in srgb, var(--primary) 45%, var(--line));
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-raised) 95%, transparent);
  padding: 9px 11px 9px 15px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.compare-tray > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.compare-tray p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.compare-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 900;
}

.compare-thumbs {
  display: flex;
  margin-left: 5px;
}

.compare-thumbs img {
  width: 31px;
  height: 31px;
  margin-left: -7px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--surface);
  object-fit: contain;
}

.tray-clear {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
}

dialog {
  color: var(--text);
}

.modal,
.mobile-menu {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
}

.modal {
  width: min(1020px, calc(100% - 28px));
  max-height: min(92vh, 900px);
  border-radius: var(--radius-lg);
  padding: 0;
}

.modal::backdrop,
.mobile-menu::backdrop {
  background: rgb(4 22 26 / 62%);
  backdrop-filter: blur(5px);
}

.modal-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 20px 24px;
}

.modal-header h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.modal-close {
  width: 40px;
  height: 40px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
}

.modal-close:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.product-modal {
  width: min(1160px, calc(100% - 24px));
}

.product-close {
  position: absolute;
  z-index: 8;
  top: 15px;
  right: 15px;
}

.product-modal > div {
  position: relative;
  max-height: min(92vh, 900px);
  overflow: auto;
}

.product-detail {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1.14fr);
  min-height: 650px;
}

.detail-media {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 28px;
}

.detail-main-image {
  min-height: 440px;
  display: grid;
  flex: 1;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.detail-main-image button {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}

.detail-main-image img {
  width: 100%;
  height: 100%;
  max-height: 485px;
  padding: 22px;
  object-fit: contain;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 12px;
  padding: 2px;
}

.gallery-thumbs button {
  width: 62px;
  height: 62px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 4px;
  cursor: pointer;
}

.gallery-thumbs button.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 12%, transparent);
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-content {
  padding: 34px;
}

.detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.breadcrumbs {
  color: var(--muted);
  font-size: 0.69rem;
}

.detail-actions {
  display: flex;
  gap: 7px;
}

.detail-actions button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 8px 11px;
  cursor: pointer;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
}

.detail-content h2 {
  margin: 20px 0 10px;
  color: var(--text-strong);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.detail-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
}

.detail-summary span:not(.score) {
  color: var(--muted);
  font-size: 0.72rem;
}

.detail-description {
  color: var(--muted);
  line-height: 1.72;
}

.detail-variant-title {
  margin: 0 0 8px;
  color: var(--text-strong);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.45;
}

.detail-section {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 23px;
}

.detail-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 13px;
}

.detail-section h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1rem;
}

.detail-section-head span {
  color: var(--muted);
  font-size: 0.69rem;
}

.variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-chip {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 8px 11px;
  cursor: pointer;
  font-size: 0.72rem;
}

.variant-chip:hover,
.variant-chip.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.offer-highlight {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  border: 1px solid color-mix(in srgb, var(--success) 35%, var(--line));
  border-radius: var(--radius);
  background: var(--success-soft);
  padding: 17px;
}

.offer-highlight p,
.offer-highlight small {
  margin: 0;
  color: var(--muted);
}

.offer-highlight strong {
  display: block;
  color: var(--text-strong);
}

.offer-highlight .offer-main-price {
  margin-top: 5px;
  color: var(--success);
  font-size: 1.28rem;
}

.offer-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.offer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.73rem;
}

.offer-table th,
.offer-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  white-space: nowrap;
}

.offer-table tr:last-child td {
  border-bottom: 0;
}

.offer-table th {
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.offer-table .best-row {
  background: color-mix(in srgb, var(--success-soft) 65%, transparent);
}

.offer-cards {
  display: none;
}

.offer-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--action-bg);
  color: #ffffff;
  padding: 8px 11px;
  font-weight: 800;
  text-decoration: none;
}

.detail-disclosure {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.65rem;
}

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

.attribute-grid div {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  padding: 10px;
}

.attribute-grid dt {
  color: var(--muted);
  font-size: 0.62rem;
}

.attribute-grid dd {
  margin: 4px 0 0;
  color: var(--text-strong);
  font-size: 0.73rem;
  font-weight: 700;
}

.detail-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.detail-related button {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  padding: 7px;
  cursor: pointer;
  color: var(--text);
  text-align: left;
}

.detail-related button:hover {
  border-color: var(--primary);
}

.detail-related img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
}

.detail-related span {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.67rem;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.image-viewer {
  position: fixed;
  z-index: 12;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgb(3 18 21 / 90%);
  padding: 38px;
}

.image-viewer img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--radius);
  background: #ffffff;
  object-fit: contain;
}

.image-viewer button {
  position: fixed;
  z-index: 2;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 50%;
  background: rgb(255 255 255 / 12%);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.5rem;
}

.compare-modal > [data-compare-content],
.saved-modal > [data-saved-content],
.advanced-filters,
.info-modal .prose {
  max-height: calc(92vh - 89px);
  overflow: auto;
  padding: 24px;
}

.comparison-scroll {
  overflow-x: auto;
}

.comparison-table {
  min-width: 700px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.comparison-table th,
.comparison-table td {
  width: 200px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px;
  vertical-align: top;
  text-align: left;
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
  border-right: 0;
}

.comparison-table tbody th {
  width: 125px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.69rem;
}

.compare-product-head img {
  width: 100%;
  height: 128px;
  border-radius: 11px;
  background: var(--surface);
  object-fit: contain;
}

.compare-product-head strong {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 10px;
  color: var(--text-strong);
  font-size: 0.76rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.compare-product-head button {
  margin-top: 7px;
  border: 0;
  background: transparent;
  color: var(--danger);
  padding: 0;
  cursor: pointer;
  font-size: 0.65rem;
}

.comparison-cards {
  display: none;
}

.comparison-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px;
}

.comparison-card-head {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.comparison-card-head img {
  width: 82px;
  height: 82px;
  border-radius: 11px;
  background: var(--bg-soft);
  object-fit: contain;
}

.comparison-card-head strong,
.comparison-card-head span {
  display: block;
}

.comparison-card-head strong {
  color: var(--text-strong);
  font-size: 0.78rem;
  line-height: 1.35;
}

.comparison-card-head .score {
  width: fit-content;
  margin-top: 7px;
}

.comparison-card dl {
  margin: 14px 0;
  border-top: 1px solid var(--line);
}

.comparison-card dl div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
}

.comparison-card dt,
.comparison-card dd {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.4;
}

.comparison-card dt {
  color: var(--muted);
}

.comparison-card dd {
  color: var(--text-strong);
  font-weight: 700;
}

.comparison-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.comparison-remove {
  border: 0;
  background: transparent;
  color: var(--danger);
  padding: 8px;
  cursor: pointer;
  font-size: 0.69rem;
  font-weight: 750;
}

.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding: 12px 24px 0;
}

.tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 8px 10px 11px;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 750;
}

.tabs button[aria-selected="true"] {
  border-bottom-color: var(--primary);
  color: var(--primary);
}

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

.saved-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 9px;
}

.saved-item img {
  width: 68px;
  height: 68px;
  border-radius: 9px;
  object-fit: contain;
}

.saved-item strong,
.saved-item small {
  display: block;
}

.saved-item strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-strong);
  font-size: 0.73rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.saved-item small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.63rem;
}

.saved-item button {
  border: 0;
  background: transparent;
  color: var(--primary);
  padding: 5px;
  cursor: pointer;
  font-weight: 800;
}

.search-history-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-history-list button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 8px 11px;
  cursor: pointer;
  font-size: 0.72rem;
}

.saved-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
}

.saved-empty h3 {
  margin: 0;
  color: var(--text-strong);
}

.saved-empty p {
  margin: 6px 0 0;
}

.filters-modal {
  width: min(560px, calc(100% - 28px));
}

.advanced-filters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.check-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 9px;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--primary);
}

.check-row span {
  margin: 0 !important;
  color: var(--text) !important;
  font-size: 0.76rem !important;
}

.modal-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.info-modal {
  width: min(610px, calc(100% - 28px));
}

.compact-prose {
  color: var(--muted);
  line-height: 1.75;
}

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

.mobile-menu {
  width: min(390px, 92vw);
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  border-radius: 22px 0 0 22px;
  padding: 0;
}

.mobile-menu-head {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 14px 17px;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.mobile-menu nav a {
  border-bottom: 1px solid var(--line);
  color: var(--text-strong);
  padding: 14px 6px;
  font-weight: 700;
  text-decoration: none;
}

.toast-region {
  position: fixed;
  z-index: 160;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  max-width: 340px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-raised);
  color: var(--text);
  padding: 11px 14px;
  box-shadow: var(--shadow-md);
  font-size: 0.75rem;
  animation: toast-in 180ms ease both;
}

.noscript {
  position: fixed;
  z-index: 300;
  right: 15px;
  bottom: 15px;
  left: 15px;
  border-radius: 12px;
  background: var(--danger);
  color: #ffffff;
  padding: 13px;
  text-align: center;
}

.mosaic-skeleton,
.card-skeleton,
.product-skeleton {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.mosaic-skeleton:first-child {
  grid-row: 1 / 3;
}

.card-skeleton {
  min-height: 122px;
}

.product-skeleton {
  min-height: 390px;
}

.mosaic-skeleton::after,
.card-skeleton::after,
.product-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--primary) 7%, transparent), transparent);
  animation: shimmer 1.35s infinite;
}

.content-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.content-header .shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.content-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.content-page {
  min-height: calc(100vh - 220px);
  padding: 54px 0 80px;
}

.content-shell {
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
}

.content-hero {
  margin-bottom: 38px;
}

.content-hero h1 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(2.25rem, 6vw, 4.4rem);
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.content-hero > p:not(.eyebrow) {
  max-width: 680px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.prose {
  color: var(--text);
}

.prose h2 {
  margin: 40px 0 12px;
  color: var(--text-strong);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.prose h3 {
  margin: 26px 0 9px;
  color: var(--text-strong);
  font-size: 1.05rem;
}

.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.78;
}

.prose a {
  color: var(--primary);
}

.prose-card {
  margin: 26px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 23px;
}

.prose-card h2,
.prose-card h3 {
  margin-top: 0;
}

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

.guide-index .guide-card {
  min-height: 230px;
}

.redirect-page {
  min-height: 100dvh;
  display: grid;
  align-content: center;
  justify-items: center;
  background:
    radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 35%),
    var(--bg);
  padding: 30px;
  text-align: center;
}

.redirect-page > img {
  margin-bottom: 18px;
  border-radius: 17px;
  box-shadow: var(--shadow-md);
}

.redirect-page h1 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(1.7rem, 6vw, 2.8rem);
  letter-spacing: -0.045em;
}

.redirect-page > p:not(.eyebrow) {
  max-width: 520px;
  margin: 12px 0 22px;
  color: var(--muted);
}

.redirect-loader {
  width: 30px;
  height: 30px;
  border: 3px solid var(--line);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: redirect-spin 750ms linear infinite;
}

@keyframes redirect-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

@keyframes toast-in {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
}

@media (max-width: 1080px) {
  :root {
    --header-height: 75px;
  }

  .header-primary {
    grid-template-columns: auto minmax(260px, 1fr) auto;
    gap: 15px;
  }

  .action-label {
    display: none;
  }

  .header-secondary {
    display: none;
  }

  .menu-action {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
    gap: 32px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 6.3vw, 4.2rem);
  }

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

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

  .product-carousel {
    grid-auto-columns: minmax(225px, 31%);
  }

  .filter-bar {
    top: 85px;
    grid-template-columns: repeat(3, 1fr) auto;
  }

  .sort-control {
    grid-column: 1 / 3;
  }

  .clear-filters {
    justify-self: end;
  }

  .footer-grid {
    grid-template-columns: 1.6fr repeat(2, 1fr);
  }

  .footer-grid > div:nth-child(4),
  .footer-grid > div:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 28px, var(--shell));
  }

  .header-primary {
    min-height: 68px;
    grid-template-columns: auto 1fr auto;
  }

  .header-search {
    display: none;
  }

  .saved-action {
    display: none;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-search {
    max-width: none;
  }

  .hero-actions {
    display: flex;
  }

  .hero-mosaic {
    min-height: 330px;
  }

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

  .product-carousel {
    grid-auto-columns: minmax(220px, 43%);
  }

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

  .filter-bar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .filter-bar label:nth-child(3) {
    display: none;
  }

  .filter-more {
    grid-column: 2;
    grid-row: 2;
  }

  .sort-control {
    grid-column: 1;
  }

  .clear-filters {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .guide-grid {
    grid-template-columns: 1fr 1fr;
  }

  .guide-featured {
    grid-column: 1 / -1;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 18px;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .detail-media {
    position: static;
    min-height: 420px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-main-image {
    min-height: 320px;
  }

  .saved-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 67px;
  }

  .shell,
  .content-shell {
    width: min(100% - 22px, var(--shell));
  }

  .brand span {
    font-size: 1rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .header-actions {
    gap: 2px;
  }

  .icon-action {
    padding-inline: 7px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.35rem);
  }

  .hero-lead {
    margin-top: 16px;
  }

  .hero-search {
    display: grid;
    grid-template-columns: auto 1fr;
    border-radius: 14px;
  }

  .hero-search .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-actions {
    display: none;
  }

  .hero-metrics {
    gap: 13px;
  }

  .hero-mosaic {
    min-height: 280px;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 9px;
  }

  .mosaic-card {
    border-radius: 17px;
  }

  .mosaic-card img {
    padding: 11px;
  }

  .mosaic-label {
    right: 7px;
    bottom: 7px;
    left: 7px;
    padding: 7px;
  }

  .mosaic-label strong {
    font-size: 0.66rem;
  }

  .mosaic-label span {
    font-size: 0.59rem;
  }

  .affiliate-disclosure .shell {
    align-items: flex-start;
    padding-block: 10px;
    text-align: left;
  }

  .affiliate-disclosure a {
    display: none;
  }

  .section {
    padding: 48px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .category-card {
    min-height: 90px;
  }

  .carousel-controls {
    align-self: flex-end;
  }

  .product-carousel {
    grid-auto-columns: minmax(205px, 77%);
    gap: 11px;
    margin-right: -11px;
  }

  .product-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .product-media {
    height: 165px;
  }

  .product-body {
    padding: 11px;
  }

  .product-body h3 {
    font-size: 0.79rem;
  }

  .card-score-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .product-actions {
    grid-template-columns: 1fr 38px;
  }

  .product-open {
    font-size: 0.68rem;
  }

  .filter-bar {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-inline: -3px;
    padding: 9px;
  }

  .filter-bar label > span {
    font-size: 0.6rem;
  }

  .filter-bar select {
    font-size: 0.69rem;
  }

  .filter-more {
    padding-inline: 8px;
    font-size: 0.7rem;
  }

  .category-guide {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-featured {
    grid-column: auto;
  }

  .guide-card {
    min-height: 235px;
  }

  .store-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .compare-tray {
    bottom: max(10px, env(safe-area-inset-bottom));
    min-height: 60px;
  }

  .compare-tray p {
    display: none;
  }

  .tray-clear {
    display: none;
  }

  .compare-thumbs img {
    width: 28px;
    height: 28px;
  }

  .modal {
    width: 100%;
    max-width: none;
    max-height: 94dvh;
    margin: auto 0 0;
    border-radius: 22px 22px 0 0;
  }

  .product-modal > div {
    max-height: 94dvh;
  }

  .detail-media {
    min-height: 350px;
    padding: 17px;
  }

  .detail-main-image {
    min-height: 270px;
  }

  .detail-main-image img {
    max-height: 310px;
    padding: 13px;
  }

  .detail-content {
    padding: 22px 17px 30px;
  }

  .detail-topbar {
    align-items: flex-start;
  }

  .detail-actions button {
    padding-inline: 8px;
  }

  .offer-table-wrap {
    display: none;
  }

  .comparison-scroll {
    display: none;
  }

  .comparison-cards {
    display: grid;
    gap: 10px;
  }

  .offer-cards {
    display: grid;
    gap: 9px;
  }

  .offer-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    padding: 12px;
  }

  .offer-card.is-best {
    border-color: var(--success);
    background: var(--success-soft);
  }

  .offer-card strong,
  .offer-card small {
    display: block;
  }

  .offer-card small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.62rem;
  }

  .offer-card .offer-link {
    grid-column: 1 / -1;
  }

  .attribute-grid {
    grid-template-columns: 1fr;
  }

  .detail-related {
    grid-template-columns: 1fr;
  }

  .image-viewer {
    padding: 18px;
  }

  .advanced-filters {
    grid-template-columns: 1fr;
  }

  .advanced-filters > * {
    grid-column: 1 !important;
  }

  .tabs {
    overflow-x: auto;
    padding-inline: 14px;
  }

  .tabs button {
    flex: 0 0 auto;
  }

  .guide-index {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .product-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .product-media {
    height: 235px;
  }
}

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