/**
Theme Name: Chocoletra
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chocoletra
Template: astra
*/

/* Woocommerce hover image change on products */

body{
    background-color:#FFF8F0 !important;
}

.custom-product-list li,
.woocommerce ul.products li {
    position: relative;
}

.woocommerce ul.products li.product a img,
.custom-product-list li a img {
    transition: opacity 0.3s ease-in-out;
}

/* Hide the hover image by default */
.woocommerce ul.products li.product a img.hover-image,
.custom-product-list li a img.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: none;
    /* Hide by default */
}

/* Only show hover effect for products that have a gallery image */
.woocommerce ul.products li.product:not(.ast-product-gallery-with-no-image) a img.hover-image,
.custom-product-list li:not(.ast-product-gallery-with-no-image) a img.hover-image {
    display: block;
}

/* Apply hover effect only when there is a second image */
.woocommerce ul.products li.product:not(.ast-product-gallery-with-no-image):hover a img,
.custom-product-list li:not(.ast-product-gallery-with-no-image):hover a img {
    opacity: 0;
}

.woocommerce ul.products li.product:not(.ast-product-gallery-with-no-image):hover a img.hover-image,
.custom-product-list li:not(.ast-product-gallery-with-no-image):hover a img.hover-image {
    opacity: 1;
}

.checkout-products {
    margin-top: 30px;
}

.checkout-products ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
    margin: 0;
}

.checkout-products ul li {
    width: calc(25% - 15px);
    margin-top: 30px;
}

.checkout-products ul li h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.checkout-products ul li p {
    display: inline-block;
}

.checkout-products ul li button {
    display: block;
    background: #FEC30D;
}

.checkout-products ul li button:hover {
    background: #CE2C34;
    color: #fff;
}

.checkout-products .slick-dots {
    position: relative;
    display: flex !important;
    flex-flow: nowrap;
    list-style: none;
    justify-content: center;
    bottom: 0px;
    gap: 10px;
    margin: auto;
}

.checkout-products .slick-dots li button {
    font-size: 0;
    width: 10px !important;
    height: 10px !important;
    padding: 0;
    background: #000;
    border-radius: 30px;
}

.checkout-products .slick-dots .slick-active button {
    background: #FEC30D;
}

#load-more-products {
    display: inline-block;
    margin-top: 30px;
    background: #c89b3c;
    padding: 15px 30px;
    color: #000;
    border: 2px solid #c89b3c;
    border-radius: 30px;
    transition: .3s linear;
}


@media(max-width:991px) {
    .woocommerce-checkout.woocommerce-js ul.products {
        display: flex;
    }

    .woocommerce-checkout.woocommerce-js ul.products>li {
        width: calc(50% - 20px) !important;
    }

}

@media(max-width:768px) {
    .checkout-products ul li {
        width: calc(33.33% - 15px);
    }
}

@media(max-width:600px) {
    .checkout-products ul li {
        width: calc(50% - 15px);
    }

    .checkout-products ul li h4 {
        font-size: 16px;
    }

    .checkout-products ul li,
    .checkout-products ul li * {
        text-align: center;
    }

    .checkout-products ul li .add-to-cart-checkout,
    .checkout-products ul li img {
        margin: auto;
    }

    .checkout-products h3 {
        text-align: center;
    }
}


.title-navigation-wrapper{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
    margin-bottom:20px;
}

.title-navigation-wrapper h1{
    margin:0;
}

.wc-product-navigation{
    display:flex;
    gap:12px;
}

.product-nav{
    position:relative;
    width:32px;
    height:32px;
    border:1px solid #ddd;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    color:#000;
    transition:.25s;
    background:#fff;
}

.product-nav:hover{
    background:#000;
    color:#fff;
}

.product-nav .arrow{
    font-size:16px;
    line-height:1;
}

.product-nav .preview{

    position:absolute;

    bottom:-150px;

    left:50%;

    transform:translateX(-50%) scale(.9);

    width:130px;

    opacity:0;

    visibility:hidden;

    transition:.25s;

    pointer-events:none;

    background:#fff;

    border-radius:10px;

    box-shadow:0 10px 30px rgba(0,0,0,.18);

    overflow:hidden;

    padding:5px;
}

.product-nav:hover .preview{

    opacity:1;

    visibility:visible;

    transform:translateX(-50%) scale(1);

}

.product-nav .preview img{

    display:block;

    width:100%;

    height:auto;

}

.product-nav.next .preview{

    left:auto;

    right:0;

    transform:scale(.9);

}

.product-nav.next:hover .preview{

    transform:scale(1);

}

@media(max-width:768px){

.title-navigation-wrapper{

    flex-direction:column;

    align-items:flex-start;

}

}


.summary.entry-summary .woocommerce-breadcrumb,
.summary.entry-summary > .product_title.entry-title{
    display:none;
}

.summary.entry-summary .title-navigation-wrapper > h1{
   font-size:36px !important; 
}

@media(max-width:600px){
.summary.entry-summary .wc-product-navigation{
   display:none;
}
}