﻿/* Shared styles for Automotive Warehouse Auto Parts templates. */

:root {
      --ink: #171b21;
      --muted: #5d6570;
      --line: #dde2e7;
      --panel: #ffffff;
      --panel-strong: #f3f5f7;
      --accent: #d9291c;
      --accent-dark: #ad1f16;
      --green: #237a55;
      --yellow: #f1b833;
      --steel: #27323d;
      --shadow: 0 20px 60px rgba(23, 27, 33, .13);
      --radius: 8px;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: #f7f8fa;
      line-height: 1.5;
    }

    body.cart-open {
      overflow: hidden;
    }

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

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input,
    select {
      font: inherit;
    }

    .topbar {
      background: var(--steel);
      color: #f8fafc;
      font-size: .88rem;
    }

    .topbar-inner,
    .nav-inner,
    .section-inner {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
    }

    .topbar-inner {
      min-height: 38px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .topbar-links {
      display: flex;
      align-items: center;
      gap: 18px;
      color: #d9e0e8;
      white-space: nowrap;
    }

    .topbar-item,
    .icon-text {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .topbar-controls {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
    }

    .currency-select,
    .theme-select {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #f8fafc;
      font-weight: 750;
    }

    .currency-select select,
    .theme-select select {
      height: 28px;
      padding: 0 26px 0 9px;
      color: #f8fafc;
      background: #202a34;
      border: 1px solid #44515f;
      border-radius: 6px;
      font-weight: 800;
      cursor: pointer;
    }

    .store-notice {
      color: #583b00;
      background: #fff8e6;
      border-bottom: 1px solid #f0d99c;
      font-size: .92rem;
    }

    .store-notice .section-inner {
      min-height: 44px;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 0;
    }

    .store-notice svg {
      width: 18px;
      height: 18px;
      flex: 0 0 auto;
      color: #9a6a00;
    }

    .store-notice strong {
      color: var(--ink);
    }

    .nav {
      position: sticky;
      top: 0;
      z-index: 30;
      background: rgba(255, 255, 255, .96);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(12px);
    }

    .nav-inner {
      min-height: 76px;
      display: grid;
      grid-template-columns: auto minmax(260px, 1fr) auto;
      align-items: center;
      gap: 22px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-weight: 850;
      font-size: 1.25rem;
      letter-spacing: 0;
    }

    .brand-mark {
      width: 40px;
      height: 40px;
      display: grid;
      place-items: center;
      color: #fff;
      background: var(--accent);
      border-radius: 8px;
    }

    .search {
      position: relative;
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      min-height: 44px;
      border: 1px solid #cfd6dd;
      border-radius: 999px;
      background: #fff;
      overflow: visible;
    }

    .search i,
    .search > svg {
      width: 44px;
      height: 20px;
      color: var(--muted);
      justify-self: center;
      flex: 0 0 auto;
    }

    .search input {
      width: 100%;
      min-width: 0;
      border: 0;
      outline: 0;
      padding: 0 8px;
      color: var(--ink);
    }

    .search button,
    .primary-btn,
    .secondary-btn,
    .ghost-btn,
    .icon-btn {
      border: 0;
      cursor: pointer;
      border-radius: 999px;
      min-height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-weight: 750;
      transition: transform .16s ease, background .16s ease, border-color .16s ease;
    }

    .search button {
      align-self: stretch;
      min-height: 44px;
      margin: -1px -1px -1px 0;
      padding: 0 18px;
      color: #fff;
      background: var(--accent);
      border-radius: 0 var(--radius) var(--radius) 0;
    }

    .search-results {
      position: absolute;
      top: calc(100% + 8px);
      left: 0;
      right: 0;
      z-index: 60;
      display: none;
      padding: 10px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 999px;
      box-shadow: var(--shadow);
    }

    .search.active .search-results {
      display: grid;
    }

    .search-result {
      display: grid;
      grid-template-columns: 58px minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
      padding: 10px;
      color: var(--ink);
      border-radius: 6px;
    }

    .search-result + .search-result {
      border-top: 1px solid var(--line);
    }

    .search-result:hover {
      background: var(--panel-strong);
    }

    .search-result img {
      width: 58px;
      height: 58px;
      object-fit: contain;
      background: #f7f8fa;
      border: 1px solid var(--line);
      border-radius: 6px;
    }

    .search-result strong,
    .search-result small,
    .search-result em {
      display: block;
    }

    .search-result strong {
      line-height: 1.25;
      font-size: .94rem;
    }

    .search-result small {
      margin-top: 4px;
      color: var(--muted);
      font-size: .84rem;
      font-weight: 400;
    }

    .search-result em {
      margin-top: 5px;
      color: var(--green);
      font-size: .82rem;
      font-style: normal;
      font-weight: 800;
    }

    .search-result em.stock-unavailable {
      color: var(--accent);
    }

    .search-result-price {
      justify-self: end;
      color: var(--ink);
      font-size: .98rem;
      line-height: 1.15;
      text-align: right;
      white-space: nowrap;
    }

    .search-result-price small {
      margin-top: 2px;
      color: var(--muted);
      font-size: .72rem;
      font-weight: 700;
    }

    .search-result .search-result-discontinued {
      justify-self: end;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 28px;
      padding: 0 10px;
      color: #fff;
      background: var(--accent);
      border-radius: var(--radius);
      font-size: .78rem;
      font-weight: 850;
      line-height: 1;
      white-space: nowrap;
    }

    .search-view-all {
      min-height: 38px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 8px;
      color: var(--accent);
      background: #fff5f4;
      border-radius: 6px;
      font-weight: 850;
      font-size: .9rem;
    }

    .primary-btn {
      color: #fff;
      background: var(--accent);
      padding: 0 18px;
    }

    .secondary-btn {
      color: var(--ink);
      background: #fff;
      border: 1px solid #cfd6dd;
      padding: 0 16px;
    }

    .ghost-btn {
      color: var(--ink);
      background: transparent;
      padding: 0 12px;
    }

    .icon-btn {
      position: relative;
      width: 42px;
      min-width: 42px;
      color: var(--ink);
      background: #fff;
      border: 1px solid #cfd6dd;
    }

    .primary-btn:hover,
    .search button:hover {
      background: var(--accent-dark);
      transform: translateY(-1px);
    }

    .search button:hover {
      transform: none;
    }

    .secondary-btn:hover,
    .ghost-btn:hover,
    .icon-btn:hover {
      background: var(--panel-strong);
      transform: translateY(-1px);
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .account-menu {
      position: relative;
    }

    .account-dropdown {
      position: absolute;
      top: calc(100% + 10px);
      right: 0;
      z-index: 45;
      width: 180px;
      display: none;
      padding: 8px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .account-menu.active .account-dropdown {
      display: grid;
    }

    .account-dropdown a {
      min-height: 38px;
      display: flex;
      align-items: center;
      padding: 0 10px;
      color: #303841;
      border-radius: 6px;
      font-size: .92rem;
      font-weight: 750;
    }

    .account-dropdown a:hover {
      color: var(--accent);
      background: var(--panel-strong);
    }

    .account-signout {
      margin-top: 8px;
      position: relative;
    }

    .account-signout::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: -5px;
      border-top: 1px solid var(--line);
      pointer-events: none;
    }

    .main-menu {
      position: sticky;
      top: 76px;
      z-index: 25;
      background: #fff;
      border-bottom: 1px solid var(--line);
    }

    .main-menu-inner {
      width: min(1180px, calc(100% - 32px));
      min-height: 44px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 4px;
      overflow: visible;
      scrollbar-width: none;
    }

    .main-menu-inner::-webkit-scrollbar {
      display: none;
    }

    .main-menu a,
    .main-menu-item > button {
      min-height: 36px;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 0 12px;
      color: #303841;
      border-radius: var(--radius);
      font-size: .9rem;
      font-weight: 800;
      white-space: nowrap;
    }

    .main-menu-item > button {
      border: 0;
      background: transparent;
      cursor: pointer;
    }

    .main-menu a:hover,
    .main-menu-item:hover > button {
      color: var(--accent);
      background: var(--panel-strong);
    }

    .main-menu-item {
      position: relative;
      display: inline-flex;
      align-items: center;
    }

    .main-menu-item > button svg {
      width: 17px;
      height: 17px;
    }

    .main-menu a svg {
      width: 17px;
      height: 17px;
      flex: 0 0 auto;
    }

    .main-menu-item > button svg:last-child {
      width: 15px;
      height: 15px;
    }

    .main-submenu {
      position: absolute;
      top: 100%;
      left: 0;
      z-index: 50;
      width: 190px;
      display: none;
      padding: 8px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .main-menu-item:hover .main-submenu,
    .main-menu-item:focus-within .main-submenu {
      display: grid;
    }

    .main-submenu a {
      justify-content: flex-start;
      width: 100%;
      min-height: 36px;
      padding: 0 10px;
      font-size: .88rem;
    }

    .main-submenu a svg {
      width: 16px;
      height: 16px;
      color: var(--muted);
    }

    .badge {
      position: absolute;
      top: -7px;
      right: -7px;
      min-width: 20px;
      height: 20px;
      padding: 0 6px;
      display: grid;
      place-items: center;
      color: #fff;
      background: var(--accent);
      border-radius: var(--radius);
      font-size: .72rem;
      font-weight: 800;
    }

    .cart-drawer {
      position: fixed;
      inset: 0;
      z-index: 120;
      pointer-events: none;
    }

    .cart-drawer.active {
      pointer-events: auto;
    }

    .cart-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(10, 13, 17, .48);
      opacity: 0;
      transition: opacity .2s ease;
    }

    .cart-drawer.active .cart-backdrop {
      opacity: 1;
    }

    .cart-panel {
      position: absolute;
      top: 0;
      right: 0;
      width: min(430px, 100%);
      height: 100%;
      display: grid;
      grid-template-rows: auto 1fr auto;
      background: #fff;
      border-left: 1px solid var(--line);
      box-shadow: -24px 0 70px rgba(23, 27, 33, .2);
      transform: translateX(100%);
      transition: transform .24s ease;
    }

    .cart-drawer.active .cart-panel {
      transform: translateX(0);
    }

    .cart-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      padding: 20px;
      border-bottom: 1px solid var(--line);
    }

    .cart-header h2 {
      margin-bottom: 2px;
      font-size: 1.3rem;
    }

    .cart-header span,
    .cart-item span,
    .cart-footer p {
      color: var(--muted);
      font-size: .9rem;
    }

    .cart-items {
      display: grid;
      align-content: start;
      gap: 14px;
      padding: 18px 20px;
      overflow: auto;
    }

    .cart-item {
      display: grid;
      grid-template-columns: 74px minmax(0, 1fr) auto;
      gap: 12px;
      align-items: start;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--line);
    }

    .cart-item img {
      width: 74px;
      height: 74px;
      object-fit: contain;
      background: #f7f8fa;
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .cart-item h3 {
      margin-bottom: 4px;
      font-size: .96rem;
      line-height: 1.25;
    }

    .cart-item strong {
      display: block;
      margin-top: 6px;
    }

    .cart-price-block {
      display: flex;
      align-items: baseline;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 6px;
    }

    .cart-price-block strong {
      margin-top: 0;
    }

    .cart-price-block span {
      color: var(--muted);
      font-size: .82rem;
      font-weight: 750;
    }

    .cart-price-block b {
      color: var(--accent);
      font-size: .82rem;
      font-weight: 850;
    }

    .cart-item em {
      display: block;
      margin-top: 4px;
      color: var(--green);
      font-size: .86rem;
      font-style: normal;
      font-weight: 850;
    }

    .cart-item em.stock-unavailable {
      color: var(--accent);
    }

    .cart-remove {
      width: 30px;
      height: 30px;
      display: grid;
      place-items: center;
      padding: 0;
      color: var(--accent);
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 8px;
      cursor: pointer;
      transition: background .18s ease, border-color .18s ease, color .18s ease;
    }

    .cart-remove:hover {
      color: #fff;
      background: var(--accent);
      border-color: var(--accent);
    }

    .cart-remove svg {
      width: 16px;
      height: 16px;
      display: block;
    }

    .cart-quantity {
      width: max-content;
      display: grid;
      grid-template-columns: 30px 34px 30px;
      align-items: center;
      margin-top: 10px;
      overflow: hidden;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 8px;
    }

    .cart-quantity button {
      height: 30px;
      display: grid;
      place-items: center;
      color: var(--ink);
      background: #fff;
      border: 0;
      cursor: pointer;
    }

    .cart-quantity button:hover {
      background: #f3f5f7;
    }

    .cart-quantity span {
      color: var(--ink);
      font-size: .9rem;
      font-weight: 850;
      text-align: center;
    }

    .cart-footer {
      display: grid;
      gap: 12px;
      padding: 18px 20px 20px;
      border-top: 1px solid var(--line);
      background: #fff;
    }

    .cart-total {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 16px;
      font-size: 1rem;
    }

    .cart-total strong {
      font-size: 1.45rem;
    }

    .cart-footer .primary-btn,
    .cart-footer .secondary-btn {
      width: 100%;
    }

    .hero {
      min-height: 580px;
      display: grid;
      align-items: end;
      color: #fff;
      background:
        linear-gradient(90deg, rgba(17, 22, 28, .88), rgba(17, 22, 28, .58) 48%, rgba(17, 22, 28, .16)),
        url("https://images.unsplash.com/photo-1632823469850-1b7b1e8b7e1e?auto=format&fit=crop&w=1800&q=82") center/cover;
    }

    .hero-inner {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
      padding: 78px 0 28px;
    }

    .hero-copy {
      max-width: 650px;
      padding-bottom: 34px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #ffdedb;
      font-size: .82rem;
      font-weight: 850;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    h1,
    h2,
    h3,
    p {
      margin-top: 0;
    }

    h1 {
      max-width: 10ch;
      margin-bottom: 18px;
      font-size: clamp(3rem, 8vw, 5.8rem);
      line-height: .92;
      letter-spacing: 0;
    }

    .hero-copy p {
      max-width: 58ch;
      color: #e9eef3;
      font-size: 1.08rem;
      margin-bottom: 26px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .fitment {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
      gap: 10px;
      padding: 14px;
      background: #fff;
      color: var(--ink);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .field {
      display: grid;
      gap: 5px;
    }

    .field label {
      color: var(--muted);
      font-size: .76rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .06em;
    }

    .field select,
    .field input {
      width: 100%;
      min-width: 0;
      height: 42px;
      padding: 0 11px;
      color: var(--ink);
      border: 1px solid #cfd6dd;
      border-radius: var(--radius);
      background: #fff;
    }

    .fitment .primary-btn {
      align-self: end;
      white-space: nowrap;
    }

    .section {
      padding: 64px 0;
    }

    .section.alt {
      background: #fff;
    }

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

    .section-heading h2 {
      margin-bottom: 4px;
      font-size: clamp(1.8rem, 3vw, 2.55rem);
      line-height: 1.05;
      letter-spacing: 0;
    }

    .section-heading p {
      margin-bottom: 0;
      color: var(--muted);
    }

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

    .category {
      min-height: 152px;
      display: grid;
      align-content: space-between;
      padding: 16px;
      overflow: hidden;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .category img {
      width: 100%;
      height: 72px;
      object-fit: cover;
      border-radius: 6px;
      margin-bottom: 12px;
    }

    .category strong {
      display: block;
      line-height: 1.15;
    }

    .category span {
      color: var(--muted);
      font-size: .88rem;
    }

    .shop-layout {
      display: grid;
      grid-template-columns: 250px minmax(0, 1fr);
      gap: 22px;
      align-items: start;
    }

    .filters,
    .promo-panel,
    .support-panel {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .filters {
      position: sticky;
      top: 96px;
      padding: 16px;
    }

    .filters h3 {
      margin-bottom: 14px;
      font-size: 1.05rem;
    }

    .filter-group {
      padding: 14px 0;
      border-top: 1px solid var(--line);
    }

    .filter-group:first-of-type {
      border-top: 0;
      padding-top: 0;
    }

    .filter-title {
      margin-bottom: 9px;
      color: var(--muted);
      font-size: .78rem;
      font-weight: 850;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .check-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      min-height: 30px;
      color: #303841;
      font-size: .92rem;
    }

    .check-row input {
      accent-color: var(--accent);
    }

    .toolbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 14px;
      margin-bottom: 16px;
    }

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

    .chip {
      min-height: 34px;
      padding: 0 12px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #fff;
      border: 1px solid #cfd6dd;
      border-radius: var(--radius);
      color: #303841;
      font-size: .9rem;
      font-weight: 700;
    }

    .chip.active {
      color: #fff;
      background: var(--steel);
      border-color: var(--steel);
    }

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

    .latest-products-grid {
      grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .latest-products-grid .product-media {
      aspect-ratio: 1 / 1;
    }

    .latest-products-grid .product-body {
      grid-template-rows: minmax(44px, auto) minmax(58px, auto) 1fr auto;
      gap: 9px;
      padding: 11px;
    }

    .latest-products-grid .rating {
      gap: 4px;
      font-size: .78rem;
    }

    .latest-products-grid .stars {
      font-size: .88rem;
      letter-spacing: 0;
    }

    .latest-products-grid .sku {
      font-size: .74rem;
    }

    .latest-products-grid .product-card h3 {
      font-size: .92rem;
    }

    .latest-products-grid .price-row {
      align-items: start;
      flex-direction: column;
      gap: 4px;
      align-self: start;
    }

    .latest-products-grid .price {
      font-size: 1.32rem;
    }

    .latest-products-grid .stock {
      font-size: .78rem;
    }

    .latest-sale-price-row {
      gap: 3px;
    }

    .latest-price-compare {
      color: var(--muted);
      font-size: .76rem;
      font-weight: 750;
      line-height: 1.2;
    }

    .latest-price-compare b {
      color: var(--accent);
      font-weight: 850;
    }

    .latest-products-grid .product-actions {
      gap: 6px;
      align-self: end;
      grid-template-columns: minmax(0, 1fr) 38px;
    }

    .latest-products-grid .primary-btn {
      width: 100%;
      min-height: 38px;
      padding: 0 10px;
      font-size: .86rem;
    }

    .latest-products-grid .icon-btn {
      width: 38px;
      height: 38px;
    }

    .product-card {
      display: grid;
      grid-template-rows: auto 1fr;
      overflow: hidden;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .product-media {
      position: relative;
      aspect-ratio: 4 / 3;
      background: #e9edf1;
    }

    .product-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .label {
      position: absolute;
      top: 10px;
      left: 10px;
      min-height: 28px;
      display: inline-flex;
      align-items: center;
      padding: 0 9px;
      color: #fff;
      background: var(--green);
      border-radius: var(--radius);
      font-size: .76rem;
      font-weight: 850;
    }

    .label.sale {
      background: var(--accent);
    }

    .product-body {
      display: grid;
      gap: 12px;
      padding: 15px;
    }

    .rating {
      display: flex;
      align-items: center;
      gap: 6px;
      color: #8a6412;
      font-size: .86rem;
      font-weight: 750;
    }

    .rating svg {
      color: var(--yellow);
      fill: currentColor;
    }

    .stars {
      display: inline-flex;
      align-items: center;
      color: var(--yellow);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.02rem;
      font-weight: 900;
      line-height: 1;
      letter-spacing: 1px;
      text-shadow: 0 1px 0 rgba(138, 100, 18, .22);
    }

    .product-card h3 {
      margin-bottom: 0;
      font-size: 1.03rem;
      line-height: 1.25;
    }

    .sku {
      color: var(--muted);
      font-size: .86rem;
    }

    .price-row {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 10px;
    }

    .price {
      font-size: 1.35rem;
      font-weight: 850;
    }

    .price-row small {
      color: var(--muted);
      font-size: .78rem;
      font-weight: 750;
    }

    .stock {
      color: var(--green);
      font-size: .86rem;
      font-weight: 800;
      white-space: nowrap;
    }

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

    .brand-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 14px;
    }

    .brand-card {
      min-height: 126px;
      display: grid;
      justify-items: center;
      align-content: center;
      gap: 12px;
      padding: 18px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    }

    .brand-card:hover {
      border-color: #cfd6dd;
      box-shadow: 0 12px 30px rgba(23, 27, 33, .08);
      transform: translateY(-1px);
    }

    .brand-card img {
      width: auto;
      max-width: min(132px, 100%);
      height: auto;
      max-height: 58px;
      object-fit: contain;
    }

    .brand-card span {
      color: var(--muted);
      font-size: .9rem;
      font-weight: 800;
    }

    .banner {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 420px;
      gap: 30px;
      align-items: center;
      min-height: 320px;
      padding: 28px;
      overflow: hidden;
      color: #fff;
      background: var(--steel);
      border-radius: var(--radius);
    }

    .banner h2 {
      max-width: 13ch;
      margin-bottom: 12px;
      font-size: clamp(2rem, 5vw, 3.5rem);
      line-height: .98;
    }

    .banner p {
      max-width: 54ch;
      color: #e1e8ef;
    }

    .banner img {
      width: 100%;
      height: 260px;
      object-fit: cover;
      border-radius: var(--radius);
    }

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

    .service {
      min-height: 170px;
      padding: 18px;
      display: grid;
      align-content: start;
      gap: 12px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .service .service-icon {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      color: #fff;
      background: var(--steel);
      border-radius: var(--radius);
    }

    .service h3 {
      margin-bottom: 0;
      font-size: 1.04rem;
    }

    .service p {
      margin-bottom: 0;
      color: var(--muted);
      font-size: .92rem;
    }

    .footer {
      color: #d9e0e8;
      background: #141920;
      padding: 42px 0 26px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.2fr repeat(3, 1fr);
      gap: 28px;
      margin-bottom: 32px;
    }

    .footer h3,
    .footer h4 {
      color: #fff;
      margin-bottom: 12px;
    }

    .footer p,
    .footer a {
      color: #b9c3cf;
    }

    .footer a {
      display: block;
      margin: 8px 0;
    }

    .footer-social {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 18px;
    }

    .footer-social > span {
      flex: 0 0 100%;
      color: #fff;
      font-size: .82rem;
      font-weight: 850;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .footer-social a {
      width: 40px;
      height: 40px;
      min-height: 40px;
      margin: 0;
      color: #fff;
      background: #202832;
      border-color: #3b4652;
      box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
    }

    .footer-social a:hover {
      background: #2a3541;
      border-color: #5b6876;
      transform: translateY(-1px);
    }

    .footer-social .share-mark {
      width: auto;
      height: auto;
      color: currentColor;
      background: transparent;
      border-radius: 0;
      font-size: .95rem;
    }

    .footer-social .facebook-share {
      color: #7db4ff;
    }

    .footer-social .x-share {
      color: #f8fafc;
    }

    .footer-social .pinterest-share {
      color: #ff7281;
    }

    .footer-social .whatsapp-share {
      color: #61e493;
    }

    .footer-social .linkedin-share {
      color: #78b7f5;
    }

    .footer-social .email-share {
      color: #ff8a80;
    }

    .footer-social .email-share svg {
      color: currentColor;
      width: 18px;
      height: 18px;
    }

    .newsletter {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 8px;
      max-width: 430px;
    }

    .newsletter input {
      min-width: 0;
      height: 42px;
      border: 1px solid #3b4652;
      border-radius: var(--radius);
      padding: 0 12px;
      color: #fff;
      background: #202832;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 18px;
      padding-top: 22px;
      border-top: 1px solid #303945;
      color: #aeb9c5;
      font-size: .9rem;
    }

    @media (max-width: 980px) {
      .nav-inner {
        grid-template-columns: 1fr auto;
      }

      .search {
        grid-column: 1 / -1;
        order: 3;
      }

      .main-menu {
        position: static;
      }

      .main-menu-inner {
        overflow-x: auto;
        overflow-y: hidden;
      }

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

      .fitment .primary-btn {
        grid-column: 1 / -1;
      }

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

      .shop-layout {
        grid-template-columns: 1fr;
      }

      .filters {
        position: static;
      }

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

      .banner img {
        height: 220px;
      }

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

    @media (max-width: 680px) {
      .topbar-inner {
        justify-content: center;
      }

      .topbar-links,
      .nav-actions .ghost-btn {
        display: none;
      }

      .nav-inner {
        gap: 12px;
        min-height: 68px;
      }

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

      .hero {
        min-height: 660px;
        background-position: center;
      }

      .hero-inner {
        padding-top: 38px;
      }

      h1 {
        max-width: 8ch;
      }

      .hero-actions,
      .section-heading,
      .toolbar,
      .footer-bottom {
        align-items: stretch;
        flex-direction: column;
      }

      .fitment,
      .category-grid,
      .product-grid,
      .brand-grid,
      .services-grid,
      .footer-grid,
      .newsletter {
        grid-template-columns: 1fr;
      }

      .section {
        padding: 44px 0;
      }

      .banner {
        padding: 20px;
      }
    }

/* Product page additions and shared overrides. */

:root {
      --ink: #171b21;
      --muted: #5d6570;
      --line: #dde2e7;
      --panel: #ffffff;
      --panel-strong: #f3f5f7;
      --accent: #d9291c;
      --accent-dark: #ad1f16;
      --green: #237a55;
      --yellow: #f1b833;
      --steel: #27323d;
      --shadow: 0 20px 60px rgba(23, 27, 33, .13);
      --radius: 8px;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: #f7f8fa;
      line-height: 1.5;
    }

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

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input,
    select {
      font: inherit;
    }

    .topbar {
      background: var(--steel);
      color: #f8fafc;
      font-size: .88rem;
    }

    .topbar-inner,
    .nav-inner,
    .section-inner {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
    }

    .topbar-inner {
      min-height: 38px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .topbar-links,
    .nav-actions,
    .icon-text,
    .breadcrumb,
    .rating,
    .meta-row,
    .qty,
    .tabs,
    .spec-row,
    .review-head {
      display: flex;
      align-items: center;
    }

    .topbar-links {
      gap: 18px;
      color: #d9e0e8;
      white-space: nowrap;
    }

    .icon-text {
      gap: 8px;
    }

    .nav {
      position: sticky;
      top: 0;
      z-index: 30;
      background: rgba(255, 255, 255, .96);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(12px);
    }

    .nav-inner {
      min-height: 76px;
      display: grid;
      grid-template-columns: auto minmax(260px, 1fr) auto;
      align-items: center;
      gap: 22px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-weight: 850;
      font-size: 1.25rem;
    }

    .brand-mark {
      width: 40px;
      height: 40px;
      display: grid;
      place-items: center;
      color: #fff;
      background: var(--accent);
      border-radius: var(--radius);
    }

    .search {
      position: relative;
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      min-height: 44px;
      border: 1px solid #cfd6dd;
      border-radius: var(--radius);
      background: #fff;
      overflow: visible;
    }

    .search i,
    .search > svg {
      width: 44px;
      height: 20px;
      color: var(--muted);
      justify-self: center;
      flex: 0 0 auto;
    }

    .search input {
      width: 100%;
      min-width: 0;
      border: 0;
      outline: 0;
      padding: 0 8px;
      color: var(--ink);
    }

    .search button,
    .primary-btn,
    .secondary-btn,
    .ghost-btn,
    .icon-btn,
    .qty button,
    .tab {
      border: 0;
      cursor: pointer;
      border-radius: var(--radius);
      min-height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-weight: 750;
      transition: transform .16s ease, background .16s ease, border-color .16s ease;
    }

    .search button {
      align-self: stretch;
      min-height: 44px;
      margin: -1px -1px -1px 0;
      padding: 0 18px;
      color: #fff;
      background: var(--accent);
      border-radius: 0 var(--radius) var(--radius) 0;
    }

    .primary-btn {
      color: #fff;
      background: var(--accent);
      padding: 0 18px;
    }

    .secondary-btn {
      color: var(--ink);
      background: #fff;
      border: 1px solid #cfd6dd;
      padding: 0 16px;
    }

    .ghost-btn {
      color: var(--ink);
      background: transparent;
      padding: 0 12px;
    }

    .icon-btn {
      position: relative;
      width: 42px;
      min-width: 42px;
      color: var(--ink);
      background: #fff;
      border: 1px solid #cfd6dd;
    }

    .primary-btn:hover,
    .search button:hover {
      background: var(--accent-dark);
      transform: translateY(-1px);
    }

    .search button:hover {
      transform: none;
    }

    .secondary-btn:hover,
    .ghost-btn:hover,
    .icon-btn:hover,
    .qty button:hover {
      background: var(--panel-strong);
      transform: translateY(-1px);
    }

    .nav-actions {
      gap: 10px;
    }

    .badge {
      position: absolute;
      top: -7px;
      right: -7px;
      min-width: 20px;
      height: 20px;
      padding: 0 6px;
      display: grid;
      place-items: center;
      color: #fff;
      background: var(--accent);
      border-radius: 999px;
      font-size: .72rem;
      font-weight: 800;
    }

    .breadcrumb {
      gap: 8px;
      padding: 22px 0 16px;
      color: var(--muted);
      font-size: .9rem;
      flex-wrap: wrap;
    }

    .breadcrumb a {
      color: #37414c;
      font-weight: 700;
    }

    .product-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
      gap: 32px;
      align-items: start;
      padding-bottom: 50px;
    }

    .gallery {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 14px;
      position: sticky;
      top: 100px;
    }

    .thumbs {
      display: grid;
      grid-template-columns: repeat(3, 88px);
      gap: 10px;
      align-content: start;
      order: 2;
    }

    .thumb {
      aspect-ratio: 1;
      padding: 0;
      overflow: hidden;
      background: #fff;
      border: 2px solid transparent;
      border-radius: var(--radius);
      cursor: pointer;
    }

    .thumb.active {
      border-color: var(--accent);
    }

    .thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .main-photo {
      position: relative;
      overflow: hidden;
      background: #e8edf2;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      aspect-ratio: 4 / 3;
    }

    .main-photo img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: #fff;
    }

    .gallery-arrow,
    .gallery-expand,
    .lightbox-close {
      position: absolute;
      z-index: 5;
      width: 42px;
      height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--ink);
      background: rgba(255, 255, 255, .92);
      border: 1px solid #cfd6dd;
      border-radius: var(--radius);
      cursor: pointer;
      box-shadow: 0 10px 28px rgba(23, 27, 33, .14);
      transition: transform .16s ease, background .16s ease;
    }

    .gallery-arrow:hover,
    .gallery-expand:hover,
    .lightbox-close:hover {
      background: #fff;
      transform: translateY(-1px);
    }

    .gallery-arrow-left {
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
    }

    .gallery-arrow-left:hover {
      transform: translateY(-50%) translateY(-1px);
    }

    .gallery-arrow-right {
      right: 14px;
      top: 50%;
      transform: translateY(-50%);
    }

    .gallery-arrow-right:hover {
      transform: translateY(-50%) translateY(-1px);
    }

    .gallery-expand {
      right: 14px;
      bottom: 14px;
    }

    .gallery-lightbox {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }

    .gallery-lightbox.active {
      display: flex;
    }

    .gallery-lightbox-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(10, 13, 17, .74);
    }

    .gallery-lightbox-panel {
      position: relative;
      z-index: 1;
      width: min(1040px, 100%);
      height: min(760px, calc(100vh - 48px));
      display: grid;
      place-items: center;
      background: #fff;
      border-radius: var(--radius);
      box-shadow: 0 28px 90px rgba(0, 0, 0, .42);
      overflow: hidden;
    }

    .gallery-lightbox-panel img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: #fff;
    }

    .lightbox-close {
      top: 14px;
      right: 14px;
    }

    .photo-label {
      position: absolute;
      top: 14px;
      left: 14px;
      min-height: 30px;
      display: inline-flex;
      align-items: center;
      padding: 0 10px;
      color: #fff;
      background: var(--green);
      border-radius: var(--radius);
      font-size: .78rem;
      font-weight: 850;
    }

    .photo-label-sale {
      left: 116px;
      background: var(--accent);
    }

    .product-summary {
      display: grid;
      gap: 18px;
    }

    .summary-panel,
    .fitment-card,
    .delivery-card,
    .details-panel,
    .review-card,
    .related-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .summary-panel {
      padding: 24px;
    }

    .brand-line {
      color: var(--accent);
      font-size: .82rem;
      font-weight: 850;
      letter-spacing: .08em;
      text-transform: uppercase;
      margin-bottom: 8px;
    }

    .product-meta {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: nowrap;
      margin-bottom: 14px;
      white-space: nowrap;
    }

    .product-meta .brand-line {
      margin-bottom: 0;
    }

    .product-meta .sku,
    .product-meta .mpn {
      color: var(--muted);
      font-size: .86rem;
      font-weight: 400;
    }

    .copy-mpn-btn {
      width: 28px;
      height: 28px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      position: relative;
      color: var(--muted);
      background: #fff;
      border: 1px solid #cfd6dd;
      border-radius: 6px;
      cursor: pointer;
      transition: color .16s ease, background .16s ease, border-color .16s ease;
    }

    .copy-mpn-btn:hover,
    .copy-mpn-btn.copied {
      color: var(--accent);
      background: #fff5f4;
      border-color: #f0b7b2;
    }

    .copy-mpn-btn svg {
      width: 15px;
      height: 15px;
    }

    .copy-mpn-btn::after {
      content: "Copied!";
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      z-index: 5;
      padding: 6px 8px;
      color: #fff;
      background: var(--ink);
      border-radius: 6px;
      box-shadow: var(--shadow);
      font-size: .78rem;
      font-weight: 800;
      line-height: 1;
      opacity: 0;
      pointer-events: none;
      transform: translateY(-4px);
      transition: opacity .16s ease, transform .16s ease;
      white-space: nowrap;
    }

    .copy-mpn-btn.copied::after {
      opacity: 1;
      transform: translateY(0);
    }

    .meta-separator {
      width: 1px;
      height: 16px;
      background: #cfd6dd;
    }

    h1,
    h2,
    h3,
    p {
      margin-top: 0;
    }

    h1 {
      margin-bottom: 10px;
      font-size: clamp(2rem, 4vw, 3.15rem);
      line-height: 1;
      letter-spacing: 0;
    }

    .rating {
      gap: 8px;
      color: #8a6412;
      font-size: .92rem;
      font-weight: 750;
      flex-wrap: wrap;
    }

    .rating svg {
      color: var(--yellow);
      fill: currentColor;
    }

    .sku {
      color: var(--muted);
      font-weight: 650;
    }

    .price-block {
      padding: 18px 0;
    }

    .summary-divider + .price-block {
      padding-top: 0;
    }

    .price-row {
      display: flex;
      align-items: baseline;
      gap: 12px;
      flex-wrap: wrap;
    }

    .price-main {
      display: flex;
      align-items: baseline;
      gap: 10px;
      flex-wrap: wrap;
    }

    .price {
      font-size: 2.35rem;
      line-height: 1;
      font-weight: 900;
    }

    .tax-note {
      color: var(--muted);
      font-size: .92rem;
      font-weight: 750;
    }

    .price-compare {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 7px;
      color: var(--muted);
      font-size: .92rem;
      font-weight: 650;
      flex-wrap: wrap;
    }

    .was {
      color: var(--muted);
      text-decoration: line-through;
      font-weight: 700;
    }

    .saving {
      color: var(--accent);
      font-weight: 850;
    }

    .save {
      color: #fff;
      background: var(--accent);
      border-radius: 999px;
      padding: 3px 9px;
      font-size: .8rem;
      font-weight: 850;
    }

    .meta-row {
      justify-content: space-between;
      gap: 12px;
      margin-top: 10px;
      color: var(--green);
      font-weight: 800;
      flex-wrap: wrap;
    }

    .stock-alert {
      display: flex;
      align-items: center;
      gap: 8px;
      width: 100%;
      min-height: 38px;
      padding: 8px 12px;
      color: #14543a;
      background: #eaf7f0;
      border: 1px solid #b8e1cb;
      border-radius: var(--radius);
      font-weight: 800;
    }

    .stock-alert svg {
      color: var(--green);
      flex: 0 0 auto;
    }

    .summary-copy {
      margin: 0 0 12px;
      color: var(--muted);
    }

    .summary-divider {
      height: 1px;
      margin: 0 0 12px;
      background: var(--line);
    }

    .summary-divider + .buy-row {
      margin-top: 6px;
    }

    .buy-row {
      display: grid;
      grid-template-columns: auto 1fr auto auto;
      gap: 10px;
      align-items: center;
    }

    .qty {
      height: 44px;
      border: 1px solid #cfd6dd;
      border-radius: var(--radius);
      overflow: hidden;
      background: #fff;
    }

    .qty button {
      width: 42px;
      min-height: 42px;
      background: #fff;
      border-radius: 0;
    }

    .qty input {
      width: 46px;
      height: 42px;
      border: 0;
      text-align: center;
      font-weight: 800;
      color: var(--ink);
    }

    .express-checkout {
      display: grid;
      gap: 11px;
      margin-top: 18px;
      padding-top: 18px;
      border-top: 1px solid var(--line);
    }

    .buy-row + .buy-now {
      margin-top: 14px;
    }

    .checkout-btn {
      width: 100%;
      min-height: 48px;
      border-radius: 4px;
      border: 1px solid transparent;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      cursor: pointer;
      font-weight: 850;
      font-size: .98rem;
      text-transform: uppercase;
      transition: transform .16s ease, filter .16s ease, background .16s ease;
    }

    .checkout-btn:hover {
      transform: translateY(-1px);
      filter: brightness(.98);
    }

    .buy-now {
      color: #fff;
      background: var(--accent);
      border-color: var(--accent);
    }

    .buy-now:hover {
      background: var(--accent-dark);
      border-color: var(--accent-dark);
    }

    .share-actions {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 9px;
    }

    .share-btn {
      min-height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--ink);
      background: #fff;
      border: 1px solid #cfd6dd;
      border-radius: var(--radius);
      cursor: pointer;
      font-weight: 800;
      transition: transform .16s ease, background .16s ease, border-color .16s ease;
    }

    .share-btn:hover {
      background: var(--panel-strong);
      transform: translateY(-1px);
    }

    .share-mark {
      width: 20px;
      height: 20px;
      display: inline-grid;
      place-items: center;
      color: #fff;
      border-radius: 999px;
      font-size: .82rem;
      font-weight: 900;
      line-height: 1;
    }

    .facebook-share .share-mark {
      background: #1877f2;
    }

    .x-share .share-mark {
      background: #111820;
    }

    .pinterest-share .share-mark {
      background: #bd081c;
    }

    .whatsapp-share .share-mark {
      background: #25d366;
    }

    .linkedin-share .share-mark {
      background: #0a66c2;
      font-size: .72rem;
      font-family: Arial, sans-serif;
    }

    .email-share svg {
      color: var(--accent);
    }

    .fitment-card,
    .delivery-card {
      padding: 18px;
      display: grid;
      gap: 12px;
    }

    .card-title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .card-title h2,
    .card-title h3 {
      margin-bottom: 0;
      font-size: 1.05rem;
    }

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

    .field {
      display: grid;
      gap: 5px;
    }

    .field label {
      color: var(--muted);
      font-size: .76rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .06em;
    }

    .field select,
    .field input {
      width: 100%;
      min-width: 0;
      height: 42px;
      padding: 0 11px;
      color: var(--ink);
      border: 1px solid #cfd6dd;
      border-radius: var(--radius);
      background: #fff;
    }

    .delivery-option {
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: 12px;
      align-items: start;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .delivery-option svg {
      color: var(--steel);
      margin-top: 2px;
    }

    .delivery-option strong {
      display: block;
    }

    .delivery-option span {
      color: var(--muted);
      font-size: .92rem;
    }

    .success-alert {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 10px;
      align-items: start;
      padding: 13px 14px;
      color: #14543a;
      background: #eaf7f0;
      border: 1px solid #b8e1cb;
      border-radius: var(--radius);
      font-weight: 400;
    }

    .success-alert svg {
      color: var(--green);
      margin-top: 1px;
    }

    .success-alert strong {
      font-weight: 800;
    }

    .price-match-card .secondary-btn {
      width: 100%;
    }

    .price-match-content {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 12px;
      align-items: start;
      padding: 12px;
      background: #f7f8fa;
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .price-match-content svg {
      color: var(--accent);
      margin-top: 2px;
    }

    .price-match-content strong {
      display: block;
      margin-bottom: 2px;
    }

    .price-match-content span {
      color: var(--muted);
      font-size: .92rem;
    }

    .section {
      padding: 54px 0;
    }

    .section.alt {
      background: #fff;
    }

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

    .section-heading h2 {
      margin-bottom: 4px;
      font-size: clamp(1.7rem, 3vw, 2.35rem);
      line-height: 1.05;
    }

    .section-heading p {
      margin-bottom: 0;
      color: var(--muted);
    }

    .details-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 22px;
      align-items: start;
    }

    .details-panel {
      padding: 20px;
    }

    .combo-panel {
      display: grid;
      gap: 18px;
      padding: 20px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: 0 12px 36px rgba(23, 27, 33, .05);
    }

    .combo-head {
      display: flex;
      align-items: start;
      justify-content: space-between;
      gap: 18px;
    }

    .combo-head .eyebrow {
      display: inline-flex;
      color: var(--accent);
      background: #fff5f4;
      border: 1px solid #f0b7b2;
      border-radius: 999px;
      padding: 4px 9px;
      letter-spacing: .06em;
    }

    .combo-head h2 {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 6px;
      font-size: 1.35rem;
      line-height: 1.2;
    }

    .combo-head p {
      margin-bottom: 0;
      color: var(--muted);
    }

    .combo-saving {
      min-height: 30px;
      display: inline-flex;
      align-items: center;
      padding: 0 11px;
      color: #fff;
      background: var(--accent);
      border-radius: 999px;
      font-size: .82rem;
      font-weight: 850;
      white-space: nowrap;
    }

    .combo-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 220px;
      gap: 18px;
      align-items: start;
    }

    .combo-products {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 10px;
      align-items: stretch;
      align-content: start;
      max-height: 390px;
      overflow: auto;
      padding-right: 4px;
    }

    .combo-item {
      display: grid;
      grid-template-columns: auto 62px minmax(0, 1fr);
      gap: 12px;
      align-items: center;
      min-height: 88px;
      padding: 10px;
      background: #f7f8fa;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      cursor: pointer;
      transition: background .18s ease, border-color .18s ease, opacity .18s ease;
    }

    .combo-item:has(input:checked) {
      background: #fff;
      border-color: #cfd6dd;
    }

    .combo-item:has(input:not(:checked)) {
      opacity: .58;
    }

    .combo-item input {
      width: 18px;
      height: 18px;
      accent-color: var(--accent);
      cursor: pointer;
    }

    .combo-item img {
      width: 62px;
      height: 62px;
      object-fit: contain;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 8px;
    }

    .combo-item span {
      min-width: 0;
    }

    .combo-item strong {
      display: block;
      margin-bottom: 4px;
      font-size: .95rem;
      line-height: 1.25;
    }

    .combo-item small {
      display: block;
      color: var(--muted);
      font-size: .82rem;
    }

    .combo-item b {
      display: block;
      margin-top: 4px;
      font-size: .95rem;
    }

    .combo-item b small {
      display: inline;
      color: var(--muted);
      font-size: .78rem;
      font-weight: 750;
    }

    .combo-summary {
      position: sticky;
      top: 150px;
      display: grid;
      align-content: center;
      gap: 8px;
      padding: 16px;
      background: #f7f8fa;
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .combo-summary span,
    .combo-summary small {
      color: var(--muted);
    }

    .combo-summary span strong {
      color: var(--ink);
      font-size: inherit;
      line-height: inherit;
    }

    .combo-summary > strong {
      color: var(--ink);
      font-size: 1.65rem;
      line-height: 1;
    }

    .combo-summary [data-combo-total] {
      color: var(--ink);
    }

    .combo-summary > strong small {
      color: var(--muted);
      font-size: .82rem;
      font-weight: 750;
    }

    .combo-summary-saving b {
      color: var(--accent);
    }

    .tabs {
      gap: 8px;
      margin-bottom: 18px;
      flex-wrap: wrap;
    }

    .tab {
      padding: 0 13px;
      background: #fff;
      border: 1px solid #cfd6dd;
      color: #303841;
    }

    .tab.active {
      color: #fff;
      background: var(--steel);
      border-color: var(--steel);
    }

    .tab-panel {
      display: none;
    }

    .tab-panel.active {
      display: block;
    }

    .spec-list {
      display: grid;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
    }

    .spec-row {
      justify-content: space-between;
      gap: 18px;
      min-height: 44px;
      padding: 10px 12px;
      background: #fff;
      border-bottom: 1px solid var(--line);
    }

    .spec-row:nth-child(odd) {
      background: #f7f8fa;
    }

    .spec-row:last-child {
      border-bottom: 0;
    }

    .spec-row span:first-child {
      color: var(--muted);
      font-weight: 750;
    }

    .spec-row strong {
      font-weight: 400;
    }

    .bullets {
      margin: 0;
      padding-left: 20px;
      color: #343c46;
    }

    .bullets li + li {
      margin-top: 9px;
    }

    .fitment-guide {
      margin-top: 12px;
    }

    .fitment-note {
      margin: 10px 0 14px;
      padding: 12px 14px;
      color: #4f3f12;
      background: #fff7df;
      border: 1px solid #eed68a;
      border-radius: var(--radius);
      font-size: .94rem;
      font-weight: 650;
    }

    .fitment-guide h3 {
      margin-bottom: 12px;
      font-size: 1.1rem;
    }

    .fitment-guide table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      overflow: hidden;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .fitment-guide th,
    .fitment-guide td {
      padding: 12px 14px;
      text-align: left;
      border-bottom: 1px solid var(--line);
    }

    .fitment-guide th {
      color: #303841;
      background: #f3f5f7;
      font-size: .82rem;
      font-weight: 850;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .fitment-guide td {
      color: #303841;
      font-weight: 400;
    }

    .fitment-guide tbody tr:last-child td {
      border-bottom: 0;
    }

    .review-card {
      padding: 18px;
      display: grid;
      gap: 14px;
    }

    .review-head {
      justify-content: space-between;
      gap: 14px;
    }

    .review-rating {
      gap: 10px;
      flex-wrap: wrap;
    }

    .review-count {
      min-height: 28px;
      display: inline-flex;
      align-items: center;
      padding: 0 10px;
      color: var(--muted);
      background: #f3f5f7;
      border: 1px solid var(--line);
      border-radius: 999px;
      font-size: .86rem;
      font-weight: 750;
    }

    .review-count:hover {
      color: var(--accent);
      background: #fff;
    }

    .review-score {
      font-size: 3rem;
      line-height: 1;
      font-weight: 900;
    }

    .bars {
      display: grid;
      gap: 8px;
    }

    .bar {
      display: grid;
      grid-template-columns: 54px minmax(0, 1fr) 38px;
      gap: 8px;
      align-items: center;
      color: var(--muted);
      font-size: .88rem;
    }

    .track {
      height: 8px;
      background: #e5e9ee;
      border-radius: 999px;
      overflow: hidden;
    }

    .fill {
      height: 100%;
      background: var(--yellow);
    }

    .quote {
      margin: 0;
      padding-top: 14px;
      border-top: 1px solid var(--line);
      color: #303841;
    }

    .review-list {
      display: grid;
      gap: 12px;
      padding-top: 14px;
      border-top: 1px solid var(--line);
    }

    .review-item {
      padding: 14px;
      background: #f7f8fa;
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .review-meta {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: start;
      margin-bottom: 9px;
    }

    .review-meta strong,
    .review-meta span {
      display: block;
    }

    .review-meta > div span {
      color: var(--muted);
      font-size: .86rem;
    }

    .review-item p {
      margin-bottom: 0;
      color: #303841;
    }

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

    .related-card {
      overflow: hidden;
      display: grid;
      grid-template-rows: auto 1fr;
    }

    .related-media {
      position: relative;
      background: #f7f8fa;
      border-bottom: 1px solid var(--line);
    }

    .related-media img {
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: contain;
      padding: 10px;
      background: #fff;
    }

    .related-pill {
      position: absolute;
      top: 10px;
      left: 10px;
      min-height: 26px;
      display: inline-flex;
      align-items: center;
      padding: 0 9px;
      color: #fff;
      background: var(--steel);
      border-radius: var(--radius);
      font-size: .74rem;
      font-weight: 850;
    }

    .related-pill.sale {
      background: var(--accent);
    }

    .related-pill.genuine {
      background: var(--green);
    }

    .related-body {
      display: grid;
      gap: 10px;
      padding: 14px;
    }

    .related-body h3 {
      margin-bottom: 0;
      font-size: 1rem;
      line-height: 1.25;
    }

    .related-sku {
      color: var(--muted);
      font-size: .84rem;
    }

    .related-stock {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: .84rem;
      font-weight: 850;
    }

    .related-stock svg {
      width: 16px;
      height: 16px;
    }

    .related-stock.in-stock {
      color: var(--green);
    }

    .related-stock.low-stock,
    .related-stock.preorder {
      color: #9a6a00;
    }

    .related-price-row {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 10px;
    }

    .related-price-row small {
      color: var(--muted);
      font-size: .78rem;
      font-weight: 750;
    }

    .sale-price-row {
      align-items: end;
    }

    .sale-price-row div {
      display: grid;
      justify-items: end;
      gap: 1px;
    }

    .sale-price-row b {
      color: var(--accent);
      font-size: .78rem;
      font-weight: 850;
    }

    .related-price {
      font-size: 1.18rem;
      font-weight: 850;
    }

    .related-body .primary-btn {
      width: 100%;
      min-height: 40px;
      justify-content: center;
      margin-top: 2px;
    }

    .footer {
      color: #d9e0e8;
      background: #141920;
      padding: 42px 0 26px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.2fr repeat(3, 1fr);
      gap: 28px;
      margin-bottom: 32px;
    }

    .footer h3,
    .footer h4 {
      color: #fff;
      margin-bottom: 12px;
    }

    .footer p,
    .footer a {
      color: #b9c3cf;
    }

    .footer a {
      display: block;
      margin: 8px 0;
    }

    .newsletter {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 8px;
      max-width: 430px;
    }

    .newsletter input {
      min-width: 0;
      height: 42px;
      border: 1px solid #3b4652;
      border-radius: var(--radius);
      padding: 0 12px;
      color: #fff;
      background: #202832;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 18px;
      padding-top: 22px;
      border-top: 1px solid #303945;
      color: #aeb9c5;
      font-size: .9rem;
    }

    @media (max-width: 980px) {
      .nav-inner {
        grid-template-columns: 1fr auto;
      }

      .search {
        grid-column: 1 / -1;
        order: 3;
      }

      .product-layout,
      .details-grid {
        grid-template-columns: 1fr;
      }

      .combo-layout {
        grid-template-columns: 1fr;
      }

      .combo-summary {
        position: static;
      }

      .gallery {
        position: static;
      }

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

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

    @media (max-width: 680px) {
      .topbar-inner {
        justify-content: center;
      }

      .topbar-links,
      .nav-actions .ghost-btn {
        display: none;
      }

      .nav-inner {
        gap: 12px;
        min-height: 68px;
      }

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

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

      .thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        order: 2;
      }

      .main-photo {
        aspect-ratio: 4 / 3;
      }

      .summary-panel {
        padding: 18px;
      }

      .combo-panel {
        padding: 16px;
      }

      .combo-head {
        flex-direction: column;
      }

      .combo-item {
        grid-template-columns: auto 58px minmax(0, 1fr);
      }

      .combo-item img {
        width: 58px;
        height: 58px;
      }

      .product-meta {
        gap: 8px;
      }

      .product-meta .brand-line,
      .product-meta .sku,
      .product-meta .mpn {
        font-size: .78rem;
      }

      .meta-separator {
        height: 14px;
      }

      .fit-grid,
      .related-grid,
      .footer-grid,
      .newsletter {
        grid-template-columns: 1fr;
      }

      .buy-row {
        grid-template-columns: 1fr auto auto;
      }

      .buy-row .qty {
        grid-column: 1 / -1;
      }

      .share-actions {
        grid-template-columns: repeat(6, minmax(36px, 1fr));
        gap: 7px;
      }

      .qty {
        width: 100%;
        justify-content: space-between;
      }

      .section-heading,
      .footer-bottom {
        align-items: stretch;
        flex-direction: column;
      }
    }


    body[data-theme="dark"] {
      --ink: #f3f6f9;
      --muted: #aeb8c4;
      --line: #33404c;
      --panel: #151b22;
      --panel-strong: #202832;
      --steel: #111820;
      --shadow: 0 20px 60px rgba(0, 0, 0, .34);
      color-scheme: dark;
      background: #0f141a;
    }

    body[data-theme="dark"] .nav,
    body[data-theme="dark"] .main-menu,
    body[data-theme="dark"] .account-dropdown,
    body[data-theme="dark"] .search input,
    body[data-theme="dark"] .search-results,
    body[data-theme="dark"] .search-view-all,
    body[data-theme="dark"] .fitment,
    body[data-theme="dark"] .category,
    body[data-theme="dark"] .product-card,
    body[data-theme="dark"] .brand-card,
    body[data-theme="dark"] .filters,
    body[data-theme="dark"] .promo-panel,
    body[data-theme="dark"] .support-panel,
    body[data-theme="dark"] .service,
    body[data-theme="dark"] .summary-panel,
    body[data-theme="dark"] .delivery-card,
    body[data-theme="dark"] .details-panel,
    body[data-theme="dark"] .review-card,
    body[data-theme="dark"] .combo-panel,
    body[data-theme="dark"] .related-card,
    body[data-theme="dark"] .cart-panel,
    body[data-theme="dark"] .cart-footer,
    body[data-theme="dark"] .gallery-lightbox-panel,
    body[data-theme="dark"] .main-photo,
    body[data-theme="dark"] .thumb,
    body[data-theme="dark"] .combo-item:has(input:checked),
    body[data-theme="dark"] .combo-summary,
    body[data-theme="dark"] .price-match-content,
    body[data-theme="dark"] .option,
    body[data-theme="dark"] .review-item,
    body[data-theme="dark"] .spec-list,
    body[data-theme="dark"] .fitment-guide,
    body[data-theme="dark"] .related-media,
    body[data-theme="dark"] .related-media img,
    body[data-theme="dark"] .cart-item img {
      background: var(--panel);
      border-color: var(--line);
    }

    body[data-theme="dark"] .section.alt,
    body[data-theme="dark"] .product-hero,
    body[data-theme="dark"] .main-submenu,
    body[data-theme="dark"] .combo-item,
    body[data-theme="dark"] .spec-row:nth-child(odd),
    body[data-theme="dark"] .cart-quantity,
    body[data-theme="dark"] .cart-quantity button,
    body[data-theme="dark"] .qty,
    body[data-theme="dark"] .qty button,
    body[data-theme="dark"] .qty input,
    body[data-theme="dark"] .tab,
    body[data-theme="dark"] .secondary-btn,
    body[data-theme="dark"] .icon-btn,
    body[data-theme="dark"] .ghost-btn {
      background: var(--panel-strong);
      border-color: var(--line);
      color: var(--ink);
    }

    body[data-theme="dark"] .search-result:hover,
    body[data-theme="dark"] .chip,
    body[data-theme="dark"] .main-menu a:hover,
    body[data-theme="dark"] .main-menu-item:hover > button,
    body[data-theme="dark"] .account-dropdown a:hover,
    body[data-theme="dark"] .share-btn:hover {
      background: #26313c;
    }

    body[data-theme="dark"] .store-notice {
      color: #ffd98a;
      background: #2a2111;
      border-color: #604a18;
    }

    body[data-theme="dark"] .store-notice strong,
    body[data-theme="dark"] .combo-summary [data-combo-total],
    body[data-theme="dark"] .combo-summary span strong,
    body[data-theme="dark"] .review-item p {
      color: var(--ink);
    }

    body[data-theme="dark"] .product-media,
    body[data-theme="dark"] .brand-card img,
    body[data-theme="dark"] .main-photo img,
    body[data-theme="dark"] .thumb img,
    body[data-theme="dark"] .combo-item img {
      background: #fff;
    }

    .footer .footer-social .share-btn {
      width: 42px;
      height: 42px;
      min-height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      line-height: 1;
    }

    .footer .footer-social .share-mark {
      width: 22px;
      height: 22px;
      display: inline-grid;
      place-items: center;
      font-size: .9rem;
      line-height: 1;
    }

    .footer .footer-social .linkedin-share .share-mark {
      font-size: .76rem;
    }

    .footer .footer-social .email-share svg {
      width: 20px;
      height: 20px;
    }

    body[data-theme="dark"] {
      background: #0d1319;
      color: var(--ink);
    }

    body[data-theme="dark"] .nav {
      background: rgba(15, 21, 28, .97);
    }

    body[data-theme="dark"] .main-menu {
      background: #111820;
    }

    body[data-theme="dark"] .main-menu a,
    body[data-theme="dark"] .main-menu-item > button,
    body[data-theme="dark"] .topbar-links,
    body[data-theme="dark"] .account-button {
      color: #e8edf3;
    }

    body[data-theme="dark"] .main-menu a svg,
    body[data-theme="dark"] .main-menu-item > button svg,
    body[data-theme="dark"] .topbar svg {
      color: #c8d2dc;
    }

    body[data-theme="dark"] .search {
      background: var(--panel);
      border-color: var(--line);
    }

    body[data-theme="dark"] .search input {
      background: transparent;
      color: #f3f6f9;
    }

    body[data-theme="dark"] .search input::placeholder {
      color: #9faab6;
      opacity: 1;
    }

    body[data-theme="dark"] input,
    body[data-theme="dark"] select,
    body[data-theme="dark"] textarea,
    body[data-theme="dark"] .field select,
    body[data-theme="dark"] .field input,
    body[data-theme="dark"] .newsletter input {
      background: #111820;
      border-color: #3a4654;
      color: #f3f6f9;
    }

    body[data-theme="dark"] input::placeholder,
    body[data-theme="dark"] textarea::placeholder,
    body[data-theme="dark"] .field input::placeholder,
    body[data-theme="dark"] .newsletter input::placeholder {
      color: #9faab6;
      opacity: 1;
    }

    body[data-theme="dark"] .fitment {
      background: rgba(21, 27, 34, .96);
      border: 1px solid var(--line);
    }

    body[data-theme="dark"] .field label,
    body[data-theme="dark"] .filter-title,
    body[data-theme="dark"] .section-heading p,
    body[data-theme="dark"] .product-card .sku,
    body[data-theme="dark"] .product-card small,
    body[data-theme="dark"] .latest-price-compare,
    body[data-theme="dark"] .support-panel p,
    body[data-theme="dark"] .promo-panel p,
    body[data-theme="dark"] .service p,
    body[data-theme="dark"] .brand-card span {
      color: #b8c3cf;
    }

    body[data-theme="dark"] .check-row,
    body[data-theme="dark"] .chip,
    body[data-theme="dark"] .secondary-btn,
    body[data-theme="dark"] .ghost-btn,
    body[data-theme="dark"] .icon-btn,
    body[data-theme="dark"] .product-card h3,
    body[data-theme="dark"] .product-card h3 a,
    body[data-theme="dark"] .brand-card,
    body[data-theme="dark"] .price,
    body[data-theme="dark"] .latest-products-grid .price,
    body[data-theme="dark"] .footer h3 {
      color: #f3f6f9;
    }

    body[data-theme="dark"] .chip {
      background: #151d26;
      border-color: #3a4654;
    }

    body[data-theme="dark"] .chip.active {
      background: #2b3642;
      border-color: #465666;
      color: #fff;
    }

    body[data-theme="dark"] .filters,
    body[data-theme="dark"] .product-card,
    body[data-theme="dark"] .brand-card,
    body[data-theme="dark"] .promo-panel,
    body[data-theme="dark"] .support-panel,
    body[data-theme="dark"] .service {
      box-shadow: none;
    }

    body[data-theme="dark"] .product-card {
      background: #121920;
    }

    body[data-theme="dark"] .product-body {
      background: transparent;
    }

    body[data-theme="dark"] .product-media {
      background: #fff;
    }

    body[data-theme="dark"] .section {
      background: #0d1319;
    }

    body[data-theme="dark"] .section.alt {
      background: #1a242e;
    }

    body[data-theme="dark"] .hero {
      background:
        linear-gradient(90deg, rgba(7, 11, 15, .94), rgba(8, 12, 17, .74) 50%, rgba(8, 12, 17, .34)),
        url("https://images.unsplash.com/photo-1632823469850-1b7b1e8b7e1e?auto=format&fit=crop&w=1800&q=82") center/cover;
    }

    body[data-theme="dark"] .hero-copy p {
      color: #dfe7ef;
    }

    body[data-theme="dark"] .account-dropdown a,
    body[data-theme="dark"] .main-submenu a,
    body[data-theme="dark"] .search-result,
    body[data-theme="dark"] .search-result strong {
      color: #f3f6f9;
    }

    body[data-theme="dark"] .search-result small,
    body[data-theme="dark"] .search-result-price small {
      color: #b8c3cf;
    }

    body[data-theme="dark"] .account-dropdown a:hover,
    body[data-theme="dark"] .main-menu a:hover,
    body[data-theme="dark"] .main-menu-item:hover > button,
    body[data-theme="dark"] .secondary-btn:hover,
    body[data-theme="dark"] .ghost-btn:hover,
    body[data-theme="dark"] .icon-btn:hover {
      background: #26313c;
      color: #fff;
    }

    body[data-theme="dark"] .filters h3,
    body[data-theme="dark"] .summary-panel h1,
    body[data-theme="dark"] .details-panel h2,
    body[data-theme="dark"] .details-panel h3,
    body[data-theme="dark"] .review-card h2,
    body[data-theme="dark"] .combo-panel h2,
    body[data-theme="dark"] .delivery-card h3,
    body[data-theme="dark"] .fitment-guide h3,
    body[data-theme="dark"] .related-card h3,
    body[data-theme="dark"] .price-match-content strong,
    body[data-theme="dark"] .cart-panel h2,
    body[data-theme="dark"] .cart-item-title {
      color: #f3f6f9;
    }

    body[data-theme="dark"] .summary-panel p,
    body[data-theme="dark"] .details-panel p,
    body[data-theme="dark"] .details-panel li,
    body[data-theme="dark"] .combo-panel p,
    body[data-theme="dark"] .delivery-alert,
    body[data-theme="dark"] .price-match-content p,
    body[data-theme="dark"] .cart-panel p,
    body[data-theme="dark"] .cart-item-meta,
    body[data-theme="dark"] .fitment-note,
    body[data-theme="dark"] .review-meta > div span,
    body[data-theme="dark"] .bar,
    body[data-theme="dark"] .review-count {
      color: #b8c3cf;
    }

    body[data-theme="dark"] .fitment-note,
    body[data-theme="dark"] .review-count,
    body[data-theme="dark"] .review-item,
    body[data-theme="dark"] .fitment-guide table,
    body[data-theme="dark"] .fitment-guide th,
    body[data-theme="dark"] .fitment-guide td,
    body[data-theme="dark"] .related-body,
    body[data-theme="dark"] .cart-empty {
      background: #151d26;
      border-color: var(--line);
    }

    body[data-theme="dark"] .fitment-guide th,
    body[data-theme="dark"] .fitment-guide td,
    body[data-theme="dark"] .quote,
    body[data-theme="dark"] .spec-row,
    body[data-theme="dark"] .spec-row strong,
    body[data-theme="dark"] .meta-value,
    body[data-theme="dark"] .sale-line,
    body[data-theme="dark"] .was-price,
    body[data-theme="dark"] .product-meta,
    body[data-theme="dark"] .cart-total,
    body[data-theme="dark"] .cart-total strong {
      color: #e8edf3;
    }

    body[data-theme="dark"] .summary-divider,
    body[data-theme="dark"] .section-divider,
    body[data-theme="dark"] .filter-group,
    body[data-theme="dark"] .review-list,
    body[data-theme="dark"] .quote,
    body[data-theme="dark"] .cart-item,
    body[data-theme="dark"] .cart-footer {
      border-color: var(--line);
    }

    body[data-theme="dark"] .track {
      background: #303b47;
    }

    body[data-theme="dark"] .stock,
    body[data-theme="dark"] .cart-stock,
    body[data-theme="dark"] .search-result em:not(.stock-unavailable) {
      color: #5ee39b;
    }

    body[data-theme="dark"] .sale-save,
    body[data-theme="dark"] .save-line,
    body[data-theme="dark"] .latest-price-compare b {
      color: #ff6b61;
    }

    body[data-theme="dark"] .brand-card img,
    body[data-theme="dark"] .product-media img,
    body[data-theme="dark"] .related-media img,
    body[data-theme="dark"] .cart-item img {
      background: #fff;
    }

    body[data-theme="dark"] .gallery-arrow,
    body[data-theme="dark"] .gallery-expand,
    body[data-theme="dark"] .lightbox-close {
      color: #111820;
      background: rgba(255, 255, 255, .96);
      border-color: #d6dee6;
      box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
    }

    body[data-theme="dark"] .gallery-arrow:hover,
    body[data-theme="dark"] .gallery-expand:hover,
    body[data-theme="dark"] .lightbox-close:hover {
      color: #0d1319;
      background: #fff;
      border-color: #fff;
    }

    body[data-theme="dark"] .gallery-arrow svg,
    body[data-theme="dark"] .gallery-expand svg,
    body[data-theme="dark"] .lightbox-close svg {
      stroke: currentColor;
    }

    body[data-theme="dark"] .spec-list {
      background: #121920;
      border-color: var(--line);
    }

    body[data-theme="dark"] .spec-row {
      background: #121920;
      border-color: var(--line);
      color: #e8edf3;
    }

    body[data-theme="dark"] .spec-row:nth-child(odd) {
      background: #1b2530;
    }

    body[data-theme="dark"] .spec-row span:first-child {
      color: #b8c3cf;
    }

    body[data-theme="dark"] .spec-row strong {
      color: #f3f6f9;
    }

    body[data-theme="dark"] .fitment-guide table {
      background: #121920;
      border-color: var(--line);
    }

    body[data-theme="dark"] .fitment-guide th {
      background: #26313c;
      color: #f3f6f9;
      border-color: var(--line);
    }

    body[data-theme="dark"] .fitment-guide td {
      background: #121920;
      color: #e8edf3;
      border-color: var(--line);
    }

    body[data-theme="dark"] .fitment-guide tbody tr:nth-child(even) td {
      background: #151d26;
    }

    body[data-theme="dark"] .fitment-note {
      color: #ffd98a;
      background: #2a2111;
      border-color: #604a18;
    }

    .wishlist-page {
      padding-top: 24px;
    }

    .wishlist-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 22px;
    }

    .wishlist-head h1 {
      max-width: none;
      margin: 8px 0 10px;
      font-size: clamp(2rem, 4vw, 3.2rem);
      line-height: 1.02;
    }

    .wishlist-head p {
      max-width: 64ch;
      margin-bottom: 0;
      color: var(--muted);
    }

    .wishlist-head .eyebrow {
      color: #b1271f;
    }

    .wishlist-head .eyebrow svg {
      color: #d92b21;
    }

    .wishlist-summary {
      min-width: 220px;
      display: grid;
      gap: 5px;
      padding: 16px;
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .wishlist-summary span {
      color: var(--muted);
      font-weight: 750;
    }

    .wishlist-summary strong {
      font-size: 1.7rem;
      line-height: 1;
    }

    .wishlist-summary small {
      color: var(--muted);
      font-size: .78rem;
      font-weight: 750;
    }

    .wishlist-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 18px;
      padding: 12px;
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .wishlist-select,
    .wishlist-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .wishlist-select span {
      color: var(--muted);
      font-size: .86rem;
      font-weight: 800;
    }

    .wishlist-select select {
      min-height: 38px;
      padding: 0 34px 0 11px;
      color: var(--ink);
      background: var(--panel-strong);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      font-weight: 750;
    }

    .wishlist-grid {
      display: grid;
      gap: 14px;
    }

    .wishlist-card {
      display: grid;
      grid-template-columns: 190px minmax(0, 1fr);
      gap: 18px;
      padding: 14px;
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .wishlist-media {
      position: relative;
      display: block;
      min-height: 170px;
      overflow: hidden;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .wishlist-media img {
      width: 100%;
      height: 100%;
      min-height: 170px;
      object-fit: contain;
      padding: 10px;
      background: #fff;
    }

    .wishlist-body {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(150px, auto);
      gap: 16px;
      align-items: center;
    }

    .wishlist-body h2 {
      margin: 6px 0 8px;
      font-size: 1.12rem;
      line-height: 1.2;
    }

    .wishlist-body p {
      margin: 0;
      color: var(--muted);
      font-size: .9rem;
      font-weight: 650;
    }

    .wishlist-price-row {
      display: grid;
      justify-items: end;
      gap: 6px;
      text-align: right;
    }

    .wishlist-price-row strong {
      font-size: 1.42rem;
      line-height: 1;
    }

    .wishlist-price-row small {
      color: var(--muted);
      font-size: .76rem;
      font-weight: 750;
    }

    .wishlist-card-actions {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 44px 44px;
      gap: 8px;
    }

    .wishlist-card-actions .primary-btn {
      width: 100%;
    }

    .wishlist-card-actions .remove {
      color: var(--accent);
    }

    body[data-theme="dark"] .wishlist-summary,
    body[data-theme="dark"] .wishlist-toolbar,
    body[data-theme="dark"] .wishlist-card {
      background: var(--panel);
      border-color: var(--line);
      box-shadow: none;
    }

    body[data-theme="dark"] .wishlist-head p,
    body[data-theme="dark"] .wishlist-summary span,
    body[data-theme="dark"] .wishlist-summary small,
    body[data-theme="dark"] .wishlist-select span,
    body[data-theme="dark"] .wishlist-body p,
    body[data-theme="dark"] .wishlist-price-row small {
      color: #b8c3cf;
    }

    body[data-theme="dark"] .wishlist-summary strong,
    body[data-theme="dark"] .wishlist-body h2,
    body[data-theme="dark"] .wishlist-price-row strong {
      color: #f3f6f9;
    }

    body[data-theme="dark"] .wishlist-select select {
      background: #111820;
      border-color: #3a4654;
      color: #f3f6f9;
    }

    body[data-theme="dark"] .wishlist-media,
    body[data-theme="dark"] .wishlist-media img {
      background: #fff;
    }

    @media (max-width: 780px) {
      .wishlist-head,
      .wishlist-toolbar {
        align-items: stretch;
        flex-direction: column;
      }

      .wishlist-actions {
        align-items: stretch;
        flex-direction: column;
      }

      .wishlist-actions .secondary-btn,
      .wishlist-actions .primary-btn {
        width: 100%;
      }

      .wishlist-summary {
        min-width: 0;
      }

      .wishlist-card {
        grid-template-columns: 1fr;
      }

      .wishlist-body {
        grid-template-columns: 1fr;
      }

      .wishlist-price-row {
        justify-items: start;
        text-align: left;
      }
    }

    .compare-page {
      padding-top: 24px;
    }

    .compare-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 22px;
    }

    .compare-head h1 {
      max-width: none;
      margin: 8px 0 10px;
      font-size: clamp(2rem, 4vw, 3.2rem);
      line-height: 1.02;
    }

    .compare-head p {
      max-width: 64ch;
      margin-bottom: 0;
      color: var(--muted);
    }

    .compare-eyebrow {
      color: #33404c;
    }

    .compare-eyebrow svg {
      color: var(--accent);
    }

    .compare-summary {
      min-width: 210px;
      display: grid;
      gap: 5px;
      padding: 16px;
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .compare-summary span {
      color: var(--muted);
      font-weight: 750;
    }

    .compare-summary strong {
      font-size: 1.35rem;
      line-height: 1;
    }

    .compare-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 18px;
      padding: 12px;
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .compare-table-wrap {
      overflow-x: auto;
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .compare-table {
      width: 100%;
      min-width: 980px;
      border-collapse: separate;
      border-spacing: 0;
    }

    .compare-table th,
    .compare-table td {
      width: 25%;
      padding: 14px;
      text-align: left;
      vertical-align: top;
      border-right: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

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

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

    .compare-table thead th {
      background: var(--panel-strong);
    }

    .compare-table tbody th {
      color: var(--muted);
      background: var(--panel-strong);
      font-size: .82rem;
      font-weight: 850;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .compare-table tbody td {
      color: var(--ink);
      font-weight: 650;
    }

    .compare-product {
      position: relative;
      display: grid;
      gap: 8px;
    }

    .compare-product img {
      width: 100%;
      height: 150px;
      object-fit: contain;
      padding: 10px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .compare-product strong {
      line-height: 1.2;
    }

    .compare-product small {
      color: var(--muted);
      font-weight: 750;
    }

    .compare-remove {
      position: absolute;
      top: 8px;
      right: 8px;
      z-index: 2;
      width: 32px;
      height: 32px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--muted);
      background: rgba(255, 255, 255, .94);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      cursor: pointer;
    }

    .compare-remove:hover {
      color: var(--accent);
    }

    .compare-price {
      display: inline-flex;
      align-items: baseline;
      gap: 4px;
      font-size: 1.35rem;
    }

    .compare-price small {
      color: var(--muted);
      font-size: .76rem;
      font-weight: 750;
    }

    .compare-pill {
      min-height: 28px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 10px;
      border-radius: var(--radius);
      font-size: .82rem;
      font-weight: 850;
    }

    .compare-pill.discontinued {
      color: #fff;
      background: var(--accent);
    }

    .compare-help {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-top: 16px;
      padding: 14px;
      color: #583b00;
      background: #fff8e6;
      border: 1px solid #f0d99c;
      border-radius: var(--radius);
    }

    .compare-help div {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
      font-weight: 700;
    }

    .compare-help svg {
      color: #9a6a00;
      flex: 0 0 auto;
    }

    body[data-theme="dark"] .compare-eyebrow {
      color: #dfe7ef;
    }

    body[data-theme="dark"] .compare-head p,
    body[data-theme="dark"] .compare-summary span,
    body[data-theme="dark"] .compare-product small,
    body[data-theme="dark"] .compare-price small,
    body[data-theme="dark"] .compare-table tbody th {
      color: #b8c3cf;
    }

    body[data-theme="dark"] .compare-summary,
    body[data-theme="dark"] .compare-toolbar,
    body[data-theme="dark"] .compare-table-wrap {
      background: var(--panel);
      border-color: var(--line);
      box-shadow: none;
    }

    body[data-theme="dark"] .compare-table thead th,
    body[data-theme="dark"] .compare-table tbody th {
      background: #202832;
    }

    body[data-theme="dark"] .compare-table td {
      background: #121920;
      color: #e8edf3;
    }

    body[data-theme="dark"] .compare-summary strong,
    body[data-theme="dark"] .compare-product strong,
    body[data-theme="dark"] .compare-price {
      color: #f3f6f9;
    }

    body[data-theme="dark"] .compare-product img {
      background: #fff;
      border-color: var(--line);
    }

    body[data-theme="dark"] .compare-remove {
      color: #111820;
      background: rgba(255, 255, 255, .96);
      border-color: #d6dee6;
    }

    body[data-theme="dark"] .compare-help {
      color: #ffd98a;
      background: #2a2111;
      border-color: #604a18;
    }

    body[data-theme="dark"] .compare-help svg {
      color: #ffd98a;
    }

    @media (max-width: 780px) {
      .compare-head,
      .compare-toolbar,
      .compare-help {
        align-items: stretch;
        flex-direction: column;
      }

      .compare-summary,
      .compare-toolbar .primary-btn,
      .compare-toolbar .secondary-btn,
      .compare-help .secondary-btn {
        width: 100%;
      }
    }

    .cart-page {
      padding-top: 24px;
    }

    .cart-page-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 22px;
    }

    .cart-page-head h1 {
      max-width: none;
      margin: 8px 0 10px;
      font-size: clamp(2rem, 4vw, 3.2rem);
      line-height: 1.02;
    }

    .cart-page-head p {
      max-width: 58ch;
      margin-bottom: 0;
      color: var(--muted);
    }

    .cart-eyebrow {
      color: #33404c;
    }

    .cart-eyebrow svg {
      color: var(--accent);
    }

    .cart-page-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 360px;
      gap: 20px;
      align-items: start;
    }

    .cart-page-items,
    .cart-order-summary {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .cart-page-bar {
      min-height: 58px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 12px 14px;
      border-bottom: 1px solid var(--line);
    }

    .cart-line {
      position: relative;
      display: grid;
      grid-template-columns: 138px minmax(0, 1fr) minmax(170px, auto);
      gap: 16px;
      padding: 14px;
      border-bottom: 1px solid var(--line);
    }

    .cart-line:last-child {
      border-bottom: 0;
    }

    .cart-line-media {
      position: relative;
      width: 138px;
      height: 138px;
    }

    .cart-line-media img {
      width: 138px;
      height: 138px;
      object-fit: contain;
      padding: 10px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .cart-line-main {
      min-width: 0;
      display: grid;
      align-content: start;
      gap: 7px;
    }

    .cart-line-main h2 {
      margin: 0;
      font-size: 1.08rem;
      line-height: 1.25;
    }

    .cart-line-main p {
      margin: 0;
      color: var(--muted);
      font-size: .9rem;
      font-weight: 400;
    }

    .cart-line-main em {
      color: var(--green);
      font-size: .9rem;
      font-style: normal;
      font-weight: 850;
    }

    .cart-line-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 4px;
    }

    .ghost-link {
      min-height: 28px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 0;
      color: var(--muted);
      background: transparent;
      border: 0;
      cursor: pointer;
      font-size: .9rem;
      font-weight: 750;
    }

    .ghost-link:hover {
      color: var(--accent);
    }

    .ghost-link svg {
      width: 17px;
      height: 17px;
    }

    .cart-line-side {
      display: grid;
      justify-items: end;
      align-content: start;
      gap: 12px;
      text-align: right;
    }

    .cart-line-media .cart-remove {
      position: absolute;
      top: 8px;
      right: 8px;
      background: rgba(255, 255, 255, .96);
      box-shadow: 0 8px 20px rgba(23, 27, 33, .12);
    }

    .cart-line-price {
      display: inline-flex;
      align-items: baseline;
      gap: 4px;
      font-size: 1.35rem;
      line-height: 1;
    }

    .cart-line-price small {
      color: var(--muted);
      font-size: .76rem;
      font-weight: 750;
    }

    .cart-page-sale {
      display: grid;
      gap: 4px;
      justify-items: end;
    }

    .cart-page-sale span {
      color: var(--muted);
      font-size: .86rem;
      font-weight: 750;
    }

    .cart-page-sale b {
      color: var(--accent);
      font-size: .86rem;
    }

    .cart-order-summary {
      position: sticky;
      top: 136px;
      display: grid;
      gap: 16px;
      padding: 16px;
    }

    .cart-order-summary h2 {
      margin-bottom: 0;
      font-size: 1.25rem;
    }

    .cart-summary-lines {
      display: grid;
      gap: 0;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
    }

    .cart-summary-lines > div {
      min-height: 44px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 12px;
      border-bottom: 1px solid var(--line);
    }

    .cart-summary-lines > div:last-child {
      border-bottom: 0;
    }

    .cart-summary-lines span,
    .cart-order-summary p,
    .cart-coupon span {
      color: var(--muted);
      font-weight: 700;
    }

    .cart-summary-lines strong {
      text-align: right;
    }

    .cart-summary-total strong {
      font-size: 1.35rem;
    }

    .cart-summary-total small {
      color: var(--muted);
      font-size: .75rem;
      font-weight: 750;
    }

    .cart-coupon {
      display: grid;
      gap: 8px;
    }

    .cart-coupon > div {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
    }

    .cart-coupon input {
      min-width: 0;
      min-height: 42px;
      padding: 0 12px;
      color: var(--ink);
      background: var(--panel-strong);
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .cart-delivery-alert {
      margin: 0;
    }

    .checkout-btn {
      width: 100%;
    }

    body[data-theme="dark"] .cart-eyebrow {
      color: #dfe7ef;
    }

    body[data-theme="dark"] .cart-page-head p,
    body[data-theme="dark"] .cart-line-main p,
    body[data-theme="dark"] .ghost-link,
    body[data-theme="dark"] .cart-line-price small,
    body[data-theme="dark"] .cart-page-sale span,
    body[data-theme="dark"] .cart-summary-lines span,
    body[data-theme="dark"] .cart-order-summary p,
    body[data-theme="dark"] .cart-coupon span,
    body[data-theme="dark"] .cart-summary-total small {
      color: #b8c3cf;
    }

    body[data-theme="dark"] .cart-page-items,
    body[data-theme="dark"] .cart-order-summary {
      background: var(--panel);
      border-color: var(--line);
      box-shadow: none;
    }

    body[data-theme="dark"] .cart-page-bar,
    body[data-theme="dark"] .cart-line,
    body[data-theme="dark"] .cart-summary-lines,
    body[data-theme="dark"] .cart-summary-lines > div {
      border-color: var(--line);
    }

    body[data-theme="dark"] .cart-line-main h2,
    body[data-theme="dark"] .cart-line-price,
    body[data-theme="dark"] .cart-summary-lines strong,
    body[data-theme="dark"] .cart-order-summary h2 {
      color: #f3f6f9;
    }

    body[data-theme="dark"] .cart-line-media img {
      background: #fff;
      border-color: var(--line);
    }

    body[data-theme="dark"] .cart-coupon input {
      background: #111820;
      border-color: #3a4654;
      color: #f3f6f9;
    }

    body[data-theme="dark"] .cart-coupon input::placeholder {
      color: #9faab6;
    }

    @media (max-width: 900px) {
      .cart-page-layout {
        grid-template-columns: 1fr;
      }

      .cart-order-summary {
        position: static;
      }
    }

    @media (max-width: 680px) {
      .cart-page-head,
      .cart-page-bar {
        align-items: stretch;
        flex-direction: column;
      }

      .cart-line {
        grid-template-columns: 96px minmax(0, 1fr);
      }

      .cart-line-media,
      .cart-line-media img {
        width: 96px;
        height: 96px;
      }

      .cart-line-side {
        grid-column: 1 / -1;
        justify-items: stretch;
        text-align: left;
      }

      .cart-line-side .cart-quantity {
        justify-self: start;
      }

      .cart-coupon > div {
        grid-template-columns: 1fr;
      }
    }

    .checkout-page {
      padding-top: 24px;
    }

    .checkout-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 22px;
    }

    .checkout-head h1 {
      max-width: none;
      margin: 8px 0 10px;
      font-size: clamp(2rem, 4vw, 3.2rem);
      line-height: 1.02;
    }

    .checkout-head p {
      max-width: 58ch;
      margin-bottom: 0;
      color: var(--muted);
    }

    .checkout-eyebrow {
      color: #33404c;
    }

    .checkout-eyebrow svg {
      color: var(--accent);
    }

    .checkout-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 380px;
      gap: 20px;
      align-items: start;
    }

    .checkout-form {
      display: grid;
      gap: 14px;
    }

    .checkout-panel,
    .checkout-summary {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .checkout-panel {
      display: grid;
      gap: 16px;
      padding: 16px;
    }

    .checkout-panel-head {
      display: flex;
      align-items: start;
      gap: 12px;
    }

    .checkout-panel-head > span {
      width: 32px;
      height: 32px;
      flex: 0 0 auto;
      display: grid;
      place-items: center;
      color: #fff;
      background: var(--accent);
      border-radius: var(--radius);
      font-weight: 850;
    }

    .checkout-panel-head h2,
    .checkout-summary h2 {
      margin-bottom: 4px;
      font-size: 1.24rem;
    }

    .checkout-panel-head p {
      margin-bottom: 0;
      color: var(--muted);
    }

    .checkout-fields {
      display: grid;
      gap: 12px;
    }

    .checkout-fields.two-col,
    .checkout-fields .two-col {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .checkout-fields .three-col {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 12px;
    }

    .checkout-fields label,
    .checkout-check {
      display: grid;
      gap: 7px;
    }

    .checkout-fields span,
    .checkout-check span {
      color: var(--muted);
      font-size: .86rem;
      font-weight: 800;
    }

    .checkout-fields input {
      min-width: 0;
      min-height: 42px;
      padding: 0 12px;
      color: var(--ink);
      background: var(--panel-strong);
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .checkout-fields select,
    .checkout-fields textarea {
      min-width: 0;
      width: 100%;
      color: var(--ink);
      background: var(--panel-strong);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      font: inherit;
    }

    .checkout-fields select {
      min-height: 42px;
      padding: 0 12px;
    }

    .checkout-fields textarea {
      min-height: 120px;
      padding: 12px;
      resize: vertical;
    }

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

    .checkout-option {
      position: relative;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 8px 10px;
      align-items: center;
      padding: 12px;
      background: var(--panel-strong);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      cursor: pointer;
    }

    .checkout-option input {
      position: absolute;
      inset: 0;
      opacity: 0;
      cursor: pointer;
    }

    .checkout-option > span {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      color: var(--accent);
      background: #fff5f4;
      border-radius: var(--radius);
    }

    .checkout-option strong,
    .checkout-option small {
      grid-column: 2;
    }

    .checkout-option small {
      color: var(--muted);
      font-weight: 650;
    }

    .checkout-option.selected {
      border-color: var(--accent);
      box-shadow: inset 0 0 0 1px var(--accent);
    }

    .checkout-check {
      grid-template-columns: auto minmax(0, 1fr);
      align-items: center;
      padding: 12px;
      background: var(--panel-strong);
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .checkout-check input {
      accent-color: var(--accent);
    }

    .checkout-summary {
      position: sticky;
      top: 136px;
      display: grid;
      gap: 16px;
      padding: 16px;
    }

    .checkout-summary-items {
      display: grid;
      gap: 12px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--line);
    }

    .checkout-summary-items article {
      display: grid;
      grid-template-columns: 58px minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
    }

    .checkout-summary-items img {
      width: 58px;
      height: 58px;
      object-fit: contain;
      padding: 5px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .checkout-summary-items strong {
      display: block;
      line-height: 1.2;
      font-size: .92rem;
    }

    .checkout-summary-items span {
      color: var(--muted);
      font-size: .84rem;
      font-weight: 700;
    }

    .checkout-summary-items b {
      white-space: nowrap;
    }

    .checkout-summary > p {
      margin-bottom: 0;
      color: var(--muted);
      font-size: .9rem;
      font-weight: 650;
    }

    body[data-theme="dark"] .checkout-eyebrow {
      color: #dfe7ef;
    }

    body[data-theme="dark"] .checkout-head p,
    body[data-theme="dark"] .checkout-panel-head p,
    body[data-theme="dark"] .checkout-fields span,
    body[data-theme="dark"] .checkout-check span,
    body[data-theme="dark"] .checkout-option small,
    body[data-theme="dark"] .checkout-summary-items span,
    body[data-theme="dark"] .checkout-summary > p {
      color: #b8c3cf;
    }

    body[data-theme="dark"] .checkout-panel,
    body[data-theme="dark"] .checkout-summary {
      background: var(--panel);
      border-color: var(--line);
      box-shadow: none;
    }

    body[data-theme="dark"] .checkout-fields input,
    body[data-theme="dark"] .checkout-fields select,
    body[data-theme="dark"] .checkout-fields textarea,
    body[data-theme="dark"] .checkout-option,
    body[data-theme="dark"] .checkout-check {
      background: #111820;
      border-color: #3a4654;
      color: #f3f6f9;
    }

    body[data-theme="dark"] .checkout-fields input::placeholder,
    body[data-theme="dark"] .checkout-fields textarea::placeholder {
      color: #9faab6;
    }

    body[data-theme="dark"] .checkout-option > span {
      background: #2b1716;
      color: #ff9b94;
    }

    body[data-theme="dark"] .checkout-panel-head h2,
    body[data-theme="dark"] .checkout-summary h2,
    body[data-theme="dark"] .checkout-option strong,
    body[data-theme="dark"] .checkout-summary-items strong,
    body[data-theme="dark"] .checkout-summary-items b {
      color: #f3f6f9;
    }

    body[data-theme="dark"] .checkout-summary-items,
    body[data-theme="dark"] .checkout-summary-items img {
      border-color: var(--line);
    }

    body[data-theme="dark"] .checkout-summary-items img {
      background: #fff;
    }

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

      .checkout-summary {
        position: static;
      }
    }

    @media (max-width: 680px) {
      .checkout-head {
        align-items: stretch;
        flex-direction: column;
      }

      .checkout-fields.two-col,
      .checkout-fields .two-col,
      .checkout-fields .three-col,
      .checkout-options {
        grid-template-columns: 1fr;
      }
    }

    .woocommerce-checkout {
      grid-template-columns: minmax(0, 1fr) 420px;
    }

    .wc-coupon-panel {
      display: grid;
      gap: 10px;
      margin-bottom: 18px;
    }

    .wc-coupon-notice,
    .wc-coupon-form {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .wc-coupon-notice {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 13px 14px;
      color: var(--muted);
      font-weight: 750;
    }

    .wc-coupon-notice svg {
      width: 19px;
      height: 19px;
      color: var(--accent);
    }

    .wc-coupon-notice span {
      color: var(--ink);
      font-weight: 850;
    }

    .wc-coupon-notice button {
      padding: 0;
      color: var(--accent);
      background: transparent;
      border: 0;
      font: inherit;
      font-weight: 850;
      cursor: pointer;
    }

    .wc-coupon-form {
      display: grid;
      gap: 9px;
      padding: 14px;
    }

    .wc-coupon-form label {
      color: var(--muted);
      font-size: .86rem;
      font-weight: 850;
    }

    .wc-coupon-form > div {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
    }

    .wc-coupon-form input {
      min-width: 0;
      min-height: 42px;
      padding: 0 12px;
      color: var(--ink);
      background: var(--panel-strong);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      font: inherit;
    }

    .wc-checkout-form {
      gap: 18px;
    }

    .wc-checkout-section {
      gap: 18px;
      padding: 18px;
    }

    .wc-section-head {
      display: flex;
      align-items: start;
      justify-content: space-between;
      gap: 14px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--line);
    }

    .wc-section-head h2 {
      margin: 0;
      font-size: 1.22rem;
    }

    .wc-section-head p {
      margin: 3px 0 0;
      color: var(--muted);
      font-weight: 650;
    }

    .checkout-fields span b {
      color: var(--accent);
    }

    .checkout-fields span em {
      color: var(--muted);
      font-style: normal;
      font-weight: 650;
    }

    .wc-ship-toggle {
      font-size: 1.05rem;
    }

    .wc-shipping-fields {
      padding: 14px;
      background: var(--panel-strong);
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .wc-order-review {
      gap: 18px;
      padding: 18px;
    }

    .wc-order-review h2 {
      margin: 0;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--line);
    }

    .wc-order-table {
      display: grid;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
    }

    .wc-order-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 14px;
      align-items: start;
      padding: 12px;
      background: var(--panel);
      border-bottom: 1px solid var(--line);
    }

    .wc-order-row:last-child {
      border-bottom: 0;
    }

    .wc-order-heading {
      color: var(--muted);
      background: var(--panel-strong);
      font-size: .82rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .wc-order-row small {
      color: var(--muted);
      font-weight: 750;
    }

    .wc-order-row strong {
      color: var(--ink);
      white-space: nowrap;
    }

    .wc-shipping-line {
      align-items: start;
    }

    .wc-shipping-methods {
      display: grid;
      gap: 7px;
      justify-items: end;
      text-align: right;
      font-weight: 800;
    }

    .wc-shipping-methods label {
      display: flex;
      align-items: center;
      gap: 7px;
    }

    .wc-shipping-methods input,
    .wc-payment-method input,
    .wc-terms input {
      accent-color: var(--accent);
    }

    .wc-grand-total {
      align-items: center;
      background: #fff6f5;
      font-size: 1.08rem;
    }

    .wc-grand-total strong {
      color: var(--accent);
      font-size: 1.35rem;
    }

    .wc-grand-total small {
      color: var(--muted);
      font-size: .75rem;
    }

    .wc-payment-box {
      display: grid;
      gap: 10px;
      padding: 14px;
      background: var(--panel-strong);
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .wc-payment-box h3 {
      margin: 0 0 2px;
      font-size: 1rem;
    }

    .wc-payment-method {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 10px;
      align-items: start;
      padding: 12px;
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      cursor: pointer;
    }

    .wc-payment-method.selected {
      border-color: var(--accent);
      box-shadow: inset 0 0 0 1px var(--accent);
    }

    .wc-payment-method strong,
    .wc-payment-method small {
      display: block;
    }

    .wc-payment-method small {
      margin-top: 4px;
      color: var(--muted);
      line-height: 1.45;
      font-weight: 650;
    }

    .wc-terms {
      align-items: start;
    }

    body[data-theme="dark"] .wc-section-head p,
    body[data-theme="dark"] .wc-coupon-notice,
    body[data-theme="dark"] .wc-coupon-form label,
    body[data-theme="dark"] .checkout-fields span em,
    body[data-theme="dark"] .wc-order-heading,
    body[data-theme="dark"] .wc-order-row small,
    body[data-theme="dark"] .wc-payment-method small {
      color: #b8c3cf;
    }

    body[data-theme="dark"] .wc-coupon-notice,
    body[data-theme="dark"] .wc-coupon-form {
      background: var(--panel);
      border-color: var(--line);
      box-shadow: none;
    }

    body[data-theme="dark"] .wc-coupon-notice span {
      color: #f3f6f9;
    }

    body[data-theme="dark"] .wc-coupon-form input {
      color: #f3f6f9;
      background: #111820;
      border-color: #3a4654;
    }

    body[data-theme="dark"] .wc-coupon-form input::placeholder {
      color: #9faab6;
    }

    body[data-theme="dark"] .wc-shipping-fields,
    body[data-theme="dark"] .wc-payment-box {
      background: #111820;
      border-color: #3a4654;
    }

    body[data-theme="dark"] .wc-order-heading {
      background: #1f2a35;
      border-color: #3a4654;
    }

    body[data-theme="dark"] .wc-order-table,
    body[data-theme="dark"] .wc-order-row,
    body[data-theme="dark"] .wc-section-head,
    body[data-theme="dark"] .wc-order-review h2,
    body[data-theme="dark"] .wc-payment-method {
      border-color: #3a4654;
    }

    body[data-theme="dark"] .wc-order-row:not(.wc-order-heading):not(.wc-grand-total),
    body[data-theme="dark"] .wc-payment-method {
      background: #111820;
    }

    body[data-theme="dark"] .wc-grand-total {
      background: #2b1716;
    }

    body[data-theme="dark"] .wc-order-row strong,
    body[data-theme="dark"] .wc-section-head h2,
    body[data-theme="dark"] .wc-payment-box h3,
    body[data-theme="dark"] .wc-payment-method strong {
      color: #f3f6f9;
    }

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

    @media (max-width: 680px) {
      .wc-section-head {
        display: grid;
      }

      .wc-coupon-notice {
        align-items: start;
        flex-wrap: wrap;
      }

      .wc-coupon-form > div {
        grid-template-columns: 1fr;
      }

      .wc-order-row {
        grid-template-columns: 1fr;
      }

      .wc-order-row > strong,
      .wc-shipping-methods {
        justify-items: start;
        text-align: left;
      }
    }
