/*
Theme Name: Avalanche Base Camp Child Theme
Theme URI: https://avalanchegr.com
Version: 1.0
Description: A complete theme packaged with everything you need to get started building momentum.
Author: Avalanche Creative
Author URI: https://avalanchegr.com
template: bb-theme
*/

/* Global */
a:focus {
    outline: none;
}

html {
  font-size: 16px;
}

/* H1 font-size: clamp(3.5rem, 10vw, 6.4375rem); /* 56px → 103px */ */
h1 {
  font-size: 18px !important;
  line-height: 1.3;
  text-wrap: balance;
}

/* H2 */
h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* 40px → 64px */
  line-height: 1.1;
}

/* H3 */
h3 {
  font-size: clamp(1.75rem, 4vw, 2.125rem); /* 28px → 34px */
  line-height: 1.15;
}

/* H4 */
h4 {
  font-size: clamp(1.4rem, 3vw, 1.375rem); /* slightly larger on mobile */
  line-height: 1.2;
}

/* H5 */
h5 {
  font-size: clamp(1.2rem, 2.2vw, 1.125rem); /* 19px → 18px (mobile-first bump) */
  line-height: 1.3;
}

/* H6 */
h6 {
  font-size: clamp(1.125rem, 2vw, 1.125rem); /* 18px */
  line-height: 1.3;
}

/* P Large */

p.large,
.large p {
	font-size: clamp(1.125rem, 2vw, 1.375rem); /* 18px → 22px max */
	line-height: 1.2;
}

/* P Eyebrow */

p.eyebrow,
.eyebrow p {
	font-size: 1.125rem; /* 18px */
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 1.44px;
}

/* P Small */

p.small,
.small p {
	font-size: 12px;
	line-height: 1;
}

/* Blog Styles*/
.single-post #blog-post-content h2 {font-size: 44px;}
.single-post #blog-post-content a {text-decoration: underline;}
.single-post #blog-post-content img {border-radius: 30px;}
.single-post #blog-post-content.fl-module-rich-text > * {margin-bottom: 25px;}
.cta-row a {color: #ffffff !important; text-decoration: underline;}

.page-hero-headline {
  font-size: clamp(3.5rem, 10vw, 6.4375rem); /* 56px → 103px */
  line-height: 1.05;
  text-wrap: balance;
  letter-spacing: -4px;
}

/* Default: transparent */
header {
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

/* Scrolled state */
header.fl-theme-builder-header-scrolled {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.fl-button {transition: all .3s !important;}
.fl-builder-content .fl-button:is(a, button), .fl-builder-content a.fl-button:visited {padding: 20px 40px;}
.fl-page .fl-builder-content a.fl-button:hover {border-radius: 15px; border: 1px solid #0079C1;}
/*.fl-button-has-icon a {white-space: nowrap;}*/
.page-hero {position: relative; z-index: 1;}
#homepage-video video {transform: scale(1.4);}
.cta-row {z-index: 1; position: relative;}
.cta-box {position: relative;}
.cta-box .fl-module-box:first-child {z-index: 2}
.cta-box .fl-photo {position: absolute; bottom: 0; right: -80px; z-index: 1;}

.services-carousel img {height: 380px; object-fit: contain; border-radius: 30px;}
.cart-sizes img {object-fit: contain;}
.services-carousel h3 {margin-top: 20px; margin-bottom: 16px;}
.services-carousel .fl-module-button a {padding: 0; background: transparent !important; border: none !important; margin-top: 20px;}
.services-carousel .fl-module-button a span, .services-carousel .fl-module-button a i {color: #0079C1 !important;}
.services-carousel .owl-dot {transition: all .3s !important; border: none !important;}
#frm_field_192_container select {width: 100%;}
.ti-review-header .ti-platform-icon {display: none;}
.ti-reviews-container-wrapper .ti-review-item .ti-review-header .ti-profile-details .ti-name {font-size: 16px; font-weight: 700; color: #0079C1;}
.fl-module .ti-widget.ti-goog .ti-review-header {margin-top: 20px !important;}
.fl-module .ti-widget.ti-goog .ti-review-header::before {content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #5F6062;}
  .fl-module .ti-widget.ti-goog .ti-review-header .ti-profile-details {margin-top: 20px !important;}
.fl-module .ti-widget.ti-goog .ti-review-item>.ti-inner {display: flex !important; flex-direction: column-reverse !important; padding: 60px 30px 30px 30px !important; border-radius: 30px !important;}
.ti-stars {position: absolute !important; top: 60px; margin: 0 !important;}
.ti-review-text-container {margin-top: 40px;}
.frm_form_field select {padding-left: 10px; padding-right: 10px;}

/* mega menu styles */
.brex-mega-menu-desktop .brex-mega-menu {flex-wrap: wrap; column-gap: 30px;}
.brex-mega-menu-desktop i {font-size: 12px; padding-left: 5px;}
.brex-mega-menu .mega-menu-saved-row > .mega-menu-saved-row-a .ua-icon-chevron-down {
  display: inline-block;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.brex-mega-menu .mega-menu-saved-row:hover > .mega-menu-saved-row-a .ua-icon-chevron-down {
  transform: scale(1);
}

.brex-mega-menu .mega-menu-saved-row:hover > .mega-menu-saved-row-a .ua-icon-chevron-down::before {
  content: "\e990";
}
.mega-col ul {
  list-style: none;
}

.mega-col ul li {
  margin-bottom: 6px;
}

.mega-col ul li a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 0;
  transition: color 0.15s, gap 0.15s;
}

.mega-col ul li a::before {
  content: '→';
  font-size: 11px;
  color: #0079C1;
  opacity: 0;
  transition: opacity 0.15s;
  flex-shrink: 0;
}

.mega-col ul li a:hover {
  gap: 12px;
  color: #0079C1 !important;
}

.mega-col ul li a:hover::before {
  opacity: 1;
}

.capabilities-carousel .pp-logos-content .pp-logo {align-items: flex-start;}
.capabilities-carousel .fl-button-wrap {background: transparent;}
.capabilities-carousel .fl-button {background: transparent !important; padding: 0 !important; color: #0079C1 !important;}

/* Loop Slider Styles */
.loop-slider {
    padding: 0 0 50px 0;
    position: relative;
    
    --swiper-theme-color: #0079C1;
    /* Navigation */
    --swiper-navigation-size: 34px;
    --swiper-navigation-top-offset: calc(50% - var(--swiper-navigation-size) /2);
    --swiper-navigation-sides-offset: 0px;
    --swiper-navigation-color: var(--swiper-theme-color);
    /* Pagination */
    --swiper-pagination-bottom: 14px;
    --swiper-pagination-top: auto;
    --swiper-pagination-bullet-size: 14px;
    --swiper-pagination-bullet-horizontal-gap: 7px;
    --swiper-pagination-color: var(--swiper-theme-color);
    --swiper-pagination-bullet-opacity: 1;
    --swiper-pagination-bullet-inactive-color: #0079C138;
    --swiper-pagination-bullet-inactive-opacity: 1;
}
.loop-slider .swiper-nav-button {display: none;}
.loop-slider .swiper-nav-button svg {
    display: none;
}
/* Responsive adjustments */
@media (max-width: 767px) {
    .loop-slider {
        padding: 0 0 50px;
        --swiper-navigation-size: 25px;
        --swiper-navigation-sides-offset: -10px;
    }
    /* Optional: Hide nav buttons on mobile but keep accessible */
    .loop-slider .swiper-nav-button{
        clip: rect(0 0 0 0); 
        clip-path: inset(50%);
        height: 1px;
        overflow: hidden;
        position: absolute;
        white-space: nowrap; 
        width: 1px;
    }
}
/* Hide Loop Grid until SwiperJS turns it into a slider to stop FOUC */
body:not(.fl-builder-edit) .loop-slider .fl-loop-grid {
    display: none;
}
/*
.cart-hero-details .fl-col-content, .cart-hero-details {display: flex;}
.cart-hero-details .fl-loop-grid {display: flex; justify-content: flex-start; flex-grow: 1;}
.cart-hero-details .fl-loop-grid .fl-loop-item {display: flex; flex-grow: 1;}
*/
.cart-sizes .fl-module-photo {height: 100px; object-fit: cover;}
.bx-controls.bx-has-pager {padding-top: 30px;}
.bx-wrapper .bx-pager.bx-default-pager button {background: #0079C138; height: 14px; width: 14px; border-radius: 100%;}
.bx-wrapper .bx-pager.bx-default-pager button.active {background: #0079C1;}
.fl-module-rich-text ul, .fl-module-rich-text ol {margin-bottom:0;}
.fl-node-mp1s3hu92wtz, .fl-node-g5bcv3i0ld6x {padding: 0 !important;}

.checkbox-list ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.checkbox-list ul li {
  position: relative;
  padding-left: 44px; 
  margin-bottom: 30px;
}

.checkbox-list ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 24px;
  height: 24px;
  background-image: url('/wp-content/uploads/2020/10/Check.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

.checkbox-list-white ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.checkbox-list-white ul li {
  position: relative;
  padding-left: 44px; 
  margin-bottom: 30px;
}

.checkbox-list-white ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 24px;
  height: 24px;
  background-image: url('/wp-content/uploads/2026/05/Check.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

.materials-list ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.materials-list ul li {
  padding: 20px 0;
  border-bottom: 1px solid rgba(95, 96, 98, 0.50);
  font-weight: 700;
}

#terms-pdf-list .pp-accordion-content a::before {font-family: "foundation-icons";
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  text-decoration: inherit;
  font-size:20px;
  content: "\f187";
  color: #0079C1;
  margin-right: 10px;
}

.grid-bg .fl-row-content-wrap {background-size: 75% !important;}
.service-areas-list.fl-module-loop ul.fl-loop-grid {display: flex; justify-content: flex-start; flex-grow: 1; gap: 10px; flex-wrap: wrap; list-style: none; margin: 0;}
.fl-module-loop.service-areas-list a {white-space: nowrap;}
.fl-module-loop.service-areas-list a:hover {border-radius: 50px !important;}

.facet-wrap .facetwp-facet {margin-bottom: 0; min-width: 400px;}
.facet-wrap .facetwp-facet .facetwp-dropdown {border-radius: 5px; border: 1px solid #E4E4E4; background: #ffffff; height: 50px; width: 100%; padding: 0 10px;}
.brand-cart .brand-cart-specs {
    display: block !important;
    position: absolute;
    left: -99999px;
    top: 0;
    width: 1000px;
    visibility: hidden;
}

.bb-tmtimeline-container .bb-tmlabel {padding: 40px !important;}
.bb-tmtimeline-container h6 {color: #0079C1; font-size: 18px; font-weight: 400; text-transform: uppercase; display: flex; align-items: center; gap: 12px;margin-bottom: 10px;}
.bb-tmtimeline-container h6::before {content: "";
  display: block;
  width: 60px;
  height: 1px;
  background-color: #0079C1; }
.bb-tmtimeline-container h3 {font-size: 22px; font-weight: 400; margin-bottom: 10px;}
.bb-tmtimeline-container h3, .bb-tmtimeline-container p {max-width: 280px;}
.bb-tmtimeline-container p {font-size: 16px; font-weight: 400; color: #5F6062; margin-bottom: 0;}
.bb-tmtimeline-container .bb-tmicon i {color: #0079C1;}
.bb-tmtimeline > li.tm-timeline-li-0 .bb-tmlabel:after {display: none;}
.bb-timline-dec {
    display: grid;
    grid-template-columns: 1fr 180px;
    column-gap: 25px;
    align-items: center; /* vertically center the image column */
}

/* The image paragraph becomes the right column */
.bb-timline-dec > p:has(img) {
    grid-column: 2;
    grid-row: 1 / span 99; /* effectively span all rows */
    align-self: center;
    margin: 0 auto;
    display: block;
}

/* Everything else goes in the left column */
.bb-timline-dec > *:not(:has(img)) {
    grid-column: 1;
}

/* Remove WordPress float styling */
.bb-timline-dec img.alignright {
    float: none;
    display: block;
    margin: 0;
    max-width: 100%;
    height: auto;
}

.hq-badge a span::after {content:"HQ"; display: inline; color: #ffffff; background-color: #0079C1; border-radius: 50px; padding: 3px 12px; margin-left: 10px;}
.product-cart-specs-tables .fl-module-rich-text p::after {content: ""; display: inline-block; width: 100%; height: 1px; background-color: rgba(95, 96, 98, 0.50);}
.product-cart-specs-tables img {width: auto;}

/* large width only */
@media screen and (min-width: 993px) {
  
}

/* medium widths + large widths */
@media screen and (min-width: 768px) {
.menu-mobile-only {display: none !important;}
.site-logo {z-index: 1000; position: relative;}
/* .product-cart-brands .fl-loop-grid .fl-loop-item:nth-child(even) .brand-cart {direction: rtl;} */
.product-cart-brands .fl-loop-grid .fl-loop-item:nth-child(odd) .brand-cart .fl-module-box + .fl-module-box {padding-right: 50px;}
.product-cart-brands .fl-loop-grid .fl-loop-item:nth-child(even) .brand-cart a.uabb-button {direction: ltr !important;}
.product-cart-brands .fl-loop-grid .fl-loop-item:nth-child(even) .brand-cart .fl-module-box + .fl-module-box {padding-left: 50px;}
}
.uabb-modal .uabb-content .brand-cart-specs {padding: 50px;}
.uabb-modal .uabb-content .brand-cart-specs > .fl-module.fl-module-box {display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(1, 1fr);
  flex-direction: row;
  align-items: center;
  row-gap: 20px;
  column-gap: 20px; padding: 8px 0;}
  
/* medium width only */
@media screen and (min-width: 768px) and (max-width: 992px) {
 .facet-wrap .facetwp-facet {min-width: 200px;}
}

/* small + medium widths */
@media screen and (max-width: 992px) {
 .facet-wrap .facetwp-facet {min-width: 100px;}
}

/* small width only */
@media screen and (max-width: 767px) {
.cta-row .fl-row-content-wrap {overflow: hidden;}
.cta-box .fl-photo {right: -65px;}
.cta-box .fl-photo img {filter: brightness(75%);}
.fl-builder-content[data-overlay="1"]:not(.fl-theme-builder-header-sticky):not(.fl-builder-content-editing) {z-index: 2 !important;}
.bb-timline-dec {
    grid-template-columns: 1fr;
    row-gap: 0;
}
.cart-hero-details .fl-loop-grid {flex-direction: column;}

/* Move image to the top */
.bb-timline-dec > p:has(img) {
    grid-column: 1;
    grid-row: 1;
    justify-self: center; /* center the image horizontally */
    margin: 0 0 20px 0;
}

/* Push text below the image */
.bb-timline-dec > *:not(:has(img)) {
    grid-column: 1;
}
}