/* ==========================
   Maple Theme Base Reset
   ========================== */

  /*  

text color: #0B1215
red: #e60d2e
   */


:root {
  --font-size-base: 1rem;
  --fs-xs: clamp(0.75rem, 0.9vw, 1rem);
  --fs-sm: clamp(0.875rem, 1vw, 1.125rem);
  --fs-md: clamp(1rem, 1.2vw, 1.5rem);
  --fs-lg: clamp(1.25rem, 2vw, 2rem);
  --fs-xl: clamp(1.5rem, 3vw, 2.5rem);
  --fs-h1: clamp(3.5rem, 4.4vw, 4rem);
  --fs-h2: clamp(.65rem, 1.1vw, 1rem);
  --fs-list: clamp(1rem, 1.1vw, 1.2rem);
  --fs-ps-h1: clamp(2.75rem, 3vw, 3rem);
    --content-width: 1500px; /* Adjust to your preference */
    --content-padding: 1em; /* Side padding for mobile */
}
/* ================================
   Button Fill - Base Setup
   ================================ */
.btn-fill {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-fill__bg {
  position: absolute;
  inset: 0;
  background: var(--color-accent-red, #c41e3a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
  z-index: -1;
  pointer-events: none;
}

/* Text and border color transitions */
.btn-fill {
  transition: color 0.3s ease, border-color 0.3s ease;
}

.btn-fill:hover {
  color: #ffffff;
  border-color: var(--color-accent-red, #c41e3a);
}

/* ================================
   Button Variants
   ================================ */
.btn-fill--outline {
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.btn-fill--solid {
  background: #ffffff;
  border: 1px solid #0a0a0a;
  color: #0a0a0a;
}

.btn-fill--dark-solid {
  background: #0a0a0a;
  border: 1px solid #0a0a0a;
  color: #ffffff;
}



/* Dark background variant (for light sections) */
.btn-fill--dark {
  background: transparent;
  border: 1px solid #0a0a0a;
  color: #0a0a0a;
}







.stock-qty, .product .stock span.quantity { display: none !important; }



.dot-wave {
    display: inline-block;
    letter-spacing: 2px;
}

.dot-wave span {
    animation: dotFlash 1.3s infinite;
    font-weight: bold;
    font-size: 1.2em;
    color: #555;
}

.dot-wave span:nth-child(2) {
    animation-delay: 0.2s;
}

.dot-wave span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotFlash {
    0%, 80%, 100% {
        opacity: 0.2;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-3px);
    }
}



.viewer-360,
.viewer-360 img {
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.viewer-360 {
  cursor: grab;
  flex:1;
}

.viewer-360.dragging {
  cursor: grabbing; 
}

nav, .ui-label, button {
  letter-spacing: 0.02em;
  font-size: 0.875rem;
}

.currency-switcher{
background: #f1f1f1; text-align: center;
display: none;
}

.currency-banner {
font-size: 0.9em;
border-top: 3px solid #ccc;
text-align: center;
background: #2F3238;
color: #EEF0F4;
font-weight: bold;
padding-bottom: 5em;
}
.currency-banner small{
  font-weight:normal;
  color:#B6BCC7;
}

.currency-banner small a span{ 
  font-weight: bold;
  text-decoration: underline;
}
.currency-cad .currency-banner {
  border-color: #B53936;
}


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

body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}



body {
font-family: Arial, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
/*  background-image: url("/wp-content/uploads/line.webp");*/
  background-color: #fcfcfc;
  background-size: 8em 8em;
  color: #5b5a58; 
  overflow-x: hidden;
  max-width: 100%;
}

header{

    background-image: url("/wp-content/uploads/line.webp");
  background-color: #0e0808;
      background-blend-mode: color-dodge;

}

.above-content{
      background-color: #fcfcfc;

}


[data-theme="dark"] header {
    background-color: #0b0b0b;
}

body.theme-dark{
  background-color: #0b0b0b;
  color: #fff; 


}




ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
  background-color: transparent;
  border: none;
  padding: 0;
  margin: 0;
  outline: none;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
font-family:serif;
  line-height: 1.2;
}

main, header, footer, nav, section, article, aside, figure {
  display: block;
}

main{
  container-type: inline-size;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
}

:root {
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
}







.topbar {
  background: #111;
  color: #fff;
  position: relative;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease, opacity 0.2s ease;
  overflow: hidden;
  opacity: 0;
}

.topbar.show {
  grid-template-rows: 1fr;
    opacity: 1;

}

.topbar-inner {
  min-height: 0; /* Critical for grid animation */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 var(--content-padding);
  box-sizing: border-box;
  max-width: var(--content-width);
  margin: 0 auto;
}


.topbar.show .topbar-inner {
  padding: 1em var(--content-padding); /* Add vertical padding only when shown */
}
.topbar-text {
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  padding: 0 40px;
}

#topbar-close {
  cursor: pointer;
  position: absolute;
  right: var(--content-padding);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: inherit;
  padding: 8px;
  font-size: 18px;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

#topbar-close:hover {
  opacity: 1;
}










.theme-mode-container {
    display: inline-block;
    margin-right:4em;
}

.theme-toggle-pill {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-track {
    position: relative;
    width: 60px;
    height: 30px;
    background: #2a2a2a;
    border-radius: 15px;
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

[data-theme="light"] .toggle-track {
    background: #d4d4d4;
}

.toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

[data-theme="light"] .toggle-thumb {
    background: #f5f5f5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

[data-theme="dark"] .toggle-thumb {
    transform: translateX(30px);
}

.theme-icon {
    width: 18px;
    height: 18px;
}

.sun-core, .moon-core {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

[data-theme="light"] .sun-core {
    opacity: 1;
    transform: scale(1);
}

[data-theme="light"] .moon-core {
    opacity: 0;
    transform: scale(0);
}

[data-theme="dark"] .sun-core {
    opacity: 0;
    transform: scale(0);
}

[data-theme="dark"] .moon-core {
    opacity: 1;
    transform: scale(1);
}

.theme-label {
    font-size: 0.875em;
    font-weight: 500;
    transition: color 0.3s ease;
    color: #333;
    user-select: none;
    margin-left:4em;
}


[data-theme="dark"] .theme-label {
    color: #fff;
}

.theme-toggle-pill:hover .toggle-thumb {
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

[data-theme="light"] .theme-toggle-pill:hover .toggle-thumb {
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.theme-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.15s ease-in-out;
}

.theme-transition-overlay.active {
    opacity: 0.3;
}

body,
.site-header,
.site-footer {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.3s;
}



#main-section .trusted-20{
flex: 1 1 100%;
}





.btn.solid {
  background: #f2f2f2;
  color: #000;
  font-weight: bold;
}

.btn.solid:hover {
background: #8e020c;
color: #fff;
outline: 1px solid rgba(255, 255, 255, 0.23);
}




.palm-link{
  font-size: .75em;
}



#main-section,
#sub-section,
#sub-section-a{
  display: flex;
  flex-direction:row;
  flex-wrap: wrap;
  container-type: inline-size;
}

#main-section{
  max-width: 100%;
  margin:0em auto;
  gap: 1em;
  justify-content: center;
  box-shadow: 0px 12px 11px -6px rgba(0, 0, 0, 0.25);
}
.home-row-b{
  flex: 1 1 100%;
  justify-content: center;
  display: flex;
  gap: 2em;
  max-width: 1200px;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 1em;
  z-index: 0;
  position: relative;
}



#news-dealer{
  flex:1;
}
.news-dealer-inner{
  display: flex;
  flex-wrap: wrap;
  background-color: #1c090a;
background-image: radial-gradient(circle at -82% -44%, #00000026 56%, transparent 93.05%),radial-gradient(circle at 73% -35%, #0000001f 42%, transparent 85.05%),radial-gradient(circle at 46% 86%, #0000002a 44%, transparent 85.05%),linear-gradient(345deg, #00000016 42%, transparent 84.05%);
}
#news-dealer h2{
  color:#EEEEF0;
}
.news-dealer-inner > div {
  flex: 1;
}

#home-dealer{
  background-color:#29192b;
        background:linear-gradient(0deg, rgba(51, 6, 6, 0.58), rgba(84, 19, 19, 0.74)), url(/wp-content/uploads/map-background.webp);
      background-size:cover;
            box-shadow: inset 0px 0px 1em 0px rgba(0, 0, 0, 0.8);

}





.site-title{
  color:#B53936;
}

.site-title img{
  height:100%;
  max-width: unset;
}


.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 4em;
  height: 1em;



    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
    width: 100%;
    box-sizing: border-box;






}

#logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex: 1;
  border-right:1px solid #62636C;
  height: 100%;

}
.site-logo{
  display: flex;
}
.site-logo svg {
  margin-right: 0.5rem;
  height: 1.5em;
  color: #EBEBEB;
}


body.theme-dark .site-logo svg,
body.theme-dark .site-title{
    color: #fff;

}
.site-title {
  font-weight: bold;
  font-size: 1.25rem;
  display: inline-block;
  max-width: 100vw;
  overflow-x: hidden;
}
#nav-wrapper{
  flex: 1;
}
.site-nav .menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.site-nav .menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.site-nav .menu a:hover,
.site-nav .menu a:focus {
  color: #000;
}

.site-nav .menu li {
  position: relative;
}

.site-nav .menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  padding: 0.5rem 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.site-nav .menu li:hover > ul {
  display: block;
}
.tb-blurb {
    font-size: .75rem;
}
.tb-social svg{
  max-width: 1em;
  max-height: 2em;
 min-width: 1em;
}
#header-top-bar{
  display: flex;
  min-height:2em;
  color: #0B1215;
  background: #e5e5e5;
}
.site-header, #header-top-bar {
  border-bottom: 1px solid #62636C;
}
.tb-social{
  display: flex;
  gap:.5em;
}
.header-top-bar-wrap {
  display: flex;
  width: 100%;
  margin: 0 auto;


    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
    justify-content: space-between;
    align-items: center;
background:#e5e5e5;



}

#header-cart{
  flex: 1;
  display: flex;
  justify-content: end;
    border-left:1px solid #62636C;
    height: 100%;
    align-items: center;
    gap:1em;
    color: #fcfcfc;

}
#header-cart svg {
  min-height: 1.5em;
  max-height: 2em;
}
#account-icon{
  padding:.25em;
}
.account-icon-player,
.account-icon-mask{
  fill:currentColor;

}
.account-icon-mask{
  color:white;
}
body.theme-dark .account-icon-mask{
  color: blue;
}






            

.homepage-dealer-search{
  backdrop-filter: blur(.5em);
  border-radius: 5em;
  box-shadow: 0px 0px 1em 0px rgba(0,0,0,0.2);
}

.homepage-dealer-search,
.newsletter-wrap {
    padding: 5em;
    margin: 5em;
}

.search-container,
.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
}

.homepage-dealer-search h1,
.newsletter-wrap h1 {
  margin-bottom: 1em;
  margin-top: 1rem;
  color: #f2f2f2;
  font-size: 2.5em;
  font-weight: 700;
  font-family: Inter, sans-serif;
  text-transform: uppercase;
}

.search-form {
    display: flex;
    gap: 1em;
    margin-bottom: 1em;
    flex-wrap: wrap;
    justify-content: center;
}

#homepage-location {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #EEEEF0;
  color: #4c4951;
    font-size: 16px;
    transition: border-color 0.3s ease;
}
#homepage-search-btn:hover{
background-color:#EEEEF0;
}
#homepage-location-btn {
  width: 100%;
  text-decoration: underline;
  color: #EEEEF0;
}
#homepage-location:focus {
    outline: none;
    border-color: #7c112f;
        background: #EEEEF0;
  color: #4c4951;

    box-shadow: 0 0 0 3px rgba(0,124,186,0.1);
}
#homepage-location:hover {
    background: #EEEEF0;
  color: #4c4951;

}

#homepage-radius {
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #EEEEF0;
    font-size: 16px;
    min-width: 160px;
    color: #4c4951;
}

.btn {
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #190101 0%, #150000 100%);
    color: white;
    box-shadow: 0 4px 15px rgb(59, 6, 6);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgb(59, 6, 6);
}

.btn-link {
    background: transparent;
    color: #007cba;
    border: 2px solid transparent;
    font-size: 14px;
    padding: 10px 15px;
}



.search-options {
    margin-top: 15px;
}









/* Mobile responsive */
@media (max-width: 768px) {

    .search-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    #homepage-location,
    #homepage-radius,
    .btn-primary {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .homepage-dealer-search {
        margin: 20px 0;
        padding: 30px 15px;
    }
    
    .homepage-dealer-search h3 {
        font-size: 24px;
    }
}



.btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



#full-width-sections{
  width: 100%;
  display: flex;

flex-wrap: wrap;
justify-content: center;
}







.new-banner{
 width: 100vw;
padding: 4em 0 6em;
  height: 1em;
  overflow: hidden;
  position: relative;
  text-align: center;
  z-index: 1;
    aspect-ratio: 1 / 1;
      box-shadow: inset 0px -12px 11px -6px rgba(0, 0, 0, 0.15);
      margin-bottom: -10em;
}
}


.new-banner h2{
  position: relative;
  font-family: "Inter Tight", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1em;
 transition: all .5s ease-in;
     animation: glow-pulse 3.5s ease-in-out infinite alternate paused;
 font-weight: 100;
color: #dcdcdc;
}


#full-width-sections:hover h2.wide{
    animation-play-state: running; 

}




@keyframes glow-pulse {
    0% {
        font-weight: 100;
    }
    100% {
        font-weight: 500;
    }
}




.above-content {
  position: relative;
  z-index: 2;
  /* background-color: #f0edea; */
  background-size: 8em 8em;

}

body.theme-dark .above-content{
    background-color: #0b0b0b;

}

.reveal-wrapper {
  position: relative;
  z-index: 1;
  margin-top: 0; 
  transform: translateY(-100%); /* fallback value if JS fails */
  will-change: transform;
  transition: transform 0.1s ease-out; /* optional */




}






.homepage-dealer-search, .newsletter-wrap {
padding: 1em;
margin: 1em;
}









/**
 * Maple AJAX Product Styles
 * 
 * Styles for AJAX add to cart functionality on single product pages
 */

/* Loading state for add to cart button */
.single_add_to_cart_button.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.single_add_to_cart_button.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: maple-spinner 0.8s linear infinite;
}

@keyframes maple-spinner {
    to {
        transform: rotate(360deg);
    }
}

/* AJAX Messages */
.maple-ajax-message {
    margin-bottom: 20px;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.maple-ajax-message::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.maple-ajax-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.maple-ajax-message.success::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23155724' stroke-width='2'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

.maple-ajax-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.maple-ajax-message.error::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23721c24' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
}

/* Ensure variation add to cart button has proper styling */
.variations_form .single_add_to_cart_button {
    transition: all 0.3s ease;
}

.variations_form .single_add_to_cart_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Fix for variation button in custom template */
.woocommerce-variation-add-to-cart .single_add_to_cart_button {
    width: auto;
    min-width: 150px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .maple-ajax-message {
        font-size: 13px;
        padding: 10px 15px;
    }
    
    .single_add_to_cart_button.loading::after {
        width: 14px;
        height: 14px;
        margin-left: -7px;
        margin-top: -7px;
    }
}
