:root {
  --breakpoint-mobile-max: 767px;
  --breakpoint-desktop-min: 768px;
  --shell-page-max-width: 1180px;
}
:root {
  --bg: #ecebe8;
  --ink: #1c1c1a;
  --ink-soft: #73716d;
  --card: #f5f4f1;
  --line: #d5d2cd;
  --accent: #1f1f1d;
  --accent-dark: #121210;
  --accent-soft: #efede9;
  --peach: #8f5d4a;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-weight: 400;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 35;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 244, 0.96);
  backdrop-filter: blur(8px);
}

.site-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  color: var(--ink);
  text-decoration: none;
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.mobile-page-title {
  display: none;
}

.site-nav {
  min-width: 0;
}

.site-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.site-menu > li {
  position: relative;
}

.site-menu a,
.site-menu summary,
.site-menu button.menu-parent-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #3f3d39;
  text-decoration: none;
  padding: 0.52rem 0.72rem;
  border-radius: 10px;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-menu a:hover,
.site-menu summary:hover,
.site-menu button.menu-parent-trigger:hover {
  background: #ece8e1;
}

.site-menu a.is-active,
.site-menu button.menu-parent-trigger.is-active {
  background: #ece8e1;
  color: #1f1f1d;
}

.menu-wedding,
.menu-tool {
  position: relative;
}

.menu-wedding::after,
.menu-tool::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -24px;
  right: -24px;
  height: 14px;
}

.menu-wedding > a[data-route="wedding"]::after,
.menu-tool > .menu-parent-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  margin-left: 0.25rem;
  opacity: 0.7;
}

.menu-wedding:hover .menu-popover,
.menu-wedding:focus-within .menu-popover,
.menu-tool:hover .menu-popover,
.menu-tool:focus-within .menu-popover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu-popover {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 230px;
  border: 1px solid #e7e2d9;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  padding: 0.45rem;
  box-shadow: 0 18px 36px rgba(26, 26, 24, 0.12);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

.menu-popover::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 22px;
  width: 12px;
  height: 12px;
  border-left: 1px solid #e7e2d9;
  border-top: 1px solid #e7e2d9;
  background: rgba(255, 255, 255, 0.98);
  transform: rotate(45deg);
}

.menu-popover a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 10px;
  padding: 0.62rem 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  color: #34322d;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.menu-popover a:hover {
  background: #f6f2ec;
  border-color: #ece5d9;
  color: #1a1a18;
}

.menu-popover a.is-active {
  color: #1a1a18;
  background: #f3efe7;
  border-color: #e8dfd1;
}

.menu-popover a.is-active::after {
  content: "•";
  color: #8f5d4a;
  font-size: 0.95rem;
  line-height: 1;
}

.site-page {
  display: none;
}

.site-page.is-active {
  display: block;
}

.tool-page-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.3rem 2.2rem 2rem;
}

.tool-page-header {
  margin-bottom: 0.85rem;
}

.tool-page-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6c6964;
  font-weight: 600;
}

.tool-page-header h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: 0.01em;
}

.tool-page-header p {
  margin: 0.45rem 0 0;
  color: #5e5b55;
}

.tool-frame-shell {
  border: 1px solid #dcd7cf;
  border-radius: 18px;
  background: #ffffff;
  min-height: 0;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(26, 26, 24, 0.06);
}

.tool-frame {
  width: 100%;
  height: 820px;
  min-height: 820px;
  border: 0;
  display: block;
  background: #ffffff;
}

.shared-insights-module {
  display: grid;
  gap: 0.9rem;
}

.shared-insights-module[hidden] {
  display: none !important;
}

.landing-live-insights-slot .shared-insights-module .panel {
  border-color: #ece9e4;
  background: #fff;
}

.landing-live-insights-slot .shared-insights-module .filters-bar {
  margin: 0;
}

.landing-live-insights-slot .shared-insights-module .insights {
  margin-top: 0;
}

.list-insights-slot .shared-insights-module {
  width: 100%;
}

.landing-live-insights-slot {
  margin-top: 0.35rem;
}

.landing-live-insights-slot .shared-insights-module .filter-row-primary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
}

.landing-live-insights-slot .shared-insights-module .filter-row-primary .filter-field,
.landing-live-insights-slot .shared-insights-module .filter-row-primary .price-range-wrap {
  min-width: 0;
  width: 100%;
  flex: 1 1 auto;
}

.landing-live-insights-actions {
  margin-top: 0.9rem;
  display: flex;
  justify-content: flex-end;
}

.view-products-home-btn {
  border: 1px solid #1f1f1d;
  background: #1f1f1d;
  color: #fff;
  border-radius: 16px;
  padding: 0.48rem 0.9rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 600;
}

.view-products-home-btn:hover {
  background: #2c2b27;
  border-color: #2c2b27;
}

.landing-features,
.landing-tools-inner,
.landing-cta {
  max-width: 1200px;
  margin: 0 auto;
}

.landing-hero {
  --hero-accent: #e67f1d;
  --hero-accent-dark: #bb5f08;
  --hero-shell: #f8f7f5;
  --hero-panel-bg: #f5f2ee;
  --hero-ink-soft: #6f6a62;
  padding: 5.3rem 3rem 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: clamp(1.4rem, 3vw, 3.1rem);
  width: min(1200px, 100%);
  margin: 0 auto;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 12% 14%, rgba(212, 200, 185, 0.18), transparent 36%),
    radial-gradient(circle at 88% 86%, rgba(225, 215, 203, 0.2), transparent 44%),
    linear-gradient(165deg, #f9f8f6 0%, #f6f4f0 100%);
  border: 1px solid #ece9e4;
  border-radius: 24px;
  overflow: hidden;
}

.landing-hero-left {
  max-width: 700px;
  width: 100%;
  text-align: left;
  position: relative;
  z-index: 1;
}

.landing-eyebrow {
  margin: 0 0 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  border: 1px solid #ded8cf;
  border-radius: 999px;
  padding: 0.36rem 0.86rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #7f786f;
  background: #fbfaf8;
  font-weight: 700;
}

.landing-eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--hero-accent);
}

.landing-hero h1 {
  margin: 0 0 1.4rem;
  font-family: "Playfair Display", serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(3.15rem, 6.8vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0;
  color: #1f1f1d;
}

.landing-hero-accent {
  color: var(--hero-accent);
  font-style: normal;
  text-shadow: 0 8px 14px rgba(230, 127, 29, 0.18);
}

.landing-hero-left > p {
  margin: 0 0 2rem;
  max-width: 590px;
  color: var(--hero-ink-soft);
  font-size: 1.1rem;
  line-height: 1.68;
}

.landing-search {
  display: flex;
  align-items: center;
  background: #f8f7f5;
  border: 1px solid #ece9e4;
  border-radius: 999px;
  padding: 0.35rem 0.35rem 0.35rem 1.15rem;
  max-width: 640px;
  margin: 0;
  box-shadow: 0 8px 20px rgba(28, 25, 21, 0.06);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.landing-search.is-cta-only {
  display: inline-flex;
  width: auto;
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.landing-search:focus-within {
  border-color: #d4cdc2;
  box-shadow: 0 12px 24px rgba(28, 25, 21, 0.1);
  transform: translateY(-1px);
}

.landing-search.is-cta-only:focus-within {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.landing-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: #1a1a1a;
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
}

.landing-search input:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 2px;
  border-radius: 6px;
}

.landing-search input::placeholder {
  color: #8a8880;
}

.landing-search button {
  border: none;
  border-radius: 999px;
  background: #1f1f1d;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.75rem 1.28rem;
  box-shadow: 0 8px 16px rgba(31, 31, 29, 0.2);
}

.landing-search-feedback {
  max-width: 640px;
  color: #a55656;
  font-size: 0.76rem;
  line-height: 1.3;
  text-align: left;
}

.landing-search-feedback:empty {
  display: none;
}

.landing-search-feedback:not(:empty) {
  margin: 0.18rem 0 0;
}

.landing-tags {
  margin-top: 0.38rem;
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.landing-tag {
  border: 1px solid #ece9e4;
  background: #f8f7f5;
  color: #8a8880;
  border-radius: 999px;
  padding: 0.26rem 0.74rem;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.landing-tag:hover {
  border-color: #d8d3cc;
  color: #5f5a53;
}

.landing-hero-visual {
  min-width: 0;
}

.hero-visual-panel {
  border: 1px solid #e8e4dd;
  border-radius: 16px;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.84), transparent 32%),
    linear-gradient(180deg, var(--hero-shell) 0%, var(--hero-panel-bg) 100%);
  box-shadow: 0 16px 34px rgba(24, 22, 18, 0.1);
  padding: clamp(1.05rem, 2.6vw, 1.5rem);
  animation: heroPanelIn 620ms cubic-bezier(0.21, 0.88, 0.31, 1) both;
}

.hero-visual-title {
  margin: 0;
  color: var(--hero-accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  font-size: 0.8rem;
}

.hero-visual-cards {
  margin-top: 0.92rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.62rem;
}

.hero-visual-card {
  border: 1px solid #ded8cf;
  border-radius: 12px;
  background: #fff;
  padding: 0.62rem;
  display: grid;
  gap: 0.34rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hero-visual-card.is-featured {
  border-color: #d38b4d;
  box-shadow: 0 8px 16px rgba(187, 95, 8, 0.2);
}

.hero-visual-card:hover {
  transform: translateY(-2px);
  border-color: #cfc8be;
}

.hero-visual-swatch {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  border-radius: 12px;
}

.hero-visual-swatch.is-lilac {
  background: linear-gradient(160deg, #b4afe7, #9f9ad6);
}

.hero-visual-swatch.is-rose {
  background: linear-gradient(160deg, #dfbac8, #cfa2b6);
}

.hero-visual-swatch.is-mint {
  background: linear-gradient(160deg, #a6d2c4, #8fc1b1);
}

.hero-visual-card strong {
  font-size: 0.84rem;
  font-weight: 700;
  color: #3f3a34;
  line-height: 1.2;
}

.hero-visual-card span {
  font-size: 0.9rem;
  color: var(--hero-accent-dark);
  font-weight: 700;
}

.hero-visual-highlights {
  margin-top: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
}

.hero-visual-highlights span {
  border: 1px solid #e9d2bc;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 0.28rem 0.68rem;
  color: #8a5a2c;
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1.2;
}

.hero-visual-footer {
  margin: 1rem 0 0;
  color: var(--hero-accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.73rem;
  font-weight: 700;
}

@keyframes heroPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual-panel {
    animation: none;
  }

  .hero-visual-card {
    transition: none;
  }

  .landing-search {
    transition: none;
  }
}

@media (max-width: 1100px) {
  .landing-hero {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding-top: 4.6rem;
  }

  .landing-hero-left {
    max-width: 100%;
  }

  .landing-hero h1 {
    max-width: 14ch;
  }

  .landing-hero-visual {
    max-width: 700px;
    width: 100%;
  }
}

.landing-retailers {
  border-top: 1px solid #ece9e4;
  border-bottom: 1px solid #ece9e4;
  max-width: 1200px;
  margin: 1rem auto 0;
  padding: 1rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  position: relative;
  border-radius: 14px;
  border-left: 1px solid #ece9e4;
  border-right: 1px solid #ece9e4;
}

.landing-discussion-hubs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 3rem 1rem;
}

.landing-discussion-hubs-inner {
  border: 1px solid #e8e4dd;
  border-radius: 14px;
  background: #f7f5f2;
  padding: 1.25rem 1.3rem;
}

.landing-discussion-hubs-title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.15;
}

.landing-discussion-hubs-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.landing-discussion-hub {
  border: 1px solid #ddd7ce;
  border-radius: 12px;
  background: #ffffff;
  text-decoration: none;
  color: #272622;
  padding: 0.8rem 0.85rem;
  display: grid;
  gap: 0.26rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.landing-discussion-hub strong {
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.landing-discussion-hub span {
  color: #76716a;
  font-size: 0.78rem;
  line-height: 1.35;
}

.landing-discussion-hub:hover {
  border-color: #cfc8be;
  background: #fbfaf8;
  transform: translateY(-1px);
}

.landing-retailers-label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8a8880;
  font-weight: 600;
  white-space: nowrap;
}

.landing-retailers-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  animation: landing-retail-scroll 24s linear infinite;
}

.landing-retailer-name {
  color: #c4c0b9;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

@keyframes landing-retail-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.landing-features {
  max-width: 1200px;
  margin: 1.1rem auto 0;
  padding: 2.8rem 2.2rem 3rem;
  border: 1px solid #ece9e4;
  border-radius: 20px;
  box-sizing: border-box;
}

.landing-section-header {
  margin-bottom: 1.8rem;
}

.landing-section-eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8880;
  font-weight: 600;
  margin-bottom: 0.42rem;
}

.landing-section-title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.1;
}

.landing-feat-card {
  border: 1px solid #ece9e4;
  border-radius: 14px;
  background: #f8f7f5;
  padding: 1.8rem;
}

.landing-feat-title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.65rem;
}

.landing-feat-desc {
  margin: 0.5rem 0 1.25rem;
  color: #8a8880;
  font-size: 0.9rem;
}

.landing-filter-bar {
  border: 1px solid #ece9e4;
  border-radius: 10px;
  background: #fff;
  padding: 1rem 1.1rem;
}

.landing-filter-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.landing-filter-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8a8880;
  font-weight: 600;
}

.landing-filter-refine {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #8a8880;
  font-size: 0.76rem;
}

.landing-filter-reset {
  border: 1px solid #ece9e4;
  border-radius: 7px;
  background: #fff;
  color: #1a1a1a;
  font-size: 0.74rem;
  padding: 0.28rem 0.68rem;
}

.landing-filter-controls {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 0.8rem;
}

.landing-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.landing-filter-group-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8a8880;
  font-weight: 600;
}

.landing-filter-select {
  background: #fff;
  border: 1px solid #ece9e4;
  border-radius: 8px;
  color: #1a1a1a;
  font-family: "DM Sans", sans-serif;
  font-size: 0.83rem;
  padding: 0.55rem 0.8rem;
}

.landing-price-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1a1a1a;
}

.landing-price-slider {
  width: 100%;
}

.landing-insights-strip {
  margin-top: 0.85rem;
  border: 1px solid #ece9e4;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
}

.landing-ins-cell {
  padding: 1rem;
  border-right: 1px solid #ece9e4;
}

.landing-ins-cell:last-child {
  border-right: none;
}

.landing-ins-bar {
  width: 2px;
  height: 22px;
  border-radius: 2px;
  margin-bottom: 0.45rem;
}

.landing-ins-bar-g {
  background: #5a7a5a;
}

.landing-ins-bar-b {
  background: #4a6fa5;
}

.landing-ins-bar-gold {
  background: #b8960c;
}

.landing-ins-bar-m {
  background: #8a8880;
}

.landing-ins-label {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a8880;
  font-weight: 600;
}

.landing-ins-value {
  margin-top: 0.3rem;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  line-height: 1.1;
}

.landing-ins-sub {
  margin-top: 0.2rem;
  color: #8a8880;
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-tools {
  background: #f8f7f5;
  border-top: 1px solid #ece9e4;
  border-bottom: 1px solid #ece9e4;
  padding: 5.2rem 3rem;
}

.landing-tools-layout {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1rem;
}

.landing-tools-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.landing-tool-card {
  border: 1px solid #d8d1c6;
  border-radius: 18px;
  background: #f2f0eb;
  display: flex;
  align-items: flex-start;
  gap: 0.92rem;
  padding: 1rem 1.08rem;
  text-align: left;
  min-height: 6.15rem;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.landing-tool-card:hover {
  transform: translateY(-1px);
  background: #f6f4ef;
}

.landing-tool-card.active {
  border-color: #cfc7ba;
  background: #fcfbf8;
  box-shadow: 0 3px 14px rgba(24, 22, 18, 0.06);
}

.landing-tool-icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 11px;
  border: 1px solid #e2dbcf;
  background: #ece8e1;
  display: grid;
  place-items: center;
  font-size: 1.24rem;
  line-height: 1;
  flex: 0 0 auto;
}

.landing-tool-copy {
  display: flex;
  flex-direction: column;
  gap: 0.26rem;
  padding-top: 0.08rem;
}

.landing-tool-copy strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.2;
  color: #22211e;
}

.landing-tool-copy em {
  font-style: normal;
  color: #7f7a72;
  font-size: 0.74rem;
  line-height: 1.32;
  font-weight: 500;
  max-width: 16ch;
}

.landing-tool-panel {
  display: none;
  border: 1px solid #ece9e4;
  border-radius: 14px;
  background: #fff;
  padding: 2.2rem;
}

.landing-tool-panel.active {
  display: block;
}

.landing-tool-panel h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
}

.landing-tool-panel p {
  margin: 0.65rem 0 0;
  color: #8a8880;
}

.tool-preview-shell {
  margin-top: 1rem;
  border: 1px solid #ece9e4;
  border-radius: 12px;
  background: #f8f7f5;
  padding: 0.9rem;
  display: grid;
  gap: 0.5rem;
}

.tool-preview-shell.is-size {
  background: #f8f7f5;
  border-color: #ece9e4;
  padding: 0.9rem;
  gap: 0.5rem;
}

.size-preview-top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.75rem;
}

.size-preview-title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  line-height: 1.15;
  color: #1f1f1d;
}

.size-preview-sub {
  margin: 0.3rem 0 0;
  font-size: 0.72rem;
  color: #817d77;
}

.size-preview-units {
  display: inline-flex;
  gap: 0.28rem;
}

.size-unit-pill {
  border: 1px solid #cbc4b9;
  border-radius: 9px;
  padding: 0.32rem 0.56rem;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #35332f;
  background: #f2efea;
  font-weight: 600;
}

.size-unit-pill.active {
  background: #1f1f1d;
  border-color: #1f1f1d;
  color: #f6f3ed;
}

.size-preview-inputs {
  border: 1px solid #dbd5ca;
  border-radius: 11px;
  background: #efede8;
  padding: 0.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.size-preview-input-item span {
  display: block;
  margin-bottom: 0.28rem;
  color: #8a867f;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.size-preview-input-box {
  border: 1px solid #d9d3c8;
  border-radius: 8px;
  background: #ffffff;
  min-height: 2rem;
  display: flex;
  align-items: center;
  padding: 0 0.55rem;
  font-size: 1.02rem;
  color: #201f1c;
}

.size-preview-input-item small {
  display: block;
  margin-top: 0.22rem;
  color: #99948c;
  font-size: 0.62rem;
}

.size-preview-section-label {
  margin: 0;
  color: #8a8880;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.size-preview-reco-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.size-preview-reco-card {
  border: 1px solid #ddd7cc;
  border-radius: 10px;
  background: #ffffff;
  padding: 0.55rem 0.58rem;
  min-height: 4.1rem;
}

.tool-preview-shell-tone {
  gap: 0.62rem;
}

.tone-preview-head strong {
  text-transform: none;
  letter-spacing: 0.01em;
}

.tone-preview-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.56rem 0.62rem;
}

.tone-preview-tone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #e2ddd6;
  border-radius: 12px;
  background: #faf8f4;
  padding: 0.46rem 0.62rem 0.46rem 0.42rem;
  min-height: 2.35rem;
}

.tone-preview-tone i {
  width: 1.08rem;
  height: 1.08rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: block;
  flex: 0 0 auto;
}

.tone-preview-tone small {
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  color: #69655f;
  line-height: 1.1;
  font-weight: 600;
}

.tone-preview-tone.is-active {
  border-color: #1f1f1d;
  background: #f1eee8;
}

.tone-preview-tone.is-active small {
  color: #1f1f1d;
  font-weight: 600;
}

.tone-preview-grid .tool-preview-chip b {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.size-preview-reco-card small {
  display: block;
  color: #8a8880;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.size-preview-reco-card b {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  line-height: 0.9;
  margin-top: 0.15rem;
  color: #1f1f1d;
}

.size-preview-reco-card span {
  display: block;
  margin-top: 0.2rem;
  color: #9a958d;
  font-size: 0.66rem;
}

.size-preview-cta {
  margin-top: 0.12rem;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfc8bc;
  border-radius: 11px;
  text-decoration: none;
  color: #23211e;
  background: #f7f4ef;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.45rem 0.66rem;
}

.size-preview-cta:hover {
  background: #f1ede6;
}

.tool-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #8a8880;
}

.tool-preview-row strong {
  color: #242321;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.tool-preview-block-label {
  margin: 0;
  color: #8a8880;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.tool-preview-input-list {
  border: 1px solid #e5e0d9;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.tool-preview-input-row {
  padding: 0.5rem 0.62rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #efebe4;
}

.tool-preview-input-row:first-child {
  border-top: 0;
}

.tool-preview-input-row span {
  color: #8a8880;
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tool-preview-input-row strong {
  color: #242321;
  font-size: 0.86rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.tool-preview-chip.is-output {
  border-color: #ddd6cb;
  background: linear-gradient(180deg, #ffffff 0%, #fbf9f6 100%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.tool-preview-chip.is-output b {
  font-size: 0.88rem;
}

.tool-preview-measurements {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

.tool-preview-measurement {
  border: 1px solid #e4dfd8;
  border-radius: 9px;
  background: #fff;
  padding: 0.42rem 0.48rem;
  display: grid;
  gap: 0.08rem;
}

.tool-preview-measurement span {
  color: #8a8880;
  font-size: 0.61rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tool-preview-measurement strong {
  color: #242321;
  font-size: 0.85rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.tool-preview-divider {
  height: 1px;
  background: #e6e2dc;
  margin: 0.15rem 0;
}

.tool-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.tool-preview-chip {
  border: 1px solid #e6e2dc;
  border-radius: 10px;
  background: #fff;
  padding: 0.45rem 0.5rem;
  min-height: 3rem;
  display: grid;
  align-content: center;
}

.tool-preview-chip small {
  color: #8a8880;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tool-preview-chip b {
  font-size: 0.85rem;
  line-height: 1.2;
  font-weight: 600;
  color: #242321;
}

.tool-preview-meter {
  height: 0.42rem;
  border-radius: 999px;
  background: #dedad3;
  overflow: hidden;
}

.tool-preview-meter-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #242321;
}

.landing-tool-link {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid #d6d1ca;
  border-radius: 999px;
  padding: 0.45rem 0.78rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #2b2925;
  background: #fff;
}

.landing-tool-link:hover {
  background: #f5f2ed;
}

.landing-cta {
  text-align: center;
  padding: 4.2rem 3rem;
}

.landing-cta h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4.3vw, 3.4rem);
  line-height: 1.1;
}

.landing-cta p {
  margin: 1rem auto 1.7rem;
  max-width: 460px;
  color: #8a8880;
}

.landing-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.85rem 1.4rem;
  box-shadow: 0 10px 18px rgba(31, 31, 29, 0.22);
}

.landing-btn-main:hover {
  background: #2c2b27;
}

.landing-footer {
  border-top: 1px solid #ece9e4;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.landing-footer-logo {
  font-weight: 700;
  font-size: 1rem;
}

.landing-footer-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.landing-footer-links a {
  color: #8a8880;
  text-decoration: none;
  font-size: 0.74rem;
}

.landing-footer-copy {
  margin: 0;
  color: #8a8880;
  font-size: 0.7rem;
}

.landing-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.landing-reveal.visible {
  opacity: 1;
  transform: none;
}

.home-hero-wrap,
.home-grid,
.placeholder-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.home-hero-wrap,
.placeholder-wrap {
  padding: 2.4rem 2.2rem 1.2rem;
}

.home-title,
.placeholder-wrap h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  font-weight: 600;
}

.home-subtitle,
.placeholder-description {
  margin: 0.9rem 0 0;
  color: var(--ink-soft);
  max-width: 64ch;
  font-size: 1rem;
}

.home-grid {
  padding: 0.9rem 2.2rem 2.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.home-card {
  border: 1px solid var(--line);
  background: #f7f6f4;
  border-radius: 14px;
  padding: 1rem 1rem 0.95rem;
}

.home-card h2 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
}

.home-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.sticky-compare-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  border-top: 1px solid rgba(201, 196, 188, 0.8);
  border-bottom: 0;
  background: rgba(244, 242, 238, 0.96);
  backdrop-filter: blur(6px);
}

.sticky-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.15rem 1.05rem;
  display: grid;
  gap: 0.95rem;
}

.sticky-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#sticky-summary {
  margin: 0;
  color: #726f68;
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.sticky-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.sticky-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.sticky-card {
  min-height: 92px;
  border: 1px solid #d7d1c7;
  border-radius: 10px;
  background: rgba(252, 250, 246, 0.9);
  padding: 0.9rem 0.95rem;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
}

.sticky-card-image-wrap {
  width: 56px;
  height: 56px;
  border: 1px solid #ded8cf;
  background: linear-gradient(180deg, #f7f3ec 0%, #f3efe7 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.sticky-card-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.sticky-card-info {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}

.sticky-card-name {
  margin: 0;
  min-width: 0;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-card-meta {
  margin: 0;
  color: #746f68;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.sticky-card-color-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(28, 28, 26, 0.16);
  flex: 0 0 auto;
}

.sticky-card-side {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
  align-self: stretch;
  align-content: space-between;
}

.sticky-card-price {
  margin: 0;
  color: #27251f;
  font-family: "Fraunces", serif;
  font-size: 0.95rem;
  line-height: 1;
}

.sticky-card-remove {
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid #cec8be;
  border-radius: 999px;
  background: transparent;
  color: #8d8a84;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  line-height: 1;
  padding: 0;
  order: -1;
}

.sticky-card-placeholder {
  border-style: dashed;
  justify-items: center;
  grid-template-columns: 1fr;
  color: #c0bbb3;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: grid;
  place-items: center;
}

.sticky-action-btn {
  border: 1px solid #c8c2b8;
  background: rgba(255, 255, 255, 0.75);
  color: #1f1f1d;
  border-radius: 16px;
  padding: 0.78rem 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.sticky-action-primary {
  background: rgba(255, 255, 255, 0.9);
}

.sticky-action-secondary {
  background: rgba(255, 255, 255, 0.55);
}

.background-blur {
  position: fixed;
  inset: 0;
  pointer-events: none;
  backdrop-filter: none;
  opacity: 0;
  z-index: -1;
}

.hero,
.layout {
  max-width: 1180px;
  margin: 0 auto;
}

.hero {
  padding: 2rem 2.2rem 1.6rem;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.eyebrow {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #81807b;
  font-weight: 500;
  font-size: 0.64rem;
}

.hero h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  font-weight: 500;
  font-style: italic;
  max-width: 20ch;
}

.hero-subtitle {
  margin: 0.85rem 0 0;
  max-width: 66ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.layout {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 2.2rem 3rem;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: none;
  padding: 1.4rem 1.6rem;
}

.filters {
  position: relative;
  z-index: 8;
}

.filters-bar,
.insights {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.insights {
  padding: 0;
  overflow: hidden;
}

.insights h2 {
  padding: 1.15rem 1.35rem;
  margin: 0;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.catalog-head-copy {
  display: grid;
  gap: 0.18rem;
}

.catalog-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  justify-content: flex-end;
}

.catalog-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mobile-catalog-filter-btn {
  display: none;
}

.view-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  border: 1px solid #d7d2ca;
  border-radius: 999px;
  padding: 0.16rem;
  background: #faf8f4;
}

.view-mode-btn {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5e5b54;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.38rem;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.view-mode-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.95rem;
  height: 0.95rem;
}

.view-mode-icon-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.view-mode-btn:hover {
  background: rgba(40, 40, 36, 0.07);
  color: #232320;
}

.view-mode-btn.is-active {
  background: #232320;
  color: #f7f4ee;
}

.custom-dropdown-compact {
  min-width: 190px;
}

.dropdown-trigger-compact {
  min-width: 170px;
  padding: 0.62rem 1.85rem 0.62rem 0.8rem;
  border-radius: 10px;
  background: #fbfaf8;
  font-size: 0.88rem;
}

.dropdown-menu-compact {
  right: 0;
  left: auto;
  width: 210px;
  margin-top: 0.2rem;
}

.dropdown-menu-compact .dropdown-option {
  font-size: 0.8rem;
  padding: 0.48rem 0.52rem;
  white-space: nowrap;
}

h2 {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.2;
  letter-spacing: 0.12em;
  color: #76746f;
  font-weight: 500;
  text-transform: uppercase;
}

.catalog h2 {
  font-family: "Fraunces", serif;
  font-size: 2.05rem;
  line-height: 1.08;
  font-style: italic;
  letter-spacing: 0;
  color: #1f1f1d;
  font-weight: 500;
  text-transform: none;
}

label {
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: grid;
  gap: 0.4rem;
}

.filter-field {
  display: grid;
  gap: 0.4rem;
}

.filter-label {
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

input,
select,
button {
  font: inherit;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.56rem 0.64rem;
  color: var(--ink);
  background: #fff;
}

select {
  border-color: var(--line);
  background: #fff;
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
}

select:focus {
  outline: 0;
  border-color: var(--line);
  box-shadow: 0 0 0 3px rgba(31, 36, 48, 0.08);
}

.custom-dropdown {
  position: relative;
}

.custom-dropdown.is-open {
  z-index: 20;
}

.dropdown-trigger {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.78rem 2rem 0.78rem 0.9rem;
  text-align: left;
  color: var(--ink);
  background: #f8f7f5;
  position: relative;
  font-size: 1.04rem;
}

.dropdown-trigger > span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.dropdown-trigger::after {
  content: "";
  position: absolute;
  right: 0.72rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #6d6d66;
  border-bottom: 2px solid #6d6d66;
  transform: translateY(-70%) rotate(45deg);
}

.custom-dropdown.is-open .dropdown-trigger {
  border-color: #b8b7b1;
  box-shadow: 0 0 0 3px rgba(40, 40, 36, 0.08);
}

.custom-dropdown.is-open .dropdown-trigger::after {
  transform: translateY(-30%) rotate(-135deg);
}

.dropdown-menu {
  position: absolute;
  z-index: 50;
  margin: 0.35rem 0 0;
  padding: 0.35rem;
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  list-style: none;
  border: 1px solid rgba(31, 36, 48, 0.16);
  border-radius: 12px;
  background: #faf9f7;
  box-shadow: 0 12px 24px rgba(18, 18, 16, 0.08);
}

.dropdown-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  border: 0;
  border-radius: 7px;
  background: transparent;
  text-align: left;
  padding: 0.56rem 0.56rem;
  color: #3f3f39;
  font-size: 0.91rem;
}

.dropdown-option:hover {
  background: #f4f4f1;
}

.dropdown-option.is-selected {
  background: #f0f0ed;
  color: #1f1f1d;
  font-weight: 600;
}

.dropdown-swatch {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(28, 28, 26, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  flex: 0 0 0.9rem;
}

button {
  cursor: pointer;
}

.ghost-btn {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8f7f5;
  padding: 0.64rem 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #2a2a27;
}

.reset-btn {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  border: 1px solid #cac7c2;
  background: #faf7f1;
  padding: 0.52rem 1rem;
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.filter-toggle-btn {
  border: 0;
  background: transparent;
  padding: 0.1rem 0;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.filter-toggle-btn:hover {
  color: var(--ink);
}

.filter-layout {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.8rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.5rem;
}

.filter-row-primary .filter-field {
  flex: 1 1 210px;
  min-width: 180px;
}

.filter-row-secondary .filter-field {
  flex: 1 1 165px;
  min-width: 150px;
}

.filter-row-primary .price-range-wrap {
  flex: 1.35 1 320px;
  min-width: 280px;
}

.filter-row-secondary {
  padding-top: 0.2rem;
  border-top: 1px solid rgba(28, 28, 26, 0.08);
  transition:
    opacity 160ms ease,
    max-height 160ms ease,
    margin 160ms ease,
    padding 160ms ease;
  max-height: 320px;
  opacity: 1;
  overflow: visible;
}

.filter-row-secondary.is-collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  padding-top: 0;
  border-top-color: transparent;
  pointer-events: none;
  overflow: hidden;
}

.price-filter {
  display: grid;
  gap: 0.35rem;
}

.price-range-wrap {
  align-items: center;
  padding-bottom: 0;
}

.price-filter-label {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.price-filter-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
}

.price-slider-wrap {
  position: relative;
  height: 1.45rem;
}

.price-range-track,
.price-range-fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 0.32rem;
  border-radius: 999px;
}

.price-range-track {
  background: #dbd8d3;
}

.price-range-fill {
  background: #1f1f1d;
}

.price-range {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  background: none;
  border: 0;
  padding: 0;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.price-range::-webkit-slider-runnable-track {
  height: 0.32rem;
  background: transparent;
}

.price-range::-moz-range-track {
  height: 0.32rem;
  background: transparent;
}

.price-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #222220;
  box-shadow: 0 1px 4px rgba(16, 30, 24, 0.2);
  pointer-events: auto;
  margin-top: -0.34rem;
}

.price-range::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #222220;
  box-shadow: 0 1px 4px rgba(16, 30, 24, 0.2);
  pointer-events: auto;
}

#results-count,
#compare-count {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

#results-count {
  display: none;
}

.product-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.pagination {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.pagination-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.pagination-btn {
  border: 1px solid #d2cec7;
  background: #fff;
  color: #1f1f1d;
  border-radius: 10px;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.65rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.pagination-btn:hover:not(:disabled) {
  border-color: #1f1f1d;
}

.pagination-btn.is-active {
  background: #1f1f1d;
  border-color: #1f1f1d;
  color: #fff;
}

.pagination-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pagination-ellipsis {
  color: #7f7a72;
  font-size: 0.92rem;
  padding: 0 0.15rem;
}

.faq-panel {
  margin-top: 1rem;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-intro {
  margin: 0 0 0.7rem;
  color: #6f6b66;
  font-size: 0.9rem;
  line-height: 1.5;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfbf9;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.9rem 1rem;
  font-size: 0.98rem;
  font-weight: 400;
  color: #242321;
  position: relative;
  padding-right: 2.1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6f6b66;
  font-size: 1.15rem;
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  margin: 0;
  padding: 0 1rem 0.95rem;
  color: #6f6b66;
  font-size: 0.92rem;
  line-height: 1.55;
}

.faq-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0.2rem;
}

.faq-more-btn {
  border: 1px solid #d2cec7;
  background: #fff;
  color: #242321;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-more-btn:hover {
  border-color: #242321;
}

.product-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-top: 0;
  border-left: 0;
  border-radius: 0;
  overflow: hidden;
  background: #f8f7f5;
  display: flex;
  flex-direction: column;
  transition: background-color 160ms ease;
}

.product-card:hover {
  background: #fbfaf8;
}

.product-grid.gallery-view .product-card {
  position: relative;
  background: #f4f1eb;
}

.product-grid.gallery-view .product-card:hover {
  background: #f4f1eb;
}

.product-grid.gallery-view .product-hit {
  position: relative;
  height: 100%;
}

.product-grid.gallery-view .card-summary,
.product-grid.gallery-view .card-actions {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.product-grid.gallery-view .card-summary {
  bottom: 3.9rem;
  min-height: 0;
  padding: 0.95rem 0.9rem 0.65rem;
  background: linear-gradient(180deg, rgba(14, 14, 13, 0) 0%, rgba(14, 14, 13, 0.88) 56%, rgba(14, 14, 13, 0.93) 100%);
}

.product-grid.gallery-view .card-actions {
  bottom: 0;
  padding: 0.5rem 0.9rem 0.75rem;
  border-top: 0;
  background: rgba(14, 14, 13, 0.93);
}

.product-grid.gallery-view .card-summary h3,
.product-grid.gallery-view .card-brand,
.product-grid.gallery-view .card-price,
.product-grid.gallery-view .card-rating {
  color: #f7f3ec;
}

.product-grid.gallery-view .secondary,
.product-grid.gallery-view .primary {
  background: rgba(244, 240, 233, 0.94);
  border-color: rgba(244, 240, 233, 0.94);
  color: #1f1f1d;
}

.product-grid.gallery-view .product-card:hover .card-summary,
.product-grid.gallery-view .product-card:hover .card-actions,
.product-grid.gallery-view .product-card:focus-within .card-summary,
.product-grid.gallery-view .product-card:focus-within .card-actions {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.product-hit {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: stretch;
  overflow: hidden;
}

.product-hit img {
  width: 100%;
  aspect-ratio: 5 / 8;
  height: auto;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: linear-gradient(180deg, #e6dfd8 0%, #d7cec5 100%);
}

.card-summary {
  padding: 0.86rem 1rem 0.78rem;
  display: grid;
  gap: 0.24rem;
  min-height: 5.3rem;
  align-content: start;
}

.card-brand {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--ink-soft);
}

.card-summary h3 {
  margin: 0;
  font-size: 0.88rem;
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-topline,
.card-subline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-width: 0;
}

.card-price {
  font-weight: 400;
  color: #1f1f1d;
  font-size: 0.88rem;
  white-space: nowrap;
}

.card-rating {
  color: #53524d;
  font-weight: 400;
  font-size: 0.74rem;
  white-space: nowrap;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.54rem;
  padding: 0 1rem 0.96rem;
  border-top: 0;
}

.secondary,
.primary {
  border-radius: 14px;
  border: 1px solid #c8c5c0;
  padding: 0.56rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: none;
}

.primary {
  border-color: #b6b2ad;
  color: #1f1f1d;
  background: #f8f7f5;
}

.primary.is-selected {
  background: #e5ebf5;
  border-color: #4d7fcc;
  color: #1e3f73;
}

.secondary {
  background: #f8f7f5;
  color: #2f2f2b;
  border-color: #c8c5c0;
}

.panel-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.compare-empty {
  margin: 1.2rem 1.6rem 1.6rem;
  border: 1px dashed rgba(160, 154, 146, 0.55);
  border-radius: 18px;
  padding: 1.1rem 1.25rem;
  color: #706c65;
  text-align: center;
  background: rgba(255, 255, 255, 0.45);
}

.hidden {
  display: none;
}

.table-scroller {
  margin-top: 0;
  overflow-x: auto;
}

.compare-table {
  width: max(1040px, 100%);
  border-collapse: collapse;
  background: transparent;
  table-layout: fixed;
  font-family: "Manrope", sans-serif;
}

.compare-table th,
.compare-table td {
  border: 1px solid rgba(199, 194, 186, 0.62);
  padding: 1.75rem 1.25rem;
  vertical-align: middle;
  overflow-wrap: anywhere;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.52);
}

.compare-table thead th {
  background: rgba(255, 255, 255, 0.72);
  min-width: 220px;
  padding-top: 1.85rem;
  padding-bottom: 1.8rem;
}

.feature-col {
  width: 190px;
  min-width: 190px;
  background: #f8f7f3;
  color: #7a756d;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  vertical-align: middle;
  text-align: left;
  padding-left: 1.4rem;
}

.feature-col-head {
  background: rgba(255, 255, 255, 0.72);
}

.compare-head-card {
  display: grid;
  gap: 0.7rem;
  text-align: center;
  justify-items: center;
  min-height: 252px;
  position: relative;
}

.compare-remove {
  width: 2rem;
  height: 2rem;
  border: 1px solid #bdb9b2;
  border-radius: 999px;
  background: rgba(248, 247, 245, 0.92);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  display: grid;
  place-items: center;
  position: absolute;
  top: -0.15rem;
  right: 0.15rem;
  box-shadow: 0 8px 18px rgba(38, 33, 27, 0.06);
}

.compare-zoom {
  width: 2rem;
  height: 2rem;
  border: 1px solid #bdb9b2;
  border-radius: 999px;
  background: rgba(248, 247, 245, 0.92);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1;
  display: grid;
  place-items: center;
  position: absolute;
  top: 2.25rem;
  right: 0.15rem;
  box-shadow: 0 8px 18px rgba(38, 33, 27, 0.06);
}

.compare-head-card img,
.compare-head-image {
  width: 112px;
  min-width: 112px;
  max-width: 112px;
  height: 148px;
  border-radius: 0;
  object-fit: contain;
  display: block;
  background: linear-gradient(180deg, #f7f3ec 0%, #f3efe7 100%);
  margin: 0 auto;
}

.compare-head-card h3 {
  max-width: 230px;
  font-size: 1rem;
  line-height: 1.34;
  font-weight: 400;
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compare-head-card h3,
.compare-head-card p {
  margin: 0;
}

.compare-head-meta {
  color: #76716a;
  font-size: 0.72rem;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.compare-detail-btn {
  border: 1px solid #c6c1b9;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #24231f;
  padding: 0.58rem 1rem;
  font-size: 0.77rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Manrope", sans-serif;
}

.compare-cell-value {
  margin: 0;
  text-align: center;
  color: #45433e;
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  line-height: 1.42;
  font-weight: 400;
  letter-spacing: 0;
}

.compare-cell-value-policy {
  text-align: left;
}

.policy-line {
  display: block;
}

.policy-bullet {
  color: inherit;
}

.compare-table .compare-cell-value-policy .policy-line {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  align-items: start;
  column-gap: 0.5rem;
}

.compare-table .compare-cell-value-policy .policy-bullet {
  display: inline-flex;
  justify-content: center;
  width: 1.15rem;
  line-height: 1.4;
}

.compare-table .compare-cell-value-policy .policy-copy {
  display: block;
  min-width: 0;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

.policy-price {
  color: #6262f3;
}

.compare-centered-subtext {
  margin-top: 0.4rem;
  text-align: center;
}

.compare-best-badge {
  display: block;
  width: fit-content;
  margin: 0.62rem auto 0;
  background: #f7f5ff;
  color: #6262f3;
  border: 1px solid rgba(98, 98, 243, 0.45);
  border-radius: 2px;
  padding: 0.16rem 0.52rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none;
}

.compare-badge-list {
  display: flex;
  justify-content: center;
  gap: 0.42rem;
  flex-wrap: wrap;
  margin-top: 0.62rem;
}

.compare-badge-list .compare-best-badge {
  margin-top: 0;
}

.compare-colors-wrap {
  display: grid;
  justify-items: center;
  gap: 0.38rem;
}

.compare-swatch-list {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  flex-wrap: wrap;
  justify-content: center;
}

.compare-swatch {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 18, 0.18);
}

.compare-subtext {
  margin: 0.28rem 0 0;
  color: #7a766f;
  font-size: 0.76rem;
  line-height: 1.35;
}

.insights ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
}

.insight-item {
  position: relative;
  color: var(--ink-soft);
  padding: 1.3rem 1.28rem 1.12rem;
  border-right: 1px solid var(--line);
  min-height: 148px;
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 100%);
}

.insight-item::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 0;
  width: 3px;
  height: 5.8rem;
  border-radius: 999px;
  background: #6f6a63;
  opacity: 0.92;
}

.insight-item:last-child {
  border-right: 0;
}

.insight-item:nth-child(1)::before {
  background: #29a37a;
}

.insight-item:nth-child(2)::before {
  background: #3c82e6;
}

.insight-item:nth-child(3)::before {
  background: #cb8d17;
}

.insight-item:nth-child(4)::before {
  background: #8b6a45;
}

.insight-title {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #7a7873;
}

.insight-metric {
  margin: 0.72rem 0 0;
  color: #1f1f1d;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.9rem, 2.35vw, 2.35rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.insight-value {
  margin: 0.82rem 0 0;
  color: #605d57;
  font-size: 0.82rem;
  line-height: 1.25;
  max-width: 100%;
  display: block;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.46rem;
}

.insight-product-link {
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  color: #1f1f1d;
  font: inherit;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  max-width: 100%;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  display: inline-block;
}

.insight-product-link:hover,
.insight-product-link:focus-visible {
  color: #383630;
}

.insight-item--product .insight-value {
  min-height: auto;
}

.product-modal {
  width: min(1060px, 94vw);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0;
  overflow: hidden;
  background: #f6f5f3;
}

.product-modal::backdrop {
  background: rgba(20, 24, 30, 0.45);
}

.product-modal .modal-close {
  border: 1px solid rgba(34, 34, 32, 0.22);
  border-radius: 14px;
  background: rgba(249, 247, 243, 0.8);
  font-size: 1.8rem;
  line-height: 1;
  width: 54px;
  height: 46px;
}

.comparison-modal .modal-close {
  border: 0;
  background: none;
  font-size: 1.45rem;
  line-height: 1;
  position: absolute;
  right: 0.85rem;
  top: 0.65rem;
  width: auto;
  height: auto;
}

.modal-shell {
  display: grid;
  grid-template-columns: minmax(260px, 42%) 1fr;
  gap: 0;
  align-items: start;
  min-height: min(740px, 90vh);
}

.modal-media {
  position: relative;
  background: #e3d8cf;
  border-right: 1px solid var(--line);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modal-close-media {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
}

.modal-media img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  object-fit: contain;
  padding: 4.2rem 2.4rem 2rem;
}

.modal-editor-score {
  padding: 0 2.4rem 2rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.55rem;
  text-align: center;
}

.modal-editor-score-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  color: #7a766f;
}

.modal-editor-score-value {
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  color: #1f1f1d;
}

.modal-info {
  padding: 2.55rem 2.7rem 2.2rem;
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.modal-brand {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.03rem;
  color: var(--ink-soft);
}

.modal-info h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-family: "Manrope", sans-serif;
  font-style: normal;
  font-weight: 600;
  line-height: 1.3;
}

.modal-price-line {
  margin: 0.42rem 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.modal-price {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: #1f1f1d;
}

.modal-rating-line {
  color: #6f6d68;
  font-size: 1rem;
  text-align: right;
  white-space: nowrap;
}

.modal-meta {
  margin: 1.2rem 0 0;
  padding: 1.05rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
}

.modal-spec-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: start;
  gap: 0.75rem;
  padding: 0.82rem 0;
  border-bottom: 1px solid var(--line);
}

.modal-spec-key {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #76746f;
}

.modal-spec-value {
  color: #1f1f1d;
  text-align: right;
}

.modal-swatch-list {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.modal-swatch {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 18, 0.18);
}

.modal-swatch-more {
  color: #66645f;
  font-size: 0.96rem;
}

.modal-summary {
  margin: 1.35rem 0 0;
  font-family: "Manrope", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #4f4d48;
  font-size: 0.98rem;
  line-height: 1.55;
}

.compare-cell-value-multiline {
  white-space: normal;
  text-align: left;
}

.review-summary-stack {
  display: grid;
  gap: 0.52rem;
}

.review-summary-stack-compact {
  gap: 0.42rem;
}

.review-summary-line {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  align-items: start;
  column-gap: 0.5rem;
}

.review-summary-line-no-icon {
  grid-template-columns: minmax(0, 1fr);
}

.review-summary-icon {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  width: 1.15rem;
  line-height: 1.4;
}

.review-summary-copy {
  display: block;
  min-width: 0;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

.modal-actions {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bdb9b2;
  border-radius: 14px;
  padding: 0.82rem 1rem;
  color: #1f1f1d;
  background: #f6f5f3;
  font-size: 1.06rem;
  text-decoration: none;
}

.comparison-modal {
  width: min(1280px, 97vw);
  border: 0;
  border-radius: 24px;
  padding: 0;
  background: transparent;
}

.comparison-modal::backdrop {
  background: rgba(20, 24, 30, 0.45);
}

.image-lightbox {
  width: min(900px, 92vw);
  border: 0;
  border-radius: 18px;
  padding: 1.2rem;
  background: rgba(250, 248, 244, 0.98);
  box-shadow: 0 28px 80px rgba(29, 24, 18, 0.22);
}

.image-lightbox::backdrop {
  background: rgba(20, 24, 30, 0.6);
}

.image-lightbox img {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
  display: block;
  background: linear-gradient(180deg, #f7f3ec 0%, #f3efe7 100%);
}

.image-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid #bdb9b2;
  border-radius: 14px;
  background: rgba(250, 248, 244, 0.95);
  width: 3rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
}

.compare-dialog {
  margin: 0;
  max-height: 92vh;
  overflow: auto;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: 0;
  background: #faf8f4;
  border: 1px solid rgba(199, 194, 186, 0.7);
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(29, 24, 18, 0.16);
}

.compare-dialog .table-scroller {
  margin-top: 0;
  max-height: 76vh;
  overflow: auto;
  padding: 1.2rem 2.7rem 2.2rem;
}

.compare-dialog .panel-head {
  padding: 2rem 3.2rem 1.7rem;
  border-bottom: 1px solid rgba(199, 194, 186, 0.62);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.compare-dialog .panel-head h2 {
  display: none;
}

.compare-dialog .panel-actions {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 1rem;
}

.compare-dialog .ghost-btn {
  border-radius: 16px;
  padding: 0.88rem 1.55rem;
  font-size: 0.96rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.7);
}

.compare-footer {
  display: flex;
  justify-content: flex-end;
  padding: 0 3.2rem 2.7rem;
}

.comparison-modal .modal-close {
  top: 1.95rem;
  right: 3rem;
  border: 1px solid #bdb9b2;
  border-radius: 16px;
  width: 3.45rem;
  height: 3rem;
  font-size: 2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  background: #faf8f4;
}

#compare-count {
  margin: 0;
  color: #7a756d;
  display: inline-flex;
  align-items: baseline;
  gap: 0.9rem;
}

.compare-count-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
}

.compare-count-value {
  font-family: "Manrope", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #2a2824;
}

.compare-table tbody tr.compare-row-no-winner th,
.compare-table tbody tr.compare-row-no-winner td {
  background: rgba(255, 255, 255, 0.72);
}

.compare-table tbody tr.compare-row-has-winner th,
.compare-table tbody tr.compare-row-has-winner td {
  background: rgba(255, 255, 255, 0.72);
}

.best-cell .compare-cell-value {
  font-size: 0.82rem;
  font-weight: 400;
}
html[data-device="mobile"] body,
html[data-device="desktop"] body {
  min-width: 320px;
}

.device-desktop-active .site-header-inner,
.device-desktop-active .tool-page-wrap {
  max-width: var(--shell-page-max-width);
}

.device-mobile-active .site-header-inner,
.device-mobile-active .tool-page-wrap {
  max-width: 100%;
}
@media (min-width: 768px) {
  html[data-device="desktop"] .site-header-inner {
    padding-left: 2.2rem;
    padding-right: 2.2rem;
  }

  html[data-device="desktop"] .landing-tools-layout {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  }

  html[data-device="desktop"] #page-home .landing-hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding-left: max(3rem, calc((100vw - 1200px) / 2 + 3rem));
    padding-right: max(3rem, calc((100vw - 1200px) / 2 + 3rem));
  }

  html[data-device="desktop"] #page-home .landing-retailers {
    display: none;
  }
}
.mobile-tabbar {
  display: none;
}

.mobile-home-head,
.mobile-home-kicker {
  display: none;
}

@media (max-width: 767px) {
  html[data-device="mobile"] .site-header-inner {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  html[data-device="mobile"] .site-menu {
    gap: 0.18rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }

  html[data-device="mobile"] .site-menu::-webkit-scrollbar {
    display: none;
  }

  html[data-device="mobile"] .landing-tools-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html[data-device="mobile"],
  html[data-device="mobile"] body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  html[data-device="mobile"] body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .site-header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .site-nav {
    display: none;
  }

  .mobile-page-title {
    display: inline-block;
    margin-left: auto;
    max-width: 46%;
    color: #8b8781;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
  }

  #page-wedding-bridesmaid-dresses .hero,
  #page-wedding-dresses .hero {
    display: none;
  }

  .mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.2rem;
    padding: 0.42rem 0.52rem calc(0.42rem + env(safe-area-inset-bottom));
    border-top: 1px solid #d2cdc5;
    background: rgba(245, 243, 239, 0.97);
    backdrop-filter: blur(10px);
    transition: transform 180ms ease;
  }

  body.mobile-tabbar-hidden .mobile-tabbar {
    transform: translateY(115%);
  }

  .mobile-tab-link {
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: #6c6862;
    text-decoration: none;
    min-height: 52px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.16rem;
    padding: 0.3rem 0.15rem;
  }

  .mobile-tab-btn {
    width: 100%;
    cursor: pointer;
  }

  .mobile-tab-link.is-active {
    color: #1f1f1d;
    background: #ece9e2;
  }

  .mobile-tab-drawer {
    position: fixed;
    left: 0.55rem;
    right: 0.55rem;
    bottom: calc(74px + env(safe-area-inset-bottom));
    z-index: 72;
    border: 1px solid #d1ccc4;
    border-radius: 22px 22px 18px 18px;
    background: #f7f5f1;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.3);
    padding: 0.66rem 0.72rem 0.74rem;
    max-height: min(72vh, 560px);
    overflow: hidden;
    animation: mobileBottomSheetIn 220ms cubic-bezier(0.2, 0.8, 0.22, 1);
  }

  .mobile-tab-drawer::before {
    content: "";
    width: 68px;
    height: 5px;
    border-radius: 999px;
    background: #c8c3ba;
    display: block;
    margin: 0.08rem auto 0.72rem;
  }

  .mobile-tab-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.58rem;
  }

  .mobile-tab-drawer-header p {
    margin: 0;
    color: #1f1f1d;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
  }

  .mobile-tab-drawer-header button {
    border: 1px solid #ccc6bc;
    border-radius: 14px;
    background: #fff;
    width: 42px;
    height: 42px;
    font-size: 1.38rem;
    line-height: 1;
    padding: 0;
  }

  .mobile-tab-drawer-list {
    display: grid;
    gap: 0.62rem;
    overflow-y: auto;
    max-height: calc(min(72vh, 560px) - 120px);
    padding-right: 0.12rem;
  }

  .mobile-tab-drawer-item {
    min-height: 94px;
    border: 1px solid #d5d1c8;
    border-radius: 16px;
    background: #fff;
    color: #1f1f1d;
    text-align: left;
    padding: 0.72rem 0.78rem;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.76rem;
  }

  .mobile-drawer-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f1efeb;
    border: 1px solid #dad5cc;
    display: grid;
    place-items: center;
    font-size: 1.28rem;
    line-height: 1;
  }

  .mobile-drawer-copy {
    min-width: 0;
    display: grid;
    gap: 0.1rem;
  }

  .mobile-drawer-copy strong {
    font-size: 0.95rem;
    line-height: 1.18;
    font-weight: 700;
  }

  .mobile-drawer-copy small {
    color: #84807a;
    font-size: 0.72rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-drawer-chevron {
    color: #b3aea6;
    font-size: 1.34rem;
    line-height: 1;
  }

  body.mobile-tab-drawer-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 71;
    background: rgba(18, 18, 18, 0.35);
  }

  @keyframes mobileBottomSheetIn {
    from {
      transform: translateY(24px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .mobile-tab-icon {
    font-size: 1.2rem;
    line-height: 1;
  }

  .mobile-tab-label {
    font-size: 0.7rem;
    line-height: 1.1;
    letter-spacing: 0.01em;
    font-weight: 600;
  }

  #page-home .landing-footer {
    display: none;
  }

  #page-home .landing-hero {
    text-align: left;
    justify-content: flex-start;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 1.1rem 0.88rem 0.95rem;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .mobile-home-head {
    display: none;
  }

  .mobile-home-head button {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #2d2b27;
    background: #f7f5f1;
    color: #2d2b27;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0;
  }

  .mobile-home-kicker {
    display: none;
  }

  #page-home .landing-eyebrow {
    display: none;
  }

  #page-home .landing-tags {
    display: none;
  }

  #page-home .landing-hero h1 {
    margin-bottom: 0.72rem;
    font-size: clamp(2.95rem, 13vw, 4.2rem);
    line-height: 0.92;
    max-width: 8.3ch;
  }

  #page-home .landing-hero .landing-hero-accent {
    display: block;
  }

  #page-home .landing-hero-left > p:not(.landing-search-feedback) {
    display: block;
    margin: 0;
    max-width: none;
    color: #8f8f8f;
    font-size: 0.76rem;
    line-height: 1.4;
  }

  #page-home .landing-search {
    margin: 1.22rem 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    display: inline-flex;
  }

  #page-home .landing-search input {
    display: none;
  }

  #page-home .landing-search button {
    border-radius: 999px;
    min-width: 0;
    min-height: 0;
    padding: 0.76rem 1.18rem;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
  }

  #page-home .landing-hero-visual {
    display: none;
  }

  #page-home .hero-visual-panel {
    border-radius: 14px;
    padding: 0.8rem;
    box-shadow: 0 10px 24px rgba(24, 22, 18, 0.1);
  }

  #page-home .hero-visual-title {
    font-size: 0.66rem;
    letter-spacing: 0.09em;
  }

  #page-home .hero-visual-cards {
    margin-top: 0.64rem;
    gap: 0.42rem;
  }

  #page-home .hero-visual-card {
    border-radius: 12px;
    padding: 0.4rem;
    gap: 0.24rem;
  }

  #page-home .hero-visual-card strong {
    font-size: 0.64rem;
  }

  #page-home .hero-visual-card span {
    font-size: 0.72rem;
  }

  #page-home .hero-visual-highlights {
    margin-top: 0.62rem;
    gap: 0.35rem;
  }

  #page-home .hero-visual-highlights span {
    font-size: 0.63rem;
    padding: 0.22rem 0.52rem;
  }

  #page-home .hero-visual-footer {
    margin-top: 0.72rem;
    font-size: 0.62rem;
  }

  #page-home .landing-tools {
    background: transparent;
    border: 0;
    padding: 1.02rem 0.88rem 0.78rem;
  }

  #page-home .landing-tools-inner {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
  }

  #page-home .landing-tools-layout {
    margin-top: 0.35rem;
  }

  #page-home .landing-tools-sidebar {
    display: flex;
    overflow-x: auto;
    gap: 0.48rem;
    padding-bottom: 0.2rem;
  }

  #page-home .landing-tool-card {
    min-height: 58px;
    min-width: 164px;
    padding: 0.4rem 0.7rem;
    align-items: center;
    justify-content: flex-start;
    gap: 0.44rem;
    border-radius: 999px;
    border-color: #d7d2c9;
    background: #f8f6f2;
  }

  #page-home .landing-tool-icon {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 1.02rem;
  }

  #page-home .landing-tool-copy {
    align-items: flex-start;
    text-align: left;
    gap: 0.08rem;
  }

  #page-home .landing-tool-copy strong {
    font-size: 0.76rem;
    line-height: 1.15;
  }

  #page-home .landing-tool-copy em,
  #page-home .landing-tool-panels {
    display: none;
  }

  #page-home .landing-retailers {
    display: none;
  }

  #page-home .landing-features {
    display: block;
    margin-top: 0.82rem;
    padding: 1.08rem 0.88rem 0.84rem;
    border: 1px solid #ece9e4;
    border-radius: 12px;
    background: #fff;
  }

  #page-home .landing-section-header {
    display: none;
  }

  #page-home .landing-section-eyebrow {
    display: block;
    margin: 0 0 0.24rem;
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }

  #page-home .landing-section-title {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 1.32rem;
    line-height: 1.1;
    margin: 0;
  }

  #page-home .landing-feat-card {
    border-radius: 12px;
    padding: 0.88rem;
  }

  #page-home .landing-feat-title {
    font-family: "Manrope", sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
  }

  #page-home .landing-feat-desc {
    margin: 0.34rem 0 0.7rem;
    font-size: 0.8rem;
    line-height: 1.32;
  }

  #page-home .landing-live-insights-slot .shared-insights-module .panel {
    border-radius: 12px;
  }

  #page-home .landing-live-insights-slot .shared-insights-module .filters-bar {
    display: none;
  }

  #page-home .landing-live-insights-actions {
    margin-top: 0.58rem;
    justify-content: flex-start;
  }

  #page-home .view-products-home-btn {
    min-height: 38px;
    padding: 0.46rem 0.8rem;
    font-size: 0.74rem;
  }

  #page-home .landing-cta {
    display: block;
    text-align: left;
    padding: 1.22rem 0.88rem 1.2rem;
  }

  #page-home .landing-cta h2 {
    font-size: 1.46rem;
    line-height: 1.1;
  }

  #page-home .landing-cta p {
    margin: 0.48rem 0 0.8rem;
    font-size: 0.84rem;
    line-height: 1.38;
  }

  #page-home .landing-footer {
    display: flex;
    border-top: 1px solid #e6e2db;
    padding: 0.76rem 0.88rem calc(0.9rem + env(safe-area-inset-bottom));
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  #page-home .landing-footer-links {
    display: none;
  }

  #page-home .landing-footer-logo {
    font-size: 0.9rem;
  }

  #page-home .landing-footer-copy {
    font-size: 0.64rem;
  }

  #page-home .landing-discussion-hubs {
    padding: 1rem 0.88rem 0.7rem;
  }

  #page-home .landing-discussion-hubs-inner {
    padding: 0.86rem 0.82rem;
    border-radius: 12px;
  }

  #page-home .landing-discussion-hubs-title {
    display: none;
  }

  #page-home .landing-discussion-hubs-grid {
    margin-top: 0.52rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.44rem;
  }

  #page-home .landing-discussion-hub {
    width: auto;
    min-height: 0;
    border-radius: 999px;
    padding: 0.46rem 0.72rem;
    display: inline-flex;
    align-items: center;
    background: #fff;
    gap: 0;
  }

  #page-home .landing-discussion-hub strong {
    font-size: 0.67rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  #page-home .landing-discussion-hub span {
    display: none;
  }

  #page-home .landing-tool-link {
    margin-top: 0.5rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #2d62b5;
    padding: 0;
    font-size: 1.05rem;
    letter-spacing: 0;
    text-transform: none;
    justify-content: flex-start;
  }

  .layout {
    padding: 0.7rem 0.45rem calc(150px + env(safe-area-inset-bottom));
    max-width: 100%;
  }

  #page-wedding-bridesmaid-dresses,
  #page-wedding-dresses,
  #page-wedding-bridesmaid-dresses .layout,
  #page-wedding-dresses .layout {
    max-width: 100%;
    overflow-x: visible;
  }

  .list-insights-slot,
  .shared-insights-module,
  .shared-insights-module .panel,
  .catalog,
  .insights {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .mobile-catalog-controls-slot {
    display: block;
    position: static;
    z-index: 46;
    align-self: start;
    margin-bottom: 0.34rem;
    background: #f5f4f1;
    border-radius: 12px;
    border: 1px solid #dedad3;
  }

  .mobile-catalog-controls-slot.hidden,
  .mobile-catalog-controls-slot:empty {
    display: none;
  }

  .mobile-catalog-controls-slot .panel-head {
    position: static;
    background: #f5f4f1;
    margin-bottom: 0;
    padding: 0.34rem;
    border-radius: 12px;
  }

  body.mobile-catalog-controls-pinned .mobile-catalog-controls-slot {
    position: fixed;
    top: 0;
    left: 0.45rem;
    right: 0.45rem;
    z-index: 80;
  }

  .filters-bar {
    position: sticky;
    top: 55px;
    z-index: 34;
    margin: 0;
    border-radius: 14px;
    padding: 0.72rem 0.78rem;
    transition: transform 180ms ease;
    overflow: visible;
    max-width: 100%;
  }

  #page-wedding-bridesmaid-dresses .filters-bar,
  #page-wedding-dresses .filters-bar {
    display: none;
  }

  body.mobile-filters-open #page-wedding-bridesmaid-dresses .filters-bar,
  body.mobile-filters-open #page-wedding-dresses .filters-bar {
    display: flex;
  }

  .filters-bar .panel-head h2 {
    text-transform: none;
    letter-spacing: 0;
    color: #1f1f1d;
    font-size: 1.25rem;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
  }

  .filter-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.45rem;
  }

  .filters-bar .panel-head {
    display: none;
  }

  .mobile-filter-quickbar {
    display: flex;
    align-items: center;
    gap: 0.48rem;
    overflow-x: auto;
    scrollbar-width: none;
    margin-top: 0.2rem;
    padding-bottom: 0.12rem;
  }

  .mobile-filter-quickbar::-webkit-scrollbar {
    display: none;
  }

  .mobile-filter-open-btn {
    flex: 0 0 auto;
    min-height: 44px;
    border: 1px solid #4b83da;
    border-radius: 999px;
    background: #d9e8ff;
    color: #2b64bd;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.42rem 0.98rem;
    white-space: nowrap;
  }

  .mobile-filter-open-btn::before {
    content: "\2261";
    margin-right: 0.35rem;
    font-weight: 700;
  }

  .mobile-filter-chip-track {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }

  .mobile-filter-chip {
    flex: 0 0 auto;
    min-height: 44px;
    border: 1px solid #d1ccc3;
    border-radius: 999px;
    background: #f8f6f2;
    color: #34322f;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.4rem 0.92rem;
    white-space: nowrap;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-filter-chip.is-active {
    border-color: #171715;
    background: #171715;
    color: #f4f1ea;
  }

  .reset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid #c8c4bc;
    border-radius: 999px;
    background: #faf8f4;
    color: #55524c;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.42rem 0.88rem;
  }

  .filter-toggle-btn {
    border: 1px solid #4b83da;
    border-radius: 999px;
    background: #d9e8ff;
    color: #2b64bd;
    min-height: 44px;
    padding: 0.42rem 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
  }

  .filter-layout {
    margin-top: 0;
    gap: 0.46rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transition: opacity 140ms ease, max-height 180ms ease, margin 140ms ease;
  }

  .filter-row-primary {
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
    gap: 0.5rem;
    padding: 0 0 0.22rem;
    width: 100%;
  }

  .filter-row-primary .filter-field {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 0;
  }

  .filter-row-primary .price-range-wrap {
    flex: 1 1 100%;
    min-width: 0;
  }

  .filter-row-primary .price-filter-values {
    padding: 0 0.62rem;
  }

  .filter-row-primary .price-slider-wrap {
    padding: 0 0.62rem;
  }

  .filter-row-primary .price-range-track,
  .filter-row-primary .price-range-fill,
  .filter-row-primary .price-range {
    left: 0;
    right: 0;
  }

  .filter-label,
  .price-filter-label {
    display: none;
  }

  .dropdown-trigger {
    min-height: 44px;
    border-radius: 999px;
    background: #fff;
    font-size: 0.94rem;
    padding: 0.55rem 1.85rem 0.55rem 0.84rem;
  }

  .dropdown-trigger::after {
    right: 0.68rem;
  }

  .price-filter-values {
    font-size: 0.9rem;
    margin-top: 0.18rem;
  }

  .price-slider-wrap {
    height: 1.6rem;
  }

  .filter-row-secondary {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    z-index: auto;
    max-height: none;
    overflow: visible;
    border: 0;
    border-top: 1px solid #d8d4ce;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0.58rem 0 0;
    transform: translateY(0);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.52rem;
    width: 100%;
  }

  .filter-row-secondary .filter-field {
    flex: none;
    min-width: 0;
  }

  .filter-row-secondary .custom-dropdown.is-open .dropdown-menu {
    position: static;
    margin-top: 0.42rem;
    max-height: 240px;
    border-radius: 10px;
  }

  .filter-row-secondary.is-collapsed {
    max-height: 0;
    border-top-color: transparent;
    transform: none;
    opacity: 0;
    pointer-events: none;
    padding: 0;
    padding-bottom: 0;
    margin-top: 0;
    overflow: hidden;
  }

  body.mobile-filters-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 74;
    background: rgba(20, 20, 18, 0.18);
  }

  body.mobile-filters-open .filters-bar {
    position: fixed;
    top: calc(55px + 0.42rem);
    left: 0.45rem;
    right: 0.45rem;
    bottom: calc(84px + env(safe-area-inset-bottom) + 0.45rem);
    z-index: 76;
    margin: 0;
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  body.mobile-filters-open .filters-bar .panel-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    background: #f5f4f1;
    padding-bottom: 0.5rem;
    margin-bottom: 0;
  }

  body.mobile-filters-open .mobile-filter-quickbar {
    display: none;
  }

  body.mobile-filters-open .filters-bar .filter-layout {
    border: 1px solid #d5d2cd;
    border-radius: 14px;
    background: #f7f5f1;
    flex: 1;
    min-height: 0;
    max-height: none;
    opacity: 1;
    pointer-events: auto;
    margin-top: 0.42rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.56rem 0.28rem 0.56rem 0.56rem;
  }

  .catalog .panel-head {
    position: sticky;
    top: calc(55px + 0.2rem);
    z-index: 34;
    background: #f5f4f1;
    margin-bottom: 0.2rem;
    padding-bottom: 0.42rem;
    transition: transform 180ms ease;
    padding: 0.46rem 0.46rem 0.34rem;
  }

  .catalog-head-copy {
    display: none;
  }

  body.mobile-filter-bar-hidden .filters-bar {
    transform: translateY(-125%);
  }

  body.mobile-filters-open .filters-bar {
    transform: translateY(0);
  }

  .catalog h2 {
    font-size: 1.72rem;
  }

  #results-count {
    display: block;
    font-size: 0.96rem;
  }

  .catalog-controls {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.42rem;
    max-width: 100%;
    overflow: hidden;
  }

  .catalog-controls > * {
    min-width: 0;
  }

  .mobile-catalog-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 38px;
    border: 1px solid #d7d2ca;
    border-radius: 999px;
    background: #faf8f4;
    color: #3d3a35;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.28rem 0.72rem;
    white-space: nowrap;
  }

  .mobile-catalog-filter-btn::before {
    content: "\2261";
    margin-right: 0.28rem;
    font-weight: 700;
  }

  .catalog-sort {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
    justify-content: flex-start;
    max-width: 100%;
  }

  .catalog-sort .filter-label {
    display: none;
  }

  .custom-dropdown-compact,
  .dropdown-trigger-compact {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .catalog-sort .custom-dropdown {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .catalog-sort .dropdown-trigger-compact {
    min-height: 38px;
    border-radius: 999px;
    border: 1px solid #d7d2ca;
    background: #faf8f4;
    font-size: 0.9rem;
    padding: 0.34rem 1.8rem 0.34rem 0.74rem;
  }

  .view-mode-toggle {
    width: auto;
    flex-shrink: 0;
    max-width: calc(100% - 118px);
    min-height: 38px;
  }

  .product-grid {
    margin-top: 0.36rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
  }

  .catalog {
    padding: 0;
  }

  .product-card {
    background: #f2f0eb;
    min-width: 0;
  }

  .product-hit img {
    aspect-ratio: 4 / 5;
  }

  .card-summary {
    padding: 0.56rem 0.56rem 0.5rem;
    min-height: 0;
  }

  .card-summary h3 {
    font-size: 0.8rem;
    color: #1f1f1d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .product-hit {
    color: #1f1f1d;
  }

  .card-brand {
    font-size: 0.64rem;
    letter-spacing: 0.07em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .card-actions {
    gap: 0.35rem;
    padding: 0.4rem 0.45rem 0.5rem;
    grid-template-columns: 1fr;
  }

  .secondary,
  .primary {
    min-height: 36px;
    padding: 0.44rem 0.4rem;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
  }

  .card-actions .secondary {
    display: none;
  }

  .sticky-compare-bar {
    left: 0.72rem;
    right: 0.72rem;
    bottom: calc(74px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 16px;
    background: rgba(19, 19, 19, 0.97);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
  }

  .sticky-inner {
    padding: 0.55rem 0.72rem;
    gap: 0.2rem;
  }

  .sticky-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  #sticky-summary {
    color: #f8f8f8;
    letter-spacing: 0.01em;
    text-transform: none;
    font-size: 0.96rem;
  }

  .sticky-actions {
    width: auto;
    margin-left: auto;
    gap: 0.65rem;
  }

  .sticky-action-btn {
    border: 0;
    background: transparent;
    color: #f2f2f0;
    padding: 0;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.95rem;
    min-height: 0;
    font-weight: 700;
  }

  .sticky-action-secondary {
    color: #c8c5be;
  }

  .sticky-list {
    display: none;
  }

  .sticky-card,
  .sticky-card-image-wrap,
  .sticky-card-info,
  .sticky-card-side,
  .sticky-card-placeholder {
    display: none;
  }

  .insights ul {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
  }

  .insights h2 {
    padding: 0.72rem 0.9rem;
    font-size: 0.72rem;
    letter-spacing: 0.11em;
  }

  .insight-item {
    min-height: 78px;
    padding: 0.52rem 0.54rem 0.46rem;
    border-bottom: 1px solid var(--line);
    flex: 0 0 clamp(110px, 35%, 132px);
    border-right: 1px solid var(--line);
    scroll-snap-align: start;
  }

  .insight-item::before {
    top: 0.52rem;
    height: 1.8rem;
  }

  .insight-title {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .insight-metric {
    margin-top: 0.2rem;
    font-size: clamp(0.92rem, 4vw, 1.08rem);
    line-height: 1.02;
  }

  .insight-value {
    display: block;
    margin-top: 0.22rem;
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 0.64rem;
    line-height: 1.15;
    color: #6a6761;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .insight-product-link {
    font-size: 0.64rem;
    font-weight: 500;
    line-height: 1.15;
  }

  .insight-item:last-child {
    border-right: 0;
  }

  .comparison-modal {
    width: 100vw;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
  }

  .compare-dialog {
    min-height: 100vh;
    max-height: none;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    grid-template-rows: auto auto 1fr;
  }

  .compare-dialog .panel-head {
    padding: 0.95rem 0.95rem 0.68rem;
  }

  .compare-dialog .panel-head h2 {
    display: block;
    color: #1f1f1d;
    font-size: 1.35rem;
    font-family: "Manrope", sans-serif;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 700;
  }

  #compare-count {
    margin-left: auto;
    gap: 0.35rem;
    justify-content: flex-end;
  }

  .compare-count-label {
    font-size: 0.75rem;
  }

  .compare-count-value {
    font-size: 0.96rem;
  }

  .comparison-modal .modal-close {
    top: 0.95rem;
    right: 0.92rem;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 1.8rem;
  }

  .compare-dialog .table-scroller,
  .compare-footer {
    display: none;
  }

  .mobile-compare-carousel {
    padding: 0.5rem 0.95rem calc(1rem + env(safe-area-inset-bottom));
    display: grid;
    gap: 0.65rem;
  }

  .mobile-compare-progress {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 0.1rem;
  }

  .mobile-compare-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: #c3c1bc;
  }

  .mobile-compare-dot.is-active {
    width: 1.2rem;
    border-radius: 999px;
    background: #181817;
  }

  .mobile-compare-card {
    border: 1px solid #d7d3cc;
    border-radius: 14px;
    background: #f4f2ee;
    padding: 0.7rem;
  }

  .mobile-compare-image {
    width: 100%;
    height: 232px;
    object-fit: contain;
    border-radius: 12px;
    background: #ece8e0;
    display: block;
    margin: 0 auto;
  }

  .mobile-compare-brand {
    margin: 0.58rem 0 0;
    font-size: 0.75rem;
    color: #6f6b65;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .mobile-compare-name {
    margin: 0.15rem 0 0;
    font-size: 1.42rem;
    line-height: 1.12;
    color: #1f1f1d;
    font-family: "Manrope", sans-serif;
    font-weight: 600;
  }

  .mobile-compare-metrics {
    margin-top: 0.52rem;
    border-top: 1px solid #d6d2cb;
  }

  .mobile-compare-row {
    display: grid;
    grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
    column-gap: 0.62rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid #d6d2cb;
    font-size: 0.9rem;
    align-items: start;
  }

  .mobile-compare-label-wrap {
    min-width: 0;
    max-width: none;
    display: grid;
    gap: 0.22rem;
    align-content: start;
  }

  .mobile-compare-label-wrap-inline {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.38rem;
    flex-wrap: wrap;
  }

  .mobile-compare-row-label {
    color: #c97a1c;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.86rem;
    line-height: 1.2;
  }

  .mobile-compare-value-wrap {
    min-width: 0;
    margin-left: 0;
    text-align: right;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .mobile-compare-row strong,
  .mobile-compare-value {
    color: #3f3d38;
    font-weight: 400;
    text-align: right;
    font-size: 0.82rem;
    line-height: 1.35;
    display: block;
  }

  .mobile-compare-row-multiline {
    grid-template-columns: 1fr;
    padding-top: 1.05rem;
    padding-bottom: 1.05rem;
  }

  .mobile-compare-row-multiline .mobile-compare-label-wrap {
    max-width: none;
    margin-bottom: 0.52rem;
  }

  .mobile-compare-row-editor-score .mobile-compare-row-label {
    white-space: nowrap;
  }

  .mobile-compare-row-review-rating .mobile-compare-row-label {
    white-space: nowrap;
  }

  .mobile-compare-row-multiline .mobile-compare-value-wrap {
    margin-left: 0;
    width: 100%;
    text-align: left;
    max-width: none;
  }

  .mobile-compare-row-long-value .mobile-compare-value-wrap {
    text-align: left;
  }

  .mobile-compare-row-long-value .mobile-compare-value,
  .mobile-compare-row-long-value strong {
    text-align: left;
    color: #3f3d38;
    font-weight: 400;
  }

  .mobile-compare-row-inline-badge {
    grid-template-columns: minmax(130px, 46%) minmax(0, 1fr);
  }

  .mobile-compare-row-inline-badge .mobile-compare-label-wrap {
    display: flex;
    align-items: center;
    gap: 0.34rem;
    flex-wrap: nowrap;
  }


  .mobile-compare-review-summary {
    color: #3f3d38;
    font-size: 0.82rem;
    line-height: 1.35;
    width: 100%;
  }

  .mobile-compare-review-summary .review-summary-line {
    grid-template-columns: 1.15rem minmax(0, 1fr);
    column-gap: 0.5rem;
  }

  .mobile-compare-review-summary .review-summary-line-no-icon {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  .mobile-compare-review-summary .review-summary-icon {
    display: inline-flex;
  }

  .mobile-compare-row-subtext {
    margin: 0.2rem 0 0;
    color: #6a6761;
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .mobile-compare-badge-list {
    margin-top: 0;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .mobile-compare-label-wrap-inline .mobile-compare-badge-list {
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-top: 0;
  }

  .mobile-compare-badge-list .compare-best-badge {
    margin: 0;
    padding: 0.14rem 0.4rem;
    font-size: 0.54rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .mobile-compare-nav {
    margin-top: 0.72rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.5rem;
  }

  .mobile-compare-nav-btn {
    min-height: 44px;
    border: 1px solid #beb8ae;
    border-radius: 12px;
    background: #f5f3ef;
    color: #2b2925;
    padding: 0.44rem 0.78rem;
    font-size: 1.05rem;
    font-weight: 600;
  }

  .mobile-compare-nav-btn:disabled {
    opacity: 0.45;
  }

  .mobile-compare-page {
    text-align: center;
    color: #6b6761;
    font-size: 0.95rem;
    font-weight: 600;
  }

  .mobile-compare-site {
    margin-top: 0.68rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 14px;
    border: 1px solid #151513;
    background: #151513;
    color: #f7f7f5;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
  }

  .tool-page-wrap {
    padding: 0;
  }

  .tool-page-header {
    display: none;
  }

  .tool-frame-shell {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    min-height: 0;
    overflow: hidden;
  }

  .tool-frame {
    min-height: 640px;
    height: 640px;
  }

  .product-modal {
    width: 100vw;
    max-width: none;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
  }

  .product-modal .modal-shell {
    min-height: 0;
  }

  .product-modal .modal-info {
    max-height: calc(100vh - 300px);
    overflow: auto;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }

  .mobile-compare-toast {
    position: fixed;
    left: 50%;
    bottom: calc(156px + env(safe-area-inset-bottom));
    transform: translate(-50%, 14px);
    background: #171717;
    color: #f8f8f8;
    border-radius: 14px;
    padding: 0.58rem 0.8rem;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0;
    pointer-events: none;
    z-index: 80;
    transition: opacity 140ms ease, transform 140ms ease;
  }

  .mobile-compare-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 920px) {
  .modal-shell {
    grid-template-columns: 1fr;
  }

  .modal-media {
    min-height: 320px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .modal-media img {
    max-height: 420px;
    padding: 3.2rem 2.4rem 1rem;
  }

  .modal-info {
    padding: 1.3rem 1.2rem 1.2rem;
  }

  .modal-price {
    font-size: 2.2rem;
  }

  .modal-price-line {
    align-items: baseline;
  }

  .modal-rating-line {
    font-size: 0.92rem;
  }

  .modal-spec-row {
    grid-template-columns: 110px 1fr;
  }

  .modal-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .tool-page-wrap {
    padding: 1rem 1rem 1.5rem;
  }

  .tool-frame-shell {
    border-radius: 14px;
    min-height: 0;
  }

  .tool-frame {
    min-height: 640px;
    height: 640px;
  }
}

@media (max-width: 760px) {
  .landing-discussion-hubs {
    padding: 1.2rem 0.9rem 0.8rem;
  }

  .landing-discussion-hubs-inner {
    padding: 0.95rem 0.9rem;
  }

  .landing-discussion-hubs-grid {
    grid-template-columns: 1fr;
    gap: 0.52rem;
  }

  .product-modal {
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .product-modal .modal-shell {
    display: block;
    min-height: auto;
  }

  .product-modal .modal-media {
    min-height: auto;
    height: auto;
    border-bottom: 1px solid var(--line);
  }

  .product-modal .modal-media img {
    max-height: none;
    height: auto;
    padding: 3.2rem 1rem 1rem;
  }

  .product-modal .modal-info {
    max-height: none;
    overflow: visible;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }
}
