html, body {
    -webkit-text-size-adjust: none;
	font-family: "Roboto", Sans-serif;
}
#topbar { background-color: #000; padding:5px; text-align: center; color: #FFF; font-weight: 400; font-size: 0.75em; position: relative;
    z-index: 1000;height: 40px;
    line-height: 30px;  /* vertically center the text */ }
.navbar-brand { color: #FFF; }
.navbar-toggler-icon { color: #FFF; }
.navbar { background: rgba(0,0,0,1); position: sticky;
    top: 0;
    z-index: 1000;
 }
.navbar-toggler {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22' /%3e%3c/svg%3e");
}
.navbar-toggler { border: 0; padding: 0.25rem; border-color: transparent}

a { color: #aa9900; }

/*nav.navbar { margin-bottom: 30px; }*/
nav.navbar.home { position: absolute; top: 40px; left: 0; width: 100%;z-index: 999; /* ensure it stays above the hero */}
main { position: relative; z-index: 1;  margin-top: 0; margin-bottom: 0 /* make sure nothing pushes it down */}
#mainNav .nav-item a {
    color: #fff;
    padding: 20px;
    transition: 
        background-color 0.25s ease,
        color 0.25s ease;
}

#mainNav .nav-item a:hover,
#mainNav .nav-item a:focus {
    background-color: #2f2f2f;
    color: #d4af37; /* gold */
}

.screen-wrapper { height: 100vh; display: flex;}
.heroholder { height: 60vh; flex: 1; position: relative; }
.hero-timeline { display: flex; height: 1vh; /*background: rgba(0,0,0,0.5);*/ padding: 10px 20px 0 20px;;  gap: 0.4rem;width: min(70%, 260px);  }
.logoscroll {height: 10vh; margin-bottom: 15px; }
.shopscroll { height: 13vh;  }
.inner-content { position: absolute; left: 0; right: 0; top: 60vh; display: flex;flex-direction: column;}
.logoscroll {padding: 0 15px; z-index: 999; position: relative; }
.shopscroll {  padding: 0 15px; z-index: 999; position: relative; }
/* === HERO WRAPPER === */
.hero-slider {
  position: relative;
  width: 100%;
  min-height: clamp(320px, 95vh, 100vh);   /* responsive height */
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: stretch;
}

/* Dark overlay for readability */
.hero-slider::before {
  content: '';
  position: absolute;
  inset: 0;
 
  z-index: 1;
}

/* === SLIDES WRAPPER === */
.hero-slides {
  position: relative;
  flex: 1 1 auto;
}

/* === INDIVIDUAL SLIDES === */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Background image */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 7s linear;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1.0);
}

/* === CONTENT AREA === */
.hero-slide-content {
  /*position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 2.5rem 1.25rem 4.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;*/
    position: relative;
    z-index: 2;
    padding: 20px;
    text-align: center;

    display: flex;
    flex-direction: column;
    gap: 0.75rem;

    /*margin-top: calc(50vh - 115px); /* adjust 150px depending on content size */
    top:39vh;
	background: rgba(0,0,0,0.5);
	min-height:400px;
}

/* Titles & text responsive sizing */
.hero-slide-content h2 {
  /*font-size: clamp(1.4rem, 4vw, 2.8rem);*/
    font-size: 18px;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
    text-align: left
}

.hero-slide-content p {
  font-size: 13px;
  margin: 0;
    text-align: left;
}

/* Button spacing */
.hero-slide-content .btn {
  align-self: baseline;
  margin-top: 0.5rem;
}

/* Desktop tweaks: more left alignment */
/*
@media (min-width: 992px) {
  .hero-slide-content {
    padding: 4rem 6% 3.5rem;
    text-align: left;
    justify-content: center;
  }

  .hero-slide-content .btn {
    align-self: flex-start;
  }
}
*/
/* === TIMELINE (combined dots + timer) === */
.hero-timeline {
  /*position: absolute;
  left: 50%;
  transform: translateX(-50%);
  /*bottom: max(21.25rem, env(safe-area-inset-bottom, 0px));
  bottom: 328px;
  display: flex;
  gap: 0.4rem;
  width: min(70%, 260px);   /* nice on mobile & desktop */
  z-index: 9999;
}
@media (max-width: 393px) {
  .hero-timeline {
    /*bottom: max(1.75rem, env(safe-area-inset-bottom, 0px));*/
    /*bottom: 308px;;
    width: min(80%, 260px);*/
  }
}
/*
@media (max-width: 575.98px) {
  .hero-timeline {
    /*bottom: max(1.75rem, env(safe-area-inset-bottom, 0px));
    bottom: 328px;;
    width: min(80%, 260px);
  }
}
*/
.hero-timeline-item {
  position: relative;
  flex: 1 1 0;
  height: 5px;
  padding: 0;
  border: 0;
  background: rgba(255,255,255,0.35);
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
    border:1px solid #eee;
}

.hero-timeline-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: #fff;
  transform-origin: left center;
}

/* Completed segments (past slides) stay full */
.hero-timeline-item.completed .hero-timeline-fill {
  width: 100%;
  transition: none;
}








/*** ### HOMEPAGE LOGO SCROLLER ### ***/
.logo-scroller { overflow-x: auto; overflow-y: hidden; white-space: nowrap; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; /* mobile smooth scrolling */  padding-bottom: 1rem; /* keeps logos from touching scrollbar */}
/* Outer scrolling container */
.logo-scroller { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;padding-bottom: .5rem;scrollbar-width: none; -ms-overflow-style: none; }

.logo-scroller::-webkit-scrollbar {
    display: none;              /* Chrome, Safari, Opera */
}
/* Flex row for logos */
.logo-track { display: inline-flex; gap: 1rem; padding: 1rem;}
/* Images */
.logo-item img { width: 100%; height: auto; display: block;}
.logo-item { flex: 0 0 calc(33.333% - 0.75rem); scroll-snap-align: start; height: 40px;}
.logosize { max-width: 150px; }
@media (min-width: 600px) {
    .logo-item {
        flex: 0 0 calc(25% - 0.75rem); /* 100 / 6 = 16.666% */
    }
	.logosize { max-width: 1000px; }
}
@media (min-width: 768px) { /* md breakpoint */
    .logo-item {
        flex: 0 0 calc(20% - 0.75rem);
    }
}
@media (min-width: 968px) { /* md breakpoint */
    .logo-item {
        flex: 0 0 calc(16.666% - 0.75rem);
    }
}@media (min-width: 1100px) { /* md breakpoint */
    .logo-item {
        flex: 0 0 calc(14.285% - 0.75rem);

    }
}
@media (min-width: 1300px) { /* md breakpoint */
    .logo-item {
        flex: 0 0 calc(12.5% - 0.75rem);

    }
}
@media (min-width: 1400px) { /* md breakpoint */
    .logo-item {
        flex: 0 0 calc(10% - 0.75rem);
       height:70px;
    }
}

/*** ### HOMEPAGE DIV SCROLLER ### ***/
/* Outer scrolling container */

.hcs-scroller {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* smooth finger scrolling on iOS */
    scroll-snap-type: x mandatory;     /* optional: snapping to cards */
    padding-bottom: .5rem;             /* keep content off the scrollbar */
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none; 
}
.hcs-scroller::-webkit-scrollbar {
    display: none;              /* Chrome, Safari, Opera */
}
/* Track for the cards */
.hcs-track {
    display: flex;
    flex-wrap: nowrap;         
    gap: 0.75rem;
}

/* Each card item: 2 visible + snippet of 3rd */
.hcs-item .row {
    height: 100%;       /* match the 120px card height */
    display: flex;      /* make columns stretch */
}
.hcs-item .col-4,
.hcs-item .col-8 {
    height: 100%;
}
.hcs-item {
    flex: 0 0 calc(66.666% - 0.75rem);   /* 2 cards + a bit on mobile */
    scroll-snap-align: start;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    overflow: hidden;
    display: block;
    height: 80px;
}
.hcs-item .image { background: #FFF; display: block}
.hcs-item .image img { display: block}
.img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hcs-item .textblock { background: #161616; padding: 6px; }
.hcs-item .textblock p.title { color: #FFF; font-size: 1.1em; margin-bottom: 5px }
.hcs-item .textblock p.txt { color: #cecece; font-size: 10px; margin-bottom: 5px; }
/* Make sure images behave nicely inside their 30% column */
.object-fit-cover {
    object-fit: cover;
}
@media (min-width: 768px) {
    .hcs-item {
        flex: 0 0 calc(20% - 0.75rem);
    }
}

.product-cards a.shopall {text-transform: uppercase; color: #006039; font-weight: 500; text-decoration: none; }
.product-card { margin-bottom: 30px;}
/*.product-card .image { margin-bottom: 15px; background:#ececec; width: 100%; height: 260px; }
.product-card .image img { max-height: 100%; width: auto;}*/

.product-card .image { margin-bottom: 15px; background: #ececec; width: 100%; max-height: 250px; display: flex; align-items: center; justify-content: center;}
.product-card .image a { display: block; width: 100%; height: 100%;}
.product-card .image img { width: 100%; height: 100%; object-fit: contain; background-color: #FFFFFF }

.product-card .brand { font-weight: 600; font-size: 18px; margin-bottom: 0px; text-transform: uppercase; color: #006039} 
.product-card .model { font-weight: 500; font-size: 16px; margin-bottom: 10px;} 
.product-card .price { font-weight: 600; font-size: 18px; margin-bottom: 0px;} 
.product-card .notes { font-weight: 400; font-size: 12px; margin-bottom: 0px;} 


.product-card .sourceimage { margin-bottom: 15px; background: #ececec; width: 100%; height: 400px; display: flex;flex-direction: column;   justify-content: flex-start; align-items: center; padding: 10px; overflow: hidden;}
/* MAIN IMAGE */
.main-img-wrap { flex: 1 1 auto; display: flex; align-items: center; justify-content: center;  width: 100%;}
.main-img {  max-height: 100%; max-width: 100%;  object-fit: contain;}
/* THUMBNAILS */
.thumb-row { margin-top: 8px; gap: 6px;}
.thumb img { width: 55px;          /* thumbnail size */ height: 55px;object-fit: cover;  border-radius: 4px; cursor: pointer; transition: opacity .2s;}
.thumb img:hover { opacity: 0.8;}

@media (max-width: 480px) {
    .thumb img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 880px) {
    .product-card .sourceimage { height: 310px; }
}
@media (max-width: 399px) {
    .product-card .sourceimage { height: 220px; }
}

.buy-bar { position: static;}
.buy-bar .btn.green, .buy-bar .btn-outline-secondary {padding: 9px 30px; font-size: 24px;}
/* Mobile / tablet: make it fixed at the bottom */
@media (max-width: 991.98px) { /* Bootstrap lg breakpoint */
  .buy-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    background: #fff;
    padding: 0.75rem 1rem;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  }

  /* Add bottom padding so content isn't hidden behind the bar */
  body {
    padding-bottom: 80px; /* tweak to match bar height */
  }
}

.btn.white { background: #eaeaea; border-color: #eaeaea; color:#424242; text-transform: uppercase; padding-left: 30px; padding-right: 30px; font-weight: 600; }
.btn.dark { background: #181818; border-color: #181818 }
.btn.green { background: #006039; border-color: #006039 }
.btn.orange { background: #db8b0e; border-color: #db8b0e; color: #FFF; text-transform: uppercase; font-weight: 600; font-size: 16px;}

.accordion-button { background: #f0f0f0; }
.accordion-button:not(.collapsed) { background: #181818; color: #FFF;} 

@media (min-width: 768px) {
  .site-container {
    max-width: 90%;
  }
}

@media (max-width: 460px) {
  .product-card .image { max-height: 180px; }
}

select.sort { padding: 8px 13px !important; border-color: #6c757d !important; color:#6c757d !important }

.prodrequestform {background: #f0f0f0; padding: 30px 15px;}
.prodrequestform label { display: block; padding-left: 15px; margin-bottom: 5px}
.prodrequestform .btn.orange { padding-left: 30px; padding-right: 30px;}

#prodAccordion .accordion-item { border: 0; border-bottom: 1px solid #ccc }
#prodAccordion .accordion-button { background: #fff; font-size: 18px; font-weight: 500 }
#prodAccordion .accordion-button:not(.collapsed){ background: #f0f0f0; color: #181818}
#prodAccordion .accordion-button::after { display: none;}
#prodAccordion .accordion-button .icon { width: 18px; height: 18px; position: relative; margin-left: auto;}
#prodAccordion .accordion-button .icon::before, #prodAccordion  .accordion-button .icon::after {content: "";position: absolute;background-color: #000;transition: 0.2s ease;}
#prodAccordion .accordion-button .icon::before { top: 50%; left: 0; width: 100%; height: 2px;transform: translateY(-50%);}
#prodAccordion .accordion-button .icon::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
#prodAccordion .accordion-button:not(.collapsed) .icon::after { height: 0;}

.choice-box { position: absolute; background: #fff; border: 1px solid #ccc; border-radius: 6px; padding: 10px; width: 200px; box-shadow: 0 4px 12px rgba(0,0,0,0.12); display: none; z-index: 9999;  }
.choice-box button { width: 100%; margin-bottom: 6px;  }

.buy-bar .buttons-right > * { margin-right: 10px !important;}
.buy-bar .buttons-right > *:last-child { margin-right: 0 !important;}
@media (max-width: 430px) {
    .buy-bar .btn.green, .buy-bar .btn-outline-secondary {padding: 6px 19px; font-size: 15px;}
    .buy-bar .buttons-right > * { margin-right: 10px !important;}
    .buy-bar .buttons-right > *:last-child { margin-right: 0 !important;}

}