.product-wrapper .loader-cont{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
    justify-content: center;
    align-items: center;
    display: none;
}
.loader-cont .loading{
    height:50px;
    width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor:progress;
    border-radius: 50%;
    border-top: 5px solid gold;
    border-bottom: 5px solid transparent;
    border-left: 5px solid gold;
    border-right: 5px solid transparent;
    animation: loading 1s linear infinite;
}
.product-wrapper.addingcart .loader-cont{
    display: flex;
}

@keyframes loading {
  0% {
   transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.buy_now{
    background: #FFBB38;
    color: black;
}
.buy_now svg path{
    fill: black;
}
.buy_now:hover{
    background: #FFBB38;
    color: black;
}
.buy_now:hover span{
    color: black;
}
.buy_now:hover svg path{
    fill: black;
}

/* Toast Messages */
.toast-messages{
    background: #cce6cc;
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    padding: 20px;
    z-index: 99;
    transform: translateX(-120%);
    transition: all .3s;
}
.toast-messages p{
    color: #008000;
}
.toast-messages.active{
    transform: translateX(0);
    transition: all .3s;
}

/* Product Cards Buy It Now Button */
.product-cart-items .buy_now,
.product-cart-items .sub-category-button {
    font-size: 14px;
    padding: 8px 20px;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 20px;
    background-color: #f39c12;
    color: #ffffff;
    border: none;
    cursor: pointer;
    box-shadow: inset 2px 2px 6px rgba(0, 0, 0, 0.2), 
                inset -2px -2px 6px rgba(255, 255, 255, 0.5);
    transition: background-color 0.3s ease;
}

.product-cart-items .buy_now:hover,
.product-cart-items .sub-category-button:hover {
    background-color: #e67e22;
}

/* Pagination */
.pagination{
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.pagination span,
.pagination button{
    border: 2px solid black;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all .3s;
}

.pagination span.current{
    background: var(--contrast-color);
    color: white;
    border: 2px solid var(--contrast-color);
}

.pagination button:hover{
    background: var(--contrast-color);
    color: white;
    transition: all .3s;
}

/* Sticky Header */
header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--light-primary);
    z-index: 99;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Product Dropdown */
.product-sort-dropdown{
    font-size: 1.6rem;
    padding: 2px 4px;
}

/* Header Search */
.header-custom-search{
    width: 700px;
}
.header-custom-search form{
    display: flex;
}
.header-custom-search form input{
    width: 100%;
    padding: 10px;
    border: 2px solid var(--contrast-color);
}
.header-custom-search form input:focus{
    outline: none;
}
.header-custom-search form button{
    background-color: var(--contrast-color);
    color: white;
    padding: 0 40px;
    font-size: 16px;
}

/* Product search */
#product-search{
    font-size: 16px;
    min-width: 300px;
    border: 2px solid var(--contrast-color);
    padding: 6px 10px;
}
#product-search:focus{
    outline: none;
}


/* Cart Page */
.cart-custom-cont,
.checkout-custom-cont,
.account-custom-cont,
.track-custom-cont{
    padding: 80px 0;
}
table.wc-block-cart-items{
    font-size: 1.6rem;
}
div.wc-block-components-sidebar{
    font-size: 1.6rem;
}
div.wc-block-checkout__main{
    font-size: 1.6rem;
}
div.wp-block-woocommerce-empty-cart-block{
    font-size: 2rem;
}
.wp-block-woocommerce-empty-cart-block p > a{
    background: black;
    color: white;
    padding: 10px 40px;
    display: block;
    max-width: fit-content;
    margin: auto;
    margin-top: 20px;
}

/* Cart Button */
.wc-block-cart__submit-container a{
    background: black;
    color: white;
}
.wc-block-cart__submit-container a:hover{
    background: black;
    color: white;
}
button.wc-block-components-checkout-place-order-button,
.wc-block-components-totals-coupon__button{
    background: black;
    color: white;
}

/* My Account */
.woocommerce-MyAccount-navigation ul li a{
    display: block;
    padding: 20px;
    text-transform: uppercase;
    font-size: 1.4rem;
    border-radius: 8px;
}
.woocommerce-MyAccount-navigation ul li a:hover{
    background-color: #f7e8f5;
}
.woocommerce-MyAccount-navigation ul li.is-active a{
    color: white;
    background-color: var(--contrast-color);
}
.woocommerce-account .woocommerce-MyAccount-content{
    font-size: 1.6rem;
}
.woocommerce-info {
    border-top-color: var(--contrast-color);
}
.woocommerce-info::before {
    color: var(--contrast-color);
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button{
    background-color: var(--primary-color);
    color: var(--contrast-color);
}
.woocommerce form .form-row .input-text, .woocommerce form .form-row select{
    padding: 8px;
}
.account-custom-cont .u-column1 p.form-row{
    display: flex;
    flex-direction: column;
}
p.woocommerce-LostPassword a,
a.woocommerce-privacy-policy-link{
    font-size: 14px;
    color: #0d6efd;
    font-weight: normal;
}
.blog{
    background: #f7e8f5;
}

/* Thank You Page */
section.thankyou{
    padding: 80px 0;
}
section.thankyou .thank_you{
    text-align: center;
}
section.thankyou .thank_you p{
    font-size: 20px;
}
section.thankyou .thank_you button{
    font-size: 16px;
    padding: 12px 20px;
    background: black;
    color: white;
    margin-top: 40px;
}
.woocommerce-MyAccount-content a{
    font-size: 14px;
    color: #0d6efd;
    font-weight: normal;
}
.account-custom-cont .wp-block-group__inner-container{
    border: 2px solid var(--contrast-color);
    border-radius: 8px;
    padding: 20px;
}
.woocommerce-Address-title.title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.woocommerce-Address-title.title h2{
    font-size: 2.5rem;
}
.woocommerce .col2-set, .woocommerce-page .col2-set{
    margin-top: 20px;
}
.woocommerce .woocommerce-customer-details .woocommerce-column__title{
    font-size: 2.8rem;
}


/* Product Detail Page */
.product-info-content .product-quantity{
    justify-content: start;
}
.product-info-content .product-quantity .quantity{
    width: 20rem;
    margin-top: 4rem;
    gap: 4rem;
}

/* Custom Cart */
.cart-custom-cont{
    padding: 40px 20px 0;
}

.checkout-custom-cont{
    padding: 40px 20px 0;
}

/* Mega Menu */
.header-nav-menu li a{
    display: block;
    text-transform: uppercase;
    padding: 26px 0;
}
.header-nav-menu ul.sub-menu{
    display: none;
}
.header-nav-menu li.menu-item-has-children:hover ul.sub-menu{
    display: block;
    position: absolute;
    background: var(--light-primary);
    min-width: 300px;
    z-index: 9;
    top: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
#menu-header-menu-1 > li:hover a{
    color: #000;
}
.header-nav-menu li.menu-item-has-children:hover ul.sub-menu li a{
    color: black;
    padding: 16px 20px;
}
.header-nav-menu li.menu-item-has-children:hover ul.sub-menu li a:hover{
    background: var(--primary-color);
}

/* Hero Banner */
.hero-banner{
    height: 100%;
}
.hero-banner .wrapper-info h5,
.hero-banner .wrapper-info h1{
    color: white;
}

/* Sub Categories */
section.bedsheet-subcategory{
    background: white;
}
section.sub-categories .product-wrapper .product-info{
    align-items: center;
}
section.sub-categories .product-wrapper{
    height: 42rem;
}
section.sub-categories .product-wrapper .product-description{
    text-align: center;
}
section.dohar-subcategory .product-wrapper{
    height: 40rem;
}
section.bedding-set-subcategory .product-wrapper{
    height: 40rem;
}
section.dohar-subcategory{
    background: var(--light-primary);
}
.header .logo{
    max-width: 150px;
}
.mobile-header-logo{
    max-width: 100px !important;
}
.footer-order .logo img{
    max-width: 150px;
    filter: brightness(100);
}

/* Product Listing */
.filter-category-wrapper .sidebar-item{
    max-height: 350px;
    overflow: hidden;
    overflow-y: scroll;
}
.sidebar-section .sidebar-wrapper .sidebar-item .sidebar-list .sidebar-sublist{
    padding-top: 4px;
    padding-left: 24px;
}
.checkbox-group{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

/* Mobile Dropdown Category */
.mobile-dropdown-category li a{
    font-size: 14px;
    text-transform: uppercase;
    padding: 10px 20px;
    display: block;
}
.mobile-dropdown-category li.menu-item-has-children > a{
    border-top: 2px solid var(--contrast-color);
    border-bottom: 2px solid var(--contrast-color);
}
.mobile-dropdown-category li.menu-item-has-children .sub-menu{
    padding-left: 20px;
}
.offcanvas-body .header-input{
    margin: 0 20px;
}
.mobile-offcanvas form{
    display: flex;
    width: 100%;
}
.mobile-offcanvas{
    background: var(--light-primary);
}
.offcanvas-body .header-input input{
    width: 100%;
}
.mob-cart-profile{
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive */
@media(max-width: 767px){
    .product-wrapper .product-details {
        font-size: 16px;
    }
    .product-wrapper .price span {
        font-size: 14px;
    }
    .product-wrapper{
        height: 42rem;
    }
    .product-wrapper .product-info .product-description{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .product-wrapper .product-info{
        margin-top: 10px;
    }
    .section-title .view {
        border-bottom: 2px solid black;
    }
    .about-title{
        font-size: 3rem;
    }
    .section-title .view::before{
        content: unset;
    }
    .product-sorting-section .result{
        width: 50%;
    }
    #product-search{
        min-width: unset;
        width: 90%;
        font-size: 14px;
        padding: 4px 8px;
    }
    .product-sidebar-section .product-sorting-section .product-sorting{
        width: 50%;
        gap: 4px;
    }
    .product-sort-dropdown{
        width: 100%;
    }
    .product-sidebar-section .product-sorting-section{
        gap: 14px;
    }
    .product-sort-dropdown{
        font-size: 14px;
    }
    .product-sidebar-section .product-sorting-section .product-sorting span{
        font-size: 12px;
    }

    /* Hero Banner */
    h1{
        font-size: 32px;
        max-width: 335px;
    }
    .wrapper-section .shop-btn{
        padding: 10px 30px;
        margin: 20px 0;
    }
    .hero {
        height: 350px;
    }


    /* Product Card */
    .product-wrapper {
        height: 350px;
    }
    .product-wrapper .product-img {
        height: 200px;
    }
    .custom-product-card{
        padding: 0 6px;
    }
    .product-wrapper .product-info .product-description{
        padding: 0 4px;
        gap: 4px;
    }
    .custom-product-card  .product-wrapper .product-info{
        align-items: start;
        padding: 0 6px;
    }
    .custom-product-card  .product-wrapper .price{
        justify-content: start;
    }
    .custom-product-card  .product-wrapper .product-cart-btn{
        bottom: 0;
        right: unset;
        text-align: center;
        width: 100%;
    }
    .custom-product-card .product-btn{
        display: block;
        border-top-left-radius: 0;
        font-size: 14px;
        padding: 10px;
    }
    .custom-product-card .product-wrapper .product-img .product-cart-items{
        min-width: 100px;
    }
    .custom-product-card .product-cart-items .buy_now{
        font-size: 12px;
        padding: 8px 10px;
    }

    /* Product Card 2 */
    .custom-product-card-2 .product-wrapper .price span {
        font-size: 16px;
    }
    .custom-product-card-2 .product-wrapper .product-info .product-description{
        align-items: center;
    }
    .custom-product-card-2 .product-wrapper .product-details {
        font-size: 20px;
    }

    /* Product Listing */
    .filter-products-container{
        justify-content: center;
    }

    /* Single Product */
    .product-info-img .product-top .slider-top-img{
        height: 250px;
    }

    .single-product-image{
        margin: 0;
    }

    .blog-bradcrum{
        text-align: left;
    }

    .product-info-img .swiper .product-discount-content{
        width: 50px;
        height: 50px;
    }
    .product-info-img .swiper .product-discount-content h4{
        font-size: 14px;
    }
    h5{
        font-size: 22px;
    }
    .product-info-content .product-quantity{
        flex-direction: row;
        gap: 6px;
        justify-content: start;
    }
    .shop-btn{
        padding: 10px 6px;
    }
    section.about a.shop-btn{
        padding: 10px 18px;
    }
    .product-info-content .product-quantity .quantity{
        width: 180px;
        gap: 40px;
        margin-top: 0;
    }
    section.sub-categories .product-wrapper{
        height: 28rem;
    }
    .wrapper-section .wrapper-subtitle {
        font-size: 16px;
        margin-bottom: 1.4rem;
    }
    .hero-banner .wrapper-info h1 {
        font-size: 38px;
    }
    .account-custom-cont .wp-block-group__inner-container{
        border: none;
    }
    .cart-custom-cont, .checkout-custom-cont, .account-custom-cont, .track-custom-cont{
        padding: 20px 0;
    }
    .account-custom-cont .wp-block-group__inner-container{
        padding: 0 20px;
    }
    h2{
        font-size: 4rem;
    }
}