/* Core Slick Slider Layout Rules */
.ca-featured-products-carousel.slick-slider {
    position: relative;
    display: block;
    padding-bottom: 30px;
    box-sizing: border-box;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-y;
}
.ca-featured-products-carousel .slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.ca-featured-products-carousel .slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.ca-featured-products-carousel .slick-track:after {
    clear: both;
}
.ca-featured-products-carousel .slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}
.ca-featured-products-carousel.slick-initialized .slick-slide {
    display: block;
}

/** Slick Dots - QuadMenu Override **/

.ca-featured-products-carousel-wrap {
    position: relative;
    width: 100%;
}

/* Force dots container to center and neutralise QuadMenu flex column styling */
.ca-featured-products-carousel-wrap ul.slick-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 9px auto 0 auto !important;
    width: 100% !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: auto !important;
}

/* Stop QuadMenu from stretching dots like nav items */
.ca-featured-products-carousel-wrap ul.slick-dots li {
    width: auto !important;
    height: auto !important;
    margin: 0 4px !important;
    padding: 0 !important;
    list-style: none !important;
    display: inline-block !important;
    flex: none !important;
    float: none !important;
    border: none !important;
    background: transparent !important;
}

/* Style the circular dots and hide the 1, 2, 3 text */
.ca-featured-products-carousel-wrap ul.slick-dots li button {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background-color: #203871 !important;
    opacity: 0.25 !important;
    border: none !important;
    cursor: pointer !important;
    display: block !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
    
    /* Completely hide QuadMenu numbers */
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
}

/* Remove Slick default pseudo-element so dots don't double render */
.ca-featured-products-carousel-wrap ul.slick-dots li button:before {
    display: none !important;
}

/* Active dot */
.ca-featured-products-carousel-wrap ul.slick-dots li.slick-active button {
    opacity: 1 !important;
    transform: scale(1.3) !important;
    background-color: #203871 !important;
}

/** Main Container **/

.ca-wrapper {
    display: flex;
    align-items: start;
}

.ca-left {
    width: 30%;
    margin: 0;
    padding-top: 20px;
}

.ca-right {
    width: 70%;
    margin: 0;
}

.ca-featured-products-carousel .uabb-blog-posts-shadow {
    border: 1.5px solid #203871 !important;
    border-radius: 20px;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

/* .uabb-blog-posts-shadow:hover {
    box-shadow: 0 2px 7px rgba(0,0,0,0.4) !important;
} */

/* .ca-tile-container {
    min-height: 350px;
} */

/** Featured Image **/

.ca-featured-products-carousel .uabb-post-thumbnail {
    border-radius: 20px 20px 0px 0px;
    background-color: #fff;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
}

.ca-featured-products-carousel .uabb-post-thumbnail img {
    object-fit: contain !important;
    height: 180px !important;
    width: 100%;
    padding: 10px !important;
    transition: all 0.5s ease-in-out;
}

.ca-wrapper:hover .uabb-post-thumbnail img {
    transform: scale(1.1);
}

/** Product Info **/

.ca-info-container {
    padding: 20px 25px 0px 10px;
}

.ca-product-cat {
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;
    line-height: 0.9em !important;
}

.ca-product-cat a {
    font-family: "roboto-slab", serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 2px;
    color: #575757;
    background-color: #ECF2F8;
    padding: 5px 8px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ca-product-cat a:hover {
    color: #367FBF;
}

.ca-product-title {
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 25px;
    color: #1f1f1f;
    text-transform: none;
    letter-spacing: 0.5px;
    line-height: 1.2em;
    padding-bottom: 10px !important;
    border-bottom: 2px solid rgba(229,230,235,0.6);
}

.ca-product-title a {
    color: #1f1f1f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ca-wrapper:hover .ca-product-title a {
    color: #2156C8;
}

/** Product Features **/

.ca-product-features {
    padding: 10px 0;
}

.ca-product-features-item {
    font-size: 14px;
    font-weight: 400;
    color: #575757;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

.ca-product-features-item-icon {
    display: inline-block;
    width: 25px;
    margin-right: 6px;
}

.ca-product-features-item-icon img {
    vertical-align: middle;
}

/** Price **/

.ca-price {
    padding: 15px 0px;
    border-top: 2px solid rgba(229,230,235,0.6);
    font-size: 16px;
    display: block !important;
}

.ca-price .price del,
.ca-price .price del .woocommerce-Price-amount {
    color: #777 !important;
}

.ca-price .price ins {
    background: none;
}

.ca-price .price ins .woocommerce-Price-amount {
    color: #77a264 !important;
    font-weight: 700;
    font-size: 24px;
    margin-left: 5px;
}

/** Button **/

.ca-product-btn {
    background-image: linear-gradient(to right, #2156C8 0%, #357EBE 41%, #357EBE 100%) !important;
    padding: 13px 20px 14px 20px;
    margin: 0px 20px 20px 0px;
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white !important;
    box-shadow: 0 0 20px #eee;
    border-radius: 8px;
    display: block;
    font-size: 18px;
    line-height: 1.1em;
    font-weight: 700;
    text-decoration: none;
}

.ca-wrapper:hover .ca-product-btn {
    background-position: right center;
    color: #fff;
    text-decoration: none;
}


/*Fixes */

/* Ensure padding and borders are included inside Slick's calculated slide width */
.ca-featured-products-carousel-wrap,
.ca-featured-products-carousel-wrap *,
.ca-featured-products-carousel-wrap *::before,
.ca-featured-products-carousel-wrap *::after {
    box-sizing: border-box;
}

.ca-featured-products-slide {
    padding: 10px 6px;
    outline: none;
}

.uabb-blog-posts-shadow {
    width: 100%;
    max-width: 100%;
    border: 1.5px solid #203871 !important;
    border-radius: 20px;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

/* Prevent flex children from overflowing their percentage widths on small screens */
.ca-left,
.ca-right {
    min-width: 0;
}

/** Responsive Breakpoints **/

@media only screen and (max-width: 1170px) { 
    .ca-product-features {
        flex-direction: column;
    }
    .ca-product-features-item {
        width: 100%;
    }
    .ca-left {
        width: 45% !important;
    }
    .ca-right {
        width: 55% !important;
    }
    .ca-tile-container {
        min-height: 450px;
    }
}

@media only screen and (max-width: 930px) { 
    .ca-left {
        width: 40% !important;
    }
    .ca-right {
        width: 60% !important;
    }
}

@media only screen and (max-width: 830px) { 
    .ca-product-cat a {
        font-size: 10px;
        letter-spacing: 1px;
        padding: 5px 6px;
    }
    .ca-product-cat {
        margin-bottom: 2px !important;
    }
}

@media only screen and (max-width: 400px) { 
    .ca-product-cat a {
        font-size: 9px;
        letter-spacing: 1.5px;
    }
    .ca-product-cat {
        margin-bottom: 4px !important;
    }
    .ca-product-title {
        font-size: 22px;
    }
    .ca-left {
        width: 35% !important;
    }
    .ca-right {
        width: 65% !important;
    }
    .ca-tile-container {
        min-height: 300px;
    }
    .ca-featured-products-carousel .uabb-post-thumbnail img {
        height: 120px !important;
        padding: 0px 5px 0px 10px !important;
    }
}