/*
theme name: Viceroy - Customify child
template: customify
author: Modern Earth
version: 1.0.0
*/
@media(hover:hover) and (min-width: 1024px) {
    @font-face {
        font-family: 'open_sansregular';
        src: url('fonts/OpenSans-VariableFont_wdth,wght.ttf') format('ttf');
        font-weight: normal;
        font-style: normal;
        font-display: swap;
    }

    @font-face {
        font-family: 'open_sansregular';
        src: url('fonts/OpenSans-VariableFont_wdth,wght.ttf') format('ttf');
        font-weight: bold;
        font-style: normal;
        font-display: swap;
    }

    @font-face {
        font-family: 'open_sansregular';
        src: url('fonts/OpenSans-Italic-VariableFont_wdth,wght.ttf') format('ttf');
        font-weight: bold;
        font-style: italic;
        font-display: swap;
    }

    @font-face {
        font-family: 'open_sansregular';
        src: url('fonts/OpenSans-Italic-VariableFont_wdth,wght.ttf') format('ttf');
        font-weight: normal;
        font-style: italic;
        font-display: swap;
    }
}

html>body {
    font-family: 'open_sansregular', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body strong,
body b {
    font-weight: 700;
}

main p,
main li {
    /* max-width: 75ch;
    line-height: 1.618em; */
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4 {
    text-wrap: balance;
}

.wp-block-button .wp-block-button__link {
	font-weight:bold;
}

.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:active,
.wp-block-button .wp-block-button__link:focus {
    box-shadow: inset 150px 150px 150px rgba(0, 0, 0, .4);
	color:white;
}






.home #main{
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.home .wide-wrapper{
    margin:  0px !important;
}


.wpsisac-slick-slider .slick-dots li button, .wpsisac-slick-carousal .slick-dots li button{
    background: #ccc !important;
}

.wide-wrapper-inner {
    max-width: 1248px;
    margin: 0 auto !important;
    color: #000000;
    padding-left: 2.5em;
    padding-right: 2.5em;
    padding-top:2em;
    padding-bottom:2em;
}

.wpsisac-slide-wrap .wpsisac-readmore a.wpsisac-slider-readmore {
    text-align: center;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.8);
    text-decoration: none !important;
    color: #fff;
    border: 1px solid #fff;
    font-size: 1.2em;
    min-width: 150px;
}

.wpsisac-slick-slider.design-4 .wpsisac-image-slide .wpsisac-slide-wrap .wpsisac-content-left {
    padding: 50px 10px;
    text-align: left;
}

.button:not(.components-button,.customize-partial-edit-shortcut-button), body:not(.fl-builder-edit) .button, body:not(.fl-builder-edit) button:not(.menu-mobile-toggle,.components-button,.customize-partial-edit-shortcut-button), body:not(.fl-builder-edit) input[type=button]:not(.ed_button), button:not(.components-button,.customize-partial-edit-shortcut-button), input[type=button]:not(.ed_button,.components-button,.customize-partial-edit-shortcut-button), input[type=reset]:not(.components-button,.customize-partial-edit-shortcut-button), input[type=submit]:not(.components-button,.customize-partial-edit-shortcut-button){
    min-height: auto !important;
}

.wpsisac-slick-slider.design-4 .wpsisac-image-slide img{
    max-width: 650px;
    height: auto;
    width: 600px;
    margin-left: -110px;
}

.wpsisac-slider-short-content h2{
    font-size: 2.5em;
}

.wpsisac-slider-short-content ul li{
    font-size: 1.1em;
    max-width:  530px;
    margin-left: 1em !important;
}

.home-welcome-section .wide-wrapper-inner{
    padding-top: 0px;
    padding-bottom: 0px;
}

.home-welcome-section .wide-wrapper-inner .wp-block-columns{
    margin-bottom: 0;
}

.cover-image-styled .wp-block-cover{
    /* 	border-radius: 10px;
        overflow:hidden; */
        align-items: flex-end;
        justify-content: flex-end;
        cursor: pointer;
        padding: 0px;
        min-height: 270px;
        /* box-shadow: 2px 2px 10px rgba(57, 57, 57, 0.2); */
    }
    
    .cover-image-styled .wp-block-cover__inner-container p{
        margin: 5px;
    /*     background-color: rgba(0 0 0 / 16%); */
            background-color: rgba(58, 162, 202, 0.87);

        font-weight: 600;
        text-align: right;
        line-height: 1.1;
        /* min-height: 56px; */
        
    }
    
    .cover-image-styled .wp-block-cover__inner-container p a{
        color: #ffffff;
        font-size:16px;
        display: block;
        padding: 15px 15px;
    }

    .cover-image-styled .wp-block-cover .wp-block-cover__background.has-background-dim:hover{
        opacity: 0;
    }

    .cover-image-styled .wp-block-cover .wp-block-cover__inner-container {
        color: inherit;
        width: 85%;
        z-index: 1;
    }


    .theme-twentytwenty .wc-block-grid.has-4-columns .wc-block-grid__product, .wc-block-grid.has-4-columns .wc-block-grid__product{
        margin-left: 0 !important;
    }

    .home-new-products .wc-block-components-pagination{
        display: none;
    }

    .home-new-products .wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button{
        padding: 10px 15px;
        background-color: #3aa2ca;
    }

    .home-new-products .wc-block-grid__product .wc-block-grid__product-title{
        min-height: 45px;
    }
    .btn-readmore{
    padding: 10px 15px !important;
    background-color: #3aa2ca !important;
}

    .button.btn-readmore:not(.components-button):not(.customize-partial-edit-shortcut-button), body:not(.fl-builder-edit) .button.btn-readmore{
        padding: 10px 15px !important;
        background-color: #3aa2ca !important;
        width: 150px;
        text-align: center;
		color: #ffffff;
    }

    .home-distributor-wrapper .wp-block-image img {
        background: transparent !important;
        /* Applying a blend mode to make the white background less prominent */
        mix-blend-mode: multiply !important;
    }
    
    /* Additional styling to ensure the images display correctly */
    .home-distributor-wrapper .wp-block-image {
        position: relative;
        overflow: hidden;
    }
    



    .home-new-products .wc-block-components-product-image.wc-block-grid__product-image{
        background: transparent;
        /* Applying a blend mode to make the white background less prominent */
        mix-blend-mode: multiply;
    }


.home-distributor-wrapper {
    overflow: hidden !important;
}

.distributor-section-wrapper.is-layout-flex{
    flex-wrap: nowrap;
}
/* Ensure the distributor-section-wrapper is a flex container */
.distributor-section-wrapper {
  display: flex !important;
  /*overflow: hidden !important;*/
  position: relative !important;
  white-space: nowrap !important;
  width: 100% !important;
}

.distributor-section-wrapper .wp-block-image {
  flex: 0 0 19.3% !important; /* Show 5 images per slide */
  box-sizing: border-box !important;
  padding: 0 5px !important; /* Add padding between images */
  margin: 0 !important; /* Override any margin styles */
  white-space: normal !important; /* Ensure images are in a row */
  width: auto !important;
  background-color: #ffffff;
}

.distributor-section-wrapper .wp-block-image img {
  flex: none !important;
  height: auto !important;
    width: 100% !important;
    background: transparent;
    mix-blend-mode: multiply;
}

/* Add grab cursor */
.distributor-section-wrapper.grabbing {
  cursor: grabbing !important;
  cursor: -webkit-grabbing !important;
}

/* Add transition for smooth sliding */
.distributor-section-wrapper {
  transition: transform 0.5s ease;
}

.home-latest-product .wc-product-inner .wc-product-media {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}

.home-latest-product .product img {
    max-height: 180px;
    width: auto;
    max-width: 100%;
    display: block;
}

.home-latest-product  ul.products li.product .woocommerce-loop-product__title{
        min-height: 60px;
}

.home-latest-product .wc-product-inner a:not(.button.add_to_cart_button){
    background: transparent;
}

.related .wc-product-inner .wc-product-media {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}

.related .wc-product-inner .wc-product-media img {
    max-height: 180px;
    width: auto;
    max-width: 100%;
    display: block;
}

.hidden{
    display: none;
}

.label-call-for-pricing{
    font-weight: 500;
}


.search-results.woocommerce ul.products li.product, .search-results.woocommerce ul.products>li {
    max-width: 280px;
}


.search-results.woocommerce ul.products li.product a img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 200px;
}

