:root {
  color-scheme: light;
  --ink: #191628;
  --secondary: #605b73;
  --purple: #6339e6;
  --border: #e8e4ef;
  --page: #f7f7fb;
  --surface: #ffffff;
  --elevated: #ffffff;
  --picture-surface: #efedf7;
  --inactive-surface: #f3f1f5;
  --control-border: #cfc7e0;
  --accent-label: #5125c5;
  --link-color: #5630b2;
  --accent-surface: #f6f0ff;
  --accent-hover-surface: #f5f0ff;
  --accent-active: #eae0ff;
  --accent-border: #e4d8ff;
  --accent-outline: #bba9ee;
  --primary-hover: #502ac8;
  --focus-color: #754af4;
  --success-color: #176640;
  --success-surface: #e6f6ec;
  --warning-color: #694606;
  --warning-surface: #fff0cc;
  --error-color: #9a243e;
  --dialog-scrim: #171123a8;
  --nav-shadow: #21153c12;
  --card-shadow: #2c126011;
  --overlay-shadow: #24183b29;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #ffffff;
  --secondary: #a6a6b2;
  --purple: #754bda;
  --border: #34343e;
  --page: #16161a;
  --surface: #1e1e24;
  --elevated: #24242b;
  --picture-surface: #292830;
  --inactive-surface: #2c2c36;
  --control-border: #494957;
  --accent-label: #d3c3ff;
  --link-color: #c5b3ff;
  --accent-surface: #302445;
  --accent-hover-surface: #392a50;
  --accent-active: #453167;
  --accent-border: #4e3c68;
  --accent-outline: #8e73c8;
  --primary-hover: #6941cc;
  --focus-color: #b59aff;
  --success-color: #a2edbb;
  --success-surface: #18372a;
  --warning-color: #ffda91;
  --warning-surface: #3b2b16;
  --error-color: #ff9bac;
  --dialog-scrim: #0b0912c7;
  --nav-shadow: #0005;
  --card-shadow: #0005;
  --overlay-shadow: #0008;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus-color); outline-offset: 3px; }
.wrap { width: min(100% - 64px, 1296px); margin-inline: auto; }
.topbar { border-bottom: 1px solid var(--border); background: var(--surface); }
.top-inner { min-height: 74px; display: flex; align-items: center; gap: 39px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 900; letter-spacing: .045em; font-size: 1.14rem; text-decoration: none; }
.brand-icon { flex: none; width: 36px; height: 36px; border-radius: 9px; overflow: hidden; background: #18151d; }
.brand-icon img { display: block; width: 100%; height: 100%; object-fit: contain; transform: scale(1.48); }
.brand-lockup { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.brand-partner { display: inline-flex; align-items: center; gap: 5px; font-size: .6875rem; font-weight: 700; line-height: 1.2; letter-spacing: .035em; opacity: .8; }
.top-nav { display: flex; align-items: center; gap: 24px; }
.top-nav a { font-size: .9375rem; font-weight: 700; text-decoration: none; padding: 8px 0; }
.top-nav a:hover, .top-nav a[aria-current="page"] { color: var(--accent-label); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.theme-toggle { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 0; border: 1px solid var(--border); border-radius: 9px; background: transparent; color: var(--secondary); }
.theme-toggle:hover, .theme-toggle[aria-checked="true"] { border-color: var(--accent-border); background: var(--accent-surface); color: var(--accent-label); }
.theme-sun, .theme-moon { font-size: 1.15rem; line-height: 1; }
.theme-moon, [data-theme="dark"] .theme-sun { display: none; }
[data-theme="dark"] .theme-moon { display: inline; }
.cart-trigger { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 11px; color: var(--accent-label); background: var(--accent-surface); border: 1px solid var(--accent-border); border-radius: 9px; font-size: .875rem; font-weight: 700; text-decoration: none; }
.cart-trigger:hover { background: var(--accent-active); }
.cart-count { min-width: 21px; padding: 2px 5px; border-radius: 999px; text-align: center; background: var(--purple); color: #fff; font-size: .75rem; }
.mobile-nav { display: none; }
.feed-status { margin-left: auto; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--accent-border); padding: 7px 12px; border-radius: 999px; background: var(--accent-hover-surface); color: var(--link-color); font-size: .875rem; font-weight: 700; }
.feed-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hero {
  isolation: isolate; display: grid;
  min-height: 364px; margin-top: 30px; border-radius: 23px; background: #17171d;
  color: #fff; position: relative;
}
.hero:focus-within { z-index: 2; }
.hero-content {
  position: relative; z-index: 1; align-self: center; padding: 42px clamp(28px, 4.4vw, 65px);
}
.hero-caption {
  display: none; position: absolute; right: 9px; bottom: 9px;
  max-width: calc(100% - 18px); padding: 5px 8px; border-radius: 6px;
  background: #17171dec; color: #fff; font-size: .75rem; line-height: 1.35;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.75rem, 5.5vw, 5rem); line-height: .99; letter-spacing: -.061em; margin-bottom: 19px; font-weight: 800; }
.hero p { color: #e1d8f5; font-size: 1.0625rem; line-height: 1.5; margin-bottom: 25px; }
.search-box { position: relative; width: min(100%, 470px); }
.hero-search { display: flex; align-items: center; gap: 12px; background: var(--surface); padding: 5px 5px 5px 16px; border-radius: 12px; color: var(--secondary); }
.search-icon { width: 15px; height: 15px; border: 2px solid currentColor; border-radius: 50%; display: inline-block; position: relative; flex: none; margin-right: 3px; }
.search-icon::after { content: ""; width: 7px; height: 2px; position: absolute; top: 10px; left: 10px; background: currentColor; transform: rotate(45deg); transform-origin: left center; border-radius: 2px; }
.hero-search input { color: var(--ink); border: 0; min-width: 0; width: 100%; background: var(--surface); outline-offset: 1px; padding: 8px 2px; }
.hero-search input::placeholder { color: var(--secondary); }
.category-links { --platform-width: 8.75rem; --platform-height: 45px; display: grid; gap: 7px; position: relative; z-index: 3; margin-bottom: 22px; }
.category-group { position: relative; min-width: 0; }
.category-links summary, .category-links a { display: flex; align-items: center; border: 1px solid var(--accent-border); border-radius: 8px; background: var(--surface); color: var(--accent-label); font-size: .875rem; font-weight: 700; text-decoration: none; }
.category-links summary { justify-content: center; gap: 9px; width: var(--platform-width); height: var(--platform-height); padding: 5px 7.5px; cursor: pointer; list-style: none; font-family: var(--wf-font); font-size: 1rem; font-weight: 650; letter-spacing: .01em; }
.category-links a { min-height: 34px; padding: 4px 9px; white-space: nowrap; }
.category-links summary::-webkit-details-marker { display: none; }
.category-links summary::after { content: ""; width: 6px; height: 6px; flex: none; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.category-links summary:hover, .category-links a:hover { background: var(--accent-hover-surface); border-color: var(--accent-outline); }
.category-group[open] summary, .category-links a[aria-current="page"] { background: var(--accent-active); border-color: var(--accent-outline); }
.category-flyout { position: absolute; inset: 0 0 auto var(--platform-width); height: var(--platform-height); overflow: hidden; padding-inline-start: 7px; }
.category-panel { display: flex; align-items: center; gap: 6px; width: max-content; max-width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scrollbar-width: thin; padding: 2px 4px; border: 1px solid var(--accent-border); border-radius: 9px; background: var(--elevated); }
.category-model { flex: none; }
.category-model select { min-height: 34px; max-width: min(10rem, 30vw); padding: 4px; border: 1px solid var(--border); border-radius: 7px; color: var(--ink); background: var(--elevated); font-size: .875rem; }
.category-buttons { display: flex; align-items: center; flex: none; gap: 5px; margin: 0; padding: 0; list-style: none; }
.category-panel :focus-visible { outline-offset: -2px; }
.category-group[open] .category-panel { animation: category-slide-in 180ms ease-out both; }
.category-group[open][data-closing] .category-panel { animation: category-slide-out 160ms ease-in both; pointer-events: none; }
@keyframes category-slide-in {
  from { transform: translateX(-20px); clip-path: inset(0 100% 0 0); opacity: 0; }
  to { transform: translateX(0); clip-path: inset(0); opacity: 1; }
}
@keyframes category-slide-out {
  from { transform: translateX(0); clip-path: inset(0); opacity: 1; }
  to { transform: translateX(-20px); clip-path: inset(0 100% 0 0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .category-group[open] .category-panel, .category-group[open][data-closing] .category-panel { animation: none; }
}
.category-hero.hero { min-height: 0; grid-template-columns: 1fr; background: var(--surface); color: var(--ink); }
.category-hero.hero h1 { font-size: clamp(1.85rem, 4.6vw, 3.5rem); color: var(--ink); }
.category-hero.hero p:not(.wf-location) { color: var(--secondary); }
.category-hero .hero-caption { display: none; }
.categories:empty, [data-catalog-group] .categories { display: none; }
[data-catalog-group] .products, .categories:empty + .products { margin-top: 20px; }
.search-suggestions { position: absolute; inset: calc(100% + 6px) 0 auto; z-index: 1; max-height: min(23rem, 45dvh, var(--suggestion-space, 45dvh)); overflow-y: auto; overscroll-behavior: contain; padding: 5px; color: var(--ink); background: var(--elevated); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 32px var(--overlay-shadow); }
.search-suggestions.suggestions-above { inset: auto 0 calc(100% + 6px); }
.suggestion-group + .suggestion-group { margin-top: 4px; border-top: 1px solid var(--border); padding-top: 4px; }
.suggestion-heading { padding: 6px 10px 2px; font-size: .875rem; font-weight: 700; color: var(--secondary); }
.suggestion-option { min-height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 7px 10px; border-radius: 7px; font-size: .9375rem; line-height: 1.3; overflow-wrap: anywhere; cursor: pointer; }
.suggestion-option:hover, .suggestion-option[aria-selected="true"] { background: var(--accent-surface); color: var(--link-color); }
.suggestion-sku { color: var(--secondary); font-size: .8125rem; }
.search-correction { display: block; min-height: 44px; max-width: 100%; margin: 0 auto 10px; padding: 6px 10px; border: 0; background: transparent; color: var(--accent-label); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.primary { background: var(--purple); color: #fff; border: 0; border-radius: 8px; min-height: 42px; padding: 8px 19px; font-weight: 700; }
.primary:hover { background: var(--primary-hover); }
.catalog { padding: 36px 0 66px; scroll-margin-top: 16px; }
.catalog-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.catalog h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); letter-spacing: -.049em; line-height: 1.12; margin-bottom: 7px; }
#count { color: var(--secondary); margin-bottom: 0; min-height: 1.4em; font-size: .9375rem; }
.trade-link, .trade-action { display: inline-flex; align-items: center; text-decoration: none; }
.filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.stock-filter, .catalog-select { display: inline-flex; align-items: center; gap: 8px; min-height: 43px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); font-size: .875rem; white-space: nowrap; }
.stock-filter { padding: 8px 12px; cursor: pointer; }
.stock-filter input { width: 16px; height: 16px; margin: 0; accent-color: var(--purple); }
.catalog-select { position: relative; min-width: 0; max-width: 100%; }
.catalog-select::after { content: ""; position: absolute; right: 14px; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); pointer-events: none; }
.catalog-select select { background: transparent; appearance: none; color: var(--ink); border: 0; padding: 10px 32px 10px 12px; min-height: 42px; max-width: 100%; border-radius: inherit; }
.model-control { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; }
.model-select { flex: 1 1 auto; }
.model-clear { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); color: var(--secondary); font-size: 1.375rem; line-height: 1; }
.model-clear:hover { background: var(--accent-hover-surface); color: var(--accent-label); border-color: var(--accent-outline); }
.categories { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 19px; }
.category, .secondary { border: 1px solid var(--border); background: var(--surface); border-radius: 9px; color: var(--ink); min-height: 41px; padding: 8px 15px; font-weight: 650; font-size: .875rem; }
.category:hover, .secondary:hover { border-color: var(--accent-outline); background: var(--accent-hover-surface); }
.category[aria-pressed="true"] { background: var(--accent-active); border-color: var(--accent-border); color: var(--accent-label); }
.catalog-quick-links { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 14px; }
.catalog-quick-links a { display: inline-flex; align-items: center; text-decoration: none; }
.trade-link { min-height: 44px; margin-top: 11px; color: var(--accent-label); border-color: var(--accent-border); background: var(--accent-surface); }
.trade-link:hover { border-color: var(--accent-outline); background: var(--accent-active); }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.product:hover, .product:focus-within { border-color: var(--accent-outline); box-shadow: 0 6px 20px var(--card-shadow); }
.product-button { background: transparent; border: 0; border-radius: 15px; width: 100%; flex: 1; text-align: left; padding: 0; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.product-actions { padding: 0 16px 16px; }
.product-add, .part-add, .product-quantity { width: 100%; height: 46px; }
.product-add { color: var(--accent-label); border-color: var(--accent-border); background: var(--accent-surface); }
.product-quantity { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; grid-template-rows: minmax(0, 1fr); border: 1px solid var(--accent-border); border-radius: 9px; background: var(--accent-surface); color: var(--accent-label); }
.product-quantity button { padding: 0; background: transparent; border: 0; border-radius: 8px; color: inherit; font-size: 1.2rem; font-weight: 700; line-height: 1; }
.product-quantity button:hover:not(:disabled) { background: var(--accent-active); }
.product-quantity button:focus-visible { outline-offset: -3px; }
.product-quantity button:disabled { opacity: .45; cursor: default; }
.product-quantity-count { display: grid; align-content: center; text-align: center; line-height: 1.1; }
.product-quantity-label { font-size: .6875rem; font-weight: 650; overflow-wrap: anywhere; }
.product-quantity-count strong { font-size: .9375rem; font-variant-numeric: tabular-nums; }
.product-picture { width: 100%; height: clamp(150px, 15vw, 218px); border-radius: 15px 15px 0 0; background: var(--picture-surface); position: relative; display: grid; place-items: center; }
.part-picture { position: relative; width: 100%; height: 100%; display: grid; place-items: center; border-radius: inherit; overflow: hidden; background: var(--picture-surface); color: var(--secondary); font-size: .875rem; }
.part-picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12px; background: #fff; }
.stock-badge { position: absolute; z-index: 1; top: 11px; left: 11px; max-width: calc(100% - 22px); border-radius: 6px; padding: 5px 7px; font-weight: 700; font-size: .75rem; line-height: 1.25; }
.available { color: var(--success-color); background: var(--success-surface); }
.preorder { color: var(--warning-color); background: var(--warning-surface); }
.unavailable { color: var(--secondary); background: var(--inactive-surface); }
.product-copy { padding: 15px 16px 16px; flex: 1; display: flex; flex-direction: column; width: 100%; }
.sku { font-size: .8125rem; font-weight: 650; color: var(--secondary); }
.product h3 { margin: 6px 0 5px; font-size: 1.06rem; line-height: 1.27; overflow-wrap: anywhere; }
.model { color: var(--secondary); margin-bottom: 14px; font-size: .875rem; }
.model:empty { margin-bottom: 8px; }
.price { margin-top: auto; font-size: 1.25rem; letter-spacing: -.026em; }
.price-type { margin: 3px 0 0; color: var(--secondary); font-size: .8125rem; }
.part-content .price-type { margin-bottom: 12px; }
.empty { background: var(--surface); border: 1px solid var(--border); padding: 38px 22px; border-radius: 16px; text-align: center; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--secondary); }
.footer { background: var(--surface); border-top: 1px solid var(--border); }
.footer-inner { display: flex; gap: 12px 24px; flex-wrap: wrap; justify-content: space-between; padding: 22px 0; }
.footer-links { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 20px; row-gap: 7px; }
.footer-links a { color: var(--link-color); font-size: .875rem; text-underline-offset: .2em; }
.footer p { margin: 0; color: var(--secondary); font-size: .875rem; }
.warranty { max-width: 850px; padding: clamp(26px, 5vw, 48px) 0 clamp(32px, 6vw, 64px); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 13px; font-size: .875rem; color: var(--secondary); }
.breadcrumbs a { text-underline-offset: .17em; }
.warranty h1 { font-size: clamp(2.125rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 11px; }
.warranty-lead { color: var(--secondary); margin-bottom: 26px; line-height: 1.5; }
.warranty-card { border: 1px solid var(--border); border-radius: 15px; overflow: hidden; background: var(--surface); }
.warranty-card + .warranty-card { margin-top: 13px; }
.warranty-card h3 { font-size: 1.0625rem; background: var(--accent-surface); margin: 0; padding: 12px clamp(16px, 3vw, 22px); }
.warranty-content { padding: 14px clamp(16px, 3vw, 22px) 16px; line-height: 1.55; }
.warranty-content p { margin-bottom: 9px; }
.warranty-content p:last-child, .warranty-content ul { margin: 0; }
.warranty-content ul { padding-inline-start: 1.15em; }
.warranty-content li + li { margin-top: 4px; }
.about-page h1 { margin-bottom: clamp(20px, 4vw, 30px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; }
.about-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(16px, 3vw, 24px); border: 1px solid var(--border); border-radius: 15px; background: var(--surface); }
.about-card h2 { font-size: 1.25rem; margin: 0 0 12px; }
.about-card p { margin: 0 0 14px; line-height: 1.55; }
.about-contacts { display: grid; gap: 8px; font-style: normal; line-height: 1.5; margin: 0 0 18px; }
.about-phone { color: var(--link-color); font-weight: 700; text-underline-offset: .18em; }
.about-action { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; text-decoration: none; }
.about-warranty { margin-top: clamp(26px, 5vw, 42px); scroll-margin-top: 20px; }
.about-warranty > h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.025em; }
.about-warranty > .warranty-lead { margin-bottom: 18px; }
@media (max-width: 580px) {
  .about-grid { grid-template-columns: 1fr; }
}
.trade-panel { padding: clamp(16px, 4vw, 24px); border: 1px solid var(--border); border-radius: 15px; background: var(--surface); }
.trade-panel + .trade-panel { margin-top: 16px; }
.trade-panel h2 { margin-bottom: 9px; font-size: 1.25rem; }
.trade-panel p { margin-bottom: 13px; color: var(--secondary); line-height: 1.45; }
.trade-action:hover { color: #fff; }
.trade-form { display: grid; gap: 9px; max-width: 470px; }
.trade-form label { font-weight: 650; }
.trade-form input { width: 100%; min-height: 44px; padding: 8px 11px; border: 1px solid var(--control-border); border-radius: 8px; color: var(--ink); background: var(--elevated); }
.trade-form input::placeholder { color: var(--secondary); }
.trade-form p { font-size: .875rem; margin: 0 0 4px; }
.trade-form button { justify-self: start; }
.trade-field { display: grid; gap: 6px; }
.trade-account-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 12px; }
.trade-text-button { color: var(--link-color); background: transparent; padding: 0; border: 0; min-height: 38px; text-decoration: underline; text-underline-offset: .18em; }
.trade-logout { display: inline-block; margin: 13px 0 0; font-size: .875rem; color: var(--link-color); }
.trade-panel .trade-error { color: var(--error-color); font-weight: 600; }
.trade-requests { margin: 0; padding: 0; list-style: none; }
.trade-request { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-block: 13px; border-top: 1px solid var(--border); }
.trade-request strong, .trade-request p { overflow-wrap: anywhere; }
.trade-request p { margin: 3px 0; font-size: .875rem; }
.trade-state { color: var(--secondary); font-size: .875rem; }
.trade-request-actions { display: flex; flex-wrap: wrap; gap: 8px; }
dialog { padding: 0; border: 0; border-radius: 18px; color: var(--ink); background: var(--elevated); width: min(680px, calc(100% - 32px)); max-height: calc(100% - 32px); }
dialog::backdrop { background: var(--dialog-scrim); }
.dialog-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); position: relative; }
.dialog-inner form { position: absolute; right: 12px; top: 12px; z-index: 1; }
.close { display: grid; place-items: center; padding: 0; border: 1px solid var(--border); border-radius: 8px; width: 37px; height: 37px; background: var(--surface); line-height: 1; color: var(--ink); }
#part-dialog, #part-dialog * { caret-color: transparent; user-select: none; }
#part-dialog :is(input, textarea) { caret-color: auto; user-select: text; }
.close::before, .close::after {
  content: "";
  grid-area: 1 / 1;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.close::before { transform: rotate(45deg); }
.close::after { transform: rotate(-45deg); }
#part-dialog[data-closing] { animation: part-dialog-fade-out 160ms ease-in both; }
#part-dialog[data-closing]::backdrop { animation: part-dialog-fade-out 160ms ease-in both; }
@keyframes part-dialog-fade-out { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  #part-dialog[data-closing], #part-dialog[data-closing]::backdrop { animation: none; }
}
#part-picture { width: 100%; min-height: 250px; }
.part-content { position: relative; background: var(--elevated); padding: 40px 24px 23px; }
.part-category { color: var(--link-color); font-size: .875rem; font-weight: 700; margin-bottom: 7px; }
.part-content h2 { margin-bottom: 16px; line-height: 1.15; overflow-wrap: anywhere; }
.part-content dl { margin: 0; }
.part-content dl div { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--border); padding: 8px 0; }
.part-content dt { color: var(--secondary); }
.part-content dd { margin: 0; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.part-pricing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0 16px; }
.part-pricing strong { font-size: 1.4rem; }
#part-stock { border-radius: 6px; font-size: .875rem; padding: 4px 7px; font-weight: 650; }
.copy-result { display: block; margin-top: 5px; min-height: 1.2em; font-size: .875rem; }
.part-actions :is(.part-add, .product-quantity) { max-width: 200px; margin: 0 0 10px; }
#copy-sku { display: block; }
.part-permalink { display: inline-flex; margin: 0 0 10px; text-decoration: none; }
.product-page-view .hero, .product-page-view .catalog { display: none; }
.product-page { max-width: 960px; margin: 0 auto; padding-block: 26px 44px; }
.product-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.product-page-picture { min-height: 290px; }
.product-page h1 { margin: 0 0 16px; font-size: clamp(1.45rem, 4vw, 2.2rem); line-height: 1.15; overflow-wrap: anywhere; }
.product-page-stock { border-radius: 6px; font-size: .875rem; padding: 4px 7px; font-weight: 650; }
@media (max-width: 600px) {
  .product-page-grid { grid-template-columns: 1fr; }
  .product-page-picture { min-height: 200px; }
}
.cart-panel { padding: clamp(16px, 4vw, 25px); }
.cart-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cart-heading h2 { margin: 0; font-size: 1.65rem; }
#cart-title:focus, #cart-title:focus-visible { outline: none; }
#cart-empty { color: var(--secondary); margin: 12px 0 20px; }
.cart-items { list-style: none; margin: 0; padding: 0; }
.cart-line { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; padding: 13px 0; border-top: 1px solid var(--border); }
.cart-line-details { flex: 1 1 210px; min-width: 0; }
.cart-line h3 { margin: 0 0 4px; font-size: 1rem; }
.cart-line-price { margin: 0; color: var(--secondary); font-size: .875rem; }
.cart-line-actions, .cart-quantity { display: flex; align-items: center; gap: 9px; }
.cart-quantity button, .cart-remove { min-height: 36px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); color: var(--ink); }
.cart-quantity button { width: 36px; font-weight: 700; }
.cart-quantity button:disabled { color: var(--secondary); background: var(--inactive-surface); cursor: default; }
.cart-quantity span { min-width: 22px; text-align: center; }
.cart-remove { padding-inline: 8px; color: var(--secondary); font-size: .875rem; }
.cart-summary { border-top: 1px solid var(--border); padding-top: 14px; margin-bottom: 16px; }
.cart-summary div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 12px; }
.cart-summary p { font-size: .875rem; margin: 6px 0 0; color: var(--secondary); }
.cart-checkout { margin-bottom: 16px; }
.cart-checkout h3 { margin: 0 0 2px; font-size: 1.125rem; }
.cart-order-status, .cart-order-error { margin: 0 0 16px; line-height: 1.45; overflow-wrap: anywhere; }
.cart-order-status { color: var(--success-color); }
.cart-order-error { color: var(--error-color); }
.skip-link { position: absolute; z-index: 4; top: 4px; left: 6px; padding: 8px; background: var(--surface); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 980px) {
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .brand-lockup { flex-direction: column; align-items: flex-start; gap: 2px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .top-inner { min-height: 62px; gap: 18px; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; margin-top: 16px; }
  .hero-content { padding: 27px 24px 20px; }
  .catalog { padding-top: 27px; }
  .catalog-heading { align-items: start; flex-direction: column; gap: 12px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .product-picture { height: clamp(116px, 27vw, 178px); }
}
@media (max-width: 760px) {
  :root { --mobile-nav-space: calc(65px + env(safe-area-inset-bottom, 0px)); scroll-padding-bottom: var(--mobile-nav-space); }
  body { padding-bottom: var(--mobile-nav-space); }
  .topbar { padding-top: env(safe-area-inset-top, 0px); }
  .wrap {
    padding-inline-start: env(safe-area-inset-left, 0px);
    padding-inline-end: env(safe-area-inset-right, 0px);
  }
  .top-inner { gap: 10px; }
  .top-nav, .top-actions .cart-trigger { display: none; }
  .top-actions { min-width: 0; }
  .theme-toggle { width: 40px; height: 40px; }
  .feed-status { min-width: 0; white-space: normal; line-height: 1.2; }
  .feed-status i { flex: none; }
  .mobile-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 8;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: var(--mobile-nav-space);
    padding: 4px max(8px, env(safe-area-inset-right, 0px)) calc(4px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
    border-top: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 -5px 24px var(--nav-shadow);
  }
  .mobile-nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 48px;
    margin-inline: 4px;
    padding: 4px;
    color: var(--secondary);
    background: transparent;
    border: 0;
    border-radius: 10px;
    font-size: .875rem;
    font-weight: 650;
    line-height: 1.15;
    text-decoration: none;
  }
  .mobile-nav-item:hover, .mobile-nav-item[aria-current="page"] { color: var(--accent-label); background: var(--accent-surface); }
  .mobile-nav-item:focus-visible { outline-offset: -2px; }
  .mobile-nav-icon { position: relative; display: grid; place-items: center; width: 21px; height: 21px; }
  .nav-catalog::before { content: ""; position: absolute; top: 3px; left: 3px; width: 6px; height: 6px; border-radius: 1px; background: currentColor; box-shadow: 9px 0 currentColor, 0 9px currentColor, 9px 9px currentColor; }
  .nav-info::before { content: ""; grid-area: 1 / 1; width: 18px; height: 18px; border: 1.5px solid currentColor; border-radius: 50%; }
  .nav-info::after { content: "i"; grid-area: 1 / 1; font-size: .8125rem; font-weight: 750; line-height: 1; }
  .nav-basket::before { content: ""; position: absolute; top: 8px; width: 15px; height: 10px; border: 1.5px solid currentColor; border-radius: 2px 2px 4px 4px; }
  .nav-basket::after { content: ""; position: absolute; top: 3px; width: 7px; height: 6px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; }
  .nav-account::before { content: ""; position: absolute; top: 2px; width: 7px; height: 7px; border: 1.5px solid currentColor; border-radius: 50%; }
  .nav-account::after { content: ""; position: absolute; top: 11px; width: 15px; height: 7px; border: 1.5px solid currentColor; border-radius: 7px 7px 3px 3px; }
  .mobile-cart-count { position: absolute; top: 4px; left: calc(50% + 8px); min-width: 18px; padding: 2px 4px; font-size: .6875rem; }
}
@media (max-width: 430px) {
  .brand { font-size: 1rem; }
  .brand-icon { width: 32px; height: 32px; }
  .hero-search { gap: 8px; padding-left: 10px; }
  .hero-search input { font-size: .875rem; }
  .filters, .model-control, .model-select select { width: 100%; }
  .primary { padding-inline: 10px; }
  .product-copy { padding: 11px; }
  .product-actions { padding: 0 7px 11px; }
  .product-actions .product-quantity {
    --quantity-button-width: clamp(32px, 11vw, 44px);
    grid-template-columns: var(--quantity-button-width) minmax(0, 1fr) var(--quantity-button-width);
  }
  .product-actions .product-quantity-label { font-size: .625rem; }
  .dialog-inner { grid-template-columns: 1fr; }
  #part-picture { height: 154px; min-height: 0; }
  .part-content { padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

:root[data-theme-transition],
[data-theme-transition] :where(body, .topbar, .brand, .top-nav a, .footer, .footer a, .mobile-nav, .mobile-nav-item,
  .hero, .hero h1, .hero .wf-model, .hero p, .hero-search, .hero-search input, .search-suggestions, .suggestion-option,
  .product, .product-copy, .product-picture, .part-picture, .part-content, .stock-badge, .price,
  .category-panel, .category-group summary, .category-buttons a, .filters label, select, .model-clear, .category,
  .primary, .secondary, .theme-toggle, .cart-trigger, .cart-count, .product-quantity, dialog, .empty, .warranty-card, .warranty-card h3,
  .about-card, .trade-panel, .trade-form input, .cart-quantity button, .cart-remove, .close) {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
