/*
Theme Name: GT Motorcycles
Theme URI: https://onethread.design/dev/gtmotor/
Author: OneThread
Author URI: https://onethread.design/
Description: GT Motorcycles theme (minimal baseline while stabilising sticky mast).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gtmotor
*/

/* Essentials only — presentation lives here; mast concerns live in assets/css/mast.css */

html, body { overflow: visible; }

/* Sections */
.section { width: 100%; }
.section.whiteBackground { background: #fff; }
.section.greyBackground  { background: #E2E2E2; }

/* Constrained centered content with spacing */
.SectionContainer {
  max-width: 1376px;
  margin-inline: auto;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* In-stock dots */
#gtm-instock .gtm-dots button[aria-current="true"]{
  opacity: 1;
  background: #333;
}

/* Don’t let content containers accidentally kill sticky */
main#primary,
.section, [class*="section"],
.carousel, .carousel-inner, .carousel-item {
  transform: none !important;
  will-change: auto !important;
  filter: none !important;
  perspective: none !important;
  contain: none !important;
  overflow: visible !important;
}

/* global – works in grids, carousels, and anywhere the loop item is used */
.products .gtm-card.brand-ducati  .brand-badge { background:#CB1517; }
.products .gtm-card.brand-honda   .brand-badge { background:#CC0000; }
.products .gtm-card.brand-kawasaki .brand-badge{ background:#5BB715; }
.products .gtm-card.brand-yamaha  .brand-badge { background:#001489; }

.brand-badge { color:#fff; }
.brand-badge.brand-ducati   { background:#CB1517; }
.brand-badge.brand-honda    { background:#CC0000; }
.brand-badge.brand-kawasaki { background:#5BB715; }
.brand-badge.brand-yamaha   { background:#001489; }

/* Explore cleanups */
ul.gtm-explore-track { list-style: none; margin: 0; padding: 0; }  /* old CSS targeted .gtm-explore-list, not .gtm-explore-track */
.gtm-explore-img { background: transparent; }                      /* staging sets #f3f3f3 */
.gtm-explore-title { color: #000; }  

/* Hide Woo default product grid where our custom explorer is used */
body.tax-product_cat .woocommerce ul.products,
body.tax-product_brand .woocommerce ul.products {
  display: none !important;
}
ul.products.gtm-hidden { display: none !important; }
body.has-explorer .woocommerce ul.products { display: none !important; }