/**
 * Airparts Inc storefront — layout tuned to match VPCart-ready ASP.NET shell.
 * Palette from brand reference: navy headers, steel blues, light gray surfaces.
 */
:root {
    --color-banner: #17426e;
    --color-category-head: #2b5783;
    --color-topbar: #386ca2;
    --color-header: #26598d;
    --color-nav: #386ca2;
    --color-nav-active: #234a72;
    --color-navy-deep: #1a202c;
    --color-navy: #2b5a91;
    --color-blue-nav: #2b5783;
    --color-blue-mid: #3a75b0;
    --color-blue-bright: #3a75b0;
    --color-blue-accent: #3a75b0;
    --color-text: #111827;
    --color-muted: #4b5563;
    --color-line: #e5e7eb;
    --color-surface: #f8f9fa;
    --color-white: #ffffff;
    --radius-card: 1rem;
    --radius-card-lg: 1.25rem;
    --radius-btn: 8px;
    --shadow-card: 0 6px 20px rgba(22, 64, 105, 0.12);
    --shadow-panel: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-header: 0 4px 14px rgba(26, 54, 93, 0.12);
    --container: 1200px;
    --font: "Poppins", sans-serif;
    --bs-font-sans-serif: var(--font);
    --bs-body-font-family: var(--font);
    --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  font-family: var(--font);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

button,
input,
optgroup,
select,
textarea,
.btn,
.form-control,
.form-select,
.form-check-label,
.dropdown-item,
.nav-link,
.navbar,
.modal-title,
.breadcrumb,
.pagination,
.alert,
.table,
.card,
.list-group-item,
.badge,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
legend,
label {
  font-family: var(--font);
}

#main-content {
  flex: 1;
}
.maincontent-wrapper .row::before {
	Content: none;
}
.btn.qty-minus, .btn.qty-plus {
	color: #fff;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  text-decoration: underline;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ----- Header ----- */
.site-header {
  position: relative;
  z-index: 50;
  box-shadow: var(--shadow-header);
}

.top-bar {
  background: var(--color-topbar);
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 8px 16px;
  width: 100%;
}

/* Bootstrap .container clearfix ::before/::after become flex items and
   center the top-bar groups — disable them here. */
.top-bar__inner::before,
.top-bar__inner::after {
  content: none !important;
  display: none !important;
}

.top-bar__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-right: auto;
}

.top-bar__rebate {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.top-bar__rebate:hover,
.top-bar__rebate.is-active {
  color: #fff;
  text-decoration: underline;
}

.top-bar__right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}

.top-bar__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.top-bar__phone:hover {
  color: #fff;
  text-decoration: underline;
}

.top-bar__phone-ico {
  flex-shrink: 0;
  opacity: 0.95;
}

.top-bar__sep {
  color: rgba(255, 255, 255, 0.55);
  margin-inline: 10px;
  user-select: none;
}

.top-bar__right a {
    color: #fff;
    text-decoration: none;
    transition: opacity var(--transition);
    padding: 15px 0px;
}

.top-bar__right a:hover {
  opacity: 0.9;
  text-decoration: underline;
}

.top-bar__link {
  color: #dbe7ff;
}

.top-bar__link:hover {
  color: #fff;
  text-decoration: underline;
}

.main-header {
  background: var(--color-header);
  padding: 20px 0 22px;
}

.main-header__inner {
  display: grid;
  grid-template-columns: minmax(180px, auto) 1fr;
  align-items: center;
  gap: 16px 24px;
}

@media (max-width: 767px) {
  .main-header__inner {
    grid-template-columns: 1fr;
    justify-items: stretch;
    text-align: left;
  }

  .main-header .brand {
    justify-self: start;
  }
}

.main-header__search-wrap {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  min-width: 0;
  grid-column: 2;
  justify-self: stretch;
}

@media (max-width: 767px) {
  .main-header__search-wrap {
    grid-column: 1;
  }
}

.brand {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.95;
}

.brand__logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand__logo--header {
  max-width: min(240px, 68vw);
  max-height: 42px;
}

.brand__logo--footer {
  max-width: min(240px, 72vw);
  max-height: 42px;
  filter: invert(1);
}

.brand--footer .brand__logo--footer {
  max-width: 220px;
  max-height: 40px;
}

.brand__mark {
  display: flex;
  color: #fff;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.brand__text {
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
}

.brand__inc {
  font-weight: 700;
  font-size: 0.72em;
  letter-spacing: 0.12em;
}

.brand--footer {
  color: var(--color-navy);
}

.brand--footer .brand__text {
  font-size: 22px;
  color: var(--color-navy-deep);
}

.brand--footer .brand__mark {
  color: var(--color-blue-accent);
}

.header-search {
  flex: 0 1 auto;
  display: flex;
  width: 100%;
  max-width: 520px;
  margin: 0;
  margin-left: auto;
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(26, 54, 93, 0.18);
  border: 0;
}

.header-search__input {
  flex: 1;
  border: 0;
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
  min-width: 0;
}

.header-search__btn {
  width: 52px;
  border: 0;
  background: var(--color-topbar);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 0 8px 8px 0;
  transition: background var(--transition);
}

.header-search__btn:hover {
  background: var(--color-nav-active);
}

.primary-nav {
  background: var(--color-nav);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.primary-nav__wrap {
  display: flex;
  align-items: stretch;
  position: relative;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: 6px 0;
  padding: 8px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.primary-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.primary-nav__list > li > a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 14px 35px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.primary-nav__list > li > a:hover {
  background: rgba(0, 0, 0, 0.12);
  text-decoration: none;
}

.primary-nav__list > li > a.is-active {
  background: var(--color-nav-active);
  color: #fff;
}

.primary-nav__list > li > a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--color-white);
}

.primary-nav__dropdown {
  position: relative;
}

.primary-nav__drop-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 35px 16px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background var(--transition);
}

.primary-nav__drop-toggle:hover,
.primary-nav__dropdown.is-open > .primary-nav__drop-toggle {
  background: rgba(0, 0, 0, 0.12);
}

.primary-nav__drop-toggle.is-active {
  background: var(--color-nav-active);
}

.primary-nav__caret {
  font-size: 10px;
  opacity: 0.9;
}

.primary-nav__drop-menu {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  min-width: 220px;
  background: var(--color-nav-active);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 100;
}

.primary-nav__drop-menu a {
  display: block;
  padding: 10px 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav__drop-menu a:hover {
  background: rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

@media (min-width: 992px) {
  .primary-nav__dropdown:hover .primary-nav__drop-menu /*, .primary-nav__dropdown.is-open .primary-nav__drop-menu*/ {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
  }
}

@media (max-width: 991px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav__list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-bottom: 8px;
  }

  .primary-nav__wrap.is-open .primary-nav__list {
    display: flex;
  }

  .primary-nav__wrap {
    flex-wrap: wrap;
  }

  .primary-nav__list > li > a {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .primary-nav__drop-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
  }

  .primary-nav__drop-menu {
    display: none;
    position: static;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.12);
    padding-left: 8px;
  }

  .primary-nav__dropdown.is-open .primary-nav__drop-menu {
    display: block;
  }

  .primary-nav__drop-menu a {
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* ----- Content / marketing pages ----- */
.site-page-hero {
  background: linear-gradient(135deg, var(--color-surface) 0%, #eef4fa 100%);
  border-radius: var(--radius-card-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--color-line);
}

.site-page-hero__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--color-navy-deep);
}

.site-page-hero__subtitle {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 42rem;
}

.site-page__section {
  margin-bottom: 2rem;
}

.site-page__section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 0.75rem;
}

.site-page__section-content {
  color: var(--color-text);
}

.site-page__section-content ul,
.site-page__section-content ol {
  padding-left: 1.25rem;
}

.contact-list strong {
  display: block;
  color: var(--color-navy);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.contact-page__map-frame {
  background: var(--color-surface);
}

/* ----- Home top: sidebar + hero + tiles (design layout) ----- */
.home-top {
  background: var(--color-surface);
  padding: 24px 0 28px;
}

.hero-stack {
  gap: 15px;
}

@media (min-width: 992px) {
  .home-top__columns {
    align-items: flex-start;
  }

  .home-top__sidebar {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
  }

  .home-top__hero {
    align-self: flex-start;
  }
}

.category-tiles-row {
  margin-top: 0.25rem;
}

.categories-panel {
  background: var(--color-white);
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  box-shadow: var(--shadow-panel);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(38, 84, 133, 0.06);
}

.categories-panel__head {
  background: var(--color-category-head);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 16px;
  text-align: center;
  letter-spacing: 0.02em;
  border-radius: var(--radius-card-lg) var(--radius-card-lg) 0 0;
}

.categories-panel__list,
.categories-panel__dynamic .menulist {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 8px 0 10px;
}

.categories-panel__list a,
.categories-panel__dynamic .menulist a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 400;
  color: #111827;
  text-decoration: none;
  transition: background var(--transition);
}

.categories-panel__list a:hover,
.categories-panel__dynamic .menulist a:hover {
  background: #f3f4f6;
  text-decoration: none;
}

/* Neutralize VPCart menulist bullets inside the home Categories panel */
.categories-panel__dynamic .menulist > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.categories-panel__dynamic .menulist li a:before,
.categories-panel__dynamic .menulist li:before {
  content: none !important;
  display: none !important;
}

.categories-panel__more {
  display: none;
  width: 100%;
  border: 0;
  border-top: 1px solid var(--color-line);
  background: #f8fafc;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-blue-accent);
  cursor: pointer;
  text-align: left;
}

.categories-panel__more:hover {
  background: #eef3fa;
}

.categories-panel--home {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.categories-panel--home .categories-panel__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 #f1f5f9;
}

.categories-panel__footer {
  flex: 0 0 auto;
  padding: 10px 12px 12px;
  background: #fff;
  border-top: 1px solid var(--color-line);
}

.categories-panel--home .categories-panel__scroll::-webkit-scrollbar {
  width: 6px;
}

.categories-panel--home .categories-panel__scroll::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 6px;
}

.categories-panel--home .categories-panel__scroll::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 6px;
}

.categories-panel--home .categories-panel__scroll::-webkit-scrollbar-thumb:hover {
  background: var(--color-category-head);
}

@media (min-width: 992px) {
  .home-top__sidebar {
    min-height: 0;
  }

  .categories-panel--home {
    width: 100%;
    min-height: 0;
    max-height: 32rem;
  }
}

.categories-panel__view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 10px 16px !important;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.categories-panel__view-all:hover,
.categories-panel__view-all:focus-visible {
  background: #eef3fa !important;
  border-color: var(--color-category-head) !important;
  color: var(--color-category-head) !important;
  text-decoration: none;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 5px;
  margin-left: 4px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  background: var(--color-category-head);
  border-radius: 999px;
}

.cart-badge[hidden] {
  display: none !important;
}

.cart-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  max-width: 320px;
  padding: 14px 18px;
  background: var(--color-navy-deep);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.btn.is-loading .btn__label {
  opacity: 0.5;
}

.btn.is-loading .btn__spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}

.btn__spinner {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.cart-table-wrap {
  margin-bottom: 1.5rem;
}

.cart-table__product {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cart-table__product img {
  object-fit: contain;
  background: #f8fafc;
  border-radius: 8px;
}

.cart-summary {
  background: #f8fafc;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card-lg);
  padding: 1.25rem;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
}

.checkout-summary,
.payment-card {
  background: #f8fafc;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card-lg);
  padding: 1.25rem;
}

.checkout-summary__item,
.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.95rem;
}

.checkout-summary__instructions {
  white-space: pre-line;
}

.cart-table__instructions {
  white-space: pre-line;
}

.checkout-summary__total {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-line);
  font-size: 1.15rem;
}

.checkout-form__section {
  border: 0;
  padding: 0;
}

.product-gallery__main {
  background: #f8fafc;
  border-radius: var(--radius-card-lg);
  padding: 12px;
  border: 1px solid var(--color-line);
}

.product-gallery__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.product-gallery__thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 4px;
  background: #fff;
  cursor: pointer;
}

.product-gallery__thumb.is-active {
  border-color: var(--color-category-head);
}

.product-gallery__thumb img {
  width: 64px;
  height: 52px;
  object-fit: contain;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.product-meta__label {
  color: #64748b;
  margin-right: 6px;
}

.product-meta__stock.in-stock {
  color: #15803d;
  font-weight: 700;
}

.product-meta__stock.out-of-stock {
  color: #b45309;
  font-weight: 700;
}

.order-confirmation__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  line-height: 64px;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  background: #15803d;
  border-radius: 50%;
}

@media (max-width: 767px) {
  .cart-table thead {
    display: none;
  }

  .cart-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    padding: 12px;
  }

  .cart-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0;
    padding: 6px 0;
  }

  .cart-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #64748b;
    margin-right: 12px;
  }
}

.card-elevated {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: var(--radius-card-lg);
  background: #f8f9fa url("https://images.unsplash.com/photo-1581092160562-40aa08e78837?w=1400&q=15") center / cover no-repeat;
  box-shadow: none;
}

.hero-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 249, 250, 0.93);
  pointer-events: none;
  z-index: 0;
}

.hero-carousel__slides {
  position: relative;
  z-index: 1;
}

.hero-slide {
  display: none;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
  padding: 32px 28px 28px 36px;
  align-items: center;
}

.hero-slide.is-active {
  display: grid;
}

@media (max-width: 767px) {
  .hero-slide.is-active {
    grid-template-columns: 1fr;
  }
}

.hero-slide__title {
  margin: 0 0 14px;
  font-size: 35px;
  line-height: 1.25;
  color: #000;
  font-weight: 800;
}

.hero-slide__text {
  margin: 0 0 20px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.65;
  max-width: 50ch;
}

.hero-slide__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-slide__media {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border-radius: 10px;
  padding: 8px;
  min-height: 220px;
}

.hero-slide__media img {
  border-radius: 8px;
  object-fit: contain;
  width: 100%;
  max-height: 240px;
}

.hero-slide__nav {
  display: flex;
  gap: 8px;
  margin: 0;
}

.hero-carousel__arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #e5e7eb;
  color: #374151;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: none;
  transition: background var(--transition);
}

.hero-carousel__arrow:hover {
  background: #e8edf5;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-blue-bright);
  outline-offset: 2px;
}

a.btn.btn--primary,
button.btn.btn--primary {
  background: var(--color-category-head);
  color: #fff !important;
  border-color: var(--color-category-head);
  box-shadow: none;
}

a.btn.btn--primary:hover,
a.btn.btn--primary:focus-visible,
button.btn.btn--primary:hover,
button.btn.btn--primary:focus-visible {
  background: var(--color-banner);
  border-color: var(--color-banner);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(43, 90, 145, 0.28);
}

.btn--primary:active {
  transform: scale(0.98);
}

.btn--pill {
  border-radius: 999px;
  padding: 11px 28px;
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--promo-learn {
  background: #fff;
  color: var(--color-banner);
  border-color: #fff;
  padding: 11px 30px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  border-radius: 999px;
  box-shadow: none;
}

.btn--promo-learn:hover {
  background: #f0f4f8;
  color: var(--color-banner);
}

a.btn.btn--light,
button.btn.btn--light {
  background: #fff;
  color: var(--color-navy) !important;
  border-color: #c5d4e8;
  box-shadow: 0 2px 8px rgba(15, 40, 80, 0.08);
}

a.btn.btn--light:hover,
a.btn.btn--light:focus-visible,
button.btn.btn--light:hover,
button.btn.btn--light:focus-visible {
  background: #eef3fa;
  border-color: var(--color-category-head);
  color: var(--color-category-head) !important;
  box-shadow: 0 4px 12px rgba(43, 90, 145, 0.15);
}

.btn--light:active {
  transform: scale(0.98);
}

a.btn.btn--outline-light,
button.btn.btn--outline-light {
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-navy-deep) !important;
  border-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

a.btn.btn--outline-light:hover,
a.btn.btn--outline-light:focus-visible,
button.btn.btn--outline-light:hover,
button.btn.btn--outline-light:focus-visible {
  background: #fff;
  color: var(--color-navy-deep) !important;
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

/* Promo strip — below hero carousel (design comp) */
.promo-strip {
  background: var(--color-banner);
  color: #fff;
}

.promo-strip--hero {
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  box-shadow: none;
  margin-top: 0;
  width: 100%;
  background: var(--color-banner);
}

.promo-strip--hero .promo-strip__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 32px 36px 34px;
}

.promo-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 4px;
}

.promo-strip__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  letter-spacing: 0.01em;
  max-width: 52ch;
}

.promo-strip--hero .promo-strip__sub {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
  max-width: 58ch;
}

.promo-strip__text {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
}

.promo-strip__sub {
  margin: 4px 0 0;
  font-size: 13px;
  opacity: 0.88;
}

.promo-strip--hero .btn--promo-learn {
  margin-top: 18px;
}

@media (max-width: 767px) {
  .promo-strip--hero .promo-strip__inner {
    padding: 24px 22px 26px;
  }

  .promo-strip__title {
    font-size: 18px;
  }

  .promo-strip--hero .promo-strip__sub {
    font-size: 13px;
  }
}

/* Page sections */
.section {
  padding: 3rem 0;
}

.section--featured {
  background: var(--color-white);
}

.dual-promo__body {
    width: 60%;
}

.tiles-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 767px) {
  .tiles-row {
    grid-template-columns: 1fr;
  }
}
article.dual-promo__card {
    background-image: url(../../../images/airparts/cl-img.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 40px 30px;
    background-color: #fff !important;
}
.dual-promo__body a.btn {
    border-radius: 50px;
    box-shadow: none !important;
    border: none !important;
}
    article.dual-promo__card.dual-promo__card--alt {
        background-image: url(../../../images/airparts/al-img.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        padding: 40px 30px;
        background-color: #fff !important;
    }
.tile-cat {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: none;
  background: #1b2b3f center / cover no-repeat;
  background-image: var(--tile-img);
  transition: transform var(--transition), filter var(--transition);
}

.tile-cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 15, 35, 0.35) 0%, rgba(0, 10, 28, 0.78) 100%);
  transition: opacity var(--transition);
}

.tile-cat__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 16px;
}

.tile-cat__subtitle {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.tile-cat__title {
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.tile-cat__label {
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
}

.tile-cat:hover {
  text-decoration: none;
  transform: scale(1.02);
  filter: brightness(1.06);
}

.tile-cat:hover::after {
  opacity: 0.92;
}

/* Section titles */
.section-title {
  text-align: center;
  font-size: 28px;
  margin: 0 0 1.75rem;
  font-weight: 800;
  color: var(--color-navy-deep);
  letter-spacing: 0.01em;
}

.section-title__lead,
.section-title__trail {
  color: var(--color-navy-deep);
}

.section-title__accent {
  color: var(--color-blue-accent);
}

.section-title--left {
  text-align: left;
  margin-bottom: 16px;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

@media (max-width: 1199px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 639px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card-lg);
  padding: 14px 14px 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(43, 90, 145, 0.12);
}

.product-image {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  image-rendering: auto;
}

.product-image--card {
  width: auto;
  max-width: 100%;
  max-height: 160px;
  margin: 0 auto;
}

.product-image--detail-main {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.product-image--detail-thumb {
  width: auto;
  max-width: 72px;
  max-height: 60px;
  margin: 0 auto;
}

.product-image--cart-thumb {
  width: auto;
  max-width: 72px;
  max-height: 60px;
}

.product-image--add-to-cart {
  width: auto;
  max-width: 160px;
  max-height: 140px;
  margin: 0 auto;
}

.product-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 10px;
  border-radius: 8px;
  overflow: hidden;
  background: #f6f7fa;
}

.product-card__image img {
  transition: none;
}

.product-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}

.product-card__footer {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  min-height: 2.7em;
}

.product-card__title a {
  color: var(--color-navy-deep);
  text-decoration: none;
}

.product-card__title a:hover {
  color: var(--color-blue-bright);
  text-decoration: underline;
}

.product-card__stars {
  color: #c99614;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.product-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
}

.product-card__price {
  font-weight: 800;
  font-size: 15px;
  color: var(--color-navy-deep);
}

.product-card__zoom {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #e9edf3;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid #dde3ec;
  color: #475569;
}

.product-card__zoom:hover {
  background: #dfe5ee;
  text-decoration: none;
}

/* Dual promos */
.dual-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 991px) {
  .dual-promo {
    grid-template-columns: 1fr;
  }
}

.dual-promo__card {
  display: block;
  padding: 24px 24px 24px 28px;
  background: #f0f2f5;
  border-radius: var(--radius-card-lg);
  border: 1px solid var(--color-line);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--transition), transform var(--transition);
}

.dual-promo__card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.dual-promo__card--alt {
  background: #f0f2f5;
}

.dual-promo__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-navy-deep);
  letter-spacing: 0.04em;
}

.dual-promo__subtitle {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy-deep);
  line-height: 1.4;
}

.dual-promo__text {
  margin: 0 0 16px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* About */
.section--about {
  background: var(--color-white);
}

.section--about .container {
  border-top: 1px solid #d6d6d6;
  border-bottom: 1px solid #d6d6d6;
  padding: 50px 0;
}

.section--about .about-copy {
  text-align: left;
}

.about-heading {
  margin-bottom: 1rem;
}

.about-icon {
  display: block;
  width: 43px;
  height: 42px;
  flex-shrink: 0;
  object-fit: contain;
}

.about-heading__title,
.about-heading .section-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  text-align: left;
  width: auto;
}

.about-grid__copy p,
.about-text {
  color: #3d4b5c;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.about-grid__photo,
.about-grid__photo img {
  width: 100%;
  border-radius: var(--radius-card-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* CTA wide */
.cta-wide {
  position: relative;
  background: transparent;
  padding: 0 12px;
}

.cta-wide__inner {
  position: relative;
  z-index: 1;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
  max-width: 1140px;
  min-height: 350px;
  padding: 90px 40px !important;
  color: #fff;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: center;
  background-image: url(../../../images/airparts/grade-img.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 20px;
}

.cta-wide__title {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: left;
  color: #fff;
}

.cta-wide__sub {
  margin: 0 0 22px;
  font-size: 16px;
  opacity: 0.95;
  text-align: left;
  max-width: 36rem;
  color: #fff;
}

.cta-wide__inner a.btn.btn--outline-light,
.cta-wide__inner a.btn.btn--outline-light:hover,
.cta-wide__inner a.btn.btn--outline-light:focus-visible {
  color: var(--color-navy-deep) !important;
  background: rgba(255, 255, 255, 0.96);
}

.cta-wide__inner a.btn.btn--outline-light:hover,
.cta-wide__inner a.btn.btn--outline-light:focus-visible {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

/* Footer */
.site-footer {
  border-top: none;
  padding: 2.5rem 0 3rem;
  background: transparent;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.1fr;
  gap: 28px 24px;
}

@media (max-width: 991px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 559px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

.site-footer__heading {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-navy-deep);
  letter-spacing: 0.04em;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li {
  margin-bottom: 8px;
}

.site-footer__links a {
  color: #3d4b5c;
  font-size: 14px;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--color-blue-bright);
  text-decoration: underline;
}

.site-footer__copy {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--color-muted);
}

.site-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #3d4b5c;
}

.site-footer__contact .site-footer__ico {
  color: var(--color-blue-accent);
}

.site-footer__ico {
  flex-shrink: 0;
  width: 22px;
  height: 18px;
  margin-top: 2px;
  opacity: 0.75;
  background: currentColor;
  mask: no-repeat center / contain;
  -webkit-mask: no-repeat center / contain;
}

.site-footer__ico--addr {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z'/%3E%3C/svg%3E");
}

.site-footer__ico--tel {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.6 10.8c1.45 2.9 3.9 5.35 6.8 6.8l2.25-2.25c.35-.35.9-.45 1.35-.25 1 .4 2.1.65 3.25.65.75 0 1.35.6 1.35 1.35V20c0 .75-.6 1.35-1.35 1.35C9.4 21.35 2.65 14.6 2.65 6 4 4.65 4.65 4 5.4 4h2.5c.75 0 1.35.6 1.35 1.35 0 1.15.25 2.25.65 3.25.2.45.1 1-.25 1.35L6.6 10.8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.6 10.8c1.45 2.9 3.9 5.35 6.8 6.8l2.25-2.25c.35-.35.9-.45 1.35-.25 1 .4 2.1.65 3.25.65.75 0 1.35.6 1.35 1.35V20c0 .75-.6 1.35-1.35 1.35C9.4 21.35 2.65 14.6 2.65 6 4 4.65 4.65 4 5.4 4h2.5c.75 0 1.35.6 1.35 1.35 0 1.15.25 2.25.65 3.25.2.45.1 1-.25 1.35L6.6 10.8z'/%3E%3C/svg%3E");
}

.site-footer__ico--mail {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5L4 8V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5L4 8V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.site-footer__contact a {
  color: #000;
  text-decoration: none;
}

.site-footer__contact a:hover {
  text-decoration: underline;
}

/* Top bar responsive */
@media (max-width: 767px) {
  .top-bar__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-block: 8px;
  }

  .top-bar__left,
  .top-bar__right {
    justify-content: center;
    width: 100%;
  }

  .top-bar__rebate {
    white-space: normal;
    text-align: center;
  }
}

/* Featured products controls */
.featured-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.featured-head__controls {
  display: inline-flex;
  gap: 8px;
  background: #eef3fa;
  padding: 4px;
  border-radius: 999px;
}

.featured-count-btn {
  border: 0;
  background: transparent;
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.featured-count-btn:hover {
  background: rgba(43, 90, 145, 0.12);
  color: var(--color-category-head);
}

.featured-count-btn.is-active,
.featured-count-btn.is-active:hover {
  background: var(--color-category-head);
  color: #fff;
}

.featured-item--hidden {
  display: none !important;
}

.featured-loading {
  text-align: center;
  color: #64748b;
  margin-bottom: 1rem;
}

.product-card__desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.product-card__actions .btn {
  width: 100%;
  min-height: 36px;
}

.product-card__actions .btn-sm {
  padding: 8px 14px;
  font-size: 12px;
}

.product-card__actions .btn--light:hover,
.product-card__actions .btn--primary:hover {
  transform: none;
}

.product-card__oos {
  font-size: 12px;
  font-weight: 700;
  color: #b45309;
  align-self: center;
}

/* Category menu cards */
.category-card {
  display: block;
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(43, 90, 145, 0.14);
  text-decoration: none;
}

.category-card__media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.category-card__body {
  padding: 16px 18px 18px;
}

.category-card__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-navy-deep);
}

.category-card__count {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.category-card__desc {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.categories-page__intro {
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.catalog-page__category-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

.about-page__heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy-deep);
  margin: 1.75rem 0 0.75rem;
}

.about-page__heading:first-of-type {
  margin-top: 0;
}

.about-page__facts li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.about-page__media-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-page__card,
.contact-page__card {
  background: #f8fafc;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card-lg);
  padding: 1.25rem 1.5rem;
}

.about-page__card-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: var(--color-navy-deep);
}

.contact-page__map-frame {
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  border: 1px solid var(--color-line);
}

.contact-page__map-frame iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

.product-card__code {
  font-size: 11px;
}

/* Catalog listing */
.catalog-page__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.catalog-toolbar {
  background: #f8fafc;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  padding: 16px;
}

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

.catalog-chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef3fa;
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav__auth {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.primary-nav__auth-sep {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.top-bar__welcome {
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.catalog-breadcrumb__sep {
  margin: 0 0.35rem;
  color: #94a3b8;
}

.catalog-breadcrumb__current {
  color: #334155;
  font-weight: 600;
}

/* ----- Product detail page (global) ----- */
.product-detail-page__container {
  padding-top: 0.5rem;
  padding-bottom: 2.5rem;
}

.product-detail-page__breadcrumb {
  margin-bottom: 1.25rem;
}

.product-detail-page__alert {
  margin-bottom: 1rem;
}

.product-detail-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card-lg);
  box-shadow: 0 8px 28px rgba(43, 90, 145, 0.08);
  padding: clamp(1rem, 2.5vw, 1.75rem);
  margin-bottom: 2rem;
}

.product-detail-card__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.product-detail-gallery__stage {
  background: #f8fafc;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card-lg);
  padding: clamp(0.75rem, 2vw, 1.25rem);
  overflow: hidden;
  aspect-ratio: 1 / 0.92;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-gallery__main,
.product-image--detail-main {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
  transform-origin: center center;
}

.product-detail-gallery__stage:hover .product-detail-gallery__main,
.product-detail-gallery__stage:focus-within .product-detail-gallery__main,
.product-detail-gallery__stage:hover .product-image--detail-main,
.product-detail-gallery__stage:focus-within .product-image--detail-main {
  transform: scale(1.06);
}

.product-detail-gallery__thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.product-detail-gallery__thumb {
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 4px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-detail-gallery__thumb.is-active,
.product-detail-gallery__thumb:hover {
  border-color: var(--color-category-head);
  box-shadow: 0 2px 8px rgba(43, 90, 145, 0.12);
}

.product-detail-gallery__thumb img,
.product-image--detail-thumb {
  width: auto;
  max-width: 72px;
  max-height: 60px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.product-detail-card__buybox {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-detail-card__title {
  font-size: clamp(1.5rem, 3.2vw, 2.125rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-navy-deep);
  margin: 0 0 0.75rem;
}

.product-detail-card__meta {
  display: grid;
  gap: 0.5rem;
  margin: 0;
}

.product-detail-card__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  font-size: 0.95rem;
}

.product-detail-card__meta-row dt {
  margin: 0;
  font-weight: 700;
  color: #64748b;
  min-width: 5.5rem;
}

.product-detail-card__meta-row dd {
  margin: 0;
  color: var(--color-navy);
  font-weight: 600;
}

.product-detail-card__meta-row a {
  color: var(--color-category-head);
  text-decoration: none;
}

.product-detail-card__meta-row a:hover {
  text-decoration: underline;
}

.product-detail-card__stock.is-in-stock {
  color: #15803d;
  font-weight: 700;
}

.product-detail-card__stock.is-out-of-stock {
  color: #b45309;
  font-weight: 700;
}

.product-detail-card__price {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-category-head);
  margin: 0;
  line-height: 1.1;
}

.product-detail-card__price-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.15rem;
}

.product-detail-card__price-unit {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
}

.product-variant-dimensions__table thead th {
  background: #f1f5f9;
  font-weight: 700;
  text-align: center;
}

.product-variant-dimensions__table tbody td {
  text-align: center;
  font-weight: 600;
}

.product-matrix__btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
}

.product-detail-card__summary {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.product-purchase {
  margin-top: 0.25rem;
  padding: 1.25rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card-lg);
}

.product-purchase__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-purchase__qty {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-purchase__qty-label {
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
  white-space: nowrap;
}

.product-purchase__qty-input {
  max-width: 6.5rem;
  font-weight: 600;
}

.product-purchase__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.product-purchase__btn {
  min-height: 48px;
  font-size: 1rem;
  font-weight: 700;
  width: 100%;
}

.product-purchase__btn--secondary {
  border: 1px solid var(--color-line);
}

.product-purchase__comments {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.product-purchase__comments-label {
  font-weight: 700;
  color: var(--color-navy);
}

.product-purchase__comments-input {
  resize: vertical;
  white-space: pre-wrap;
  min-height: 100px;
}

.product-purchase__note {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
  color: #64748b;
}

.product-purchase__note a {
  color: var(--color-category-head);
  font-weight: 600;
  text-decoration: none;
}

.product-purchase__note a:hover {
  text-decoration: underline;
}

.product-purchase__oos {
  font-weight: 700;
  color: #b45309;
  margin: 0 0 0.75rem;
}

.product-purchase__footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
  font-size: 0.9rem;
}

.product-purchase__footer a {
  color: var(--color-category-head);
  font-weight: 600;
  text-decoration: none;
}

.product-purchase__footer a:hover {
  text-decoration: underline;
}

.product-detail-sections {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.product-detail-sections__panel {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card-lg);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  box-shadow: 0 4px 16px rgba(43, 90, 145, 0.05);
}

.product-detail-sections__heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy-deep);
  margin: 0 0 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--color-line);
}

.product-detail-sections__body {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #334155;
}

.product-detail-sections__rich {
  overflow-wrap: anywhere;
}

.product-detail-sections__rich table {
  width: 100%;
  max-width: 100%;
}

.product-detail-sections__facts {
  margin: 0;
  padding-left: 1.1rem;
}

.product-detail-sections__facts li + li {
  margin-top: 0.35rem;
}

.product-detail-sections__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.product-detail-sections__table tbody {
  /* display: grid; */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.product-detail-sections__table tr {
  /* display: flex; */
  flex-direction: column;
  gap: 0.25rem;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  background: #fff;
}

.product-detail-sections__table th,
.product-detail-sections__table td {
  padding: 0;
  border: 0;
  text-align: left;
  vertical-align: top;
}

.product-detail-sections__table th {
  width: auto;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #64748b;
  background: transparent;
}

.product-detail-sections__table td {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy-deep);
  word-break: break-word;
}

.product-detail-related {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
}

.product-detail-related__heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-navy-deep);
  margin: 0 0 1.25rem;
}

.add-to-cart-page__container {
  padding-bottom: 2.5rem;
}

.add-to-cart-page__layout {
  max-width: 760px;
  margin: 0 auto;
}

.add-to-cart-page__card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 8px 28px rgba(43, 90, 145, 0.08);
}

.add-to-cart-page__header {
  margin-bottom: 1.25rem;
}

.add-to-cart-page__title {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--color-navy-deep);
  margin: 0 0 0.35rem;
}

.add-to-cart-page__intro {
  margin: 0;
  color: #64748b;
}

.add-to-cart-page__product {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-line);
}

.add-to-cart-page__media {
  background: #f8fafc;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  padding: 0.5rem;
}

.add-to-cart-page__thumb {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.add-to-cart-page__product-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy-deep);
  margin: 0 0 0.35rem;
}

.add-to-cart-page__code {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
}

.add-to-cart-page__price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-category-head);
  margin: 0 0 0.35rem;
}

.add-to-cart-page__stock.is-in-stock {
  color: #15803d;
  font-weight: 700;
  margin: 0;
}

.add-to-cart-page__stock.is-out-of-stock {
  color: #b45309;
  font-weight: 700;
  margin: 0;
}

.add-to-cart-page__form {
  padding-top: 1.25rem;
}

.add-to-cart-page__confirm {
  width: 100%;
  margin-top: 1rem;
  min-height: 48px;
  font-weight: 700;
}

.add-to-cart-page__actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
}

.add-to-cart-page__actions .btn {
  width: 100%;
  min-height: 44px;
}

.add-to-cart-page__success {
  margin-bottom: 1rem;
}

@media (max-width: 991px) {
  .product-detail-card__grid {
    grid-template-columns: 1fr;
  }

  .product-detail-card__media {
    order: -1;
  }
}

@media (max-width: 767px) {
  .product-purchase__actions,
  .add-to-cart-page__actions {
    grid-template-columns: 1fr;
  }

  .add-to-cart-page__product {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .add-to-cart-page__media {
    max-width: 200px;
  }

  .top-bar__welcome {
    display: none;
  }
}

@media (max-width: 375px) {
  .product-detail-card,
  .product-detail-sections__panel,
  .add-to-cart-page__card {
    padding: 1rem;
  }

  .product-matrix-card__highlights {
    gap: 0.45rem;
  }

  .product-matrix-card__label {
    font-size: 0.68rem;
  }

  .product-matrix-card__value {
    font-size: 0.85rem;
  }

  .product-detail-gallery__thumb img,
  .product-image--detail-thumb {
    max-width: 56px;
    max-height: 48px;
  }
}

.catalog-chip.is-active,
.catalog-chip:hover {
  background: var(--color-category-head);
  color: #fff;
  text-decoration: none;
}

.contact-list li {
  margin-bottom: 10px;
}

.site-footer__links--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.content-page__body {
  max-width: 720px;
  line-height: 1.65;
  color: #334155;
}

.content-page__body h2 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
}

.auth-card,
.account-panel {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 2px 12px rgba(43, 90, 145, 0.06);
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  background: #f8fafc;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card-lg);
}

.admin-nav__link,
.admin-nav__button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #fff;
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.admin-nav__link:hover,
.admin-nav__button:hover {
  color: var(--color-category-head);
  border-color: var(--color-line);
}

.admin-nav__logout {
  margin-left: auto;
}

.admin-page__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-page__eyebrow,
.admin-dashboard-card__label {
  margin: 0 0 0.25rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.admin-dashboard-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 150px;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card-lg);
  box-shadow: 0 2px 12px rgba(43, 90, 145, 0.06);
  color: var(--color-text);
  text-decoration: none;
}

.admin-dashboard-card:hover {
  border-color: var(--color-category-head);
  transform: translateY(-1px);
}

.admin-dashboard-card strong {
  color: var(--color-navy);
  font-size: 1.1rem;
}

.admin-import-rules {
  margin: 0;
  padding-left: 1.1rem;
  color: #475569;
}

.admin-import-rules li + li {
  margin-top: 0.35rem;
}

.admin-import-results__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.admin-import-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.admin-import-summary div {
  padding: 0.85rem;
  background: #f8fafc;
  border: 1px solid var(--color-line);
  border-radius: 12px;
}

.admin-import-summary dt {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
}

.admin-import-summary dd {
  margin: 0.25rem 0 0;
  color: var(--color-navy);
  font-size: 1.15rem;
  font-weight: 800;
}

.admin-import-errors-table td {
  vertical-align: top;
}

.auth-card__links a {
  font-weight: 600;
  color: var(--color-category-head);
}

.account-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.account-nav__list a,
.account-nav__logout {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
}

.account-nav__list a:hover,
.account-nav__list a.is-active,
.account-nav__logout:hover {
  background: #eef3fa;
  color: var(--color-category-head);
}

.account-order-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-line);
}

/* ----- Airparts UI corrections (nav, home, about, CTA) — keep in sync ----- */
@media (min-width: 992px) {
  .home-top__columns {
    align-items: flex-start;
  }

  .home-top__sidebar {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
  }

  .categories-panel--home[data-home-categories-panel] {
    width: 100%;
    min-height: 0;
    overflow: hidden;
  }
}

.section--about .about-copy {
  text-align: left;
}

.section--about .about-heading {
  align-items: flex-start;
  text-align: left;
}

.section--about .about-heading__title,
.section--about .about-heading .section-title {
  text-align: left !important;
  margin-left: 0;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-page .about-heading {
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.section--about .about-text {
  text-align: left;
}

@media (max-width: 991px) {
  .section--about .container {
    padding: 40px 0;
  }

  .cta-wide__inner {
    min-height: 300px;
    padding: 56px 32px !important;
    margin-bottom: 48px;
  }

  .cta-wide__title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .section--about .container {
    padding: 32px 0;
  }

  .section--about .about-heading__title,
  .section--about .about-heading .section-title {
    font-size: 24px;
  }

  .about-text {
    font-size: 14px;
  }

  .about-grid__photo {
    margin-top: 0.5rem;
  }

  .cta-wide {
    padding: 0 16px;
  }

  .cta-wide__inner {
    min-height: auto;
    padding: 36px 22px !important;
    margin-bottom: 36px;
    border-radius: 16px;
    align-items: flex-start;
  }

  .cta-wide__title {
    font-size: 24px;
    line-height: 1.25;
  }

  .cta-wide__sub {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .site-footer {
    padding: 2rem 0 2.5rem;
  }

  .site-footer__heading {
    margin-top: 0.5rem;
  }

  .site-footer__contact li {
    align-items: flex-start;
  }
}

@media (max-width: 575px) {
  .cta-wide__inner {
    padding: 28px 18px !important;
  }

  .cta-wide__title {
    font-size: 22px;
  }

  .about-heading__title .about-icon {
    width: 36px;
    height: 35px;
  }
}

/* ----- VP-Cart legacy product HTML + option matrices ----- */
.vpcart-product-html {
  line-height: 1.65;
  color: #334155;
  overflow-wrap: anywhere;
  font-family: var(--font);
}

.vpcart-product-html * {
  font-family: var(--font) !important;
}

.vpcart-product-html p {
  margin: 0 0 0.85rem;
}

.vpcart-product-html table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.vpcart-product-html th,
.vpcart-product-html td {
  border: 1px solid var(--color-line);
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.vpcart-product-html th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--color-navy-deep);
}

.vpcart-product-html img {
  max-width: 100%;
  height: auto;
}

.product-matrix-panel__intro {
  margin: -0.35rem 0 1rem;
}

.product-matrix-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-matrix-cards {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
}

.product-matrix-card {
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.product-matrix-card.is-selected {
  border-color: var(--color-category-head, #1e4a7a);
  background: #e8f1fb;
  box-shadow: 0 0 0 2px rgba(43, 90, 145, 0.15);
}

.product-matrix-card__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.product-matrix-card__cell {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.product-matrix-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  line-height: 1.2;
}

.product-matrix-card__value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-navy-deep);
  word-break: break-word;
  line-height: 1.25;
}

.product-matrix-card__cell--price .product-matrix__price {
  font-size: 1rem;
  line-height: 1.2;
}

.product-matrix-card__specs {
  margin: 0 0 0.85rem;
}

.product-matrix-card__specs--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.product-matrix-card__specs--grid .product-matrix-card__row {
  grid-template-columns: 1fr;
  gap: 0.2rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  background: #f8fafc;
}

.product-matrix-card__row {
  display: grid;
  grid-template-columns: minmax(88px, 38%) 1fr;
  gap: 0.65rem;
  align-items: start;
}

.product-matrix-card__row dt {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #64748b;
}

.product-matrix-card__row dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy-deep);
  word-break: break-word;
}

.product-matrix-card__footer {
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-line);
}

.product-matrix-card__action .product-matrix__form {
  display: block;
  width: 100%;
}

.product-matrix-card__action .product-matrix__btn {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  font-size: 1rem;
}

.product-matrix {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.product-matrix th,
.product-matrix td {
  border: 1px solid var(--color-line);
  padding: 0.65rem 0.75rem;
  vertical-align: middle;
}

.product-matrix thead th {
  background: var(--color-navy-deep);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.product-matrix tbody tr:nth-child(even) {
  background: #f8fafc;
}

.product-matrix tbody tr.is-selected {
  background: #e8f1fb;
  outline: 2px solid var(--color-category-head, #1e4a7a);
  outline-offset: -2px;
}

.product-matrix__price {
  font-weight: 700;
  color: var(--color-category-head);
  white-space: nowrap;
}

.product-matrix__unit {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
}

.product-matrix__code {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
}

.product-matrix__order {
  white-space: nowrap;
}

.product-matrix__oos {
  color: #b45309;
  font-weight: 700;
  font-size: 0.85rem;
}

.product-purchase__matrix-note {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: #eef3fa;
  border: 1px solid #c7d8ef;
  border-radius: 10px;
  color: var(--color-navy);
  font-weight: 600;
}

.product-purchase__matrix-note a {
  color: var(--color-category-head);
}

.product-order-features__item + .product-order-features__item {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
}

.product-order-features__caption {
  margin-bottom: 0.5rem;
}

.product-order-features__note {
  margin-top: 1rem;
}

.btn--sm {
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
}

@media (max-width: 767px) {
  .product-matrix-wrap {
    display: none;
  }

  .product-matrix-cards {
    display: flex;
  }

  .product-detail-gallery__stage:hover .product-detail-gallery__main,
  .product-detail-gallery__stage:focus-within .product-detail-gallery__main,
  .product-detail-gallery__stage:hover .product-image--detail-main,
  .product-detail-gallery__stage:focus-within .product-image--detail-main {
    transform: none;
  }

  .brand__logo--header {
    max-width: min(200px, 68vw);
    max-height: 44px;
  }

  .product-detail-sections__table tbody {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vpcart-product-html table {
    display: block;
    border: 0;
  }

  .vpcart-product-html table thead {
    display: none;
  }

  .vpcart-product-html table tbody,
  .vpcart-product-html table tr {
    display: block;
    width: 100%;
  }

  .vpcart-product-html table tr {
    margin-bottom: 0.85rem;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    background: #fff;
  }

  .vpcart-product-html table td,
  .vpcart-product-html table th {
    display: block;
    border: 0;
    padding: 0.25rem 0;
    white-space: normal;
  }

  .vpcart-product-html table td::before,
  .vpcart-product-html table th::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 0.15rem;
  }
}
