/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

.fusion-body .fusion-title.fusion-title-center {
    text-align: center;
    max-height: 84.69px;
}

.avada-single-product-gallery-wrapper.avada-product-images-element .fusion-woo-badges-wrapper {
    display: none;
}

.fusion-column-wrapper .fusion-woo-short-description-tb .fusion-out-of-stock {
    width: 108px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px !important;
    left: 70px;
    font-size: 18px;
    text-transform: uppercase;
}

.block-related-products-for-outofstock {
    max-width: 1651px !important;
    margin: 0 auto !important;
    position: relative;
    padding: 0 30px 20px 30px !important;
}

.block-related-products-for-outofstock .fusion-column-wrapper {
    padding: 20px 0 0 0 !important;
}

.block-related-products-for-outofstock .fusion-column-wrapper .fusion-title {
    padding-bottom: 0;
}

.block-related-products-for-outofstock .fusion-column-wrapper .fusion-title p {
    letter-spacing: 0;
}

.block-related-products-for-outofstock .products .fusion-product-wrapper {
    border: none;
}
.block-related-products-for-outofstock .related.products {
    margin-top: 0 !important;
}

.block-related-products-for-outofstock .related.products .fusion-product-content {
    padding: 0 !important;
}

.block-related-products-for-outofstock .related.products .swiper-wrapper {
    padding: 0 !important;
}

.block-related-products-for-outofstock .related.products h3 {
    font-size: 14px;
    text-align: center;
}

.block-related-products-for-outofstock .product-images .crossfade-images {
    background: #ffffff;
}

.block-related-products-for-outofstock .product .product-buttons {
    display: none;
}
.block-related-products-for-outofstock .product .product-title {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    min-height: 42px;
    max-height: 42px;
}

.block-related-products-for-outofstock .product .price {
    font-size: 14px !important;
}
.block-related-products-for-outofstock .product-details-container .fusion-price-rating {
    justify-content: center;
    font-size: 14px !important;
    font-weight: bold;
}

.block-related-products-for-outofstock .awb-swiper {
    position: static;
}

.block-related-products-for-outofstock .awb-swiper-button-next,
.block-related-products-for-outofstock .awb-swiper-button-prev {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: #D3D2D3;
}

.block-related-products-for-outofstock .awb-swiper-button-next:hover,
.block-related-products-for-outofstock .awb-swiper-button-prev:hover {
    background-color: #cccccc;
}

.block-related-products-for-outofstock .awb-swiper-button-next i:before,
.block-related-products-for-outofstock .awb-swiper-button-prev i:before {
    color: #000000;
}

.awb-carousel .swiper-pagination {
    position: relative;
    bottom: 0 !important;
    text-align: center;
    z-index: 10;
    padding: 10px 0 0;
}

.awb-carousel .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 6px !important;
    background: #D9D9D9;
    border-radius: 50%;
    opacity: 1;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.awb-carousel .swiper-pagination-bullet-active {
    background: #000000; /* Active dot color */
}

#menu-main [title="new_label"] {
    position: relative;
}
#menu-main [title="new_label"]:before {
    position: absolute;
    content: 'NEW';
    font-size: 10px;
    color: #000000;
    background-color: #ECBD20;
    width: 38.25px;
    height: 13.74px;
    border-radius: 34.16px;
    top: -13px;
    left: 0;
    text-align: center;
    line-height: 12px;
    font-family: 'Inter';
    font-weight: bold;
}

.shiftnav .menu-item [title="new_label"]:after {
    position: static;
    content: 'NEW';
    display: inline-block;
    margin-left: 5px;
    font-size: 10px;
    color: #000000;
    background-color: #ECBD20;
    width: 38.25px;
    height: 13.74px;
    border-radius: 34.16px;
    text-align: center;
    line-height: 14px;
    font-family: 'Inter';
    font-weight: bold;
}

.iksm-terms .iksm-term {
    display: flex;
    flex-direction: column;
}

.iksm-terms .iksm-term .custom_link{
    order:9;
}

.iksm-terms .iksm-term .custom_link_inside{
    order: -1;
}

.iksm-terms .new {
    display: inline-block;
    font-size: 10px;
    color: #000000;
    background-color: #ECBD20;
    width: 38.25px;
    height: 13.74px;
    border-radius: 34.16px;
    text-align: center;
    line-height: 12px;
    font-family: 'Inter';
    font-weight: bold;
}

.ppc-button-wrapper {
    max-width: 300px;
}

/* Basic styling for the description wrapper */
.custom-category-description-wrapper {
    position: relative;
}

.custom-category-description {
    font-family: inherit;
    color: #29292a;
    font-size: 18px;
    font-weight: 300;
    max-height: 135px; /* Adjust this value based on how much you want to show before "Read more" */
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    position: relative;
}

.custom-category-description:after {
    content: "";
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: linear-gradient(to top, #fff, rgba(15, 24, 41, .01));
}

.custom-category-description.expanded {
    max-height: none; /* Expand the description when the "Read more" button is clicked */
}

.custom-category-description.expanded:after {
    display: none;
}

.read-more-toggle {
    display: block;
    font-weight: bold;
    cursor: pointer;
}

.catalog-ordering {
    margin: 15px 0 !important;
}

.yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter {
    margin-bottom: 0;
}

.yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter .filter-title.collapsable {
    margin-bottom: 0;
}

/* Optional: Style for the filters section */
.yith-wcan-filters-container {
    margin-top: 20px;
}

/* Style for the toggle header */
.toggle-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--awb-color8); /* or adjust this color based on your design */
    margin-top: 20px;
    text-transform: uppercase;
}

.custom-category-description-wrapper .related-collections_slider {
    margin-right: -15px !important;
}

.related-collections_slider {
    overflow-x: auto;
}

.related-collections_slider .swiper-slide {
    width: auto !important;
    margin-right: 12px;
}

.related-collections_slider .swiper-slide a {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid black;
    font-size: 0.875rem;
    transition: background-color 0.2s ease-in-out;
    text-decoration: none;
    color: inherit;
}

.related-collections_slider .swiper-slide a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

#shiftnav-toggle-main .shiftnav-main-toggle-content-after {
    display: flex;
    justify-content: center;
    align-items: center;
}

a.shiftnav-cart-icon, #header-search-toggle {
    position: relative;
    color: #fff;
    padding: 13px 10px;
}

.shiftnav-cart-icon .cart-count {
    position: absolute;
    top: 5px;
    right: -5px;
    background-color: transparent;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
}






@media screen and (max-width: 1024px) {
    .swiper-pagination-horizontal.swiper-pagination-bullets {
        display: flex;
    }

    .block-related-products-for-outofstock .related.products {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .fusion-column-wrapper .fusion-woo-short-description-tb .fusion-out-of-stock {
        left: 50px;
    }

    .block-related-products-for-outofstock {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .block-related-products-for-outofstock .awb-swiper-button-next,
    .block-related-products-for-outofstock .awb-swiper-button-prev {
        display: none;
    }
}

@media screen and (min-width: 1025px) {
    .swiper-pagination-horizontal.swiper-pagination-bullets {
        display: none !important;
    }
}

@media screen and (max-width: 991px) {
    .yith-wcan-filters-opener {
        display: none !important;
    }

    #wrapper .catalog-ordering .yith-wcan-filters-opener {
        display: block !important;
        font-size: 14px;
        text-transform: capitalize;
        margin-bottom: 0 !important;
        padding: 11px;
        border-radius: 0;
        max-height: 41px;
    }

    #wrapper .catalog-ordering {
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 10px;
        flex-direction: row;
    }
}

@media screen and (max-width: 800px) {
    #wrapper .woocommerce-container .catalog-ordering {
        align-items: flex-start;
        flex-direction: row;
    }

    #wrapper .orderby-order-container {
        margin-bottom: 0 !important;
    }
    #wrapper .order-dropdown.orderby {
        margin-bottom: 0 !important;
    }
    #wrapper .order-dropdown.sort-count {
        margin-bottom: 0 !important;
    }
    .catalog-ordering .fusion-grid-list-view {
        margin-right: 0 !important;
    }
}
