/*
Theme Name: GetMeBook
Theme URI: https://getmebook.com
Author: Ashish Kumar
Author URI: https://getmebook.com
Description: Custom WooCommerce bookstore theme.
Version: 1.0.0
Requires at least: 6.8
Requires PHP: 8.1
Text Domain: getmebook
*/


@font-face {
    font-family: star;
    src: url("/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

.cat--container .products {
    display: flex;
    flex-wrap: wrap;
}

.cat-container li.product-category {
    width: 16.666%;
    text-align: center;
}

.cat-container li.product-category img {
    /*max-width: 100%;*/
    width: 100px;
    height: 100px;
}

.product-details .product-price {
        color: #c96;
}

.new-arrivals{
     min-height: 500px;
}

.arrivals-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.7);
    z-index: 10;
}
.top-header {
    background-color: #fc0200;
    text-align: center;
}
.top-header .title {
    color: #ffffff;
    font-weight: 500;
    font-size: 18px;
}
/* =========================
     PRODUCT CARD
========================= */
.product.product-2 {
    height: 100%;
}
/* Product Image Container */
.product .product-media{
    position: relative;
    max-height: 360px;      /* Adjust as needed */
    overflow: hidden;
}
.product .product-media img{
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.product-price{
    display:flex;
    align-items:center;
    flex-flow:wrap;
    font-weight:500;
    font-size:1.6rem;
    line-height:1.25;
    color:#c96;
    margin-bottom:1.3rem;
    margin-top: 0.6rem;
    gap: 2px;
    
}
.product-price del{
    color: #777;
    font-size: 1.4rem;
}
.product-price ins{
    color: #FC0200;
    text-decoration: none;
    font-size: 2rem;
}
.new-arrivals .product-price, .trending-products .product-price {
    margin-bottom: 1.2rem;
    color: #FC0200;
}


.btn-product-icon{
    color:#FC0200;
    border-color:#FC0200;
    background-color:transparent;
    border:0.1rem solid #FC0200
    
}.btn-product-icon span{
    background-color:#FC0200;
    top:-1px;bottom:-1px
    
}
.btn-product-icon:hover,.btn-product-icon:focus{
        color:#FC0200;
        border-color:#FC0200;
        background-color:transparent
}
.btn-wishlist:hover:before,.btn-wishlist:focus:before{
    content:'\f233'
    
}
.btn-product-icon:hover,.btn-product-icon:focus{
    background-color:#FC0200;
    
}
.product-body .btn-wishlist:hover,.product-body .btn-wishlist:focus{
    color:#FC0200;
    
}
.btn-product-icon{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    width:3rem;
    height:3rem;
    padding:0;
    font-size:1.4rem;
    line-height:1;
    transition:all .35s ease;
    padding:0;
    border-radius:50%;
    color:#fff;
    background-color:#FC0200;
    
}
.btn-product-icon:before{
    font-family:"molla"
    
}
.btn-product-icon span{
    display:none
    
}
.btn-product-icon:hover,.btn-product-icon:focus{
    color:#fff;
    background-color:#FC0200
    
}
.btn-product-icon+.btn-product-icon{
    margin-top:1rem
    
}
.product .product-media .onsale {
    background-color: #fc0200;
    position: absolute;
    top: 5px;
    left: 5px;
}

.product-media img{
    width:100%;
    height:auto;
}
.products {
    justify-content: center;
    flex-wrap: wrap;
}
.products .row {
    width: 100%;
}
.products .row > div {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
    
}
.bestseller-badge{
    position:absolute;
    top:10px;
    right: 5px;
    left:auto;
    z-index:10;

    background:linear-gradient(135deg,#ffb300,#ff6f00);
    color:#fff;

    padding:6px 12px;
    border-radius:30px;

    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.5px;
}
.bestseller-badge{
    box-shadow:0 2px 8px rgba(0,0,0,.15);
}
@media(max-width:576px){
    .bestseller-badge{
        font-size:10px;
        padding:4px 8px;
    }
}

.product-body{
    display:flex;
    flex-direction:column;
    height:100%;
}

/* Product Title */
.product-body .product-title{
    min-height:48px;          /* Keeps every title area same height */
    line-height:1.5;
    overflow:hidden;

    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;     /* Show only 2 lines */
    line-clamp:2;

    text-overflow:ellipsis;
    word-break:break-word;
}



/* =========================
   SINGLE BOOK PAGE
========================= */
.product-main-image {
    position: relative;
    overflow: hidden;
}


/*============= Product Image Gallery============*/
.product-main-image .flex-viewport{
    height: 520px;
}

.product-main-image .woocommerce-product-gallery__image{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
}

.product-main-image .woocommerce-product-gallery__image img{
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 520px;
    margin: 0 auto;
}

.flex-control-thumbs {
    margin: 0;
    padding: 0;
    list-style: none;
}

.flex-control-thumbs li {
    width: 25%;
    float: left;
}

.flex-control-thumbs img {
    width: 100%;
    display: block;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all .2s ease;
}

.flex-control-thumbs img:hover {
    border-color: #cfcfcf;
}

.flex-control-thumbs img.flex-active {
    border: 2px solid #2e8b57;
}

.woocommerce-product-gallery__trigger .emoji {
    display: none;
}
.woocommerce-product-gallery__trigger {
    display: none !important;
}

@media (min-width: 992px) {

    .product-main-image .woocommerce-product-gallery{
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 16px;
    }

    /* Gallery thumbnails - left */
    .product-main-image .flex-control-nav.flex-control-thumbs{
        order: 1;
        flex: 0 0 80px;

        display: flex;
        flex-direction: column;

        gap: 10px;

        margin: 0;
        padding: 0;
        list-style: none;

        max-height: 520px;
        overflow-y: auto;
    }

    .product-main-image .flex-control-nav.flex-control-thumbs li{
        width: 80px;
        margin: 0 !important;
    }

    .product-main-image .flex-control-nav.flex-control-thumbs img{
        width: 100%;
        display: block;
        cursor: pointer;
    }

    /* Main image */
    .product-main-image .flex-viewport{
        order: 2;
        flex: 1;
        margin: 0 !important;
    }

    /* Trigger */
    .product-main-image .woocommerce-product-gallery__trigger{
        right: 15px;
        left: auto;
    }
}
@media (max-width: 991px){

    .product-main-image .woocommerce-product-gallery{
        display: block;
    }
    .product-main-image .flex-control-nav.flex-control-thumbs li{
        margin-top: 6px;
    }


}
/**/
.zoomImg {
    display: none !important;
}

.product-price .price{
    display: flex;
    gap:15px;
    align-items: center;
    flex-flow: wrap;
    font-weight: 400;
    font-size: 2.6rem;
    line-height: 1.25;
    color: #c96;
    margin-bottom: 1.3rem;
    margin: 2px 0;
}
.product-price .price ins{
    text-decoration: none;
}
.quantity{
    max-width: 180px;
}

table.variations tr {
    display: flex;
    align-items: baseline;
}
table.variations tr .label{
    display: inline-block;
    color: black;
    margin-right: 20px;
}
table.variations tr .value{
    display: flex;
    margin: 20px 0;
    gap: 12px;
}
table.variations tr select{
    color:#777;
}

.woocommerce-variation-price .price {
    display: flex;
    gap:15px;
    align-items: center;
    flex-flow: wrap;
    font-weight: 400;
    font-size: 2.6rem;
    line-height: 1.25;
    color: red;
    margin-bottom: 1.3rem;
    margin: 15px 0;
}
.woocommerce-variation-price .price del {
    color: #777;
    font-size: 1.2rem;
}
.woocommerce-variation-price .price ins {
    text-decoration: none;
}

.book-details{
    margin:25px 0;
    padding:20px;
    background:#f8f9fa;
    border-radius:8px;
}

.book-details h4{
    margin-bottom:15px;
    font-size:18px;
    font-weight:600;
}

.book-details-list{
    list-style:none;
    padding:0;
    margin:0;
}

.book-details-list li{
    margin-bottom:8px;
    line-height:1.6;
}

.book-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.book-details-list li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.book-details-list li:last-child {
    border-bottom: none;
}
.product-add-to-wishlist{
    margin-bottom: 2em;
    display: inline-block;
    padding: 1rem;
    border: 1px solid #FC0200;
    background-color: #ffffff;
    color: #FC0200;
}

.product-add-to-wishlist :hover {
    color: #FC0200;
}
.product-add-to-wishlist a:hover {
    color: #FC0200;
}

.product-review{
    margin:60px 0;
}

.woocommerce-tabs ul.tabs{
    display:flex;
    gap:12px;
    padding:0;
    margin:0 0 30px;
    border:none;
}

.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after{
    display:none;
}

.woocommerce-tabs ul.tabs li{
    margin:0;
    padding:0;
    border:none;
    background:none;
    border-radius:8px;
}

.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after{
    display:none;
}

.woocommerce-tabs ul.tabs li a{
    display:block;
    padding:12px 22px;
    border:1px solid #ddd;
    border-radius:8px;
    font-weight:600;
}

.woocommerce-tabs ul.tabs li.active a{
    background:#000;
    color:#fff;
    border-color:#000;
}
.woocommerce-Tabs-panel{
    border:1px solid #eee;
    border-radius:10px;
    padding:35px;
    margin-top:20px;
    background:#fff;
}
.woocommerce-Tabs-panel--description h2{
    display:none;
}
.woocommerce-Tabs-panel--description{
    line-height:1.9;
    font-size:16px;
}

.woocommerce-Reviews-title span{
    display:none;
}
.woocommerce #reviews .commentlist{
    list-style:none;
    padding:0;
}

.woocommerce #reviews .review{
    padding:25px;
    border:1px solid #eee;
    border-radius:10px;
    margin-bottom:20px;
}
.woocommerce #reviews .avatar{
    border-radius:50%;
}
.woocommerce-review__author{
    font-size:16px;
    font-weight:600;
}
.woocommerce-review__published-date{
    color:#888;
    font-size:14px;
}
.woocommerce #reviews .description{
    margin-top:15px;
    line-height:1.8;
}
#review_form{
    margin-top:50px;
    border:1px solid #eee;
    border-radius:10px;
    padding:30px;
}
#review_form input,
#review_form textarea,
#review_form select{
    width:100%;
    border:1px solid #ddd;
    border-radius:6px;
    padding:12px;
}
#review_form .submit{
    padding:12px 28px;
    border-radius:6px;
}
.comment-form-rating .stars{
    font-size:22px;
}
.woocommerce #reviews .comment_container{
    display:flex;
    gap:20px;
}

.woocommerce #reviews .comment-text{
    flex:1;
}
#reviewModal .modal-content{
    border:none;
    border-radius:18px;
}

#reviewModal .modal-header{
    border-bottom:1px solid #eee;
    padding:20px 24px;
}

#reviewModal .modal-body{
    padding:24px;
}

#reviewModal textarea{
    min-height:180px;
}

#reviewModal input,
#reviewModal textarea,
#reviewModal select{
    border-radius:10px;
}

.customer-reviews .btn{
    border-radius:10px;
    padding:.7rem 1.4rem;
}

/*Notification*/

/* Prevent WooCommerce from breaking page layout flow across the entire site */
.global-theme-notices-container,
.woocommerce-notices-wrapper,
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    display: none !important;
}

/* ==========================================================================
   CUSTOM FLOATING NOTIFICATIONS - BOOTSTRAP 4.3.1
   ========================================================================== */
   
/* 1. Master fixed viewport positioning container */
#custom-toast-container {
    position: fixed !important;
    top: 25px !important;
    right: 25px !important;
    z-index: 9999999 !important;
    pointer-events: none;
}

/* 2. Global individual alert card behaviors */
#custom-toast-container .alert {
    pointer-events: auto !important; /* Re-enables clicking inside alerts */
    min-width: 340px;
    max-width: 450px;
    margin-bottom: 0.85rem !important;
    border-radius: 6px !important;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.18);
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1.25rem !important;
    border: none !important; /* Removes default harsh board lines */
}

/* 3. SUCCESS DESIGN: Vibrant Green Theme */
#custom-toast-container .alert-success {
    background-color: #d4edda !important; /* Light green background background fill */
    color: #155724 !important;            /* Dark forest green text */
    border-left: 5px solid #28a745 !important; /* Saturated solid green accent sidebar indicator */
}

/* 4. WARNING/ERROR DESIGN: Vibrant Red Theme */
#custom-toast-container .alert-danger,
#custom-toast-container .alert-info { /* Native WC system errors default to alert-danger */
    background-color: #f8d7da !important; /* Light pink/red background background fill */
    color: #721c24 !important;            /* Dark crimson warning text */
    border-left: 5px solid #dc3545 !important; /* Saturated solid fire-red accent sidebar indicator */
}

/* 5. Elegant styling alignments for the close "✕" tracking component */
#custom-toast-container .close {
    float: none !important;
    margin-left: auto !important;
    opacity: 0.5;
    color: inherit;
    background: none;
    border: 0;
    padding: 0 0 0 15px;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    -webkit-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
}

#custom-toast-container .close:hover {
    opacity: 1;
}

/* Fix text layouts inside notifications to keep links legible */
#custom-toast-container .alert-msg-body a {
    color: inherit !important;
    text-decoration: underline !important;
    font-weight: 600;
}




/* Reviews Section CSS */

.comment-form-rating{
    display: flex;
}
.comment-form-rating p span{
    display: flex;
    margin-left: 20px;
}
/* Rating stars */

.stars a {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    font-size: 0;
    text-decoration: none;
}

.stars a::before {
    content: "\f318";
    font-family: "LineAwesome";
    font-weight: 900;
    font-size: 16px;
    color: #d3d3d3;
    position: absolute;
    inset: 0 auto auto 0;
}

/* Hover state */
.stars:hover a::before {
    color: #EABE12;
}

.stars a:hover ~ a::before {
    color: #d3d3d3;
}

/* Selected rating */
.stars.selected a::before {
    color: #EABE12;
}

.stars.selected a.active ~ a::before {
    color: #d3d3d3;
}

.product-rating-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.star-rating {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 16px;
    line-height: 1;
    overflow: hidden;
}

.star-rating::before {
    content: "\f318\f318\f318\f318\f318";
    font-family: "LineAwesome";
    font-size: 16px;   /*size of star icon*/
    color: #d3d3d3;
    position: absolute;
    left: 0;
    top: 0;
}

.star-rating span {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    text-indent: -9999px; /* Hide 'Rated 4.50 out of 5' */
}

.star-rating span::before {
    content: "\f318\f318\f318\f318\f318";
    font-family: "LineAwesome";
    font-size: 16px;
    color: #EABE12;
    text-indent: 0;
    display: block;
}

.review-count {
    font-size: 14px;
    color: #666;
}

/*Search Section CSS*/
.header-search-wrapper{
    position:relative;
}

#book-search-results{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#fff;
    z-index:9999;
    display:none;
    border:1px solid #e5e5e5;
    border-top:none;
    max-height:500px;
    overflow-y:auto;
}
.search-item{
    display:flex;
    align-items:center;
    gap:12px;
    padding:10px;
    border-bottom:1px solid #f1f1f1;
    text-decoration:none;
    transition:0.2s;
}

.search-item:hover{
    background:#f9f9f9;
}

.search-thumb img{
    width:45px;
    height:65px;
    object-fit:cover;
}

.search-info{
    flex:1;
}

.search-info h4{
    font-size:14px;
    margin:0;
    color:#222;
}

.search-meta{
    font-size:12px;
    color:#777;
    margin:2px 0 0;
}

.search-price{
    font-size:13px;
    font-weight:600;
    color:#000;
    white-space:nowrap;
}
.search-empty{
    font-size:15px;
    padding: 10px;
}
 /* Mobile Search */
 .mobile-book-search{
    padding:15px;
    background:#fff;
    position:relative;
}

.mobile-search-wrapper{
    position:relative;
}

.mobile-search-wrapper input{
    width:100%;
    height:48px;
    border:1px solid #ddd;
    border-radius:30px;
    padding:0 50px 0 18px;
    font-size:14px;
}

.mobile-search-wrapper button{
    position:absolute;
    right:16px;
    top:50%;
    transform:translateY(-50%);
    border:none;
    background:none;
    padding:0;
}

#book-search-results-mobile{
    margin-top:10px;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 30px rgba(0,0,0,.08);
    display:none;
}

/* Featured Authors Section CSS*/

/* Bigger circular image */
.author-avatar {
    width: 140px;
    height: 140px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Image fit */
.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder */
.author-placeholder,
.no-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #e9e9e9, #f7f7f7);
}

.author-card{
    text-align: center;
}

/* Name */
.author-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0 4px;
}

/* Book count */
.author-card p {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

/* Link */
.author-card a {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: #1a73e8;
}

.author-card a:hover {
    text-decoration: underline;
}


/*Deal of the Week*/
.deal-week-section {
    margin: 50px auto;
}

.deal-box {
    display: flex;
    gap: 30px;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.deal-image {
    position: relative;
    width: 220px;
    flex-shrink: 0;
}

.deal-image img {
    width: 100%;
    border-radius: 10px;
}

.deal-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e63946;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 6px;
}

.deal-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.deal-price {
    font-size: 18px;
    margin-bottom: 10px;
}

.sale-price {
    color: #e63946;
    font-weight: 600;
    margin-right: 8px;
}

.regular-price {
    text-decoration: line-through;
    color: #888;
}

.deal-desc {
    color: #555;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .deal-box {
        flex-direction: column;
        text-align: center;
    }
}
/*================================
        Shop page
==================================*/
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.filter-chip {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    background: #f2f2f2;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
}

.filter-chip:hover {
    background: #e6e6e6;
}

.filter-chip.clear-all {
    background: #000;
    color: #fff;
    border-color: #000;
}
#open-filters{
    margin-top: 15px;
}

@media (max-width: 991px) {

    .filter-drawer {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        height: 100%;
        background: #fff;
        z-index: 9999;
        overflow-y: auto;
        transition: 0.3s ease;
        padding: 15px;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }

    .filter-drawer.active {
        left: 0;
    }

    .filter-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

}

/*=======================
       About Us
==========================*/
.about-hero {
    padding: 80px 0;
}

.feature-box {
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.feature-box i {
    font-size: 40px;
    display: block;
}
/*=======================================
             Contact Us
=========================================*/
.contact-card{
    padding:30px;
    border:1px solid #eee;
    border-radius:10px;
    height:100%;
    transition:.3s;
}

.contact-card:hover{
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.contact-card i{
    font-size:48px;
    margin-bottom:15px;
    display:block;
}

.contact-sidebar{
    background:#f8f9fa;
    padding:25px;
    border-radius:10px;
}

.contact-list{
    padding-left:20px;
}

.contact-list li{
    margin-bottom:10px;
}
.contact-card i{
    width:70px;
    height:70px;
    line-height:70px;
    border-radius:50%;
    background:#007bff;
    color:#fff;
    font-size:28px;
    margin:0 auto 20px;
}

/* =====================================
   Contact Form 7 Styling
===================================== */

.contact-form-wrapper .wpcf7-form p{
    margin-bottom:20px;
}

.contact-form-wrapper label{
    display:block;
    font-weight:600;
    margin-bottom:8px;
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper textarea,
.contact-form-wrapper select{
    width:100%;
    padding:12px 15px;
    border:1px solid #ddd;
    border-radius:8px;
    transition:.3s;
    background:#fff;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus,
.contact-form-wrapper select:focus{
    border-color:#007bff;
    outline:none;
    box-shadow:0 0 0 3px rgba(0,123,255,.1);
}

.contact-form-wrapper textarea{
    min-height:180px;
    resize:vertical;
}

.contact-form-wrapper .wpcf7-submit{
    background:#007bff;
    color:#fff;
    border:none;
    padding:12px 30px;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
    font-weight:600;
}

.contact-form-wrapper .wpcf7-submit:hover{
    background:#0056b3;
}

.contact-form-wrapper .wpcf7-spinner{
    display:block;
    margin-top:10px;
}

.contact-form-wrapper .wpcf7-response-output{
    margin-top:20px;
    border-radius:8px;
}

/*=======================================
            Policy Pages
========================================*/
.entry-header{
    text-align: center;
    background-color: #f4f7ff;
    padding: 4.6rem 0 5rem;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #333;
}
.entry-header .entry-title {
    font-size:4rem;
    font-weight: 500;
}

.legal-page{
    max-width:900px;
    margin:25px auto;
    line-height:1.8;
}

.legal-page h1{
    margin-bottom:20px;
}

.legal-page h2{
    margin-top:35px;
    margin-bottom:15px;
    font-size:24px;
}

.legal-page p{
    margin-bottom:15px;
}

.legal-page ul{
    padding-left:20px;
    margin-bottom:20px;
    list-style-type: disc;
}

.legal-page li{
    margin-bottom:8px;
}


/*==========================
      Cart Page
=============================*/
@media (max-width: 768px) {

    .woocommerce table.shop_table_responsive tr td::before,
    .woocommerce-page table.shop_table_responsive tr td::before {
        display: none !important;
    }

    .woocommerce table.cart .product-thumbnail,
    .woocommerce-page table.cart .product-thumbnail {
        display: block !important;
    }
}


.cart-book-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:20px;
    margin-bottom:20px;
    transition:.2s ease;
}

.cart-book-card:hover{
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.cart-book-card .row{
    align-items:center;
}

.cart-book-card img{
    width:100%;
    max-width:90px;
    height:auto;
    border-radius:8px;
    box-shadow:0 4px 10px rgba(0,0,0,.15);
}

.cart-book-title{
    margin-bottom:8px;
}

.cart-book-title a{
    color:#222;
    text-decoration:none;
    font-size:18px;
    font-weight:600;
    line-height:1.4;
}

.cart-book-title a:hover{
    color:#0d6efd;
}

.cart-remove-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    border-radius:50%;
    background:#f8f9fa;
    text-decoration:none;
}

.cart-remove-btn:hover{
    background:#dc3545;
    color:#fff;
}

.cart-summary-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:24px;
    position:sticky;
    top:20px;
}

.cart-summary-card h2{
    font-size:24px;
    margin-bottom:20px;
}

.wc-proceed-to-checkout .checkout-button{
    width:100%;
    border-radius:8px;
    padding:14px;
    font-size:16px;
    font-weight:600;
}
.cart-actions button[name="update_cart"] {
    display: none !important;
}

/*=========== Wishlist CSS==============*/
.tinv-wishlist {
    display: flex;
    flex-direction: column;
}
.tinv-wishlist .social-buttons {
    text-align: center;
}
.tinv-wishlist td.product-price{
    display: grid;
}
.wishlist_products_counter i,
.wishlist_products_counter .wishlist_products_counter_text {
    display: none;
}
.wishlist{
	position:relative;
	align-items: center;
}
.wishlist-number {
    position: absolute;
    top: 0;
    right: 0;
    width: 1.6rem;
    height: 1.6rem;
}
.wishlist_products_counter_number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: #39f;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
}

/* ---------- Wishlist Mobile ---------- */
@media (max-width: 767px){

    /* Hide table header */
    .tinvwl-table-manage-list thead{
        display:none;
    }

    /* Remove table layout */
    .tinvwl-table-manage-list,
    .tinvwl-table-manage-list tbody,
    .tinvwl-table-manage-list tr,
    .tinvwl-table-manage-list td{
        display:block;
        width:100%;
    }

    /* Product Card */
    .tinvwl-table-manage-list tr.wishlist_item{
        position:relative;
        display:grid;
        grid-template-columns:90px 1fr;
        gap:5px;
        background:#fff;
        border:1px solid #e8e8e8;
        border-radius:10px;
        padding:15px;
        margin-bottom:18px;
        margin-top: 60px;
        box-shadow:0 2px 8px rgba(0,0,0,.05);
    }
    .tinv-wishlist table td{
        padding: 0;
    }
    .tinv-wishlist table.tinvwl-table-manage-list tbody td{
        align-items: start;
    }

    .tinvwl-table-manage-list tr.wishlist_item {
        position: relative;
    }

    .product-remove {
        position: static !important;
        display: block !important;
        width: auto !important;
        padding: 0 !important;
    }

    .product-remove button {
        position: absolute;
        top: 12px;
        right: 12px;

        width: 34px;
        height: 34px;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 50%;
        border: 0;
        background: #f5f5f5;
        cursor: pointer;
    }

    /* Hide unnecessary columns */
    .product-cb,
    .product-date{
        display:none !important;
    }

    /* Thumbnail */
    .product-thumbnail{
        grid-row:1 / span 4;
    }

    .product-thumbnail img{
        width:90px;
        height:120px;
        object-fit:cover;
        border-radius:6px;
    }

    /* Name */
    .product-name{
        font-size:16px;
        font-weight:600;
        margin-bottom:8px;
    }

    .product-name a{
        color:#333;
        text-decoration:none;
    }

    /* Price */
    .product-price{
        margin-bottom:8px;
        font-size:15px;
    }

    .product-price del{
        color:#999;
        margin-right:6px;
    }

    .product-price ins{
        color:#e53935;
        text-decoration:none;
        font-weight:700;
    }

    /* Stock */
    .product-stock{
        margin-bottom:12px;
        font-size:14px;
    }

    .product-stock .stock{
        margin:0;
    }

    /* Button */
    .tinvwl-table-manage-list tr.wishlist_item .product-action{
        visibility: visible;
        opacity: 1;
        bottom: -10px;
    }
    .product-action .button{
        width:100%;
        border-radius:8px;
        padding:10px;
        font-size:14px;
    }

    /* Remove button */
    .product-remove{
        position:absolute;
        top:10px;
        right:10px;
        width:auto;
    }

    .product-remove button{
        width:34px;
        height:34px;
        border-radius:50%;
        border:none;
        background:#f5f5f5;
    }
    .product-action{
        width:100%;
        margin-top:12px;
        clear:both;
    }

    .product-action .button{
        display:block;
        width:100%;
    }

    /* Footer buttons */
    .tinvwl-table-manage-list tfoot{
        display:none;
        
    }


    /* Social share */
    .social-buttons ul{
        display:flex;
        justify-content:center;
        flex-wrap:wrap;
        gap:10px;
    }
}

/*================= My Account CSS ============*/
.account {
    margin-right: 3rem;
    padding: 15px;
}

.account > a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.account .icon {
    font-size: 2.8rem;
    margin-right: 10px;
}

.account-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.account-greeting {
    font-size: 1.2rem;
    color: #777;
}

.account-label {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
}

.account a:hover .account-label {
    color: #c96;
}

.gmb-dashboard-cards{
    display:flex;
    margin-top: 3rem;
    gap: 3rem;
}

.gmb-card{
    background:#fff;
    border-radius:12px;
    padding:0 30px;
    text-align:center;
    text-decoration:none;
    color:#333;
    transition:.3s;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.gmb-card:hover{
    transform:translateY(-5px);
    box-shadow:0 8px 20px rgba(0,0,0,.12);
}

.gmb-card-icon{
    font-size:42px;
    margin-bottom:15px;
}

.gmb-card h3{
    margin-bottom:10px;
}

.woocommerce-MyAccount-wrapper{
    display:flex;
    gap:30px;
    align-items:flex-start;
    margin-top: 3rem;
}

.woocommerce-MyAccount-navigation{
    width:280px;
    flex-shrink:0;
}

.woocommerce-MyAccount-content{
    flex:1;
    min-width:0;
}


@media(max-width:991px){

    .woocommerce-MyAccount-wrapper{
        flex-direction:column;
    }

    .woocommerce-MyAccount-navigation{
        width:100%;
    }

}
.password-wrapper{
    position:relative;
}

.password-wrapper .form-control{
    padding-right:45px;
}

.toggle-password{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    color:#777;
    font-size:18px;
    z-index:2;
}

.toggle-password:hover{
    color:#c96;
}


/*==============Quick View CSS==============*/
.mfp-content .quickview-product{
    background:#fff;
    padding:35px;
    max-width:1100px;
    margin:auto;
    border-radius:10px;
}

.mfp-content{
    max-width:1100px;
}

.mfp-container{
    padding:40px;
}

.quickview-image img{
    width:100%;
    height:auto;
}

.quickview-image .woocommerce-product-gallery{
    opacity:1 !important;
}

.quickview-product .product-title h1{
    font-size:30px;
}

.quickview-product .product-price{
    font-size:28px;
}

.quickview-product .quantity{
    margin-bottom:15px;
}

.mfp-content .woocommerce-tabs,
.mfp-content .related,
.mfp-content .upsells,
.mfp-content .woocommerce-breadcrumb{
    display:none !important;
}

/*==========================
      CART DRAWER
==========================*/
.cart-dropdown .icon{
    font-size: 3.2rem;
    color: #333;
    line-height: 1;
}

.cart-drawer-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:9998;
}

.cart-drawer-overlay.show{
    opacity:1;
    visibility:visible;
}

.cart-drawer-panel{
    position:fixed;
    top:0;
    right:-500px;
    width:483px;
    max-width:100%;
    height:100%;
    background:#fff;
    z-index:9999;
    display:flex;
    flex-direction:column;
    transition:right .35s ease;
    box-shadow:-8px 0 25px rgba(0,0,0,.15);
    overflow-y: auto; 
}

.drawer-cart-body{
    flex:1;
    overflow-y:auto;
    min-height:0;            /* important */
}
.drawer-cart-footer{
    flex-shrink:0;
    border-top:1px solid #eee;
    background:#fff;
    padding:20px;
}

.cart-drawer.open .cart-drawer-panel{
    right:0;
}

.drawer-price{
    display: flex;
    flex-direction: column;
}
.drawer-cart-price{
    display:flex;
    flex-direction:row-reverse;
    align-items:center;
    margin-left:auto;
    gap: 6px;
}

.drawer-cart-price del{
    color:#999;
    font-size:13px;
    line-height:1;
}

.drawer-cart-price ins{
    color:#000000;
    font-size:17px;
    text-decoration:none;
    line-height:1.2;
}

.drawer-save{
    padding: 2px 8px;
    background: #bbffc7;
    border-radius: 4px;
    color: #000000;
    font-size: 10px;
}


/*==========================
      HEADER
==========================*/

.cart-drawer-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px;
    border-bottom:1px solid #eee;
}

.cart-drawer-header h4{
    margin:0;
    font-size:20px;
    font-weight:600;
}

.cart-close{
    background:none;
    border:none;
    font-size:20px;
    cursor:pointer;
}

/*==========================
      BODY
==========================*/

.widget_shopping_cart_content{
    display:flex;
    flex-direction:column;
    flex:1;
}

.drawer-cart-body{
    flex:1;
    overflow-y:auto;
    padding:20px;
}

.drawer-cart-item{
    display:flex;
    gap:15px;
    padding-bottom:18px;
    margin-bottom:18px;
    border-bottom:1px solid #efefef;
    position:relative;
}

.drawer-cart-image img{
    width:75px;
    height:105px;
    object-fit:cover;
    border-radius:6px;
}

.drawer-cart-details{
    flex:1;
}

.drawer-cart-details h6{
    margin:0 0 8px;
    font-size:15px;
    line-height:1.4;
}

.drawer-cart-details h6 a{
    color:#333;
    text-decoration:none;
}

.drawer-cart-price{
    font-size:16px;
    color:#28a745;
    margin-bottom:6px;
}

.drawer-cart-qty{
    font-size:14px;
    color:#777;
}

.drawer-qty{
    background: #ecf8ff !important;
    display:flex;
    align-items:center;
    width:120px;
    height:30px;
    border:1px solid #ddd;
    border-radius:8px;
    overflow:hidden;
    margin-top:10px;
}

.drawer-qty button{
    width:36px;
    height:100%;
    border:0;
    cursor:pointer;
    background: transparent;
    transition:.2s;
}

.drawer-minus{
    border-right: 1px solid rgba(97, 103, 124, 0.4);
}
.drawer-plus{
    border-left: 1px solid rgba(97, 103, 124, 0.4);
}

.drawer-qty button:hover{
    background:#FC0200;
    color:#fff;
}

.drawer-qty-input{
    flex:1;
    border:0;
    text-align:center;
    font-size:15px;
    outline:none;
    width: 44px;
    background: transparent;
}

.drawer-qty-input::-webkit-inner-spin-button,
.drawer-qty-input::-webkit-outer-spin-button{
    display:none;
}

.drawer-remove{
    position:absolute;
    right:0;
    top:0;
    color:#999;
    font-size:15px;
}

.drawer-remove:hover{
    color:#dc3545;
}

/*==========================
      FOOTER
==========================*/

.drawer-cart-footer{
    border-top:1px solid #eee;
    padding:20px;
    background:#fff;
}

.drawer-subtotal{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:18px;
    font-weight:600;
    margin-bottom:20px;
}

.checkout-btn{
    width:100%;
    margin-bottom:12px;
    height:48px;
}

.continue-shopping{
    width:100%;
    height:48px;
}

/*==========================
      EMPTY CART
==========================*/

.drawer-empty{
    flex:1;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:40px;
}

.drawer-empty i{
    font-size:55px;
    color:#ccc;
    margin-bottom:20px;
}

.drawer-empty h5{
    margin-bottom:8px;
}

.drawer-empty p{
    color:#777;
}

/*==========================
      SCROLLBAR
==========================*/

.drawer-cart-body::-webkit-scrollbar{
    width:6px;
}

.drawer-cart-body::-webkit-scrollbar-thumb{
    background:#d8d8d8;
    border-radius:20px;
}

/*==========================
      MOBILE
==========================*/

@media(max-width:575px){

    .cart-drawer-panel{
        width:100%;
    }
    
    .drawer-cart-image img{
        width:65px;
        height:90px;
    }
    
    .drawer-cart-header{
        padding:16px;
    }
    
    .drawer-cart-body{
        padding:16px;
    }
    
    .drawer-cart-footer{
        padding:16px;
    }
}

body.cart-drawer-open{
    overflow:hidden;
}
