/* =========================================================
   1. TOKENS / VARIABLES
========================================================= */

:root {
  --swi-bg: #0b0d10;
  --swi-card: #111b62;
  --swi-muted: #ffffff;
  --swi-text: #111b62;
  --swi-accent: #f1283b;
  --swi-accent-2: #ce183a;
  --swi-radius: 8px;
}


/* =========================================================
   2. BASE / WRAPPER
========================================================= */

.swi-wrap {
  margin: 0 auto;
}

.swi-results {
  margin-top: 22px;
  overflow-anchor: none;
}

.swi-results.is-loading {
  display: grid;
  min-height: 120px;
  place-items: center;
}

.swi-loader {
  width: 38px;
  height: 38px;
  border: 4px solid #d9dce8;
  border-top-color: var(--swi-accent);
  border-radius: 50%;
  animation: swi-spin 0.72s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .swi-loader {
    animation-duration: 1.5s;
  }
}

.swi-body {
  padding: 14px;
  color: var(--swi-muted);
}

.hidden {
  display: none !important;
}

.muted {
  font-size: 18px;
  color: var(--swi-muted);
  text-align: center;
}


/* =========================================================
   3. FINDER FORM
========================================================= */

.swi-h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3.6vw, 36px);
  text-align: center;
  color: var(--swi-text);
  font-weight: 700;
  font-style: italic;
}

.swi-lead {
  margin: 0 0 20px;
  color: var(--swi-muted);
}

.swi-finder {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  padding: 16px;
  background: var(--swi-card);
  border-radius: var(--swi-radius);
}

.swi-field {
  flex: 1 1 260px;
  min-width: 220px;
}

.swi-field label {
  display: block;
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  color: var(--swi-muted);
}

.swi-field select {
  width: 100%;
  background: var(--swi-muted);
  color: var(--swi-text);
  border-radius: var(--swi-radius);
  font-style: italic;
}

.swi-field .choices {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--swi-text);
  font-size: 18px;
  font-style: italic;
  letter-spacing: 0;
}

.swi-field .choices.is-open {
  z-index: 100;
}

.swi-field .choices__inner,
.swi-field .is-open .choices__inner {
  display: flex;
  height: 52px;
  min-width: 0;
  align-items: center;
  padding: 10px 46px 10px 16px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--swi-radius);
  background: #ffffff;
  color: var(--swi-text);
  font-size: 18px;
  line-height: 1.35;
}

.swi-field .choices.is-focused .choices__inner {
  border-color: var(--swi-accent);
  box-shadow: 0 0 0 3px rgba(241, 40, 59, 0.2);
}

.swi-field .choices__list--single {
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
}

.swi-field .choices__list--single .choices__item {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.swi-field .choices__placeholder {
  color: #4f5682;
  opacity: 1;
}

.swi-field .choices[data-type*='select-one']::after {
  right: 18px;
  z-index: 3;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border: solid var(--swi-text);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.swi-field .choices[data-type*='select-one'].is-open::after {
  margin-top: -2px;
  border-color: var(--swi-text);
  transform: rotate(225deg);
}

.swi-field .choices__list--dropdown,
.swi-field .choices__list[aria-expanded] {
  top: calc(100% + 7px);
  z-index: 100;
  padding: 6px;
  border: 1px solid #d9dce8;
  border-radius: var(--swi-radius);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(11, 19, 86, 0.22);
  color: var(--swi-text);
  overflow: hidden;
}

.swi-field .choices__list--dropdown .choices__list,
.swi-field .choices__list[aria-expanded] .choices__list {
  max-height: 300px;
  overscroll-behavior: contain;
}

.swi-field .choices__input--cloned {
  position: absolute;
  top: -61px;
  left: -1px;
  z-index: 2;
  width: calc(100% + 2px) !important;
  height: 52px;
  margin: 0;
  padding: 10px 46px 10px 16px;
  border: 2px solid var(--swi-accent);
  border-radius: var(--swi-radius);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(241, 40, 59, 0.14);
  color: var(--swi-text) !important;
  caret-color: var(--swi-text);
  -webkit-text-fill-color: var(--swi-text);
  font-size: 18px;
  font-style: italic;
  line-height: 1.35;
}

.swi-field .choices__input--cloned:focus {
  border-color: var(--swi-accent);
  box-shadow: 0 0 0 3px rgba(241, 40, 59, 0.14);
  color: var(--swi-text) !important;
  -webkit-text-fill-color: var(--swi-text);
  outline: 0;
}

.swi-field .choices.is-open .choices__list--dropdown,
.swi-field .choices.is-open .choices__list[aria-expanded] {
  overflow: visible;
}

.swi-field .choices__list--dropdown .choices__item,
.swi-field .choices__list[aria-expanded] .choices__item {
  padding: 11px 12px;
  border-radius: var(--swi-radius);
  color: var(--swi-text);
  font-size: 17px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
}

.swi-field .choices__list--dropdown .choices__placeholder,
.swi-field .choices__list[aria-expanded] .choices__placeholder {
  display: none !important;
}

.swi-field .choices__list--dropdown .choices__item--selectable.is-highlighted,
.swi-field
  .choices__list[aria-expanded]
  .choices__item--selectable.is-highlighted {
  background: var(--swi-card);
  color: #ffffff;
}

.swi-field .choices__list--dropdown .choices__item.is-selected,
.swi-field .choices__list[aria-expanded] .choices__item.is-selected {
  font-weight: 700;
}

.swi-field .choices.is-disabled {
  cursor: not-allowed;
}

.swi-field .choices.is-disabled .choices__inner {
  border-color: transparent;
  background: #d9dce8;
  box-shadow: none;
  color: #737895;
  opacity: 0.78;
}

.swi-field .choices.is-disabled::after {
  border-color: #737895;
}

.swi-btn-primary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: var(--swi-radius);
  background: var(--swi-accent);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.swi-btn-primary:hover:not(:disabled) {
  background: var(--swi-accent-2);
}

.swi-btn-primary:focus-visible {
  border-color: #ffffff;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(241, 40, 59, 0.28);
}

.swi-btn-primary:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.swi-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--swi-muted);
}


/* =========================================================
   4. RESULT HEADER / TITLE / AUTO IMAGE
========================================================= */

.swi-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 3.6vw, 32px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.5px;
  text-align: center;
  text-transform: uppercase;
  color: var(--swi-text);
}

.swi-title span {
  color: var(--swi-accent);
}

.swi-logo {
  flex: 1;
  overflow: hidden;
  max-width: 50%;
  border-radius: var(--swi-radius);
}

.swi-logo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--swi-radius);
  transition: transform 0.35s ease, filter 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .swi-logo:hover img {
    transform: scale(1.06);
    filter: brightness(1.03);
  }
}

.swi-sheet {
  color: var(--swi-card);
}

.swi-sheet-head {
  margin: 0 0 16px;
  padding: 2px 18px;
  background: var(--swi-card);
  color: var(--swi-muted);
  border-radius: var(--swi-radius);
  font-size: clamp(18px, 3.6vw, 26px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.5px;
}


/* =========================================================
   5. RESULT LAYOUT
========================================================= */

.product-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 20px 0 24px;
}

.cards-column {
  display: flex;
  flex: 1;
  max-width: 50%;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-width: 0;
}

.cards-column .card {
  width: 100%;
}

.slider-column {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: auto;
  min-width: 0;
}

.hero {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
}


/* =========================================================
   6. SLIDER
========================================================= */

.slider {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slider-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(200px, 30vw, 400px);
  overflow: hidden;
  cursor: pointer;
}

.slider-main img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  background: var(--swi-card);
  color: var(--swi-muted);
  border-radius: 999px;
  font-size: 12px;
}

.thumbs {
  display: flex;
  justify-content: center;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
}

.thumb-wrap {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.thumb {
  width: 92px;
  height: 64px;
  padding: 0;
  background: transparent;
  border: none;
  overflow: hidden;
  cursor: pointer;
}

.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--swi-muted);
  border: 2px solid transparent;
  border-radius: var(--swi-radius);
  object-fit: contain;
  transition: border-color 0.2s ease;
}

.thumb[aria-current="true"] img {
  border-color: var(--swi-accent, #f1283b);
}

.thumb-title {
  max-width: 100%;
  margin-top: 6px;
  font-size: 16px;
  color: var(--swi-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background-color: var(--swi-card);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  cursor: pointer;
}

.nav-btn:hover {
  background-color: var(--swi-accent);
}

.nav-prev {
  left: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}

.nav-next {
  right: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
}

.nav-prev:hover {
  transform: translateY(-50%) scale(1.05);
}

.nav-next:hover {
  transform: translateY(-50%) scale(1.05);
}



/* =========================================================
   7. MODAL / LIGHTBOX
========================================================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  overscroll-behavior: contain;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 35, 0.76);
  backdrop-filter: blur(3px);
}

.modal-body {
  position: relative;
  overflow: hidden;
  background: var(--swi-card);
  border-radius: var(--swi-radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.modal-body img {
  display: block;
  max-width: 92vw;
  max-height: 80vh;
}

.modal-video {
  display: block;
  width: min(92vw, 1120px);
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  background: #000;
  border: 0;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--swi-card);
  color: transparent;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(11, 27, 98, 0.28);
  cursor: pointer;
  font-size: 0;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.modal-close::before,
.modal-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal.is-video .modal-close {
  display: none;
}

.modal-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--swi-card);
  color: transparent;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(11, 27, 98, 0.28);
  cursor: pointer;
  font-size: 0;
  transform: translateY(-50%);
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.modal-nav::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
}

.modal-nav.left {
  left: 12px;
}

.modal-nav.left::before {
  transform: translate(-38%, -50%) rotate(135deg);
}

.modal-nav.right {
  right: 12px;
}

.modal-nav.right::before {
  transform: translate(-62%, -50%) rotate(-45deg);
}

.modal-close:hover,
.modal-nav:hover {
  background: var(--swi-accent);
  box-shadow: 0 10px 28px rgba(241, 40, 59, 0.38);
}

.modal-close:hover {
  transform: scale(1.06);
}

.modal-nav:hover {
  transform: translateY(-50%) scale(1.06);
}

.modal-close:focus-visible,
.modal-nav:focus-visible {
  outline: 4px solid var(--swi-accent);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .modal-close {
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
  }

  .modal-nav {
    width: 40px;
    height: 40px;
  }

  .modal-nav.left {
    left: 8px;
  }

  .modal-nav.right {
    right: 8px;
  }
}

html.modal-open,
body.modal-open {
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}


/* =========================================================
   8. PICK / PRODUCT CARDS
========================================================= */

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

.swi-pick-head {
  margin: 0.2rem 0 0.5rem;
  padding: 2px 14px;
  background: var(--swi-accent);
  color: var(--swi-muted);
  border: none;
  border-radius: var(--swi-radius);
  font-size: clamp(18px, 3.6vw, 23px);
  font-weight: 800;
  font-style: italic;
}

.swi-pick-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
  gap: 3px;
  flex-wrap: wrap;
}

.swi-pick-size {
  margin-top: 10px;
  padding-left: 15px;
}

.swi-pick-model {
  padding-left: 15px;
}

.highlight {
  color: var(--swi-accent);
}

.swi-pick-buy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-left: 15px;
  padding: 8px 12px;
  background: var(--swi-card);
  color: var(--swi-muted);
  border: none;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.swi-pick-buy:hover {
  background: var(--swi-accent);
  color: var(--swi-muted);
  filter: brightness(1.05);
}

.icon-cart {
  display: block;
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}


/* =========================================================
   9. HOW TO INSTALL / STEPS
========================================================= */

.swi-how {
  margin-top: 16px;
}

.swi-how-head {
  margin: 0 0 16px;
  padding: 2px 18px;
  background: var(--swi-card);
  color: var(--swi-muted);
  border-radius: var(--swi-radius);
  font-size: clamp(18px, 3.6vw, 26px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.5px;
}

.swi-how-step {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.step {
  position: relative;
  flex: 1 1 calc(25% - 16px);
  max-width: calc(25% - 16px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 2px solid var(--swi-card);
  border-radius: var(--swi-radius);
}

.step-video {
  border: 2px solid var(--swi-accent);
}

.step img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.video-link:focus-visible {
  outline: 4px solid var(--swi-accent);
  outline-offset: -4px;
}

.youtube-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px !important;
  height: 100px !important;
  opacity: 0.9;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.video-link:hover .youtube-icon {
  opacity: 1;
}


/* =========================================================
   10. WHY SECTION
========================================================= */

.swi-why {
  margin-top: 16px;
}

.swi-why-head {
  margin: 0 0 16px;
  padding: 2px 18px;
  background: var(--swi-card);
  color: var(--swi-muted);
  border-radius: var(--swi-radius);
  font-size: clamp(18px, 3.6vw, 26px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.5px;
}

.swi-why-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.why-text {
  flex: 1;
}

.why-text ul {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.why-text li {
  margin-bottom: 10px;
  font-size: 16px;
}

.why-image {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.why-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}


/* =========================================================
   11. RESPONSIVE
========================================================= */

@media (max-width: 1024px) {


  .step {
    flex: 1 1 calc(50% - 16px);
    max-width: calc(50% - 16px);
  }

  .swi-why-inner {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .product-layout {
    flex-direction: column;
  }

  .swi-logo,
  .cards-column {
    max-width: 100%;
    width: 100%;
  }

  .thumbs {
    justify-content: flex-start;
    padding-left: 12px;
    padding-right: 12px;
  }


  .thumb-wrap {
    flex: 0 0 auto;
  }


  .nav-btn {
    width: 32px;
    height: 32px;
  }

  .nav-prev {
    left: 6px;
  }

  .nav-next {
    right: 6px;
  }

  .badge {

    right: 6px;
  }

}

@media (max-width: 760px) {
  .choose {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .step {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* =========================================================
   12. PRODUCT VARIANTS (v2.2.0)
========================================================= */

.swi-vehicle-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
  margin: 22px 0 26px;
}

.swi-vehicle-layout .swi-logo {
  width: 100%;
  max-width: none;
}

.swi-vehicle-layout .auto-logo {
  overflow: hidden;
  border-radius: var(--swi-radius);
  aspect-ratio: 16 / 10;
  background: #f3f4f7;
}

.swi-vehicle-layout .auto-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swi-vehicle-details {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  justify-content: center;
}

.swi-vehicle-details .swi-title {
  margin: 0 0 24px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
  text-align: left;
}

.swi-fitment-summary {
  display: grid;
  gap: 12px;
  margin: 0;
}

.swi-fitment-summary > div {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid #d9dce8;
}

.swi-fitment-summary dt {
  color: #5f6685;
  font-weight: 700;
}

.swi-fitment-summary dd {
  margin: 0;
  color: var(--swi-text);
  font-size: 18px;
  font-weight: 800;
  text-align: right;
}

.swi-product-variants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 6px 0 30px;
}

.swi-product-variants.has-single {
  grid-template-columns: minmax(0, 1fr);
}

.swi-product-card {
  min-width: 0;
  overflow: hidden;
  border: 2px solid #dfe2eb;
  border-radius: var(--swi-radius);
  background: #ffffff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.swi-product-card.is-active {
  border-color: var(--swi-accent);
}

.swi-product-select {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border: 0;
  border-bottom: 4px solid transparent;
  background: var(--swi-card);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.swi-product-card.is-active .swi-product-select {
  background: var(--swi-card);
  border-bottom-color: var(--swi-accent);
  color: #ffffff;
}

.swi-product-select.is-static {
  justify-content: flex-start;
  background: var(--swi-card);
  border-bottom-color: var(--swi-accent);
  color: #ffffff;
  cursor: default;
}

.swi-product-state {
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
}

.swi-product-state:empty {
  display: none;
}

.swi-product-card.is-active .swi-product-state {
  border-color: var(--swi-accent);
  background: var(--swi-accent);
}

.swi-product-card-body {
  display: grid;
  grid-template-columns: minmax(240px, 40%) minmax(0, 1fr);
  min-height: 300px;
  background: #ffffff;
}

.swi-product-variants.has-single .swi-product-card-body {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.swi-product-image-button {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 300px;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border: 0;
  border-right: 1px solid #e3e5ec;
  background: #ffffff;
  cursor: zoom-in;
}

.swi-product-image-button:disabled {
  cursor: default;
}

.swi-product-image-button img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.swi-product-image-button:hover img {
  transform: scale(1.035);
}

.swi-product-image-button:focus-visible {
  outline: 3px solid var(--swi-accent);
  outline-offset: -4px;
}

.swi-product-no-image {
  color: #7b8199;
}

.swi-product-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 26px 30px;
}

.swi-product-specs {
  display: grid;
  width: 100%;
}

.swi-product-spec {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto;
  gap: 6px 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid #e2e4eb;
}

.swi-product-spec:first-child {
  padding-top: 0;
}

.swi-product-spec:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.swi-product-spec .swi-product-side {
  grid-column: 1;
  color: #69708b;
  font-weight: 700;
}

.swi-product-spec .swi-pick-size {
  grid-column: 2;
  color: var(--swi-text);
  font-size: 18px;
  font-weight: 800;
}

.swi-product-spec .swi-pick-size,
.swi-product-spec .swi-pick-model {
  margin: 0;
  padding: 0;
}

.swi-product-spec .swi-pick-model {
  grid-column: 2;
  justify-self: end;
  color: var(--swi-accent);
  font-size: 18px;
  font-weight: 900;
  overflow-wrap: anywhere;
  text-align: right;
}

.swi-product-sku-label {
  grid-column: 1;
  color: #69708b;
  font-weight: 700;
}

.swi-product-spec .swi-pick-buy {
  grid-column: 2;
  width: max-content;
  margin: 5px 0 0;
}

.swi-product-spec .swi-pick-size {
  justify-self: end;
  text-align: right;
}

.swi-series-panel {
  margin-top: 2px;
}

.swi-series-intro {
  max-width: 1040px;
  margin: 30px 0 22px;
  padding: 2px 0 2px 22px;
  border-left: 5px solid var(--swi-accent);
}

.swi-series-intro h3 {
  margin: 0;
  color: var(--swi-text);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}

.swi-series-tagline {
  margin: 8px 0 0;
  color: var(--swi-accent);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
}

.swi-series-description {
  margin-top: 14px;
  color: #454c6c;
  font-size: 16px;
  line-height: 1.75;
}

.swi-series-description > :first-child {
  margin-top: 0;
}

.swi-series-description > :last-child {
  margin-bottom: 0;
}

.swi-series-panel[hidden] {
  display: none !important;
}

.swi-instruction-link {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin: 18px auto 0;
  padding: 10px 22px;
  border-radius: var(--swi-radius);
  background: var(--swi-accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.swi-instruction-link:hover {
  background: var(--swi-accent-2);
  color: #ffffff;
  transform: translateY(-1px);
}

.swi-instruction-link:focus-visible {
  outline: 3px solid var(--swi-card);
  outline-offset: 3px;
}

.swi-series-extra {
  margin-top: 16px;
  color: var(--swi-text);
}

@media (max-width: 1270px) {
  .swi-vehicle-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .swi-product-variants.has-multiple .swi-product-card-body {
    grid-template-columns: 1fr;
  }

  .swi-product-variants.has-multiple .swi-product-image-button {
    min-height: 240px;
    border-right: 0;
    border-bottom: 1px solid #e3e5ec;
  }
}

@media (max-width: 700px) {
  .swi-vehicle-layout,
  .swi-product-variants,
  .swi-product-variants.has-single {
    grid-template-columns: 1fr;
  }

  .swi-fitment-summary > div {
    grid-template-columns: 1fr auto;
  }

  .swi-vehicle-details .swi-title {
    margin-top: 4px;
    text-align: center;
  }

  .swi-product-card-body {
    grid-template-columns: 1fr;
  }

  .swi-product-variants.has-single .swi-product-card-body {
    grid-template-columns: 1fr;
  }

  .swi-product-image-button {
    min-height: 240px;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid #e3e5ec;
  }

  .swi-product-copy {
    padding: 18px;
  }

  .swi-series-intro {
    margin-top: 24px;
    padding-left: 16px;
  }

  .swi-series-intro h3 {
    font-size: 23px;
  }

  .swi-series-tagline {
    font-size: 17px;
  }

}

@media (max-width: 460px) {
  .swi-product-card-body {
    grid-template-columns: 1fr;
  }

  .swi-product-image-button {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid #e3e5ec;
  }
}
