/* PartBringer: shared surfaces and measured typography for the existing storefront. */
:root {
  color-scheme: light;
  --surface: #ffffff;
  --canvas: #fafbfc;
  --soft: #f0f3f6;
  --ink: #172737;
  --muted: #536371;
  --line: #dce3e9;
  --action: #142638;
  --on-action: #ffffff;
  --focus: #ad410b;
  --radius: 8px;
  --ambient: 0 12px 32px #1426380a;
  --ease: cubic-bezier(.22,.61,.36,1);
}
body { background: var(--canvas); line-height: 1.65; }
h1, h2, h3 { font-weight: 650; letter-spacing: -.035em; }
h1 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); line-height: 1.15; }
h2 { font-size: clamp(1.375rem, 2.25vw, 1.875rem); line-height: 1.25; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
input, select, textarea { color: var(--ink); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
button, .button, a { transition: color 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease); }
.button { min-height: 44px; font-weight: 600; background: var(--action); color: var(--on-action); }
.button:hover { transform: translateY(-1px); }
.button:active { transform: scale(.98); }
.button.orange { color: #0c1926; background: var(--orange); }
.button.orange:hover { background: #ff9258; }
.button.secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.button.secondary:hover { border-color: var(--ink); background: var(--soft); }
.text-link { padding-bottom: 2px; font-size: .8125rem; font-weight: 600; }
.eyebrow { font-size: .6875rem; font-weight: 600; letter-spacing: .12em; }
.eyebrow:before { width: 16px; }
.header { background: var(--surface); }
.header > .catalog-note { margin: 0 auto; padding-block: 8px; font-size: .6875rem; line-height: 1.5; }
.header-main { min-height: 78px; gap: 28px; }
.brand, .brand img { width: 206px; }
.brand picture { display: block; }
.brand img { max-height: 44px; object-fit: contain; }
.brand-tagline { font-size: 8px; letter-spacing: .1em; }
.search { background: var(--soft); height: 44px; }
.search input { font-size: .8125rem; color: var(--ink); }
.search button { height: 42px; color: var(--ink); }
.search:focus-within { border-color: var(--ink); }
.header-help { font-size: .6875rem; }
.header-help strong, .cart-label strong { font-size: .8125rem; }
.nav-inner { min-height: 48px; gap: 28px; font-size: .8125rem; }
.category-toggle { font-size: .8125rem; }
.category-menu { background: var(--surface); box-shadow: var(--ambient); border-radius: 0 0 var(--radius) var(--radius); }
.category-menu a { font-size: .8125rem; }
.home { padding-top: 24px; }
.storefront-loading { min-height: 100svh; padding-top: 24px; }
.loading-scene { height: 364px; border-radius: 12px; background: var(--soft); }
.loading-categories { height: 100px; margin-top: 40px; border-radius: var(--radius); background: var(--soft); }
.section { padding-bottom: 56px; }
.section-heading { margin-bottom: 24px; align-items: baseline; }
.section-heading h2:before { display: none; }
.section-heading p { max-width: 65ch; }
.home-collection .catalog-note { font-size: .8125rem; line-height: 1.65; }
.home-collection .section-heading { align-items: baseline; }
.home-collection .section-heading h2 { margin-bottom: 8px; }
.benefits { padding-block: 24px; margin-bottom: 40px; }
.benefit svg { width: 26px; height: 26px; color: var(--muted); }
.benefit strong { font-size: .8125rem; font-weight: 600; }
.benefit small { font-size: .75rem; }
.category-card { padding: 24px 12px; background: var(--surface); border-color: var(--line); }
.category-visual { width: 52px; height: 52px; border-radius: var(--radius); background: var(--soft); color: var(--ink); margin-bottom: 16px; }
.category-visual svg { width: 28px; height: 28px; }
.category-card strong { font-size: .8125rem; font-weight: 600; }
.category-card small { font-size: .75rem; }
.category-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.brand-slider { border: 0; border-radius: 12px; box-shadow: var(--ambient); }
.brand-slide { grid-template-columns: minmax(0,1fr) 224px; min-height: 308px; padding: 28px 40px; gap: 32px; background-position: center; }
.brand-slide:before { background: linear-gradient(90deg, #0c1926f2 0%, #0c1926c7 40%, #0c192635 100%); }
.slide-0 { background-image: url('/assets/editorial/bosch.webp'); }
.slide-1 { background-image: url('/assets/editorial/fram.webp'); }
.slide-2 { background-image: url('/assets/editorial/rain-x.webp'); }
.slide-3 { background-image: url('/assets/editorial/philips.webp'); }
.slide-4 { background-image: url('/assets/editorial/sylvania.webp'); }
.slide-5 { background-image: url('/assets/editorial/mothers.webp'); }
.slide-6 { background-image: url('/assets/editorial/chemical-guys.webp'); }
.slide-logo { width: 146px; height: 44px; margin: 0 0 16px; padding: 8px 12px; border-radius: 4px; }
.slide-copy h1 { font-size: clamp(1.875rem, 2.8vw, 2.5rem); font-weight: 650; letter-spacing: -.04em; line-height: 1.12; max-width: 580px; margin-bottom: 12px; }
.slide-copy p { font-size: .875rem; line-height: 1.65; margin-bottom: 20px; }
.slide-copy .button { font-size: .8125rem; padding: 12px 20px; white-space: nowrap; }
.slide-product { width: 224px; height: 240px; border-radius: 8px; padding: 16px; gap: 12px; background: #fff; box-shadow: 0 16px 40px #0c192624; }
.slide-product img { height: 164px; width: 100%; }
.slide-product-title { font-size: .6875rem; line-height: 1.5; font-weight: 600; color: #172737; }
.slider-controls { padding: 8px 16px; min-height: 56px; gap: 16px; background: var(--surface); border-color: var(--line); flex-wrap: nowrap; }
.slider-controls > button { min-width: 40px; min-height: 40px; background: var(--surface); color: var(--ink); border-color: var(--line); }
.slider-dots { gap: 2px; }
.slider-dots button { min-width: 28px; min-height: 40px; background: transparent; border: 0; }
.slider-dots button::before { width: 6px; height: 6px; background: var(--muted); opacity: .55; }
.slider-dots button[aria-pressed=true]::before { background: var(--ink); opacity: 1; }
.brand-promos { gap: 24px; }
.brand-banner { min-height: 272px; padding: 28px; gap: 24px; border: 0; border-radius: 12px; background-image: linear-gradient(90deg,#0c1926ee,#0c1926b3 58%,#0c192638),var(--banner-scene); }
.brand-banner h3 { font-weight: 600; font-size: 1.5rem; line-height: 1.2; }
.brand-banner p { font-size: .8125rem; line-height: 1.65; }
.brand-banner .banner-logo { margin-bottom: 20px; }
.brand-banner .button { color: #172737; background: #fff; font-size: .8125rem; min-height: 44px; }
.banner-products { gap: 12px; }
.banner-products img { height: 104px; padding: 12px; border-radius: 6px; box-shadow: 0 8px 24px #0c192618; }
.products-grid { gap: 24px; }
.product-card { background: var(--surface); border-color: var(--line); border-radius: var(--radius); transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease); }
.product-card:hover { transform: translateY(-2px); border-color: #a5b3bf; box-shadow: var(--ambient); }
.product-image { background: #fff; aspect-ratio: 1.25; padding: 24px; border-bottom: 1px solid var(--line); }
.product-image img { height: 170px; mix-blend-mode: normal; }
.product-content { padding: 20px; }
.product-brand { font-size: .6875rem; font-weight: 600; letter-spacing: .07em; margin-bottom: 8px; }
.product-title { font-size: .875rem; font-weight: 550; line-height: 1.55; min-height: 44px; margin-bottom: 16px; }
.product-title a { display: block; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-price { font-size: 1.25rem; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; row-gap: 4px; margin-bottom: 16px; }
.product-price del { color: var(--muted); font-size: .75rem; }
.sale-label { background: var(--soft); color: var(--ink); font-weight: 600; padding: 4px 6px; }
.product-card .button { min-height: 44px; background: var(--action); color: var(--on-action); border-color: transparent; font-size: .8125rem; }
.product-card .button:hover { background: var(--ink); color: var(--surface); }
.care-feature { padding: 40px; border-radius: 12px; margin-bottom: 0; background: #142638; }
.care-feature h2 { font-weight: 600; font-size: 2rem; margin-bottom: 16px; }
.care-products a { border-radius: 8px; padding: 20px; }
.care-products img { height: 160px; }
.care-feature + .catalog-brands { padding-top: 45px; }
.catalog-brands .section-heading { align-items: baseline; }
.catalog-brands .catalog-note { margin-top: 0; font-size: .8125rem; }
.brands-grid { gap: 16px; scrollbar-color: #a5b3bf var(--soft); }
.brand-tile { flex-basis: 160px; background: var(--surface); border-color: var(--line); }
.brand-tile-art { background: #fff; padding: 16px; }
.brand-tile-art img { filter: none; }
.brand-tile-logo, .brand-tile-name { background: var(--surface); border-color: var(--line); }
.brand-tile-name { font-weight: 600; }
.home-contact { padding-top: 8px; padding-bottom: 56px; }
.home-contact h2 { font-size: 2rem; font-weight: 600; margin-bottom: 16px; }
.home-contact p { font-size: .875rem; }
.page { padding-top: 28px; padding-bottom: 64px; }
.breadcrumbs { font-size: .6875rem; line-height: 1.6; margin-bottom: 28px; }
.breadcrumbs [aria-current=page] { overflow-wrap: anywhere; }
.page-intro { margin-bottom: 28px; }
.page-intro .eyebrow { display: none; }
.page-intro p { font-size: .875rem; line-height: 1.7; }
.shop-layout { grid-template-columns: 240px minmax(0,1fr); gap: 32px; }
.filter-panel { min-width: 0; align-self: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.filter-panel > summary { display: none; }
.filters { display: block; border: 0; padding: 24px; }
.filters h2 { display: block; font-size: .9375rem; font-weight: 600; margin-bottom: 24px; }
.filter-group { display: block; padding-top: 20px; margin-bottom: 24px; }
.filter-group legend { display: block; float: none; width: auto; font-size: .8125rem; margin-bottom: 8px; padding: 0; }
.filter-option, .filter-option.subcategory { display: grid; grid-template-columns: 16px minmax(0,1fr) auto; gap: 8px; background: transparent; border-radius: 0; font-size: .8125rem; padding: 8px 0; min-height: 40px; color: var(--ink); line-height: 1.5; }
.filter-option.subcategory { padding-left: 12px; color: var(--muted); }
.filter-option input { margin: 0; width: 16px; height: 16px; accent-color: var(--ink); }
.filter-option span { display: block; margin: 0; font-size: .6875rem; }
.filters select { width: 100%; max-width: none; background: var(--surface); color: var(--ink); min-height: 44px; padding: 10px; }
.filters label[for=brand-filter] { font-size: .8125rem; margin-bottom: 8px; }
.filter-reset { color: var(--ink); font-size: .8125rem; min-height: 44px; text-decoration: underline; padding-top: 12px; margin: 0; }
.shop-toolbar { margin-bottom: 20px; font-size: .8125rem; }
.sort-control select { background: var(--surface); border-color: var(--line); font-size: .8125rem; min-height: 44px; }
.detail { gap: 48px; margin-bottom: 56px; }
.detail-image { background: #fff; border-radius: var(--radius); border-color: var(--line); min-height: 420px; padding: 40px; }
.detail-image img { height: 340px; }
.detail-thumbs { gap: 12px; padding-top: 16px; }
.detail-thumbs button { border-radius: 6px; flex-basis: 80px; height: 80px; }
.detail-thumbs button[aria-pressed=true] { border-color: var(--focus); }
.detail-copy h1 { font-weight: 600; font-size: clamp(1.5rem,2.5vw,2rem); line-height: 1.35; }
.detail-price { font-size: 2rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.detail-description { font-size: .9375rem; }
.detail-facts { font-size: .8125rem; gap: 24px; line-height: 1.7; }
.detail-facts strong { font-weight: 600; }
.quantity, .quantity input { background: var(--surface); color: var(--ink); }
.quantity button { min-height: 42px; }
.summary, .empty-state, .collection-empty { background: var(--soft); border-color: var(--line); }
.summary small, .empty-state p { font-size: .8125rem; }
.content-page { max-width: 820px; }
.content-about, .content-contact { max-width: 1120px; }
.content-page > h1 { font-weight: 600; max-width: 22ch; margin-bottom: 24px; }
.content-page p { line-height: 1.85; }
.page-lead { font-size: 1rem!important; }
.values-grid section { background: var(--surface); border: 1px solid var(--line); padding: 32px; border-radius: var(--radius); }
.values-grid h2 { font-weight: 600; }
.values-list { color: var(--muted); }
.team-grid { gap: 24px; }
.team-card { background: var(--surface); border-color: var(--line); border-radius: var(--radius); }
.team-card img { aspect-ratio: 4/5; object-position: center 35%; }
.team-card > div { padding: 20px; }
.team-card h3 { font-weight: 600; margin-top: 8px; }
.team-card p { font-size: .8125rem!important; }
.mock-notice { background: var(--soft); color: var(--ink)!important; border-color: var(--line); line-height: 1.7; }
.mock-label { color: var(--muted); font-size: .625rem; }
.about-contact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-layout { gap: 32px; }
.contact-card, .contact-form, .checkout-form { background: var(--surface); border-color: var(--line); border-top-width: 1px; border-radius: var(--radius); padding: 32px; }
.contact-email { font-size: clamp(1rem,2vw,1.375rem); border-color: var(--ink); }
.form-field { font-size: .8125rem; font-weight: 550; }
.form-field input, .form-field select, .form-field textarea { background: var(--surface); color: var(--ink); border-color: #9baab7; font-size: 1rem; min-height: 44px; }
.contact-form .consent { font-size: .8125rem; }
.company-map { border-color: var(--line); border-radius: var(--radius); }
.company-address { font-size: .875rem; line-height: 1.85; }
.test-payment { background: var(--soft); border-color: var(--line); }
.test-payment p { color: var(--muted); }
.form-result { color: #216047; }
.form-result.error { color: #a13b43; }
.footer { background: #0c1926; }
.footer-top { gap: 40px; padding-block: 48px; }
.footer h3 { font-weight: 600; font-size: .875rem; margin-bottom: 20px; }
.footer-top > div > a:not(.footer-brand a), .footer-address { font-size: .8125rem; }
.footer-brand p { font-size: .875rem; color: #c4d1db; }
.footer-bottom { font-size: .75rem; color: #b3c1cd; }
.footer-location { color: #b3c1cd; }
.social-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.social-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: .8125rem; text-decoration: underline; text-underline-offset: 4px; }
.social-links svg { width: 18px; height: 18px; }
.footer-bottom { align-items: center; flex-wrap: wrap; }
.toast { background: var(--action); color: var(--on-action); box-shadow: var(--ambient); font-size: .875rem; }
.skip-link { background: var(--surface); }

:root:not([data-theme="light"]) {
  color-scheme: dark;
  --surface: #152737;
  --canvas: #0f1d2a;
  --soft: #1c3041;
  --ink: #e9eff4;
  --muted: #b0bfcc;
  --line: #354a5c;
  --action: #e9eff4;
  --on-action: #142638;
  --focus: #ffb184;
  --orange-dark: #ffb184;
  --ambient: 0 12px 32px #07121b26;
}
:root:not([data-theme="light"]) .brand-tile-logo:not(.white-logo) { background: #fff; }
:root:not([data-theme="light"]) :is(.search button, .header-help svg, .header-help strong, .cart-label strong) { color: var(--ink); }
:root:not([data-theme="light"]) .brand-tile img.white-logo { background: #142638; }
:root:not([data-theme="light"]) .form-result { color: #8cdbaf; }
:root:not([data-theme="light"]) .form-result.error { color: #ffb3b9; }

@media (max-width: 1150px) {
  .header-main { gap: 24px; }
  .nav-inner { gap: 24px; }
  .brand-slide { padding: 28px 32px; }
  .brand-banner { padding: 24px; gap: 16px; }
  .shop-layout { grid-template-columns: 216px minmax(0,1fr); gap: 24px; }
  .filters { padding: 20px; }
}

@media (max-width: 850px) {
  .container { width: calc(100% - 40px); }
  .header-main { min-height: 0; padding: 16px 0; gap: 16px; }
  .search { order: 3; flex-basis: 100%; }
  .nav-inner { min-height: 48px; gap: 24px; }
  .nav-inner > a { font-size: .8125rem; }
  .category-toggle { min-width: 176px; }
  .shop-layout { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .filter-panel > summary { display: flex; align-items: center; gap: 16px; cursor: pointer; list-style: none; min-height: 52px; padding: 12px 16px; font-size: .8125rem; font-weight: 600; }
  .filter-panel > summary::-webkit-details-marker { display: none; }
  .filter-panel > summary > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .75rem; font-weight: 400; color: var(--muted); margin-left: auto; }
  .filter-panel > summary > svg { width: 16px; height: 16px; }
  .filter-panel[open] > summary { border-bottom: 1px solid var(--line); }
  .filter-panel[open] > summary > svg { transform: rotate(180deg); }
  .filters { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; padding: 16px; }
  .filters h2 { display: none; }
  .filter-group { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; padding: 0; margin: 0 0 12px; }
  .filter-group legend { font-size: .8125rem; margin-bottom: 12px; }
  .filter-option, .filter-option.subcategory { display: flex; padding: 8px; background: var(--soft); border-radius: 4px; font-size: .75rem; min-height: 44px; }
  .filter-option input { flex-shrink: 0; }
  .filter-option span { display: none; }
  .filters label[for=brand-filter], .filters select { grid-column: 1/-1; margin: 0; }
  .filter-reset { grid-column: 1/-1; padding: 8px 0; justify-self: end; }
  .shop-layout .products-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .brand-banner h3 { font-size: 1.25rem; }
  .products-grid { gap: 16px; }
  .product-content { padding: 16px; }
  .care-feature { padding: 32px; gap: 24px; }
  .detail { gap: 28px; }
  .detail-image { padding: 24px; min-height: 320px; }
  .detail-image img { height: 270px; }
  .team-grid { gap: 16px; }
}

@media (max-width: 700px) {
  .loading-scene { height: 516px; }
  .brand-slide { grid-template-columns: minmax(0,1fr); grid-template-rows: 1fr auto; min-height: 460px; padding: 24px; gap: 20px; background-position: 65% center; }
  .brand-slide:before { background: linear-gradient(90deg,#0c1926f2,#0c1926b8 65%,#0c19266b); }
  .slide-copy { max-width: 100%; }
  .slide-logo { width: 130px; height: 40px; margin-bottom: 16px; }
  .slide-copy h1 { font-size: clamp(1.5rem,6.5vw,2rem); max-width: 100%; margin-bottom: 12px; }
  .slide-copy p { font-size: .8125rem; margin-bottom: 16px; max-width: 32ch; }
  .slide-copy .button { min-height: 44px; font-size: .8125rem; padding: 12px 16px; }
  .slide-product { flex-direction: row; justify-self: stretch; align-self: end; align-items: center; width: 100%; height: 112px; padding: 12px 16px; gap: 16px; }
  .slide-product img { width: 88px; height: 88px; flex-shrink: 0; }
  .slide-product-title { font-size: .75rem; line-height: 1.5; align-self: center; -webkit-line-clamp: 3; }
  .slider-controls { padding: 8px; gap: 4px; justify-content: space-between; }
  .slider-dots { gap: 0; }
  .slider-dots button { min-width: 24px; }
  .brand-promos { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .brand-banner { grid-template-columns: minmax(0,1fr) 100px; min-height: 272px; padding: 24px; }
  .brand-banner h3 { font-size: 1.375rem; }
  .brand-banner .banner-logo { width: 120px; height: 40px; }
  .banner-products img { height: 96px; padding: 8px; }
  .care-feature { grid-template-columns: minmax(0,1fr); padding: 28px 24px; }
  .care-feature h2, .home-contact h2 { font-size: 1.75rem; }
  .care-products { gap: 12px; }
  .care-products a { padding: 12px; }
  .care-products img { height: 110px; }
  .values-grid, .contact-layout { grid-template-columns: minmax(0,1fr); }
  .contact-card, .contact-form { padding: 24px; }
}

@media (max-width: 600px) {
  .container, .navigation .container { width: calc(100% - 32px); }
  .header > .catalog-note { font-size: .625rem; padding-block: 8px; }
  .brand, .brand img { width: 180px; }
  .brand-tagline { font-size: 7px; }
  .cart-link { margin-right: 8px; }
  .header-main { padding-block: 12px; gap: 12px; }
  .search input { padding-inline: 12px; font-size: .8125rem; }
  .nav-inner { gap: 20px; }
  .category-toggle { min-width: 170px; padding-right: 12px; white-space: nowrap; font-size: .75rem; gap: 8px; }
  .category-toggle > span:last-child { margin-left: 0; }
  .home { padding-top: 16px; }
  .section { padding-bottom: 36px; }
  .section-heading { gap: 12px; margin-bottom: 20px; align-items: baseline; }
  .section-heading h2 { font-size: 1.375rem; }
  .home-collection .section-heading { align-items: baseline; }
  .home-collection .section-heading .text-link { margin-top: 0; }
  .home-collection .catalog-note { font-size: .75rem; }
  .benefits { padding-block: 24px; gap: 24px 12px; margin-bottom: 32px; }
  .benefit { padding-inline: 0; gap: 10px; border: 0; align-items: start; }
  .benefit svg { width: 20px; height: 20px; margin-top: 2px; }
  .benefit strong { font-size: .75rem; }
  .benefit small { font-size: .6875rem; line-height: 1.6; }
  .category-grid { gap: 12px; }
  .category-card { padding: 20px 12px; }
  .category-card:last-child { padding: 16px 20px; }
  .category-card strong { font-size: .75rem; }
  .category-card small { font-size: .6875rem; }
  .products-grid, .shop-layout .products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .product-image { aspect-ratio: 1; padding: 16px; }
  .product-image img { height: 126px; }
  .product-content { padding: 14px 12px; }
  .product-brand { font-size: .625rem; letter-spacing: .035em; overflow-wrap: anywhere; }
  .product-title { font-size: .8125rem; line-height: 1.55; min-height: 42px; margin-bottom: 12px; }
  .product-price { font-size: 1.0625rem; gap: 4px 8px; margin-bottom: 12px; }
  .product-card .button { font-size: .75rem; min-height: 44px; padding: 10px 6px; gap: 6px; }
  .product-card .button svg { width: 14px; height: 14px; }
  .brand-tile { flex-basis: 145px; }
  .catalog-brands .section-heading { flex-direction: column; gap: 8px; }
  .home-contact { padding-bottom: 40px; gap: 20px; }
  .page { padding-top: 20px; padding-bottom: 40px; }
  .breadcrumbs { margin-bottom: 20px; font-size: .625rem; gap: 8px; }
  .page-intro { margin-bottom: 20px; }
  .page-intro h1 { font-size: 1.75rem; letter-spacing: -.035em; }
  .page-intro p { font-size: .8125rem; line-height: 1.65; }
  .shop-layout { gap: 16px; }
  .shop-toolbar { flex-wrap: nowrap; gap: 8px; font-size: .75rem; margin-bottom: 16px; }
  .sort-control { gap: 0; }
  .sort-control select { padding: 8px; max-width: 172px; font-size: .75rem; }
  .detail { grid-template-columns: minmax(0,1fr); gap: 24px; margin-bottom: 36px; }
  .detail-image { min-height: 280px; padding: 24px; }
  .detail-image img { height: 240px; }
  .detail-copy { padding: 0; }
  .detail-copy h1 { font-size: 1.5rem; }
  .detail-facts { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .detail-description { font-size: .875rem; }
  .content-page > h1 { font-size: 1.875rem; }
  .content-page p { font-size: .875rem; }
  .values-grid section { padding: 24px; }
  .team-grid { gap: 12px; }
  .team-card > div { padding: 16px 12px; }
  .team-card h3 { font-size: .875rem; }
  .team-card p { font-size: .75rem!important; }
  .footer-top { gap: 28px; padding-block: 40px; }
  .footer h3 { font-size: .8125rem; }
  .footer-top > div > a:not(.footer-brand a) { font-size: .8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none!important; }
  .button:hover, .button:active, .product-card:hover, .category-card:hover { transform: none; }
}

.header > .catalog-note { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.header > .catalog-note > p { margin: 0; }
.theme-picker { display: flex; align-items: center; gap: 8px; flex-shrink: 0; color: inherit; font-size: .75rem; }
.theme-picker select { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); background: var(--soft); color: var(--ink); }
:root[data-theme="light"] .brand .logo-dark, :root:not([data-theme="light"]) .brand .logo-light { display: none; }
