/* Reduce space below the menu (DESKTOP ONLY) */
@media (min-width: 992px) {

  .site-header {
    margin-bottom: -100px;
  }

  /* BUT, reset the margin on product pages */
  .single-product .site-header {
    margin-bottom: 0px; 
  }

}





/* Hide Logos gallery navigation on homepage (only for the Kadence gallery that has the class .no-nav-gallery) */
.kt-blocks-carousel {
    /* Hides the entire pause button container, though it's set to 'false' in data attributes, this ensures it's gone */
    .splide__toggle {
        display: none !important;
    }

    /* Hides the left and right arrows */
    .splide__arrows {
        display: none !important;
    }

    /* Hides the navigation dots */
    .splide__pagination {
        display: none !important;
    }
}





/* Keeping 'Find-out-more' buttons aligned at the bottom */
.kt-row-column-wrap .kt-inside-inner-col {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.kt-row-column-wrap .kb-buttons-wrap {
    margin-top: auto;
}
.kt-row-column-wrap .kt-inside-inner-col .wp-block-kadence-advancedheading:last-of-type {
    margin-bottom: 0 !important;
}





/* --- UNIVERSAL BUTTON STYLING - all buttons will look and behave the same --- */

.wp-block-button__link {
    border-radius: 5px !important;
    transition: background-color 0.3s ease;
	width: auto !important;
    
    /* Enforce base styling if not already set by theme */
    background-color: #000000 !important; 
    color: #ffffff !important;
    padding: 4px 9px !important; 
    text-transform: uppercase !important;
}

.wp-block-button__link:hover {
    background-color: #0087A6 !important; /* Your preferred hover color */
    color: #ffffff !important;
}

/* --- KADENCE ADVANCED BUTTON STYLING (To match the standard buttons) --- */

.kt-button, 
.kt-button:focus {
    /* Set base style to match WP button */
    background-color: #000000 !important; 
    color: #ffffff !important; 
    border: none !important; /* Ensures no weird Kadence border conflicts */
    border-radius: 5px !important; /* Matches your WP button radius */
    padding: 12px 24px !important; /* Matches your WP button padding */
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease-in-out !important;
}

.kt-button:hover {
    /* Set hover style to match your existing pattern */
    background-color: #0087A6 !important; 
    color: #ffffff !important;
}

/* Ensure the text inside the Kadence button inherits the color */
.kt-button .kt-btn-inner-text {
    color: inherit !important;
}




/* Video in Description on single product page */
.responsive-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio (9/16 = 0.5625) */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin-bottom: 20px; /* Space below the video */
}

.responsive-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Add some clean styling for the description content */
.custom-product-description p {
    line-height: 1.6;
    margin-bottom: 1em;
}

.custom-product-description ul, 
.custom-product-description li {
    list-style-type: disc;
    margin-left: 20px;
}





/* WOOCOMMERCE button alignments: Aligns buttons on product grid so they are in the same line--- */
.woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.woocommerce ul.products li.product p.woocommerce-loop-product__add-to-cart {
    margin-top: auto;
}





