/*
Theme Name: Lenocase v2
Theme URI: https://lenocase.com/
Author: Your Name
Author URI: https://lenocase.com/
Description: Custom WordPress Theme for Lenocase v2
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lenocase-v2
*/
.d-none{display: none !important;}
div#iyzi-root {display: none;}
.lc__page .lc__content {justify-content: unset;align-items: unset;gap: unset;}

/*Loading in Archive pages*/
#lc__loading-overlay {position: fixed;top: 0;left: 0;width: 100%;height: 100%;background: rgba(255, 255, 255, 0.8);display: flex;align-items: center;justify-content: center;z-index: 9999;}
.lc__loading-spinner {border: 4px solid #f3f3f3;border-top: 4px solid #3498db;border-radius: 50%;width: 40px;height: 40px;animation: spin 1s linear infinite;}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.lc__page.lc__product-archive-two .lc__cart-product .cart__content h3{margin-bottom: 10px}
.lc__page.lc__product-archive-two .lc__cart-product .cart__content a{background:none;display:flex;justify-content: center;align-items: center;gap: 5px;border: 1px solid #00000020;margin-top: 10px;}
.lc__page.lc__product-archive-two .lc__cart-product .cart__content a:hover {background: #00000020;}
.lc__page.lc__product-archive-two .lc__cart-product .cart__content a img{width:25px;}
@media screen and (max-width: 978px) {
    .lc__mobile-order-1 {order: 1}
    .lc__mobile-order-2 {order: 2}
    .lc__mobile-order-3 {order: 3}
    .lc__mobile-order-4 {order: 4}
    .lc__mobile-order-5 {order: 5}
    .lc__mobile-order-6 {order: 6}
    .lc__mobile-order-7 {order: 7}
    .lc__mobile-order-8 {order: 8}
    .lc__mobile-order-9 {order: 9}
    .lc__mobile-order-10 {order: 10}
    .lc__mobile-order-11 {order: 11}
    .lc__mobile-order-12 {order: 12}
}
.wa__btn_popup {
    bottom: 70px !important;
}
.tab-color-one{background: var(--bg-color-b) !important;}
.tab-color-two{background: var(--font-color-e) !important;}
.tab-color-three{background: var(--bg-color-a) !important;}
.lc__video-hide {background-color: #ffffff !important;}
.force-bg-color{
    background-color: var(--force-bg-color) !important;
    outline: 500px solid var(--force-bg-color);
    box-shadow: 0 0 0 20px var(--force-bg-color);
}

.lc__search-results {
    display: none;
}

/* 4 items per row - Desktop */
.lc__search-results {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
}

/* 3 items per row - Tablet (1024px and below) */
@media (max-width: 1024px) {
    .lc__search-results {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        padding: 16px;
    }
}

/* 2 items per row - Mobile Large (768px and below) */
@media (max-width: 768px) {
    .lc__search-results {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 12px;
        max-height: 450px;
    }
}

/* 1 item per row - Mobile Small (480px and below) */
@media (max-width: 480px) {
    .lc__search-results {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
        max-height: 400px;
    }
}

/* Smooth scrollbar for Webkit browsers */
.lc__search-results::-webkit-scrollbar {
    width: 6px;
}

.lc__search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.lc__search-results::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.lc__search-results::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Firefox scrollbar */
.lc__search-results {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

/* Ensure individual products take full grid cell */
.lc__search-results .lc__cart-product {border: none;}

.lc__search-results .lc__cart-product:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Loading and no results states */
.search-loading,
.no-results,
.search-error {
    grid-column: 1 / -1; /* Span all columns */
    padding: 40px 20px;
    text-align: center;
    color: #666;
    font-style: italic;
    margin: 0;
}

.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.search-loading::before {
    content: '';
    width: 24px;
    height: 24px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 12px;
}


/* Loading */
.lc__loading {
    position: relative;
}

.lc__loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    font-size: 16px;
    color: #377827;
    font-weight: 600;
}

.lc__loading::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    top: 25%;
    left: 45%;
    z-index: 11;
    border: 3px solid #ffffff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wishlist-pagination .page-numbers {
    padding: 10px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
}
.lc__blog-single .lc__blog-container .lc__post-content .product-thumbnail img {
    height: 100%;
    width: 100%;
}

.lc__blog-single .lc__blog-container .lc__post-content .product-thumbnail a {
    padding: 0;
}



.woocommerce-cart table.cart :is(th,td) {
    text-align: left;
    border-top:0;
    border-bottom: 2px solid #ffffff;
}
table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents {
    box-shadow: none !important;
    border: 0;
    background-color: #f2f2f2 !important;
}
.woocommerce-cart form .woocommerce-cart-form__cart-item {
    background-color: #f2f2f2 !important;
}
.woocommerce-cart form .woocommerce-cart-form__cart-item:before {
    content: '';
    height: 2px;
    width: 50px;
    position: absolute;
    background: #ffffff;
    bottom: 0;
}
.woocommerce-cart form .woocommerce-cart-form__cart-item:before {
    content: '';
    height: 2px;
    width: 50px;
    position: absolute;
    background: #ffffff;
    bottom: 0;
}

a.checkout-button.button.alt.wc-forward {
    background-color: var(--bg-color-b);
    font-weight: 100;
}

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    float: unset;
    width: 100%;
}

.woocommerce-page .cart-collaterals .cart_totals h2 {
    margin-bottom: 15px;
    margin-top: 50px;
}
.woocommerce-cart .cart-collaterals .cart_totals table th {
    color: #000000;
    border-bottom: 0;
    text-align: left;
}
.woocommerce-cart .cart-collaterals .cart_totals table td{
    text-align: left !important;
}
.woocommerce-cart form.woocommerce-cart-form{
    position: relative;
}
.woocommerce-cart form [name=update_cart] {
    position: absolute;
    bottom: 20px;
    right: 15px;
    height: 45px;
    width: 200px;
    background: var(--bg-color-b);
    color: #fff;
}
.woocommerce-cart form [name=update_cart]:disabled{
    display: none;
}
.woocommerce-checkout-review-order-table tr.cart_item {
    background-color: var(--font-color-c) !important;
}

.woocommerce-checkout-review-order-table tr :is(th,td) {
    text-align: left !important;
    color: #000000 !important;
}

.woocommerce-table--order-details :is(th,td) {
    color: #000 !important;
    text-align: left !important;
}
.woocommerce .woocommerce-customer-details .woocommerce-column address p[class*=woocommerce] {
    padding-left: 25px !important;
}
.woocommerce h2.woocommerce-order-details__title {
    margin-bottom: 15px;
}

.woocommerce .woocommerce-customer-details h2.woocommerce-column__title {
    margin-bottom: 15px;
}
.woocommerce-order-received ul.woocommerce-order-overview {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 25px;
    margin-top: 10px;
}
.woocommerce-order-received ul.order_details::before{display:none;}
@media (max-width: 768px){
    .woocommerce-cart form .woocommerce-cart-form__cart-item {border-bottom: 10px solid #FFFFFF;}
    .woocommerce-cart form [name=update_cart] {position: relative;bottom: unset;right: unset;color: #fff !important;}
    .woocommerce-column--shipping-address {margin-top: 20px;}
    .woocommerce-order-received ul.woocommerce-order-overview {flex-direction: column;gap:5px;}
    .woocommerce-order-received ul.woocommerce-order-overview li{border-right:0;border-bottom:1px dashed #cfc8d8;padding: 10px 0;}
}
.woocommerce-checkout #payment ul.payment_methods li img {
    width: auto !important;
    height: auto !important;
}
.lc__cover-color ul li[disabled=true] {
    opacity: 0.3;
    cursor: not-allowed;
}

.frame__item.disabled-case-type * {opacity: 0.6;cursor: not-allowed;}
.disabled-case-type-input {width: 20px;height: 20px;border: 2px solid;border-radius: 50%;}