:root { --muted: #617b86; }

.crumb { color: #617b86; font-size: 14px; }
.shop-toolbar span, .page-title-bar p, .compare__intro p, .compare__note { color: #617b86; }
.search input::placeholder { color: #617b86; opacity: 1; }

.section:has(> .container > .page-title-bar) { padding-block: 22px 8px; }
.section:has(> .container > .page-title-bar) .page-title-bar { margin-bottom: 0; padding-block: 22px; }
.section:has(> .container > .page-title-bar) .page-title-bar img { width: 105px; }
.section:has(> .container > .page-title-bar) + .section { padding-top: 24px; }

.page-hero:has(+ .section .compare) { padding-top: 22px; }
.page-hero:has(+ .section .compare) h1 { margin: 10px 0 4px; }
.page-hero:has(+ .section .compare) p { margin: 0; color: #617b86; }
.page-hero + .section:has(.compare) { padding-top: 24px; }
.compare { display: flex; flex-direction: column; }
.compare__tabs { order: 0; margin-bottom: 14px; }
.compare__intro { order: 1; margin-bottom: 16px; }
.compare__intro h2 { font-size: clamp(20px, 2vw, 25px); }
.compare__eyebrow { margin-bottom: 2px; }
.compare__selectors { order: 2; }
.compare__empty { order: 3; }
.compare-result { order: 4; }
.compare-about { order: 5; margin: 22px 0 0; }
.compare__note { order: 6; }

@media (max-width: 640px) {
  .topbar { font-size: 12px; }
  .topbar__inner { min-height: 34px; gap: 8px; }
  .topbar__group { gap: 8px; }
  .topbar__item { gap: 4px; line-height: 1.5; }
  .topbar__item svg { width: 14px; height: 14px; flex-shrink: 0; }
  .site-header__main { padding-block: 8px; gap: 7px; }
  .search input { height: 42px; font-size: 13px; }
  .search button { inset-block-start: 4px; width: 34px; height: 34px; }
  .page-head { padding-top: 16px; }
  .crumb { gap: 6px; font-size: 12.5px; line-height: 1.7; }
  .crumb svg { width: 11px; height: 11px; flex-shrink: 0; }
  .page-head + .section:has(.product-view) { padding-block: 18px 28px; }
  .product-view { gap: 16px; }
  .gallery { gap: 8px; }
  .gallery__main { grid-template-rows: minmax(0, 1fr); height: min(57vw, 255px); min-height: 0; aspect-ratio: auto; padding: 12px; border-radius: 18px; }
  .gallery__main img { min-height: 0; max-height: 100%; }
  .gallery__thumbs { grid-template-columns: repeat(auto-fill, 54px); gap: 7px; }
  .product-info { padding: 18px; }
  .section:has(> .container > .page-title-bar) { padding-block: 16px 4px; }
  .section:has(> .container > .page-title-bar) .page-title-bar { grid-template-columns: minmax(0, 1fr) 68px; gap: 12px; padding: 18px; text-align: right; }
  .section:has(> .container > .page-title-bar) .page-title-bar h1 { font-size: 19px; }
  .section:has(> .container > .page-title-bar) .page-title-bar p { font-size: 13px; }
  .section:has(> .container > .page-title-bar) .page-title-bar img { width: 68px; }
  .section:has(> .container > .page-title-bar) + .section { padding-top: 18px; }
  .page-hero:has(+ .section .compare) { padding-top: 16px; }
  .page-hero:has(+ .section .compare) h1 { font-size: 23px; }
  .page-hero:has(+ .section .compare) p { font-size: 13px; }
  .page-hero + .section:has(.compare) { padding-top: 16px; }
  .compare__tabs { margin-bottom: 12px; }
  .compare__intro { margin-bottom: 12px; }
  .compare__intro p, .compare-about p, .compare__note { font-size: 13px; }
}
