@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap");

:root {
  --kawa-green: #69BE28;
  --kawa-dark: #474747;
  --kawa-darker: #2f2f2f;
  --kawa-bg: #efefef;
  --kawa-text: #111111;
  --site-pad: clamp(12px, 3vw, 34px);
  color-scheme: light;
  font-family: Oswald, Inter, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--kawa-bg);
  color: var(--kawa-text);
}

html {
  font-size: 15px;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--kawa-bg);
  font-size: 15px;
  line-height: 1.35;
  margin: 0;
}

html.modal-scroll-locked {
  overflow: hidden;
}

body.modal-scroll-locked {
  left: 0;
  overflow: hidden;
  position: fixed;
  right: 0;
  width: 100%;
}

button,
input,
select {
  font: inherit;
}

.topbar {
  align-items: stretch;
  background: var(--kawa-dark);
  border-bottom: 3px solid var(--kawa-green);
  color: #f7faf7;
  display: flex;
  gap: 0;
  justify-content: space-between;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 900;
}

.menu-button {
  align-items: center;
  background: #151915;
  border: 0;
  border-right: 1px solid #303630;
  box-shadow: inset 0 -3px 0 var(--kawa-green);
  border-radius: 0;
  color: #ffffff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 950;
  gap: 12px;
  min-height: 56px;
  padding: 0 22px 0 18px;
  text-transform: uppercase;
  transition: background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.menu-button i {
  align-items: center;
  background: rgba(105, 190, 40, 0.12);
  border: 1px solid rgba(105, 190, 40, 0.65);
  color: var(--kawa-green);
  display: inline-flex;
  font-size: 15px;
  height: 32px;
  justify-content: center;
  width: 36px;
}

.menu-button:hover {
  background: #222822;
  box-shadow: inset 0 -3px 0 #ffffff, 0 10px 22px rgba(0, 0, 0, 0.18);
  color: #ffffff;
}

.menu-button:hover i {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--kawa-green);
  color: #ffffff;
}

.brand-home {
  align-items: center;
  background: #ffffff;
  border-radius: 0;
  box-shadow: none;
  color: #151815;
  display: flex;
  flex: 1 1 auto;
  gap: clamp(14px, 2vw, 24px);
  justify-content: center;
  min-height: 64px;
  min-width: 0;
  padding: 4px clamp(22px, 4vw, 56px);
  text-align: left;
  transform: none;
}

.brand-home:hover {
  background: #f4f4f4;
  box-shadow: none;
}

.brand-home img {
  display: block;
  object-fit: contain;
}

.brand-logo-motoworld {
  height: 44px;
  max-width: 190px;
}

.brand-logo-kawasaki {
  height: 44px;
  max-width: 130px;
}

.brand-logo-main {
  height: 62px;
  max-width: 104px;
  width: 104px;
}

.brand-home span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.brand-home strong {
  color: #151815;
  font-size: clamp(20px, 2.15vw, 30px);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-home small {
  color: #49534d;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 600;
  text-transform: uppercase;
}

.top-actions {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
  gap: 0;
  justify-content: flex-end;
}

.top-actions .icon-button {
  background: var(--kawa-dark);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  box-shadow: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  min-height: 56px;
  padding: 0 clamp(12px, 1.5vw, 20px);
  position: relative;
  text-transform: uppercase;
  transform: none;
}

.notification-badge {
  align-items: center;
  background: #d71920;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  height: 23px;
  justify-content: center;
  line-height: 1;
  margin-left: 8px;
  min-width: 23px;
  padding: 0 6px;
  position: relative;
  top: -1px;
}

.top-actions .notification-badge {
  margin-left: 7px;
  position: absolute;
  right: 8px;
  top: 8px;
}

.top-actions .icon-button:hover {
  background: #3a3a3a;
  color: var(--kawa-green);
}

.top-actions #loginButton,
.top-actions #accountButton,
.top-actions #adminButton {
  background: var(--kawa-green);
  color: #111111;
}

.top-actions #cartButton {
  background: #141414;
  align-items: center;
  display: inline-flex;
  gap: 7px;
  justify-content: center;
}

.cart-hover-zone {
  align-items: stretch;
  display: flex;
  position: relative;
}

.cart-hover-preview {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(17, 24, 17, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  color: #111711;
  opacity: 0;
  padding: 14px;
  pointer-events: none;
  position: absolute;
  right: 8px;
  top: calc(100% + 9px);
  transform: translateY(-6px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
  visibility: hidden;
  width: min(360px, calc(100vw - 24px));
  z-index: 1300;
}

.cart-hover-preview::before {
  content: "";
  height: 12px;
  left: 0;
  position: absolute;
  right: 0;
  top: -12px;
}

.cart-hover-zone:hover .cart-hover-preview,
.cart-hover-zone:focus-within .cart-hover-preview,
.cart-hover-preview.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.cart-hover-preview.is-visible {
  transition-delay: 0s;
}

.cart-hover-head,
.cart-hover-total {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.cart-hover-head {
  border-bottom: 1px solid #e0e5e0;
  padding-bottom: 9px;
}

.cart-hover-head strong,
.cart-hover-total strong,
.cart-hover-line strong {
  color: #111711;
}

.cart-hover-head span,
.cart-hover-line span,
.cart-hover-empty span,
.cart-hover-more {
  color: #586258;
  font-size: 12px;
}

.cart-hover-lines {
  display: grid;
  gap: 9px;
  margin: 11px 0;
}

.cart-hover-line {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.cart-hover-line div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cart-hover-line strong {
  font-size: 13px;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-hover-line b {
  color: #111711;
  font-size: 13px;
  white-space: nowrap;
}

.cart-hover-more {
  border-top: 1px solid #edf0ed;
  padding-top: 8px;
}

.cart-hover-total {
  border-top: 1px solid #dfe5df;
  margin-top: 10px;
  padding-top: 10px;
}

.cart-hover-empty {
  display: grid;
  gap: 4px;
}

.top-actions #cartButton:hover {
  background: #242a24;
  color: #ffffff;
}

.top-actions #cartButton.is-count-updating {
  animation: cartButtonPop 560ms cubic-bezier(0.2, 0.85, 0.25, 1);
  background: #232923;
  box-shadow: inset 0 -3px 0 rgba(105, 190, 40, 0.65), 0 12px 26px rgba(0, 0, 0, 0.18);
  color: #ffffff;
}

#cartCount {
  display: inline-grid;
  height: 1.15em;
  line-height: 1.15;
  min-width: 1.25em;
  overflow: hidden;
  place-items: center;
  position: relative;
  text-align: center;
  vertical-align: -0.08em;
}

.cart-count-roll {
  display: grid;
  grid-auto-rows: 1.15em;
  line-height: 1.15;
  transform: translateY(0);
}

.cart-count-roll span {
  align-items: center;
  display: grid;
  height: 1.15em;
  justify-content: center;
}

#cartCount.is-rolling .cart-count-roll {
  animation: cartCountRoll 520ms cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

.animated-counter {
  display: inline-grid;
  line-height: 1.08;
  min-height: 1.1em;
  overflow: hidden;
  place-items: center;
}

.animated-counter.is-rolling .cart-count-roll {
  animation: cartCountRoll 520ms cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

.animated-counter[data-total-label]::after {
  color: inherit;
  content: " " attr(data-total-label);
  font-size: 0.82em;
  margin-left: 4px;
  opacity: 0.72;
}

@keyframes cartButtonPop {
  0% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-2px) scale(1.04); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes cartCountRoll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.shop-menu-overlay,
.gift-card-overlay {
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(6px);
  inset: 0;
  position: fixed;
  z-index: 1200;
}

.shop-menu-overlay {
  animation: shopMenuFadeIn 180ms ease both;
  opacity: 1;
}

.shop-menu-panel {
  background: #ffffff;
  border-right: 4px solid #69BE28;
  box-shadow: 14px 0 32px rgba(0, 0, 0, 0.20);
  color: #151815;
  height: 100%;
  max-width: min(340px, 88vw);
  padding: 16px 18px;
  animation: shopMenuSlideIn 260ms cubic-bezier(0.2, 0.85, 0.25, 1) both;
  transform: translateX(0);
  width: 318px;
  will-change: transform;
  overflow-y: auto;
  overflow-x: visible;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}

.shop-menu-overlay.is-open {
  opacity: 1;
}

.shop-menu-overlay.is-open .shop-menu-panel {
  transform: translateX(0);
}

@keyframes shopMenuFadeIn {
  from { opacity: 0.82; }
  to { opacity: 1; }
}

@keyframes shopMenuSlideIn {
  from { transform: translateX(-28px); }
  to { transform: translateX(0); }
}

.shop-menu-close,
.gift-card-close {
  align-items: center;
  background: #f1f4f1;
  border: 0;
  border-radius: 0;
  color: #62b321;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  padding: 9px 11px;
  text-transform: uppercase;
}

.shop-menu-panel h2 {
  font-size: 28px;
  margin: 18px 0 12px;
  text-transform: uppercase;
}

.shop-menu-list {
  display: grid;
  gap: 0;
}

.shop-menu-list button,
.shop-menu-list a {
  align-items: center;
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid #dfe5df;
  color: #4c4f4c;
  display: flex;
  font-size: 16px;
  font-weight: 500;
  justify-content: space-between;
  min-height: 44px;
  padding: 0;
  text-align: left;
  text-decoration: none;
}

.shop-menu-list button:hover,
.shop-menu-list a:hover {
  color: #56ae1c;
  padding-left: 6px;
}

.gift-card-overlay {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.gift-card-box {
  background: #ffffff;
  border-top: 5px solid #69BE28;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.28);
  color: #151815;
  max-width: 560px;
  padding: 28px;
  position: relative;
  width: min(560px, 94vw);
}

.gift-card-close {
  height: 44px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 44px;
}

.gift-card-box h3 {
  font-size: 36px;
  line-height: 1;
  margin: 8px 48px 12px 0;
  text-transform: uppercase;
}

.gift-card-box p {
  color: #4c5a50;
  font-size: 16px;
  line-height: 1.45;
  margin: 0 0 18px;
}

.gift-card-form {
  display: grid;
  gap: 14px;
}

.gift-card-amounts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 120px));
  justify-content: center;
  justify-items: stretch;
}

.gift-card-amounts button {
  background: #f4f7f4;
  border: 1px solid #d8e0d9;
  color: #151815;
  min-height: 46px;
  padding: 8px;
  text-align: center;
}

.gift-card-amounts button.is-active,
.gift-card-amounts button:hover {
  background: #69BE28;
  border-color: #69BE28;
}

.gift-card-form label {
  display: grid;
  font-size: 12px;
  font-weight: 950;
  gap: 7px;
  text-transform: uppercase;
}

.gift-card-form input {
  border: 1px solid #cad3cb;
  min-height: 50px;
  padding: 10px 12px;
}

.gift-card-code-preview {
  background: #111811;
  color: #ffffff;
  font-weight: 900;
  padding: 13px 14px;
  text-align: center;
}

.gift-balance-toggle {
  background: #ffffff;
  border: 2px solid #69BE28;
  color: #151815;
  font-weight: 950;
  margin-top: 14px;
  min-height: 48px;
  text-transform: uppercase;
  width: 100%;
}

.gift-card-balance-form {
  background: #f6f8f6;
  border: 1px solid #d8e0d9;
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
}

.gift-card-balance-form[hidden] {
  display: none;
}

.gift-card-balance-form label {
  display: grid;
  font-size: 12px;
  font-weight: 950;
  gap: 7px;
  text-transform: uppercase;
}

.gift-card-balance-form input {
  border: 1px solid #cad3cb;
  min-height: 46px;
  padding: 9px 11px;
}

.gift-balance-result {
  background: #111811;
  color: #ffffff;
  display: grid;
  gap: 4px;
  padding: 13px 14px;
}

.gift-balance-result span,
.gift-balance-result small {
  color: #dce8dc;
}

.gift-balance-result strong {
  color: #69BE28;
  font-size: 28px;
  line-height: 1;
}

.layout {
  padding: 0 0 28px;
}

.content-grid {
  display: none !important;
}

.diagram-page-mode .search-panel,
.diagram-page-mode .content-grid {
  display: none;
}

.standalone-page-mode .search-panel,
.standalone-page-mode .content-grid,
.standalone-page-mode #diagramPage {
  display: none;
}

.search-idle .content-grid {
  display: none;
}

.search-panel,
.models-panel,
.detail-panel {
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-radius: 0;
}

.search-panel {
  background: #111111;
  border: 0;
  border-top: 0;
  color: #ffffff;
  min-height: clamp(560px, 68vh, 760px);
  overflow: hidden;
  padding: clamp(150px, 17vh, 190px) var(--site-pad) clamp(42px, 6vh, 68px);
  position: relative;
}

.search-panel::before,
.search-panel::after {
  align-items: center;
  background: rgba(35, 35, 35, 0.82);
  color: #ffffff;
  display: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 42px;
  height: 58px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  z-index: 1;
}

.search-panel::before {
  content: "‹";
  left: 18px;
}

.search-panel::after {
  content: "›";
  right: 18px;
}

.search-panel::before,
.search-panel::after {
  line-height: 1;
  place-items: center;
}

.search-panel::before {
  content: "\2039";
}

.search-panel::after {
  content: "\203A";
}

.hero-slides {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.hero-slide {
  background-position: center;
  background-size: cover;
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: scale(1.025);
  transition: opacity 1100ms ease, transform 6200ms ease;
}

.hero-slide::after {
  background:
    radial-gradient(circle at 82% 48%, rgba(105, 190, 40, 0.13), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.70) 46%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.home-intro {
  align-items: end;
  border-bottom: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, 1fr) auto;
  margin: 0 auto 26px;
  max-width: 1220px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.hero-gift-card-promo {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-left: 5px solid var(--kawa-green);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  color: #101611;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  left: var(--site-pad);
  max-width: min(680px, calc(100vw - var(--site-pad) * 2));
  padding: 10px 14px;
  position: absolute;
  top: clamp(12px, 2vh, 22px);
  width: min(680px, calc(100vw - var(--site-pad) * 2));
  z-index: 3;
}

.hero-gift-card-promo .kicker {
  color: var(--kawa-green);
  font-size: 10px;
}

.hero-gift-card-promo h3 {
  color: #071007;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1;
  margin: 3px 0;
  text-transform: uppercase;
}

.hero-gift-card-promo p {
  color: #334139;
  font-size: 12px;
  font-weight: 900;
  margin: 0;
}

.hero-gift-card-promo button {
  font-size: 12px;
  min-height: 38px;
  padding: 8px 14px;
  white-space: nowrap;
}

.home-intro h2 {
  color: #ffffff;
  font-size: clamp(50px, 8vw, 108px);
  font-weight: 950;
  line-height: 0.86;
  margin: 8px 0 10px;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.48);
  text-transform: uppercase;
}

.home-intro h2::after {
  color: var(--kawa-green);
  content: " OEM";
}

.home-intro p {
  color: #f2f4f2;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(17px, 1.9vw, 24px);
  font-weight: 700;
  margin: 0;
  max-width: 760px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.48);
}

.home-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.home-trust-strip span {
  background: rgba(10, 13, 10, 0.72);
  border: 1px solid rgba(105, 190, 40, 0.42);
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.4px;
  padding: 9px 12px;
  text-transform: uppercase;
}

.hero-message-rotator {
  height: 66px;
  margin: 12px 0 0 auto;
  max-width: 220px;
  overflow: hidden;
  position: relative;
  width: min(220px, 100%);
  z-index: 2;
}

.hero-message-track {
  animation: heroMessageSlideX 12s infinite;
  display: flex;
  height: 100%;
  width: 300%;
}

.hero-message-track article {
  background: rgba(14, 17, 14, 0.88);
  border: 1px solid rgba(105, 190, 40, 0.72);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  display: grid;
  flex: 0 0 33.3333%;
  gap: 1px;
  height: 100%;
  min-height: 66px;
  padding: 7px 10px 12px;
}

.hero-message-track span {
  color: var(--kawa-green);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-message-track strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  line-height: 0.98;
  text-transform: uppercase;
}

.hero-message-track small {
  color: #d9e1da;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.18;
}

@keyframes heroMessageSlideX {
  0%, 26% {
    transform: translateX(0);
  }
  33%, 59% {
    transform: translateX(-33.3333%);
  }
  66%, 92% {
    transform: translateX(-66.6666%);
  }
  100% {
    transform: translateX(0);
  }
}

.kicker {
  color: #ffffff;
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.search-tags span {
  background: rgba(47, 47, 47, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 11px;
  text-transform: uppercase;
}

.search-console {
  align-items: end;
  background: rgba(18, 20, 18, 0.90);
  border: 1px solid rgba(105, 190, 40, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  display: grid;
  gap: 0;
  grid-template-columns: minmax(220px, 260px) minmax(240px, 1fr) minmax(120px, 160px) auto;
  max-width: none;
  position: relative;
  z-index: 2;
}

.search-garage-row {
  align-items: stretch;
  display: flex;
  gap: 12px;
  margin: 0 auto;
  max-width: 1220px;
  position: relative;
  z-index: 2;
}

.search-garage-row .search-console {
  flex: 1 1 auto;
}

.garage-launch-button {
  align-items: center;
  background: rgba(13, 16, 13, 0.92);
  border: 1px solid rgba(105, 190, 40, 0.88);
  border-radius: 0;
  color: #ffffff;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  min-height: 100%;
  min-width: 138px;
  padding: 14px 18px;
  position: relative;
  z-index: 2;
}

.garage-launch-button i {
  color: var(--kawa-green);
  font-size: 22px;
}

.garage-launch-button.has-active-vehicle {
  box-shadow: inset 0 -4px 0 var(--kawa-green);
}

.garage-launch-button:hover,
.garage-launch-button:focus {
  background: #202720;
  color: #ffffff;
}

.garage-search-note {
  align-items: center;
  background: #101510;
  border-left: 4px solid var(--kawa-green);
  color: #f7fff4;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px auto 0;
  max-width: 1220px;
  padding: 10px 12px;
  position: relative;
  width: min(100%, 1220px);
  z-index: 2;
}

.garage-search-note[hidden] {
  display: none;
}

.garage-search-note i,
.garage-search-note strong {
  color: var(--kawa-green);
}

.garage-accessory-hint {
  align-items: center;
  background: #101510;
  border-left: 4px solid var(--kawa-green);
  color: #f7fff4;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 11px 12px;
}

.garage-accessory-hint i,
.garage-accessory-hint strong {
  color: var(--kawa-green);
}

.garage-accessory-hint span {
  flex: 1 1 420px;
}

.garage-accessory-hint button {
  min-height: 34px;
  padding: 7px 12px;
}

.garage-search-note > span {
  flex: 1 1 460px;
}

.garage-search-note button {
  min-height: 34px;
  padding: 7px 10px;
}

.search-console label {
  color: #edf5ed;
  font-weight: 900;
  gap: 8px;
  padding: 16px;
  text-transform: uppercase;
}

.search-console label + label {
  border-left: 1px solid #3a403a;
}

.search-year-field[hidden] {
  display: none;
}

.search-console:has(.search-year-field[hidden]) {
  grid-template-columns: minmax(220px, 280px) minmax(260px, 1fr) auto;
}

.search-actions {
  display: flex;
  gap: 0;
  height: 100%;
  justify-content: flex-end;
  margin-top: 0;
}

.search-actions button {
  border-radius: 0;
  box-shadow: none;
  font-size: 16px;
  font-weight: 900;
  min-height: 100%;
  padding: 0 24px;
  transform: none;
}

#searchButton {
  align-items: center;
  background: var(--kawa-green);
  border-left: 1px solid var(--kawa-green);
  color: #111111;
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  min-width: 170px;
}

#searchButton:hover {
  background: #7dde35;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.20);
  color: #111111;
  transform: none;
}

#searchButton.is-searching,
#homeStockButton.is-searching,
#homeStockButton.is-searching:disabled {
  background: #69BE28;
  color: #071007;
  opacity: 1;
  overflow: hidden;
  position: relative;
  animation: buttonPress 320ms ease both;
}

#searchButton.is-searching::before,
#homeStockButton.is-searching::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-120%);
  animation: buttonSweep 700ms ease both;
}

#clearSearchButton {
  border-left: 1px solid #454b45;
  min-width: 120px;
}

label {
  color: #4c5a50;
  display: grid;
  font-size: 13px;
  gap: 6px;
}

input {
  border: 1px solid #cbd5cc;
  border-radius: 6px;
  min-height: 42px;
  padding: 9px 11px;
}

.search-console input,
.search-console select {
  background: #ffffff;
  border: 0;
  border-radius: 0;
  color: #111511;
  font-size: 14px;
  font-weight: 900;
  min-height: 52px;
  padding: 12px 14px;
}

.search-console select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #69BE28 50%), linear-gradient(135deg, #69BE28 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

button {
  background: #69BE28;
  border: 0;
  border-radius: 6px;
  color: #061006;
  cursor: pointer;
  font-weight: 600;
  min-height: 42px;
  padding: 9px 14px;
  transition: background 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
  text-transform: uppercase;
}

button:hover {
  background: #75d334;
  box-shadow: 0 10px 24px rgba(20, 116, 47, 0.16);
  transform: translateY(-1px);
}

button:disabled {
  background: #c9d0cb;
  color: #69746c;
  cursor: not-allowed;
  opacity: 0.82;
}

button:disabled:hover {
  background: #c9d0cb;
}

button:hover,
button:focus {
  color: #061006;
}

.secondary-button:hover,
.secondary-button:focus,
.icon-button:hover,
.icon-button:focus,
.danger-button:hover,
.danger-button:focus,
.remove-button:hover,
.remove-button:focus,
.status-toggle:hover,
.status-toggle:focus,
.search-console .secondary-button:hover,
.search-console .secondary-button:focus {
  color: #ffffff;
}

button[style*="background: #ffffff"],
button[style*="background:#ffffff"] {
  color: #111511;
}

.shop-menu-list button,
.gift-card-box,
.gift-card-box button,
.menu-contact-form input,
.menu-contact-form textarea,
.featured-product-card,
.featured-product-card button,
.featured-category-panel,
.featured-subcategories button,
.featured-category-tiles button,
.menu-category-picker button,
.search-result-card,
.model-diagrams-box,
.model-diagrams-grid .diagram-card,
.cart-confirm-box,
.account-card,
.admin-user-card,
.admin-line,
.catalog-admin-card,
.coupon-card,
.customer-order-admin,
.scraper-panel,
.cart-page-line,
.checkout-address-card,
.checkout-recap-card,
.choice-card,
.email-current-row,
.model-year-box,
.model-year-options button {
  color: #111511;
}

.icon-button {
  background: #0a0c0a;
  color: #ffffff;
  min-height: 64px;
}

.search-console .secondary-button {
  background: #2d302d;
  color: #ffffff;
}

.search-console .secondary-button:hover {
  background: #3b423b;
}

.home-stock-form {
  align-items: end;
  background: rgba(12, 14, 12, 0.88);
  border: 1px solid rgba(105, 190, 40, 0.42);
  border-left: 4px solid var(--kawa-green);
  color: #ffffff;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) minmax(240px, 360px) auto;
  margin: 20px auto 0;
  max-width: 1220px;
  padding: 16px;
  position: relative;
  z-index: 2;
}

.home-stock-form strong {
  color: #ffffff;
  display: block;
  font-size: 20px;
  text-transform: uppercase;
}

.home-stock-form label {
  color: #d7ddd8;
  font-weight: 900;
  text-transform: uppercase;
}

.home-stock-form input {
  border: 0;
  border-radius: 0;
  font-weight: 900;
  min-height: 50px;
}

.home-stock-actions {
  display: flex;
  gap: 8px;
}

.home-stock-form button {
  border-radius: 0;
  font-weight: 950;
  min-height: 50px;
}

.home-stock-form .secondary-button {
  background: #2d302d;
  color: #ffffff;
}

.home-stock-result {
  align-items: center;
  background: #ffffff;
  color: #111511;
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px;
}

.home-stock-result[hidden] {
  display: none;
}

.home-stock-result div {
  display: grid;
  gap: 3px;
}

.home-stock-result strong {
  color: #111511;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.home-stock-result span {
  color: #111511;
}

.home-stock-result small {
  color: #4c5a50;
  grid-column: 1 / -1;
}

.featured-catalog {
  background: #f5f7f5;
  border-bottom: 1px solid #dce4dc;
  border-top: 4px solid var(--kawa-green);
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 18px clamp(16px, 5vw, 72px) 24px;
}

.featured-catalog .kicker {
  color: var(--kawa-green);
}

.featured-catalog[hidden] {
  display: none;
}

.diagram-page-mode .featured-catalog,
.standalone-page-mode .featured-catalog {
  display: none;
}

.featured-head {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1360px;
  width: 100%;
}

.featured-head h2 {
  color: #071007;
  font-size: clamp(24px, 3vw, 42px);
  margin: 0;
  text-transform: uppercase;
}

.featured-head > span {
  color: #172017;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-tabs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 0 auto;
  max-width: 1360px;
  width: 100%;
}

.featured-tabs button {
  background: #151915;
  border: 1px solid #151915;
  color: #ffffff;
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 950;
  min-height: 44px;
  padding: 10px 12px;
  text-transform: uppercase;
}

.featured-tabs button.is-active {
  background: var(--kawa-green);
  border-color: var(--kawa-green);
  color: #071007;
}

.featured-search-bar {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  margin: 0 auto;
  max-width: 1360px;
  width: 100%;
}

.featured-search-bar input {
  background: #ffffff;
  border: 1px solid #cfd8cf;
  color: #101611;
  font-size: 15px;
  font-weight: 850;
  min-height: 46px;
  padding: 10px 14px;
}

.featured-search-bar button {
  min-height: 46px;
  padding: 10px 18px;
}

.home-gift-card-promo {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-left: 8px solid var(--kawa-green);
  box-shadow: 0 16px 34px rgba(14, 21, 17, 0.08);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: 1360px;
  padding: 18px clamp(16px, 2vw, 28px);
  width: 100%;
}

.home-gift-card-promo h3 {
  color: #101611;
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1;
  margin: 4px 0;
  text-transform: uppercase;
}

.home-gift-card-promo p {
  color: #4c5a50;
  font-size: 16px;
  font-weight: 850;
  margin: 0;
}

.home-gift-card-promo button {
  min-height: 52px;
  padding: 12px 22px;
  white-space: nowrap;
}

.featured-accessory-model-panel {
  align-items: center;
  background: #111711;
  border-top: 4px solid var(--kawa-green);
  color: #ffffff;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(220px, 0.95fr) minmax(320px, 1.3fr);
  margin: 0 auto;
  max-width: 1360px;
  padding: 18px clamp(16px, 2vw, 28px);
  width: 100%;
}

.featured-accessory-model-panel h3 {
  color: #ffffff;
  font-size: clamp(24px, 2.3vw, 36px);
  line-height: 1;
  margin: 4px 0;
  text-transform: uppercase;
}

.featured-accessory-model-panel p {
  color: #d7e3d7;
  font-size: 15px;
  font-weight: 850;
  margin: 0;
}

.featured-accessory-model-form {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(220px, 1fr) auto auto;
}

.featured-accessory-model-form label {
  color: #ffffff;
  display: grid;
  font-size: 14px;
  font-weight: 950;
  gap: 8px;
  text-transform: uppercase;
}

.featured-accessory-model-form input {
  background: #ffffff;
  border: 2px solid #ffffff;
  color: #071007;
  font-size: 16px;
  font-weight: 950;
  min-height: 50px;
  padding: 10px 14px;
  text-transform: uppercase;
}

.featured-accessory-model-form button {
  min-height: 50px;
  padding: 10px 18px;
  white-space: nowrap;
}

.featured-accessory-shop {
  background: #ffffff;
  border: 1px solid #dfe6df;
  box-shadow: 0 16px 34px rgba(14, 21, 17, 0.08);
  display: grid;
  gap: 28px;
  margin: 0 auto;
  max-width: 1360px;
  padding: clamp(18px, 3vw, 34px);
  width: 100%;
}

.accessory-segment-row {
  display: grid;
  gap: clamp(26px, 5vw, 72px);
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  margin-bottom: 18px;
}

.accessory-segment-row button {
  background: transparent;
  border: 0;
  color: #070b07;
  display: grid;
  gap: 12px;
  min-height: 0;
  padding: 0;
  place-items: center;
  position: relative;
  text-align: center;
  text-transform: uppercase;
}

.accessory-segment-row button::after {
  background: var(--kawa-green);
  content: "";
  height: 2px;
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
  width: 54px;
}

.accessory-segment-row button:hover::after,
.accessory-segment-row button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.accessory-segment-row button:hover img,
.accessory-segment-row button.is-active img {
  transform: translateY(-2px);
}

.accessory-segment-row img {
  aspect-ratio: 16 / 9;
  background: #f1f4f1;
  border: 0;
  box-shadow: none;
  object-fit: cover;
  padding: 0;
  transition: transform 160ms ease;
  width: 100%;
}

.accessory-segment-row strong {
  font-size: clamp(17px, 1.7vw, 26px);
  font-weight: 950;
  line-height: 1;
}

.accessory-segment-row span {
  background: var(--kawa-green);
  color: #071007;
  font-size: 12px;
  font-weight: 950;
  padding: 4px 7px;
  position: absolute;
  right: 8px;
  top: 8px;
}

.accessory-shop-title {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(80px, 1fr);
}

.accessory-shop-title h3 {
  color: #070b07;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

.accessory-shop-title span {
  background: var(--kawa-green);
  height: 1px;
  width: 100%;
}

.featured-accessory-filter-form {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(180px, 1fr) minmax(150px, 0.72fr) minmax(180px, 1fr) auto auto;
}

.featured-accessory-filter-form label {
  color: #070b07;
  display: grid;
  font-size: 16px;
  font-weight: 950;
  gap: 8px;
  text-transform: uppercase;
}

.featured-accessory-filter-form select {
  background: #ffffff;
  border: 2px solid #151915;
  color: #070b07;
  font-size: 16px;
  font-weight: 950;
  min-height: 50px;
  padding: 0 42px 0 14px;
  text-transform: uppercase;
}

.featured-accessory-filter-form select:disabled {
  background: #eef1ee;
  border-color: #c8d3c8;
  color: #7a857d;
}

.featured-accessory-filter-form button {
  align-self: end;
  min-height: 50px;
  padding: 10px 18px;
  white-space: nowrap;
}

.accessory-parts-note {
  margin: 0;
}

.featured-category-panel {
  background: #ffffff;
  border: 0;
  box-shadow: none;
  margin: 0 auto;
  max-width: 1360px;
  padding: 0;
  width: 100%;
}

.featured-category-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.featured-category-head span {
  color: var(--kawa-green);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 3px;
}

.featured-category-head strong {
  color: #101611;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 950;
}

.featured-subcategories {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
  width: 100%;
}

.featured-subcategories button {
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8f3 100%);
  border: 2px solid #cbd8cb;
  color: #101611;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: clamp(18px, 1.8vw, 30px);
  font-weight: 950;
  gap: 14px;
  min-height: 72px;
  padding: 16px 22px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
  text-transform: uppercase;
}

.featured-subcategories button:hover {
  background: #ffffff;
  border-color: var(--kawa-green);
  box-shadow: inset 0 -6px 0 var(--kawa-green), 0 16px 26px rgba(14, 21, 17, 0.14);
  transform: translateY(-2px);
}

.featured-subcategories button:active {
  transform: translateY(1px) scale(0.99);
}

.featured-subcategories button span {
  background: var(--kawa-green);
  color: #071007;
  font-size: clamp(15px, 1.2vw, 20px);
  font-weight: 950;
  min-width: 38px;
  padding: 8px 10px;
  text-align: center;
}

.featured-category-tiles {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.featured-category-tiles button {
  background: #ffffff;
  border: 1px solid #d2ded2;
  color: #071007;
  display: grid;
  gap: 12px;
  min-height: 190px;
  padding: 0 0 16px;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.featured-category-tiles button:hover,
.featured-category-tiles button.is-active {
  border-color: var(--kawa-green);
  box-shadow: inset 0 -5px 0 var(--kawa-green), 0 16px 28px rgba(14, 21, 17, 0.14);
  transform: translateY(-2px);
}

.featured-category-tiles img {
  aspect-ratio: 16 / 9;
  background: #101611;
  height: 126px;
  object-fit: cover;
  width: 100%;
}

.featured-category-tiles strong {
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 950;
  line-height: 1;
  padding: 0 12px;
}

.featured-category-tiles span {
  color: #4d5d50;
  font-size: 13px;
  font-weight: 900;
}

.featured-select-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 22px;
}

.featured-select-row label {
  color: #071007;
  display: grid;
  font-size: 16px;
  font-weight: 950;
  gap: 8px;
  text-transform: uppercase;
}

.featured-select-row select {
  background: #ffffff;
  border: 2px solid #111811;
  color: #071007;
  font-size: 16px;
  font-weight: 950;
  min-height: 50px;
  padding: 0 42px 0 14px;
  text-transform: uppercase;
}

.featured-empty-search {
  background: #ffffff;
  border: 1px solid #dbe4db;
  color: #4c5a50;
  font-weight: 900;
  margin: 0 auto;
  max-width: 1360px;
  padding: 18px;
  text-transform: uppercase;
  width: 100%;
}

.featured-loading-panel {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d7e2d7;
  border-left: 8px solid var(--kawa-green);
  box-shadow: 0 18px 42px rgba(14, 21, 17, 0.1);
  color: #101611;
  display: grid;
  gap: 12px;
  justify-items: center;
  margin: 0 auto;
  max-width: 1360px;
  min-height: 260px;
  padding: 34px;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

.featured-loading-spinner {
  animation: featuredSpin 820ms linear infinite;
  border: 5px solid #dfe8df;
  border-top-color: var(--kawa-green);
  border-radius: 999px;
  display: block;
  height: 58px;
  width: 58px;
}

.featured-loading-panel strong {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 950;
}

.featured-loading-panel small {
  color: #4c5a50;
  font-size: 15px;
  font-weight: 900;
}

.site-progress-shell {
  background: #e7eee7;
  border: 1px solid #cdd9cd;
  height: 18px;
  margin-top: 8px;
  overflow: hidden;
  position: relative;
  width: min(100%, 420px);
}

.site-progress-shell span {
  background: linear-gradient(90deg, #69BE28 0%, #9ee66b 52%, #69BE28 100%);
  display: block;
  height: 100%;
  min-width: 8px;
  position: relative;
  transition: width 260ms ease;
}

.site-progress-shell span::after {
  animation: adminProgressSweep 980ms linear infinite;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-100%);
}

.site-progress-value {
  color: #071007;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
}

@keyframes featuredSpin {
  to {
    transform: rotate(360deg);
  }
}

.featured-window {
  cursor: grab;
  margin: 0 auto;
  max-width: 1360px;
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
  width: 100%;
}

.featured-window.is-static {
  cursor: default;
}

.featured-window.is-static .featured-track {
  justify-content: center;
  transform: none !important;
}

.featured-window.is-dragging {
  cursor: grabbing;
}

.featured-window.is-dragging .featured-product-card {
  user-select: none;
}

.featured-track {
  display: flex;
  gap: 14px;
  transition: transform 620ms cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}

.featured-window.is-dragging .featured-track {
  transition: none;
}

.featured-product-card {
  background: #ffffff;
  border: 1px solid #dbe4db;
  box-shadow: 0 10px 22px rgba(16, 22, 18, 0.07);
  cursor: pointer;
  display: grid;
  flex: 0 0 clamp(230px, 23vw, 310px);
  grid-template-rows: auto 1fr;
  min-height: 390px;
  overflow: hidden;
}

.featured-product-media {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: #eef2ef;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.featured-popularity-badge {
  background: rgba(23, 27, 24, 0.92);
  border-radius: 4px;
  color: #ffffff;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 900;
  left: 8px;
  line-height: 1;
  padding: 6px 7px;
  position: absolute;
  text-transform: uppercase;
  top: 8px;
  z-index: 1;
}

.featured-product-media img {
  height: 100%;
  object-fit: contain;
  padding: 8px;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  width: 100%;
}

.featured-product-body {
  align-content: start;
  display: grid;
  gap: 7px;
  padding: 14px;
}

.featured-type {
  color: var(--kawa-green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.garage-compatible-badge {
  align-items: center;
  background: #ecf8e9;
  border-left: 4px solid var(--kawa-green);
  color: #155f17;
  display: inline-flex;
  font-size: 11px;
  font-weight: 950;
  gap: 6px;
  padding: 6px 8px;
  text-transform: uppercase;
}

.garage-compatible-badge.is-muted {
  background: #f2f4f2;
  border-left-color: #8f9a91;
  color: #56625a;
}

.featured-product-body > strong {
  font-size: 16px;
  line-height: 1.15;
  text-transform: uppercase;
}

.featured-product-body small,
.featured-product-body p {
  color: #4c5a50;
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
}

.featured-product-body p {
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.featured-components {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.featured-components span {
  background: #edf5ea;
  border-left: 3px solid var(--kawa-green);
  color: #142017;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 7px;
  text-transform: uppercase;
}

.featured-size-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.featured-size-picker button {
  background: #eef2ef;
  border: 1px solid #d5ded5;
  color: #101611;
  font-size: 10px;
  font-weight: 950;
  min-height: 28px;
  min-width: 34px;
  padding: 4px 8px;
}

.featured-size-picker button.is-active {
  background: var(--kawa-green);
  border-color: var(--kawa-green);
  color: #071007;
}

.featured-size-picker button[aria-disabled="true"] {
  opacity: 0.62;
}

.featured-size-picker button.is-checking {
  animation: buttonPress 320ms ease both;
  overflow: hidden;
  position: relative;
}

.featured-size-picker button.is-checking::after {
  animation: buttonSweep 700ms ease both;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-120%);
}

.line-components {
  color: #4f5e54;
  display: block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.featured-product-foot {
  align-items: center;
  border-top: 1px solid #e5ebe5;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding-top: 8px;
}

.featured-product-foot strong {
  font-size: 17px;
}

.featured-product-body button {
  margin-top: 3px;
  min-height: 38px;
  max-width: 180px;
  padding-inline: 14px;
}

.featured-arrow {
  align-items: center;
  background: rgba(21, 25, 21, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: flex;
  font-size: 44px;
  font-weight: 900;
  height: 62px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  z-index: 4;
}

.featured-arrow:hover {
  background: var(--kawa-green);
  color: #071007;
  transform: translateY(-50%);
}

.featured-arrow-left {
  left: 10px;
}

.featured-arrow-right {
  right: 10px;
}

.featured-modal-overlay {
  align-items: center;
  background: rgba(5, 8, 6, 0.62);
  backdrop-filter: blur(7px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 1300;
}

.featured-modal-box {
  background: #f5f7f5;
  border-top: 4px solid var(--kawa-green);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 16px;
  max-height: min(86vh, 920px);
  max-width: 1180px;
  overflow: auto;
  padding: 18px;
  width: min(1180px, 96vw);
}

.featured-modal-head {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.featured-modal-head h3 {
  color: #071007;
  font-size: clamp(24px, 3vw, 38px);
  margin: 0;
  text-transform: uppercase;
}

.featured-modal-head p {
  color: #4c5a50;
  font-weight: 900;
  margin: 4px 0 0;
  text-transform: uppercase;
}

.featured-modal-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.featured-modal-grid .featured-product-card {
  flex: none;
  min-height: 360px;
}

.featured-product-detail-overlay {
  align-items: center;
  background: rgba(5, 8, 6, 0.68);
  backdrop-filter: blur(8px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 1350;
}

.featured-product-detail-box {
  background: #ffffff;
  border-top: 5px solid var(--kawa-green);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  max-height: min(88vh, 820px);
  max-width: 980px;
  overflow: auto;
  padding: 28px;
  position: relative;
  width: min(980px, 96vw);
}

.featured-product-detail-close {
  align-items: center;
  background: #172019;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  font-size: 18px;
  height: 38px;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
  z-index: 2;
}

.featured-product-detail-close:hover {
  background: var(--kawa-green);
  color: #101510;
}

.featured-detail-media {
  align-items: center;
  background: #f2f6f2;
  border: 1px solid #dfe8df;
  display: flex;
  justify-content: center;
  min-height: 390px;
  overflow: hidden;
}

.featured-detail-image {
  display: block;
  height: min(52vh, 500px);
  max-width: 100%;
  object-fit: contain;
  padding: 18px;
  width: 100%;
}

.featured-detail-info {
  align-content: start;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 24px 18px 10px 0;
}

.featured-detail-info h2 {
  color: #111711;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.02;
  margin: 0;
  max-width: 560px;
  text-transform: uppercase;
}

.featured-detail-reference {
  color: #5e6b62;
  font-size: 14px;
  font-weight: 800;
  margin: 0;
}

.featured-detail-description {
  color: #46554a;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.featured-detail-variants,
.featured-detail-components {
  display: grid;
  gap: 8px;
}

.featured-detail-variants > span,
.featured-detail-components > strong {
  color: #31543a;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.featured-detail-variants > div,
.featured-detail-components > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.featured-detail-variants button {
  background: #eef3ef;
  border: 1px solid #d4dfd5;
  color: #172019;
  font-size: 13px;
  font-weight: 900;
  min-height: 38px;
  min-width: 48px;
  padding: 7px 12px;
}

.featured-detail-variants button.is-active {
  background: var(--kawa-green);
  border-color: var(--kawa-green);
  color: #101510;
}

.featured-detail-components span {
  background: #edf5ea;
  border-left: 3px solid var(--kawa-green);
  color: #172019;
  font-size: 12px;
  font-weight: 850;
  padding: 6px 9px;
}

.featured-detail-purchase {
  align-items: center;
  border-top: 1px solid #e0e8e0;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 6px;
  padding-top: 16px;
}

.featured-detail-stock-status {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  min-width: 0;
}

.featured-detail-refresh {
  background: #edf5ea;
  border: 1px solid #cfe2cc;
  color: #2b6f1c;
  font-size: 10px;
  font-weight: 900;
  min-height: 28px;
  padding: 4px 8px;
}

.featured-detail-refresh:hover,
.featured-detail-refresh.is-checking {
  background: var(--kawa-green);
  color: #101510;
}

.featured-detail-purchase [data-featured-detail-availability] {
  color: #2c7b1a;
  font-size: 13px;
  font-weight: 900;
}

.featured-detail-purchase [data-featured-detail-price] {
  font-size: 26px;
  grid-column: 2;
  grid-row: 1;
  white-space: nowrap;
}

.featured-detail-purchase [data-featured-detail-add] {
  grid-column: 1 / -1;
  min-height: 48px;
  width: 100%;
}

@media (max-width: 720px) {
  .featured-product-detail-overlay {
    align-items: end;
    padding: 0;
  }

  .featured-product-detail-box {
    border-radius: 16px 16px 0 0;
    gap: 16px;
    grid-template-columns: 1fr;
    max-height: 92vh;
    padding: 16px;
    width: 100%;
  }

  .featured-detail-media {
    min-height: 230px;
  }

  .featured-detail-image {
    height: min(34vh, 300px);
  }

  .featured-detail-info {
    padding: 0 4px 8px;
  }
}

.menu-content-box {
  background: #ffffff;
  color: #101510;
  max-height: min(88vh, 940px);
}

.menu-content-box .featured-modal-head {
  border-bottom: 2px solid #e5ebe5;
  padding-bottom: 12px;
}

.menu-content-box .menu-popup-close {
  background: #151815;
  color: #ffffff;
}

.menu-products-grid {
  padding-top: 4px;
}

.menu-search-popup {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.menu-search-popup label {
  color: #101510;
  display: grid;
  font-size: 13px;
  font-weight: 950;
  gap: 7px;
  text-transform: uppercase;
}

.menu-search-popup label:nth-child(2) {
  grid-column: span 2;
}

.menu-search-popup label.is-disabled {
  opacity: 0.58;
}

.menu-search-popup input,
.menu-search-popup select,
.menu-contact-form input,
.menu-contact-form textarea {
  background: #f6f8f6;
  border: 1px solid #cdd7ce;
  min-height: 50px;
  padding: 10px 12px;
}

.menu-search-popup input:disabled {
  background: #e4eae5;
  color: #68746b;
  cursor: not-allowed;
}

.menu-contact-form input[readonly] {
  background: #e8ede9;
  color: #58645d;
  cursor: not-allowed;
}

.menu-search-popup button,
.menu-info-popup .checkout-submit,
.menu-contact-form button {
  align-items: center;
  background: var(--kawa-green);
  border: 0;
  color: #101510;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  text-decoration: none;
  text-transform: uppercase;
}

.menu-contact-form {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.menu-contact-form label {
  color: #101510;
  display: grid;
  font-size: 13px;
  font-weight: 950;
  gap: 7px;
  text-transform: uppercase;
}

.menu-contact-form label small {
  color: #617067;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.menu-contact-form .wide,
.menu-contact-form button,
.menu-contact-form [data-contact-result] {
  grid-column: 1 / -1;
}

.menu-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.menu-info-popup {
  display: grid;
  gap: 16px;
}

.menu-info-popup p {
  color: #415044;
  font-size: 18px;
  line-height: 1.45;
  margin: 0;
}

.menu-category-picker {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.menu-category-picker button {
  background: #ffffff;
  border: 2px solid #d9e2d9;
  color: #111511;
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 16px;
  text-align: left;
  text-transform: uppercase;
}

.menu-category-picker button:hover,
.menu-category-picker button:focus {
  background: #f3faef;
  border-color: var(--kawa-green);
  transform: translateY(-1px);
}

.menu-category-picker strong {
  font-size: 21px;
  line-height: 1;
}

.menu-category-picker span {
  color: #4c5a50;
  font-weight: 800;
}

.menu-loading-panel {
  min-height: 260px;
}

@keyframes buttonPress {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(0.985);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes buttonSweep {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

.content-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(300px, 420px) minmax(420px, 900px);
  justify-content: center;
  margin: 22px auto 0;
  max-width: 1500px;
  padding: 0 clamp(16px, 4vw, 48px);
}

.models-panel,
.detail-panel {
  min-height: 640px;
  padding: 16px;
}

.models-panel h2,
.detail-panel h2 {
  font-weight: 950;
  text-transform: uppercase;
}

h2 {
  font-size: 17px;
  letter-spacing: 0;
  margin: 0 0 12px;
}

.list {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.list-item,
.diagram-card,
.part-row {
  border: 1px solid #e1e7e1;
  border-radius: 8px;
  padding: 12px;
}

.list-item {
  background: #fbfcfb;
  cursor: pointer;
}

.list-item:hover,
.diagram-card:hover {
  border-color: #69BE28;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.muted {
  color: #6d7b70;
  font-size: 13px;
}

.serial-match {
  background: #f3faf0;
  border-left: 5px solid #69BE28;
  color: #111711;
  display: inline-block;
  font-family: Oswald, Inter, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  margin-top: 8px;
  padding: 6px 10px;
  text-transform: uppercase;
}

.results-summary {
  background: #151815;
  border: 0;
  border-top: 4px solid #69BE28;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  margin: -4px 0 12px;
  padding: 10px 12px;
  text-align: center;
  text-transform: uppercase;
}

.selected-model {
  border-bottom: 1px solid #e1e7e1;
  margin-bottom: 16px;
  padding-bottom: 14px;
}

.selected-model-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.secondary-button {
  background: #eef2ef;
  color: #26332b;
}

.secondary-button:hover {
  background: #dfe8e1;
}

.diagram-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  margin-bottom: 18px;
}

.diagram-card {
  background: #fbfcfb;
  cursor: pointer;
  display: grid;
  gap: 8px;
  min-height: 86px;
}

.diagram-thumb {
  align-self: stretch;
  background: #eef2ef;
  border: 1px solid #e1e7e1;
  border-radius: 4px;
  display: block;
  height: 128px;
  object-fit: contain;
  width: 100%;
}

.diagram-thumb-empty {
  align-items: center;
  color: #6d7b70;
  display: flex;
  font-size: 13px;
  justify-content: center;
}

.diagram-detail {
  display: grid;
  gap: 14px;
}

.diagram-page {
  background: #ffffff;
  border: 1px solid #dfe5df;
  margin: 0 auto;
  max-width: 1760px;
  min-height: calc(100vh - 132px);
  padding: 14px;
}

.standalone-page {
  animation: pageEnter 180ms ease both;
  margin: 0 auto;
  max-width: 1500px;
}

.standalone-page[hidden] {
  display: none;
}

.standalone-head {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.standalone-head h2,
.cart-panel h2,
.cart-recap h2 {
  font-size: 30px;
  font-weight: 950;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cart-page-grid {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 380px);
  margin-bottom: 18px;
}

.cart-panel h2,
.cart-recap h2 {
  margin-bottom: 8px;
}

.cart-panel,
.cart-recap-card,
.account-card,
.admin-search-panel {
  background: #ffffff;
  border: 1px solid #e1e7e1;
  border-radius: 6px;
  box-shadow: 0 16px 38px rgba(14, 21, 17, 0.06);
}

.cart-panel {
  overflow: hidden;
  padding-top: 16px;
}

.cart-page-lines {
  max-height: min(620px, calc(100vh - 260px));
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.cart-recap {
  min-width: 0;
  position: sticky;
  top: 92px;
}

.cart-panel-title {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 0 18px 8px;
}

.cart-panel h2 {
  padding: 0;
}

.cart-clear-button {
  border: 1px solid #dfe5df;
  min-height: 38px;
  white-space: nowrap;
}

.cart-page-head,
.cart-page-line {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(220px, 1fr) 112px 104px 106px 34px;
  padding: 9px 14px;
}

.cart-page-head {
  border-bottom: 1px solid #dfe5df;
  font-weight: 950;
}

.cart-page-line {
  border-bottom: 1px solid #edf0ed;
}

.cart-designation {
  display: grid;
  gap: 5px;
}

.cart-designation strong {
  font-size: 15px;
  line-height: 1.12;
  text-transform: uppercase;
}

.cart-designation span {
  color: #4c5a50;
  font-size: 11px;
}

.quantity-stepper {
  align-items: center;
  border: 1px solid #e1e7e1;
  border-radius: 999px;
  display: inline-grid;
  grid-template-columns: 28px 34px 28px;
  justify-self: start;
  min-height: 34px;
  overflow: hidden;
}

.quantity-stepper button {
  background: #ffffff;
  border-radius: 0;
  box-shadow: none;
  min-height: 32px;
  padding: 0;
  transform: none;
}

.quantity-stepper span {
  text-align: center;
}

.quantity-stepper-locked {
  opacity: 0.65;
}

.quantity-stepper-locked button {
  cursor: not-allowed;
}

.cart-trash {
  background: transparent;
  color: #0e1511;
  font-size: 20px;
  line-height: 1;
  min-height: 32px;
  padding: 0;
}

.cart-trash:hover {
  background: transparent;
  box-shadow: none;
  color: #b42318;
}

.cart-recap-card {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.cart-recap-card h3 {
  margin: 0;
}

.cart-recap-card div {
  display: flex;
  justify-content: space-between;
}

.delivery-fee-free {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  justify-content: flex-end;
}

.delivery-fee-free s {
  color: #8a948d;
  font-size: 12px;
  font-weight: 800;
}

.delivery-fee-free em {
  color: #2b7d12;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.free-delivery-box,
.cart-recap-card .free-delivery-box,
.checkout-recap-card .free-delivery-box {
  background: #f0f8ed;
  border: 1px solid #b8dda8;
  border-left: 5px solid #69BE28;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 8px 10px;
}

.free-delivery-box div,
.cart-recap-card .free-delivery-box div,
.checkout-recap-card .free-delivery-box div {
  display: grid;
  gap: 3px;
  justify-content: stretch;
}

.free-delivery-box strong {
  color: #10210f;
  font-size: 12px;
  text-transform: uppercase;
}

.free-delivery-box span {
  color: #385038;
  font-size: 11px;
  font-weight: 800;
}

.free-delivery-box em {
  background: #dbe9d7;
  border-radius: 999px;
  display: block;
  height: 8px;
  overflow: hidden;
}

.free-delivery-box em i {
  background: #69BE28;
  display: block;
  height: 100%;
  transition: width 260ms ease;
}

.free-delivery-box.is-reached {
  background: #e8f7e2;
  border-color: #69BE28;
}

.checkout-reveal,
.checkout-submit {
  width: 100%;
}

body.checkout-modal-open {
  overflow: hidden;
}

body.checkout-modal-open .standalone-page {
  animation: none;
  transform: none;
}

.checkout-panel {
  animation: pageEnter 180ms ease both;
  background: rgba(245, 246, 250, 0.92);
  backdrop-filter: blur(12px) saturate(0.95);
  color: #071007;
  display: flex;
  inset: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  padding: 18px clamp(12px, 2vw, 28px);
  position: fixed;
  z-index: 12020;
}

.checkout-panel[hidden] {
  display: none;
}

.checkout-modal-card {
  background: #f7f8fb;
  border: 1px solid #dfe5df;
  border-top: 4px solid #69BE28;
  box-shadow: 0 26px 70px rgba(14, 21, 17, 0.16);
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: calc(100vh - 36px);
  min-height: 0;
  overflow: hidden;
  padding: clamp(16px, 2vw, 26px);
  position: static;
  transform: none;
  width: min(1320px, 100%);
}

.checkout-modal-head {
  align-items: start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.checkout-close {
  background: #ffffff;
  border: 1px solid #dfe5df;
  color: #071007;
  flex: 0 0 auto;
}

.checkout-panel h2 {
  font-size: 28px;
  margin: 4px 0;
  text-transform: uppercase;
}

.checkout-panel p {
  color: #4c5a50;
  margin: 0;
}

.checkout-modal-head .kicker,
.checkout-address-editor .kicker,
.model-popular-parts .kicker {
  color: #2f8f0c;
}

.checkout-white-layout {
  display: grid;
  flex: 1;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 320px;
  min-height: 0;
  overflow: hidden;
}

.checkout-white-main {
  display: grid;
  gap: 16px;
  min-height: 0;
  overflow: auto;
  padding-right: 8px;
}

.checkout-white-section {
  display: grid;
  gap: 8px;
}

.checkout-white-section[hidden] {
  display: none;
}

.checkout-white-section h3,
.checkout-white-recap h3 {
  color: #071007;
  font-size: 20px;
  font-weight: 950;
  margin: 0;
  text-transform: uppercase;
}

.checkout-gift-delivery-section {
  background: linear-gradient(135deg, #f8fff4 0%, #ffffff 62%);
  border: 1px solid rgba(105, 190, 40, 0.48);
  border-radius: 14px;
  box-shadow: inset 4px 0 0 #69BE28, 0 14px 34px rgba(20, 71, 19, 0.08);
  padding: 18px;
}

.checkout-gift-heading {
  align-items: center;
  display: flex;
  gap: 14px;
}

.checkout-gift-heading h3 {
  margin: 2px 0 3px;
}

.checkout-gift-heading p {
  color: #4c5a50;
  font-size: 13px;
}

.checkout-gift-icon {
  align-items: center;
  background: #69BE28;
  border-radius: 12px;
  color: #071007;
  display: flex;
  flex: 0 0 52px;
  font-size: 22px;
  height: 52px;
  justify-content: center;
}

.checkout-gift-form {
  display: grid;
  gap: 14px;
}

.checkout-gift-choice {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gift-choice-card {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  min-height: 74px;
  padding: 12px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.gift-choice-card:hover,
.gift-choice-card.is-selected,
.gift-choice-card:has(input:checked) {
  border-color: #69BE28;
  box-shadow: 0 10px 24px rgba(105, 190, 40, 0.14);
  transform: translateY(-1px);
}

.gift-choice-card input {
  accent-color: #42a916;
  flex: 0 0 auto;
  height: 18px;
  min-height: 18px;
  width: 18px;
}

.gift-choice-card span {
  display: grid;
  gap: 3px;
}

.gift-choice-card strong {
  color: #071007;
  font-size: 14px;
  text-transform: uppercase;
}

.gift-choice-card small {
  color: #5f6d63;
  font-size: 12px;
}

.checkout-gift-recipient {
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-radius: 10px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.checkout-gift-recipient[hidden] {
  display: none;
}

.checkout-gift-recipient-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-gift-recipient label {
  color: #071007;
  display: grid;
  font-size: 12px;
  font-weight: 950;
  gap: 6px;
  text-transform: uppercase;
}

.checkout-gift-recipient input,
.checkout-gift-recipient textarea {
  background: #f7f8fb;
  border: 1px solid #d6ded6;
  border-radius: 8px;
  color: #071007;
  font: inherit;
  min-height: 46px;
  padding: 11px 12px;
  text-transform: none;
  width: 100%;
}

.checkout-gift-recipient textarea {
  min-height: 86px;
  resize: vertical;
}

.checkout-gift-recipient input:focus,
.checkout-gift-recipient textarea:focus {
  border-color: #69BE28;
  box-shadow: 0 0 0 3px rgba(105, 190, 40, 0.14);
  outline: none;
}

.checkout-digital-delivery b,
.checkout-digital-delivery strong {
  color: #2d8f12;
}

@media (max-width: 720px) {
  .checkout-gift-choice,
  .checkout-gift-recipient-grid {
    grid-template-columns: 1fr;
  }

  .checkout-gift-heading {
    align-items: flex-start;
  }

  .checkout-gift-delivery-section {
    padding: 14px;
  }
}

.checkout-address-card {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(14, 21, 17, 0.05);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 124px;
  min-height: 112px;
  padding: 14px 16px;
}

.checkout-address-card dl {
  display: grid;
  gap: 4px 30px;
  grid-template-columns: 170px minmax(0, 1fr);
  margin: 0;
}

.checkout-address-card dt {
  color: #4c5a50;
  font-size: 13px;
}

.checkout-address-card dd {
  color: #071007;
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

.checkout-edit {
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-radius: 6px;
  color: #071007;
  font-size: 11px;
  font-weight: 950;
  height: 44px;
  min-height: 44px;
  line-height: 1.05;
  padding: 0 10px;
  text-align: center;
  width: 124px;
}

.checkout-address-overlay {
  align-items: center;
  background: rgba(7, 10, 8, 0.55);
  backdrop-filter: blur(8px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 1300;
}

.checkout-address-editor {
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  color: #071007;
  display: grid;
  gap: 18px;
  max-width: 620px;
  padding: clamp(20px, 4vw, 34px);
  width: min(620px, 100%);
}

.checkout-address-editor h3 {
  font-size: 24px;
  margin: 0;
  text-transform: uppercase;
}

.checkout-address-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.checkout-choice-group {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  gap: 8px;
  padding: 0;
}

.choice-card {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-radius: 6px;
  color: #071007;
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  min-height: 58px;
  overflow: hidden;
  padding: 8px 18px;
  position: relative;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.delivery-choice-card {
  min-height: 72px;
}

.delivery-choice-card:has(input:disabled) {
  cursor: not-allowed;
  opacity: .62;
}

.choice-card > * {
  position: relative;
  z-index: 1;
}

.choice-card::before {
  background: transparent;
  border-radius: 3px;
  content: "";
  inset: 3px;
  pointer-events: none;
  position: absolute;
  transition: background 160ms ease;
  z-index: 0;
}

.choice-card:hover {
  background: #ffffff;
  border-color: #69BE28;
  box-shadow: 0 12px 26px rgba(14, 21, 17, 0.08);
}

.choice-card:has(input:checked) {
  background: #ffffff;
  border-color: #69BE28;
  box-shadow: inset 0 0 0 2px rgba(105, 190, 40, 0.24), 0 14px 30px rgba(105, 190, 40, 0.14);
}

.choice-card:has(input:checked)::before {
  background: rgba(105, 190, 40, 0.10);
}

.choice-card input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.choice-icon {
  align-items: center;
  background: #0b100c;
  border: 2px solid #0b100c;
  border-radius: 4px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 950;
  gap: 3px;
  height: 48px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  width: 58px;
}

.choice-icon i {
  font-size: 17px;
  line-height: 1;
}

.choice-icon em {
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.choice-card:has(input:checked) .choice-icon {
  background: #69BE28;
  border-color: #69BE28;
  color: #071007;
  transform: scale(1.05);
}

.choice-icon-card {
  background: #071007;
  border-color: #071007;
  color: #ffffff;
}

.choice-icon-bank {
  background: #edf7ef;
  border-color: #69BE28;
  color: #15552b;
}

.choice-card-cofidis {
  grid-template-columns: 78px minmax(0, 1fr) auto;
}

.choice-icon-cofidis {
  background: #ffffff;
  border-color: #d9e2dc;
  color: #e30613;
  gap: 2px;
  width: 72px;
}

.choice-icon-cofidis .cofidis-word {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -0.3px;
  line-height: 1;
  text-transform: lowercase;
}

.choice-icon-cofidis .cofidis-pay {
  color: #169b3a;
  display: block;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.choice-card:has(input:checked) .choice-icon-cofidis {
  background: #ffffff;
  border-color: #69BE28;
  color: #e30613;
}

.choice-icon-home {
  background: #eaf4ff;
  border-color: #9dc9ef;
  color: #175cd3;
}

.choice-icon-store {
  background: #fff7ed;
  border-color: #f7c27a;
  color: #9a3412;
}

.choice-icon-logo {
  background: #ffffff;
  border-color: #dbe4df;
  overflow: hidden;
  padding: 4px;
}

.choice-icon-logo img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.choice-icon-chronopost img {
  transform: scale(1.12);
}

.choice-icon-mr img {
  border-radius: 8px;
}

.choice-card:has(input:checked) .choice-icon-logo {
  background: #ffffff;
  border-color: #69BE28;
  color: inherit;
}

.choice-body {
  display: grid;
  gap: 5px;
}

.choice-body strong {
  color: #071007;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.choice-body small {
  color: #4c5a50;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.installment-choice {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.installment-option {
  align-items: center;
  background: #eef3ef;
  border: 1px solid #d4ded6;
  border-radius: 2px;
  color: #111711;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  gap: 5px;
  font-family: inherit;
  line-height: 1;
  min-height: 30px;
  padding: 5px 9px;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.installment-option:hover {
  border-color: #69BE28;
  box-shadow: 0 8px 18px rgba(105, 190, 40, 0.18);
  transform: translateY(-1px);
}

.installment-option.is-selected {
  background: #69BE28;
  border-color: #69BE28;
  color: #071007;
  box-shadow: inset 0 0 0 1px rgba(7, 16, 7, 0.08);
}

.choice-status {
  background: #69BE28;
  color: #071007;
  font-size: 11px;
  font-weight: 950;
  opacity: 0;
  padding: 7px 9px;
  transform: translateY(4px) scale(0.92);
  transition: opacity 180ms ease, transform 180ms ease;
  text-transform: uppercase;
}

.choice-card:has(input:checked) .choice-status {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.choice-price {
  color: #071007;
  font-size: 13px;
  font-weight: 950;
  justify-self: end;
}

.choice-price.is-free {
  background: #e8f7e2;
  border: 1px solid #69BE28;
  border-radius: 999px;
  color: #245f12;
  padding: 5px 9px;
  text-transform: uppercase;
}

.checkout-note {
  background: #edf7ef;
  border-left: 4px solid #69BE28;
  color: #15552b;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  padding: 11px 12px;
}

.service-point-picker {
  background: #f7faf7;
  border: 1px solid #dfe8df;
  border-left: 4px solid #69BE28;
  border-radius: 6px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.service-point-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.service-point-head-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.service-point-head strong,
.service-point-selected > span {
  color: #071007;
  display: block;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.service-point-head small,
.service-point-empty {
  color: #4c5a50;
  font-size: 13px;
  margin: 0;
}

.service-point-provider-badge {
  align-items: center;
  background: #e8f7e2;
  border: 1px solid #b9dfaa;
  border-radius: 999px;
  color: #2d7219;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 900;
  gap: 6px;
  letter-spacing: .04em;
  padding: 6px 10px;
  text-transform: uppercase;
}

.service-point-provider-badge img {
  background: #ffffff;
  border-radius: 4px;
  display: block;
  height: 22px;
  object-fit: contain;
  width: 44px;
}

.service-point-search-form {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(150px, 220px) auto;
}

.service-point-search-form label {
  display: grid;
  gap: 5px;
}

.service-point-search-form label > span {
  color: #334239;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.service-point-search-form input {
  background: #ffffff;
  border: 1px solid #c8d7c9;
  border-radius: 6px;
  color: #071007;
  font: inherit;
  font-weight: 700;
  min-height: 40px;
  padding: 8px 10px;
}

.service-point-search-form input:focus {
  border-color: #69BE28;
  box-shadow: 0 0 0 3px rgba(105, 190, 40, .16);
  outline: none;
}

@media (max-width: 600px) {
  .service-point-head {
    align-items: start;
  }

  .service-point-provider-badge {
    font-size: 10px;
    padding: 5px 7px;
  }

  .service-point-provider-badge img {
    height: 18px;
    width: 36px;
  }

  .service-point-search-form {
    grid-template-columns: 1fr;
  }

  .service-point-search-form button {
    width: 100%;
  }

  .service-point-card {
    align-items: stretch;
  }
}

.service-point-list,
.service-point-selected {
  display: grid;
  gap: 8px;
}

.service-point-card {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d7e1d8;
  border-radius: 6px;
  color: #071007;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  gap: 12px;
  justify-content: space-between;
  min-height: 58px;
  padding: 10px 12px;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-point-card:hover,
.service-point-card.is-selected {
  border-color: #69BE28;
  box-shadow: 0 10px 22px rgba(105, 190, 40, 0.14);
  transform: translateY(-1px);
}

.service-point-card-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.service-point-card-title {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-point-card strong {
  display: block;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.service-point-type-badge {
  background: #e8f7e2;
  border: 1px solid #b9dfaa;
  border-radius: 999px;
  color: #2d7219;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .04em;
  padding: 4px 7px;
  text-transform: uppercase;
}

.service-point-type-badge.is-locker {
  background: #eef4ff;
  border-color: #b9ccef;
  color: #244d9a;
}

.service-point-card small {
  color: #4c5a50;
  display: block;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 3px;
}

.service-point-card-address {
  align-items: flex-start;
  display: flex !important;
  gap: 6px;
}

.service-point-card-address i {
  color: #57a91d;
  flex: 0 0 auto;
  margin-top: 2px;
}

.service-point-hours {
  color: #2f5538 !important;
  display: block;
  font-size: 11px !important;
  line-height: 1.35;
  margin-top: 1px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-point-hours i {
  color: #57a91d;
  margin-right: 4px;
}

.service-point-hours.is-muted {
  color: #748078 !important;
}

.service-point-card-side {
  align-items: flex-end;
  display: grid;
  flex: 0 0 auto;
  gap: 4px;
  justify-items: end;
}

.service-point-card em {
  background: #69BE28;
  border-radius: 3px;
  color: #071007;
  flex: 0 0 auto;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  padding: 7px 9px;
  text-transform: uppercase;
}

.service-point-card-side > small {
  color: #56705d;
  font-size: 10px;
  font-weight: 900;
  margin: 0;
  text-transform: uppercase;
}

.service-point-empty {
  align-items: center;
  display: flex;
  gap: 8px;
}

.service-point-empty i {
  color: #57a91d;
}

.service-point-loading {
  align-items: center;
  display: grid;
  gap: 7px;
}

.service-point-loading .site-progress-value {
  display: none;
}

.checkout-note-field,
.guest-checkout-form {
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(14, 21, 17, 0.05);
  display: grid;
  gap: 12px;
  padding: 14px 16px;
}

.checkout-note-field span {
  color: #071007;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.checkout-note-field textarea {
  border: 1px solid #dfe5df;
  border-radius: 6px;
  color: #071007;
  min-height: 86px;
  padding: 10px 12px;
  resize: vertical;
}

.guest-checkout-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.guest-checkout-section {
  background: transparent;
}

.guest-checkout-head {
  align-items: start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.guest-checkout-head p {
  max-width: 760px;
}

.guest-account-cta {
  align-items: stretch;
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.guest-account-cta .checkout-submit,
.guest-account-cta .secondary-button {
  min-height: 44px;
  white-space: nowrap;
}

.guest-create-account {
  box-shadow: 0 12px 26px rgba(105, 190, 40, 0.24);
}

.guest-checkout-head .secondary-button {
  background: #ffffff;
  border: 1px solid #dfe5df;
  color: #071007;
}

.guest-checkout-form label,
.guest-checkout-form legend {
  color: #071007;
  font-weight: 950;
  text-transform: uppercase;
}

.guest-checkout-form input {
  background: #f7f8fb;
  border: 1px solid #dfe5df;
  color: #071007;
}

.guest-step-card {
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-radius: 10px;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px minmax(0, 1fr);
  padding: 14px;
}

.guest-step-card.is-first {
  border-color: rgba(105, 190, 40, 0.55);
  box-shadow: inset 4px 0 0 #69BE28;
}

.guest-step-index {
  align-items: center;
  background: #69BE28;
  border-radius: 50%;
  color: #071007;
  display: flex;
  font-size: 18px;
  font-weight: 950;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.guest-step-content {
  display: grid;
  gap: 10px;
}

.guest-step-content > strong {
  color: #071007;
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
}

.guest-step-content > small {
  color: #4c5a50;
  font-size: 13px;
  margin-top: -4px;
}

.guest-contact-grid,
.guest-address-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guest-full-name,
.guest-address-full {
  grid-column: 1 / -1;
}

.guest-field-stack {
  display: grid;
  gap: 10px;
}

.guest-checkout-form input.is-field-error {
  background: #fff7f6;
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.1);
}

.guest-match-message {
  color: #b42318;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  margin-top: -4px;
  text-transform: none;
}

.guest-match-message[hidden] {
  display: none;
}

.guest-confirm-line {
  align-items: flex-start;
  background: #edf7ef;
  border-left: 4px solid #69BE28;
  color: #15552b;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  text-transform: none;
}

.guest-confirm-line input {
  margin-top: 2px;
  min-height: auto;
  width: auto;
}

.guest-confirm-line span {
  font-size: 13px;
  line-height: 1.35;
  text-transform: none;
}

.checkout-white-recap {
  display: grid;
  gap: 8px;
  align-content: start;
  align-self: start;
  position: sticky;
  top: 0;
}

.checkout-recap-card {
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(14, 21, 17, 0.05);
  display: grid;
  gap: 12px;
  padding: 18px;
}

.checkout-recap-card div {
  display: flex;
  justify-content: space-between;
}

.checkout-recap-total {
  border-top: 1px solid #dfe5df;
  font-size: 18px;
  padding-top: 12px;
}

.checkout-bottom-actions {
  align-items: center;
  background: #f7f8fb;
  bottom: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(160px, 0.32fr) minmax(220px, 0.32fr);
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 12px;
  position: sticky;
  z-index: 2;
}

.checkout-bottom-actions-single {
  grid-template-columns: minmax(150px, 220px);
  justify-content: start;
}

.checkout-paid-card {
  align-items: center;
  background: #edf7ef;
  border: 1px solid #b9dca9;
  border-radius: 10px;
  color: #071007;
  display: flex;
  gap: 14px;
  padding: 16px;
}

.checkout-paid-card strong {
  display: block;
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
}

.checkout-paid-card small {
  color: #31543a;
  font-weight: 700;
}

.checkout-submit {
  background: #69BE28;
  border-radius: 999px;
  color: #071007;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0;
  min-height: 58px;
  text-transform: uppercase;
}

.checkout-submit-recap {
  margin-top: 4px;
}

.checkout-submit:hover {
  background: #7dde35;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.18), 0 14px 28px rgba(105, 190, 40, 0.22);
  transform: translateY(-1px);
}

.order-success {
  margin-bottom: 14px;
}

.order-note {
  background: #fff7ed;
  border-left: 4px solid #f59e0b;
  color: #3d2a0a;
  display: grid;
  gap: 4px;
  margin: 10px 0;
  padding: 10px 12px;
}

.order-note strong {
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.order-note span {
  font-size: 13px;
  line-height: 1.35;
}

.rib-card {
  background:
    linear-gradient(135deg, rgba(105, 190, 40, 0.16), rgba(255, 255, 255, 0.04)),
    #151815;
  border: 1px solid rgba(105, 190, 40, 0.45);
  border-top: 4px solid #69BE28;
  color: #ffffff;
  display: grid;
  gap: 18px;
  margin: 14px 0;
  padding: 22px;
}

.rib-card-head strong {
  display: block;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
  margin: 5px 0;
  text-transform: uppercase;
}

.rib-card-head p {
  color: #e7efe7;
  font-size: 17px;
  margin: 0;
}

.rib-details {
  display: grid;
  gap: 8px;
}

.rib-line {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 10px;
  grid-template-columns: 120px minmax(0, 1fr);
  padding: 12px 14px;
}

.rib-line span {
  color: #69BE28;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.rib-line strong {
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 0.5px;
  word-break: break-word;
}

.rib-iban strong {
  font-size: clamp(22px, 2.7vw, 34px);
}

.rib-actions {
  display: flex;
  justify-content: flex-end;
}

.rib-actions a {
  background: #69BE28;
  color: #071007;
  font-weight: 950;
  padding: 13px 16px;
  text-decoration: none;
  text-transform: uppercase;
}

.auth-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: 0.8fr 1.2fr;
}

.auth-hero-card {
  background:
    linear-gradient(180deg, rgba(5, 8, 6, 0.08), rgba(5, 8, 6, 0.88)),
    linear-gradient(120deg, rgba(105, 190, 40, 0.42), rgba(5, 8, 6, 0.1) 42%, rgba(5, 8, 6, 0.86)),
    url("/media/site/hero-kawa3.JPEG");
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(105, 190, 40, 0.42);
  border-top: 4px solid #69BE28;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 50px rgba(0, 0, 0, 0.18);
  color: #ffffff;
  display: grid;
  align-content: center;
  min-height: 420px;
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.auth-hero-card.auth-hero-register {
  background-image:
    linear-gradient(180deg, rgba(5, 8, 6, 0.08), rgba(5, 8, 6, 0.88)),
    linear-gradient(120deg, rgba(105, 190, 40, 0.42), rgba(5, 8, 6, 0.1) 42%, rgba(5, 8, 6, 0.86)),
    url("/media/site/hero-kawa.JPG");
}

.auth-hero-content {
  display: grid;
  gap: 12px;
  max-width: 440px;
  position: relative;
  z-index: 1;
}

.auth-hero-card h3 {
  color: #ffffff;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 0.98;
  margin: 0;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
  text-transform: uppercase;
}

.auth-hero-card p {
  color: #f0f5f1;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
  max-width: 380px;
}

.auth-hero-card .kicker {
  background: rgba(105, 190, 40, 0.92);
  color: #071007;
  display: inline-flex;
  font-size: 12px;
  justify-self: start;
  letter-spacing: 1.2px;
  padding: 7px 10px;
}

.auth-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
}

.auth-hero-points span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-size: 11px;
  font-weight: 950;
  padding: 8px 10px;
  text-transform: uppercase;
}

.recap-total {
  border-top: 1px solid #dfe5df;
  font-weight: 950;
  padding-top: 10px;
}

.cart-discount-line strong {
  color: #159447;
}

.cart-credit-toggle {
  align-items: center;
  background: #f3f8f1;
  border: 1px solid #b9dca9;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 10px;
}

.cart-credit-toggle input {
  accent-color: var(--kawa-green);
  height: 16px;
  width: 16px;
}

.cart-credit-toggle span {
  display: flex;
  flex: 1;
  font-size: 11px;
  font-weight: 900;
  gap: 8px;
  justify-content: space-between;
  line-height: 1.2;
  text-transform: uppercase;
}

.cart-credit-toggle.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.cart-coupon-form {
  border-top: 1px solid #dfe5df;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  margin-top: 8px;
  padding-top: 10px;
}

.cart-coupon-form label {
  display: grid;
  font-size: 12px;
  font-weight: 950;
  gap: 6px;
  text-transform: uppercase;
}

.cart-coupon-form input {
  border: 1px solid #cad3cb;
  border-radius: 8px;
  min-height: 36px;
  padding: 7px 10px;
}

.cart-coupon-form button {
  align-self: end;
  min-height: 36px;
  padding: 8px 12px;
}

.prompt-input-label {
  display: grid;
  font-size: 12px;
  font-weight: 950;
  gap: 8px;
  margin-top: 10px;
  text-transform: uppercase;
}

.prompt-input-label input {
  border: 1px solid #cad3cb;
  min-height: 46px;
  padding: 10px 12px;
}

.empty-state {
  background: #f6f8f6;
  border: 1px solid #e1e7e1;
  border-radius: 10px;
  color: #4c5a50;
  padding: 18px;
}

.cart-empty-state {
  align-items: center;
  border-top: 4px solid var(--kawa-green);
  color: #111511;
  display: grid;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 950;
  justify-items: center;
  margin-top: 18px;
  min-height: clamp(230px, 38vh, 420px);
  text-align: center;
  text-transform: uppercase;
}

.account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.account-tabs button {
  background: #eef2ef;
  color: #26332b;
  position: relative;
}

.account-tabs button.is-active {
  background: #151815;
  color: #ffffff;
}

.account-tabs.admin-tabs {
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-radius: 10px;
  padding: 10px;
}

.account-tabs.admin-tabs button {
  border: 1px solid #dfe5df;
  border-radius: 8px;
  min-height: 42px;
  padding: 10px 13px;
}

.account-tabs.admin-tabs button.is-active {
  border-color: #69BE28;
  box-shadow: inset 0 -3px 0 #69BE28;
}

.account-tabs.admin-tabs.is-loading button:not(.is-active),
.account-tabs.admin-tabs button.is-admin-tab-locked {
  background: #e4e8e5;
  border-color: #d6ddd7;
  color: #8a948d;
  cursor: wait;
  opacity: 0.52;
  pointer-events: none;
}

.account-tabs.admin-tabs.is-loading button.is-active {
  cursor: wait;
}

.account-card,
.admin-search-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.account-card h3 {
  font-size: 22px;
  margin: 0;
  text-transform: uppercase;
}

.account-email-note {
  background: #f6f8f6;
  border: 1px solid #dfe5df;
  color: #4c5a50;
  font-size: 13px;
  line-height: 1.4;
  padding: 10px 12px;
}

.email-current-row {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.email-change-toggle {
  min-height: 46px;
}

.email-change-box {
  border-top: 1px solid #dfe5df;
  margin-top: 16px;
  padding-top: 16px;
}

.email-change-box[hidden] {
  display: none;
}

.email-change-box h4 {
  font-size: 20px;
  margin: 0;
  text-transform: uppercase;
}

.auth-form input:disabled {
  background: #edf0ed;
  color: #6b766f;
  cursor: not-allowed;
}

.admin-search-panel label {
  display: grid;
  font-size: 12px;
  font-weight: 950;
  gap: 8px;
  text-transform: uppercase;
}

.admin-search-panel input {
  border: 1px solid #cad3cb;
  border-radius: 8px;
  min-height: 48px;
  padding: 10px 12px;
}

.auth-form select {
  background: #ffffff;
  border: 1px solid #cad3cb;
  border-radius: 6px;
  color: #0e1511;
  min-height: 46px;
  padding: 10px 12px;
}

.admin-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: 220px 220px minmax(180px, 1fr);
  margin-bottom: 14px;
}

.admin-stats > div {
  background: #ffffff;
  border: 1px solid #e1e7e1;
  box-shadow: 0 12px 28px rgba(14, 21, 17, 0.05);
  display: grid;
  gap: 6px;
  padding: 14px;
}

.admin-stats span {
  color: #4c5a50;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-stats strong {
  font-size: 28px;
}

.admin-loading-panel {
  background: #ffffff;
  border: 1px solid #dce6dc;
  border-top: 5px solid var(--kawa-green);
  box-shadow: 0 18px 42px rgba(14, 21, 17, 0.1);
  display: grid;
  gap: 18px;
  margin: 18px 0;
  min-height: 260px;
  padding: clamp(22px, 4vw, 44px);
}

.admin-loading-head h2 {
  color: #071007;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
  margin: 6px 0;
  text-transform: uppercase;
}

.admin-loading-head p {
  color: #4c5a50;
  font-size: 16px;
  font-weight: 850;
  margin: 0;
}

.admin-progress-shell {
  background: #e7eee7;
  border: 1px solid #cdd9cd;
  height: 24px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.admin-progress-shell span {
  background: linear-gradient(90deg, #69BE28 0%, #9ee66b 52%, #69BE28 100%);
  display: block;
  height: 100%;
  min-width: 10px;
  position: relative;
  transition: width 260ms ease;
}

.admin-progress-shell span::after {
  animation: adminProgressSweep 980ms linear infinite;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.52), transparent);
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-100%);
}

.admin-loading-panel > strong {
  color: #071007;
  font-size: 26px;
  font-weight: 950;
  text-align: right;
}

@keyframes adminProgressSweep {
  to {
    transform: translateX(100%);
  }
}

.admin-command-center {
  display: grid;
  gap: 16px;
}

.admin-command-head {
  align-items: center;
  background: #111711;
  border-top: 5px solid #69BE28;
  color: #ffffff;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 20px;
}

.admin-command-head h2 {
  color: #ffffff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  margin: 4px 0 8px;
  text-transform: uppercase;
}

.admin-command-head p {
  color: #dce8dc;
  margin: 0;
}

.admin-command-alerts {
  background: #ffffff;
  color: #111711;
  display: grid;
  justify-items: center;
  min-width: 150px;
  padding: 16px;
  text-align: center;
}

.admin-command-alerts strong {
  color: #b42318;
  font-size: 42px;
  line-height: 1;
}

.admin-command-alerts span {
  color: #4c5a50;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-order-searchbar {
  align-items: end;
  background: #ffffff;
  border: 1px solid #dfe5df;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  padding: 14px;
}

.admin-order-searchbar label,
.admin-order-toolbar label {
  display: grid;
  font-size: 12px;
  font-weight: 950;
  gap: 7px;
  text-transform: uppercase;
}

.admin-order-searchbar input,
.admin-order-toolbar input {
  border: 1px solid #cad3cb;
  border-radius: 8px;
  min-height: 46px;
  padding: 10px 12px;
}

.operator-fast-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(160px, 1fr) 130px;
}

.operator-fast-grid input.is-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.operator-admin-page {
  display: grid;
  gap: 16px;
}

.operator-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
}

.operator-panel {
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(14, 21, 17, 0.05);
  display: grid;
  gap: 14px;
  padding: 18px;
}

.operator-panel h3 {
  font-size: 22px;
  margin: 0;
  text-transform: uppercase;
}

.operator-section-head {
  align-items: end;
  border-bottom: 1px solid #e1e7e1;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding-bottom: 10px;
}

.operator-section-head p {
  color: #526157;
  font-size: 13px;
  margin: 4px 0 0;
}

.operator-form,
.operator-row {
  display: grid;
  gap: 10px;
}

.operator-form {
  align-items: end;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.operator-form label,
.operator-row label {
  color: #101712;
  display: grid;
  font-size: 12px;
  font-weight: 950;
  gap: 6px;
  text-transform: uppercase;
}

.operator-form input,
.operator-row input {
  border: 1px solid #cad3cb;
  border-radius: 8px;
  color: #101712;
  min-height: 42px;
  padding: 9px 11px;
  width: 100%;
}

.operator-check {
  align-items: center;
  display: flex !important;
  gap: 8px !important;
  min-height: 42px;
}

.operator-check input,
.operator-row label input {
  min-height: auto;
  width: auto;
}

.operator-table {
  display: grid;
  gap: 10px;
}

.operator-row {
  align-items: end;
  background: #f7faf7;
  border: 1px solid #dfe5df;
  border-radius: 10px;
  grid-template-columns: 120px minmax(180px, 1fr) 130px 100px auto;
  padding: 12px;
}

.operator-status-toggle {
  align-items: center;
  display: flex !important;
  gap: 8px !important;
  justify-content: center;
  min-height: 42px;
}

.operator-row-actions {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.operator-row-actions button,
.operator-form button {
  min-height: 42px;
  white-space: nowrap;
}

.operator-log-list {
  display: grid;
  gap: 8px;
  max-height: 420px;
  overflow: auto;
}

.operator-log-line {
  align-items: center;
  background: #f7faf7;
  border-left: 4px solid #69BE28;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: 150px minmax(180px, 1fr) 140px 155px;
  padding: 10px;
}

.operator-log-line strong,
.operator-log-line span,
.operator-log-line small,
.operator-log-line em {
  color: #101712;
  font-style: normal;
}

.operator-day-chart {
  align-items: end;
  background: #f7faf7;
  border: 1px solid #e1e7e1;
  border-radius: 8px;
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(30, minmax(10px, 1fr));
  min-height: 170px;
  padding: 12px;
}

.operator-day-chart span {
  align-items: center;
  display: grid;
  gap: 5px;
  grid-template-rows: 1fr auto;
  height: 140px;
}

.operator-day-chart i {
  align-self: end;
  background: linear-gradient(180deg, #69BE28, #245b11);
  border-radius: 4px 4px 0 0;
  display: block;
  min-height: 6px;
}

.operator-day-chart em {
  color: #526157;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  min-height: 14px;
  white-space: nowrap;
}

.operator-day-chart.is-empty {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
}

.operator-day-chart.is-empty span {
  color: #526157;
  height: auto;
}

.order-workflow-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
}

.order-workflow-card {
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-left: 5px solid #dfe5df;
  color: #111711;
  display: grid;
  gap: 8px;
  justify-items: start;
  min-height: 152px;
  padding: 14px;
  text-align: left;
  transform: none;
}

.order-workflow-card:hover {
  border-left-color: #69BE28;
  box-shadow: 0 14px 30px rgba(14, 21, 17, 0.10);
}

.order-workflow-card.is-active {
  background: #eff8eb;
  border-color: #69BE28;
  border-left-color: #69BE28;
  box-shadow: inset 0 0 0 2px rgba(105, 190, 40, 0.18);
}

.order-workflow-card.is-urgent {
  border-left-color: #b42318;
  box-shadow: inset 0 0 0 1px rgba(180, 35, 24, 0.16), 0 14px 32px rgba(180, 35, 24, 0.08);
}

.order-workflow-card.is-active.is-urgent {
  background: #fff7ed;
  border-color: #f59e0b;
  border-left-color: #b42318;
  box-shadow: inset 0 0 0 2px rgba(245, 158, 11, 0.20), 0 14px 32px rgba(180, 35, 24, 0.10);
}

.order-workflow-card .workflow-step {
  color: #69BE28;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.workflow-title-row {
  align-items: start;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  width: 100%;
}

.order-workflow-card strong {
  font-size: 20px;
  line-height: 1.05;
  text-transform: uppercase;
}

.order-workflow-card b {
  background: #b42318;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  padding: 6px 7px;
  text-transform: uppercase;
}

.order-workflow-card em {
  align-items: center;
  background: #111711;
  color: #ffffff;
  display: inline-flex;
  font-size: 26px;
  font-style: normal;
  font-weight: 950;
  height: 42px;
  justify-content: center;
  min-width: 52px;
  padding: 0 10px;
}

.order-workflow-card mark {
  background: #fff1e5;
  border: 1px solid #f59e0b;
  color: #9a3412;
  display: inline-flex;
  font-size: 11px;
  font-weight: 950;
  padding: 6px 8px;
  text-transform: uppercase;
}

.order-workflow-card small {
  color: #526157;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.admin-order-toolbar {
  align-items: end;
  background: #ffffff;
  border: 1px solid #dfe5df;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 14px;
}

.admin-order-toolbar h3 {
  font-size: 28px;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.admin-order-toolbar p {
  color: #526157;
  margin: 0;
}

.g8-late-indicator {
  align-items: center;
  background: #fff7ed;
  border: 1px solid #f59e0b;
  color: #9a3412;
  display: inline-flex;
  gap: 8px;
  justify-self: end;
  min-height: 46px;
  padding: 8px 10px;
  text-transform: uppercase;
}

.g8-late-indicator strong {
  align-items: center;
  background: #9a3412;
  color: #ffffff;
  display: inline-flex;
  font-size: 20px;
  height: 30px;
  justify-content: center;
  min-width: 34px;
  padding: 0 8px;
}

.g8-late-indicator span {
  font-size: 11px;
  font-weight: 950;
  line-height: 1.15;
}

.g8-other-days-toggle {
  align-items: center;
  background: #eef3ef;
  border: 1px solid #cad6cb;
  border-radius: 8px;
  color: #111711;
  display: inline-grid;
  gap: 2px;
  justify-items: center;
  min-height: 46px;
  min-width: 128px;
  padding: 7px 12px;
  text-transform: uppercase;
}

.g8-other-days-toggle span,
.g8-other-days-toggle small {
  color: #536158;
  font-size: 10px;
  font-weight: 950;
  line-height: 1.1;
}

.g8-other-days-toggle strong {
  color: #111711;
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
}

.g8-other-days-toggle.is-on {
  background: #eff8eb;
  border-color: #69BE28;
  box-shadow: inset 0 0 0 2px rgba(105, 190, 40, 0.18);
}

.g8-other-days-toggle.is-on strong {
  color: #286e11;
}

.admin-order-stats {
  margin-bottom: 0;
}

.stat-bar {
  align-content: center;
}

.stat-bar span {
  background: #69BE28;
  display: block;
  height: 12px;
  min-width: 8px;
}

.stats-dashboard {
  display: grid;
  gap: 18px;
}

.stats-toolbar {
  align-items: end;
  background: #ffffff;
  border: 1px solid #dfe6df;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 18px;
}

.stats-toolbar h2 {
  font-size: 32px;
  margin: 4px 0 6px;
  text-transform: uppercase;
}

.stats-toolbar p,
.stats-panel-head span,
.stats-row small,
.stats-alert small,
.stats-kpi small {
  color: #526157;
  font-size: 12px;
  font-weight: 800;
}

.stats-toolbar label {
  color: #0e1511;
  display: grid;
  font-size: 12px;
  font-weight: 950;
  gap: 6px;
  min-width: 180px;
  text-transform: uppercase;
}

.stats-toolbar select {
  background: #ffffff;
  border: 2px solid #0e1511;
  color: #0e1511;
  font-weight: 950;
  min-height: 44px;
  padding: 8px 10px;
}

.stats-alerts,
.stats-kpi-grid,
.stats-grid-large {
  display: grid;
  gap: 12px;
}

.stats-alerts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats-kpi-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stats-grid-large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats-alert,
.stats-kpi,
.stats-panel {
  background: #ffffff;
  border: 1px solid #dfe6df;
  box-shadow: 0 12px 28px rgba(14, 21, 17, 0.05);
}

.stats-alert,
.stats-kpi {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.stats-alert {
  border-left: 6px solid #69BE28;
}

.stats-alert.is-danger,
.stats-kpi.is-danger {
  border-color: #b42318;
}

.stats-alert span,
.stats-kpi span,
.stats-panel-head h3 {
  color: #0e1511;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.06em;
  margin: 0;
  text-transform: uppercase;
}

.stats-alert strong,
.stats-kpi strong {
  color: #0e1511;
  font-size: 30px;
  line-height: 1;
}

.stats-alert.is-danger strong,
.stats-kpi.is-danger strong {
  color: #b42318;
}

.stats-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.stats-chart-panel {
  overflow-x: auto;
}

.stats-panel-head {
  align-items: baseline;
  border-bottom: 1px solid #e4ebe5;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding-bottom: 10px;
}

.stats-chart {
  background: #f8faf8;
  border: 1px solid #e1e7e1;
  min-height: 260px;
  min-width: 700px;
  width: 100%;
}

.stats-grid line {
  stroke: #dfe6df;
  stroke-width: 1;
}

.stats-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.stats-line-revenue {
  stroke: #e11d2e;
}

.stats-line-orders {
  stroke: #1f3fb8;
}

.stats-ticks text {
  fill: #526157;
  font-size: 11px;
  font-weight: 800;
}

.stats-click-map-panel {
  overflow: hidden;
}

.stats-click-map {
  background:
    linear-gradient(rgba(105, 190, 40, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 190, 40, 0.08) 1px, transparent 1px),
    #f8faf8;
  background-size: 10% 10%;
  border: 1px solid #dfe6df;
  min-height: 330px;
  position: relative;
}

.stats-click-map::before {
  color: rgba(14, 21, 17, 0.18);
  content: "SITE";
  font-size: clamp(54px, 12vw, 140px);
  font-weight: 950;
  inset: 0;
  letter-spacing: 0.04em;
  line-height: 330px;
  pointer-events: none;
  position: absolute;
  text-align: center;
}

.stats-click-dot {
  background: radial-gradient(circle at 35% 35%, #ffffff 0 12%, #69BE28 13% 55%, #0e1511 56% 100%);
  border: 2px solid #0e1511;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(14, 21, 17, 0.25);
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.stats-click-empty {
  align-items: center;
  color: #526157;
  display: flex;
  font-weight: 950;
  inset: 0;
  justify-content: center;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  z-index: 2;
}

.stats-click-legend {
  align-items: center;
  color: #526157;
  display: flex;
  font-size: 12px;
  font-weight: 900;
  gap: 8px;
}

.stats-click-legend span {
  background: #69BE28;
  border: 2px solid #0e1511;
  border-radius: 50%;
  display: inline-block;
  height: 16px;
  width: 16px;
}

.stats-list {
  display: grid;
  gap: 10px;
}

.stats-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.stats-row strong {
  color: #0e1511;
  display: block;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-row > span {
  color: #0e1511;
  font-size: 13px;
  font-weight: 950;
  text-align: right;
}

.stats-row em {
  background: #edf2ee;
  display: block;
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
}

.stats-row em i {
  background: #69BE28;
  display: block;
  height: 100%;
}

.api-config-page {
  display: grid;
  gap: 18px;
}

.api-config-intro,
.api-config-card {
  background: #ffffff;
  border: 1px solid #dfe6df;
  box-shadow: 0 12px 28px rgba(14, 21, 17, 0.05);
}

.api-config-intro {
  padding: 18px;
}

.api-config-intro h2 {
  font-size: 32px;
  margin: 4px 0 6px;
  text-transform: uppercase;
}

.api-config-intro p,
.api-config-head p,
.api-locked-box span,
.api-secret-mask {
  color: #526157;
  font-size: 12px;
  font-weight: 800;
}

.api-config-list {
  display: grid;
  gap: 14px;
}

.api-config-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.api-config-card.is-locked {
  background: #f8faf8;
}

.api-config-head {
  align-items: start;
  border-bottom: 1px solid #e4ebe5;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-bottom: 12px;
}

.api-config-head h3 {
  color: #0e1511;
  font-size: 22px;
  margin: 4px 0;
  text-transform: uppercase;
}

.api-config-head > strong {
  background: #0e1511;
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  padding: 8px 10px;
  text-transform: uppercase;
}

.api-locked-box {
  background: #fff7ed;
  border: 1px solid #f59e0b;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.api-locked-box strong {
  color: #9a3412;
  font-size: 14px;
  text-transform: uppercase;
}

.api-locked-box label,
.api-config-form label {
  color: #0e1511;
  display: grid;
  font-size: 12px;
  font-weight: 950;
  gap: 6px;
  text-transform: uppercase;
}

.api-locked-box input,
.api-config-form input,
.api-config-form select {
  background: #ffffff;
  border: 1px solid #cfd8d0;
  color: #0e1511;
  min-height: 42px;
  padding: 8px 10px;
}

.api-config-form input:disabled,
.api-config-form select:disabled {
  background: #edf2ee;
  color: #657268;
}

.api-config-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-security-page {
  display: grid;
  gap: 18px;
}

.admin-security-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.admin-security-note {
  background: #eef8e8;
  border-left: 4px solid #69BE28;
  color: #235013 !important;
  margin-top: 10px;
  padding: 10px;
}

.admin-ip-list {
  display: grid;
  gap: 10px;
}

.admin-ip-row {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dfe6df;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 12px;
}

.admin-ip-row.is-required {
  border-left: 5px solid #69BE28;
}

.admin-ip-row strong {
  color: #0e1511;
  display: block;
  font-size: 18px;
}

.admin-ip-row small {
  color: #526157;
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-top: 3px;
}

.admin-ip-row span {
  background: #edf2ee;
  color: #0e1511;
  font-size: 11px;
  font-weight: 950;
  padding: 8px 10px;
  text-transform: uppercase;
}

.api-enabled-line {
  align-content: center;
  align-items: center;
  display: flex !important;
  min-height: 42px;
}

.api-secret-mask {
  background: #edf2ee;
  display: inline-block;
  padding: 5px 8px;
}

.label-toolbar {
  align-items: end;
  background: #ffffff;
  border: 1px solid #e1e7e1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  padding: 14px;
}

.label-toolbar label {
  display: grid;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  text-transform: uppercase;
}

.label-toolbar input {
  border: 1px solid #cad3cb;
  min-height: 42px;
  padding: 8px 10px;
}

.order-list {
  display: grid;
  gap: 12px;
}

.order-card {
  background: #ffffff;
  border: 1px solid #e1e7e1;
  box-shadow: 0 14px 34px rgba(14, 21, 17, 0.06);
  display: grid;
  gap: 12px;
  padding: 16px;
}

.order-card-head,
.order-item,
.order-actions {
  align-items: center;
  display: grid;
  gap: 12px;
}

.order-card-head {
  grid-template-columns: minmax(0, 1fr) auto;
}

.order-card-head > div,
.order-total,
.order-history {
  display: grid;
  gap: 4px;
}

.order-card-head strong {
  font-size: 20px;
}

.order-card-head span,
.order-history span {
  color: #4c5a50;
  font-size: 13px;
}

.order-total {
  justify-items: end;
}

.client-order-status {
  border-radius: 8px;
  color: #ffffff !important;
  display: inline-block;
  font-size: 22px !important;
  font-weight: 950;
  padding: 8px 12px;
  text-align: center;
  text-transform: uppercase;
}

.status-confirmed {
  background: #159447;
}

.status-pending {
  background: #d97706;
}

.status-shipped {
  background: #1769d1;
}

.status-delivery {
  background: #1769d1;
}

.status-completed {
  background: #6b7280;
}

.order-instruction {
  background: #fff8e5;
  border: 1px solid #f2d47c;
  color: #7a4d00;
  font-weight: 950;
  padding: 10px 12px;
  text-transform: uppercase;
}

.transfer-instruction {
  background: #fff7ed;
  border-color: #f59e0b;
}

.order-client-details {
  background: #f7f9f7;
  border: 1px solid #dfe5df;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
}

.order-client-details span {
  color: #4c5a50;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

.order-delivery-estimate {
  border-left: 4px solid var(--kawa-green);
}

.order-delivery-estimate strong {
  color: #257d12;
}

.order-tracking-actions {
  align-items: center;
  background: #f7f9f7;
  border: 1px solid #dfe5df;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 10px;
}

.order-tracking-state {
  display: grid;
  gap: 2px;
  margin-right: auto;
  min-width: 170px;
}

.order-tracking-state small {
  color: #4c5a50;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.delivery-eta {
  color: #2f7d18 !important;
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-top: 3px;
}

.delivery-eta i {
  margin-right: 5px;
}

.order-items {
  border-top: 1px solid #edf0ed;
}

.order-item {
  border-bottom: 1px solid #edf0ed;
  grid-template-columns: 130px minmax(0, 1fr) 80px 120px;
  padding: 10px 0;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.labels-preview {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin-bottom: 14px;
}

.labels-preview[hidden] {
  display: none;
}

.order-document {
  background: #ffffff;
  border: 1px solid #111111;
  color: #000000;
  font-family: Arial, sans-serif;
  font-size: 12px;
  min-height: 285mm;
  padding: 0;
  width: 210mm;
}

.doc-top {
  align-items: start;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12mm;
  padding: 0 2mm;
}

.doc-company,
.doc-customer {
  display: grid;
  gap: 1mm;
}

.doc-logo-row {
  align-items: start;
  display: flex;
  justify-content: space-between;
  padding: 2mm 2mm 0;
}

.doc-logo-moto {
  height: 16mm;
  object-fit: contain;
  width: 58mm;
}

.doc-logo-kawa {
  height: 17mm;
  object-fit: contain;
  width: 52mm;
}

.doc-company h2 {
  font-size: 24px;
  line-height: 1;
  margin: 0;
}

.doc-brand {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 46px;
  font-weight: 950;
  line-height: 0.85;
  padding-top: 14mm;
  text-align: right;
}

.doc-brand span {
  font-size: 24px;
}

.doc-customer-wrap {
  align-items: stretch;
  display: flex;
  justify-content: flex-end;
  margin: -35mm 0 2mm auto;
  padding-right: 1mm;
}

.doc-customer {
  border: 1px solid #111111;
  border-radius: 8px;
  padding: 4mm;
  width: 102mm;
}

.doc-customer strong {
  font-size: 16px;
  text-transform: uppercase;
}

.doc-meta,
.doc-row {
  display: grid;
  grid-template-columns: 31mm 22mm 22mm 25mm 43mm 25mm 22mm 18mm;
}

.doc-meta {
  border: 1px solid #111111;
  border-radius: 8px;
  font-size: 13px;
  overflow: hidden;
}

.doc-meta div,
.doc-row span {
  border-right: 1px solid #111111;
  display: grid;
  gap: 1mm;
  padding: 1.5mm;
  text-align: center;
}

.doc-meta div:last-child,
.doc-row span:last-child {
  border-right: 0;
}

.doc-meta strong,
.doc-head {
  text-transform: uppercase;
}

.doc-table {
  margin-top: 1mm;
}

.doc-head {
  border: 1px solid #111111;
  font-size: 10px;
  font-weight: 900;
}

.doc-row:not(.doc-head) {
  border-bottom: 1px solid #d7d7d7;
  font-size: 10px;
  min-height: 6mm;
}

.doc-row span:first-child,
.doc-row span:nth-child(2) {
  text-align: left;
}

.doc-bottom {
  align-items: start;
  display: grid;
  gap: 3mm;
  grid-template-columns: 64mm 67mm;
  justify-content: end;
  margin-top: 112mm;
  padding-right: 1mm;
}

.doc-tax,
.doc-totals {
  border: 1px solid #111111;
  border-radius: 8px;
  overflow: hidden;
}

.doc-tax div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.doc-tax strong,
.doc-tax span {
  border-right: 1px solid #111111;
  padding: 1mm 2mm;
  text-align: right;
}

.doc-tax strong:last-child,
.doc-tax span:last-child {
  border-right: 0;
}

.doc-totals {
  display: grid;
  gap: 1mm;
  padding: 3mm;
}

.doc-totals div {
  display: flex;
  justify-content: space-between;
}

.client-document-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.diagram-page[hidden] {
  display: none;
}

.footer-info {
  background: #2f2f2f;
  border-top: 4px solid var(--kawa-green);
  color: #ffffff;
  padding: 56px 20px 64px;
  text-align: center;
}

.footer-container {
  margin: 0 auto;
  max-width: 900px;
}

.footer-title {
  color: #ffffff;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  margin: 16px 0 10px;
  text-align: center;
  text-transform: uppercase;
}

.footer-site-logo {
  display: block;
  height: auto;
  margin: 0 auto 22px;
  max-width: 76px;
  width: min(20vw, 76px);
}

.footer-hours {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.45;
  margin: 0 auto 25px;
  text-align: center;
}

.footer-hours p {
  margin: 0 0 6px;
}

.footer-award {
  color: var(--kawa-green);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 auto 35px;
}

.footer-social {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 0 auto 35px;
}

.social-btn {
  align-items: center;
  background: transparent;
  border: 2px solid var(--kawa-green);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  font-size: 22px;
  height: 48px;
  justify-content: center;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
  width: 48px;
}

.social-btn:hover {
  background: var(--kawa-green);
  color: #000000;
}

.client-reviews-carousel {
  margin: 34px auto 38px;
  max-width: 1120px;
  overflow: hidden;
}

.client-reviews-title {
  color: #ffffff;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 18px;
  text-align: center;
  text-transform: uppercase;
}

.client-reviews-shell {
  align-items: stretch;
  display: grid;
  gap: 14px;
  grid-template-columns: 190px minmax(0, 1fr);
}

.client-reviews-window {
  background: #f4f5f4;
  border-top: 4px solid var(--kawa-green);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  padding: 16px;
  width: 100%;
}

.client-reviews-track {
  animation: clientReviewsSlide 34s linear infinite;
  display: flex;
  gap: 14px;
  width: max-content;
}

.client-review-card,
.client-reviews-empty,
.client-reviews-summary {
  background: #f4f5f4;
  border-top: 4px solid var(--kawa-green);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  color: #111711;
}

.client-reviews-summary {
  align-content: center;
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 138px;
  padding: 18px 14px;
}

.client-reviews-summary strong {
  color: #111711;
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}

.client-reviews-summary small {
  color: #68736a;
  font-size: 18px;
}

.client-reviews-summary span {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 0;
}

.client-reviews-certified {
  background: rgba(105, 190, 40, 0.14);
  border: 1px solid rgba(105, 190, 40, 0.9);
  color: #276b12;
  font-size: 11px;
  font-weight: 950;
  padding: 4px 8px;
  text-transform: uppercase;
}

.client-reviews-summary em {
  color: #2d352f;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.client-review-card {
  background: #ffffff;
  box-shadow: none;
  display: grid;
  flex: 0 0 360px;
  gap: 10px;
  min-height: 126px;
  padding: 4px 26px 4px 8px;
  text-align: left;
}

.client-review-card div {
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.client-review-card strong {
  color: #111711;
  font-size: 15px;
  text-transform: uppercase;
}

.client-review-card span {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 0;
  white-space: nowrap;
}

.client-review-card p {
  color: #2d352f;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.client-review-card small {
  color: #68736a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.client-reviews-empty {
  display: grid;
  gap: 6px;
  margin: 0 auto;
  max-width: 540px;
  padding: 18px 24px;
  text-align: center;
  text-transform: uppercase;
}

@keyframes clientReviewsSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.footer-address {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.4;
  margin: 0 auto 30px;
  max-width: 900px;
  text-align: center;
}

.footer-address p {
  margin: 0 0 5px;
}

.footer-text {
  color: #cfcfcf;
  font-size: 17px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}

.footer-contact-button {
  background: var(--kawa-green);
  border: 2px solid var(--kawa-green);
  color: #111111;
  font-size: 15px;
  font-weight: 950;
  margin: 0 auto 26px;
  min-height: 46px;
  padding: 0 26px;
  text-transform: uppercase;
}

.footer-contact-button:hover,
.footer-contact-button:focus {
  background: transparent;
  color: #ffffff;
}

.legal-footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;
  margin: 28px auto 0;
  max-width: 1120px;
}

.legal-footer-links a,
.legal-footer-links button {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(105, 190, 40, 0.65);
  border-radius: 0;
  color: #ffffff;
  display: inline-flex;
  font-family: inherit;
  font-size: 12px;
  font-weight: 950;
  justify-content: center;
  line-height: 1;
  min-height: 38px;
  min-width: 180px;
  padding: 0 14px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.legal-footer-links a:hover,
.legal-footer-links a:focus,
.legal-footer-links button:hover,
.legal-footer-links button:focus {
  background: var(--kawa-green);
  color: #111111;
}

.footer {
  background: #2f2f2f;
  border-top: 2px solid var(--kawa-green);
  color: #ffffff;
  margin-top: 0;
}

.footer-inner {
  color: #d7d7d7;
  font-size: 16px;
  line-height: 1.4;
  margin: 0 auto;
  max-width: 1500px;
  padding: 28px 34px 34px;
  text-align: center;
}

.diagram-page-head {
  align-items: center;
  border-bottom: 1px solid #dfe5df;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.diagram-page-head h2 {
  font-size: 26px;
  font-weight: 950;
  margin: 4px 0 0;
  text-align: right;
  text-transform: uppercase;
}

.diagram-page-head .kicker {
  color: #15552b;
  display: block;
  text-align: right;
}

.diagram-page-body {
  min-height: 0;
}

.diagram-page .diagram-dialog-layout {
  grid-template-columns: minmax(580px, 1fr) minmax(430px, 0.78fr);
  height: calc(100vh - 230px);
  min-height: 640px;
}

.diagram-page .diagram-image {
  height: 100%;
  min-height: 0;
}

.diagram-page .diagram-image-shell {
  clip-path: none;
  width: auto;
}

.diagram-page .diagram-image img {
  height: auto;
  max-height: none;
  max-width: none;
  width: auto;
}

.diagram-page .parts-table {
  font-size: 13px;
  table-layout: fixed;
}

.diagram-page .parts-table th,
.diagram-page .parts-table td {
  padding: 8px 6px;
}

.diagram-page .parts-table th:nth-child(1),
.diagram-page .parts-table td:nth-child(1) {
  width: 44px;
}

.diagram-page .parts-table th:nth-child(2),
.diagram-page .parts-table td:nth-child(2) {
  width: 88px;
}

.diagram-page .parts-table th:nth-child(4),
.diagram-page .parts-table td:nth-child(4) {
  width: 62px;
}

.diagram-page .parts-table th:nth-child(5),
.diagram-page .parts-table td:nth-child(5) {
  width: 62px;
}

.diagram-page .parts-table th:nth-child(6),
.diagram-page .parts-table td:nth-child(6) {
  width: 86px;
}

.diagram-page .parts-table th:nth-child(7),
.diagram-page .parts-table td:nth-child(7) {
  width: 78px;
}

.diagram-page .parts-table button {
  font-size: 9.5px;
  line-height: 1;
  min-height: 28px;
  padding: 4px 7px;
  white-space: nowrap;
}

.diagram-image {
  align-items: center;
  background: #eef2ef;
  border: 1px solid #dfe5df;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 260px;
  overflow: hidden;
  position: relative;
  touch-action: none;
}

.diagram-image-shell {
  display: block;
  line-height: 0;
  left: 0;
  max-height: none;
  max-width: none;
  overflow: visible;
  position: absolute;
  top: 0;
  transform-origin: 0 0;
  will-change: transform;
}

.diagram-image-shell::after {
  background-image: url("/media/site/pieces-kawa-by-motoworld.svg?v=1");
  background-position: center;
  background-repeat: repeat;
  background-size: 360px auto;
  content: "";
  inset: 0;
  opacity: 0.055;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.diagram-image.is-zoomed {
  cursor: grab;
}

.diagram-image.is-panning {
  cursor: grabbing;
}

.diagram-image img {
  display: block;
  height: auto;
  max-height: none;
  max-width: none;
  pointer-events: none;
  position: relative;
  user-select: none;
  width: auto;
  z-index: 0;
}

.diagram-use-hint {
  background: rgba(17, 23, 17, 0.96);
  border-left: 4px solid #69BE28;
  bottom: 12px;
  color: #ffffff;
  font-family: Oswald, Inter, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0;
  left: 12px;
  line-height: 1.25;
  max-width: min(420px, calc(100% - 24px));
  padding: 10px 12px;
  position: absolute;
  text-transform: uppercase;
  z-index: 8;
}

.diagram-use-hint.is-active {
  border-left-color: #69BE28;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.diagram-use-hint.is-warning {
  border-left-color: #d97706;
}

.just-added {
  animation: addedPulse 520ms ease;
}

@keyframes addedPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(105, 190, 40, 0.82);
    transform: scale(1);
  }
  55% {
    box-shadow: 0 0 0 8px rgba(105, 190, 40, 0);
    transform: scale(1.03);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(105, 190, 40, 0);
    transform: scale(1);
  }
}

.hotspot-layer {
  inset: 0;
  position: absolute;
  z-index: 2;
}

.hotspot {
  background: rgba(29, 107, 55, 0.1);
  border: 1px solid rgba(29, 107, 55, 0.65);
  border-radius: 3px;
  min-height: 0;
  padding: 0;
  position: absolute;
}

.hotspot-available {
  background: rgba(20, 116, 47, 0.1);
  border-color: rgba(20, 116, 47, 0.78);
}

.hotspot-unavailable {
  background: rgba(180, 35, 24, 0.1);
  border-color: rgba(180, 35, 24, 0.82);
}

.hotspot-delayed {
  background: rgba(217, 119, 6, 0.12);
  border-color: rgba(217, 119, 6, 0.86);
}

.hotspot-check-error {
  background: rgba(100, 116, 139, 0.12);
  border-color: rgba(100, 116, 139, 0.88);
}

.hotspot-available:hover,
.hotspot-available:focus {
  background: rgba(29, 107, 55, 0.28);
  outline: 2px solid #1d6b37;
}

.hotspot-delayed:hover,
.hotspot-delayed:focus {
  background: rgba(217, 119, 6, 0.24);
  outline: 2px solid #d97706;
}

.hotspot-unavailable:hover,
.hotspot-unavailable:focus {
  background: rgba(180, 35, 24, 0.24);
  outline: 2px solid #b42318;
}

.hotspot-check-error:hover,
.hotspot-check-error:focus {
  background: rgba(100, 116, 139, 0.24);
  outline: 2px solid #64748b;
}

.hotspot-tooltip {
  background: #0e1511;
  border-radius: 6px;
  color: #ffffff;
  display: grid;
  font-size: 12px;
  gap: 3px;
  line-height: 1.25;
  max-width: 280px;
  padding: 8px 10px;
  pointer-events: none;
  position: absolute;
  text-rendering: geometricPrecision;
  z-index: 9;
}

.zoom-toolbar {
  align-items: center;
  background: rgba(14, 21, 17, 0.88);
  border-radius: 8px;
  color: #ffffff;
  display: flex;
  gap: 6px;
  left: 12px;
  padding: 7px;
  position: absolute;
  top: 12px;
  z-index: 8;
}

.zoom-toolbar button {
  background: #ffffff;
  color: #0e1511;
  font-weight: 700;
  min-height: 32px;
  min-width: 36px;
  padding: 5px 9px;
}

.zoom-toolbar button:hover {
  background: #edf7ef;
}

.zoom-toolbar span {
  font-size: 13px;
  font-weight: 700;
  min-width: 46px;
  text-align: center;
}

.parts-table {
  border-collapse: collapse;
  width: 100%;
}

.parts-table th,
.parts-table td {
  border-bottom: 1px solid #e5ebe5;
  padding: 10px 8px;
  text-align: left;
  vertical-align: middle;
}

.parts-table th {
  color: #4c5a50;
  font-size: 13px;
}

.parts-table button {
  min-height: 34px;
  padding: 6px 10px;
}

.quantity-cell {
  text-align: center;
}

.part-qty-input {
  background: #ffffff;
  border: 1px solid #cfd8cf;
  border-radius: 5px;
  color: #071007;
  font-size: 13px;
  font-weight: 950;
  height: 30px;
  padding: 4px 5px;
  text-align: center;
  width: 54px;
}

.part-qty-input:focus {
  border-color: #69BE28;
  box-shadow: 0 0 0 3px rgba(105, 190, 40, 0.18);
  outline: 0;
}

.part-qty-input:disabled {
  background: #e8ede9;
  color: #69746c;
}

.parts-table button[data-part],
.dialog-actions button[data-dialog-add],
.home-stock-result button[data-home-stock-add],
.featured-product-body button[data-featured-add] {
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  min-height: 32px;
  overflow: hidden;
  padding: 6px 9px;
  position: relative;
  white-space: nowrap;
}

.link-button {
  background: transparent;
  color: #15552b;
  font-weight: 700;
  min-height: 0;
  padding: 0;
  text-align: left;
}

.link-button:hover {
  background: transparent;
  color: #0e1511;
  text-decoration: underline;
}

.reference-cell .link-button {
  cursor: copy;
}

.row-actions {
  display: table-cell;
  min-width: 74px;
  text-align: center;
  white-space: nowrap;
}

.row-actions button {
  min-width: 68px;
  white-space: nowrap;
}

.row-actions button[data-part] {
  font-size: 9px;
  min-height: 28px;
  padding: 4px 7px;
}

button.is-cart-adding {
  animation: buttonPress 320ms ease both;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.18), 0 12px 22px rgba(105, 190, 40, 0.22);
}

button.is-cart-adding::before {
  animation: buttonSweep 620ms ease both;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-120%);
}

.is-replaced-part {
  background: #fff7ed;
}

.replacement-group-start td {
  border-top: 2px solid #fb923c;
}

.replacement-group-start td:first-child {
  border-left: 2px solid #fb923c;
  border-top-left-radius: 8px;
}

.replacement-group-start td:last-child {
  border-right: 2px solid #fb923c;
  border-top-right-radius: 8px;
}

.replacement-group-end td {
  border-bottom: 2px solid #fb923c;
}

.replacement-group-end td:first-child {
  border-left: 2px solid #fb923c;
  border-bottom-left-radius: 8px;
}

.replacement-group-end td:last-child {
  border-right: 2px solid #fb923c;
  border-bottom-right-radius: 8px;
}

.replacement-group-start + .replacement-group-end td {
  border-top-color: rgba(251, 146, 60, 0.28);
}

.is-replaced-part .reference-cell .link-button,
.is-replaced-part td:nth-child(3),
.is-replaced-part .price-cell {
  color: #b42318;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.is-replaced-part .row-actions button:disabled {
  background: #d7ddd8;
  color: #6c756e;
  cursor: not-allowed;
}

.replacement-badge {
  background: #fffaf3;
  border: 1px solid #fb923c;
  color: #9a3412;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.05;
  margin-top: 4px;
  max-width: 78px;
  padding: 3px 4px;
  text-transform: uppercase;
  vertical-align: top;
  white-space: normal;
}

.replacement-arrow {
  display: inline-block;
  flex: 0 0 10px;
  height: 19px;
  position: relative;
  width: 10px;
}

.replacement-arrow::before {
  border-left: 2px solid #f97316;
  bottom: 5px;
  content: "";
  left: 4px;
  position: absolute;
  top: 1px;
}

.replacement-arrow::after {
  border-bottom: 2px solid #f97316;
  border-right: 2px solid #f97316;
  bottom: 1px;
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  transform: rotate(45deg);
  width: 7px;
}

.replacement-badge-text {
  display: block;
}

.is-replacement-target .reference-cell .link-button {
  background: #ecfdf3;
  border: 1px solid #58c829;
  color: #126427;
  padding: 2px 5px;
}

.tooltip-replacement {
  color: #fbbf24;
  font-weight: 900;
}

.selected-row {
  background: #edf7ef;
  outline: 2px solid #1d6b37;
}

.stock-available {
  color: #14742f;
  font-weight: 700;
}

.stock-delayed {
  color: #d97706;
  font-weight: 800;
}

.stock-check-error {
  color: #64748b;
  font-weight: 800;
}

.stock-unavailable {
  color: #b42318;
  font-weight: 700;
}

.price-unavailable {
  color: #b42318;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

dialog {
  animation: dialogEnter 180ms ease both;
  border: 1px solid rgba(223, 229, 223, 0.94);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(14, 21, 17, 0.28);
  max-width: 680px;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: calc(100vw - 32px);
}

#cartDialog {
  max-height: calc(100vh - 30px);
  max-width: min(1320px, calc(100vw - 30px));
  padding: 0;
}

#cartDialogBody {
  max-height: calc(100vh - 112px);
  overflow: auto;
  padding: 18px;
}

#cartDialogBody .checkout-panel {
  align-items: stretch;
  background: transparent;
  backdrop-filter: none;
  display: block;
  inset: auto;
  margin: 18px 0 0;
  overflow: visible;
  padding: 0;
  position: static;
  z-index: auto;
}

#cartDialogBody .checkout-panel[hidden] {
  display: none;
}

#cartDialogBody .checkout-modal-card {
  box-shadow: none;
  max-height: none;
  overflow: visible;
  width: 100%;
}

#cartDialogBody .checkout-modal-card:has(.checkout-white-layout) {
  height: auto;
}

#cartDialogBody .checkout-white-layout {
  min-height: 0;
  overflow: visible;
}

#cartDialogBody .checkout-white-main {
  max-height: none;
  overflow: visible;
}

.auth-dialog {
  max-height: calc(100vh - 30px);
  max-width: 980px;
}

.admin-dialog {
  max-height: calc(100vh - 30px);
  max-width: min(1380px, calc(100vw - 30px));
}

.diagram-dialog {
  max-height: calc(100vh - 28px);
  max-width: 1540px;
  overflow: hidden;
  width: calc(100vw - 28px);
}

.diagram-dialog[open] {
  display: flex;
  flex-direction: column;
}

.diagram-dialog form {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 72px);
  min-height: 0;
}

#diagramDialogBody {
  display: flex;
  flex: 1;
  flex-direction: column;
  max-height: calc(100vh - 112px);
  min-height: 0;
  overflow: hidden;
  padding: 14px;
}

#authDialogBody,
#accountDialogBody,
#adminDialogBody,
#partDialogBody {
  padding: 20px;
}

#authDialogBody,
#accountDialogBody,
#adminDialogBody {
  max-height: calc(100vh - 112px);
  overflow: auto;
}

#accountDialog {
  max-height: calc(100vh - 30px);
  max-width: min(980px, calc(100vw - 30px));
}

#adminDialogBody {
  min-height: min(620px, calc(100vh - 140px));
}

dialog::backdrop {
  backdrop-filter: blur(5px);
  background: rgba(14, 21, 17, 0.48);
}

.dialog-head {
  align-items: center;
  background: #151815;
  border-bottom: 4px solid #69BE28;
  color: #ffffff;
  display: flex;
  flex-shrink: 0;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 0;
  padding: 18px 20px;
}

.dialog-head h2 {
  font-size: 24px;
  margin: 0;
  text-transform: uppercase;
}

.dialog-head .icon-button {
  background: rgba(255, 255, 255, 0.08);
  min-height: 42px;
}

.diagram-dialog .dialog-head h2 {
  flex: 1;
  min-width: 0;
}

.diagram-header-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  justify-content: flex-end;
  max-width: min(560px, 42vw);
}

.diagram-header-actions[hidden] {
  display: none;
}

.diagram-header-actions .stock-status {
  color: #dce8dc;
  margin: 0;
}

.diagram-header-actions .stock-status-message {
  color: #dce8dc;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.diagram-header-actions .status-toggle {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
}

.diagram-header-actions .status-toggle:hover,
.diagram-header-actions .status-toggle.is-active {
  background: rgba(105, 190, 40, 0.22);
}

@keyframes dialogEnter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.part-dialog-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.part-dialog-grid > div {
  background: #f6f8f6;
  border: 1px solid #e1e7e1;
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 12px;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
}

.dialog-message {
  background: #edf7ef;
  border: 1px solid #cfe2d2;
  border-radius: 8px;
  color: #15552b;
  margin-top: 14px;
  padding: 10px 12px;
}

.auth-intro {
  background:
    linear-gradient(135deg, rgba(105, 190, 40, 0.11), rgba(255, 255, 255, 0)),
    #f6f8f6;
  border: 1px solid #e1e7e1;
  border-left: 4px solid #69BE28;
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  padding: 16px;
}

.auth-intro .kicker {
  color: #15552b;
  letter-spacing: 2px;
}

.auth-intro h3 {
  font-size: 24px;
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
}

.auth-intro p {
  color: #4c5a50;
  margin: 0;
}

.auth-error {
  background: #fff1f0;
  border-color: #f4b8b2;
  color: #b42318;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-loading-bar {
  background: #eef7ec;
  border: 1px solid #cfe8c8;
  border-radius: 8px;
  color: #173817;
  display: grid;
  gap: 8px;
  padding: 10px 12px;
}

.auth-loading-bar span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.auth-loading-bar i {
  background: linear-gradient(90deg, #69BE28, #9be56a, #69BE28);
  border-radius: 999px;
  display: block;
  height: 6px;
  overflow: hidden;
  transform-origin: left center;
  animation: authLoadingFill 850ms cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

.auth-form.is-auth-loading {
  opacity: 0.92;
}

.auth-form.is-auth-loading button[type="submit"] {
  cursor: wait;
}

@keyframes authLoadingFill {
  0% { transform: scaleX(0.05); }
  70% { transform: scaleX(0.86); }
  100% { transform: scaleX(1); }
}

.auth-form label {
  color: #28312b;
  display: grid;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.auth-form input {
  background: #ffffff;
  border: 1px solid #cad3cb;
  border-radius: 6px;
  color: #0e1511;
  min-height: 46px;
  outline: none;
  padding: 10px 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.auth-form textarea,
.scraper-form textarea {
  background: #ffffff;
  border: 1px solid #cad3cb;
  border-radius: 6px;
  color: #0e1511;
  font: inherit;
  min-height: 150px;
  outline: none;
  padding: 10px 12px;
  resize: vertical;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.auth-form input:focus {
  border-color: #69BE28;
  box-shadow: 0 0 0 4px rgba(105, 190, 40, 0.14);
}

.auth-form textarea:focus,
.scraper-form textarea:focus {
  border-color: #69BE28;
  box-shadow: 0 0 0 4px rgba(105, 190, 40, 0.14);
}

.password-help {
  color: #617067;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.password-help.is-error {
  color: #b42318;
}

.auth-two {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.registration-steps {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.registration-steps li {
  flex: 1;
  color: #617067;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.registration-steps span {
  display: block;
  width: 30px;
  line-height: 30px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #e9eeea;
}

.registration-steps [aria-current="step"] {
  color: #15552b;
}

.registration-steps [aria-current="step"] span {
  background: #15552b;
  color: #fff;
}

.registration-pending {
  margin-bottom: 24px;
  overflow-wrap: anywhere;
  line-height: 1.6;
}

.auth-fieldset {
  background: #fbfcfb;
  border: 1px solid #dfe5df;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 14px;
}

.auth-fieldset legend {
  color: #15552b;
  font-weight: 950;
  text-transform: uppercase;
}

.checkbox-line {
  align-items: center;
  display: flex !important;
  flex-direction: row;
  gap: 10px !important;
  text-transform: none !important;
}

.checkbox-line input {
  min-height: 0;
  width: auto;
}

.auth-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 16px;
}

.password-box {
  border-top: 1px solid #dfe5df;
  margin-top: 18px;
  padding-top: 16px;
}

.password-box h3,
.admin-detail h3 {
  margin: 0;
  text-transform: uppercase;
}

.admin-grid {
  display: grid;
  gap: 10px;
}

.admin-user-card {
  align-items: center;
  border: 1px solid #dfe5df;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px;
}

.admin-user-card div:first-child,
.admin-detail,
.admin-line {
  display: grid;
  gap: 5px;
}

.admin-user-card span,
.admin-line span {
  color: #4c5a50;
  font-size: 13px;
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.admin-line {
  border: 1px solid #e1e7e1;
  grid-template-columns: minmax(140px, 1fr) auto minmax(160px, 1fr);
  padding: 10px;
}

.admin-customer-detail,
.admin-detail-section,
.customer-order-admin,
.admin-coupons-layout,
.catalog-admin-layout,
.coupon-list,
.admin-gift-layout,
.gift-card-admin-list,
.credit-history {
  display: grid;
  gap: 14px;
}

.admin-detail-head {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-detail-actions {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.credit-badge {
  background: #111111;
  border-top: 4px solid #69BE28;
  color: #ffffff;
  display: grid;
  gap: 4px;
  min-width: 180px;
  padding: 14px;
  text-align: right;
}

.credit-badge span {
  color: #dce8dc;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.credit-badge strong {
  color: #69BE28;
  font-size: 28px;
}

.admin-detail-section {
  border-top: 1px solid #dfe5df;
  padding-top: 14px;
}

.admin-inline-form {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(130px, 1fr)) auto;
}

.admin-inline-form label {
  display: grid;
  font-size: 12px;
  font-weight: 950;
  gap: 6px;
  text-transform: uppercase;
}

.admin-inline-form input,
.admin-inline-form select,
.admin-inline-form textarea {
  background: #ffffff;
  border: 1px solid #cad3cb;
  border-radius: 6px;
  color: #0e1511;
  min-height: 44px;
  padding: 9px 11px;
}

.admin-inline-form textarea {
  min-height: 92px;
  resize: vertical;
}

.credit-line,
.coupon-card,
.gift-admin-card,
.customer-order-summary {
  align-items: center;
  border: 1px solid #e1e7e1;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px;
}

.credit-line {
  grid-template-columns: 120px minmax(0, 1fr) auto;
}

.credit-line span,
.coupon-card span,
.gift-admin-card span,
.customer-order-summary span {
  color: #4c5a50;
  font-size: 13px;
}

.customer-order-admin {
  background: #ffffff;
  border: 1px solid #e1e7e1;
  box-shadow: 0 12px 28px rgba(14, 21, 17, 0.05);
  padding: 12px;
}

.customer-order-summary > div {
  display: grid;
  gap: 5px;
}

.customer-order-summary > div:last-child {
  justify-items: end;
}

.customer-order-detail {
  display: grid;
  gap: 12px;
}

.order-meta-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
}

.order-meta-grid div {
  background: #f6f8f6;
  border: 1px solid #dfe5df;
  display: grid;
  gap: 4px;
  padding: 10px;
}

.order-meta-grid span {
  color: #4c5a50;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.order-meta-grid strong {
  color: #0e1511;
}

.customer-order-detail[hidden] {
  display: none;
}

.coupon-form {
  background: #ffffff;
  border: 1px solid #e1e7e1;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  padding: 14px;
}

.coupon-card.is-paused,
.gift-admin-card.is-paused {
  opacity: 0.62;
}

.gift-admin-card {
  background: #ffffff;
  grid-template-columns: minmax(0, 1fr) auto;
}

.gift-admin-card > div:first-child {
  display: grid;
  gap: 5px;
}

.gift-admin-card strong {
  font-size: 22px;
}

.gift-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-reviews-layout,
.admin-review-list {
  display: grid;
  gap: 14px;
}

.admin-review-search {
  grid-template-columns: minmax(260px, 1fr) auto auto;
}

.admin-review-form {
  grid-template-columns: repeat(4, minmax(140px, 1fr));
}

.admin-review-form .admin-review-comment {
  grid-column: 1 / -1;
}

.admin-review-list {
  background: #ffffff;
  border: 1px solid #e1e7e1;
  padding: 14px;
}

.admin-review-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.admin-review-card {
  align-items: start;
  background: #ffffff;
  border: 1px solid #dfe7df;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto);
  padding: 14px;
}

.admin-review-card.is-hidden {
  background: #f6f8f6;
  opacity: 0.78;
}

.admin-review-main {
  display: grid;
  gap: 6px;
}

.admin-review-main > div:first-child {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-review-main strong {
  font-size: 18px;
  text-transform: uppercase;
}

.admin-review-main small,
.admin-review-main p,
.admin-review-flags span {
  color: #4c5a50;
}

.admin-review-main p {
  line-height: 1.45;
  margin: 4px 0;
}

.admin-review-flags,
.admin-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-review-flags span {
  background: #eef3ee;
  border-left: 3px solid #9aa79b;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 8px;
  text-transform: uppercase;
}

.admin-review-flags span.is-ok {
  border-left-color: #69BE28;
  color: #146515;
}

.admin-review-flags span.is-muted {
  border-left-color: #b42318;
  color: #8a1f18;
}

.admin-review-actions {
  justify-content: flex-end;
}

.gift-ledger {
  border-top: 1px solid #e1e7e1;
  display: grid;
  gap: 5px;
  grid-column: 1 / -1;
  padding-top: 10px;
}

.gift-check-form {
  grid-template-columns: minmax(260px, 1fr) auto auto;
}

.gift-code-line {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gift-code-line em {
  background: #111811;
  color: #ffffff;
  font-style: normal;
  font-weight: 900;
  padding: 8px 10px;
}

.catalog-product-form,
.catalog-admin-list {
  background: #ffffff;
  border: 1px solid #e1e7e1;
  box-shadow: 0 12px 28px rgba(14, 21, 17, 0.05);
  display: grid;
  gap: 14px;
  padding: 16px;
}

.catalog-create-grid {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-product-form {
  border-top: 5px solid var(--kawa-green);
}

.catalog-pack-form {
  border-top-color: #111111;
}

.catalog-category-manager {
  border-top: 5px solid var(--kawa-green);
}

.catalog-category-form {
  box-shadow: none;
}

.catalog-category-list {
  display: grid;
  gap: 10px;
}

.catalog-category-card .catalog-admin-media img {
  object-fit: cover;
  padding: 0;
}

.catalog-form-head,
.catalog-list-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.catalog-form-head h3,
.catalog-list-head h3,
.catalog-pack-builder strong {
  margin: 0;
  text-transform: uppercase;
}

.catalog-form-head p {
  color: #4c5a50;
  font-size: 13px;
  margin: 6px 0 0;
}

.catalog-form-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
}

.catalog-form-grid label,
.catalog-pack-builder {
  display: grid;
  gap: 6px;
}

.catalog-form-grid label {
  color: #151b16;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.catalog-form-grid label.wide {
  grid-column: span 2;
}

.catalog-form-grid input,
.catalog-form-grid select,
.catalog-form-grid textarea,
.catalog-pack-builder input,
.catalog-pack-builder textarea,
.catalog-custom-components input[type="number"],
.pack-selected-line input {
  background: #f9fbf9;
  border: 1px solid #cad3cb;
  border-radius: 6px;
  color: #0e1511;
  min-height: 44px;
  padding: 9px 11px;
}

.catalog-pack-builder {
  background: #f6f8f6;
  border-left: 4px solid var(--kawa-green);
  padding: 14px;
}

.catalog-custom-components {
  display: grid;
  gap: 8px;
}

.catalog-custom-components > strong {
  margin-top: 6px;
}

.catalog-custom-components label {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dfe5df;
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(0, 1fr) 82px;
  padding: 8px;
}

.pack-search-row {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.pack-search-row input {
  width: 100%;
}

.pack-search-results,
.pack-selected-components,
.pack-selected-box {
  display: grid;
  gap: 8px;
}

.pack-search-result,
.pack-selected-line {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dfe5df;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px;
}

.pack-search-result.is-disabled {
  opacity: 0.62;
}

.pack-search-result > div,
.pack-selected-line > div {
  display: grid;
  gap: 3px;
}

.pack-search-result small,
.pack-selected-line small {
  color: #4c5a50;
}

.pack-search-result > div:last-child {
  align-items: center;
  display: flex;
  gap: 8px;
}

.pack-selected-line {
  grid-template-columns: minmax(0, 1fr) 86px auto;
}

.pack-selected-line label {
  color: #151b16;
  display: grid;
  font-size: 11px;
  font-weight: 950;
  gap: 4px;
  text-transform: uppercase;
}

.catalog-admin-card {
  align-items: center;
  border: 1px solid #e1e7e1;
  display: grid;
  gap: 14px;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  padding: 12px;
}

.catalog-admin-card.is-paused {
  opacity: 0.62;
}

.catalog-category-card {
  grid-template-columns: minmax(0, 1fr) auto;
}

.catalog-admin-media {
  aspect-ratio: 16 / 10;
  background: #eef2ef;
  overflow: hidden;
}

.catalog-admin-media img {
  height: 100%;
  object-fit: contain;
  padding: 8px;
  width: 100%;
}

.catalog-admin-body,
.catalog-admin-actions {
  display: grid;
  gap: 7px;
}

.catalog-admin-body > strong {
  font-size: 20px;
  text-transform: uppercase;
}

.catalog-admin-body span,
.catalog-admin-body p,
.catalog-list-head span {
  color: #4c5a50;
  margin: 0;
}

.scraper-layout {
  display: grid;
  gap: 16px;
}

.scraper-panel {
  background: #ffffff;
  border: 1px solid #e1e7e1;
  box-shadow: 0 12px 28px rgba(14, 21, 17, 0.05);
  display: grid;
  gap: 14px;
  padding: 16px;
}

.scraper-panel h3,
.scraper-status h3 {
  margin: 0;
  text-transform: uppercase;
}

.scraper-status {
  align-items: center;
  background: #f6f8f6;
  border: 1px solid #dfe5df;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px;
}

.scraper-status.is-running {
  border-top: 4px solid #69BE28;
}

.scraper-status p {
  color: #4c5a50;
  margin: 4px 0 0;
}

.scraper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scraper-stop-button {
  background: #c9251d;
  color: #ffffff;
  min-width: 92px;
}

.scraper-form {
  display: grid;
  gap: 14px;
}

.scraper-form label {
  color: #111511;
  display: grid;
  font-size: 12px;
  font-weight: 950;
  gap: 6px;
  text-transform: uppercase;
}

.scraper-form input,
.scraper-form select {
  background: #ffffff;
  border: 1px solid #cad3cb;
  border-radius: 6px;
  color: #0e1511;
  min-height: 44px;
  padding: 9px 11px;
}

.mail-offer-form {
  border-top: 1px solid #dfe5df;
  margin-top: 8px;
  padding-top: 14px;
}

.mail-offer-form p {
  color: #4c5a50;
  margin: 4px 0 0;
}

.scraper-source-header {
  display: grid;
  gap: 12px;
}

.scraper-source-header label {
  color: #111511;
  display: grid;
  font-size: 12px;
  font-weight: 950;
  gap: 6px;
  text-transform: uppercase;
}

.scraper-source-header select {
  border: 2px solid #111511;
  min-height: 48px;
  padding: 10px 12px;
}

.scraper-source-header h3 {
  margin: 0;
  text-transform: uppercase;
}

.scraper-source-chooser {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.scraper-mode-chooser {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.scraper-source-card {
  background: #f7faf7;
  border: 2px solid #dfe5df;
  border-radius: 12px;
  cursor: pointer;
  display: grid;
  gap: 6px;
  padding: 16px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.scraper-source-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.scraper-source-card span {
  color: #69BE28;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scraper-source-card strong {
  color: #101510;
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
}

.scraper-source-card small {
  color: #536158;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.scraper-source-card.is-selected {
  background: #eff8eb;
  border-color: #69BE28;
  box-shadow: 0 12px 26px rgba(105, 190, 40, 0.18);
}

.scraper-source-card:hover {
  transform: translateY(-1px);
}

.scraper-source-block {
  background: #fbfcfb;
  border: 1px solid #dfe5df;
  border-left: 5px solid #69BE28;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.scraper-source-block[hidden],
[data-epc-only][hidden],
[data-kawasaki-only][hidden] {
  display: none !important;
}

.scraper-source-block p {
  color: #4c5a50;
  margin: 4px 0 0;
}

.scraper-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.scraper-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
}

.scraper-grid label {
  display: grid;
  font-size: 12px;
  font-weight: 950;
  gap: 6px;
  text-transform: uppercase;
}

.scraper-grid label.wide {
  grid-column: span 2;
}

.scraper-grid input,
.scraper-grid select,
.scraper-grid textarea {
  border: 1px solid #cad3cb;
  border-radius: 6px;
  min-height: 44px;
  padding: 9px 11px;
}

.scraper-grid-simple {
  align-items: end;
  grid-template-columns: minmax(220px, 1.2fr) minmax(180px, 0.9fr) minmax(150px, 0.6fr) minmax(210px, 0.8fr);
}

.scraper-settings-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.scraper-resume {
  align-items: center;
  align-self: end;
  background: #f6f8f6;
  border: 1px solid #dfe5df;
  min-height: 44px;
  padding: 9px 11px;
}

.scraper-reset-box {
  background: #fff7ed;
  border: 1px solid #f59e0b;
  border-left: 5px solid #f97316;
  border-radius: 10px;
  color: #1f1608;
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
}

.scraper-reset-box[hidden] {
  display: none !important;
}

.scraper-reset-box strong {
  font-family: Oswald, Inter, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  text-transform: uppercase;
}

.scraper-reset-box p {
  margin: 0;
}

.scraper-reset-box input {
  background: #ffffff;
  border: 1px solid #d8c6a8;
  border-radius: 6px;
  min-height: 44px;
  padding: 9px 11px;
}

.scraper-note {
  background: #f0f7ec;
  border-left: 4px solid #69BE28;
  color: #263026;
  font-size: 13px;
  font-weight: 850;
  padding: 10px 12px;
}

.scraper-jobs {
  display: grid;
  gap: 10px;
}

.scraper-job {
  border: 1px solid #e1e7e1;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px;
}

.scraper-job div {
  display: grid;
  gap: 4px;
}

.scraper-job span,
.scraper-job p {
  color: #4c5a50;
  font-size: 13px;
  margin: 0;
}

.scraper-log {
  background: #151815;
  color: #d7f5d7;
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
  line-height: 1.45;
  max-height: min(70vh, 760px);
  min-height: 420px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 14px;
  resize: vertical;
  tab-size: 2;
  user-select: text;
  white-space: pre-wrap;
}

.scraper-log-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.scraper-log-head h3 {
  margin: 0;
}

.scraper-log-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.scraper-log[hidden] {
  display: none;
}

.scraper-summary {
  display: grid;
  gap: 14px;
}

.scraper-summary-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.scraper-summary-progress {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.scraper-summary-progress div {
  background: #101510;
  border: 1px solid rgba(105, 190, 40, 0.55);
  border-radius: 12px;
  color: #ffffff;
  display: grid;
  gap: 5px;
  padding: 14px;
}

.scraper-summary-progress span {
  color: #69BE28;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scraper-summary-progress strong {
  font-family: Oswald, Inter, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 30px;
  line-height: 1;
}

.scraper-summary-progress small {
  color: #dce8dc;
  font-weight: 800;
  line-height: 1.35;
}

.scraper-summary-stats div {
  background: #f4f8f2;
  border: 1px solid #d7e4d3;
  border-radius: 10px;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.scraper-summary-stats span {
  color: #506058;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scraper-summary-stats strong {
  color: #101510;
  font-family: Oswald, Inter, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 28px;
  line-height: 1;
}

.scraper-summary-toolbar {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.scraper-summary-toolbar label {
  color: #111511;
  display: grid;
  font-size: 12px;
  font-weight: 950;
  gap: 6px;
  text-transform: uppercase;
}

.scraper-summary-toolbar input {
  border: 1px solid #cad3cb;
  border-radius: 8px;
  min-height: 42px;
  padding: 9px 11px;
}

.scraper-summary-count {
  color: #4c5a50;
  font-size: 13px;
  font-weight: 850;
  margin: 0;
}

.scraper-summary-table-wrap {
  border: 1px solid #dfe5df;
  border-radius: 10px;
  max-height: 430px;
  overflow: auto;
}

.scraper-summary-table {
  border-collapse: collapse;
  font-size: 13px;
  min-width: 760px;
  width: 100%;
}

.scraper-summary-table th,
.scraper-summary-table td {
  border-bottom: 1px solid #e7ece7;
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
}

.scraper-summary-table th {
  background: #101510;
  color: #ffffff;
  position: sticky;
  text-transform: uppercase;
  top: 0;
  z-index: 1;
}

.scraper-summary-table td:nth-child(n+5) {
  font-weight: 950;
  text-align: right;
}

.mail-config-grid {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.mail-config-grid div {
  align-items: center;
  background: #f6f8f6;
  border: 1px solid #dfe5df;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 12px;
}

.mail-config-grid span {
  color: #4c5a50;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.mail-config-grid strong {
  color: #111511;
  font-size: 13px;
  text-align: right;
  word-break: break-word;
}

[data-mail-ready].is-error {
  color: #b42318;
}

.account-prompt,
.dealer-prompt {
  background: #2f2f2f;
  border: 1px solid #1f1f1f;
  border-top: 3px solid #69BE28;
  bottom: 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.30);
  color: #ffffff;
  display: grid;
  font-family: Oswald, Inter, Segoe UI, Roboto, Arial, sans-serif;
  gap: 9px;
  max-width: 320px;
  opacity: 0;
  padding: 16px 16px 15px;
  position: fixed;
  right: 16px;
  transform: translateY(18px) scale(0.96);
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 11000;
}

.dealer-prompt {
  left: auto;
  right: 16px;
}

.account-prompt[hidden],
.dealer-prompt[hidden] {
  display: none;
}

.account-prompt.is-visible,
.dealer-prompt.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.account-prompt button:not(.prompt-close),
.dealer-prompt button:not(.prompt-close) {
  border-radius: 0;
  font-size: 12px;
  justify-self: start;
  min-height: 36px;
  padding: 8px 13px;
  text-transform: uppercase;
}

.account-prompt strong,
.dealer-prompt strong {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.12;
  padding-right: 22px;
  text-transform: uppercase;
}

.account-prompt p,
.dealer-prompt p {
  color: #e6ece6;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.38;
  margin: 0;
}

.prompt-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.prompt-badges span {
  background: rgba(105, 190, 40, 0.14);
  border: 1px solid rgba(105, 190, 40, 0.46);
  color: #eaf8e4;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  padding: 4px 6px;
}

.prompt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.prompt-close {
  align-items: center;
  background: #1b1b1b;
  border-left: 1px solid #4a4a4a;
  border-bottom: 1px solid #4a4a4a;
  border-radius: 0;
  color: #ffffff;
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 900;
  height: 31px;
  justify-content: center;
  min-height: 31px;
  min-width: 31px;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 31px;
}

.prompt-close:hover {
  background: #69BE28;
  color: #111111;
}

.diagram-dialog-layout {
  align-items: start;
  display: grid;
  flex: 1;
  gap: 12px;
  grid-template-columns: minmax(500px, 1fr) minmax(430px, 1fr);
  min-height: 0;
  overflow: hidden;
}

.diagram-dialog .diagram-image {
  align-items: flex-start;
  box-sizing: border-box;
  height: 100%;
  min-height: 0;
  padding: 58px 10px 12px;
}

.diagram-dialog .diagram-image-shell {
  clip-path: none;
  max-height: none;
  max-width: none;
  width: auto;
}

.diagram-dialog .diagram-image img {
  height: auto;
  max-height: none;
  max-width: none;
  object-fit: fill;
  width: auto;
}

.diagram-dialog .parts-table {
  font-size: 13px;
  table-layout: fixed;
}

.diagram-dialog .parts-table th,
.diagram-dialog .parts-table td {
  padding: 8px 6px;
}

.diagram-dialog .parts-table th:nth-child(1),
.diagram-dialog .parts-table td:nth-child(1) {
  width: 44px;
}

.diagram-dialog .parts-table th:nth-child(2),
.diagram-dialog .parts-table td:nth-child(2) {
  width: 88px;
}

.diagram-dialog .parts-table th:nth-child(4),
.diagram-dialog .parts-table td:nth-child(4) {
  width: 62px;
}

.diagram-dialog .parts-table th:nth-child(5),
.diagram-dialog .parts-table td:nth-child(5) {
  width: 62px;
}

.diagram-dialog .parts-table th:nth-child(6),
.diagram-dialog .parts-table td:nth-child(6) {
  width: 86px;
}

.diagram-dialog .parts-table th:nth-child(7),
.diagram-dialog .parts-table td:nth-child(7) {
  width: 78px;
}

.diagram-dialog .parts-table button {
  font-size: 9px;
  min-height: 28px;
  padding: 4px 7px;
}

.parts-scroll {
  height: 100%;
  min-height: 0;
  overflow: auto;
}

.stock-status {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 10px;
  color: #4c5a50;
  margin-bottom: 12px;
}

.status-toggle {
  background: #eef2ef;
  color: #26332b;
  font-size: 12px;
  font-weight: 700;
  min-height: 30px;
  padding: 5px 10px;
}

.status-toggle:hover,
.status-toggle.is-active {
  background: #dfe8e1;
}

.stock-status-message {
  background: #f6f8f6;
  border: 1px solid #e1e7e1;
  border-radius: 8px;
  padding: 7px 10px;
}

.diagram-loading {
  align-content: center;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e1e7e1;
  border-top: 4px solid #69BE28;
  box-shadow: 0 14px 34px rgba(14, 21, 17, 0.06);
  display: grid;
  gap: 12px;
  justify-items: center;
  min-height: 360px;
  padding: 28px;
  text-align: center;
}

.diagram-loading .site-progress-shell {
  margin-left: auto;
  margin-right: auto;
  max-width: 520px;
  width: min(100%, 520px);
}

.diagram-loading .site-progress-value {
  display: block;
  text-align: center;
  width: 100%;
}

.diagram-loading h3 {
  font-size: 28px;
  margin: 0;
  text-transform: uppercase;
}

.diagram-loading p {
  color: #4c5a50;
  margin: 0;
}

.cart-line {
  border-bottom: 1px solid #e5ebe5;
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.cart-table {
  border: 1px solid #e1e7e1;
  display: grid;
  margin-top: 12px;
}

.cart-table-head,
.cart-table-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(190px, 1.4fr) minmax(92px, 0.8fr) 82px 72px 100px 42px;
  padding: 10px;
}

.cart-table-head {
  background: #151815;
  border-top: 4px solid #69BE28;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-table-row {
  border-top: 1px solid #e5ebe5;
}

.cart-quantity {
  min-height: 34px;
  padding: 6px 8px;
  width: 100%;
}

.remove-button {
  background: #2d302d;
  color: #ffffff;
  font-size: 12px;
  min-height: 34px;
  min-width: 34px;
  padding: 6px 8px;
}

.remove-button:hover {
  background: #b42318;
}

.danger-button {
  background: #b42318;
  color: #ffffff;
}

.danger-button.scraper-stop-button {
  background: #c9251d;
  color: #ffffff;
  min-width: 92px;
}

.danger-button:hover {
  background: #d92d20;
}

.cart-confirm-overlay,
.garage-overlay,
.order-thanks-overlay {
  align-items: center;
  background: rgba(14, 21, 17, 0.58);
  backdrop-filter: blur(8px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 12000;
}

.cart-confirm-box,
.garage-box,
.order-thanks-box {
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-top: 4px solid #b42318;
  box-shadow: 0 22px 60px rgba(14, 21, 17, 0.28);
  max-width: 430px;
  padding: 18px;
  width: min(100%, 430px);
}

dialog.cart-confirm-overlay {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: auto;
  max-width: min(480px, calc(100vw - 28px));
  padding: 18px;
  width: auto;
}

dialog.cart-confirm-overlay::backdrop {
  backdrop-filter: blur(8px);
  background: rgba(14, 21, 17, 0.58);
}

.garage-box {
  animation: dialogEnter 180ms ease both;
  border-top-color: var(--kawa-green);
  max-height: min(92vh, 820px);
  max-width: 1180px;
  overflow: auto;
  padding: 0;
  width: min(96vw, 1180px);
}

.garage-login-required-box {
  max-width: 560px;
  width: min(94vw, 560px);
}

.garage-login-required {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.garage-login-required strong {
  color: #172019;
  font-size: 18px;
  line-height: 1.35;
}

.garage-login-required button {
  justify-self: start;
}

.garage-head {
  align-items: start;
  background: #111711;
  border-bottom: 4px solid var(--kawa-green);
  color: #ffffff;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 22px;
}

.garage-head h3 {
  color: #ffffff;
  font-size: clamp(26px, 4vw, 42px);
  margin: 3px 0;
  text-transform: uppercase;
}

.garage-head p {
  color: #d8e2d8;
  margin: 0;
}

.garage-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  padding: 18px;
}

.garage-layout.is-account {
  padding: 0;
}

.garage-list,
.garage-create {
  display: grid;
  gap: 12px;
}

.garage-create h4 {
  font-size: 22px;
  margin: 0;
  text-transform: uppercase;
}

.garage-vehicle-card {
  align-items: center;
  background: #f7f9f7;
  border: 1px solid #dfe7df;
  border-left: 5px solid #cbd5cc;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
  padding: 14px;
  user-select: none;
}

.garage-vehicle-card.is-active {
  background: #eff9eb;
  border-left-color: var(--kawa-green);
}

.garage-vehicle-card strong {
  display: block;
  font-size: 18px;
  text-transform: uppercase;
}

.garage-vehicle-card small {
  color: #4c5a50;
}

.garage-status-badge {
  background: #e8eee8;
  border-left: 4px solid #9aa79d;
  color: #172019;
  display: inline-block;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
  padding: 4px 8px;
  text-transform: uppercase;
}

.garage-status-badge.is-active {
  background: #dff4d8;
  border-left-color: var(--kawa-green);
  color: #165f13;
}

.garage-vehicle-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.garage-vehicle-actions button {
  min-height: 34px;
  padding: 7px 10px;
}

.garage-form {
  display: grid;
  gap: 12px;
}

.garage-mode-actions {
  background: #edf2ee;
  border: 1px solid #d7e0d8;
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 6px;
}

.garage-mode-button {
  background: #ffffff;
  border: 1px solid transparent;
  color: #172019;
  min-height: 42px;
}

.garage-mode-button.is-active {
  background: #111711;
  border-color: var(--kawa-green);
  color: #ffffff;
}

.garage-form-panel {
  display: grid;
  gap: 12px;
}

.garage-form-panel[hidden] {
  display: none;
}

.garage-form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.garage-form-grid .wide {
  grid-column: 1 / -1;
}

.garage-form-result {
  background: #f7faf7;
  border: 1px solid #dfe7df;
  border-left: 4px solid var(--kawa-green);
  display: grid;
  gap: 10px;
  padding: 12px;
}

.garage-form-result[hidden],
.garage-submit-area[hidden] {
  display: none;
}

.garage-submit-area {
  display: grid;
  gap: 10px;
}

.garage-form-result .kicker {
  color: #296a11;
}

.garage-color-confirmation {
  background: #ffffff;
  border: 1px solid #d4dfd5;
  display: grid;
  gap: 9px;
  padding: 12px;
}

.garage-color-confirmation[hidden] {
  display: none;
}

.garage-color-confirmation p {
  color: #4c5a50;
  margin: 0;
}

.garage-color-options {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.garage-color-option {
  align-items: start;
  background: #f7faf7;
  border: 1px solid #d7e0d8;
  color: #172019;
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 11px 12px;
  text-align: left;
}

.garage-color-option.is-selected {
  background: #eef8e9;
  border-color: #69BE28;
  box-shadow: inset 0 0 0 2px #69BE28;
}

.garage-color-option span {
  color: #526157;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.garage-color-option strong {
  color: #172019;
  font-size: 16px;
}

.garage-form input,
.garage-form select {
  background: #ffffff;
  border: 1px solid #cbd5cc;
  min-height: 42px;
}

.garage-model-search {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
}

.garage-lookup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.garage-lookup-actions button {
  min-height: 40px;
}

.garage-plate-note {
  color: #5b665e;
  margin: 0;
}

.garage-plate-note.is-error {
  color: #b42318;
  font-weight: 800;
}

.account-card-head {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.account-card-head p {
  color: #4c5a50;
  margin: 4px 0 0;
}

.order-thanks-box {
  animation: dialogEnter 180ms ease both;
  border-top-color: #69BE28;
  max-width: 560px;
  padding: clamp(22px, 4vw, 34px);
}

.cart-confirm-box h3,
.order-thanks-box h3 {
  font-size: 22px;
  margin: 8px 0;
}

.cart-confirm-box p,
.order-thanks-box p {
  color: #4c5a50;
  margin: 0;
}

.order-thanks-box p + p {
  margin-top: 10px;
}

.checkout-processing-overlay {
  align-items: center;
  background: rgba(14, 21, 17, 0.62);
  backdrop-filter: blur(8px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 13000;
}

.checkout-processing-box {
  animation: dialogEnter 180ms ease both;
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-top: 5px solid #69BE28;
  box-shadow: 0 26px 70px rgba(14, 21, 17, 0.30);
  color: #071007;
  display: grid;
  gap: 10px;
  justify-items: center;
  max-width: 460px;
  padding: 28px;
  text-align: center;
  width: min(100%, 460px);
}

.checkout-processing-ring {
  animation: spinSearchLoader 760ms linear infinite;
  border: 5px solid #e2ebdf;
  border-top-color: #69BE28;
  border-radius: 999px;
  height: 54px;
  width: 54px;
}

.checkout-processing-box h3 {
  font-size: 25px;
  margin: 0;
  text-transform: uppercase;
}

.checkout-processing-box p {
  color: #4c5a50;
  margin: 0;
}

.checkout-processing-bar {
  background: #e9efe7;
  border-radius: 999px;
  height: 8px;
  margin-top: 6px;
  overflow: hidden;
  width: 100%;
}

.checkout-processing-bar span {
  animation: checkoutProgress 2600ms ease-in-out both;
  background: linear-gradient(90deg, #69BE28, #111711);
  display: block;
  height: 100%;
  width: 100%;
}

@keyframes checkoutProgress {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.cart-confirm-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

.guest-account-invite {
  animation: dialogEnter 180ms ease both;
  border-top-color: #69BE28;
  max-width: 560px;
  padding: 24px;
  width: min(100%, 560px);
}

.guest-checkout-invite-dialog {
  background: transparent;
  border: 0;
  box-shadow: none;
  max-width: min(620px, calc(100vw - 28px));
  padding: 0;
  width: auto;
}

.guest-checkout-invite-dialog::backdrop {
  backdrop-filter: blur(8px);
  background: rgba(14, 21, 17, 0.58);
}

.guest-account-invite h3 {
  font-size: 28px;
  line-height: 1.05;
  text-transform: uppercase;
}

.guest-account-benefits {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.guest-account-benefits span {
  background: #f2f8ef;
  border-left: 4px solid #69BE28;
  color: #132016;
  font-size: 12px;
  font-weight: 950;
  padding: 10px;
  text-transform: uppercase;
}

.guest-account-actions {
  flex-wrap: wrap;
}

.model-year-overlay {
  align-items: center;
  background: rgba(14, 21, 17, 0.62);
  backdrop-filter: blur(4px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 12050;
}

.model-year-box {
  animation: dialogEnter 180ms ease both;
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-top: 5px solid #69BE28;
  box-shadow: 0 24px 70px rgba(14, 21, 17, 0.32);
  max-width: 560px;
  padding: 22px;
  width: min(100%, 560px);
}

.model-year-box h3 {
  color: #111511;
  font-size: 28px;
  line-height: 1;
  margin: 8px 0;
  text-transform: uppercase;
}

.model-year-box p {
  color: #4c5a50;
  margin: 0 0 16px;
}

.model-year-options {
  display: grid;
  gap: 10px;
}

.model-year-options button {
  background: #f6f8f6;
  border: 1px solid #dfe5df;
  border-left: 5px solid #69BE28;
  color: #111511;
  display: grid;
  gap: 4px;
  justify-items: start;
  min-height: 0;
  padding: 12px 14px;
  text-align: left;
  transform: none;
}

.model-year-options button:hover,
.model-year-options button:focus {
  background: #111711;
  border-color: #69BE28;
  color: #ffffff;
  outline: none;
}

.model-year-options strong {
  color: #69BE28;
  font-size: 28px;
  line-height: 1;
}

.model-year-options span {
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
}

.model-year-options small {
  color: #607063;
  font-size: 13px;
}

.model-year-options button:hover small,
.model-year-options button:focus small {
  color: #dce8dc;
}

.model-year-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.search-results-overlay {
  align-items: center;
  background: rgba(14, 21, 17, 0.68);
  backdrop-filter: blur(4px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 12060;
}

.search-loading-overlay {
  align-items: center;
  background: rgba(14, 21, 17, 0.72);
  backdrop-filter: blur(5px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 12070;
}

.search-loading-box {
  align-items: center;
  animation: dialogEnter 180ms ease both;
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-top: 5px solid #69BE28;
  box-shadow: 0 24px 70px rgba(14, 21, 17, 0.34);
  color: #111511;
  display: grid;
  gap: 10px;
  justify-items: center;
  max-width: 420px;
  padding: 28px;
  text-align: center;
  width: min(100%, 420px);
}

.search-loading-box strong {
  font-size: 26px;
  font-weight: 950;
  text-transform: uppercase;
}

.search-loading-box small {
  color: #4d5b50;
  font-weight: 850;
}

.search-loading-spinner {
  animation: spinSearchLoader 720ms linear infinite;
  border: 4px solid #e2ebdf;
  border-top-color: #69BE28;
  border-radius: 999px;
  display: block;
  height: 48px;
  width: 48px;
}

@keyframes spinSearchLoader {
  to {
    transform: rotate(360deg);
  }
}

.search-results-box {
  animation: dialogEnter 180ms ease both;
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-top: 5px solid #69BE28;
  box-shadow: 0 24px 70px rgba(14, 21, 17, 0.34);
  max-height: calc(100vh - 34px);
  max-width: 960px;
  overflow: auto;
  padding: 22px;
  width: min(100%, 960px);
}

.search-results-head {
  align-items: start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.search-results-head h3 {
  color: #111511;
  font-size: 30px;
  line-height: 1;
  margin: 8px 0 0;
  text-transform: uppercase;
}

.search-result-meta {
  background: #f3faf0;
  border-left: 5px solid #69BE28;
  display: grid;
  gap: 5px;
  margin: 14px 0;
  padding: 10px 12px;
}

.search-result-meta span {
  color: #142017;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-results-content {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.search-results-content section:only-child {
  grid-column: 1 / -1;
}

.search-results-content h4 {
  font-size: 18px;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.search-results-list {
  display: grid;
  gap: 8px;
}

.search-result-card {
  background: #fbfcfb;
  border: 1px solid #dfe5df;
  border-radius: 7px;
  color: #111511;
  display: grid;
  gap: 4px;
  min-height: 0;
  padding: 12px;
  text-align: left;
  text-transform: none;
}

.search-result-card:hover,
.search-result-card:focus {
  background: #f3faf0;
  border-color: #69BE28;
}

.search-result-card strong {
  font-size: 18px;
  text-transform: uppercase;
}

.search-result-card span,
.search-result-card small {
  color: #4c5a50;
}

.search-result-card em {
  color: #15552b;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.model-diagrams-overlay {
  align-items: center;
  background: rgba(14, 21, 17, 0.70);
  backdrop-filter: blur(4px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 12070;
}

.model-diagrams-box {
  animation: dialogEnter 180ms ease both;
  background: #ffffff;
  border: 1px solid #dfe5df;
  border-top: 5px solid #69BE28;
  box-shadow: 0 26px 76px rgba(14, 21, 17, 0.36);
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 34px);
  max-width: 1220px;
  overflow: auto;
  padding: 22px;
  width: min(100%, 1220px);
}

.model-diagrams-head {
  align-items: start;
  border-bottom: 1px solid #dfe5df;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding-bottom: 14px;
}

.model-diagrams-head h3 {
  color: #111511;
  font-size: 30px;
  line-height: 1;
  margin: 8px 0 6px;
  text-transform: uppercase;
}

.model-diagrams-head p {
  color: #4c5a50;
  margin: 0;
  text-transform: uppercase;
}

.microfiche-source-note {
  background: #eef8e9;
  border-left: 4px solid #69BE28;
  color: #1d4f0f;
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  margin-top: 9px;
  padding: 7px 10px;
  text-transform: uppercase;
}

.model-popular-parts {
  background: linear-gradient(135deg, #f3faef 0%, #ffffff 72%);
  border: 1px solid #cfe5c5;
  border-radius: 10px;
  display: grid;
  gap: 12px;
  padding: 13px;
}

.model-popular-parts-head {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.model-popular-parts-head h4 {
  color: #151a16;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: 22px;
  line-height: 1;
  margin: 3px 0 0;
  text-transform: uppercase;
}

.model-popular-parts-head small {
  color: #667069;
  font-size: 10px;
  font-weight: 750;
}

.model-popular-parts-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
}

.model-popular-part-card {
  background: #ffffff;
  border: 1px solid #dce5d8;
  border-radius: 8px;
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 10px;
}

.model-popular-part-badge {
  color: var(--catalog-green-dark);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.model-popular-part-card > strong {
  color: #171b18;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  min-height: 28px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.model-popular-part-card code {
  color: #59635c;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 800;
}

.model-popular-part-source {
  align-items: center;
  color: #667069;
  display: flex;
  font-size: 8px;
  font-weight: 800;
  gap: 5px;
  line-height: 1.2;
  min-height: 20px;
  text-transform: uppercase;
}

.model-popular-part-source i {
  color: var(--catalog-green-dark);
}

.model-popular-part-meta {
  align-items: end;
  border-top: 1px solid #edf1ed;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding-top: 7px;
}

.model-popular-part-meta span {
  font-size: 8px;
  font-weight: 850;
  line-height: 1.2;
}

.model-popular-part-meta b {
  color: #171b18;
  font-size: 12px;
  white-space: nowrap;
}

.model-popular-part-actions {
  display: grid;
  gap: 6px;
  grid-template-columns: 0.8fr 1fr;
}

.model-popular-part-actions button {
  border-radius: 5px;
  font-size: 9px;
  font-weight: 900;
  min-height: 32px;
  padding: 5px 7px;
  text-transform: uppercase;
}

.model-popular-part-actions button:not(.secondary-button) {
  background: var(--catalog-green);
  color: #ffffff;
}

.model-popular-part-actions button:disabled {
  background: #e5e9e6;
  color: #8a928c;
  cursor: not-allowed;
}

.model-diagrams-section-head {
  align-items: center;
  display: flex;
  font-family: Inter, "Segoe UI", sans-serif;
  justify-content: space-between;
  padding: 2px 2px 0;
}

.model-diagrams-section-head strong {
  color: #171b18;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.model-diagrams-section-head span {
  color: #68716b;
  font-size: 9px;
  font-weight: 800;
}

.model-diagrams-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.model-color-box {
  max-width: 760px;
}

.model-color-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.model-color-grid button {
  align-items: start;
  background: #f7faf7;
  border: 1px solid #dfe5df;
  color: #111511;
  display: grid;
  gap: 6px;
  min-height: 94px;
  padding: 16px;
  text-align: left;
}

.model-color-grid button:hover,
.model-color-grid button:focus {
  background: #eef8e9;
  border-color: #69BE28;
  box-shadow: inset 0 0 0 2px #69BE28;
}

.model-color-grid span,
.diagram-color-badge {
  color: #4c5a50;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.model-color-grid strong {
  color: #111511;
  font-size: 20px;
  text-transform: uppercase;
}

.diagram-color-badge {
  background: #eef8e9;
  border-left: 3px solid #69BE28;
  color: #1d4f0f;
  display: inline-block;
  margin-top: 7px;
  padding: 5px 7px;
}

.model-diagrams-grid .diagram-card {
  background: #fbfcfb;
  color: #111511;
  cursor: pointer;
  grid-template-rows: 124px auto auto;
  min-height: 0;
  overflow: hidden;
  padding: 8px 9px 11px;
  text-align: left;
  text-transform: none;
  width: 100%;
}

.model-diagrams-grid .diagram-thumb {
  background: #ffffff;
  border-color: #dfe5df;
  height: 124px;
  padding: 6px;
}

.model-diagrams-grid .diagram-thumb-empty {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 10px;
  gap: 6px;
  justify-content: center;
  text-align: center;
}

.model-diagrams-grid .diagram-thumb-empty i {
  color: #97a099;
  font-size: 22px;
}

.model-diagrams-grid .diagram-card > strong {
  font-size: 13px;
  padding: 2px 2px 0;
}

.model-diagrams-grid .diagram-card > div {
  font-size: 11px;
  line-height: 1.3;
  padding: 0 2px;
}

.model-diagrams-grid .diagram-card:hover,
.model-diagrams-grid .diagram-card:focus {
  background: #f3faf0;
  border-color: #69BE28;
}

.cart-summary {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(260px, 1fr);
  margin-top: 16px;
}

.cart-total-grid {
  background: #f6f8f6;
  border: 1px solid #e1e7e1;
  display: grid;
  gap: 8px 14px;
  grid-template-columns: 1fr auto;
  padding: 14px;
}

.cart-total-grid span,
.cart-total-grid strong {
  border-bottom: 1px solid #e5ebe5;
  padding-bottom: 6px;
}

.cart-total {
  font-size: 15px;
  font-weight: 700;
  margin-top: 16px;
  text-align: left;
}

.cart-toast {
  align-items: center;
  background: #0e1511;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  bottom: 22px;
  box-shadow: 0 16px 40px rgba(14, 21, 17, 0.24);
  color: #ffffff;
  display: inline-flex;
  gap: 10px;
  font-weight: 700;
  opacity: 0;
  padding: 12px 14px;
  pointer-events: none;
  position: fixed;
  right: 22px;
  transform: translateY(14px) scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 10000;
}

.analytics-floating-button {
  align-items: center;
  background: #ffffff;
  border: 2px solid #69BE28;
  border-radius: 8px;
  bottom: 22px;
  box-shadow: 0 14px 34px rgba(14, 21, 17, 0.18);
  color: #101510;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  left: 22px;
  min-height: 46px;
  padding: 5px;
  position: fixed;
  text-transform: uppercase;
  width: 46px;
  z-index: 14500;
}

.analytics-floating-button .cookie-icon {
  background: #dff7d8;
  border: 2px solid #69BE28;
  border-radius: 50%;
  display: inline-block;
  height: 34px;
  overflow: hidden;
  position: relative;
  width: 34px;
}

.analytics-floating-button .cookie-icon::before {
  display: none;
}

.analytics-floating-button .cookie-icon i {
  background: #69BE28;
  border-radius: 50%;
  height: 5px;
  position: absolute;
  width: 5px;
}

.analytics-floating-button .cookie-icon i:nth-child(1) {
  left: 8px;
  top: 8px;
}

.analytics-floating-button .cookie-icon i:nth-child(2) {
  left: 19px;
  top: 13px;
}

.analytics-floating-button .cookie-icon i:nth-child(3) {
  left: 10px;
  top: 22px;
}

.analytics-floating-button .cookie-icon i:nth-child(4) {
  left: 23px;
  top: 24px;
}

.analytics-floating-button strong {
  display: none;
  font-size: 12px;
  font-weight: 950;
}

.analytics-floating-button.is-accepted .cookie-icon {
  background: #e8f8e1;
  border-color: #69BE28;
}

.analytics-floating-button.is-declined .cookie-icon {
  background: #fff1f1;
  border-color: #b42318;
}

.analytics-floating-button.is-declined .cookie-icon i {
  background: #b42318;
}

.analytics-floating-button:hover {
  background: #f5fbf3;
  color: #101510;
  transform: translateY(-1px);
}

.analytics-consent-overlay {
  align-items: center;
  background: rgba(6, 10, 7, 0.58);
  backdrop-filter: blur(7px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 15000;
}

.analytics-consent-box {
  background: #ffffff;
  border-top: 5px solid #69BE28;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.3);
  color: #101510;
  display: grid;
  gap: 12px;
  max-width: 560px;
  padding: 24px;
  position: relative;
  width: min(560px, 94vw);
}

.analytics-consent-box h2 {
  color: #101510;
  font-size: 30px;
  margin: 0;
  text-transform: uppercase;
}

.analytics-consent-box p {
  color: #334136;
  font-weight: 750;
  line-height: 1.45;
  margin: 0;
}

.analytics-consent-close {
  background: #101510;
  color: #ffffff;
  font-weight: 950;
  height: 38px;
  padding: 0;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px;
}

.analytics-consent-state {
  background: #f2f5f2;
  border-left: 4px solid #ffb020;
  color: #101510;
  font-weight: 900;
  padding: 10px 12px;
  text-transform: uppercase;
}

.analytics-consent-state.is-ok {
  border-left-color: #69BE28;
}

.analytics-consent-state.is-ko {
  border-left-color: #b42318;
}

.analytics-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.analytics-consent-actions button {
  min-height: 42px;
}

.review-overlay {
  align-items: center;
  background: rgba(6, 10, 7, 0.62);
  backdrop-filter: blur(7px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 15100;
}

.review-box {
  background: #ffffff;
  border-top: 5px solid var(--kawa-green);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.32);
  color: #101510;
  display: grid;
  gap: 13px;
  max-width: 620px;
  padding: 24px;
  position: relative;
  width: min(620px, 94vw);
}

.review-box h3 {
  color: #101510;
  font-size: 32px;
  margin: 0;
  text-transform: uppercase;
}

.review-box p {
  color: #344037;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
}

.review-close {
  background: #101510;
  color: #ffffff;
  font-weight: 950;
  height: 38px;
  padding: 0;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px;
}

.review-form {
  display: grid;
  gap: 13px;
}

.review-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-rating label {
  cursor: pointer;
}

.review-rating input {
  position: absolute;
  opacity: 0;
}

.review-rating span {
  background: #f2f5f2;
  border: 1px solid #d8e1d8;
  color: #f59e0b;
  display: inline-block;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0;
  padding: 9px 10px;
}

.review-rating input:checked + span {
  background: #e8f7e2;
  border-color: var(--kawa-green);
  color: #111711;
}

.review-form label {
  color: #101510;
  display: grid;
  font-size: 13px;
  font-weight: 950;
  gap: 7px;
  text-transform: uppercase;
}

.review-form textarea,
.review-form input[type="text"],
.review-form input[name="customer_name"] {
  border: 1px solid #cfd8cf;
  color: #101510;
  font-size: 15px;
  padding: 11px 12px;
  text-transform: none;
}

.review-form input[type="text"],
.review-form input[name="customer_name"] {
  min-height: 42px;
}

.review-form textarea {
  min-height: 120px;
  resize: vertical;
}

.ghost-button {
  background: transparent;
  border: 1px solid #cfd8cf;
  color: #101510;
}

.cart-toast.is-home-toast {
  bottom: auto;
  right: 22px;
  top: 88px;
  z-index: 14000;
}

.cart-toast-check {
  align-items: center;
  background: #69BE28;
  color: #101510;
  display: inline-flex;
  flex: 0 0 30px;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.cart-toast strong,
.cart-toast small {
  display: block;
}

.cart-toast small {
  color: #d7e6d7;
  font-size: 12px;
  margin-top: 2px;
  text-transform: uppercase;
}

dialog .cart-toast {
  bottom: 18px;
  position: absolute;
  right: 18px;
  z-index: 10000;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Responsive density pass: keeps cart/checkout usable on shorter screens. */
.topbar {
  min-height: 56px;
}

.menu-button,
.top-actions .icon-button,
.icon-button {
  font-size: 15px;
  min-height: 54px;
}

.brand-home {
  flex: 1 1 auto;
  gap: clamp(14px, 2vw, 24px);
  justify-content: center;
  min-height: 64px;
  min-width: 0;
  padding: 4px clamp(22px, 4vw, 56px);
}

.brand-logo-kawasaki {
  height: 42px;
  max-width: 126px;
}

.brand-logo-motoworld {
  height: 42px;
  max-width: 180px;
}

.brand-logo-main {
  height: 62px;
  max-width: 104px;
  width: 104px;
}

.brand-home span {
  min-width: 0;
}

.search-console,
.home-stock-form {
  max-width: 980px;
}

.search-console {
  grid-template-columns: minmax(190px, 240px) minmax(220px, 1fr) minmax(110px, 140px) auto;
}

.search-console:has(.search-year-field[hidden]) {
  grid-template-columns: minmax(190px, 260px) minmax(240px, 1fr) auto;
}

.search-console label {
  padding: 12px;
}

.search-console input,
.search-console select {
  min-height: 46px;
  padding: 10px 12px;
}

.search-actions button {
  font-size: 14px;
  padding: 0 18px;
}

#searchButton {
  min-width: 145px;
}

.home-stock-form {
  margin-top: 22px;
  padding: 12px;
}

.home-stock-form strong {
  font-size: 18px;
}

.home-stock-form input,
.home-stock-form button {
  min-height: 44px;
}

button {
  min-height: 38px;
  padding: 8px 12px;
}

input {
  min-height: 38px;
  padding: 8px 10px;
}

.featured-catalog {
  gap: 12px;
  padding: 14px var(--site-pad) 18px;
}

.featured-head,
.featured-tabs,
.featured-search-bar,
.featured-accessory-model-panel,
.featured-accessory-shop,
.featured-category-panel,
.featured-window,
.featured-loading-panel {
  max-width: 1240px;
}

.featured-head h2 {
  font-size: clamp(22px, 2.5vw, 34px);
}

.featured-subcategories {
  gap: 10px;
}

.featured-subcategories button {
  font-size: clamp(15px, 1.4vw, 22px);
  min-height: 56px;
  padding: 11px 15px;
}

.featured-subcategories button span {
  font-size: 13px;
  min-width: 30px;
  padding: 5px 8px;
}

.featured-select-row {
  gap: 12px;
  margin-top: 14px;
}

.featured-select-row label,
.featured-select-row select {
  font-size: 14px;
}

.featured-select-row select {
  min-height: 44px;
}

.featured-product-card {
  flex-basis: clamp(210px, 20vw, 270px);
  min-height: 340px;
}

.featured-product-body {
  gap: 6px;
  padding: 12px;
}

.featured-product-body > strong {
  font-size: 15px;
}

.featured-product-foot strong {
  font-size: 16px;
}

.featured-arrow {
  font-size: 34px;
  height: 52px;
  width: 44px;
}

.featured-arrow {
  display: grid;
  font-size: 0;
  line-height: 1;
  place-items: center;
}

.featured-arrow::before {
  color: currentColor;
  display: grid;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 900;
  height: 100%;
  line-height: 1;
  place-items: center;
  transform: translateY(2px);
  width: 100%;
}

.featured-arrow-left::before {
  content: "‹";
}

.featured-arrow-right::before {
  content: "›";
}

.content-grid,
.standalone-page {
  max-width: 1320px;
}

.content-grid {
  grid-template-columns: minmax(280px, 360px) minmax(420px, 820px);
  margin-top: 16px;
  padding-left: var(--site-pad);
  padding-right: var(--site-pad);
}

.models-panel,
.detail-panel {
  min-height: 520px;
  padding: 14px;
}

.diagram-card {
  min-height: 172px;
}

.diagram-thumb {
  height: 112px;
}

.standalone-page {
  padding-left: var(--site-pad);
  padding-right: var(--site-pad);
}

.standalone-head {
  margin-bottom: 14px;
}

.standalone-head h2,
.cart-panel h2,
.cart-recap h2 {
  font-size: 24px;
}

.cart-page-grid {
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 380px);
}

.cart-panel {
  padding-top: 12px;
}

.cart-panel-title {
  padding: 0 14px 8px;
}

.cart-page-head,
.cart-page-line {
  gap: 8px;
  grid-template-columns: minmax(210px, 1fr) 106px 96px 102px 32px;
  padding: 8px 12px;
}

.cart-designation strong {
  font-size: 14px;
  line-height: 1.12;
}

.cart-designation span {
  font-size: 11px;
}

.quantity-stepper {
  grid-template-columns: 28px 32px 28px;
  min-height: 34px;
}

.quantity-stepper button {
  min-height: 32px;
}

.cart-trash {
  font-size: 19px;
  min-height: 30px;
}

.cart-recap-card {
  gap: 8px;
  padding: 14px;
}

.cart-coupon-form input {
  min-height: 36px;
}

.cart-credit-toggle {
  margin-top: 6px;
  padding: 8px 10px;
}

.checkout-panel {
  align-items: stretch;
  overflow-y: auto;
  padding: 10px;
}

.checkout-panel[hidden],
#cartDialogBody .checkout-panel[hidden] {
  display: none !important;
}

.checkout-modal-card {
  gap: 12px;
  height: auto;
  margin: auto;
  max-height: calc(100vh - 20px);
  overflow: hidden;
  padding: clamp(12px, 1.6vw, 20px);
  width: min(1160px, calc(100vw - 20px));
}

.checkout-modal-card:has(.checkout-white-layout) {
  height: min(760px, calc(100vh - 20px));
}

.checkout-modal-head {
  gap: 12px;
}

.checkout-panel h2 {
  font-size: 23px;
}

.checkout-panel p {
  font-size: 13px;
}

.checkout-white-layout {
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 285px);
  overflow: hidden;
}

.checkout-white-main {
  gap: 12px;
  overflow-y: auto;
  padding-right: 6px;
}

.checkout-white-section h3,
.checkout-white-recap h3 {
  font-size: 17px;
}

.checkout-address-card {
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) 104px;
  min-height: 88px;
  padding: 10px 12px;
}

.checkout-address-card dl {
  gap: 3px 18px;
  grid-template-columns: 130px minmax(0, 1fr);
}

.checkout-address-card dt,
.checkout-address-card dd {
  font-size: 12px;
}

.checkout-edit {
  height: 38px;
  min-height: 38px;
  width: 104px;
}

.checkout-choice-group {
  gap: 7px;
}

.choice-card {
  gap: 10px;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  min-height: 50px;
  padding: 7px 12px;
}

.choice-icon {
  font-size: 13px;
  height: 40px;
  width: 46px;
}

.choice-card-cofidis {
  grid-template-columns: 68px minmax(0, 1fr) auto;
}

.choice-icon-cofidis {
  height: 40px;
  width: 64px;
}

.choice-icon-cofidis .cofidis-word {
  font-size: 15px;
}

.choice-icon-cofidis .cofidis-pay {
  font-size: 8px;
}

.choice-body {
  gap: 3px;
}

.choice-body strong {
  font-size: 15px;
}

.choice-body small {
  font-size: 12px;
  line-height: 1.25;
}

.choice-status {
  font-size: 10px;
  padding: 6px 8px;
}

.checkout-note {
  font-size: 12px;
  padding: 9px 10px;
}

.checkout-note-field,
.guest-checkout-form {
  gap: 10px;
  padding: 12px;
}

.guest-checkout-head {
  gap: 10px;
}

.guest-checkout-head .secondary-button {
  min-height: 40px;
}

.checkout-recap-card {
  border-radius: 10px;
  gap: 9px;
  padding: 14px;
}

.checkout-recap-total {
  font-size: 16px;
  padding-top: 10px;
}

.checkout-bottom-actions {
  background: linear-gradient(180deg, rgba(247, 248, 251, 0), #f7f8fb 20%);
  gap: 12px;
  grid-template-columns: minmax(140px, 0.32fr) minmax(190px, 0.32fr);
  margin-top: 4px;
  padding-top: 10px;
}

.checkout-bottom-actions-single {
  grid-template-columns: minmax(130px, 190px);
}

.checkout-submit {
  font-size: 17px;
  min-height: 48px;
}

@media (max-width: 820px) {
  .admin-command-head,
  .admin-order-searchbar,
  .admin-order-toolbar {
    grid-template-columns: 1fr;
  }

  .order-workflow-grid {
    grid-template-columns: 1fr;
  }

  .order-workflow-card {
    min-height: 0;
  }

  .topbar,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .home-intro {
    display: grid;
    grid-template-columns: 1fr;
  }

  .search-panel {
    padding-top: 190px;
  }

  .hero-gift-card-promo {
    grid-template-columns: 1fr;
    top: 16px;
  }

  .hero-gift-card-promo button {
    width: 100%;
  }

  .hero-message-rotator {
    height: 58px;
    margin-top: 12px;
    max-width: 220px;
    position: relative;
    right: auto;
    bottom: auto;
    width: min(220px, 100%);
  }

  .hero-message-track article {
    min-height: 58px;
    padding: 7px 9px;
  }

  .client-reviews-shell {
    grid-template-columns: 1fr;
  }

  .client-review-card {
    flex-basis: 280px;
  }

  .search-tags {
    justify-content: flex-start;
  }

  .search-console {
    grid-template-columns: 1fr;
  }

  .search-garage-row,
  .garage-layout,
  .garage-form-grid,
  .garage-vehicle-card {
    grid-template-columns: 1fr;
  }

  .search-garage-row {
    display: grid;
  }

  .garage-launch-button {
    min-height: 58px;
  }

  .garage-mode-actions {
    grid-template-columns: 1fr;
  }

  .garage-vehicle-actions,
  .account-card-head {
    justify-content: stretch;
  }

  .garage-vehicle-actions button,
  .account-card-head button {
    flex: 1 1 auto;
  }

  .home-stock-form,
  .home-stock-result,
  .home-stock-actions {
    grid-template-columns: 1fr;
  }

  .home-stock-actions {
    display: grid;
  }

  .featured-accessory-model-panel,
  .featured-accessory-model-form,
  .featured-accessory-filter-form,
  .accessory-shop-title {
    grid-template-columns: 1fr;
  }

  .accessory-segment-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-console label + label {
    border-left: 0;
    border-top: 1px solid #3a403a;
  }

  .search-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .topbar {
    align-items: stretch;
    display: grid;
  }

  .models-panel,
  .detail-panel {
    min-height: auto;
  }

  .part-dialog-grid,
  .diagram-dialog-layout,
  .auth-layout,
  .checkout-grid,
  .admin-stats,
  .stats-alerts,
  .stats-kpi-grid,
  .stats-grid-large,
  .api-config-grid,
  .admin-ip-row,
  .operator-grid,
  .operator-form,
  .operator-row,
  .operator-log-line,
  .order-card-head,
  .footer-main,
  .order-item {
    grid-template-columns: 1fr;
  }

  .stats-toolbar {
    align-items: stretch;
    display: grid;
  }

  .operator-row-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
  }

  .api-config-head {
    display: grid;
  }

  .diagram-page-head {
    align-items: stretch;
    display: grid;
  }

  .diagram-page-head h2,
  .diagram-page-head .kicker {
    text-align: left;
  }

  .diagram-page .diagram-dialog-layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
  }

  .diagram-page .diagram-image img {
    max-height: none;
  }

  .parts-scroll {
    max-height: none;
  }

  .cart-table-head {
    display: none;
  }

  .cart-table-row,
  .cart-summary {
    grid-template-columns: 1fr;
  }

  .cart-page-grid,
  .checkout-white-layout,
  .checkout-bottom-actions,
  .cart-coupon-form,
  .cart-page-head,
  .cart-page-line,
  .rib-line,
  .catalog-create-grid,
  .catalog-form-grid,
  .catalog-admin-card,
  .catalog-custom-components label,
  .pack-search-row,
  .pack-search-result,
  .pack-selected-line,
  .search-results-content,
  .model-diagrams-head,
  .admin-user-card,
  .admin-line,
  .email-current-row,
  .admin-detail-head,
  .admin-inline-form,
  .coupon-form,
  .credit-line,
  .coupon-card,
  .customer-order-summary,
  .scraper-status,
  .scraper-grid,
  .scraper-source-chooser,
  .scraper-mode-chooser,
  .scraper-job {
    grid-template-columns: 1fr;
  }

  .scraper-grid label.wide {
    grid-column: auto;
  }

  .catalog-form-grid label.wide {
    grid-column: auto;
  }

  .catalog-admin-actions {
    grid-template-columns: 1fr;
  }

  .featured-head {
    align-items: start;
    display: grid;
    gap: 8px;
  }

  .featured-tabs {
    grid-template-columns: 1fr;
  }

  .featured-product-card {
    grid-template-columns: 1fr;
  }

  .featured-arrow {
    height: 48px;
    width: 42px;
  }

  .search-results-head {
    display: grid;
  }

  .model-diagrams-grid {
    grid-template-columns: 1fr;
  }

  .cart-page-head {
    display: none;
  }

  .cart-page-lines {
    max-height: none;
    overflow: visible;
  }

  .cart-recap {
    position: static;
  }

  .rib-actions,
  .rib-actions a {
    width: 100%;
  }

  .rib-actions a {
    text-align: center;
  }

  .standalone-head,
  .checkout-modal-head,
  .top-actions {
    align-items: stretch;
    display: grid;
  }

  .checkout-modal-card {
    max-height: calc(100vh - 24px);
    min-height: 0;
    padding: 18px;
    width: 100%;
  }

  .choice-card {
    grid-template-columns: 64px minmax(0, 1fr);
    border-radius: 6px;
  }

  .choice-status {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .auth-two {
    grid-template-columns: 1fr;
  }

  .guest-account-cta,
  .guest-contact-grid,
  .guest-address-grid {
    grid-template-columns: 1fr;
  }

  .guest-account-cta {
    display: grid;
  }

  .guest-step-card {
    grid-template-columns: 1fr;
  }

  .footer-info {
    padding: 56px 18px;
  }

  .footer-award {
    font-size: 18px;
  }

  .footer-title {
    font-size: 30px;
  }

  .footer-hours {
    font-size: 16px;
  }

  .footer-address {
    font-size: 16px;
  }

  .footer-text {
    font-size: 15px;
  }

  .footer-inner {
    padding: 24px 18px 28px;
  }
}

@media (max-width: 820px) {
  .topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .menu-button {
    font-size: 13px;
    min-height: 46px;
    padding: 0 12px;
  }

  .brand-home {
    gap: 9px;
    min-width: 0;
    padding: 4px 10px;
  }

  .brand-home span {
    min-width: 0;
  }

  .brand-home strong {
    font-size: 13px;
    line-height: 1.05;
  }

  .brand-home small {
    display: none;
  }

  .brand-logo-kawasaki {
    height: 32px;
    max-width: 82px;
  }

  .brand-logo-main {
    height: 42px;
    max-width: 56px;
    width: 56px;
  }

  .brand-logo-motoworld {
    height: 32px;
    max-width: 108px;
  }

  .top-actions {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  }

  .top-actions .icon-button,
  .icon-button {
    font-size: 12px;
    min-height: 40px;
    padding: 0 8px;
  }

  .notification-badge {
    height: 19px;
    min-width: 19px;
  }

  .cart-toast.is-home-toast {
    top: 102px;
  }

  .search-panel {
    min-height: 0;
    padding: 42px 12px 24px;
  }

  .home-intro h2 {
    font-size: clamp(34px, 12vw, 58px);
  }

  .checkout-panel {
    padding: 6px;
  }

  .checkout-modal-card {
    height: auto;
    max-height: calc(100vh - 12px);
    padding: 12px;
    width: calc(100vw - 12px);
  }

  .checkout-modal-card:has(.checkout-white-layout) {
    height: calc(100vh - 12px);
  }

  .checkout-white-layout {
    overflow: hidden;
  }

  .checkout-white-main {
    padding-right: 0;
  }

  .checkout-address-card {
    grid-template-columns: 1fr;
  }

  .checkout-address-card dl {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .checkout-edit {
    justify-self: start;
    width: auto;
  }
}

@media (min-width: 560px) and (max-width: 820px) {
  .cart-page-head {
    display: grid;
  }

  .cart-page-head,
  .cart-page-line {
    gap: 8px;
    grid-template-columns: minmax(180px, 1fr) 82px 104px 82px 30px;
    padding: 9px 10px;
  }

  .cart-page-head {
    font-size: 12px;
  }

  .cart-designation strong {
    font-size: 14px;
  }

  .cart-designation span {
    font-size: 11px;
  }

  .quantity-stepper {
    grid-template-columns: 26px 30px 26px;
    min-height: 34px;
  }

  .quantity-stepper button {
    min-height: 32px;
  }

  .cart-trash {
    font-size: 20px;
  }
}

/* Accueil: lecture plus claire sans retirer les options existantes. */
.search-panel.home-landing {
  align-items: center;
  background: #090d09;
  display: grid;
  min-height: clamp(560px, calc(100vh - 56px), 760px);
  padding: clamp(30px, 4.5vh, 58px) var(--site-pad) clamp(30px, 4.5vh, 52px);
}

.search-panel.home-landing::before,
.search-panel.home-landing::after {
  display: none;
}

.search-panel.home-landing .hero-slide::after {
  background:
    radial-gradient(circle at 76% 42%, rgba(105, 190, 40, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.74) 48%, rgba(0, 0, 0, 0.44) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.72));
}

.home-shell {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
  margin: 0 auto;
  max-width: 1360px;
  position: relative;
  width: 100%;
  z-index: 2;
}

.search-panel.home-landing .home-intro {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin: 0;
  max-width: none;
}

.search-panel.home-landing .home-intro h2 {
  font-size: clamp(38px, 5.4vw, 74px);
  letter-spacing: 0;
  line-height: 0.88;
  margin: 8px 0 12px;
  max-width: 980px;
}

.search-panel.home-landing .home-intro p {
  color: #f6f9f6;
  font-size: clamp(16px, 1.6vw, 21px);
  max-width: 780px;
}

.search-panel.home-landing .home-trust-strip {
  margin-top: 12px;
}

.search-panel.home-landing .home-trust-strip span {
  background: rgba(9, 13, 9, 0.78);
  border-color: rgba(105, 190, 40, 0.62);
  padding: 7px 10px;
}

.home-main-grid {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
}

.home-command-center,
.home-side-panel {
  background: rgba(10, 14, 10, 0.82);
  border: 1px solid rgba(105, 190, 40, 0.45);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.30);
}

.home-command-center {
  display: grid;
  gap: 9px;
  padding: 10px;
}

.home-panel-title {
  align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 0 2px 8px;
}

.home-panel-title .kicker {
  color: var(--kawa-green);
}

.home-panel-title strong {
  color: #ffffff;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.05;
  text-align: right;
  text-transform: uppercase;
}

.home-command-center .search-garage-row {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) 104px;
  margin: 0;
  max-width: none;
}

.home-command-center .search-console {
  align-items: center;
  background: rgba(17, 21, 17, 0.96);
  border-color: rgba(105, 190, 40, 0.70);
  box-shadow: none;
  grid-template-columns: minmax(130px, 158px) minmax(0, 1fr) minmax(86px, 104px) auto;
  max-width: none;
}

.home-command-center .search-actions {
  align-self: stretch;
  height: auto;
}

.home-command-center .search-console label {
  font-size: 11px;
  gap: 5px;
  padding: 6px 8px;
}

.home-command-center .search-console input,
.home-command-center .search-console select {
  min-height: 34px;
  padding: 6px 9px;
}

.search-history-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 3px;
}

.search-history-panel[hidden] {
  display: none;
}

.search-history-panel::before {
  color: #aab6ad;
  content: "Historique";
  flex: 0 0 100%;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.search-history-panel button {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  min-height: 28px;
  padding: 5px 8px;
  text-transform: uppercase;
}

.search-history-panel button:hover,
.search-history-panel button:focus {
  background: rgba(105, 190, 40, 0.18);
  border-color: rgba(105, 190, 40, 0.75);
  color: #ffffff;
  transform: none;
}

.search-history-panel small {
  color: #c9d4cb;
  font-size: 10px;
  font-weight: 800;
  margin-left: 4px;
}

.home-command-center .search-actions button {
  font-size: 12px;
  min-height: 34px;
  padding: 0 10px;
}

.home-command-center #searchButton {
  min-width: 106px;
}

.home-command-center #clearSearchButton {
  min-width: 72px;
}

.home-command-center .search-console:has(.search-year-field[hidden]) {
  grid-template-columns: minmax(130px, 158px) minmax(0, 1fr) auto;
}

.home-command-center .garage-launch-button {
  background: rgba(17, 21, 17, 0.96);
  border-color: rgba(105, 190, 40, 0.70);
  min-height: 68px;
  min-width: 0;
  padding: 9px 10px;
}

.home-command-center .garage-search-note {
  margin: 0;
  max-width: none;
  width: 100%;
}

.home-command-center .home-stock-form {
  background: rgba(17, 21, 17, 0.96);
  border-color: rgba(105, 190, 40, 0.70);
  box-shadow: none;
  gap: 10px;
  grid-template-columns: minmax(190px, 0.82fr) minmax(220px, 1fr) auto;
  margin: 0;
  max-width: none;
}

.home-command-center .home-stock-form {
  padding: 10px;
}

.home-command-center .home-stock-form input,
.home-command-center .home-stock-form button {
  min-height: 38px;
}

.home-command-center .home-stock-actions button {
  font-size: 13px;
  padding-left: 12px;
  padding-right: 12px;
}

.home-command-center .home-stock-form strong {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.05;
}

.home-command-center .home-stock-result {
  border-left: 4px solid var(--kawa-green);
}

.home-side-panel {
  align-content: stretch;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.home-side-panel .hero-gift-card-promo {
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-left: 5px solid var(--kawa-green);
  box-shadow: none;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  left: auto;
  max-width: none;
  padding: 12px;
  position: static;
  top: auto;
  width: auto;
}

.home-side-panel .hero-gift-card-promo h3 {
  font-size: clamp(18px, 1.8vw, 26px);
}

.home-side-panel .hero-gift-card-promo button {
  justify-self: start;
}

.home-service-cards {
  display: grid;
  gap: 8px;
}

.home-service-cards article {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 10px;
  grid-template-columns: 38px minmax(0, 1fr);
  min-height: 62px;
  padding: 9px;
}

.home-service-cards i {
  align-items: center;
  background: rgba(105, 190, 40, 0.16);
  color: var(--kawa-green);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.home-service-cards span {
  color: var(--kawa-green);
  display: block;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.home-service-cards strong {
  color: #ffffff;
  display: block;
  font-size: 15px;
  line-height: 1.1;
  text-transform: uppercase;
}

.home-side-panel .hero-message-rotator {
  height: 84px;
  margin: 0;
  max-width: none;
  width: 100%;
}

.home-side-panel .hero-message-track article {
  border-color: rgba(105, 190, 40, 0.78);
  min-height: 84px;
  padding: 9px 10px 14px;
}

.home-side-panel .hero-message-track span {
  font-size: 9px;
}

.home-side-panel .hero-message-track strong {
  font-size: clamp(17px, 1.55vw, 22px);
}

.home-side-panel .hero-message-track small {
  font-size: 11px;
  line-height: 1.2;
}

.search-panel.home-landing + .featured-catalog {
  background: #ffffff;
  border-top: 0;
  padding-top: 24px;
}

@media (max-width: 1180px) {
  .home-main-grid {
    grid-template-columns: 1fr;
  }

  .home-side-panel {
    grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  }

  .home-side-panel .hero-message-rotator {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .search-panel.home-landing .home-main-grid {
    margin-top: 12px;
  }

  .search-panel.home-landing {
    min-height: 0;
    padding: 28px 12px 24px;
  }

  .search-panel.home-landing .home-intro h2 {
    font-size: clamp(36px, 11vw, 64px);
  }

  .home-panel-title {
    align-items: start;
    display: grid;
  }

  .home-panel-title strong {
    text-align: left;
  }

  .home-command-center .search-garage-row,
  .home-command-center .search-console,
  .home-command-center .search-console:has(.search-year-field[hidden]),
  .home-command-center .home-stock-form,
  .home-side-panel {
    grid-template-columns: 1fr;
  }

  .home-command-center .search-console label + label {
    border-left: 0;
    border-top: 1px solid #3a403a;
  }

  .home-command-center .search-actions,
  .home-stock-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .home-command-center .garage-launch-button {
    min-height: 54px;
  }
}

@media (max-width: 560px) {
  .home-command-center,
  .home-side-panel {
    padding: 10px;
  }

  .home-command-center .search-actions,
  .home-stock-actions {
    grid-template-columns: 1fr;
  }

  .home-side-panel .hero-gift-card-promo button {
    width: 100%;
  }

  .home-service-cards article {
    min-height: 60px;
  }
}

/* Dedicated VIN search popup. */
.vin-search-overlay {
  align-items: center;
  background: rgba(7, 11, 8, 0.76);
  backdrop-filter: blur(10px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 14000;
}

.vin-search-box {
  animation: dialogEnter 180ms ease both;
  background: #ffffff;
  border: 1px solid #dbe4dc;
  border-radius: 16px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.38);
  max-height: calc(100dvh - 40px);
  max-width: 650px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  width: min(100%, 650px);
}

.vin-search-head {
  align-items: center;
  background: linear-gradient(135deg, #172019 0%, #253426 100%);
  color: #ffffff;
  display: grid;
  gap: 15px;
  grid-template-columns: 54px minmax(0, 1fr) 40px;
  padding: 22px 24px;
}

.vin-search-head-icon {
  align-items: center;
  background: linear-gradient(135deg, #62c52c, #3d9f13);
  border-radius: 12px;
  display: flex;
  font-size: 23px;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.vin-search-head span {
  color: #8cda68;
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.vin-search-head h2 {
  color: #ffffff;
  font-family: Oswald, Impact, sans-serif;
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
}

.vin-search-head p {
  color: #d7e1d8;
  font-size: 13px;
  font-weight: 650;
  margin: 6px 0 0;
}

.vin-search-close {
  align-items: center;
  align-self: start;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  color: #ffffff;
  display: flex;
  font-size: 17px;
  height: 40px;
  justify-content: center;
  min-height: 40px;
  padding: 0;
  width: 40px;
}

.vin-search-close:hover,
.vin-search-close:focus {
  background: #ffffff;
  color: #172019;
  transform: none;
}

.vin-search-form {
  display: grid;
  gap: 10px;
  padding: 25px;
}

.vin-search-form > label,
.vin-search-fields > label {
  color: #242b26;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.vin-search-fields {
  display: grid;
  gap: 8px 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vin-search-input-wrap {
  align-items: center;
  background: #f7f9f7;
  border: 2px solid #a9d895;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  overflow: hidden;
}

.vin-search-input-wrap:focus-within {
  border-color: var(--catalog-green);
  box-shadow: 0 0 0 4px rgba(73, 173, 24, 0.13);
}

.vin-search-input-wrap > i {
  color: var(--catalog-green-dark);
  font-size: 18px;
  text-align: center;
}

.vin-search-input-wrap input {
  background: transparent;
  border: 0;
  border-left: 1px solid #dce5dd;
  border-radius: 0;
  color: #171c18;
  font-size: 17px;
  font-weight: 800;
  height: 56px;
  letter-spacing: 0.8px;
  min-height: 56px;
  outline: 0;
  padding: 0 15px;
  text-transform: uppercase;
  width: 100%;
}

.vin-search-form > small {
  color: #68726b;
  font-size: 11px;
  font-weight: 650;
}

.vin-search-info {
  align-items: center;
  background: #eff8eb;
  border-left: 4px solid var(--catalog-green);
  border-radius: 7px;
  color: #285d18;
  display: flex;
  font-size: 12px;
  font-weight: 750;
  gap: 10px;
  margin-top: 7px;
  padding: 11px 13px;
}

.vin-search-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(220px, 1fr);
  margin-top: 7px;
}

.vin-search-actions button {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
}

@media (max-width: 560px) {
  .vin-search-overlay {
    align-items: end;
    padding: 0;
  }

  .vin-search-box {
    border-radius: 16px 16px 0 0;
    max-height: 100dvh;
    max-width: none;
    width: 100%;
  }

  .vin-search-head {
    gap: 11px;
    grid-template-columns: 46px minmax(0, 1fr) 36px;
    padding: 18px 15px;
  }

  .vin-search-head-icon {
    height: 46px;
    width: 46px;
  }

  .vin-search-head h2 {
    font-size: 25px;
  }

  .vin-search-head p {
    display: none;
  }

  .vin-search-form {
    padding: 18px 15px 22px;
  }

  .vin-search-fields {
    grid-template-columns: 1fr;
  }

  .vin-search-actions {
    grid-template-columns: 1fr;
  }

  .vin-search-actions .secondary-button {
    order: 2;
  }
}

/* Final compact pass for the hero search block. */
.search-panel.home-landing .home-command-center {
  align-content: start;
  background: rgba(8, 12, 8, 0.62);
  border-color: rgba(105, 190, 40, 0.58);
  gap: 8px;
  padding: 9px;
}

.search-panel.home-landing .home-command-center .search-garage-row {
  align-items: flex-start;
  grid-template-columns: minmax(0, 1fr) 96px;
}

.search-panel.home-landing .home-command-center .search-console {
  align-items: center;
  background: rgba(18, 23, 18, 0.78);
  grid-template-columns: 146px minmax(0, 1fr) 102px auto;
  min-height: 0;
}

.search-panel.home-landing .home-command-center .search-console:has(.search-year-field[hidden]) {
  grid-template-columns: 146px minmax(0, 1fr) auto;
}

.search-panel.home-landing .home-command-center .search-console label {
  font-size: 11px;
  gap: 5px;
  line-height: 1.05;
  padding: 8px 10px;
}

.search-panel.home-landing .home-command-center .search-console input,
.search-panel.home-landing .home-command-center .search-console select {
  font-size: 13px;
  min-height: 36px;
  padding: 7px 10px;
}

.search-panel.home-landing .home-command-center .search-actions {
  align-items: center;
  align-self: center;
  gap: 6px;
  height: auto;
  padding-right: 8px;
}

.search-panel.home-landing .home-command-center .search-actions button {
  font-size: 12px;
  height: 42px;
  min-height: 42px;
  padding: 0 10px;
}

.search-panel.home-landing .home-command-center #searchButton {
  min-width: 104px;
}

.search-panel.home-landing .home-command-center .search-console,
.home-command-center .search-console {
  column-gap: 16px;
  grid-template-columns: minmax(128px, 150px) minmax(128px, 150px) minmax(0, 1fr) minmax(86px, 102px) auto;
}

.search-panel.home-landing .home-command-center .search-console:has(.search-year-field[hidden]),
.home-command-center .search-console:has(.search-year-field[hidden]) {
  grid-template-columns: minmax(128px, 150px) minmax(128px, 150px) minmax(0, 1fr) auto;
}

.search-panel.home-landing .home-command-center .search-console label + label,
.home-command-center .search-console label + label {
  border-left: 0;
}

.search-vehicle-type select {
  font-weight: 900;
}

.search-panel.home-landing .home-command-center #clearSearchButton {
  min-width: 66px;
}

.search-panel.home-landing .home-command-center .garage-launch-button {
  background: rgba(18, 23, 18, 0.78);
  gap: 4px;
  height: 68px;
  min-height: 68px;
  padding: 6px 8px;
}

.search-panel.home-landing .home-command-center .garage-launch-button i {
  font-size: 18px;
}

.search-panel.home-landing .home-command-center .garage-launch-button span {
  font-size: 12px;
  line-height: 1.05;
}

.search-panel.home-landing .home-command-center .home-stock-form {
  align-items: center;
  align-self: start;
  background: rgba(18, 23, 18, 0.70);
  gap: 8px;
  grid-template-columns: minmax(190px, 0.65fr) minmax(260px, 1fr) auto;
  padding: 8px 10px;
}

.search-panel.home-landing .home-command-center .home-stock-form > div:first-child {
  align-self: center;
}

.search-panel.home-landing .home-command-center .home-stock-form strong {
  font-size: clamp(14px, 1.2vw, 17px);
}

.search-panel.home-landing .home-command-center .home-stock-form label {
  font-size: 11px;
  gap: 5px;
}

.search-panel.home-landing .home-command-center .home-stock-form input,
.search-panel.home-landing .home-command-center .home-stock-form button {
  font-size: 12px;
  min-height: 34px;
  padding-bottom: 6px;
  padding-top: 6px;
}

.search-panel.home-landing .home-command-center .home-stock-actions {
  align-items: center;
  gap: 6px;
}

.search-panel.home-landing .home-command-center .home-stock-actions button {
  min-height: 34px;
  padding-left: 10px;
  padding-right: 10px;
}

/* Hero tidy pass: remove unused vertical stretch and keep select text readable. */
.search-panel.home-landing .home-main-grid {
  align-items: start;
  margin-top: 28px;
}

.search-panel.home-landing .home-command-center {
  align-self: start;
  min-height: 0;
}

.search-panel.home-landing .home-command-center .search-console {
  grid-template-columns: 150px 150px minmax(0, 1fr) 102px auto;
}

.search-panel.home-landing .home-command-center .search-console:has(.search-year-field[hidden]) {
  grid-template-columns: 150px 150px minmax(0, 1fr) auto;
}

.search-panel.home-landing .home-command-center .search-console select {
  padding-right: 30px;
  text-overflow: ellipsis;
}

.search-panel.home-landing .home-command-center .search-console label + label {
  border-left: 0;
}

/* Softer visual pass: rounder UI and less harsh black surfaces. */
:root {
  --soft-dark: #3f463f;
  --soft-darker: #2f372f;
  --soft-panel: rgba(36, 46, 38, 0.72);
  --soft-panel-strong: rgba(33, 42, 35, 0.84);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
}

body {
  background: #f3f5f3;
}

button,
input,
select,
textarea,
.icon-button,
.primary-button,
.secondary-button,
.checkout-submit,
.danger-button,
.footer-contact-button {
  border-radius: var(--radius-sm);
}

.menu-button,
.top-actions .icon-button {
  background: var(--soft-dark);
  border-radius: var(--radius-sm);
}

.menu-button {
  margin: 6px;
}

.menu-button i,
.analytics-floating-button,
.cookie-icon {
  border-radius: var(--radius-sm);
}

.brand-home {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.topbar {
  background: #343a34;
}

.search-panel.home-landing {
  background: #182119;
}

.search-panel.home-landing .hero-slide::after {
  background:
    radial-gradient(circle at 76% 42%, rgba(105, 190, 40, 0.16), transparent 30%),
    linear-gradient(90deg, rgba(11, 17, 12, 0.76) 0%, rgba(18, 25, 19, 0.58) 48%, rgba(23, 31, 24, 0.32) 100%),
    linear-gradient(180deg, rgba(12, 18, 13, 0.08), rgba(13, 20, 14, 0.56));
}

.search-panel.home-landing .home-trust-strip span,
.home-command-center,
.home-side-panel,
.search-panel.home-landing .home-command-center,
.search-panel.home-landing .home-command-center .search-console,
.search-panel.home-landing .home-command-center .home-stock-form,
.search-panel.home-landing .home-command-center .garage-launch-button,
.hero-gift-card-promo,
.home-service-cards article,
.home-info-slide,
.garage-search-note,
.featured-catalog,
.shop-menu-panel,
.auth-card,
.account-page,
.admin-page,
.cart-line,
.cart-summary,
.order-card,
.scraper-panel,
.scraper-status,
.scraper-job,
.client-review-card,
.client-reviews-window,
.client-reviews-summary {
  border-radius: var(--radius-md);
}

.admin-2fa-qr {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dce4dc;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: center;
  margin: 12px auto;
  max-width: 260px;
  padding: 16px;
}

.admin-2fa-qr svg {
  display: block;
  height: auto;
  max-width: 220px;
  width: 100%;
}

.admin-2fa-manual {
  background: #f3f7f3;
  border: 1px solid #dce4dc;
  border-radius: var(--radius-sm);
  color: #101510;
  margin: 10px 0;
  padding: 10px;
}

.admin-2fa-manual code {
  display: block;
  font-size: 11px;
  overflow-wrap: anywhere;
  white-space: normal;
}

.home-command-center,
.home-side-panel,
.search-panel.home-landing .home-command-center {
  background: var(--soft-panel);
  border-color: rgba(105, 190, 40, 0.48);
}

.search-panel.home-landing .home-command-center .search-console,
.search-panel.home-landing .home-command-center .home-stock-form,
.search-panel.home-landing .home-command-center .garage-launch-button,
.home-service-cards article {
  background: var(--soft-panel-strong);
}

.search-panel.home-landing .home-command-center .search-console input,
.search-panel.home-landing .home-command-center .search-console select,
.search-panel.home-landing .home-command-center .home-stock-form input {
  background: #f7faf7;
  color: #101510;
}

.search-actions button,
.home-stock-actions button,
.hero-gift-card-promo button,
.footer-contact-button {
  border-radius: var(--radius-sm);
}

.search-panel.home-landing .home-command-center #clearSearchButton,
.search-panel.home-landing .home-command-center #homeStockReset,
.search-console .secondary-button,
.home-stock-form .secondary-button {
  background: #566056;
  color: #ffffff;
}

.search-panel.home-landing .home-command-center #clearSearchButton:hover,
.search-panel.home-landing .home-command-center #homeStockReset:hover {
  background: #687368;
}

dialog,
.diagram-dialog,
.auth-dialog,
.admin-dialog,
.garage-box,
.shop-menu-drawer,
.cart-toast,
.site-confirm-box,
.analytics-consent-box {
  border-radius: var(--radius-lg);
}

.footer-info,
.footer {
  background: #3e423e;
}

/* Keep the navigation identity sharper while preserving softer content cards. */
.topbar,
.brand-home,
.menu-button,
.top-actions .icon-button,
.top-actions #loginButton,
.top-actions #accountButton,
.top-actions #adminButton,
.top-actions #cartButton,
.top-actions #logoutButton {
  border-radius: 0;
}

.menu-button {
  margin: 0;
}

.menu-button i {
  border-radius: 2px;
}

.search-panel.home-landing .home-command-center,
.search-panel.home-landing .home-command-center .search-console,
.search-panel.home-landing .home-command-center .home-stock-form,
.search-panel.home-landing .home-command-center .garage-launch-button,
.home-side-panel,
.home-service-cards article {
  border-radius: 6px;
}

.search-panel.home-landing .home-command-center .search-console input,
.search-panel.home-landing .home-command-center .search-console select,
.search-panel.home-landing .home-command-center .home-stock-form input,
.search-actions button,
.home-stock-actions button {
  border-radius: 4px;
}

.hero-gift-card-promo,
.client-review-card,
.client-reviews-window,
.client-reviews-summary,
.cart-line,
.cart-summary,
.order-card {
  border-radius: 10px;
}

/* Header logo pass: bigger mark, less empty white area. */
.topbar .brand-home {
  flex: 0 1 auto;
  gap: clamp(12px, 1.45vw, 20px);
  justify-content: flex-start;
  min-height: 70px;
  padding: 2px clamp(22px, 3vw, 40px);
}

.topbar .brand-logo-main {
  height: 78px;
  max-width: 126px;
  width: 126px;
}

.topbar .brand-home span {
  gap: 2px;
}

.topbar .brand-home strong {
  font-size: clamp(22px, 2.05vw, 34px);
  line-height: 0.94;
}

.topbar .brand-home small {
  font-size: clamp(12px, .9vw, 16px);
  line-height: 1.05;
}

/* Footer contact hub: give the closing section a clear, useful rhythm. */
.footer-info {
  background:
    radial-gradient(circle at 15% 0%, rgba(105, 190, 40, 0.16), transparent 34%),
    radial-gradient(circle at 88% 100%, rgba(105, 190, 40, 0.1), transparent 30%),
    #343a34;
  padding: 58px 24px 46px;
  text-align: left;
}

.footer-container {
  max-width: 1180px;
}

.footer-contact-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.18fr) repeat(2, minmax(0, 1fr));
}

.footer-brand-card,
.footer-info-card,
.footer-contact-card {
  background: rgba(24, 31, 25, 0.78);
  border: 1px solid rgba(164, 220, 123, 0.26);
  border-radius: 12px;
  min-height: 250px;
  padding: 25px 26px;
}

.footer-brand-card {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-kicker {
  color: #a7df7d;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.footer-title {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: .02em;
  margin: 7px 0 6px;
  text-align: left;
}

.footer-site-logo {
  margin: 2px 0 14px;
  max-width: 82px;
  width: 82px;
}

.footer-lead,
.footer-card-copy {
  color: #d7ded8;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  max-width: 34ch;
}

.footer-contact-button {
  align-items: center;
  display: inline-flex;
  gap: 9px;
  margin: 20px 0 0;
  min-height: 44px;
}

.footer-info-card,
.footer-contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-info-card h3,
.footer-contact-card h3 {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.1;
  margin: 8px 0 12px;
}

.footer-hours-list {
  border-top: 1px solid rgba(215, 222, 216, 0.2);
  display: grid;
  gap: 9px;
  margin-top: 18px;
  padding-top: 14px;
}

.footer-hours-list div {
  align-items: baseline;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.footer-hours-list span {
  color: #b9c5bb;
  font-size: 13px;
}

.footer-hours-list strong {
  color: #ffffff;
  font-size: 13px;
  text-align: right;
}

.footer-phone-link {
  align-items: center;
  color: #a7df7d;
  display: inline-flex;
  font-size: 21px;
  font-weight: 950;
  gap: 10px;
  margin: 2px 0 14px;
  text-decoration: none;
}

.footer-phone-link:hover,
.footer-phone-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.footer-service-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin: 22px auto 0;
}

.footer-service-badges span {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(164, 220, 123, 0.26);
  border-radius: 999px;
  color: #dce7dd;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 7px;
  min-height: 32px;
  padding: 0 13px;
}

.footer-service-badges i {
  color: #a7df7d;
}

.footer-info .client-reviews-carousel {
  margin-top: 38px;
}

.footer-info .footer-text {
  border-top: 1px solid rgba(215, 222, 216, 0.16);
  margin-top: 26px;
  padding-top: 22px;
}

@media (max-width: 900px) {
  .footer-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-card {
    grid-column: 1 / -1;
    min-height: 220px;
  }
}

@media (max-width: 620px) {
  .footer-info {
    padding: 42px 14px 34px;
  }

  .footer-contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand-card {
    grid-column: auto;
  }

  .footer-brand-card,
  .footer-info-card,
  .footer-contact-card {
    min-height: 0;
    padding: 22px 20px;
  }

  .footer-title {
    font-size: 30px;
  }

  .footer-hours-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .footer-hours-list strong {
    text-align: left;
  }

  .footer-service-badges {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-service-badges span {
    justify-content: center;
  }
}

/* Accueil: titre du catalogue aéré et contenu dans sa colonne. */
.search-panel.home-landing .home-intro {
  margin-bottom: clamp(18px, 2.2vw, 30px);
  max-width: min(100%, 1180px);
  padding-inline: clamp(0px, 1vw, 12px);
}

.search-panel.home-landing .home-intro h2 {
  font-size: clamp(36px, 4vw, 60px);
  letter-spacing: -0.7px;
  line-height: 0.96;
  max-width: 900px;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.search-panel.home-landing .home-intro p {
  margin-top: 14px;
}

@media (max-width: 680px) {
  .search-panel.home-landing .home-intro {
    max-width: 100%;
    padding-inline: 0;
  }

  .search-panel.home-landing .home-intro h2 {
    font-size: clamp(34px, 10vw, 52px);
    line-height: 0.98;
    max-width: 100%;
  }
}

/* Finition visuelle globale : rythmes, contrôles et petits écrans. */
:root {
  --ui-control-height: 44px;
  --ui-gap: clamp(12px, 1.8vw, 20px);
}

button,
.secondary-button,
.danger-button,
.remove-button,
.checkout-submit,
input,
select,
textarea {
  border-radius: 8px;
}

button {
  font-weight: 800;
  letter-spacing: .01em;
  min-height: var(--ui-control-height);
}

button:active {
  transform: translateY(0);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(73, 173, 24, .28);
  outline-offset: 2px;
}

.secondary-button {
  background: #f0f4f0;
  border: 1px solid #d4dfd5;
  color: #26352b;
  font-weight: 800;
}

.secondary-button:hover,
.secondary-button:focus-visible {
  background: #e4eee4;
  border-color: #69be28;
  color: #173d20;
}

.danger-button {
  border: 1px solid #9f261d;
  font-weight: 800;
}

.standalone-page,
.content-grid {
  padding-bottom: clamp(20px, 3vw, 36px);
  padding-top: clamp(16px, 2.5vw, 30px);
}

.cart-page-grid,
.account-orders-card,
.admin-command-center {
  gap: var(--ui-gap);
}

.cart-panel,
.cart-recap-card,
.account-card,
.admin-search-panel,
.checkout-white-section,
.checkout-white-recap {
  border-radius: 10px;
}

.checkout-submit,
.cart-checkout-button,
[data-show-checkout],
[data-checkout-test] {
  font-weight: 900;
  min-height: 48px;
}

@media (max-width: 1050px) {
  .topbar {
    min-height: 64px;
  }

  .topbar .brand-home {
    flex-basis: 160px;
    min-height: 64px;
  }

  .topbar .brand-logo-main {
    width: min(145px, 100%);
  }

  .top-actions .icon-button,
  .top-actions #loginButton,
  .top-actions #accountButton,
  .top-actions #adminButton,
  .top-actions #cartButton,
  .top-actions #logoutButton {
    min-height: 64px;
  }
}

@media (max-width: 820px) {
  .home-main-grid,
  .cart-page-grid {
    grid-template-columns: 1fr;
  }

  .cart-recap {
    position: static;
  }

  .admin-command-head,
  .admin-order-searchbar,
  .admin-order-toolbar {
    border-radius: 10px;
    padding: 14px;
  }

  .order-workflow-grid {
    gap: 8px;
  }

  .choice-card {
    border-radius: 9px;
  }
}

@media (max-width: 600px) {
  :root {
    --site-pad: 12px;
  }

  body {
    font-size: 14px;
  }

  .topbar {
    padding: 0 8px;
  }

  .topbar .menu-button {
    min-height: 42px;
    padding-inline: 11px;
  }

  .topbar .brand-home {
    flex-basis: 132px;
    min-height: 58px;
  }

  .topbar .brand-logo-main {
    width: min(122px, 100%);
  }

  .top-actions {
    gap: 4px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 4px 0;
  }

  .top-actions .icon-button,
  .top-actions #loginButton,
  .top-actions #accountButton,
  .top-actions #adminButton,
  .top-actions #cartButton,
  .top-actions #logoutButton {
    border: 1px solid #e1e8e1;
    border-radius: 7px;
    min-height: 38px;
    padding-inline: 7px;
  }

  .standalone-page,
  .content-grid {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 14px;
  }

  .account-tabs {
    flex-wrap: nowrap;
    margin-bottom: 12px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: thin;
  }

  .account-tabs button {
    flex: 0 0 auto;
    min-height: 40px;
    white-space: nowrap;
  }

  .account-card,
  .cart-panel,
  .cart-recap-card,
  .admin-search-panel {
    padding: 14px;
  }

  .account-section-head {
    gap: 12px;
  }

  .account-section-head .secondary-button,
  .cart-clear-button {
    justify-self: stretch;
    width: 100%;
  }

  .cart-panel-title {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
    padding-inline: 0;
  }

  .cart-page-head {
    display: none;
  }

  .cart-page-line {
    background: #ffffff;
    border: 1px solid #e2e9e2;
    border-radius: 9px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 8px 0;
    padding: 12px;
  }

  .cart-page-line > div:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }

  .cart-page-line > .quantity-stepper {
    grid-column: 1;
    grid-row: 2;
  }

  .cart-page-line > div:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
    text-align: right;
  }

  .cart-page-line > .cart-trash {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
  }

  .checkout-modal-card:has(.checkout-white-layout) {
    height: calc(100vh - 8px);
    max-height: calc(100vh - 8px);
  }

  .checkout-white-layout {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .checkout-white-main {
    overflow: visible;
  }

  .checkout-white-recap {
    border-top: 1px solid #dfe8df;
  }

  .checkout-bottom-actions,
  .checkout-bottom-actions-single {
    grid-template-columns: 1fr;
  }

  .choice-card {
    gap: 9px;
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 9px 10px;
  }

  .choice-card-cofidis {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .choice-icon-cofidis {
    width: 58px;
  }

  .choice-price,
  .choice-status {
    grid-column: 2;
    justify-self: start;
  }

  .choice-status {
    margin-top: -2px;
  }

  .service-point-picker,
  .checkout-note-field,
  .guest-checkout-form {
    padding: 12px;
  }

  .order-card-head {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .order-total {
    justify-items: start;
  }

  .order-actions,
  .order-tracking-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .order-actions > button,
  .order-actions > a,
  .order-tracking-actions > button,
  .order-tracking-actions > a {
    justify-content: center;
    width: 100%;
  }

  .order-tracking-state {
    margin-right: 0;
  }
}

@media (max-width: 420px) {
  .topbar .brand-home {
    flex-basis: 110px;
  }

  .topbar .brand-logo-main {
    width: 105px;
  }

  .topbar .menu-button span {
    display: none;
  }

  .topbar .menu-button {
    min-width: 42px;
    padding-inline: 9px;
  }

  .home-intro h2,
  .search-panel.home-landing .home-intro h2 {
    font-size: clamp(32px, 11vw, 46px);
  }

  .account-orders-summary {
    gap: 8px;
  }

  .account-order-stat {
    min-height: 64px;
    padding: 10px 12px;
  }
}

/* Footer : même alignement pour les trois cartes. */
.footer-info-card.footer-hours,
.footer-contact-card {
  align-items: flex-start;
  text-align: left;
}

.footer-info-card.footer-hours .footer-hours-list,
.footer-contact-card .footer-card-copy {
  width: 100%;
}

/* Admin et commandes : même rythme visuel et états toujours lisibles. */
.admin-page,
.admin-dialog {
  --admin-line: #dfe7df;
  --admin-surface: #ffffff;
}

.admin-page .admin-tabs,
.admin-dialog .admin-tabs {
  background: var(--admin-surface);
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(14, 21, 17, .04);
  margin-bottom: 16px;
  padding: 8px;
}

.admin-page .admin-tabs button,
.admin-dialog .admin-tabs button {
  min-height: 42px;
  padding-inline: 14px;
}

.admin-command-center,
.admin-order-search-card,
.customer-order-admin,
.admin-search-panel {
  border-radius: 12px;
}

.admin-command-head {
  border-radius: 12px;
  padding: clamp(16px, 2.5vw, 24px);
}

.admin-order-searchbar,
.admin-order-toolbar,
.label-toolbar {
  border-radius: 10px;
}

.admin-order-toolbar {
  align-items: center;
}

.admin-order-toolbar h3 {
  letter-spacing: .01em;
}

.order-workflow-grid {
  gap: 12px;
}

.order-workflow-card {
  border-radius: 10px;
  min-height: 144px;
  padding: 15px;
}

.order-card,
.customer-order-admin {
  border-color: var(--admin-line);
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(14, 21, 17, .05);
}

.order-card-head {
  gap: 16px;
}

.order-actions {
  border-top: 1px solid #edf1ed;
  padding-top: 12px;
}

.admin-error-panel,
.admin-inline-state {
  align-items: center;
  border-radius: 10px;
  display: flex;
  gap: 12px;
}

.admin-error-panel {
  background: #fff7f5;
  border: 1px solid #f1c2ba;
  border-left: 5px solid #b42318;
  box-shadow: 0 12px 28px rgba(180, 35, 24, .08);
  margin: 18px 0;
  padding: 18px 20px;
}

.admin-error-panel > div {
  flex: 1 1 auto;
  min-width: 0;
}

.admin-error-panel h2 {
  color: #7d241a;
  font-size: clamp(20px, 3vw, 30px);
  margin: 3px 0 5px;
  text-transform: uppercase;
}

.admin-error-panel p {
  color: #693b35;
  margin: 0;
  overflow-wrap: anywhere;
}

.admin-state-icon {
  align-items: center;
  background: #b42318;
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 38px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.admin-inline-state {
  background: #f6f8f6;
  border: 1px solid var(--admin-line);
  color: #526157;
  justify-content: center;
  margin: 10px 0;
  min-height: 68px;
  padding: 14px;
}

.admin-inline-state i {
  color: #4f8f27;
  font-size: 18px;
}

.admin-inline-state.is-error {
  background: #fff7f5;
  border-color: #f1c2ba;
  color: #7d241a;
}

/* Cartes produits : variantes lisibles sans compression ni mots coupés. */
.home-market-grid .featured-size-picker {
  align-items: stretch;
  gap: 6px;
  margin-top: 3px;
  padding: 3px 0 7px;
  scrollbar-color: #aab7ac transparent;
}

.home-market-grid .featured-size-picker button {
  flex: 0 0 auto;
  line-height: 1.15;
  min-height: 42px;
  min-width: 58px;
  padding: 7px 10px;
  white-space: nowrap;
}

.home-market-grid .featured-product-body > strong {
  line-height: 1.2;
}

.home-market-grid .featured-product-body p {
  line-height: 1.4;
}

@media (max-width: 680px) {
  .home-market-grid .featured-product-card {
    flex-basis: min(78vw, 240px);
    height: auto;
    min-height: 390px;
  }

  .home-market-grid .featured-product-media {
    height: 138px;
  }

  .home-market-grid .featured-product-body {
    gap: 7px;
    padding: 12px;
  }

  .home-market-grid .featured-size-picker button {
    min-width: 62px;
  }
}

.admin-inline-state.is-error i {
  color: #b42318;
}

.admin-inline-state button {
  margin-left: auto;
}

@media (max-width: 620px) {
  .admin-page .admin-tabs,
  .admin-dialog .admin-tabs {
    gap: 6px;
    overflow-x: auto;
    padding: 6px;
  }

  .admin-page .admin-tabs button,
  .admin-dialog .admin-tabs button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .admin-error-panel {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 15px;
  }

  .admin-error-panel button {
    margin-left: 50px;
    width: calc(100% - 50px);
  }

  .admin-inline-state {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .admin-inline-state button {
    margin-left: 0;
    width: 100%;
  }
}

/* Même finition pour les cartes du catalogue, des packs et des accessoires. */
.featured-product-card .featured-product-body {
  min-width: 0;
}

.featured-product-card .featured-product-body > strong {
  overflow-wrap: anywhere;
}

.featured-product-card .featured-size-picker {
  align-items: stretch;
  gap: 6px;
  max-width: 100%;
  overflow-x: auto;
  padding: 3px 0 7px;
  scrollbar-color: #aab7ac transparent;
  scrollbar-width: thin;
}

.featured-product-card .featured-size-picker button {
  flex: 0 0 auto;
  line-height: 1.15;
  min-height: 42px;
  min-width: 58px;
  padding: 7px 10px;
  white-space: nowrap;
}

.featured-modal-grid .featured-product-card {
  min-height: 390px;
}

@media (max-width: 820px) {
  .featured-modal-grid {
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  }

  .featured-modal-grid .featured-product-card {
    min-height: 390px;
  }
}

@media (max-width: 560px) {
  .featured-modal-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .featured-modal-grid .featured-product-card {
    min-height: 380px;
  }

  .featured-modal-grid .featured-size-picker button {
    min-width: 62px;
  }
}

/* Garage client accessible directement depuis la recherche principale. */
.search-panel.home-landing .hero-search-line {
  grid-template-columns: 26px minmax(0, 1fr) minmax(128px, 174px) 58px;
}

.search-panel.home-landing .hero-garage-button {
  align-items: center;
  background: #172019;
  border: 1px solid #172019;
  border-radius: 7px;
  color: #ffffff;
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  height: 48px;
  justify-content: center;
  min-height: 48px;
  padding: 0 8px;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
  width: 58px;
}

.search-panel.home-landing .hero-garage-button i {
  color: var(--catalog-green);
  font-size: 17px;
}

.search-panel.home-landing .hero-garage-button span {
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .2px;
  line-height: 1;
}

.search-panel.home-landing .hero-garage-button:hover,
.search-panel.home-landing .hero-garage-button:focus-visible {
  background: #243126;
  border-color: var(--catalog-green);
  box-shadow: 0 0 0 3px rgba(73, 173, 24, .15);
  color: #ffffff;
  outline: 0;
  transform: none;
}

.search-panel.home-landing .hero-garage-button.has-active-vehicle {
  background: #2b6816;
  border-color: var(--catalog-green);
  box-shadow: inset 0 -4px 0 var(--catalog-green);
}

.search-panel.home-landing .hero-garage-button.is-guest {
  background: #edf1ee;
  border-color: #d6ded8;
  color: #748078;
}

.search-panel.home-landing .hero-garage-button.is-guest i {
  color: #8e9b92;
}

.search-panel.home-landing .hero-garage-button.is-guest:hover,
.search-panel.home-landing .hero-garage-button.is-guest:focus-visible {
  background: #e1e9e2;
  border-color: #aebdb1;
  box-shadow: 0 0 0 3px rgba(101, 120, 104, .12);
  color: #425047;
}

.search-panel.home-landing .home-command-center .search-console {
  grid-template-columns: 1fr 1fr 1fr minmax(245px, 1.2fr);
}

.search-panel.home-landing .home-command-center .search-console:has(.search-year-field[hidden]) {
  grid-template-columns: 1fr 1fr minmax(245px, 1.2fr);
}

@media (max-width: 760px) {
  .search-panel.home-landing .hero-search-line {
    grid-template-columns: 22px minmax(0, 1fr) minmax(112px, 132px) 52px;
  }

  .search-panel.home-landing .hero-garage-button {
    width: 52px;
  }

  .search-panel.home-landing .home-command-center .search-console,
  .search-panel.home-landing .home-command-center .search-console:has(.search-year-field[hidden]) {
    grid-template-columns: 1fr 1fr;
  }

  .search-panel.home-landing .home-command-center .search-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .search-panel.home-landing .hero-search-line {
    grid-template-columns: 20px minmax(0, 1fr) 48px 44px;
    padding-left: 11px;
  }

  .search-panel.home-landing .hero-search-line #searchButton {
    font-size: 0;
    gap: 0;
    min-width: 48px;
    padding: 0;
  }

  .search-panel.home-landing .hero-search-line #searchButton i {
    font-size: 15px;
  }

  .search-panel.home-landing .hero-garage-button {
    width: 44px;
  }

  .search-panel.home-landing .hero-garage-button span {
    display: none;
  }
}

.garage-mode-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 620px) {
  .garage-mode-actions {
    grid-template-columns: 1fr;
  }
}

/* Espace compte : commandes plus lisibles et plus rapides à parcourir. */
.account-orders-card {
  gap: 20px;
  padding: clamp(18px, 3vw, 30px);
}

.account-section-head {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.account-section-head h3 {
  margin-top: 5px;
}

.account-section-head p {
  color: #617067;
  font-size: 13px;
  line-height: 1.5;
  margin: 7px 0 0;
  max-width: 58ch;
}

.account-section-head .kicker {
  color: #31860e;
  font-size: 11px;
  letter-spacing: .1em;
}

.account-orders-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-order-stat {
  background: linear-gradient(145deg, #f6fbf4, #ffffff);
  border: 1px solid #dbe8d9;
  border-radius: 10px;
  display: grid;
  gap: 2px;
  min-height: 86px;
  padding: 13px 15px;
}

.account-order-stat span {
  color: #405047;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.account-order-stat strong {
  color: #173c1d;
  font-size: 28px;
  line-height: 1;
}

.account-order-stat small {
  color: #718076;
  font-size: 11px;
}

.account-order-stat.is-loading {
  opacity: .68;
}

.client-order-card {
  border-left: 4px solid #69be28;
  gap: 14px;
  padding: clamp(15px, 2.5vw, 22px);
}

.client-order-card .order-card-kicker {
  color: #31860e;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.client-order-card .order-card-head strong {
  font-size: clamp(18px, 2.2vw, 24px);
}

.client-order-card .order-total > strong {
  color: #111711;
  font-size: 21px;
}

.client-order-card .client-order-status {
  font-size: 11px !important;
  letter-spacing: .02em;
  padding: 7px 10px;
}

.order-progress {
  align-items: flex-start;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 2px 4px 4px;
}

.order-progress span {
  color: #89958d;
  display: grid;
  font-size: 10px;
  font-weight: 850;
  gap: 6px;
  justify-items: center;
  position: relative;
  text-align: center;
}

.order-progress span:not(:last-child)::after {
  background: #dfe7df;
  content: "";
  height: 2px;
  left: calc(50% + 9px);
  position: absolute;
  right: calc(-50% + 9px);
  top: 5px;
}

.order-progress i {
  background: #d4ded5;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #c9d5ca;
  height: 10px;
  position: relative;
  width: 10px;
  z-index: 1;
}

.order-progress span.is-active {
  color: #276b12;
}

.order-progress span.is-active i {
  background: #69be28;
  box-shadow: 0 0 0 1px #69be28;
}

.order-progress span.is-active:not(:last-child)::after {
  background: #9bd67c;
}

.order-progress span.is-current {
  font-weight: 950;
}

.order-card-meta {
  align-items: center;
  border-bottom: 1px solid #edf0ed;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-bottom: 12px;
}

.order-card-meta span {
  align-items: center;
  color: #56645a;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 7px;
}

.order-card-meta i {
  color: #4ca51b;
}

.client-order-card .order-items {
  border: 1px solid #e5ece5;
  border-radius: 8px;
  overflow: hidden;
  padding: 0 12px;
}

.order-items-head {
  align-items: center;
  background: #f7faf7;
  border-bottom: 1px solid #e5ece5;
  display: flex;
  justify-content: space-between;
  margin: 0 -12px;
  padding: 10px 12px;
}

.order-items-head strong {
  color: #243329;
  font-size: 12px;
  text-transform: uppercase;
}

.order-items-head span {
  color: #718076;
  font-size: 11px;
}

.client-order-card .order-item {
  grid-template-columns: 112px minmax(0, 1fr) 65px 90px;
  padding: 11px 0;
}

.client-order-card .order-actions {
  justify-content: flex-start;
}

.client-order-card .order-actions button {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

@media (max-width: 620px) {
  .account-section-head {
    display: grid;
  }

  .account-section-head .secondary-button {
    justify-self: start;
  }

  .account-orders-summary {
    grid-template-columns: 1fr;
  }

  .account-order-stat {
    min-height: 70px;
  }

  .order-progress {
    gap: 2px;
    padding-inline: 0;
  }

  .order-progress span {
    font-size: 9px;
  }

  .client-order-card .order-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .client-order-card .order-item > span:first-child,
  .client-order-card .order-item > strong {
    grid-column: 1 / -1;
  }

  .client-order-card .order-item > span:last-child {
    justify-self: end;
  }

  .client-order-card .order-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .client-order-card .order-actions button {
    justify-content: center;
    width: 100%;
  }
}

/* Left menu: squared drawer, clean small angles inside. */
.shop-menu-panel {
  border-radius: 0;
  border-right: 4px solid var(--kawa-green);
  padding: 18px 18px 22px;
}

.shop-menu-close {
  background: #b7e99f;
  border-radius: 2px;
  color: #112011;
}

.shop-menu-list {
  gap: 4px;
}

.shop-menu-list button,
.shop-menu-list a {
  border-bottom: 1px solid #dde5dd;
  border-radius: 4px;
  color: #202620;
  font-weight: 700;
  padding: 0 4px 0 0;
}

.shop-menu-list button:hover,
.shop-menu-list a:hover {
  background: #f5f8f5;
  color: #286e11;
}

@media (max-width: 820px) {
  .topbar .brand-home {
    min-height: 54px;
    padding: 3px 10px;
  }

  .topbar .brand-logo-main {
    height: 52px;
    max-width: 70px;
    width: 70px;
  }
}

/* Home search polish: dropdowns must read as controls, not plain white fields. */
.search-panel.home-landing .home-command-center .search-console select {
  appearance: none;
  background-color: #121812;
  background-image:
    linear-gradient(45deg, transparent 50%, #69BE28 50%),
    linear-gradient(135deg, #69BE28 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 50%,
    calc(100% - 10px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  border: 1px solid rgba(105, 190, 40, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 950;
  padding-right: 28px;
  text-transform: uppercase;
}

.search-panel.home-landing .home-command-center .search-console select:hover,
.search-panel.home-landing .home-command-center .search-console select:focus {
  background-color: #182118;
  border-color: #69BE28;
  box-shadow: 0 0 0 2px rgba(105, 190, 40, 0.18);
  outline: none;
}

.search-panel.home-landing .home-command-center .search-console select option {
  background: #ffffff;
  color: #101510;
}

.search-panel.home-landing .home-command-center .home-stock-form {
  margin-top: 38px;
}

@media print {
  body * {
    visibility: hidden;
  }

  .labels-preview,
  .labels-preview * {
    visibility: visible;
  }

  .labels-preview {
    display: grid !important;
    gap: 0;
    grid-template-columns: 1fr;
    left: 0;
    margin: 0;
    position: absolute;
    top: 0;
  }

  .print-document-mode .labels-preview {
    width: 210mm;
  }

  .order-document {
    border: 0;
    box-shadow: none;
    height: auto;
    min-height: 0;
    page: document;
  }

  .client-document-toolbar {
    display: none !important;
  }
}

@page document {
  margin: 8mm;
  size: A4;
}

/* Catalogue storefront — design aligned with the supplied Motoworld reference. */
:root {
  --catalog-green: #49ad18;
  --catalog-green-dark: #2f8f0c;
  --catalog-ink: #10131a;
  --catalog-muted: #5d636b;
  --catalog-line: #e3e7e4;
  --catalog-orange: #ff7600;
  --catalog-width: min(1420px, calc(100% - 48px));
}

body {
  background: #f8faf8;
  color: var(--catalog-ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.topbar {
  align-items: stretch;
  background: #ffffff;
  border-bottom: 1px solid #e6e9e7;
  box-shadow: 0 2px 12px rgba(17, 22, 18, 0.04);
  color: var(--catalog-ink);
  display: flex;
  height: 72px;
  justify-content: flex-start;
  min-width: 0;
  padding: 0 22px;
}

.topbar > *,
.top-main-nav,
.top-actions {
  min-width: 0;
}

.topbar .menu-button {
  align-self: center;
  background: #ffffff;
  border: 1px solid #dfe3e1;
  border-radius: 7px;
  box-shadow: none;
  color: #171a1d;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 800;
  flex: 0 0 auto;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  text-transform: none;
}

.topbar .menu-button i {
  background: none;
  border: 0;
  color: #111519;
  font-size: 22px;
  height: auto;
  width: auto;
}

.topbar .menu-button:hover {
  background: #f7f9f7;
  box-shadow: none;
  color: var(--catalog-green-dark);
}

.topbar .brand-home {
  background: transparent;
  border-right: 1px solid #e8ece9;
  display: flex;
  flex: 0 0 180px;
  justify-content: center;
  min-height: 72px;
  padding: 4px 7px;
}

.topbar .brand-logo-main {
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  width: 160px;
}

.top-main-nav {
  align-items: stretch;
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  margin-left: 0;
  min-width: 0;
}

.top-main-nav button {
  background: transparent;
  border: 0;
  color: #15181d;
  cursor: pointer;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 750;
  padding: 0 clamp(13px, 1.6vw, 25px);
  position: relative;
  white-space: nowrap;
}

.top-main-nav button:hover {
  color: var(--catalog-green-dark);
}

.top-main-nav button.is-active {
  background: linear-gradient(135deg, #58b623, #3b9c10);
  color: #ffffff;
}

.top-main-nav .vin-nav-cta {
  background: linear-gradient(135deg, #61c62b, #37980d);
  box-shadow: inset 0 -4px 0 rgba(22, 92, 4, 0.24), 0 7px 18px rgba(55, 152, 13, 0.2);
  color: #ffffff;
  font-weight: 900;
  padding-inline: clamp(18px, 2vw, 30px);
}

.top-main-nav .vin-nav-cta i {
  font-size: 16px;
  margin-right: 8px;
}

.top-main-nav .vin-nav-cta:hover {
  background: linear-gradient(135deg, #70d238, #45a916);
  color: #ffffff;
}

.top-actions {
  background: #ffffff;
  flex-wrap: nowrap;
}

.top-actions .icon-button,
.top-actions #loginButton,
.top-actions #accountButton,
.top-actions #adminButton,
.top-actions #cartButton,
.top-actions #logoutButton {
  background: #ffffff;
  border: 0;
  color: #171a1d;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 750;
  min-height: 72px;
  padding: 0 17px;
  text-transform: none;
}

.top-actions #loginButton::before,
.top-actions #accountButton::before {
  content: "\f2bd";
  font-family: "Font Awesome 6 Free";
  font-size: 23px;
  font-weight: 400;
  margin-right: 10px;
}

.top-actions #accountButton {
  max-width: 185px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-actions #logoutButton::before {
  content: "\f2f5";
  font-family: "Font Awesome 6 Free";
  font-size: 16px;
  font-weight: 900;
  margin-right: 7px;
}

.top-actions #cartButton::before {
  content: "\f07a";
  font-family: "Font Awesome 6 Free";
  font-size: 21px;
  font-weight: 900;
  margin-right: 3px;
}

.top-actions .icon-button:hover,
.top-actions #loginButton:hover,
.top-actions #accountButton:hover,
.top-actions #adminButton:hover,
.top-actions #cartButton:hover,
.top-actions #logoutButton:hover {
  background: #f5f8f5;
  color: var(--catalog-green-dark);
}

.top-actions #cartCount {
  align-items: center;
  background: var(--catalog-orange);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 10px;
  height: 20px;
  justify-content: center;
  min-width: 20px;
  padding: 0 5px;
}

.layout {
  padding-bottom: 38px;
}

.search-panel.home-landing {
  background: #f4f7f5;
  border: 0;
  color: var(--catalog-ink);
  min-height: 338px;
  overflow: visible;
  padding: 30px 24px 12px;
}

.search-panel.home-landing .hero-slides {
  inset: 0;
  overflow: hidden;
}

.search-panel.home-landing .hero-slide {
  background-position: right 48%;
  background-size: 54% auto;
  filter: brightness(1.2) saturate(0.82);
  transform: none;
}

.search-panel.home-landing .hero-slide::after {
  background:
    linear-gradient(90deg, #f6f8f7 0%, rgba(246, 248, 247, 0.98) 45%, rgba(246, 248, 247, 0.66) 66%, rgba(246, 248, 247, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(242, 246, 243, 0.62));
}

.search-panel.home-landing .home-shell {
  margin: 0 auto;
  max-width: 1420px;
  position: relative;
  width: 100%;
  z-index: 2;
}

.search-panel.home-landing .home-intro {
  display: block;
  margin: 0 0 14px;
  max-width: 900px;
  padding: 0;
}

.search-panel.home-landing .home-intro .kicker {
  color: var(--catalog-green-dark);
  display: block;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.2px;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.search-panel.home-landing .home-intro h2 {
  color: #11141a;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: clamp(39px, 4.1vw, 62px);
  font-weight: 700;
  letter-spacing: -1.1px;
  line-height: 0.98;
  margin: 0 0 8px;
  max-width: 980px;
  text-shadow: none;
  text-transform: uppercase;
}

.search-panel.home-landing .home-intro h2::after {
  content: none;
}

.search-panel.home-landing .home-intro h2 em {
  color: var(--catalog-green);
  font-style: normal;
}

.search-panel.home-landing .home-intro p {
  color: #3e444b;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  max-width: 650px;
  text-shadow: none;
}

.search-panel.home-landing .home-command-center {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 12px;
  padding: 0;
  position: relative;
}

.hero-search-line {
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(72, 174, 24, 0.72);
  border-radius: 9px;
  box-shadow: 0 7px 18px rgba(35, 63, 37, 0.13);
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 190px;
  min-height: 62px;
  overflow: visible;
  padding: 6px 7px 6px 18px;
}

.hero-search-line > i {
  color: #61686e;
  font-size: 21px;
}

.hero-search-line .search-value {
  display: block;
  min-width: 0;
  position: relative;
}

.hero-search-line .search-value > span {
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.hero-search-line #searchValueInput {
  background: transparent;
  border: 0;
  color: #171a1d;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 500;
  height: 48px;
  outline: 0;
  padding: 0 15px;
  width: 100%;
}

.hero-search-line #searchButton {
  align-items: center;
  background: linear-gradient(135deg, #5ebc22, #3a9c10);
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  display: inline-flex;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 850;
  gap: 17px;
  height: 48px;
  justify-content: center;
  text-transform: uppercase;
}

.hero-search-line #searchButton:hover {
  background: linear-gradient(135deg, #4ead18, #328c0b);
}

.hero-search-line .search-history-panel {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  left: 0;
  margin: -3px 15px 5px;
  overflow-x: auto;
  padding-bottom: 2px;
  right: 0;
  scrollbar-width: thin;
  top: calc(100% + 8px);
  z-index: 20;
}

.hero-search-line .search-history-panel[hidden] {
  display: none;
}

.hero-search-line .search-history-panel::before {
  color: #667169;
  flex: 0 0 auto;
  font-size: 9px;
  letter-spacing: 0.7px;
}

.hero-search-line .search-history-panel button {
  align-items: center;
  background: #eff8eb;
  border: 1px solid #a9d895;
  color: #245f10;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 10px;
  gap: 6px;
  justify-content: center;
  max-width: 260px;
  min-height: 27px;
  overflow: hidden;
  padding: 4px 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-search-line .search-history-panel button:hover,
.hero-search-line .search-history-panel button:focus {
  background: #e3f4db;
  border-color: var(--catalog-green);
  color: #174b08;
}

.hero-search-line .search-history-panel small {
  align-items: center;
  background: #ffffff;
  border-radius: 999px;
  color: #397d1d;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 9px;
  height: 18px;
  justify-content: center;
  margin-left: 0;
  min-width: 18px;
  padding: 0 4px;
}

.search-panel.home-landing .home-command-center .search-console,
.search-panel.home-landing .home-command-center .search-console:has(.search-year-field[hidden]) {
  align-items: end;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e0e5e1;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(29, 42, 31, 0.08);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr 1fr 1fr minmax(245px, 1.2fr);
  padding: 10px 18px 12px;
}

.search-panel.home-landing .home-command-center .search-console label {
  color: #3b4248;
  display: grid;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 850;
  gap: 4px;
  text-transform: uppercase;
}

.search-panel.home-landing .home-command-center .search-garage-entry {
  color: #3b4248;
  display: grid;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 850;
  gap: 4px;
  text-transform: uppercase;
}

.search-panel.home-landing .home-command-center .search-garage-entry > button {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d9dfdb;
  border-radius: 5px;
  color: #191d21;
  display: grid;
  gap: 8px;
  grid-template-columns: 20px minmax(0, 1fr) 12px;
  height: 37px;
  padding: 0 11px;
  text-align: left;
  text-transform: none;
  width: 100%;
}

.search-panel.home-landing .home-command-center .search-garage-entry > button:hover {
  background: #f4faf1;
  border-color: var(--catalog-green);
  box-shadow: 0 0 0 2px rgba(73, 173, 24, 0.1);
}

.search-panel.home-landing .home-command-center .search-garage-entry > button > i:first-child {
  color: var(--catalog-green-dark);
}

.search-panel.home-landing .home-command-center .search-garage-entry > button > i:last-child {
  color: #59615d;
  font-size: 9px;
  justify-self: end;
}

.search-panel.home-landing .home-command-center .search-garage-entry > button strong {
  font-size: 11px;
  font-weight: 750;
}

.search-panel.home-landing .home-command-center .search-console input,
.search-panel.home-landing .home-command-center .search-console select {
  appearance: none;
  background-color: #ffffff;
  background-image:
    linear-gradient(45deg, transparent 50%, #1c2226 50%),
    linear-gradient(135deg, #1c2226 50%, transparent 50%);
  background-position: calc(100% - 14px) 51%, calc(100% - 9px) 51%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  border: 1px solid #d9dfdb;
  border-radius: 5px;
  box-shadow: none;
  color: #191d21;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 650;
  height: 37px;
  padding: 0 29px 0 11px;
  text-transform: none;
  width: 100%;
}

.search-panel.home-landing .home-command-center .search-console input {
  background-image: none;
}

.search-panel.home-landing .home-command-center .search-console select:hover,
.search-panel.home-landing .home-command-center .search-console select:focus,
.search-panel.home-landing .home-command-center .search-console input:hover,
.search-panel.home-landing .home-command-center .search-console input:focus {
  background-color: #ffffff;
  border-color: var(--catalog-green);
  box-shadow: 0 0 0 2px rgba(73, 173, 24, 0.1);
  color: #191d21;
  outline: 0;
}

.search-panel.home-landing .home-command-center .search-console select option {
  background: #ffffff;
  color: #191d21;
}

.search-panel.home-landing .home-command-center .search-actions {
  display: grid;
  gap: 7px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.search-panel.home-landing .home-command-center .garage-launch-button {
  align-items: center;
  background: linear-gradient(135deg, #181d23, #0e1115);
  border: 0;
  border-radius: 5px;
  color: #ffffff;
  display: flex;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 850;
  height: 39px;
  justify-content: space-between;
  padding: 0 16px;
  text-transform: uppercase;
}

.search-panel.home-landing .home-command-center #clearSearchButton {
  background: #f1f4f2;
  border: 1px solid #d7ddda;
  border-radius: 5px;
  color: #50575d;
  font-size: 11px;
  height: 39px;
  padding: 0 11px;
}

.search-panel.home-landing .garage-search-note {
  background: #ffffff;
  border: 1px solid var(--catalog-green);
  border-radius: 6px;
  color: #263229;
  margin: 0;
  padding: 8px 12px;
}

.home-category-nav {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 14px auto 12px;
  max-width: 1420px;
  width: var(--catalog-width);
}

.home-category-nav button {
  align-items: center;
  background: #ffffff;
  border: 1px solid currentColor;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
  gap: 13px;
  justify-content: center;
  min-height: 62px;
  padding: 9px 12px;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.home-category-nav button:hover {
  box-shadow: 0 8px 19px rgba(18, 28, 20, 0.1);
  transform: translateY(-2px);
}

.home-category-nav button i {
  font-size: 25px;
}

.home-category-nav .category-parts { background: #f4fbf0; color: #3f9d18; }
.home-category-nav .category-pack { background: #fff8f2; color: #ff6900; }
.home-category-nav .category-accessory { background: #f3f8ff; color: #1768ba; }
.home-category-nav .category-equipment { background: #faf4ff; color: #6d25b4; }
.home-category-nav .category-clothing { background: #fffaf1; color: #ec8a00; }
.home-category-nav .category-gift { background: #f1fcfc; color: #079da3; }

.home-market-grid {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 265px;
  margin: 0 auto;
  max-width: 1420px;
  width: var(--catalog-width);
}

.home-market-grid .featured-catalog {
  background: #ffffff;
  border: 1px solid var(--catalog-line);
  border-radius: 9px;
  display: grid;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  padding: 13px;
}

.home-market-grid .featured-catalog[hidden] {
  display: none;
}

.home-market-grid .featured-head {
  align-items: center;
  margin: 0;
  max-width: none;
}

.home-market-grid .featured-head > div {
  align-items: baseline;
  display: flex;
  gap: 10px;
}

.home-market-grid .featured-head h2 {
  color: #171a1d;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

.home-market-grid .featured-head small {
  color: #71787d;
  font-size: 11px;
  font-weight: 700;
}

.home-market-grid .featured-head > span,
.home-market-grid .featured-open-all {
  background: transparent;
  border: 0;
  color: var(--catalog-green-dark);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 800;
  min-height: 30px;
  padding: 0 4px;
  text-decoration: underline;
  text-transform: none;
}

.home-market-grid .featured-open-all:hover {
  color: #171a1d;
}

.home-market-grid .featured-tabs,
.home-market-grid .featured-search-bar,
.home-market-grid .featured-category-panel {
  display: none;
}

.home-market-grid .featured-accessory-model-panel,
.home-market-grid .featured-accessory-shop {
  margin: 0;
  max-width: none;
}

.home-market-grid .featured-window {
  margin: 0;
  max-width: none;
}

.home-market-grid .featured-track {
  align-items: flex-start;
  gap: 12px;
}

.home-market-grid .featured-window.is-static .featured-track {
  justify-content: flex-start;
}

.home-market-grid .featured-product-card {
  border: 1px solid #e1e6e2;
  border-radius: 7px;
  box-shadow: none;
  flex: 0 0 clamp(190px, 15.5vw, 220px);
  height: 405px;
  min-height: 0;
}

.home-market-grid .featured-product-media {
  aspect-ratio: auto;
  background: #ffffff;
  height: 126px;
}

.home-market-grid .featured-product-media img {
  padding: 7px 14px;
}

.home-market-grid .featured-product-body {
  gap: 5px;
  padding: 10px;
}

.home-market-grid .featured-type {
  color: var(--catalog-green-dark);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 9px;
}

.home-market-grid .featured-product-body > strong {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 1.25;
  overflow: hidden;
}

.home-market-grid .featured-product-body small,
.home-market-grid .featured-product-body p {
  font-size: 10px;
}

.home-market-grid .featured-product-body small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-market-grid .featured-size-picker {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.home-market-grid .featured-product-foot {
  margin-top: auto;
}

.home-market-grid .featured-product-foot > span {
  color: var(--catalog-green-dark);
  font-size: 9px;
}

.home-market-grid .featured-product-foot > strong {
  color: #171a1d;
  font-size: 15px;
}

.home-market-grid .featured-product-body > button[data-featured-add] {
  background: linear-gradient(135deg, #58b823, #3a9e10);
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 900;
  min-height: 31px;
  text-transform: uppercase;
}

.home-market-grid .featured-arrow {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dfe4e0;
  color: var(--catalog-green-dark);
}

.home-side-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  display: grid;
  gap: 12px;
  padding: 0;
}

.home-help-card,
.home-side-panel .hero-gift-card-promo,
.home-side-panel .home-stock-form {
  background: #ffffff;
  border: 1px solid #e0e5e1;
  border-radius: 8px;
  box-shadow: none;
  color: #171a1d;
  display: grid;
  gap: 12px;
  grid-template-columns: 38px minmax(0, 1fr);
  margin: 0;
  padding: 14px;
  position: static;
  width: auto;
}

.home-help-card > i,
.home-side-panel .hero-gift-card-promo > i {
  color: var(--catalog-green);
  font-size: 27px;
  margin-top: 2px;
}

.home-help-card > div,
.home-side-panel .hero-gift-card-promo > div {
  display: grid;
  gap: 5px;
}

.home-help-card strong,
.home-side-panel .hero-gift-card-promo h3 {
  color: #171a1d;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.home-help-card p,
.home-side-panel .hero-gift-card-promo p {
  color: #4f565c;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 550;
  line-height: 1.45;
  margin: 0;
}

.home-help-card button,
.home-side-panel .hero-gift-card-promo button {
  align-items: center;
  background: transparent;
  border: 1px solid #e1e5e2;
  border-radius: 4px;
  color: var(--catalog-green-dark);
  display: flex;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 900;
  justify-content: space-between;
  min-height: 34px;
  padding: 6px 10px;
  text-transform: uppercase;
  width: 100%;
}

.help-contact-card > i,
.help-contact-card button {
  color: var(--catalog-orange);
}

.home-side-panel .hero-gift-card-promo {
  border-color: #f3ddc6;
}

.home-side-panel .hero-gift-card-promo > i,
.home-side-panel .hero-gift-card-promo .kicker,
.home-side-panel .hero-gift-card-promo button {
  color: var(--catalog-orange);
}

.home-side-panel .hero-gift-card-promo .kicker {
  font-size: 9px;
}

.home-side-panel .home-stock-form {
  display: grid;
  gap: 9px;
  grid-template-columns: 1fr;
}

.home-side-panel .home-stock-form > div:first-child {
  display: grid;
  gap: 2px;
}

.home-side-panel .home-stock-form strong {
  color: #171a1d;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 12px;
}

.home-side-panel .home-stock-form label {
  color: #4e565b;
  display: grid;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 800;
  gap: 4px;
  text-transform: uppercase;
}

.home-side-panel .home-stock-form input {
  background: #ffffff;
  border: 1px solid #dbe1dd;
  border-radius: 4px;
  color: #171a1d;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 11px;
  height: 36px;
  padding: 0 9px;
}

.home-side-panel .home-stock-actions {
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr auto;
}

.home-side-panel .home-stock-actions button {
  background: var(--catalog-green);
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 850;
  min-height: 34px;
  padding: 6px 10px;
}

.home-side-panel .home-stock-actions .secondary-button {
  background: #eef1ef;
  color: #555d59;
}

.home-side-panel .home-stock-result {
  background: #f3f8f2;
  border: 1px solid #d9e8d4;
  border-radius: 5px;
  padding: 8px;
}

.home-side-panel .home-stock-form {
  background: linear-gradient(145deg, #ffffff 0%, #f3faef 100%);
  border-color: #b9dca9;
  border-left: 4px solid var(--catalog-green);
  padding: 14px 13px;
}

.home-side-panel .home-stock-heading {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 34px minmax(0, 1fr);
}

.home-side-panel .home-stock-heading > i {
  align-items: center;
  background: #e4f5dc;
  border-radius: 8px;
  color: var(--catalog-green-dark);
  display: flex;
  font-size: 17px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.home-side-panel .home-stock-heading > div {
  display: grid;
  gap: 2px;
}

.home-side-panel .home-stock-heading .kicker {
  color: var(--catalog-green-dark);
  font-size: 8px;
  letter-spacing: 0.7px;
}

.home-side-panel .home-stock-heading p {
  color: #58615b;
  font-size: 9px;
  line-height: 1.35;
  margin: 0;
}

.home-side-panel .home-stock-form input:focus {
  border-color: var(--catalog-green);
  box-shadow: 0 0 0 3px rgba(73, 173, 24, 0.12);
  outline: 0;
}

.home-side-panel .home-stock-actions .secondary-button {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: 36px;
  padding-inline: 8px;
}

.home-benefits {
  background: #ffffff;
  border: 1px solid #e0e5e1;
  border-radius: 9px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 14px auto 0;
  max-width: 1420px;
  width: var(--catalog-width);
}

.home-benefits article {
  align-items: center;
  display: flex;
  gap: 17px;
  min-height: 76px;
  padding: 13px 24px;
}

.home-benefits article + article {
  border-left: 1px solid #e3e7e4;
}

.home-benefits i {
  color: var(--catalog-green);
  font-size: 27px;
}

.home-benefits div {
  display: grid;
  gap: 3px;
}

.home-benefits strong {
  color: #171a1d;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-benefits span {
  color: #454d52;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 10px;
}

.standalone-page {
  margin-top: 24px;
}

.standalone-page-mode .home-category-nav,
.standalone-page-mode .home-market-grid,
.standalone-page-mode .home-benefits,
.diagram-page-mode .home-category-nav,
.diagram-page-mode .home-market-grid,
.diagram-page-mode .home-benefits {
  display: none;
}

@media (max-width: 1500px) {
  .top-main-nav {
    justify-content: center;
    margin-left: 0;
    overflow: hidden;
  }

  .top-main-nav button {
    font-size: 12px;
    padding-inline: 10px;
  }

  .top-main-nav button[data-home-gift-card] {
    display: none;
  }

  .top-actions .icon-button,
  .top-actions #loginButton,
  .top-actions #accountButton,
  .top-actions #adminButton,
  .top-actions #cartButton,
  .top-actions #logoutButton {
    padding-inline: 12px;
  }
}

@media (max-width: 1650px) {
  .top-main-nav button[data-home-gift-card] {
    display: none;
  }

  .top-main-nav button {
    font-size: clamp(11px, 0.86vw, 14px);
    padding-inline: 9px;
  }

  .top-main-nav .vin-nav-cta {
    padding-inline: 18px;
  }

  .top-actions .icon-button,
  .top-actions #loginButton,
  .top-actions #accountButton,
  .top-actions #adminButton,
  .top-actions #cartButton,
  .top-actions #logoutButton {
    padding-inline: 10px;
  }
}

@media (max-width: 1280px) {
  .top-main-nav {
    margin-left: 0;
  }

  .top-main-nav button {
    padding-inline: 10px;
  }

  .top-main-nav .vin-nav-cta {
    padding-inline: 16px;
  }

  .top-actions #logoutButton {
    display: none;
  }

  .search-panel.home-landing .home-command-center .search-console,
  .search-panel.home-landing .home-command-center .search-console:has(.search-year-field[hidden]) {
    gap: 10px;
  }

  .home-market-grid .featured-product-card {
    flex-basis: 205px;
  }
}

@media (max-width: 1050px) {
  .topbar {
    padding: 0 12px;
  }

  .topbar .brand-home {
    display: flex;
  }

  .top-main-nav {
    display: none;
  }

  .top-actions {
    margin-left: auto;
  }

  .search-panel.home-landing .home-command-center .search-console,
  .search-panel.home-landing .home-command-center .search-console:has(.search-year-field[hidden]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-panel.home-landing .home-command-center .search-actions {
    grid-column: span 2;
  }

  .home-category-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-market-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-side-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-benefits article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #e3e7e4;
  }

  .home-benefits article:nth-child(4) {
    border-top: 1px solid #e3e7e4;
  }
}

@media (max-width: 680px) {
  :root {
    --catalog-width: calc(100% - 24px);
  }

  .topbar {
    height: 60px;
    padding: 0 8px;
  }

  .topbar .menu-button {
    min-height: 42px;
    padding: 0 12px;
  }

  .topbar .brand-home {
    flex-basis: 132px;
    min-height: 60px;
    padding: 2px 6px;
  }

  .topbar .brand-logo-main {
    height: auto;
    width: 120px;
  }

  .top-actions .icon-button,
  .top-actions #loginButton,
  .top-actions #accountButton,
  .top-actions #adminButton,
  .top-actions #cartButton,
  .top-actions #logoutButton {
    font-size: 0;
    min-height: 60px;
    padding: 0 10px;
  }

  .top-actions #loginButton::before,
  .top-actions #accountButton::before,
  .top-actions #cartButton::before {
    font-size: 21px;
    margin: 0;
  }

  .top-actions #cartCount {
    font-size: 9px;
    height: 18px;
    min-width: 18px;
    position: absolute;
    right: 1px;
    top: 10px;
  }

  .search-panel.home-landing {
    min-height: 0;
    padding: 24px 12px 12px;
  }

  .search-panel.home-landing .hero-slide {
    background-position: right top;
    background-size: auto 240px;
  }

  .search-panel.home-landing .hero-slide::after {
    background: linear-gradient(90deg, rgba(246, 248, 247, 0.98), rgba(246, 248, 247, 0.75));
  }

  .search-panel.home-landing .home-intro {
    max-width: 86%;
  }

  .search-panel.home-landing .home-intro h2 {
    font-size: 36px;
  }

  .search-panel.home-landing .home-intro p br {
    display: none;
  }

  .hero-search-line {
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 5px 8px 5px 13px;
  }

  .hero-search-line #searchButton {
    grid-column: 1 / -1;
    height: 43px;
    margin-top: 5px;
  }

  .search-panel.home-landing .home-command-center .search-console,
  .search-panel.home-landing .home-command-center .search-console:has(.search-year-field[hidden]) {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .search-panel.home-landing .home-command-center .search-actions {
    grid-column: auto;
  }

  .home-category-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    scroll-snap-type: x mandatory;
  }

  .home-category-nav button {
    flex: 0 0 170px;
    scroll-snap-align: start;
  }

  .home-market-grid {
    gap: 12px;
  }

  .home-market-grid .featured-catalog {
    border-radius: 7px;
    padding: 11px;
  }

  .home-market-grid .featured-head > div {
    align-items: start;
    display: grid;
    gap: 2px;
  }

  .home-market-grid .featured-product-card {
    flex-basis: 190px;
  }

  .home-side-panel {
    grid-template-columns: 1fr;
  }

  .home-benefits {
    grid-template-columns: 1fr;
  }

  .home-benefits article + article {
    border-left: 0;
    border-top: 1px solid #e3e7e4;
  }
}

@media (max-width: 420px) {
  .topbar {
    gap: 4px;
    height: 54px;
    padding: 0 4px;
  }

  .topbar .menu-button {
    gap: 0;
    justify-content: center;
    min-height: 42px;
    padding: 0;
    width: 42px;
  }

  .topbar .menu-button span {
    display: none;
  }

  .topbar .brand-home {
    flex: 1 1 auto;
    flex-basis: auto;
    justify-content: flex-start;
    min-height: 54px;
    padding: 2px 4px;
  }

  .topbar .brand-logo-main {
    max-width: 100%;
    width: 100px;
  }

  .top-actions {
    grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
  }

  .top-actions .icon-button,
  .top-actions #loginButton,
  .top-actions #accountButton,
  .top-actions #adminButton,
  .top-actions #cartButton,
  .top-actions #logoutButton {
    min-width: 0;
    padding: 0 8px;
  }
}

/* Discreet catalogue navigation and assistance notifications. */
.shop-menu-overlay {
  background: rgba(25, 34, 27, 0.22);
  backdrop-filter: blur(5px);
}

.shop-menu-panel {
  background: linear-gradient(180deg, #fbfdfb 0%, #f1f5f1 100%);
  border: 0;
  border-right: 3px solid #69be28;
  box-shadow: 18px 0 52px rgba(25, 47, 28, 0.2);
  color: #172019;
  max-width: min(360px, 92vw);
  padding: 18px;
  width: 340px;
}

.shop-menu-head {
  align-items: center;
  display: grid;
  gap: 11px;
  grid-template-columns: 42px minmax(0, 1fr) 36px;
  padding-bottom: 14px;
}

.shop-menu-brand {
  align-items: center;
  background: linear-gradient(135deg, #67c32a, #3c9f13);
  border-radius: 11px;
  box-shadow: 0 8px 22px rgba(73, 173, 24, 0.2);
  color: #ffffff;
  display: flex;
  font-size: 16px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.shop-menu-head > div:nth-child(2) {
  min-width: 0;
}

.shop-menu-head span {
  color: #667269;
  display: block;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.shop-menu-panel .shop-menu-head h2 {
  color: #172019;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0;
  text-transform: none;
}

.shop-menu-panel .shop-menu-close {
  align-items: center;
  align-self: start;
  background: #eef4ed;
  border: 1px solid #d9e4d8;
  border-radius: 10px;
  color: #354239;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  min-height: 36px;
  padding: 0;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  width: 36px;
}

.shop-menu-panel .shop-menu-close:hover,
.shop-menu-panel .shop-menu-close:focus-visible {
  background: #e1f3d8;
  border-color: rgba(105, 190, 40, 0.62);
  color: #2c8610;
  outline: 0;
}

.shop-menu-note {
  border-top: 1px solid #dfe7df;
  color: #657168;
  font-size: 10px;
  line-height: 1.4;
  margin: 0 0 12px;
  padding: 12px 2px 0;
}

.shop-menu-list {
  gap: 5px;
}

.shop-menu-list button,
.shop-menu-list a {
  background: #ffffff;
  border: 1px solid #e1e8e1;
  border-radius: 9px;
  color: #263029;
  font-size: 12px;
  font-weight: 760;
  min-height: 46px;
  padding: 6px 9px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.shop-menu-list button:hover,
.shop-menu-list button:focus-visible,
.shop-menu-list a:hover,
.shop-menu-list a:focus-visible {
  background: #eff9e9;
  border-color: rgba(105, 190, 40, 0.48);
  color: #277c0d;
  outline: 0;
  padding-left: 9px;
  transform: translateX(2px);
}

.shop-menu-link-main {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.shop-menu-link-main > i {
  align-items: center;
  background: #e8f6df;
  border-radius: 7px;
  color: #3a9d17;
  display: flex;
  flex: 0 0 30px;
  font-size: 12px;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.shop-menu-list button > .fa-chevron-right,
.shop-menu-list a > .fa-chevron-right {
  color: #8b978e;
  font-size: 9px;
}

.shop-menu-foot {
  align-items: center;
  background: #edf7e8;
  border: 1px solid rgba(105, 190, 40, 0.3);
  border-radius: 9px;
  color: #526057;
  display: flex;
  font-size: 9px;
  gap: 8px;
  line-height: 1.35;
  margin-top: 12px;
  padding: 10px;
}

.shop-menu-foot i {
  color: #6fc934;
}

.account-prompt,
.dealer-prompt {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #dfe7e0;
  border-left: 3px solid var(--catalog-green);
  border-radius: 12px;
  box-shadow: 0 16px 42px rgba(18, 29, 20, 0.16);
  color: var(--catalog-ink);
  font-family: Inter, "Segoe UI", sans-serif;
  gap: 9px;
  max-width: 390px;
  padding: 16px 17px;
  right: 18px;
}

.prompt-intro {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 38px minmax(0, 1fr);
  padding-right: 25px;
}

.prompt-icon {
  align-items: center;
  background: #edf7e8;
  border-radius: 10px;
  color: var(--catalog-green-dark);
  display: flex;
  font-size: 15px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.account-prompt .kicker,
.dealer-prompt .kicker {
  color: var(--catalog-green-dark);
  display: block;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.11em;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.account-prompt strong,
.dealer-prompt strong {
  color: #151b16;
  display: block;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.22;
  padding: 0;
  text-transform: none;
}

.account-prompt p,
.dealer-prompt p {
  color: #465149;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.prompt-badges {
  gap: 4px;
}

.prompt-badges span {
  background: #f2f6f2;
  border: 1px solid #e0e8e1;
  border-radius: 999px;
  color: #526057;
  font-size: 10px;
  font-weight: 850;
  padding: 5px 8px;
}

.prompt-actions {
  gap: 6px;
}

.account-prompt button:not(.prompt-close),
.dealer-prompt button:not(.prompt-close) {
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
  min-height: 36px;
  padding: 8px 12px;
}

.account-prompt .secondary-button,
.dealer-prompt .secondary-button {
  background: #f0f4f1;
  border: 1px solid #dbe4dc;
  color: #29332c;
}

.account-prompt .prompt-close,
.dealer-prompt .prompt-close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: #879188;
  display: flex;
  font-size: 12px;
  height: 28px;
  justify-content: center;
  min-height: 28px;
  min-width: 28px;
  right: 8px;
  top: 8px;
  width: 28px;
}

.account-prompt .prompt-close:hover,
.dealer-prompt .prompt-close:hover {
  background: #edf3ee;
  color: #2f8f0c;
}

@media (max-width: 560px) {
  .shop-menu-panel {
    padding: 14px;
    width: min(334px, 92vw);
  }

  .shop-menu-list button,
  .shop-menu-list a {
    min-height: 43px;
  }

  .account-prompt,
  .dealer-prompt {
    bottom: 10px;
    left: 10px;
    max-width: none;
    right: 10px;
  }

  .prompt-badges {
    display: none;
  }
}

/* Search results window — compact catalogue presentation. */
.search-results-box {
  background: #f4f7f4;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  max-height: min(90vh, 860px);
  max-width: 1040px;
  width: min(1040px, calc(100vw - 32px));
}

.search-results-head {
  border-top-width: 4px;
  padding: 15px 18px;
}

.search-results-title {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.search-results-title-icon {
  align-items: center;
  background: #edf7e8;
  border-radius: 10px;
  color: var(--catalog-green-dark);
  display: flex;
  flex: 0 0 42px;
  font-size: 16px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.search-results-head .kicker {
  color: var(--catalog-green-dark);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.search-results-head h3 {
  color: #151a16;
  font-size: 25px;
  line-height: 1;
  margin: 2px 0 6px;
  text-transform: uppercase;
}

.search-results-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.search-results-counts span {
  background: #f0f4f1;
  border: 1px solid #dfe6e0;
  border-radius: 999px;
  color: #657067;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
}

.search-results-counts b {
  color: #2f8f0c;
  font-size: 10px;
}

.search-results-head .icon-button {
  gap: 7px;
  min-height: 36px;
  padding: 0 11px;
}

.search-results-head .icon-button i {
  font-size: 11px;
}

.search-results-box .search-result-meta {
  background: #edf6e9;
  border: 1px solid #d6e9cd;
  border-left: 3px solid var(--catalog-green);
  border-radius: 8px;
  margin: 10px 14px 0;
  padding: 8px 10px;
}

.search-results-box .search-results-content {
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 14px;
}

.search-results-box .search-results-content.has-empty-parts {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
}

.search-results-section {
  min-width: 0;
}

.search-results-section-head {
  align-items: center;
  display: grid;
  gap: 9px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  margin-bottom: 8px;
  padding: 0 2px;
}

.search-results-section-head > span {
  align-items: center;
  background: #e8f4e3;
  border-radius: 8px;
  color: var(--catalog-green-dark);
  display: flex;
  font-size: 12px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.search-results-content .search-results-section-head h4 {
  color: #1d241f;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
}

.search-results-section-head small {
  color: #79837c;
  display: block;
  font-size: 9px;
  line-height: 1.3;
  margin-top: 2px;
}

.search-results-section-head > b {
  align-items: center;
  background: #172019;
  border-radius: 999px;
  color: #ffffff;
  display: flex;
  font-size: 9px;
  height: 24px;
  justify-content: center;
  min-width: 24px;
  padding: 0 7px;
}

.search-results-list {
  gap: 6px;
}

.search-result-card {
  align-items: center;
  border-color: #dce4dd;
  border-radius: 9px;
  display: grid;
  gap: 10px;
  grid-template-columns: 36px minmax(0, 1fr) 18px;
  min-height: 68px;
  padding: 9px 10px;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.search-result-card:hover,
.search-result-card:focus-visible {
  background: #f8fcf6;
  border-color: #79c746;
  box-shadow: 0 7px 18px rgba(34, 72, 37, 0.08);
  outline: 0;
  transform: translateY(-1px);
}

.search-result-card-icon {
  align-items: center;
  background: #eef7ea;
  border-radius: 8px;
  color: #3c9c17 !important;
  display: flex;
  font-size: 13px;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.search-result-card-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.search-result-card .search-result-card-copy strong {
  color: #171d18;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-card .search-result-card-copy > span {
  color: #566159;
  font-size: 10px;
  font-weight: 750;
}

.search-result-card .search-result-card-copy small {
  align-items: center;
  color: #8a948c;
  display: flex;
  font-size: 8px;
  gap: 5px;
}

.search-result-card .search-result-card-copy em {
  background: #eaf6e4;
  border-radius: 4px;
  color: #2c8410;
  font-size: 8px;
  justify-self: start;
  padding: 3px 5px;
}

.search-result-card-arrow {
  color: #91a096;
  font-size: 9px;
  transition: color 150ms ease, transform 150ms ease;
}

.search-result-card:hover .search-result-card-arrow,
.search-result-card:focus-visible .search-result-card-arrow {
  color: var(--catalog-green-dark);
  transform: translateX(2px);
}

.search-results-section.is-empty {
  align-self: start;
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-radius: 10px;
  padding: 12px;
}

.search-results-empty {
  align-items: center;
  background: #f7faf7;
  border: 1px dashed #cfd9d1;
  border-radius: 9px;
  color: #778179;
  display: grid;
  gap: 5px;
  justify-items: center;
  min-height: 150px;
  padding: 18px;
  text-align: center;
}

.search-results-empty > i {
  align-items: center;
  background: #eaf5e5;
  border-radius: 999px;
  color: #55ad25;
  display: flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.search-results-empty strong {
  color: #313a33;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-results-empty span {
  color: #778179;
  font-size: 9px;
  line-height: 1.4;
  max-width: 220px;
}

.search-results-foot {
  align-items: center;
  background: #ffffff;
  border-top: 1px solid #dfe5e0;
  color: #6d786f;
  display: flex;
  font-size: 9px;
  gap: 7px;
  min-height: 42px;
  padding: 9px 16px;
}

.search-results-foot i {
  color: var(--catalog-green-dark);
}

@media (max-width: 820px) {
  .search-results-box .search-results-content,
  .search-results-box .search-results-content.has-empty-parts {
    grid-template-columns: 1fr;
  }

  .search-results-section.is-empty {
    padding: 10px;
  }

  .search-results-empty {
    min-height: 105px;
  }
}

@media (max-width: 560px) {
  .search-results-box {
    width: 100vw;
  }

  .search-results-title-icon {
    display: none;
  }

  .search-results-head h3 {
    font-size: 23px;
  }

  .search-results-head .icon-button span {
    display: none;
  }

  .search-results-head .icon-button {
    min-width: 36px;
    padding: 0;
  }

  .search-results-box .search-results-content {
    padding: 11px;
  }
}

/* Manual microfiche browser. */
.microfiche-browser-overlay {
  align-items: center;
  background: rgba(8, 12, 10, 0.78);
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 22px;
  position: fixed;
  z-index: 1900;
}

.microfiche-browser-box {
  background: #f6f8f6;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: min(930px, calc(100vh - 44px));
  max-width: 1480px;
  overflow: hidden;
  width: min(1480px, calc(100vw - 44px));
}

.microfiche-browser-head {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #dde4de;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 20px 24px;
}

.microfiche-browser-head > div {
  display: grid;
  gap: 3px;
}

.microfiche-browser-head .kicker {
  color: var(--catalog-green-dark);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.microfiche-browser-head h2 {
  color: #14181b;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.microfiche-browser-head p {
  color: #59615d;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  margin: 2px 0 0;
}

.microfiche-browser-close {
  align-items: center;
  background: #171b18;
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  display: inline-flex;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 850;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  text-transform: uppercase;
}

.microfiche-browser-close:hover,
.microfiche-browser-close:focus {
  background: #236d09;
  color: #ffffff;
}

.microfiche-browser-loading {
  align-items: center;
  color: #273029;
  display: flex;
  flex-direction: column;
  font-family: Inter, "Segoe UI", sans-serif;
  gap: 14px;
  justify-content: center;
  min-height: 420px;
  padding: 40px;
  text-align: center;
}

.microfiche-browser-loading > i {
  color: var(--catalog-green);
  font-size: 34px;
}

.microfiche-browser-loading.is-error > i {
  color: #d44a30;
}

.microfiche-browser-loading button {
  background: #171b18;
  border: 0;
  border-radius: 5px;
  color: #ffffff;
  min-height: 38px;
  padding: 8px 18px;
}

.microfiche-browser-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
}

.microfiche-type-menu {
  align-content: start;
  background: #161b18;
  display: grid;
  gap: 7px;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 14px;
}

.microfiche-type-menu > strong {
  color: #9ea8a1;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.5px;
  margin: 2px 8px 9px;
  text-transform: uppercase;
}

.microfiche-type-menu > strong > span,
.microfiche-browser-manual-filters label > span > b {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 7px;
  border-radius: 50%;
  background: #43a914;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  line-height: 1;
}

.microfiche-browser-manual-filters label > span > b {
  width: 19px;
  height: 19px;
  margin-right: 5px;
  font-size: 11px;
}

.microfiche-type-menu button {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #e7ece8;
  display: grid;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 750;
  gap: 10px;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  min-height: 49px;
  padding: 8px 10px;
  text-align: left;
}

.microfiche-type-menu button i {
  color: #8c9890;
  font-size: 16px;
  text-align: center;
}

.microfiche-type-menu button em {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #cdd5cf;
  display: inline-flex;
  font-size: 9px;
  font-style: normal;
  height: 24px;
  justify-content: center;
  min-width: 31px;
  padding: 0 7px;
}

.microfiche-type-menu button:hover {
  background: rgba(255, 255, 255, 0.07);
}

.microfiche-type-menu button.is-active {
  background: linear-gradient(135deg, #58b923, #36990d);
  border-color: #61c52a;
  color: #ffffff;
}

.microfiche-type-menu button.is-active i,
.microfiche-type-menu button.is-active em {
  color: #ffffff;
}

.microfiche-type-menu button.is-active em {
  background: rgba(0, 0, 0, 0.18);
}

.microfiche-browser-workspace {
  background: #f5f7f5;
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
}

.microfiche-browser-filter-stack {
  display: grid;
  gap: 8px;
  position: sticky;
  top: 0;
  z-index: 3;
}

.microfiche-browser-filters {
  align-items: end;
  background: #ffffff;
  border: 1px solid #dfe5e0;
  border-radius: 9px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(300px, 1fr) minmax(180px, 260px);
  padding: 13px;
}

.microfiche-browser-filters label,
.microfiche-browser-manual-filters label {
  color: #545c57;
  display: grid;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 850;
  gap: 5px;
  text-transform: uppercase;
}

.microfiche-browser-search > div {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d4dbd6;
  border-radius: 5px;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  height: 41px;
  padding: 0 10px;
}

.microfiche-browser-search i {
  color: #758079;
  font-size: 14px;
}

.microfiche-browser-search input {
  background: transparent;
  border: 0;
  color: #171b18;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  height: 39px;
  min-width: 0;
  outline: 0;
  padding: 0;
  text-transform: none;
  width: 100%;
}

.microfiche-browser-filters select,
.microfiche-browser-manual-filters select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #242b26 50%) calc(100% - 15px) 50% / 5px 5px no-repeat,
    linear-gradient(135deg, #242b26 50%, transparent 50%) calc(100% - 10px) 50% / 5px 5px no-repeat,
    #ffffff;
  border: 1px solid #d4dbd6;
  border-radius: 5px;
  color: #171b18;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 700;
  height: 41px;
  padding: 0 28px 0 10px;
  text-transform: none;
  width: 100%;
}

.microfiche-browser-search > div:focus-within,
.microfiche-browser-filters select:focus,
.microfiche-browser-manual-filters select:focus {
  border-color: var(--catalog-green);
  box-shadow: 0 0 0 2px rgba(73, 173, 24, 0.12);
  outline: 0;
}

.microfiche-browser-filters select:disabled,
.microfiche-browser-manual-filters select:disabled {
  background-color: #f1f3f1;
  color: #8b938d;
  cursor: not-allowed;
}

.microfiche-browser-manual-filters {
  align-items: end;
  background: #eef4eb;
  border: 1px solid #d8e4d3;
  border-radius: 9px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(190px, 1fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr);
  padding: 11px 13px;
}

.microfiche-browser-manual-filters[hidden] {
  display: none;
}

.microfiche-manual-label {
  display: grid;
  font-family: Inter, "Segoe UI", sans-serif;
  gap: 3px;
  padding-bottom: 4px;
}

.microfiche-manual-label strong {
  color: #171b18;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.microfiche-manual-label span {
  color: #68716b;
  font-size: 9px;
  font-weight: 700;
}

.microfiche-browser-summary {
  align-items: baseline;
  display: flex;
  font-family: Inter, "Segoe UI", sans-serif;
  gap: 8px;
  justify-content: space-between;
  padding: 15px 2px 10px;
}

.microfiche-browser-summary strong {
  color: #171b18;
  font-size: 15px;
}

.microfiche-browser-summary span {
  color: #6b746e;
  font-size: 10px;
  font-weight: 700;
}

.microfiche-model-grid {
  align-items: start;
  display: grid;
  gap: 11px;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
}

.microfiche-model-family {
  background: #ffffff;
  border: 1px solid #dce3dd;
  border-radius: 8px;
  overflow: hidden;
}

.microfiche-search-family {
  background: #ffffff;
  border: 1px solid #dce3dd;
  border-radius: 8px;
  overflow: hidden;
}

.microfiche-search-family:has([data-microfiche-search-year][aria-expanded="true"]) {
  border-color: rgba(73, 173, 24, 0.7);
  box-shadow: 0 8px 20px rgba(37, 70, 39, 0.1);
}

.microfiche-search-family-head {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 72px;
  padding: 11px;
}

.microfiche-search-year-list {
  background: #f7f9f7;
  border-top: 1px solid #e1e6e2;
  display: grid;
  gap: 8px;
  padding: 10px 11px 12px;
}

.microfiche-search-year-list > span {
  color: #68716b;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.microfiche-search-year-list > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.microfiche-search-year-list button {
  align-items: center;
  background: #ffffff;
  border: 1px solid #b9dbae;
  border-radius: 999px;
  color: var(--catalog-green-dark);
  display: inline-flex;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 900;
  gap: 5px;
  min-height: 30px;
  padding: 5px 10px;
}

.microfiche-search-year-list button:hover,
.microfiche-search-year-list button[aria-expanded="true"] {
  background: var(--catalog-green);
  border-color: var(--catalog-green);
  color: #ffffff;
}

.microfiche-search-year-list button em {
  align-items: center;
  background: rgba(23, 27, 24, 0.1);
  border-radius: 999px;
  display: inline-flex;
  font-size: 8px;
  font-style: normal;
  height: 17px;
  justify-content: center;
  min-width: 17px;
  padding: 0 4px;
}

.microfiche-search-versions {
  border-top-color: #cfe2c8;
}

.microfiche-model-family:has(.microfiche-family-toggle[aria-expanded="true"]) {
  border-color: rgba(73, 173, 24, 0.7);
  box-shadow: 0 8px 20px rgba(37, 70, 39, 0.1);
}

.microfiche-family-toggle {
  align-items: center;
  background: #ffffff;
  border: 0;
  color: #171b18;
  display: grid;
  gap: 10px;
  grid-template-columns: 42px minmax(0, 1fr) auto 18px;
  min-height: 78px;
  padding: 11px;
  text-align: left;
  width: 100%;
}

.microfiche-family-toggle:hover {
  background: #f8fbf7;
}

.microfiche-family-icon {
  align-items: center;
  background: #eef8ea;
  border-radius: 8px;
  color: var(--catalog-green-dark);
  display: inline-flex;
  font-size: 18px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.microfiche-family-name {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.microfiche-family-name strong {
  color: #151a16;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.microfiche-family-name small {
  color: #68716b;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 650;
}

.microfiche-family-toggle > em {
  background: #f0f3f1;
  border-radius: 999px;
  color: #515b54;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
  padding: 6px 8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.microfiche-family-chevron {
  color: #869089;
  font-size: 11px;
  transition: transform 150ms ease;
}

.microfiche-family-toggle[aria-expanded="true"] .microfiche-family-chevron {
  color: var(--catalog-green-dark);
  transform: rotate(180deg);
}

.microfiche-family-versions {
  background: #f7f9f7;
  border-top: 1px solid #e1e6e2;
  display: grid;
  gap: 6px;
  max-height: 310px;
  overflow-y: auto;
  padding: 8px;
}

.microfiche-family-versions[hidden] {
  display: none;
}

.microfiche-family-versions button {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e0e5e1;
  border-radius: 6px;
  color: #171b18;
  display: grid;
  gap: 8px;
  grid-template-columns: 46px minmax(0, 0.8fr) minmax(0, 1.2fr) 14px;
  min-height: 49px;
  padding: 7px 9px;
  text-align: left;
  width: 100%;
}

.microfiche-family-versions button:hover {
  border-color: var(--catalog-green);
  box-shadow: 0 3px 9px rgba(51, 92, 48, 0.1);
}

.microfiche-family-versions button strong {
  color: var(--catalog-green-dark);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.microfiche-family-versions button span {
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 850;
}

.microfiche-family-versions button small {
  color: #68716b;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 8px;
  line-height: 1.3;
}

.microfiche-family-versions button > i {
  color: var(--catalog-green-dark);
  font-size: 10px;
}

.microfiche-browser-empty {
  align-items: center;
  background: #ffffff;
  border: 1px dashed #cdd6cf;
  border-radius: 9px;
  color: #606a63;
  display: flex;
  flex-direction: column;
  gap: 7px;
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 220px;
  padding: 30px;
  text-align: center;
}

.microfiche-browser-empty i {
  color: var(--catalog-green);
  font-size: 28px;
}

.microfiche-browser-empty strong {
  color: #171b18;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 15px;
}

.microfiche-browser-empty span {
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 11px;
}

.microfiche-year-required {
  background: linear-gradient(135deg, #ffffff 0%, #f1f9ed 100%);
  border-color: #82c968;
}

.microfiche-year-required i {
  align-items: center;
  background: #e5f6de;
  border-radius: 50%;
  display: inline-flex;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.microfiche-browser-more {
  background: #171b18;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  display: block;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 850;
  margin: 16px auto 0;
  min-height: 40px;
  padding: 8px 20px;
  text-transform: uppercase;
}

.microfiche-browser-more:hover {
  background: var(--catalog-green-dark);
}

.microfiche-browser-more[hidden] {
  display: none;
}

@media (max-width: 980px) {
  .microfiche-browser-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .microfiche-type-menu {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
  }

  .microfiche-type-menu > strong {
    display: none;
  }

  .microfiche-type-menu button {
    flex: 0 0 auto;
    grid-template-columns: 20px auto auto;
    min-height: 42px;
    white-space: nowrap;
  }

  .microfiche-browser-filters {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 0.45fr);
  }

  .microfiche-browser-manual-filters {
    grid-template-columns: 1fr 1fr;
  }

  .microfiche-manual-label {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .microfiche-browser-overlay {
    padding: 0;
  }

  .microfiche-browser-box {
    border: 0;
    border-radius: 0;
    height: 100vh;
    max-height: 100vh;
    width: 100vw;
  }

  .microfiche-browser-head {
    padding: 13px 14px;
  }

  .microfiche-browser-head h2 {
    font-size: 27px;
  }

  .microfiche-browser-head p {
    display: none;
  }

  .microfiche-browser-close {
    min-height: 40px;
    padding: 0 12px;
  }

  .microfiche-browser-close span {
    display: none;
  }

  .microfiche-browser-workspace {
    padding: 10px;
  }

  .microfiche-browser-filters {
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    padding: 9px;
  }

  .microfiche-browser-search {
    grid-column: 1 / -1;
  }

  .microfiche-browser-manual-filters {
    gap: 8px;
    grid-template-columns: 1fr;
    padding: 9px;
  }

  .microfiche-manual-label {
    grid-column: auto;
  }

  .microfiche-model-grid {
    grid-template-columns: 1fr;
  }

  .microfiche-family-toggle {
    grid-template-columns: 39px minmax(0, 1fr) 17px;
  }

  .microfiche-family-toggle > em {
    display: none;
  }

  .microfiche-family-versions button {
    grid-template-columns: 42px minmax(0, 1fr) 13px;
  }

  .microfiche-family-versions button small {
    display: none;
  }
}

/* Unified popup and dialog design. */
:where(
  .featured-modal-overlay,
  .gift-card-overlay,
  .garage-overlay,
  .order-thanks-overlay,
  .search-results-overlay,
  .model-year-overlay,
  .model-diagrams-overlay,
  .review-overlay,
  .checkout-address-overlay,
  .checkout-processing-overlay,
  .cart-confirm-overlay
) {
  background: rgba(7, 11, 8, 0.72);
  backdrop-filter: blur(9px);
}

:where(
  .featured-modal-box,
  .gift-card-box,
  .garage-box,
  .order-thanks-box,
  .cart-confirm-box,
  .search-results-box,
  .model-year-box,
  .model-diagrams-box,
  .review-box,
  .checkout-address-editor,
  .checkout-processing-box
) {
  border: 1px solid rgba(219, 226, 220, 0.96);
  border-radius: 14px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.featured-modal-box {
  background: #f6f8f6;
  border-top: 0;
  display: grid;
  gap: 0;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: min(90vh, 960px);
  max-width: 1320px;
  overflow: hidden;
  padding: 0;
  width: min(1320px, 96vw);
}

.featured-modal-head {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #dfe5e0;
  border-top: 5px solid var(--catalog-green);
  padding: 18px 21px;
}

.featured-modal-head .kicker {
  color: var(--catalog-green-dark);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.featured-modal-head h3 {
  color: #151a16;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1;
  margin: 3px 0 0;
}

.featured-modal-head p {
  color: #68716b;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 10px;
  margin-top: 5px;
  text-transform: none;
}

.featured-modal-head .icon-button,
.featured-modal-head .menu-popup-close {
  align-items: center;
  background: #171b18;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  display: inline-flex;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 850;
  min-height: 40px;
  padding: 0 14px;
  text-transform: uppercase;
}

.featured-modal-head .icon-button:hover,
.featured-modal-head .icon-button:focus,
.featured-modal-head .menu-popup-close:hover,
.featured-modal-head .menu-popup-close:focus {
  background: #236d09;
  color: #ffffff;
}

.featured-modal-grid,
.menu-content-box [data-menu-popup-body] {
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
}

.featured-modal-grid {
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
}

.featured-modal-grid .featured-product-card {
  border: 1px solid #dce3dd;
  border-radius: 8px;
  box-shadow: none;
  min-height: 350px;
}

.featured-modal-grid .featured-product-media {
  background: #ffffff;
  height: 145px;
}

.featured-modal-grid .featured-product-body {
  font-family: Inter, "Segoe UI", sans-serif;
}

.featured-modal-grid .featured-product-body > button[data-featured-add] {
  background: linear-gradient(135deg, #58b923, #36990d);
  border: 0;
  border-radius: 5px;
  color: #ffffff;
}

.menu-category-picker {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.menu-category-picker button {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dce3dd;
  border-radius: 8px;
  color: #171b18;
  display: flex;
  justify-content: space-between;
  min-height: 62px;
  padding: 12px 14px;
  text-align: left;
}

.menu-category-picker button:hover {
  background: #f4faf1;
  border-color: var(--catalog-green);
}

.menu-category-picker strong {
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.menu-category-picker span {
  background: #edf5e9;
  border-radius: 999px;
  color: var(--catalog-green-dark);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 850;
  padding: 6px 8px;
  white-space: nowrap;
}

.gift-card-box,
.review-box,
.checkout-address-editor,
.model-year-box,
.order-thanks-box,
.cart-confirm-box,
.checkout-processing-box {
  border-top: 5px solid var(--catalog-green);
}

.gift-card-box {
  border-radius: 14px;
  max-height: min(92vh, 840px);
  overflow-y: auto;
}

.gift-card-box .gift-card-close,
.review-close {
  background: #171b18;
  border-radius: 6px;
  color: #ffffff;
}

/* Keep the foreground paired with the background through hover and focus. */
.gift-card-box .gift-card-close:hover,
.gift-card-box .gift-card-close:focus,
.review-close:hover,
.review-close:focus,
.analytics-consent-close:hover,
.analytics-consent-close:focus,
.search-results-head .icon-button:hover,
.search-results-head .icon-button:focus {
  background: #236d09;
  color: #ffffff;
}

:is(
  .gift-card-close,
  .review-close,
  .analytics-consent-close,
  .microfiche-browser-close,
  .vin-search-close,
  .checkout-close,
  .dialog-head .icon-button,
  .featured-modal-head .icon-button,
  .menu-popup-close,
  .search-results-head .icon-button
):focus-visible {
  outline: 2px solid #236d09;
  outline-offset: 3px;
}

.gift-card-box h3,
.review-box h3,
.model-year-box h3,
.order-thanks-box h3,
.cart-confirm-box h3,
.checkout-address-editor h3,
.checkout-processing-box h3 {
  color: #151a16;
  font-family: Oswald, "Arial Narrow", sans-serif;
  letter-spacing: 0;
}

.search-results-box {
  background: #f6f8f6;
  border-top: 0;
  border-radius: 14px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  max-height: min(92vh, 900px);
  max-width: 1080px;
  overflow: hidden;
  padding: 0;
  width: min(1080px, 96vw);
}

.search-results-head {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #dfe5e0;
  border-top: 5px solid var(--catalog-green);
  padding: 17px 20px;
}

.search-results-head h3 {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: 33px;
  margin-top: 4px;
}

.search-results-head .icon-button {
  background: #171b18;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  min-height: 40px;
}

.search-results-box .search-result-meta {
  margin: 12px 18px 0;
}

.search-results-box .search-results-content {
  margin: 0;
  min-height: 0;
  overflow-y: auto;
  padding: 15px 18px;
}

.search-results-box > .model-year-actions {
  background: #ffffff;
  border-top: 1px solid #dfe5e0;
  margin: 0;
  padding: 12px 18px;
}

.search-result-card {
  background: #ffffff;
  border-radius: 7px;
  font-family: Inter, "Segoe UI", sans-serif;
}

.search-result-card strong {
  font-size: 13px;
}

.model-diagrams-box {
  background: #f6f8f6;
  border-top: 0;
  border-radius: 14px;
}

.model-diagrams-head {
  background: #ffffff;
  border-bottom: 1px solid #dfe5e0;
  border-top: 5px solid var(--catalog-green);
  border-radius: 13px 13px 0 0;
  margin: -22px -22px 0;
  padding: 18px 22px;
}

dialog {
  background: #f6f8f6;
  border: 1px solid #dce3dd;
  border-radius: 14px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

dialog::backdrop {
  background: rgba(7, 11, 8, 0.72);
  backdrop-filter: blur(9px);
}

.dialog-head {
  background: #ffffff;
  border-bottom: 1px solid #dfe5e0;
  border-top: 5px solid var(--catalog-green);
  color: #151a16;
  min-height: 70px;
  padding: 15px 19px;
}

.dialog-head h2 {
  color: #151a16;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: 29px;
  letter-spacing: 0;
}

.dialog-head .icon-button {
  background: #171b18;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 850;
  min-height: 40px;
  padding: 0 14px;
  text-transform: uppercase;
}

.dialog-head .icon-button:hover,
.dialog-head .icon-button:focus {
  background: #236d09;
  color: #ffffff;
}

/* Les regles globales de button:hover/focus peuvent sinon remettre le texte
   sombre sur les boutons de fermeture des fenetres foncees. */
:is(
  .gift-card-close,
  .review-close,
  .analytics-consent-close,
  .microfiche-browser-close,
  .vin-search-close,
  .checkout-close,
  .dialog-head .icon-button,
  .featured-modal-head .icon-button,
  .featured-modal-head .menu-popup-close,
  .menu-popup-close,
  .search-results-head .icon-button
) {
  color: #ffffff;
}

:is(
  .gift-card-close,
  .review-close,
  .analytics-consent-close,
  .microfiche-browser-close,
  .vin-search-close,
  .checkout-close,
  .dialog-head .icon-button,
  .featured-modal-head .icon-button,
  .featured-modal-head .menu-popup-close,
  .menu-popup-close,
  .search-results-head .icon-button
):hover,
:is(
  .gift-card-close,
  .review-close,
  .analytics-consent-close,
  .microfiche-browser-close,
  .vin-search-close,
  .checkout-close,
  .dialog-head .icon-button,
  .featured-modal-head .icon-button,
  .featured-modal-head .menu-popup-close,
  .menu-popup-close,
  .search-results-head .icon-button
):focus {
  color: #ffffff;
}

#cartDialog {
  background: #f4f7f4;
  border-radius: 14px;
  max-height: min(94vh, 930px);
  max-width: min(1280px, calc(100vw - 34px));
  width: min(1280px, calc(100vw - 34px));
}

#cartDialog[open] {
  display: flex;
  flex-direction: column;
}

#cartDialogBody {
  background: #f4f7f4;
  max-height: calc(94vh - 72px);
  padding: 16px;
}

#cartDialog .cart-page-grid {
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 370px);
  margin: 0;
}

#cartDialog .cart-panel,
#cartDialog .cart-recap-card {
  border: 1px solid #dce3dd;
  border-radius: 10px;
  box-shadow: none;
}

#cartDialog .cart-page-head {
  background: #f1f4f2;
  color: #58615b;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 9px;
  text-transform: uppercase;
}

#cartDialog .cart-page-line {
  background: #ffffff;
  font-family: Inter, "Segoe UI", sans-serif;
}

#cartDialog .cart-page-line:hover {
  background: #f8fbf7;
}

#cartDialog .cart-designation strong {
  color: #171b18;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 12px;
}

#cartDialog .cart-recap-card h3,
#cartDialog .cart-panel h2,
#cartDialog .cart-recap h2 {
  color: #171b18;
  font-family: Oswald, "Arial Narrow", sans-serif;
}

#cartDialog .cart-checkout-button,
#cartDialog [data-show-checkout],
#cartDialog [data-checkout-test] {
  background: linear-gradient(135deg, #58b923, #36990d);
  border: 0;
  border-radius: 6px;
  color: #ffffff;
}

.cart-empty-state {
  background: #ffffff;
  border: 1px dashed #ccd6ce;
  border-radius: 10px;
  color: #5f6962;
  min-height: 240px;
  place-content: center;
}

@media (max-width: 820px) {
  .featured-modal-overlay {
    padding: 10px;
  }

  .featured-modal-box {
    max-height: calc(100vh - 20px);
    width: calc(100vw - 20px);
  }

  .model-popular-parts-head {
    align-items: start;
    display: grid;
    gap: 5px;
  }

  .model-popular-parts-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 3px;
    scroll-snap-type: x proximity;
  }

  .model-popular-part-card {
    flex: 0 0 min(230px, 78vw);
    scroll-snap-align: start;
  }

  .featured-modal-grid {
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    padding: 12px;
  }

  #cartDialog {
    max-height: calc(100vh - 16px);
    max-width: calc(100vw - 16px);
    width: calc(100vw - 16px);
  }

  #cartDialogBody {
    max-height: calc(100vh - 88px);
    padding: 10px;
  }

  #cartDialog .cart-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .featured-modal-overlay,
  .gift-card-overlay,
  .search-results-overlay,
  .model-year-overlay,
  .review-overlay {
    padding: 0;
  }

  .featured-modal-box,
  .search-results-box {
    border-radius: 0;
    height: 100vh;
    max-height: 100vh;
    width: 100vw;
  }

  .featured-modal-head,
  .search-results-head {
    padding: 13px 14px;
  }

  .featured-modal-head h3,
  .search-results-head h3 {
    font-size: 27px;
  }

  .featured-modal-grid {
    grid-template-columns: 1fr;
  }

  .menu-category-picker {
    grid-template-columns: 1fr;
  }

  #cartDialog {
    border-radius: 0;
    height: 100vh;
    margin: 0;
    max-height: 100vh;
    max-width: 100vw;
    width: 100vw;
  }

  #cartDialogBody {
    max-height: calc(100vh - 70px);
  }
}

.search-panel.home-landing .home-command-center .search-console,
.search-panel.home-landing .garage-search-note {
  display: none !important;
}

.motoworld-announcements {
  display: grid;
  gap: 14px;
}

.motoworld-announcement-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.motoworld-announcement-tabs button {
  align-items: center;
  background: #eef2ef;
  border: 1px solid #dce3dd;
  border-radius: 7px;
  color: #171b18;
  display: inline-flex;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 900;
  gap: 7px;
  min-height: 40px;
  padding: 8px 13px;
  text-transform: uppercase;
}

.motoworld-announcement-tabs button span {
  background: #ffffff;
  border-radius: 999px;
  color: #4b5750;
  min-width: 24px;
  padding: 4px 6px;
  text-align: center;
}

.motoworld-announcement-tabs button.is-active {
  background: #171b18;
  border-color: #171b18;
  color: #ffffff;
}

.motoworld-announcement-tabs button.is-active span {
  background: var(--catalog-green);
  color: #ffffff;
}

.motoworld-announcement-head {
  align-items: center;
  border-bottom: 1px solid #dfe5e0;
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
}

.motoworld-announcement-head strong {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: 21px;
  text-transform: uppercase;
}

.motoworld-announcement-head a,
.motoworld-announcement-empty a {
  color: var(--catalog-green-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.motoworld-announcement-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
}

.motoworld-announcement-card {
  background: #ffffff;
  border: 1px solid #dce3dd;
  border-radius: 8px;
  display: grid;
  overflow: hidden;
}

.motoworld-announcement-media {
  align-items: center;
  background: #edf1ee;
  display: flex;
  height: 155px;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.motoworld-announcement-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
  width: 100%;
}

.motoworld-announcement-card:hover .motoworld-announcement-media img {
  transform: scale(1.035);
}

.motoworld-announcement-media > i {
  color: #7a867e;
  font-size: 38px;
}

.motoworld-announcement-media > span {
  background: #171b18;
  border-radius: 4px;
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  left: 8px;
  padding: 6px 8px;
  position: absolute;
  text-transform: uppercase;
  top: 8px;
}

.motoworld-announcement-media > span.is-exclusive {
  background: linear-gradient(135deg, #7136bf, #4a168f);
}

.motoworld-announcement-body {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.motoworld-announcement-body h4 {
  color: #171b18;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.3;
  margin: 0;
}

.motoworld-announcement-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.motoworld-announcement-meta span {
  background: #eef3ef;
  border-radius: 4px;
  color: #59645d;
  font-size: 9px;
  font-weight: 800;
  padding: 5px 6px;
}

.motoworld-announcement-meta span.is-sold {
  background: #fae9e7;
  color: #a93025;
}

.motoworld-announcement-foot {
  align-items: center;
  border-top: 1px solid #e7ece8;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding-top: 10px;
}

.motoworld-announcement-foot strong {
  color: #171b18;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: 18px;
}

.motoworld-announcement-foot a {
  background: var(--catalog-green);
  border-radius: 4px;
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  padding: 8px 9px;
  text-decoration: none;
  text-transform: uppercase;
}

.motoworld-announcement-empty {
  align-items: center;
  background: #f4f7f4;
  border: 1px dashed #cad5cc;
  border-radius: 8px;
  color: #536058;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  min-height: 110px;
  padding: 18px;
}

.motoworld-announcement-empty p {
  margin: 0;
}

@media (max-width: 560px) {
  .motoworld-announcement-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .motoworld-announcement-tabs button {
    justify-content: center;
    padding-inline: 7px;
  }

  .motoworld-announcement-grid {
    grid-template-columns: 1fr;
  }
}

/* Compact contact popup and subject selector. */
.contact-popup-box {
  max-height: min(90vh, 820px);
  max-width: 860px;
  width: min(860px, 94vw);
}

.contact-popup-box .featured-modal-head {
  background: linear-gradient(135deg, #ffffff 0%, #f2f8ef 100%);
  padding: 16px 20px;
}

.contact-popup-box .featured-modal-head h3 {
  font-size: clamp(29px, 4vw, 39px);
}

.contact-popup-box [data-menu-popup-body] {
  background: #f6f8f6;
  padding: 0;
}

.contact-popup-box .menu-contact-form {
  gap: 13px 16px;
  padding: 20px;
}

.contact-form-note {
  align-items: center;
  background: #edf7e8;
  border: 1px solid #cce3c1;
  border-left: 4px solid var(--catalog-green);
  border-radius: 9px;
  color: #1f2b21;
  display: grid;
  gap: 12px;
  grid-template-columns: 40px minmax(0, 1fr);
  padding: 12px 14px;
}

.contact-form-note > i {
  align-items: center;
  background: #ffffff;
  border-radius: 9px;
  color: var(--catalog-green-dark);
  display: flex;
  font-size: 18px;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.contact-form-note strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form-note p {
  color: #59665c;
  font-size: 11px;
  line-height: 1.4;
  margin: 3px 0 0;
}

.contact-popup-box .menu-contact-form label {
  color: #2c332e;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 10px;
  gap: 6px;
}

.contact-popup-box .menu-contact-form input,
.contact-popup-box .menu-contact-form select,
.contact-popup-box .menu-contact-form textarea {
  background-color: #ffffff;
  border: 1px solid #cfd8d1;
  border-radius: 7px;
  color: #171c18;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 650;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.contact-popup-box .menu-contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #3d8f1b 50%),
    linear-gradient(135deg, #3d8f1b 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  cursor: pointer;
  padding-right: 36px;
}

.contact-popup-box .menu-contact-form input:focus,
.contact-popup-box .menu-contact-form select:focus,
.contact-popup-box .menu-contact-form textarea:focus {
  border-color: var(--catalog-green);
  box-shadow: 0 0 0 3px rgba(73, 173, 24, 0.12);
  outline: 0;
}

.contact-popup-box .menu-contact-form input[readonly] {
  background: #edf1ee;
  color: #58635b;
}

.contact-popup-box .menu-contact-form textarea {
  min-height: 135px;
  resize: vertical;
}

.contact-popup-box .menu-contact-form label small {
  color: #748078;
  font-size: 10px;
  line-height: 1.35;
}

.contact-submit-row {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

.contact-submit-row [data-contact-result] {
  flex: 1 1 auto;
}

.contact-popup-box .menu-contact-form .contact-submit-row > button {
  background: linear-gradient(135deg, #5ebe28, #379a0f);
  border-radius: 7px;
  color: #ffffff;
  flex: 0 0 auto;
  gap: 10px;
  min-width: 230px;
}

@media (max-width: 680px) {
  .contact-popup-box {
    height: auto;
    max-height: calc(100vh - 16px);
    width: calc(100vw - 16px);
  }

  .contact-popup-box .featured-modal-head {
    padding: 13px 14px;
  }

  .contact-popup-box .menu-contact-form {
    grid-template-columns: 1fr;
    padding: 13px;
  }

  .contact-popup-box .menu-contact-form > * {
    grid-column: 1;
  }

  .contact-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-popup-box .menu-contact-form .contact-submit-row > button {
    min-width: 0;
    width: 100%;
  }
}

/* Final responsive priority for the catalogue search results window. */
.search-results-box .search-results-head h3 {
  font-size: 25px;
}

.search-results-box .search-results-head .icon-button {
  gap: 7px;
  min-height: 36px;
  padding: 0 11px;
}

@media (max-width: 820px) {
  .search-results-box .search-results-head {
    align-items: center;
    display: flex;
  }

  .search-results-box .search-results-head .icon-button {
    flex: 0 0 36px;
    justify-content: center;
    min-width: 36px;
    padding: 0;
    width: 36px;
  }

  .search-results-box .search-results-head .icon-button span {
    display: none;
  }
}

@media (max-width: 560px) {
  .search-results-box .search-results-head h3 {
    font-size: 22px;
  }
}

/* Logo SVG discret behind the main title without reducing readability. */
.search-panel.home-landing .home-intro > div {
  isolation: isolate;
  position: relative;
}

.search-panel.home-landing .home-intro-logo-watermark {
  height: auto;
  left: clamp(105px, 13vw, 190px);
  opacity: 0.085;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-18%, -51%) rotate(-5deg);
  user-select: none;
  width: clamp(165px, 18vw, 255px);
  z-index: 0;
}

.search-panel.home-landing .home-intro .kicker,
.search-panel.home-landing .home-intro h2,
.search-panel.home-landing .home-intro p {
  position: relative;
  z-index: 1;
}

.search-panel.home-landing .home-intro h2 {
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96),
    0 0 12px rgba(255, 255, 255, 0.78);
}

@media (max-width: 680px) {
  .search-panel.home-landing .home-intro-logo-watermark {
    left: 104px;
    opacity: 0.07;
    top: 46%;
    width: 175px;
  }
}

.order-confirmation {
  max-width: 880px;
  margin: clamp(20px, 5vw, 64px) auto;
  padding: clamp(24px, 5vw, 48px);
  background: #fff;
  border: 1px solid #dbe5d7;
  border-top: 5px solid #69be28;
  border-radius: 12px;
  box-shadow: 0 10px 36px #1720190a;
}
.order-confirmation .kicker { color: #31860e; }
.order-confirmation h1 { font-size: clamp(30px, 6vw, 48px); line-height: 1.15; margin: 12px 0 24px; }
.order-confirmation h1:focus { outline: none; }
.order-confirmation p { color: #4c5a50; line-height: 1.7; overflow-wrap: anywhere; }
.order-confirmation .cart-confirm-actions { justify-content: flex-start; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 600px) {
  .order-confirmation .cart-confirm-actions { flex-direction: column; }
  .order-confirmation .cart-confirm-actions button { width: 100%; }
}

/* Stock result: clear current, replacement and terminal states. */
.home-side-panel .home-stock-result {
  background: #ffffff;
  border: 1px solid #cfdcc9;
  border-radius: 8px;
  display: grid;
  gap: 9px;
  grid-template-columns: 1fr;
  padding: 10px;
}

.home-side-panel .home-stock-result-head {
  align-items: center;
  display: flex;
  gap: 8px;
}

.home-side-panel .home-stock-result-head > i {
  align-items: center;
  background: #e9f7e3;
  border-radius: 7px;
  color: #329d0d;
  display: flex;
  flex: 0 0 30px;
  height: 30px;
  justify-content: center;
}

.home-side-panel .home-stock-result-head > div {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.home-side-panel .home-stock-result-head span {
  color: #172018;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.home-side-panel .home-stock-result-head small {
  color: #687168;
  font-size: 8px;
  line-height: 1.25;
}

.home-side-panel .home-stock-reference-flow {
  display: grid;
  gap: 5px;
}

.home-side-panel .home-stock-reference-card {
  background: #f6faf4;
  border: 1px solid #dbe9d6;
  border-left: 3px solid #49ad18;
  border-radius: 6px;
  display: grid;
  gap: 3px;
  padding: 8px;
}

.home-side-panel .home-stock-reference-card.is-original,
.home-side-panel .home-stock-reference-card.stock-unavailable {
  background: #fff6f3;
  border-color: #f0d7cf;
  border-left-color: #d64b2a;
}

.home-side-panel .home-stock-reference-card.stock-delayed {
  background: #fff9ec;
  border-color: #ecdcb6;
  border-left-color: #d89416;
}

.home-side-panel .home-stock-reference-label {
  color: #627066;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

.home-side-panel .home-stock-reference-card strong {
  color: #101610;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 15px;
  letter-spacing: 0.2px;
  line-height: 1.05;
}

.home-side-panel .home-stock-reference-card > span:not(.home-stock-reference-label) {
  color: #4e594f;
  font-size: 8px;
  line-height: 1.25;
}

.home-side-panel .home-stock-reference-meta {
  align-items: end;
  display: flex;
  gap: 6px;
  justify-content: space-between;
}

.home-side-panel .home-stock-reference-meta em {
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.home-side-panel .home-stock-reference-meta b {
  color: #111611;
  font-size: 11px;
  white-space: nowrap;
}

.home-side-panel .home-stock-replacement-arrow {
  align-items: center;
  color: #397f1c;
  display: flex;
  font-size: 8px;
  font-weight: 900;
  gap: 5px;
  justify-content: center;
  text-transform: uppercase;
}

.home-side-panel .home-stock-terminal-note {
  align-items: flex-start;
  background: #fff3ef;
  border-radius: 5px;
  color: #8c2d19;
  display: flex;
  font-size: 8px;
  gap: 5px;
  line-height: 1.35;
  margin: 0;
  padding: 7px;
}

.home-side-panel .home-stock-result button[data-home-stock-add] {
  min-height: 34px;
  width: 100%;
}

.home-side-panel .home-stock-result-note {
  color: #647067;
  font-size: 8px;
  grid-column: auto;
  text-align: center;
}

/* VIN identity returned by Kawasaki maintenance data. */
.vin-search-result[hidden] {
  display: none;
}

.vin-search-result {
  border-radius: 10px;
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.vin-search-result.is-loading,
.vin-search-result.is-error {
  align-items: center;
  display: flex;
  gap: 11px;
  padding: 13px;
}

.vin-search-result.is-loading {
  background: #eff8eb;
  color: #2d7114;
  font-size: 12px;
  font-weight: 800;
}

.vin-search-result.is-error {
  background: #fff1ed;
  border: 1px solid #f2d1c8;
  color: #942e18;
}

.vin-search-result.is-error > i {
  font-size: 20px;
}

.vin-search-result.is-error > div {
  display: grid;
  gap: 2px;
}

.vin-search-result.is-error strong,
.vin-search-result.is-error span {
  color: inherit;
}

.vin-search-result.is-error span {
  font-size: 11px;
}

.vin-search-result.is-found {
  background: linear-gradient(145deg, #f8fcf6, #eef8ea);
  border: 1px solid #badcaa;
  border-left: 4px solid var(--catalog-green);
  padding: 13px;
}

.vin-identity-badge {
  align-items: center;
  color: #2f8711;
  display: flex;
  font-size: 9px;
  font-weight: 900;
  gap: 6px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.vin-identity-main {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8e8d2;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  padding: 10px;
}

.vin-identity-icon {
  align-items: center;
  background: #e6f6df;
  border-radius: 8px;
  color: #3c9e16;
  display: flex;
  font-size: 18px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.vin-identity-main > div {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.vin-identity-main small {
  color: #6c766e;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

.vin-identity-main strong {
  color: #111711;
  font-family: Oswald, Impact, sans-serif;
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
}

.vin-identity-main > div > span {
  color: #4f5c52;
  font-size: 11px;
  font-weight: 800;
}

.vin-identity-main > b {
  background: #172019;
  border-radius: 7px;
  color: #ffffff;
  font-family: Oswald, Impact, sans-serif;
  font-size: 20px;
  padding: 8px 10px;
}

.vin-identity-details {
  display: grid;
  gap: 6px;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  margin: 0 auto;
  max-width: 520px;
  text-align: center;
}

.vin-identity-details > span {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #dce9d7;
  border-radius: 7px;
  display: grid;
  gap: 2px;
  padding: 8px;
}

.vin-identity-details small {
  color: #718075;
  font-size: 7px;
  font-weight: 900;
  text-transform: uppercase;
}

.vin-identity-details strong {
  color: #172019;
  font-size: 10px;
  line-height: 1.2;
}

.vin-open-microfiches {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
  min-height: 42px;
  width: 100%;
}

@media (max-width: 560px) {
  .vin-search-box {
    max-height: 100vh;
    overflow-y: auto;
  }

  .vin-identity-main {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .vin-identity-main strong {
    font-size: 19px;
  }

  .vin-identity-details {
    grid-template-columns: 1fr;
  }
}

/* Registration: one consistent layout for every entry point. */
.registration-layout { align-items: stretch; }
.registration-layout > * { min-width: 0; }
.registration-layout .auth-hero-card { border-radius: 10px; padding: 28px; }
.registration-layout .auth-hero-content { gap: 20px; }
.registration-layout .auth-hero-card h3 { font-size: clamp(32px, 3.7vw, 48px); line-height: 1.08; }
.registration-layout .registration-card { padding: 24px; gap: 18px; align-content: start; border-radius: 10px; }
.registration-card .account-tabs { margin: 0; gap: 6px; padding: 4px; background: #f1f4f1; border-radius: 10px; }
.registration-card .account-tabs button { flex: 1; min-height: 40px; padding: 10px 14px; border-radius: 7px; font-size: 12px; }
.registration-heading h3 { font-size: 25px; line-height: 1.2; text-transform: none; }
.registration-heading p { margin: 7px 0 0; color: #617067; font-size: 13px; line-height: 1.5; }
.registration-card .registration-steps { margin: 0; gap: 8px; padding: 14px 0; border-top: 1px solid #e8ede8; border-bottom: 1px solid #e8ede8; }
.registration-card .registration-steps li { font-size: 11px; line-height: 1.4; }
.registration-card .registration-steps span { width: 25px; line-height: 25px; margin-bottom: 5px; }
.registration-form { gap: 20px; }
.registration-field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.registration-form label { min-width: 0; font-size: 12px; letter-spacing: 0; text-transform: none; gap: 8px; }
.registration-form input { width: 100%; min-width: 0; min-height: 48px; padding: 12px; font-size: 13px; font-weight: 500; border-radius: 8px; }
.registration-form input::placeholder { color: #859087; font-weight: 400; }
.registration-password-tools { display: flex; align-items: flex-start; gap: 14px; margin-top: 10px; }
.registration-password-tools .password-help { margin: 0; font-size: 11px; font-weight: 400; line-height: 1.5; flex: 1; }
.registration-form .registration-password-toggle { background: none; color: #15552b; border: 0; border-radius: 4px; padding: 3px 0; min-height: 24px; font-size: 12px; font-weight: 700; text-transform: none; box-shadow: none; }
.registration-form .registration-password-toggle:focus-visible { outline: 2px solid #69be28; outline-offset: 4px; }
.registration-form .registration-submit { display: flex; justify-content: center; align-items: center; gap: 16px; width: 100%; min-height: 48px; border-radius: 8px; font-size: 14px; }
.registration-submit span { font-size: 22px; }
.registration-footnote { margin: -8px 0 0; text-align: center; font-size: 11px; line-height: 1.5; color: #617067; }
.account-prompt[data-kind="address"] { width: min(370px, calc(100vw - 32px)); box-sizing: border-box; right: 16px; }
.account-prompt[data-kind="address"] p { font-size: 13px; line-height: 1.5; }
.account-prompt[data-kind="address"] .prompt-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.account-prompt[data-kind="address"] button:not(.prompt-close) { border-radius: 7px; text-transform: none; }

/* Keep close icons readable when generic button focus/hover rules apply. */
:is(.featured-product-detail-close, .prompt-close) i {
  color: #ffffff !important;
}

:is(.featured-product-detail-close, .prompt-close):focus,
:is(.featured-product-detail-close, .prompt-close):focus-visible {
  background: #69BE28;
  color: #101510 !important;
  outline: 2px solid #236d09;
  outline-offset: 3px;
}

:is(.featured-product-detail-close, .prompt-close):focus i,
:is(.featured-product-detail-close, .prompt-close):focus-visible i {
  color: #101510 !important;
}

.featured-product-detail-close:hover {
  color: #101510 !important;
}

.featured-product-detail-close:hover i {
  color: #101510 !important;
}

@media (max-width: 760px) {
  .registration-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .registration-layout .auth-hero-card { min-height: 0; padding: 20px; }
  .registration-layout .auth-hero-content { gap: 12px; }
  .registration-layout .auth-hero-card h3 { font-size: 30px; }
  .registration-layout .auth-hero-card p { font-size: 13px; }
  .registration-layout .auth-hero-points { display: none; }
  .registration-layout .registration-card { padding: 18px; }
  .registration-field-pair { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .registration-form input { font-size: 16px; }
}

/* Availability labels keep their meaning in cards and in the detail view. */
.featured-product-foot > .stock-delayed,
.featured-detail-purchase [data-featured-detail-availability].stock-delayed {
  color: #c56a00 !important;
  font-weight: 900;
}

.featured-product-foot > .stock-unavailable,
.featured-detail-purchase [data-featured-detail-availability].stock-unavailable {
  color: #b42318 !important;
  font-weight: 900;
}

/* Les rappels utilisent un fond clair : leur croix doit rester contrastée. */
:is(.account-prompt, .dealer-prompt) .prompt-close {
  align-items: center;
  background: #172019 !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  min-height: 32px;
  min-width: 32px;
  right: 10px;
  top: 10px;
  width: 32px;
}

:is(.account-prompt, .dealer-prompt) .prompt-close i {
  color: #ffffff !important;
}

:is(.account-prompt, .dealer-prompt) .prompt-close:hover,
:is(.account-prompt, .dealer-prompt) .prompt-close:focus-visible {
  background: #69BE28 !important;
  color: #101510 !important;
  outline: 2px solid #236d09;
  outline-offset: 2px;
}

:is(.account-prompt, .dealer-prompt) .prompt-close:hover i,
:is(.account-prompt, .dealer-prompt) .prompt-close:focus-visible i {
  color: #101510 !important;
}

.checkout-gift-recipient-content {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
}

.checkout-gift-recipient-fields {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.checkout-gift-recipient-fields input[type="file"] {
  background: #ffffff;
  min-height: 44px;
  padding: 9px 10px;
}

.checkout-gift-photo-status {
  color: #617067;
  font-size: 11px;
  font-weight: 650;
  text-transform: none;
}

.checkout-gift-photo-status.is-error {
  color: #b42318;
}

.checkout-gift-preview {
  background: #ffffff;
  border: 1px solid #cfe2cc;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(20, 71, 19, 0.07);
  min-width: 0;
  overflow: hidden;
}

.checkout-gift-preview-head {
  background: #eff8eb;
  border-bottom: 1px solid #d8ead3;
  display: grid;
  gap: 3px;
  padding: 12px 14px;
}

.checkout-gift-preview-head strong {
  color: #172019;
  font-size: 16px;
  text-transform: uppercase;
}

.checkout-gift-preview-body {
  color: #46554a;
  display: grid;
  gap: 10px;
  line-height: 1.4;
  padding: 14px;
}

.checkout-gift-preview-body p {
  margin: 0;
}

.checkout-gift-preview-body strong {
  color: #172019;
}

.checkout-gift-preview-message {
  background: #f7f8fb;
  border-left: 3px solid #69BE28;
  color: #344037;
  font-size: 12px;
  margin: 0;
  padding: 9px 10px;
  white-space: pre-wrap;
}

.checkout-gift-preview-message.is-empty {
  color: #879188;
  font-style: italic;
}

.checkout-gift-preview-photo {
  background: #f7f8fb;
  border: 1px solid #e0e7e0;
  border-radius: 7px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
}

.checkout-gift-preview-photo[hidden] {
  display: none;
}

.checkout-gift-preview-photo img {
  border-radius: 4px;
  display: block;
  max-height: 150px;
  max-width: 100%;
  object-fit: contain;
}

.checkout-gift-preview-body small {
  color: #617067;
  font-size: 10px;
}

/* Centre de préférences cookies : lisible, explicite et sans choix imposé. */
.analytics-consent-box {
  gap: 18px;
  max-width: 760px;
  padding: 30px;
  width: min(760px, 94vw);
}

.analytics-consent-box h2 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1;
  max-width: 620px;
}

.analytics-consent-box > p {
  font-size: 15px;
  max-width: 650px;
}

.analytics-consent-current {
  align-items: center;
  background: #f2f5f2;
  border-left: 4px solid #69BE28;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 12px 14px;
}

.analytics-consent-current span {
  color: #526057;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.analytics-consent-current strong {
  color: #172019;
  font-size: 12px;
  text-transform: uppercase;
}

.analytics-consent-categories {
  display: grid;
  gap: 10px;
}

.analytics-consent-category {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dce5dd;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 13px 15px;
}

.analytics-consent-category:hover,
.analytics-consent-category:focus-within {
  border-color: #69BE28;
  box-shadow: 0 0 0 3px rgba(105, 190, 40, 0.12);
}

.analytics-consent-category > span:first-child,
.analytics-consent-category > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.analytics-consent-category strong {
  color: #172019;
  font-size: 14px;
  text-transform: uppercase;
}

.analytics-consent-category small {
  color: #5d6a61;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.analytics-consent-category input[type="checkbox"] {
  accent-color: #69BE28;
  flex: 0 0 auto;
  height: 21px;
  width: 21px;
}

.analytics-consent-category.is-required {
  background: #f5faf3;
  border-color: #cfe2cc;
  cursor: default;
}

.analytics-consent-always {
  background: #e5f4df;
  border-radius: 999px;
  color: #26720f;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 900;
  padding: 6px 9px;
  text-transform: uppercase;
}

.analytics-consent-actions {
  align-items: center;
  border-top: 1px solid #e1e8e2;
  gap: 9px;
  justify-content: flex-end;
  padding-top: 16px;
}

.analytics-consent-actions button {
  min-height: 44px;
  padding-inline: 17px;
}

@media (max-width: 620px) {
  .analytics-consent-box {
    gap: 14px;
    padding: 22px 18px;
  }

  .analytics-consent-current {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .analytics-consent-category {
    align-items: flex-start;
  }

  .analytics-consent-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .analytics-consent-actions button {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .checkout-gift-recipient-content {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Dernier réglage du bandeau catalogue : titre aéré et contenu dans sa colonne. */
.storefront-notice {
  align-items: center;
  background: #f1f3f1;
  border-bottom: 1px solid #d8ded9;
  color: #37443b;
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 14px 24px;
  text-align: center;
}

.storefront-notice[hidden],
.storefront-form-note[hidden] { display: none; }

.storefront-notice > i { flex: 0 0 auto; }
.storefront-notice .secondary-button { flex: 0 0 auto; padding: 9px 14px; }

button.is-storefront-disabled,
input.is-storefront-disabled {
  background: #e4e8e4 !important;
  border-color: #d2d9d3 !important;
  box-shadow: none !important;
  color: #687269 !important;
  cursor: not-allowed !important;
  filter: grayscale(1);
  opacity: .65 !important;
  transform: none !important;
}

button.is-storefront-disabled i { color: inherit !important; }
.storefront-form-note { background: #f0f3f0; border-radius: 8px; color: #425047; padding: 12px 14px; }
.storefront-paused-panel { margin: auto; max-width: 620px; padding: clamp(24px, 5vw, 56px) 12px; text-align: center; }
.storefront-paused-panel > i { color: #738073; font-size: 34px; margin-bottom: 14px; }
.storefront-paused-panel h3 { font-size: clamp(22px, 4vw, 30px); margin: 0 0 14px; }
.storefront-paused-panel p { line-height: 1.6; margin: 10px 0; }
.storefront-paused-panel button { margin-top: 18px; }

@media (max-width: 680px) {
  .storefront-notice { align-items: flex-start; gap: 9px; padding: 12px 14px; text-align: left; }
  .storefront-notice > i { margin-top: 4px; }
  .storefront-notice > span { flex: 1; font-size: 13px; line-height: 1.5; }
  .storefront-notice .secondary-button { font-size: 12px; padding: 8px; }
}

.search-panel.home-landing .home-intro {
  margin-bottom: clamp(18px, 2.2vw, 30px);
  max-width: min(100%, 1180px);
  padding-inline: clamp(0px, 1vw, 12px);
}

.search-panel.home-landing .home-intro h2 {
  font-size: clamp(36px, 4vw, 60px);
  letter-spacing: -0.7px;
  line-height: 0.96;
  max-width: 900px;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.search-panel.home-landing .home-intro p {
  margin-top: 14px;
}

@media (max-width: 680px) {
  .search-panel.home-landing .home-intro {
    max-width: 100%;
    padding-inline: 0;
  }

  .search-panel.home-landing .home-intro h2 {
    font-size: clamp(34px, 10vw, 52px);
    line-height: 0.98;
    max-width: 100%;
  }
}

/* Accueil et contact : photos de la boutique, rythme simple et commandes lisibles. */
.search-panel.home-landing {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .35) 72%, #fff),
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 34%, rgba(255, 255, 255, .76) 63%, rgba(255, 255, 255, .3)),
    url('/assets/photos/accueil-boutique.jpg');
  background-position: center, center, 80% 55%;
  background-size: cover;
  min-height: 0;
  padding: 24px clamp(16px, 3vw, 40px) 12px;
}

.search-panel.home-landing .home-shell {
  gap: 12px;
}

.search-panel.home-landing .hero-slides,
.search-panel.home-landing .home-intro-logo-watermark {
  display: none;
}

.search-panel.home-landing .home-intro {
  display: block;
  margin: 0;
  max-width: none;
  padding: 0;
}

.search-panel.home-landing .home-intro-copy {
  max-width: 760px;
  min-width: 0;
}

.search-panel.home-landing .home-intro .kicker {
  color: #2f8010;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 12px;
  text-transform: none;
}

.search-panel.home-landing .home-intro h2 {
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 650;
  letter-spacing: -.6px;
  line-height: 1.12;
  margin: 0;
  max-width: 24ch;
  text-transform: none;
  text-wrap: balance;
}

.search-panel.home-landing .home-intro h2 em {
  color: #389b14;
}

.search-panel.home-landing .home-intro p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  margin: 10px 0 0;
  max-width: 54ch;
}

.search-panel.home-landing .home-shop-photo {
  border-radius: 8px;
  display: none;
  height: clamp(210px, 23vw, 310px);
  object-fit: cover;
  object-position: 50% 55%;
  width: 100%;
}

.search-panel.home-landing .home-command-center {
  gap: 10px;
}

.search-panel.home-landing .hero-search-line {
  border-color: #cbd6cb;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(24, 40, 27, .04);
  gap: 8px;
  grid-template-columns: 22px minmax(0, 1fr) minmax(132px, 174px) 94px;
  padding: 7px 8px 7px 16px;
}

.search-panel.home-landing .hero-search-line:focus-within {
  border-color: #509b2c;
  box-shadow: 0 0 0 3px rgba(80, 155, 44, .1);
}

.search-panel.home-landing .hero-search-line #searchValueInput {
  font-size: 15px;
  padding: 0 8px;
}

.search-panel.home-landing .hero-search-line #searchButton {
  background: #2f8010;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  height: 48px;
  margin: 0;
  padding: 0 18px;
  text-transform: none;
}

.search-panel.home-landing .hero-search-line #searchButton:hover {
  background: #2e8211;
}

.search-panel.home-landing .hero-garage-button {
  flex-direction: row;
  gap: 7px;
  height: 48px;
  padding-inline: 12px;
  text-transform: none;
  width: 94px;
}

.search-panel.home-landing .hero-garage-button span {
  display: inline;
  font-size: 12px;
  font-weight: 650;
}

.hero-search-shortcuts {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding: 0 2px;
}

.hero-search-shortcuts > span {
  color: #69756b;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 400;
}

.hero-search-shortcuts button,
.hero-search-shortcuts a {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 3px;
  box-shadow: none;
  color: #425446;
  display: inline-flex;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 550;
  gap: 6px;
  line-height: 1.3;
  min-height: 36px;
  padding: 4px 0;
  text-decoration: underline;
  text-decoration-color: #b3c6b3;
  text-underline-offset: 4px;
  text-transform: none;
}

.hero-search-shortcuts button:hover,
.hero-search-shortcuts a:hover {
  color: #267d0f;
  text-decoration-color: currentColor;
  transform: none;
}

.home-category-nav {
  gap: 8px;
  margin-block: 16px;
}

.home-category-nav button {
  background: #ffffff;
  border-color: #dce3dd;
  border-radius: 6px;
  color: #2c3a30;
  font-size: 13px;
  font-weight: 650;
  gap: 9px;
  min-height: 54px;
  text-transform: none;
}

.home-category-nav .category-parts,
.home-category-nav .category-pack,
.home-category-nav .category-accessory,
.home-category-nav .category-equipment,
.home-category-nav .category-clothing,
.home-category-nav .category-gift {
  background: #ffffff;
  color: #2c3a30;
}

.home-category-nav button i {
  color: #4d8c35;
  font-size: 20px;
}

.home-category-nav button:hover {
  background: #f4f8f2;
  border-color: #a8c69c;
  box-shadow: none;
  transform: none;
}

.footer-info {
  background: #242c25;
  padding: 34px 24px 24px;
}

.footer-info .footer-contact-grid {
  gap: 32px;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .95fr);
}

.footer-info .footer-brand-card,
.footer-info .footer-info-card,
.footer-info .footer-contact-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  justify-content: flex-start;
  min-height: 0;
  padding: 0;
}

.footer-info .footer-brand-card {
  align-content: start;
  column-gap: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 8px;
}

.footer-info .footer-site-logo {
  display: none;
}

.footer-info .footer-kicker {
  color: #a1c68d;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
}

.footer-info .footer-title,
.footer-info .footer-info-card h3,
.footer-info .footer-contact-card h3 {
  color: #f6f8f4;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.2px;
  line-height: 1.3;
  margin: 0;
  text-transform: none;
}

.footer-info .footer-info-card h3,
.footer-info .footer-contact-card h3 {
  margin-block: 8px 12px;
}

.footer-info .footer-lead,
.footer-info .footer-card-copy {
  color: #c9d3c9;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 38ch;
}

.footer-info .footer-contact-button {
  background: transparent;
  border: 1px solid #769968;
  color: #eef5e9;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 650;
  gap: 7px;
  justify-self: start;
  margin: 4px 0 0;
  min-height: 42px;
  padding: 0 14px;
  text-transform: none;
}

.footer-info .footer-contact-button:hover {
  background: #344631;
}

.footer-info .footer-hours-list {
  border: 0;
  gap: 9px;
  margin-top: 12px;
  padding: 0;
}

.footer-info .footer-hours-list div {
  align-items: baseline;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.footer-info .footer-hours-list strong {
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}

.footer-info .footer-phone-link {
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 650;
  gap: 8px;
  margin: 0 0 10px;
}

.footer-info .footer-service-badges {
  align-items: center;
  border-bottom: 1px solid #445044;
  flex-direction: row;
  gap: 10px 22px;
  justify-content: flex-start;
  margin-top: 24px;
  padding-bottom: 18px;
}

.footer-info .footer-service-badges span {
  background: transparent;
  border: 0;
  border-radius: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 500;
  gap: 6px;
  padding: 0;
  text-transform: none;
}

.footer-info .client-reviews-carousel {
  margin-top: 18px;
}

.footer-info .client-reviews-empty {
  background: transparent;
  border: 0;
  color: #ced8cb;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  max-width: none;
  padding: 10px 0;
  text-align: left;
  text-transform: none;
}

.footer-info .footer-text {
  border: 0;
  color: #b3c0b2;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  margin: 12px 0 0;
  max-width: none;
  padding: 0;
  text-align: left;
}

.footer-info .legal-footer-links {
  gap: 4px 22px;
  justify-content: flex-start;
  margin: 16px 0 0;
  max-width: none;
}

.footer-info .legal-footer-links a,
.footer-info .legal-footer-links button {
  background: transparent;
  border: 0;
  border-radius: 2px;
  box-shadow: none;
  color: #d6dfd4;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 400;
  justify-content: flex-start;
  line-height: 1.5;
  min-height: 36px;
  min-width: 0;
  padding: 6px 0;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
}

.footer-info .legal-footer-links a:hover,
.footer-info .legal-footer-links button:hover {
  background: transparent;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transform: none;
}

.footer {
  background: #1d241f;
  border-top: 1px solid #445044;
}

.footer .footer-inner {
  background: transparent;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  padding: 18px 24px;
}

.hero-search-shortcuts :is(button, a):focus-visible,
.footer-info :is(a, button):focus-visible {
  outline: 2px solid #92c971;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .footer-info .footer-contact-grid {
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-info .footer-brand-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .topbar {
    height: 60px;
    min-height: 60px;
  }

  .topbar .brand-home {
    min-height: 60px;
  }

  .topbar .top-actions {
    align-items: stretch;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
  }

  .topbar .top-actions .icon-button[hidden] {
    display: none;
  }

  .topbar .top-actions .cart-hover-zone {
    align-self: stretch;
    display: flex;
    flex: 0 0 auto;
    position: relative;
  }

  .topbar .top-actions .icon-button,
  .topbar .top-actions #cartButton {
    border: 0;
    border-radius: 0;
    flex: 0 0 44px;
    height: 60px;
    min-height: 60px;
    min-width: 44px;
    padding: 0 8px;
  }

  .storefront-notice {
    gap: 9px;
    padding: 11px 14px;
  }

  .search-panel.home-landing {
    background-position: center, center, 64% 55%;
    padding: 18px 12px 10px;
  }

  .search-panel.home-landing .home-intro {
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 0;
  }

  .search-panel.home-landing .home-intro .kicker {
    font-size: 11px;
    margin-bottom: 9px;
  }

  .search-panel.home-landing .home-intro h2 {
    font-size: clamp(30px, 8.5vw, 38px);
    letter-spacing: -.4px;
    line-height: 1.12;
    max-width: 26ch;
  }

  .search-panel.home-landing .home-intro p {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
  }

  .search-panel.home-landing .home-shop-photo {
    height: 132px;
    object-position: 50% 54%;
  }

  .search-panel.home-landing .hero-search-line {
    gap: 7px;
    grid-template-columns: 22px minmax(0, 1fr) 100px;
    padding: 7px 8px;
  }

  .search-panel.home-landing .hero-search-line > i {
    font-size: 18px;
    grid-column: 1;
    grid-row: 1;
    margin-left: 5px;
  }

  .search-panel.home-landing .hero-search-line .search-value {
    grid-column: 2 / -1;
    grid-row: 1;
  }

  .search-panel.home-landing .hero-search-line #searchValueInput {
    font-size: 14px;
    height: 46px;
    padding-inline: 4px;
  }

  .search-panel.home-landing .hero-search-line #searchButton {
    font-size: 14px;
    gap: 9px;
    grid-column: 1 / 3;
    grid-row: 2;
    height: 44px;
    min-height: 44px;
    min-width: 0;
    padding-inline: 12px;
  }

  .search-panel.home-landing .hero-search-line #searchButton i {
    font-size: 14px;
  }

  .search-panel.home-landing .hero-search-line .hero-garage-button {
    grid-column: 3;
    grid-row: 2;
    height: 44px;
    min-height: 44px;
    width: 100%;
  }

  .search-panel.home-landing .hero-search-line .hero-garage-button span {
    display: inline;
  }

  .hero-search-shortcuts {
    column-gap: 16px;
    justify-content: flex-start;
  }

  .hero-search-shortcuts button,
  .hero-search-shortcuts a {
    font-size: 12px;
    min-height: 44px;
  }

  .home-category-nav {
    gap: 8px;
    margin-block: 12px;
  }

  .home-category-nav button {
    flex-basis: 146px;
    font-size: 12px;
    gap: 8px;
    min-height: 48px;
    padding-inline: 10px;
  }
}

@media (max-width: 620px) {
  .footer-info {
    padding: 26px 16px 16px;
  }

  .footer-info .footer-contact-grid {
    gap: 22px;
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-info .footer-brand-card {
    column-gap: 15px;
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-info .footer-info-card,
  .footer-info .footer-contact-card {
    border-top: 1px solid #445044;
    padding-top: 18px;
  }

  .footer-info .footer-info-card h3,
  .footer-info .footer-contact-card h3 {
    font-size: 18px;
    margin-block: 6px 10px;
  }

  .footer-info .footer-service-badges {
    column-gap: 18px;
    row-gap: 10px;
  }

  .footer-info .legal-footer-links {
    align-items: start;
    column-gap: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0;
  }

  .footer-info .legal-footer-links a,
  .footer-info .legal-footer-links button {
    justify-content: flex-start;
    min-height: 44px;
    padding-block: 8px;
    text-align: left;
  }

  .footer .footer-inner {
    padding: 16px 16px 20px 64px;
    text-align: left;
  }
}
