@font-face {
  font-family: 'Sonic';
  src: url('../fonts/sonic-webfont.woff2') format('woff2'), url('../fonts/sonic-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: myriad;
  src: url(//cdn.shopify.com/s/files/1/0993/5792/t/6/assets/myriad.otf?13066298054634350815); }
  
body.no-scroll {
  overflow: hidden;
}

.product_info-title {
    font-size: 55px;
    line-height: 55px;
    font-weight: 600;
    font-family: 'sonic';
    color: #000;
}
.product_info-price {
    font-size: 25px;
    line-height: 25px;
    font-weight: 600;
    font-family: 'ShopifySans';
}
.color-swatch {
    background: transparent;
    border: 0;
    padding: 0;
    position: relative;
}
.color-swatch img {
    border-radius: 50%;
}

.color-swatch.active::after {
  content: "✔";
  font-size: 1rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: ShopifySans;
}

.color-swatch-light.active::after {
  color: #000;
}

.color-swatch-dark.active::after {
  color: #fff;
}

.color-swatch-input-label {
  user-select: none;
  display: flex;
  align-items: center;
  font-size: 1.15rem;
  text-transform: uppercase;
  line-height: 1;
  font-weight: 600;
  font-family: ShopifySans;
}

.color-swatch-input-label input {
  margin-right: 10px;
  height: 25px;
  width: 25px;
}

.color-swatch-input-container {
  display: none;
}

.color-swatch:focus, .big-image .main-nav:focus, .lightbox .lightbox-nav:focus{
  outline:none;
}

.product_info-afterpay-logo {
    margin-left:5px;
}

.slider-img {
  cursor: pointer;
  border-radius: 10px;
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  overflow: hidden;   /* IMPORTANT: prevents background movement */
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg fill='%23bbff00' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L3 8l8 7'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg fill='%23bbff00' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 1l8 7-8 7'/%3E%3C/svg%3E") !important;
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: center;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #000;
  border-radius: 50%;
  background-size: 60%;
}

.lightbox-img {
  transition: transform 0.25s ease, opacity 0.2s ease;
  cursor: grab;
  display: block;
  max-width: none;
  max-height: none;
  transform-origin: top left;  /* IMPORTANT FIX */
}

.zoom-container {
  width: 100%;
  height: 100%;
  overflow: auto;
  position: relative;
}

.btn.w-100.add-to-cart-btn {
  color: #000;
  text-transform: uppercase;
  font-size: 1.75rem !important;
  background: #daff1c;
  font-weight: 600;
  font-family: ShopifySans;
}

a.pre-order-btn {
    display: block;
    text-align: center;
    background: red;
    color: #000;
    text-transform: uppercase;
    font-size: 1.75rem !important;
    background: #daff1c;
    font-weight: 600;
    font-family: ShopifySans;
    padding: 4px 0;
}

a.pre-order-btn:hover {
  text-decoration: none;
}

.database-title {
  text-align:center;
}

.specs_highlight div.highlight_image,
.specs_highlight div.highlight_text {
    max-width: 385px;
}

.spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid #ccc;
  border-top: 2px solid #000;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#imageSlider .carousel-item img{
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

.specs-table {
  width: 100%;
}
.specs_highlight {
  display: flex;
  justify-content: center; }

.specs_highlight div {
  max-width: 50%; }

.specs_highlight div.highlight_text {
  background: #000;
  padding: 3em; }

.specs_highlight div.highlight_text h2 {
  color: #fff;
  font-size: 36px;
  font-family: sonic;
  margin: 0; }

.specs_highlight div.highlight_text h6 {
  margin: 0 0 20px;
  color: #bf0;
  font-size: 14px;
  font-family: myriad; }

.specs_highlight div.highlight_text p {
  color: #fff;
  font-size: 11px;
  font-family: myriad;
  letter-spacing: 1px; }

.specs_highlight .highlight_image {
  display: flex; }

.specs_highlight .highlight_image img {
  object-fit: cover;
  align-self: center; }


.specs_highlight .highlight_image img {
  max-width: 100%;
}
@media only screen and (max-width: 768px) {
  .specs_highlight {
  display: flex;
  flex-direction: column;
}

.specs_highlight:nth-child(even) {
  flex-direction: column-reverse;
}
  }

@media only screen and (min-width: 769px) {

.section-frame.frame-image {
  display: flex;
  align-items: center; }

.section-wheels {
  min-height: 380px; }

.section-wheels.wheels-image {
  display: flex;
  align-items: center; }

.section-suspension {
  min-height: 308px; }

.section-suspension.suspension-image {
  background: #000;
  display: flex;
  align-items: center; }

.section-engine-header {
  min-height: 308px; }

.section-engine-header.engine-header-image {
  display: flex;
  align-items: center; }

.product-description .clearfix {
  height: 0px;
  clear: both; }

.specs_highlight {
  display: flex;
  justify-content: center; 
  width: 100%;
}

.specs_highlight div {
  max-width: 50%; }

.specs_highlight div.highlight_text {
  background: #000;
  padding: 3em; }

.specs_highlight div.highlight_text h2 {
  color: #fff;
  font-size: 36px;
  font-family: sonic;
  margin: 0; }

.specs_highlight div.highlight_text h6 {
  margin: 0 0 20px;
  color: #bf0;
  font-size: 14px;
  font-family: myriad; }

.specs_highlight div.highlight_text p {
  color: #fff;
  font-size: 11px;
  font-family: myriad;
  letter-spacing: 1px; }

.specs_highlight .highlight_image {
  display: flex; }

.specs_highlight .highlight_image img {
  object-fit: cover;
  align-self: center; }

}

.col-md-12 a.mx-auto {
  text-align: center;
}

.products-content iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  height: auto;
}
#dealerList {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.dealer-card {
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.dealer-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #1e2024;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: #fff;
}

/* .dealer-header:hover {
  background: rgba(0, 0, 0, 0.02);
} */


.dealer-header-text {
  min-width: 0;
}

.dealer-name {
  color: #fff;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dealer-name span {
    background: #c4f000;
    color: #000;
    padding: 2px 6px;
    border-radius: 10%;
    font-size: 12px;
    margin: 0 5px;
}

.dealer-meta {
  margin: 2px 0 0;
  font-size: 12px;
  color: #fff;
}

.dealer-caret {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: #c4f000;
}

.dealer-card.expanded .dealer-caret {
  transform: rotate(180deg);
}

/* Details — collapsed by default, animate via grid-template-rows trick */
.dealer-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.dealer-card.expanded .dealer-details {
  grid-template-rows: 1fr;
}

/* The wrapper that actually clips — needs min-height: 0 to respect the grid row */
.dealer-details > .dealer-details-inner {
  overflow: hidden;
  min-height: 0;
}

.dealer-details > * {
  overflow: hidden;
}

.dealer-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 8px 14px;
  font-size: 13px;
  border-top: 0.5px solid rgba(0, 0, 0, 0.08);
}

.dealer-row-label {
  color: rgba(0, 0, 0, 0.55);
  font-size: 12px;
}

.dealer-row-value {
  color: #1a1a1a;
  word-break: break-word;
}

.dealer-row-value a {
  color: inherit;
  text-decoration: underline;
}

.dealer-loading,
.dealer-empty {
  margin: 0;
  padding: 14px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
  text-align: center;
}

.dealer-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 5px;
}

.dealer-divider::before,
.dealer-divider::after {
  content: "";
  flex: 1;
  height: 0.5px;
  background: rgba(0, 0, 0, 0.15);
}

.dealer-divider span {
  font-size: 16px;
  font-weight: 600;
  color: rgba(0, 0, 0, 1);
  white-space: nowrap;
  text-transform: uppercase;
}
.dealer-header:focus {
  outline:none !important;
}

/* ===== Product gallery ===== */
.product-gallery .main-image {
  position: relative;
}
.product-gallery .main-image img {
  cursor: zoom-in;
  border: 1px solid #eee;
}

/* Main-image overlay arrows (positioning only — icon provides the look) */
.main-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.main-prev { left: 12px; }
.main-next { right: 12px; }
.main-nav:disabled { opacity: 0.3; cursor: default; }

/* Chevron icons */
.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg fill='none' stroke='%23bbff00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L3 8l8 7'/%3E%3C/svg%3E");
}
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg fill='none' stroke='%23bbff00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 1l8 7-8 7'/%3E%3C/svg%3E");
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 40px !important;
  height: 40px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: #000 !important;
  border-radius: 50% !important;
  background-size: 60% !important;
}

/* ===== Thumbnail slider ===== */
.thumb-slider {
  width: 100%;
}

.thumb-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;   /* IE/Edge */
  scrollbar-width: none;      /* Firefox */
}
.thumb-track::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.thumb-track .thumb-item {
  /* width/height now set by JS so exactly 5 fit */
  object-fit: cover;
  flex: 0 0 auto;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: border-color 0.15s ease;
}

.thumb-track .thumb-item:hover { border-color: #ccc; }
.thumb-track .thumb-item.active { border-color: #c4f000; } /* match your brand colour */

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}
.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-nav:disabled { opacity: 0.3; cursor: default; }

body.no-scroll { overflow: hidden; }

@media (max-width: 767px) {
  .carousel-control-prev-icon,
  .carousel-control-next-icon { width: 32px; height: 32px; }
  .lightbox-nav { font-size: 24px; padding: 10px 14px; }
  .lightbox-close { top: 12px; right: 16px; font-size: 32px; }
}
