/*
Theme Name: Lebasino
Theme URI: https://rtl-theme.com/?p=11020
Author: Jamal Ghaffari
Author URI: https://www.rtl-theme.com/user-profile/jamal_ghaffari/
Description: قالب فروشگاهی چندمنظوره لباسینو، یک قالب وردپرس مدرن و واکنش‌گرا برای ساخت فروشگاه‌های پوشاک، مد و زیبایی است. این قالب با المنتور سازگار بوده و دارای طراحی شیک، فیلترهای پیشرفته محصولات، پشتیبانی از ووکامرس و تنظیمات سفارشی گسترده است.
Version: 2.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lebasino
Domain Path: /languages
Tags: e-commerce, fashion, responsive, rtl-language-support, custom-colors, custom-logo, custom-menu, featured-images, translation-ready, elementor, woocommerce
*/

@font-face {
    font-display: swap;
    font-family: "Peyda";
    src: url("../fonts/PeydaWebVF.woff2") format("woff2"),
        url("../fonts/PeydaWebVF.woff") format("woff");
    font-style: Swash;
}

* {
    -moz-font-feature-settings: "ss02" !important;
    -webkit-font-feature-settings: "ss02" !important;
    font-feature-settings: "ss02" !important;
}

*:focus-visible {
    outline: none;
}

/* Lebasino Theme CSS Variables - Integrated with Theme Options */
:root {
    /* Typography Variables - Connected to Admin Panel */
    --main-font: var(--lebasino-main-font, "Peyda");
    --heading-font: var(--lebasino-heading-font, "Peyda");
    --body-font-size: var(--lebasino-body-font-size, 14px);
    --h1-font-size: var(--lebasino-h1-font-size, 2.1rem);
    --h2-font-size: var(--lebasino-h2-font-size, 1.8rem);
    --h3-font-size: var(--lebasino-h3-font-size, 1.5rem);
    --line-height: var(--lebasino-line-height, 1.8);
    --letter-spacing: var(--lebasino-letter-spacing, 0px);
    --font-weight-normal: var(--lebasino-font-weight-normal, 400);
    --font-weight-bold: var(--lebasino-font-weight-bold, 600);
    /* Color Variables - Connected to Admin Panel */
    --primary-color: var(--lebasino-primary-color, #c83b3b);
    --primary-color-rgb: var(--lebasino-primary-color-rgb, 200 59 59);
    --primary-light: var(--lebasino-primary-light, #e54545);
    --primary-dark: var(--lebasino-primary-dark, #a52c2c);
    --secondary-color: var(--lebasino-secondary-color, var(--text-color));
    --text-color: var(--lebasino-text-color, #242B3D);
    --text-color-rgb: var(--lebasino-text-color-rgb, 36 43 61);
    --link-color: var(--lebasino-link-color, var(--text-color));
    --link-hover-color: var(--lebasino-link-hover-color, #a52c2c);
    --background-color: var(--lebasino-background-color, #ffffff);
    --border-color: var(--lebasino-border-color, rgba(36, 43, 61, 0.30));
    --border-color-rgb: var(--lebasino-border-color-rgb, 36 43 61);
    --bs-border-color: rgba(var(--lebasino-border-color-rgb), 0.3);
    --success-color: var(--lebasino-success-color, #48bb78);
    --warning-color: var(--lebasino-warning-color, #ed8936);
    --error-color: var(--lebasino-error-color, #e74c3c);
    /* Layout Variables */
    --container-max-width: 1440px;
    --container-laptop-max-width: 1140px;
    --border-radius: 8px;
    --border-radius-small: 4px;
    --border-radius-large: 24px;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 16px 0 rgba(var(--border-color-rgb), 0.10);
    --box-shadow-hover: 0 8px 32px 0 rgba(var(--border-color-rgb), 0.15);
    /* WooCommerce Variables - Connected to Admin Panel */
    --wc-add-to-cart-btn-color: var(--lebasino-wc-add-to-cart-btn-color, var(--primary-color, #c83b3b));
    --wc-add-to-cart-btn-hover-color: var(--lebasino-wc-add-to-cart-btn-hover-color, var(--primary-dark));
    --wc-sale-badge-color: var(--lebasino-wc-sale-badge-color, var(--primary-color, #c83b3b));
    --wc-sale-badge-text-color: var(--lebasino-wc-sale-badge-text-color, #ffffff);
    --wc-price-color: var(--lebasino-wc-price-color, var(--primary-color, #c83b3b));
    --wc-old-price-color: var(--lebasino-wc-old-price-color, #a0aec0);
    /* Bootstrap Integration */
    --bs-primary-rgb: var(--primary-color-rgb, 200 59 59);
}

body {
    background-color: var(--background-color);
    font-family: var(--main-font), sans-serif;
    font-style: normal;
    font-size: var(--body-font-size);
    line-height: var(--line-height);
    font-weight: var(--font-weight-normal);
    letter-spacing: var(--letter-spacing);
    color: var(--text-color);
    overflow-x: hidden;
    -webkit-font-feature-settings: "ss02" !important;
    -moz-font-feature-settings: "ss02" !important;
    font-feature-settings: "ss02" !important;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover,
a:focus {
    color: var(--link-hover-color);
    text-decoration: none;
}

input,
input:focus,
button,
button:focus {
    border: 0;
    outline: none;
}

/* Hide arrows for all browsers */
input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

ol,
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-style--circle {
    list-style: circle;
}

hr {
    margin: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--heading-font), sans-serif;
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    line-height: 1.3;
}

.h1,
h1 {
    font-size: var(--h1-font-size);
}

.h2,
h2 {
    font-size: var(--h2-font-size);
}

.h3,
h3 {
    font-size: var(--h3-font-size);
}

.container {
    max-width: var(--container-max-width);
}

@media (min-width: 1200px) {
    .container {
        max-width: var(--container-laptop-max-width);
    }
}

@media (min-width: 1380px) {
    .container {
        max-width: var(--container-max-width);
    }
}

.container.container--md {
    max-width: 1100px;
}

ins {
    text-decoration: none;
}

.dir-ltr {
    direction: ltr;
}

.dir-rtl {
    direction: rtl;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--primary-color, #c83b3b);
    --bs-btn-border-color: var(--primary-color, #c83b3b);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--primary-dark);
    --bs-btn-hover-border-color: var(--primary-dark);
    --bs-btn-active-bg: var(--primary-dark);
    --bs-btn-active-border-color: var(--primary-dark);
    --bs-btn-padding-x: 14px;
    --bs-btn-padding-y: 10px;
    --bs-btn-font-size: 14px;
    --bs-btn-active-bg: var(--primary-color, #c83b3b);
    --bs-btn-active-border-color: var(--primary-color, #c83b3b);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--primary-color, #c83b3b);
    --bs-btn-disabled-border-color: var(--primary-color, #c83b3b);
    font-family: var(--main-font), sans-serif;
    font-weight: var(--font-weight-normal);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary-color, #c83b3b);
    --bs-btn-border-color: var(--primary-color, #c83b3b);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--primary-color, #c83b3b);
    --bs-btn-hover-border-color: var(--primary-color, #c83b3b);
    --bs-btn-padding-x: 14px;
    --bs-btn-padding-y: 10px;
    font-family: var(--main-font), sans-serif;
    font-weight: var(--font-weight-bold);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.shadow-around {
    border-radius: var(--border-radius-large);
    background: var(--background-color);
    box-shadow: var(--box-shadow);
    padding: 24px;
}

.form-control:focus {
    border-color: var(--primary-color, #c83b3b);
    outline: 0;
    box-shadow: 0 0 0 .15rem rgba(var(--bs-primary-rgb), 0.25);
    color: var(--text-color);
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
    border-radius: var(--border-radius);
    border: 1.5px solid rgba(var(--border-color-rgb), 0.30);
    background: var(--background-color);
    padding: 10px;
    font-family: var(--main-font), sans-serif;
    color: var(--text-color);
    transition: var(--transition);
}

.woocommerce form .form-row .input-text:focus {
    border-color: var(--primary-color, #c83b3b);
    color: var(--text-color);
    box-shadow: 0 0 0 0.15rem rgba(var(--bs-primary-rgb), 0.25);
}

.select2-container .select2-dropdown,
.select2-container .select2-selection {
    border: 1.5px solid rgba(var(--border-color-rgb), 0.30);
    border-radius: 8px
}

.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__arrow {
    left: 9px;
    right: auto;
}

/*BreadCrumb Section */
.woocommerce .woocommerce-breadcrumb {
    font-size: 16px;
    color: var(--primary-color, #c83b3b);
}

.single-product .woocommerce-breadcrumb {
    margin: 35px 0;
}

.woocommerce .woocommerce-breadcrumb a {
    color: #767676;
    font-size: 16px;
    color: var(--text-color);
}

.woocommerce .woocommerce-breadcrumb i {
    margin: 0 10px;
}

/* Set default columns for desktop */
[data-elementor-columns="1"] .column-item {
    --lebasino-col-width: 100%;
}

[data-elementor-columns="2"] .column-item {
    --lebasino-col-width: 50%;
}

[data-elementor-columns="3"] .column-item {
    --lebasino-col-width: 33.3333333333%;
}

[data-elementor-columns="4"] .column-item {
    --lebasino-col-width: 25%;
}

[data-elementor-columns="5"] .column-item {
    --lebasino-col-width: 20%;
}

[data-elementor-columns="6"] .column-item {
    --lebasino-col-width: 16.6666666667%;
}

[data-elementor-columns="7"] .column-item {
    --lebasino-col-width: 14.2857142857%;
}

[data-elementor-columns="8"] .column-item {
    --lebasino-col-width: 12.5%;
}

/* Set columns for tablet */
@media (max-width: 1024px) {

    /* Elementor tablet breakpoint */
    [data-elementor-columns_tablet="1"] .column-item {
        --lebasino-col-width: 100%;
    }

    [data-elementor-columns_tablet="2"] .column-item {
        --lebasino-col-width: 50%;
    }

    [data-elementor-columns_tablet="3"] .column-item {
        --lebasino-col-width: 33.3333333333%;
    }

    [data-elementor-columns_tablet="4"] .column-item {
        --lebasino-col-width: 25%;
    }

    [data-elementor-columns_tablet="5"] .column-item {
        --lebasino-col-width: 20%;
    }

    [data-elementor-columns_tablet="6"] .column-item {
        --lebasino-col-width: 16.6666666667%;
    }

    [data-elementor-columns_tablet="7"] .column-item {
        --lebasino-col-width: 14.2857142857%;
    }

    [data-elementor-columns_tablet="8"] .column-item {
        --lebasino-col-width: 12.5%;
    }
}

/* Set columns for mobile */
@media (max-width: 767px) {

    /* Elementor mobile breakpoint */
    [data-elementor-columns_mobile="1"] .column-item {
        --lebasino-col-width: 100%;
    }

    [data-elementor-columns_mobile="2"] .column-item {
        --lebasino-col-width: 50%;
    }

    [data-elementor-columns_mobile="3"] .column-item {
        --lebasino-col-width: 33.3333333333%;
    }

    [data-elementor-columns_mobile="4"] .column-item {
        --lebasino-col-width: 25%;
    }

    [data-elementor-columns_mobile="5"] .column-item {
        --lebasino-col-width: 20%;
    }

    [data-elementor-columns_mobile="6"] .column-item {
        --lebasino-col-width: 16.6666666667%;
    }

    [data-elementor-columns_mobile="7"] .column-item {
        --lebasino-col-width: 14.2857142857%;
    }

    [data-elementor-columns_mobile="8"] .column-item {
        --lebasino-col-width: 12.5%;
    }
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    clear: both;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

a .aligncenter,
a .alignnone {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.aligncenter img,
.alignnone img,
.alignleft img,
.alignright img {
    max-width: 100%;
    height: auto;
}

/* Apply the defined variable to column-item */
.column-item {
    flex: 0 0 var(--lebasino-col-width);
    max-width: var(--lebasino-col-width);
}

.swiper-slide {
    flex-shrink: 0;
}

.lebasino-carousel {
    overflow: hidden;
}

.elementor-widget-lebasino-post-grid .lebasino-carousel {
    padding: 16px;
}

[class*=post-style-].column-item {
    margin-bottom: 15px !important;
}

/*.page-content{*/
/*    margin-top:30px;*/
/*}*/

/* Special Heading Widget Styles */
.special-heading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.special-heading-container .special-heading-second-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-size: 64px;
    /* Adjust as needed */
    font-weight: bold;
    color: rgba(var(--border-color-rgb), 0.1);
    /* Light grey, adjust as needed */
    z-index: -1;
    white-space: nowrap;
    font-style: normal;
    font-weight: var(--font-weight-normal);
    line-height: normal;
    text-transform: uppercase;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.special-heading-container.elementor-align-right .special-heading-second-title {
    right: -50%;
}

.special-heading-container.elementor-align-left .special-heading-second-title {
    left: -50%;
}

.special-heading-container.justify-content-start .special-heading-second-title {
    top: 10px;
    right: 0;
    transform: translateY(-50%);
}

.special-heading-title {
    margin: 0;
    position: relative;
    z-index: 1;
    font-weight: 500;
    font-size: 32px;
    color: var(--text-color);
}

@media (max-width: 1024px) {
    .special-heading-container.elementor-mobile-align-center .special-heading-second-title {
        right: auto;
        left: 50%;
        transform: translate(-50%, -52%);
    }

    .special-heading-container .special-heading-second-title {
        font-size: 32px;
    }
}


.elementor-brand-item {
    text-align: center;
    display: flex;
    align-items: center;
    position: relative;
    padding: 20px;
}

.elementor-brand-item .elementor-brand-image {
    display: flex;
    width: 100%;
    justify-content: center;
    transition: all ease 0.3s;
    background: #fff;
    box-shadow: 0px 8px 32px 0px rgba(36, 43.00000000000001, 61, 0.1);
    border-radius: 24px;
    padding: 20px;
}

.elementor-brand-item .elementor-brand-image img {
    margin: 0 auto;
    filter: grayscale(100%);
}

.elementor-brand-item .elementor-brand-image:hover img {
    filter: none;
}

.elementor-brand-wrapper .row {
    justify-content: center;
}

.elementor-brand-wrapper a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-brand-wrapper img {
    transition: all ease 0.3s;
}

.elementor-brand-wrapper .slick-slide {
    position: relative;
}

.elementor-widget-lebasino-brand .lebasino-carousel .column-item {
    margin-bottom: 0 !important;
}

.elementor-widget-lebasino-brand .lebasino-carousel .slick-track {
    display: flex !important;
    align-items: center;
}

@media(max-width:780px) {
    .elementor-brand-item .elementor-brand-image {
        border-radius: 24px;
        background: #FFF;
        box-shadow: 0 4px 16px 0 rgba(36, 43, 61, 0.10);
    }

}


/* Styles for nav-menu */

@media (min-width: 768px) {

    .elementor-nav-menu-wrapper .main-navigation ul.menu ul.sub-menu li.menu-item:hover>a,
    .elementor-nav-menu-wrapper .main-navigation ul.menu ul.sub-menu li.focus {
        color: var(--theme-color);
        -ms-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

    .elementor-nav-menu-wrapper .main-navigation ul.menu ul.sub-menu li.menu-item:hover>a>span,
    .elementor-nav-menu-wrapper .main-navigation ul.menu ul.sub-menu li.focus>span {
        margin-right: 0;
    }

    .elementor-nav-menu-wrapper .main-navigation ul.menu ul.sub-menu.mega-menu ul.products,
    .elementor-nav-menu-wrapper .main-navigation ul.menu ul.sub-menu.mega-menu .wc-block-grid__products {
        display: flex;
    }

    .elementor-nav-menu-wrapper .main-navigation ul.menu ul.sub-menu.mega-menu ul.products li.product {
        min-width: unset;
    }

    .elementor-nav-menu-wrapper .main-navigation ul.menu ul.sub-menu.mega-menu ul.products li.product h3 a {
        display: block;
    }

    .elementor-nav-menu-wrapper .main-navigation ul.menu ul.sub-menu.mega-menu ul.products li.product .content-product-imagin {
        margin-bottom: -60px !important;
    }

    .elementor-nav-menu-wrapper .main-navigation ul.menu li.menu-item .sub-menu .menu-item.current-menu-item>a {
        color: var(--theme-color);
    }

    .elementor-nav-menu-wrapper .main-navigation ul.menu li.menu-item .sub-menu .menu-item.current-menu-item>a>span:before {
        background-color: var(--theme-color);
    }
}

/*------------------------------------ Card ------------------------------------*/
.product-card {
    position: relative;
    padding: 1em;
    background-color: #fff;
    border-radius: 12px;
    -webkit-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
    box-shadow: 0 4px 16px 0 rgba(var(--border-color-rgb), 0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.product-card .product-card-top {
    position: relative;
}

.product-card .product-card-top .badge {
    position: absolute;
    left: 5px;
    top: 7px;
}

.product-card .product-card-top .product-image {
    display: block;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    object-fit: cover;
    position: relative;
}

.product-card .product-discount {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 4px 8px;
    line-height: 1;
    border-radius: 16px;
    background: var(--wc-sale-badge-color);
    z-index: 4;
}

.product-card .product-discount span {
    color: var(--wc-sale-badge-text-color);
    font-size: 14px;
    font-family: var(--main-font), sans-serif;
    font-weight: 400;
    line-height: 1;
}

.product-card.product-card-horizontal .product-discount {
    position: absolute;
    left: auto;
    right: 0;
    top: auto;
    padding: 0;
    width: 30px;
    height: 16px;
    line-height: 1;
    text-align: center;
}

.product-card.product-card-horizontal .product-discount span {
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}

.product-card.product-card-horizontal .product-variation-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 24px;
    border-radius: 8px;
    background: linear-gradient(0deg, rgba(var(--bs-primary-rgb), 0.25) 0%, rgba(var(--bs-primary-rgb), 0.25) 100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 5;
}

.product-card.product-card-horizontal:hover {
    border-color: var(--primary-color, #c83b3b);
}

.product-card.product-card-horizontal:hover .product-variation-overlay {
    opacity: 1;
    visibility: visible;
}

.product-card.product-card-horizontal .product-variation-overlay .overlay-add-to-cart {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.product-card.product-card-horizontal .product-variation-overlay .overlay-add-to-cart .add_to_cart_button {
    background: var(--primary-color, #c83b3b);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: auto;
    box-shadow: 0 2px 8px rgba(var(--bs-primary-rgb), 0.3);
}

@media (max-width:500px) {

    .woocommerce ul.products[class*=columns-] li.product,
    .woocommerce-page ul.products[class*=columns-] li.product {
        margin-bottom: 15px;
        margin-left: 0;
    }

    .woocommerce ul.columns-mobile-2 .product-card .product-card-middle .product-name a {
        font-size: 12px;
    }

    .woocommerce ul.columns-mobile-2 .product-card .product-card-middle {
        padding-bottom: 5px;
    }
}

.product-card .product-card-top .product-image img {
    margin-bottom: 0 !important;
    transition: .5s;
    border-radius: 8px;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    width: auto;
}

.product-card .product-card-top .product-card-actions {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    border-radius: 2px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-card .product-card-top .product-card-actions button {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #FFF !important;
    box-shadow: 0 4px 8px 0 rgba(63, 63, 63, 0.20);
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease-in-out;
    text-align: center;
    font-size: 0;
    color: #2d3748 !important;
}

.product-card .product-card-top .product-card-actions i {
    font-size: 15px;
    margin: 0 !important;
}

.product-card .product-card-top .product-card-actions button:focus {
    outline: none;
}

.product-card .product-card-middle {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
}

.product-card .product-card-middle .product-name {
    display: block;
    -webkit-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
    z-index: 1;
    margin-bottom: 0;
}

.product-card .product-card-middle .product-name a {
    color: #3F3F3F;
    text-align: right;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    /*white-space: nowrap;*/
    display: block;
    max-width: 100%;
}

.product-style-2 .product-card .product-card-middle .product-name a {
    text-align: center;
}

.product-card .product-card-middle .product-name a:hover {
    color: var(--link-hover-color);
}

.product-card .product-card-middle .product-cat,
.product-card .product-card-middle .product-cat a {
    color: rgba(var(--border-color-rgb), 0.50);
    font-size: 14px;
    font-weight: 500;
}

.product-card .product-card-bottom {
    transition: .15s ease-in-out;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    align-self: stretch;
}

.product-style-2 .product-card .product-card-bottom {
    justify-content: flex-end;
}

.product-style-2.product-type-variable .product-card .product-card-bottom {
    justify-content: space-between;
}

.product-card .product-card-bottom .add_to_cart_button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 13px;
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 100%;
    line-height: 25px;
    padding: 6px 0 4px;
    color: #fff;
    background: var(--primary-color, #c83b3b);
    border-radius: 7px;
    -webkit-box-shadow: 0 0.5rem 1.125rem -0.5rem #979797;
    box-shadow: 0 0.5rem 1.125rem -0.5rem #979797;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}

.product-style-3 .product-card:hover .product-variation-overlay,
.product-style-3 .product-card:hover .product-card-bottom .add_to_cart_button {
    opacity: 1;
    visibility: visible;
}

.product-card.product-card-horizontal .product-card-bottom .add_to_cart_button {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.product-card .product-card-bottom .add_to_cart_button i {
    font-size: 18px;
    margin-left: 10px;
}

.product-card .product-card-bottom .add_to_cart_button .add_to_cart_button-outline {
    background-color: #fff;
    border: 1px solid #007bff;
    color: #007bff;
}

.product-card .product-price,
.woocommerce ul.products .product .price {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: 24px;
    color: var(--wc-price-color);
    cursor: default;
    position: relative;
    display: flex;
    font-family: var(--main-font), sans-serif;
    gap: 6px;
}

.woocommerce-Price-amount bdi {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    direction: rtl !important;
    gap: 4px !important;
}

.woocommerce-Price-amount .woocommerce-Price-currencySymbol {
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

/* === Peyda dlig: نمایش متن «تومان» با گلیف فونت (جایگزین SVG) === */
.woocommerce-Price-amount .currency-symbol-text {
    display: inline;
    font-family: "Peyda", sans-serif;
    font-feature-settings: "ss02", "dlig"1 !important;
    font-size: inherit;
    font-weight: inherit;
    vertical-align: middle;
    line-height: 1;
    color: #1a1a1a !important;
}

/* تنظیمات نماد تومان بر اساس حالت انتخابی در تنظیمات قالب */
.woocommerce-Price-amount .woocommerce-Price-currencySymbol img,
.woocommerce-Price-amount .currency-symbol-icon,
.woocommerce-Price-currencySymbol .currency-symbol-icon,
.woocommerce-Price-currencySymbol img,
.product-price .woocommerce-Price-currencySymbol img,
.price .woocommerce-Price-currencySymbol img {
    display: inline-block !important;
    vertical-align: middle !important;
    width: 15px !important;
    height: 14px !important;
    max-width: 15px !important;
    max-height: 14px !important;
    margin-right: 3px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* در حالت انتخاب SVG: مخفی‌سازی کامل هرگونه اسپن گلیف باقی‌مانده از کش‌های قدیمی */
body.toman-symbol-svg .currency-symbol-text {
    display: none !important;
}

body.toman-symbol-svg .woocommerce-Price-currencySymbol img,
body.toman-symbol-svg .currency-symbol-icon {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* در حالت انتخاب فونت پیدا: مخفی‌سازی هرگونه تگ تصویر SVG و فعال‌سازی کامل گلیف */
body.toman-symbol-peyda .woocommerce-Price-currencySymbol img,
body.toman-symbol-peyda .currency-symbol-icon {
    display: none !important;
}

body.toman-symbol-peyda .currency-symbol-text {
    display: inline !important;
    font-family: "Peyda", sans-serif !important;
    font-feature-settings: "ss02", "dlig"1 !important;
}

/* در حالت غیرفعال (متن ساده): مخفی‌سازی تصاویر و نمایش متن ساده بدون لیگچر */
body.toman-symbol-disabled .woocommerce-Price-currencySymbol img,
body.toman-symbol-disabled .currency-symbol-icon {
    display: none !important;
}

body.toman-symbol-disabled .currency-symbol-text {
    display: inline !important;
    font-feature-settings: normal !important;
}

/* نماد تومان در قیمت تخفیف خورده (خاکستری هماهنگ با متن خط‌خورده) */
.product-price del .woocommerce-Price-currencySymbol img,
.price del .woocommerce-Price-currencySymbol img {
    opacity: 0.7 !important;
    filter: grayscale(1) !important;
}

.woocommerce ul.products .product .price del .woocommerce-Price-currencySymbol {
    display: inline;
}

.header-group-action .site-header-cart .woocommerce-Price-amount svg {
    width: 15px;
    height: 15px;
}

.product-card .product-price ins {
    color: var(--wc-price-color);
    font-weight: var(--font-weight-bold);
}

.product-card .product-price del,
.product-card .product-price del *,
.product-card .price del,
.product-card .price del *,
.woocommerce ul.products .product .price del,
.woocommerce ul.products .product .price del *,
.woocommerce div.product .price del,
.woocommerce div.product .price del *,
.woocommerce .price del,
.woocommerce .price del *,
.single-product .price del,
.single-product .price del * {
    color: #8c8c8c !important;
    text-decoration: line-through !important;
    text-decoration-color: #8c8c8c !important;
    font-size: 13px;
    font-weight: 500;
}

/* علامت تومان داخل قیمت خط‌خورده */
.price del .currency-symbol-text,
.product-price del .currency-symbol-text {
    color: #8c8c8c !important;
    display: inline !important;
    font-feature-settings: "ss02", "dlig"1 !important;
}

@media (max-width:780px) {
    .woocommerce ul.products li.product .price {
        font-size: 16px;
    }

    .products.columns-1 .product-card .product-card-middle .product-name a {
        font-size: 18px;
    }
}

.product-card.product-card-horizontal {
    display: grid;
    grid-template-columns: 1fr 2fr;
    border-radius: 1rem;
    padding: 10px;
    gap: 10px;
    align-items: stretch;
    border: 1px solid transparent;
}

.product-card.product-card-horizontal .product-card-top .product-image {
    height: 100px;
    width: 100px;
    aspect-ratio: 1 / 1;
}

.product-card.product-card-horizontal .product-card-top .product-image img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.product-card.product-card-horizontal .product-card-middle {
    margin: 0;
    justify-content: space-between;
    flex: 0 0 70%;
}

.product-card.product-card-horizontal .product-card-middle .product-name a {
    color: #3F3F3F;
    text-align: right;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    /* 171.429% */
    max-height: 100%;
    text-overflow: inherit;
    white-space: normal;
    display: block;
    max-width: 100%;
}

.product-card.product-card-horizontal .product-card-bottom {
    display: flex;
    align-items: center !important;
    justify-content: flex-end;
    max-width: 100%;
    gap: 10px;
    padding-left: 10px;
}

.product-card.product-card-horizontal .product-card-bottom .add_to_cart_button {
    width: auto;
    padding: 5px 10px;
    position: relative;
    bottom: 0;
    opacity: 1;
    visibility: visible;
    -webkit-transform: scale(1);
    transform: scale(1);
    margin-top: 0 !important;
}

.product-card:hover {
    z-index: 1;
    transition-duration: .5s;
}

.product-card:hover .product-card-actions button,
.product-card:hover .product-card-actions .yith-wcwl-add-to-wishlist {
    visibility: visible;
    opacity: 1;
}

.woocommerce-carousel ul.products.slick-initialized {
    border-bottom: 0;
}

.product-card:hover .ratings-container {
    opacity: 0;
    visibility: hidden;
}

.woocommerce-product-list ul.products li.product .product-card-horizontal .price {
    text-align: right;
}

.product-list-vertical ul.products li {
    padding: 0;
}

.woocommerce .products ul,
.woocommerce ul.products:not(.swiper) {
    display: grid;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    padding: 0;
    position: relative;
    width: 100% !important;
    margin-right: 0;
    margin: 0 0 0.992em 3.8%;
}

.archive ul.products li.product {
    width: auto !important;
}

.woocommerce-page ul.products li.product .product-card {
    overflow: visible;
}

/** * Main content area (adjacent to sidebar) product layout */

ul.products[data-columns="1"]:not(.swiper-grid) {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

ul.products[data-columns="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

ul.products[data-columns="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

ul.products[data-columns="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

ul.products[data-columns="5"] {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

ul.products[data-columns="6"] {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

/* استایل‌های ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    ul.products {
        gap: 15px;
    }

    ul.products[data-columns="2"],
    ul.products[data-columns="3"],
    ul.products[data-columns="4"],
    ul.products[data-columns="5"],
    ul.products[data-columns="6"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    ul.products[data-columns="1"] {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }

    */ ul.products.swiper-grid {
        display: block !important;
    }
}

ul.products li.product {
    max-width: 100%;
}

.product-list-vertical ul.products {
    display: grid;
    /*flex-direction: column;*/
    ;
}

.woocommerce .products ul::after,
.woocommerce .products ul::before,
.woocommerce ul.products::after,
.woocommerce ul.products::before {
    content: none;
}


/* ------------------------------------------------- (min-width: 1024px) ---------------------------------------------------*/
@media (min-width: 1024px) {
    .primary-navigation {
        display: block;
    }

    .main-navigation ul {
        position: relative;
    }

    .main-navigation ul li {
        display: inline-block;
        position: relative;
        /* Needed for submenu positioning */
    }

    .main-navigation .primary-navigation>ul>li:hover,
    .main-navigation>ul>li.current-menu-item,
    .main-navigation>ul>li.current_page_item,
    .main-navigation>ul>li.current-menu-ancestor {
        background: rgba(var(--primary-color-rgb), 0.1);
        border-radius: 12px;
    }

    /*.main-navigation .primary-navigation > ul > li:before {*/
    /*	background: rgba(var(--bs-primary-rgb), 1) !important;*/
    /*	height: 4px;*/
    /*	content: "";*/
    /*	position: absolute;*/
    /*	bottom: 0;*/
    /*	left: 50%;*/
    /*	transform: translateX(-50%);*/
    /*	width: 0;*/
    /*	transition: width 0.3s ease-in-out;*/
    /*}*/

    /*.main-navigation .primary-navigation > ul > li:hover:before {*/
    /*	width: 100%;*/
    /*}*/

    .main-navigation .primary-navigation>ul>li:hover a {
        color: var(--primary-color, #c83b3b) !important;
    }

    .main-navigation .primary-navigation>ul>li>ul li {
        background: transparent !important;
        border-bottom: none !important;
        color: var(--text-color)BF;
    }

    .main-navigation ul ul.sub-menu {
        position: absolute;
        top: 100%;
        z-index: 99999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease-out;
        /* Only fade is animated */
        pointer-events: none;
        left: 0;
        /* This is okay now, as JS will override position before showing */
    }

    .main-navigation ul ul.sub-menu.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Reset Elementor container constraints */
    .main-navigation .elementor-container.elementor-container {
        max-width: none !important;
    }

    .main-navigation ul {
        list-style: none;
        margin: 0;
        padding-right: 0;
        display: flex;
        gap: 10px;
    }

    .main-navigation ul li:hover>ul,
    .main-navigation ul li.focus>ul {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-navigation ul ul.sub-menu li {
        display: block;
        min-width: 278px;
        padding: 0;
    }

    .main-navigation ul ul.sub-menu.mega-menu li {
        width: 100%;
    }

    .woocommerce ul.products.swiper {
        padding: 10px;
        margin: 0;
    }
}

@media (min-width: 768px) {

    .main-navigation ul.menu ul.sub-menu,
    .main-navigation ul.nav-menu ul.sub-menu {
        margin-right: 5px;
    }
}

.main-navigation ul.menu {
    margin-right: 0;
    list-style: none;
    margin-bottom: 0;
}

.main-navigation ul.menu ul {
    display: block;
    margin-right: 1.41575em;
}

.mega-menu.sub-menu {
    padding: 0;
    background: #fff;
}

.main-navigation .sub-menu {
    padding: 20px 0;
    border-radius: 0px 0px 5px 5px;
    border: 1px solid #efefef;
    background-color: #ffffff;
    box-shadow: 0px 4px 30px 5px rgb(0 0 0 / 5%);
    border-radius: 32px;
}

.main-navigation .sub-menu:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    top: -8px;
    z-index: 1001;
    right: var(--arrow-position-right, 25px);
    transform: translateX(50%);
}

.main-navigation ul.menu>li.menu-item>a {
    font-size: 16px;
    transition: 0.2s all ease-in-out;
    padding: 10px;
    color: var(--text-color);
    display: inline-block;
    position: relative;
    padding-right: 20px;
}

.main-navigation ul.menu>li.menu-item-has-children>a {
    padding-right: 25px;
}

.main-navigation ul.menu>li.menu-item-has-children>a::after {
    content: "\f078";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    font-size: 12px;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}


/* ================================= Product Style 3 ================================= */

/* Product Style 3 - Center alignment for all content */
.product-style-3 .product-card .product-card-top .product-image img {
    border-radius: 8px;
}

.product-style-3 .product-card .product-card-middle .product-name a {
    text-align: center;
}

.product-style-3 .product-card .product-card-middle .product-cat {
    text-align: center;
}

.product-style-3 .product-card .product-card-bottom {
    justify-content: center;
}

/* Product Style 3 - Variation overlay container */
.product-style-3 .product-card .product-card-top {
    position: relative;
    overflow: visible;
}

.product-style-3 .product-card .product-variation-overlay {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    border-radius: 16px 16px 8px 8px;
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(2px);
    padding: 12px 16px 0 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 5;
}

.product-style-3 .product-card:hover .product-variation-overlay {
    opacity: 1;
    visibility: visible;
    /*bottom: 0;*/
    ;
}

/* Color variations container */
.product-card .product-variation-overlay .variation-color {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.product-card .product-variation-overlay .color-option {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 500;
    border: 2px solid #ccc !important;
    background-color: #fff !important;
    padding: 3px;
    box-sizing: border-box;
    box-shadow: 0 4px 8px 0 rgba(63, 63, 63, 0.20);
}

.product-card .product-variation-overlay .color-option:hover {
    transform: scale(1.1);
    border-color: #999 !important;
}

/* Inner color square */
.product-card .product-variation-overlay .color-option::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 50%;
    z-index: 1;
    background-color: var(--color-value, #cccccc);
}

.product-card .product-variation-overlay .color-option.selected:after {
    content: "\f00c";
    font-family: 'Font Awesome 6 Pro';
    font-size: 10px;
}

/* Size variations container */
.product-style-3 .product-variation-overlay .size-variations {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.product-style-3 .product-variation-overlay .swatch-btn {
    border-radius: 4px;
    border: 1px solid transparent;
    box-shadow: 0 4px 8px 0 rgba(63, 63, 63, 0.20);
    background: #FFF;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: rgba(var(--text-color-rgb), 0.75);
    padding: 5px;
    line-height: 1;
}

.product-style-3 .swatch-btn.swatch-color {
    padding: 8px;
    border-radius: 50%;
}

.product-style-3 .product-variation-overlay .swatch-btn:hover {
    border-color: var(--primary-color, #c83b3b);
}

.product-style-3 .product-variation-overlay .swatch-btn.selected {
    border-color: var(--primary-color, #c83b3b);
}

/* Add to cart button in overlay */
.product-style-3 .product-variation-overlay {
    display: flex;
    justify-content: center;
}




.product-style-3 .product-variation-overlay .add_to_cart_button {
    background: var(--primary-color, #c83b3b);
    color: #fff;
    border: none;
    border-radius: 16px 16px 0 0;
    ;
    padding: 10px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(var(--bs-primary-rgb), 0.3);
}

.product-style-3 .product-variation-overlay .add_to_cart_button:hover {
    background: #B83232;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.4);
}

/* Actions positioning for style 3 */
.product-style-3 .product-card .product-card-actions {
    top: 15px;
    right: 15px;
    bottom: auto;
    width: auto;
}

/* Hide default add to cart for style 3 when overlay is present */
.product-style-3 .product-card.product-type-variable .product-card-actions .add_to_cart_button {
    display: none;
}

/* Hide product-sizes in style 3 */
.product-style-3 .product-card .product-card-bottom .product-sizes {
    display: none;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .product-style-3 .product-card .product-variation-overlay {
        width: 90%;
        padding: 10px 12px 12px;
        bottom: -8px;
    }

    .product-style-3 .product-card:hover .product-variation-overlay {
        bottom: -3px;
    }

    .product-style-3 .product-variation-overlay .color-option,
    .product-style-3 .product-variation-overlay .swatch-btn {
        width: 22px;
        height: 22px;
    }

    .product-style-3 .product-variation-overlay .color-option {
        padding: 2px;
    }

    .product-style-3 .product-variation-overlay .color-option::before {
        top: 2px;
        left: 2px;
        right: 2px;
        bottom: 2px;
    }

    .product-style-3 .product-variation-overlay .swatch-btn {
        font-size: 9px;
    }

    .product-style-3 .product-variation-overlay .overlay-add-to-cart .add_to_cart_button {
        padding: 6px 16px;
        font-size: 11px;
    }
}

/* Loading states and animations */
.product-style-3 .product-variation-overlay .overlay-add-to-cart .add_to_cart_button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.loading-spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hover effects for variations */
.product-style-3 .product-variation-overlay .color-variation-item,
.product-style-3 .product-variation-overlay .swatch-btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fade animations for overlay */
.product-style-3 .product-card .product-variation-overlay {
    transform: translateX(-50%) translateY(5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-style-3 .product-card:hover .product-variation-overlay {
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {

    .product-style-3 .product-variation-overlay .variation-color,
    .product-style-3 .product-variation-overlay .size-variations {
        gap: 4px;
    }

    .product-style-3 .product-variation-overlay .color-option,
    .product-style-3 .product-variation-overlay .swatch-btn {
        width: 20px;
        height: 20px;
    }

    .product-style-3 .product-variation-overlay .color-option {
        padding: 2px;
        font-size: 7px;
    }

    .product-style-3 .product-variation-overlay .color-option::before {
        top: 2px;
        left: 2px;
        right: 2px;
        bottom: 2px;
    }

    .product-style-3 .product-variation-overlay .swatch-btn {
        font-size: 8px;
    }
}

/* =================
   Product Style 4 - Size Overlay on Hover
   ================= */

/* Base overlay styles for style 4 */
.product-style-4 .product-card {
    justify-content: space-between;
}

.product-style-4 .product-card .product-variation-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 12px 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.product-style-4 .product-card:hover .product-variation-overlay {
    opacity: 1;
    visibility: visible;
}

/* Product card positioning for style 4 */
.product-style-4 .product-card .product-card-top {
    position: relative;
    overflow: hidden;
}

/* Size variations overlay styling */
.product-style-4 .product-variation-overlay {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: end;
    align-items: center;
}

.product-style-4 .product-variation-overlay form.cart,
.product-style-4 .product-variation-overlay form.cart .variations {
    margin: 0 !important;
}

.product-style-4 .product-variation-overlay form.cart .variations {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.product-style-4 .product-card .product-card-middle {
    align-items: center;
}

.product-style-4 .product-card .variation-row {
    grid-template-columns: 1fr;
    margin: 0 !important;
}

.product-style-4 .product-card .lebasino-swatches {
    justify-content: end;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.product-style-4 .product-card .product-card-middle .product-name a {
    text-overflow: ellipsis;
    white-space: normal;
    text-align: center;
    font-weight: 500;
    line-height: 1.5;
    height: 60px;
}

.product-style-4 .product-card .add_to_cart_button,
.product-style-3 .product-card .product-card-bottom .add_to_cart_button {
    visibility: hidden;
    opacity: 0;
    bottom: 0;
    z-index: 9;
    position: absolute;
    border-radius: 16px 16px 0 0;
    width: 70%;
    left: 50%;
    transform: translateX(-50%) !important;
    padding: 8px 0;
}

.product-style-4 .product-card:hover .add_to_cart_button {
    visibility: visible;
    opacity: 1;
}

@media(max-width:768px) {

    .product-style-4 .product-card .add_to_cart_button,
    .product-style-3 .product-card .product-card-bottom .add_to_cart_button {

        bottom: 5px;
        width: 90%;
    }

}

.product-style-4 .product-variation-overlay .swatch-btn.swatch-text {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color);
    background: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    border: none;
}

.product-style-4 .product-card .product-card-bottom {
    justify-content: center;
}

.product-style-4 .product-variation-overlay .swatch-btn.swatch-text:hover {
    background: var(--primary-color, #c83b3b);
    color: #ffffff;
    border-color: var(--primary-color, #c83b3b);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(var(--bs-primary-rgb), 0.3);
}

/* Active state for selected size */
.product-style-4 .product-variation-overlay .swatch-btn.swatch-text.selected {
    background: var(--primary-color, #c83b3b);
    color: #ffffff;
    border-color: var(--primary-color, #c83b3b);
}

.product-style-4 .swatch-btn.swatch-text {
    border-radius: 4px;
    background: #FFF;
    box-shadow: 0 4px 8px 0 rgba(63, 63, 63, 0.20);
    font-size: 14px;
    color: var(--text-color);
}

.product-style-4 .swatch-btn.swatch-color {
    padding: 8px;
    border-radius: 50%;
}

/* Loading state */
.product-style-4 .product-variation-overlay .loading {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color, #c83b3b);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.product-style-4 .product-card .product-price {
    visibility: visible;
    opacity: 1;
}

.product-style-4 .product-card:hover .product-price {
    visibility: hidden;
    opacity: 0;
}

/* Mobile responsive adjustments for style 4 */
@media (max-width: 768px) {
    .product-style-4 .product-card {
        padding: 10px;
    }

    .product-style-4 .product-card .product-variation-overlay {
        padding: 10px 12px;
        border-radius: 10px;
    }

    .product-style-4 .product-variation-overlay .swatch-btn.swatch-text {
        min-width: 24px;
        height: 24px;
        font-size: 10px;
        padding: 0 6px;
    }

    .product-style-4 .product-variation-overlay {
        gap: 4px;
    }

    .product-style-4 .product-variation-overlay .lebasino-swatches {
        gap: 4px;
    }

    .product-style-4 .product-card .product-card-middle .product-name a {
        line-height: 1.5;
        height: 48px;
    }

    .product-style-4 .product-card .product-card-middle .product-cat,
    .product-card .product-card-middle .product-cat a {
        color: rgba(var(--border-color-rgb), 0.50);
        font-size: 14px;
        font-weight: 500;
    }

    .product-style-4 .product-card .product-discount span {
        font-size: 12px;
        line-height: 1;
    }

    .product-style-4 .product-card .product-card-bottom {
        justify-content: space-between;
    }


    .product-style-4 .product-card .product-price .price {
        flex-direction: column;
        align-items: flex-end;
        gap: 0 !important;
        font-size: 12px !important;
    }

    .product-style-4 .product-size-item.in-stock {
        font-size: 11px;
    }

    .elementor-widget-lebasino-countdown .elementor-lebasino-countdown {
        flex-wrap: nowrap;
    }

    .product-style-4 .product-card .product-card-bottom {
        position: relative;
    }

    .product-style-4 .product-card .add_to_cart_button {
        font-size: 0;
        width: auto;
        padding: 8px;
        margin: 0;
        right: 0;
        left: auto;
        transform: translateX(0) !important;
        bottom: 0;
        box-shadow: none;
        border-radius: 8px;
    }

    .product-style-4 .product-card .add_to_cart_button i {
        margin: 0;
    }

    .product-style-4 .product-card:hover .product-price {
        visibility: visible;
        opacity: 1;
    }

    .product-style-4 .product-card .product-card-top .product-card-actions {
        top: 15px;
        bottom: auto;
    }
}

@media (max-width: 480px) {
    .product-style-4 .product-card:hover .product-variation-overlay {
        padding: 8px 10px;
        border-radius: 8px;
        visibility: visible;
        opacity: 1;
    }

    .product-style-4 .product-variation-overlay .size-variation-item,
    .product-style-4 .product-variation-overlay .size-option {
        min-width: 22px;
        height: 22px;
        font-size: 9px;
        padding: 0 5px;
    }
}

a.added_to_cart.wc-forward {
    display: none !important;
}

/* حالت عادی */
selector .elementor-field-textual {
    border: none;
    border-radius: 0;
    outline: none;
    box-shadow: inset 0 -1px 0 0 rgba(var(--border-color-rgb), 0.1);
    /* خط خاکستری نازک زیر input */
    transition: box-shadow 0.3s ease;
}

/* حالت فوکوس */
selector .elementor-field-textual:focus,
selector textarea.elementor-field-textual:focus,
selector select.elementor-field-textual:focus {
    border: none;
    outline: none;
    box-shadow: inset 0 -2px 0 0 rgba(var(--bs-primary-rgb), 1);
    /* خط قرمز پررنگ موقع فوکوس */
    ;
}


/* elementor pro form */
.elementor-field-type-upload input[type="file"] {
    display: none;
}

.elementor-field-type-upload label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px !important;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: rgba(var(--bs-primary-rgb), 1) !important;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.elementor-field-type-upload label:hover {
    background-color: rgba(var(--bs-primary-rgb), 1);
    color: #fff !important;
}

.elementor-field-type-upload label::before {
    font-family: "Font Awesome 6 pro";
    font-weight: 300;
    content: "\f0c6";
    font-size: 16px;
    line-height: 1;
}

.lebasino-login-modal .modal-dialog {
    flex-direction: column;
    gap: 10px;
}

/* ====== لوگوی مودال ورود ====== */
.lebasino-login-modal .logo img,
.form-login .logo img {
    max-width: 140px;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

/* ====== محتوای مودال ====== */
.lebasino-login-modal .modal-content {
    position: relative;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0 4px 16px rgba(var(--border-color-rgb), 0.10);
    border: none;
    padding: 40px 30px 30px;
    margin: 0 auto;
}

/* ====== نوار بالای مودال ====== */
.lebasino-login-modal .modal-content:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 37px;
    border-radius: 16px 16px 0 0;
    background: var(--text-color);
}

/* ====== عنوان ====== */
.lebasino-login-modal .modal-title {
    margin: 20px 0;
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    text-align: center;
}

/* ====== لیبل ====== */
.lebasino-login-modal .form-label {
    color: #3F3F3F;
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 180%;
    margin-bottom: 6px;
    display: block;
}

/* ====== اینپوت ====== */
.lebasino-login-modal .form-control {
    border-radius: 8px;
    border: 1px solid rgba(var(--border-color-rgb), 0.30);
    padding: 10px 14px;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
}

.lebasino-login-modal .form-control:focus {
    outline: none;
    border-color: rgba(var(--bs-primary-rgb), 1);
    box-shadow: 0 0 0 2px rgba(var(--bs-primary-rgb), 0.15);
}

.lebasino-login-modal .password-wrapper {
    position: relative;
}

.lebasino-login-modal .toggle-password {
    position: absolute;
    left: 12px;
    top: 55%;
    cursor: pointer;
    color: rgba(var(--border-color-rgb), 0.5);
    font-size: 16px;
    line-height: 16px;
    transition: color 0.3s ease-in-out;
}

.lebasino-login-modal .toggle-password:hover {
    color: rgba(var(--bs-primary-rgb), 1);
}

/* ====== دکمه اصلی ====== */
.lebasino-login-modal .btn {
    background: rgba(var(--bs-primary-rgb), 1);
    color: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.lebasino-login-modal .btn:hover {
    background: #a62626;
}

.lebasino-login-modal .btn i {
    font-size: 14px;
    margin-left: 5px;
    transition: transform 0.3s ease-in-out;
}

.lebasino-login-modal .btn:hover i {
    transform: translateX(-5px);
}

/* ====== لینک ورود/ثبت‌نام ====== */
.lebasino-login-modal .login-link {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
    color: var(--primary-color, #c83b3b);
    transition: color 0.3s ease-in-out;
}

.lebasino-login-modal .login-link:hover {
    color: #a62626;
}

.switch-to-register,
.switch-to-login {
    color: #8E1C1E;
}

/* ====== دکمه بستن مودال ====== */
.lebasino-login-modal .btn-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: rgba(var(--bs-primary-rgb), 0.15);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    z-index: 2;
}

.lebasino-login-modal .btn-close i {
    font-size: 16px;
    color: rgba(var(--bs-primary-rgb), 1);
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.lebasino-login-modal .btn-close:hover {
    background: rgba(var(--bs-primary-rgb), 0.25);
}

.lebasino-login-modal .btn-close:hover i {
    transform: rotate(90deg);
    color: #a62626;
}

.lebasino-login-notice {
    border-radius: 8px;
    background: var(--primary-color, #c83b3b);
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.lebasino-login-notice.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.password-strength {
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.password-strength.weak {
    color: var(--primary-color, #c83b3b);
}

.password-strength.medium {
    color: #FFA500;
}

.password-strength.strong {
    color: #28a745;
}

.elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb i {
    font-size: 12px;
    color: var(--primary-color, #c83b3b);
    margin: 0 10px;
}

.site-header-cart-side {
    position: fixed;
    top: 0;
    bottom: 0;
    overflow: hidden;
    overflow-y: auto;
    width: 360px;
    background-color: #ffffff;
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    left: 0;
    z-index: 999999999;
    box-shadow: 0 0 32px 0 rgba(51, 51, 51, 0.20);
    transform: translate3d(-460px, 0, 0);
    padding: 10px 20px;
}

@media (min-width: 1024px) {
    .site-header-cart-side {
        width: 340px;
        transform: translate3d(-340px, 0, 0);
    }
}

.site-header-cart-side .cart-side-heading {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    flex-direction: row;
    justify-content: flex-end;
    padding: 15px;
    border-bottom: 1px solid;
    border-bottom-color: #efefef;
}

.filter-options-sidebar .filter-side-heading {
    margin-bottom: 25px;
}

.site-header-cart-side .cart-side-title {
    flex: 1 1 auto;
    font-size: 18px;
    color: #000000;
    font-weight: 500;
}

.site-header-cart-side .close-cart-side {
    font-size: 13px;
    position: relative;
    border-radius: 8px;
    background: rgba(var(--bs-primary-rgb), 0.10);
    cursor: pointer;
    padding: 8px;
    transition: background-color 0.3s ease;
    color: var(--primary-color, #c83b3b);
}

.site-header-cart-side .widget_shopping_cart {
    margin-bottom: 0;
    position: relative;
    flex: 1 1 auto;
    display: flex;
    border: none;
    padding: 0;
    border-radius: 0;
}

.site-header-cart-side .widget_shopping_cart .woocommerce-mini-cart__empty-message {
    text-align: center;
    font-size: 18px;
    padding: 0 2em;
}

.site-header-cart-side .widget_shopping_cart .mini_cart_item {
    padding: 15px 15px 15px 30px;
    margin-bottom: 0;
    transition: background-color 0.3s ease;
}

.site-header-cart-side .widget_shopping_cart .mini_cart_item:hover {
    background-color: #F9F9F9;
}

.site-header-cart-side .widget_shopping_cart .mini_cart_item a {
    line-height: 1.41575em;
    color: #000000;
    margin-bottom: 3px;
    font-size: 14px;
}

.site-header-cart-side .widget_shopping_cart .mini_cart_item a:hover {
    color: var(--primary-color, #c83b3b);
}

.site-header-cart-side .widget_shopping_cart .mini_cart_item a.remove {
    position: absolute;
    top: 15px !important;
    margin-bottom: 0px;
    transform: translateY(-50%);
    right: Unset !important;
    opacity: 1;
    left: 8px !important;
}

.site-header-cart-side .widget_shopping_cart .widget_shopping_cart_content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.site-header-cart-side .widget_shopping_cart .woocommerce-mini-cart__total {
    margin-top: auto;
}

.site-header-cart-side .widget_shopping_cart .soren-mini-cart-scroll {
    position: relative;
    flex: 1 1 auto;
    overflow-y: auto;
}

.site-header-cart-side .widget_shopping_cart .product_list_widget {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: auto;
    overflow-x: hidden;
}

.site-header-cart-side .widget_shopping_cart .product_list_widget li:first-child {
    padding-top: 1em;
    padding-right: 1em;
}

.site-header-cart-side .widget_shopping_cart .product_list_widget li img {
    float: right;
    margin-left: 1em;
    margin-right: 0;
    width: 80px;
}

.site-header-cart-side .widget_shopping_cart p.total {
    padding: 12px 15px 12px 15px;
    margin: 0;
    margin-top: auto;
    border-top: 1px solid;
    border-top-color: #efefef;
    margin-bottom: 5px;
}

.site-header-cart-side .widget_shopping_cart p.total .amount {
    font-weight: var(--font-weight-bold);
    font-size: 18px;
    color: var(--primary-color, #c83b3b);
}

.site-header-cart-side .widget_shopping_cart p.total strong {
    font-size: 18px;
}

.widget_shopping_cart .buttons {
    padding: 0 0 1em;
    margin: 0;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}

ul.products li.product .added_to_cart.wc-forward,
.woocommerce a.added_to_cart,
ul.products .wc-block-grid__product .added_to_cart.wc-forward,
.wc-block-grid__products li.product .added_to_cart.wc-forward,
.wc-block-grid__products .wc-block-grid__product .added_to_cart.wc-forward {
    display: none;
}

.site-header-cart-side .widget_shopping_cart .buttons a {
    padding: 18px 20px;
    margin-bottom: 10px;
    border: 0px solid;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    background-color: #f7f7f7;
    width: auto;
    margin: 0;
}

.site-header-cart-side .widget_shopping_cart .buttons a:hover {
    background-color: #efefef;
}

.site-header-cart-side .widget_shopping_cart .buttons a.checkout {
    margin-top: 0;
    margin-bottom: 0;
    color: var(--primary-color, #c83b3b);
    background-color: rgba(var(--primary-color-rgb), 0.1);
}

.site-header-cart-side .widget_shopping_cart .buttons a:hover {
    background-color: var(--primary-color, #c83b3b);
    color: #fff;
}

.site-header-cart-side.active {
    transform: none;
}

.site-header-cart-side.active+.cart-side-overlay {
    visibility: visible;
    opacity: 1;
}

.cart-side-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 9998;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.7);
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s ease;
}

/* Responsive Design */
@media (max-width: 460px) {
    .site-header-cart-side {
        width: 380px;
    }

    .cart-side-overlay {
        background-color: rgba(255, 255, 255, 0.5);
    }

    .widget_shopping_cart .buttons {
        padding: 1em 0 2em;
    }
}

/* Styles for search */
.elementor-widget-lebasino-search .widget form .search-field {
    width: 100%;
}

.elementor-widget-lebasino-search {
    z-index: 99;
}

.elementor-widget-lebasino-search .widget {
    padding: 0;
    margin-bottom: 0;
    border: none;
}

.elementor-widget-lebasino-search .widget form {
    padding: 13px 20px 13px 20px;
    border-radius: 15px;
    color: #000;
    border: 1px solid #EFEFEF;
    display: flex;
    flex-direction: row-reverse;
}

.elementor-widget-lebasino-search .widget form .search-field::placeholder {
    font-size: 13px;
    color: #999;
}

.elementor-widget-lebasino-search .widget form input[type=submit],
.elementor-widget-lebasino-search .widget form button[type=submit] {
    /* width: 20px; */
    border-radius: 25px;
    background-color: transparent;
    order: 1;
}

.elementor-widget-lebasino-search .widget form input[type=submit] i,
.elementor-widget-lebasino-search .widget form button[type=submit] i {
    font-size: 18px;
    color: #ffffff;
}

.elementor-widget-lebasino-search .search-by-category .input-dropdown-inner {
    width: 155px;
}

.elementor-widget-lebasino-search .search-by-category .input-dropdown-inner:after {
    height: 100%;
    top: 0;
    bottom: 0;
    transform: none;
}

.elementor-widget-lebasino-search .site-header-search {
    display: block;
}

.elementor-widget-lebasino-search .site-header-search .button-search-popup {
    text-align: center;
}

.elementor-widget-lebasino-search .site-header-search .button-search-popup .lebasino-icon-search {
    margin-bottom: 5px;
}

.elementor-widget-lebasino-search .site-header-search .button-search-popup .content {
    display: block;
    font-size: 12px;
    font-weight: 700;
}

.elementor-widget-lebasino-search .site-header-search .button-search-popup:hover {
    color: #000;
}

.elementor-widget-lebasino-search .site-header-search .button-search-popup:hover .lebasino-icon-search {
    color: #000;
}

.elementor-widget-lebasino-search .woocommerce-product-search {
    position: relative;
}



/* ========================================
   WooCommerce Archive Products Styles
   ======================================== */

/* Shop Archive Wrapper */
.shop-archive-wrapper {
    min-height: 100vh;
}

/* Breadcrumb Section */
.breadcrumb-section {
    background-color: #fff;
    margin: 40px 0;
}

.breadcrumb-section .woocommerce-breadcrumb {
    margin: 0;
    font-size: 16px;
    color: var(--primary-color, #c83b3b);
}

.breadcrumb-section .woocommerce-breadcrumb a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-section .woocommerce-breadcrumb a:hover {
    color: var(--primary-color, #c83b3b);
}

.breadcrumb-section .woocommerce-breadcrumb i {
    margin: 0 10px;
}

/* Shop Header Section */
.shop-header-section {
    background-color: #fff;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(var(--border-color-rgb), 0.20);
}

.shop-title h1.page-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-color);
}

.shop-title .woocommerce-archive-description {
    margin-top: 10px;
    color: #6c757d;
}

/* Shop Ordering - Horizontal Buttons Style */
.shop-ordering {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.dir-rtl .shop-ordering {
    text-align: right;
    justify-content: flex-start;
}

.woocommerce-ordering-horizontal {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.woocommerce-ordering-horizontal .ordering-label {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
    white-space: nowrap;
}

.woocommerce-ordering-horizontal .ordering-options {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
}

.woocommerce-ordering-horizontal .ordering-option {
    display: inline-block;
    padding: 8px 10px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: var(--font-weight-normal);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.woocommerce-ordering-horizontal .ordering-option:hover {
    color: var(--primary-color, #c83b3b);
}

.woocommerce-ordering-horizontal .ordering-option.active {
    color: var(--primary-color, #c83b3b);
}

/* Hide old select-based ordering */
.shop-ordering .woocommerce-ordering:not(.woocommerce-ordering-horizontal) {
    display: none !important;
}

.shop-ordering .woocommerce-ordering.hidden {
    display: none !important;
}

/* Loading state for ordering buttons */
.woocommerce-ordering-horizontal .ordering-option.loading {
    pointer-events: none;
    opacity: 0.6;
    position: relative;
}

.woocommerce-ordering-horizontal .ordering-option.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Hover effects */
.woocommerce-ordering-horizontal .ordering-option.hover-effect {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Animation for smooth transitions */
.woocommerce-ordering-horizontal .ordering-option {
    position: relative;
    overflow: hidden;
}

.woocommerce-ordering-horizontal .ordering-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.woocommerce-ordering-horizontal .ordering-option:hover::before {
    left: 100%;
}

/* Shop Content Section */
.shop-content-section {
    padding: 40px 0 60px;
}

/* Shop Sidebar */
.shop-sidebar {
    margin-bottom: 30px;
}

.sidebar-toggle {
    margin-bottom: 20px;
}

.sidebar-toggle .btn {
    width: 100%;
    padding: 12px;
    font-weight: 500;
}

.shop-sidebar .widget:not(.lebasino_advanced_filter) {
    padding: 16px 20px;
    margin-bottom: 25px;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0 4px 16px 0 rgba(var(--border-color-rgb), 0.10);
}

.shop-sidebar .widget:last-child {
    margin-bottom: 0;
}

.shop-sidebar .widget-title {
    color: var(--text-color);
    font-size: 17px;
    font-weight: 500;
    line-height: 180%;
    /* 30.6px */
    text-transform: capitalize;
    position: relative;
}


/* Search Widget */
.shop-sidebar .widget_product_search .woocommerce-product-search {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.shop-sidebar .widget_product_search .search-field {
    width: 100%;
    padding: 12px 50px 12px 15px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    border: 1px solid rgba(var(--border-color-rgb), 0.30);
}

.dir-rtl .shop-sidebar .widget_product_search .search-field {
    padding: 12px 15px 12px 50px;
}

.shop-sidebar .widget_product_search .search-field:focus {
    border-color: var(--primary-color, #c83b3b);
    outline: 0;
}

.shop-sidebar .widget_product_search button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color, #c83b3b);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
    z-index: 2;
}

/* Categories Widget */
.shop-sidebar .widget_product_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-sidebar .widget_product_categories ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
}

.shop-sidebar .widget_product_categories ul li:last-child {
    border-bottom: none;
}

.shop-sidebar .widget_product_categories ul li a {
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: block;
}

.shop-sidebar .widget_product_categories ul li a:hover {
    color: #007bff;
}

.shop-sidebar .widget_product_categories ul li.current-cat>a {
    color: #007bff;
    font-weight: 500;
}

.shop-sidebar .widget_price_filter .ui-slider-horizontal {
    height: 3px;
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
    background-color: #CFCFCF;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    background-color: var(--primary-color, #c83b3b);
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    background-color: #fff;
    border-radius: 50%;
    top: -5px;
    border: 1px solid var(--primary-color, #c83b3b);
}

.woocommerce .widget_price_filter .price_slider_amount {
    border-radius: 8px;
    border: 1px solid rgba(var(--border-color-rgb), 0.30);
}

.woocommerce .widget_price_filter .price_slider_amount .price_label .currency-symbol-text {
    display: inline;
    font-family: "Peyda", sans-serif;
    font-feature-settings: "ss02", "dlig"1;
    font-size: 13px;
}

/* Shop Main Content */
.products-result-count {
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.products-result-count .woocommerce-result-count {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

/* Products Grid */
.woocommerce ul.products:not(.swiper) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Shop Pagination */
.shop-pagination {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.shop-pagination .woocommerce-pagination {
    text-align: center;
}

.shop-pagination .woocommerce-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
}

.shop-pagination .woocommerce-pagination .page-numbers:hover,
.shop-pagination .woocommerce-pagination .page-numbers.current {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
}

.shop-pagination .woocommerce-pagination .page-numbers.prev,
.shop-pagination .woocommerce-pagination .page-numbers.next {
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .shop-header-section .row {
        text-align: center;
    }

    .shop-header-section .col-md-6:first-child {
        margin-bottom: 20px;
    }

    .shop-ordering {
        text-align: center !important;
    }

    .woocommerce-ordering-horizontal {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .woocommerce-ordering-horizontal .ordering-label {
        margin-bottom: 0;
        text-align: center;
    }

    .woocommerce-ordering-horizontal .ordering-options {
        justify-content: center;
    }

    .shop-content-section {
        padding: 20px 0 40px;
    }

    .shop-sidebar {
        margin-bottom: 30px;
        order: 2;
    }

    .shop-main-content {
        order: 1;
    }

    .col-lg-9.col-md-8 {
        order: 1;
    }

    .col-lg-3.col-md-4 {
        order: 2;
    }
}

@media (max-width: 767.98px) {
    .breadcrumb-section {
        padding: 30px 0;
    }

    .shop-header-section {
        padding: 20px 0;
    }

    .shop-title h1.page-title {
        font-size: 1.5rem;
    }

    .shop-sidebar {
        padding: 20px;
    }

    .shop-main-content {
        padding: 10px;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .sidebar-toggle {
        position: sticky;
        top: 20px;
        z-index: 100;
        background-color: #fff;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
    }

    .shop-sidebar .collapse:not(.show) {
        display: none !important;
    }

    .shop-sidebar .collapse.show {
        display: block !important;
    }
}

@media (max-width: 575.98px) {
    .breadcrumb-section {
        padding: 20px 0;
    }

    .shop-title h1.page-title {
        font-size: 1.25rem;
    }

    .woocommerce ul.products {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .shop-sidebar {
        padding: 15px;
    }

    .sidebar-toggle {
        padding: 10px;
    }

    .woocommerce-ordering-horizontal .ordering-options {
        flex-wrap: wrap;
        width: 100%;
        gap: 6px;
    }

    .woocommerce-ordering-horizontal .ordering-option {
        padding: 10px;
        text-align: center;
        font-size: 12px;
    }

    .woocommerce-ordering-horizontal .ordering-label {
        font-size: 13px;
        display: none;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: #fff;
    color: var(--primary-color, #c83b3b);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--primary-color, #c83b3b);
    transform: translateY(-2px);
    color: #fff;
}

.scroll-to-top i {
    font-size: 16px;
}

/* Mobile-specific improvements */
@media (max-width: 767.98px) {
    .mobile-ordering {
        margin-bottom: 0;
    }

    .mobile-ordering .woocommerce-ordering {
        flex-direction: column;
        gap: 5px;
    }

    .mobile-ordering .woocommerce-ordering::before {
        margin-bottom: 0;
    }

    .mobile-ordering .woocommerce-ordering select,
    .shop-ordering .woocommerce-ordering select {
        width: 100%;
        min-width: auto;
    }
}

/* Product Loading Animation */
.woocommerce ul.products li.product {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.woocommerce ul.products li.product:nth-child(1) {
    animation-delay: 0.1s;
}

.woocommerce ul.products li.product:nth-child(2) {
    animation-delay: 0.2s;
}

.woocommerce ul.products li.product:nth-child(3) {
    animation-delay: 0.3s;
}

.woocommerce ul.products li.product:nth-child(4) {
    animation-delay: 0.4s;
}

.woocommerce ul.products li.product:nth-child(5) {
    animation-delay: 0.5s;
}

.woocommerce ul.products li.product:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State */
.shop-main-content.loading {
    position: relative;
    min-height: 400px;
}

.shop-main-content.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* ========================================
   Elementor Products Widget Styles
   ======================================== */

/* Product Tabs Widget */
.elementor-widget-lebasino-products-tabs .elementor-tabs-wrapper {
    display: flex;
    overflow-x: hidden;
    white-space: unset;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 20px;
}

.elementor-widget-lebasino-products-tabs .elementor-tabs-header {
    flex-wrap: wrap;
}

.elementor-widget-lebasino-products-tabs .elementor-tab-title {
    margin-bottom: 10px;
    text-align: center;
    padding: 6px 12px;
}

/* Swiper RTL Support */
[dir='rtl'] .swiper-button-prev {
    right: -10px;
    left: auto;
}

[dir='rtl'] .swiper-button-next {
    left: -10px;
    right: auto;
}

/* Listing Items Base */
.listing-items {
    margin-right: 0;
    margin-left: 0;
    position: relative;
}

.elementor-widget-lebasino-products .listing-items,
.elementor-widget-lebasino-products-tabs .listing-items {
    border-bottom: 0;
}

.elementor-widget-lebasino-products .woocommerce-product-list-1 .listing-items {
    border: none;
}

.elementor-widget-lebasino-products .woocommerce-product-list-1 ul.products {
    border-bottom: 0;
    margin: 0 !important;
}

.elementor-widget-lebasino-products .woocommerce-product-list-1 .listing-items .product-card::before {
    display: none;
}

/* Horizontal Product Card Improvements */
.elementor-widget-lebasino-products .woocommerce-product-list-1 .product-card.product-card-horizontal .product-card-bottom {
    border: 0;
    min-height: auto;
}

.elementor-widget-lebasino-products .woocommerce-product-list-1 .product-card.product-card-horizontal .product-card-bottom .product-price {
    min-height: auto;
    text-align: left;
}

.elementor-widget-lebasino-products .woocommerce-product-list-1 .product-card.product-card-horizontal .product-card-bottom .product-price .price {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--theme-color);
}

/* ========================================
   WooCommerce Carousel Styles
   ======================================== */

.woocommerce-carousel {
    position: relative;
    overflow: hidden;
}

.woocommerce-carousel ul.products li.product {
    margin: 0 !important;
    border-bottom: none;
    width: 100% !important;
}

.woocommerce-carousel .swiper-slide.swiper-slide-active {
    visibility: visible;
}

.woocommerce-product-list .woocommerce-carousel .swiper .swiper-wrapper {
    padding: 0;
    margin: 0;
}

/* Product Style 2 for Carousel */
.woocommerce-carousel .products .product-style-2 .product-card {
    display: flex;
    text-align: center;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    transition: 0.2s ease-in-out;
    height: 100%;
    flex-direction: column;
    padding: 0;
    width: 100%;
}

.woocommerce-carousel .products .product-style-2 .product-card .custom_label,
.archive .products .product-card .custom_label {
    margin-right: 0;
}

.woocommerce-carousel .products .product-style-2 .product-card:hover .bg-overlay {
    height: calc(100% - 60px);
}

.woocommerce-carousel .products .product-style-2 .product-card .bg-overlay {
    position: absolute;
    right: 0;
    left: 0;
    width: 100%;
    border-radius: 10px;
    background-color: #fff;
    transition-duration: .5s;
    height: 100%;
}

/* Product Sizes Styles */
.product-sizes {
    gap: 6px;
    font-size: 12px;
}

.product-sizes-label {
    font-size: 11px;
    color: var(--text-color);
    margin-left: 6px;
    font-weight: 500;
    white-space: nowrap;
}

.product-size-item {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    transition: all 0.2s ease;
    cursor: default;
    white-space: nowrap;
    line-height: 1.2;
    min-width: 20px;
    text-align: center;
    background-color: rgba(157, 121, 85, 0.1);
    color: rgba(157, 121, 85, 1);
}

.product-size-more {
    color: rgba(157, 121, 85, 1);
    font-size: 14px;
    font-weight: 500;
}

.product-size-item.out-of-stock {
    background-color: #f5f5f5;
    color: #999;
    border-color: #ddd;
    text-decoration: line-through;
    opacity: 0.6;
}

/* Swiper Wrapper Adjustments */
.woocommerce-carousel .swiper .swiper-wrapper {
    margin: 0;
}

.woocommerce-product-block-3 .woocommerce-carousel .swiper .swiper-wrapper {
    padding: 30px 15px;
}

/* Swiper Navigation */
.woocommerce-carousel .swiper-button-next.swiper-button-disabled,
.woocommerce-carousel .swiper-button-prev.swiper-button-disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.woocommerce-carousel .swiper-pagination {
    display: flex !important;
    margin: 20px 0 0;
    position: relative;
    justify-content: center;
}

/* Swiper Core Styles */

/* Swiper Navigation Buttons */
.woocommerce-carousel .swiper-button-next,
.woocommerce-carousel .swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--swiper-navigation-color, var(--swiper-theme-color));
}

.woocommerce-carousel .swiper-button-next:after,
.woocommerce-carousel .swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size, 44px);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

.woocommerce-carousel .swiper-button-prev {
    left: 10px;
    right: auto;
}

.woocommerce-carousel .swiper-button-next {
    right: 10px;
    left: auto;
}

/* Swiper Pagination */
.woocommerce-carousel .swiper-pagination {
    position: absolute;
    text-align: center;
    transition: 300ms opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
}

.woocommerce-carousel .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: #000;
    opacity: 0.2;
    margin: 0 4px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.woocommerce-carousel .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--swiper-pagination-color, var(--swiper-theme-color));
}

/* Vertical Swiper */
.woocommerce-carousel .swiper-vertical {
    touch-action: pan-x;
}

.woocommerce-carousel .swiper-vertical .swiper-wrapper {
    flex-direction: column;
}

/* ========================================
   Product Variation Swatches System
   ======================================== */

/* Base Variation Items Container */
.product-card .product-variation-items {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    margin-top: 0;
    gap: 8px;
    flex-wrap: wrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    border-radius: 8px;
    flex-direction: row-reverse;
    display: flex;
}

/* Show variations on card hover */
.product-card:hover .product-variation-items {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:has(.product-variation-items):hover .product-card-top .product-card-actions {
    bottom: 50px;
}

/* Variation Item Base */
.woocommerce .product-variation-item {
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 50%;
    border: 2px solid #FFF;
    box-shadow: 0 2px 8px 0 rgba(var(--border-color-rgb), 0.25);
    background: #FFF;
    transform: scale(1) translateZ(0);
    backface-visibility: hidden;
}

.woocommerce .product-variation-item:hover {
    transform: scale(1.15) translateZ(0);
    box-shadow: 0 6px 20px 0 rgba(var(--border-color-rgb), 0.4);
    border-color: var(--primary-color, #c83b3b);
    z-index: 15;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.woocommerce .product-variation-item.selected {
    transform: scale(1.1) translateZ(0);
    box-shadow: 0 4px 16px 0 rgba(0, 124, 186, 0.5);
    border-color: var(--primary-color, #c83b3b);
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Variation Item Image */
.woocommerce .product-variation-item__image {
    width: 32px;
    height: 32px;
    display: block;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.woocommerce .product-variation-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 50%;
    transform: scale(1) translateZ(0);
    backface-visibility: hidden;
}

.woocommerce .product-variation-item:hover .product-variation-item__image img {
    transform: scale(1.08) translateZ(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.woocommerce .product-variation-item.selected .product-variation-item__image img {
    transform: scale(1.05) translateZ(0);
}

/* More Variations Counter */
.woocommerce .product-variation-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #F6F2EE;
    border: 2px solid #FFF;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    color: rgba(157, 121, 85, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.woocommerce .product-variation-more:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-color, #c83b3b);
    color: var(--primary-color, #c83b3b);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

/* Product Image Transitions */
.woocommerce .product-image img,
.woocommerce .product-thumbnail img,
.woocommerce .attachment-woocommerce_thumbnail {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1);
}

.woocommerce .product-image img.variation-loading,
.woocommerce .product-thumbnail img.variation-loading,
.woocommerce .attachment-woocommerce_thumbnail.variation-loading {
    opacity: 0.6;
    transform: scale(0.98);
}

.woocommerce .product-image img.variation-transitioning,
.woocommerce .product-thumbnail img.variation-transitioning,
.woocommerce .attachment-woocommerce_thumbnail.variation-transitioning {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1.02);
}

.woocommerce .product-image img.variation-fade-out,
.woocommerce .product-thumbnail img.variation-fade-out,
.woocommerce .attachment-woocommerce_thumbnail.variation-fade-out {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.woocommerce .product-image img.variation-fade-in,
.woocommerce .product-thumbnail img.variation-fade-in,
.woocommerce .attachment-woocommerce_thumbnail.variation-fade-in {
    opacity: 1;
    transform: scale(1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========================================
   Product Tooltips System
   ======================================== */

.woocommerce .gz-tooltip-inside {
    position: relative;
}

.woocommerce .gz-tooltip-inside:hover:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    min-width: max-content;
    pointer-events: none;
}

.woocommerce .gz-tooltip-inside:hover:after {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.9);
    z-index: 9999;
    pointer-events: none;
}

.woocommerce .gz-tooltip-inside[title]:hover {
    position: relative;
}

/* RTL Tooltip Support */
[dir='rtl'] .woocommerce .gz-tooltip-inside:hover:before {
    direction: rtl;
    text-align: center;
}

.woocommerce .gz-tooltip-inside:hover:before {
    max-width: 200px;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* ========================================
   Product Sizes System
   ======================================== */

.woocommerce .product-sizes {
    gap: 6px;
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.woocommerce .product-sizes-label {
    font-size: 11px;
    color: var(--text-color);
    margin-left: 6px;
    font-weight: 500;
    white-space: nowrap;
}

.product-style-1 .single-product form.cart .variations {
    display: none;
}



.product-style-1 .product-sizes {
    flex-direction: row-reverse;
}

.product-style-1 .product-card .product-card-middle {
    justify-content: normal;
    min-height: 80px;
    gap: 8px
}

.product-style-1 .product-card .product-price {
    margin: 0;
    margin-right: auto;
}

.product-style-1 .product-card .product-price .price {
    flex-direction: row;
    gap: 5px;
    display: flex;
    padding: 0 !important;
}

.single-product .page-content {
    margin-bottom: 80px;
}

/* ========================================
   Responsive Design - Products System
   ======================================== */

@media (max-width: 780px) {

    .woocommerce-carousel .swiper .swiper-wrapper,
    .elementor-post-wrapper .swiper-wrapper {
        padding: 20px 10px;
    }

    .woocommerce-carousel .products .product-style-2 .product-card {
        text-align: right;
    }

    .woocommerce-carousel .products .product-card .product-card-middle {
        padding-left: 0;
        padding-right: 0;
    }

    .woocommerce-carousel .products .product-style-2 .product-card .product-card-middle {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (max-width: 768px) {
    .product-card .product-variation-items {
        gap: 6px;
        bottom: 8px;
        left: 8px;
        right: 8px;
        padding: 6px;
    }

    .product-variation-item__image,
    .product-variation-more {
        width: 35px;
        height: 35px;
    }

    .woocommerce .product-variation-more {
        font-size: 11px;
    }

    .woocommerce .gz-tooltip-inside:hover:before {
        font-size: 11px;
        padding: 5px 8px;
        bottom: calc(100% + 8px);
    }

    .woocommerce .gz-tooltip-inside:hover:after {
        bottom: calc(100% + 2px);
        border-left-width: 5px;
        border-right-width: 5px;
        border-top-width: 5px;
    }

    .woocommerce .product-sizes {
        gap: 4px;
    }

    .woocommerce .product-size-item {
        padding: 2px 4px;
        font-size: 12px;
    }

    .woocommerce .product-sizes-label {
        font-size: 10px;
        margin-left: 4px;
    }
}

@media (max-width: 480px) {
    .product-card .product-variation-items {
        gap: 4px;
        bottom: 6px;
        left: 6px;
        right: 6px;
        padding: 4px;
    }

    .product-variation-item__image,
    .product-variation-more {
        width: 30px !important;
        height: 30px !important;
    }

    .woocommerce .product-variation-more {
        font-size: 10px;
    }

    .woocommerce .gz-tooltip-inside:hover:before {
        font-size: 10px;
        padding: 4px 6px;
        bottom: calc(100% + 6px);
    }

    .woocommerce .gz-tooltip-inside:hover:after {
        bottom: calc(100% + 1px);
        border-left-width: 4px;
        border-right-width: 4px;
        border-top-width: 4px;
    }

}


/* ========================================
   Custom Pr
/* ========================================
   Custom Price Filter Widget Styles
   ======================================== */

/* Custom Price Filter Widget Styles */

.lebasino-price-filter-widget {
    direction: rtl;
    padding: 10px 15px;
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.lebasino-price-filter-widget .price_slider_wrapper {
    margin-bottom: 15px;
    position: relative;
    gap: 25px;
    display: flex;
    flex-direction: column;
}

.lebasino-price-filter-widget .price_slider {
    height: 4px;
    background: rgba(207, 207, 207, 1);
    border-radius: 8px;
    border: none;
    position: relative;
    display: block;
    visibility: visible;
    opacity: 1;
    width: 100%;
    min-height: 3px;
}

/* Force show UI slider */
.lebasino-price-filter-widget .ui-slider,
.lebasino-price-filter-widget .price_slider.ui-slider {
    display: block;
    visibility: visible;
    opacity: 1;
    position: relative;
    height: 4px;
}

.lebasino-price-filter-widget .price_slider_amount {
    display: flex;
    gap: 15px;
    border-radius: 8px;
    border: 1px solid rgba(var(--border-color-rgb), 0.30);
    padding: 5px 10px;
    direction: rtl;
}

.lebasino-price-filter-widget .price_slider_amount input[type="text"] {
    flex: 1;
    padding: 10px 15px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    color: rgba(var(--border-color-rgb), 0.9);
    position: relative;
    width: 100%;
}

.lebasino-price-filter-widget .price_slider_amount input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    color: rgba(var(--border-color-rgb), 1);
    transform: translateY(-1px);
}

.lebasino-price-filter-widget .price_slider_amount input[type="text"]::placeholder {
    color: rgba(var(--border-color-rgb), 0.5);
    font-weight: normal;
}

.lebasino-price-filter-widget .additional-filters {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lebasino-price-filter-widget .filter-option {
    padding: 10px 5px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lebasino-price-filter-widget .checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 40px;
    cursor: pointer;
    font-size: 15px;
    user-select: none;
    line-height: 1.6;
    transition: color 0.2s ease;
    font-weight: 500;
    color: rgba(var(--text-color-rgb), 0.8);
}

.lebasino-price-filter-widget .checkbox-container:hover {
    color: var(--text-color);
}

.lebasino-price-filter-widget .checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.lebasino-price-filter-widget .checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 24px;
    width: 24px;
    background-color: #F0F0F0;
    border: 4px solid transparent;
    border-radius: 50%;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.lebasino-price-filter-widget .checkbox-container:hover input~.checkmark {
    border-color: var(--primary-color, #c83b3b);
    transform: translateY(-50%) scale(1.1);
    border-width: 3px;
    background: #fff;
    outline: 0;
}

.lebasino-price-filter-widget .checkbox-container input:checked~.checkmark {
    border-color: var(--primary-color, #c83b3b);
    transform: translateY(-50%) scale(1.1);
    border-width: 3px;
    background: #fff;
    outline: 0;
}

.lebasino-price-filter-widget .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.lebasino-price-filter-widget .checkbox-container input:checked~.checkmark:after {
    display: block;
    animation: checkmark 0.2s ease-in-out;
    outline: 0;
}

@keyframes checkmark {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lebasino-price-filter-widget .checkbox-container .checkmark:after {
    right: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.lebasino-price-filter-widget .submit-button {
    margin: 20px 0;
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color, #c83b3b);
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.lebasino-price-filter-widget .submit-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.lebasino-price-filter-widget .submit-button:hover {
    background: var(--primary-color, #c83b3b) !important;
    color: #fff !important;
}

.lebasino-price-filter-widget .submit-button:hover:before {
    left: 100%;
}

.lebasino-price-filter-widget .submit-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.lebasino-price-filter-widget .ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 14px;
    height: 14px;
    cursor: grab;
    touch-action: none;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(var(--bs-primary-rgb), 1);
    outline: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    top: -5px;
    margin-right: -11px;
}

.lebasino-price-filter-widget .ui-slider .ui-slider-handle:hover {
    transform: scale(1.2) !important;
}

.lebasino-price-filter-widget .ui-slider .ui-slider-handle:active {
    cursor: grabbing;
    transform: scale(1.3);
}

.lebasino-price-filter-widget .ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    font-size: .7em;
    display: block;
    border: 0;
    background: rgba(var(--bs-primary-rgb), 1);
    height: 100%;
}

/* Price Range Labels */
.lebasino-price-filter-widget .price-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-color);
    margin-top: 8px;
}

.lebasino-price-filter-widget .price-range-labels span {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid #e9ecef;
}

/* Clear Filters Button */
.lebasino-price-filter-widget .clear-price-filters {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 12px;
    margin-top: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lebasino-price-filter-widget .clear-price-filters:hover {
    background: linear-gradient(135deg, #c82333, #dc3545);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(220, 53, 69, 0.3);
}

/* Option Change Animation */
.lebasino-price-filter-widget .option-changed {
    background: rgba(0, 124, 186, 0.1);
    border-radius: 6px;
    transition: background 0.3s ease;
}

/* Active Filters Display */
.active-filters-container {
    background: #fff;
    margin-bottom: 20px;
    width: 100%;
    display: flex;
}

.active-filters-container h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.active-filters-container h4:before {
    content: "\f0b0";
    font-family: 'Font Awesome 6 Pro';
    font-weight: 300;
    margin-left: 8px;
    font-size: 16px;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.remove-filter {
    color: var(--primary-color, #c83b3b);
    text-decoration: none;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 6px;
    background: transparent;
    transition: background 0.3s ease;
    font-size: 14px;
    line-height: 1;
    font-size: 14px;
}

.remove-filter:hover {
    background: var(--primary-color, #c83b3b);
    ;
    color: white;
    text-decoration: none;
    background: var(--primary-color, #c83b3b);
    color: #fff;
    transform: translateY(-1px);
}

.clear-all-filters {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
    transition: all 0.3s ease;
}

.clear-all-filters:hover {
    background: linear-gradient(135deg, #c82333, #dc3545);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4);
}

/* Animation for active filters */
.active-filter {
    animation: slideInFilter 0.3s ease-out;
}

@keyframes slideInFilter {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading State Animation */
.lebasino-price-filter-widget.applying-filter {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.lebasino-price-filter-widget.applying-filter:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    z-index: 10;
}

.lebasino-price-filter-widget.applying-filter .button {
    background: #6c757d;
    cursor: not-allowed;
}

.lebasino-price-filter-widget.applying-filter .button:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Accessibility Improvements */
.lebasino-price-filter-widget .checkbox-container:focus-within .checkmark {
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.3);
}

.lebasino-price-filter-widget .button:focus {
    outline: 3px solid rgba(0, 124, 186, 0.3);
    outline-offset: 2px;
}

.lebasino-price-filter-widget input[type="text"]:focus {
    outline: 3px solid rgba(0, 124, 186, 0.3);
    outline-offset: 1px;
}

.rtl .active-filter {
    animation: slideInFilterRTL 0.3s ease-out;
}

@keyframes slideInFilterRTL {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .widget.lebasino_price_filter {
        padding: 15px;
        margin-bottom: 20px;
    }

    .lebasino-price-filter-widget .price_slider_amount {
        flex-direction: column;
        gap: 8px;
    }

    .lebasino-price-filter-widget .price_slider_amount input[type="text"] {
        width: 100%;
        font-size: 16px;
        /* Prevent zoom on iOS */
        padding: 14px;
    }

    .lebasino-price-filter-widget .ui-slider .ui-slider-handle {
        width: 28px;
        height: 28px;
        top: -10px;
        margin-right: -14px;
    }

    .lebasino-price-filter-widget .button {
        padding: 16px 20px;
        font-size: 16px;
    }

    .lebasino-price-filter-widget .checkbox-container {
        font-size: 16px;
        padding-right: 40px;
    }

    .lebasino-price-filter-widget .checkmark {
        width: 26px;
        height: 26px;
    }

    .lebasino-price-filter-widget .checkbox-container .checkmark:after {
        right: 9px;
        top: 5px;
        width: 6px;
        height: 12px;
    }

    .active-filters-container {
        padding: 12px;
        margin-bottom: 15px;
    }

    .active-filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .active-filter,
    .clear-all-filters {
        font-size: 13px;
        padding: 7px 14px;
    }
}

@media (max-width: 480px) {
    .widget.lebasino_price_filter {
        padding: 12px;
    }

    .lebasino-price-filter-widget .additional-filters {
        margin-bottom: 15px;
    }

    .lebasino-price-filter-widget .filter-option {
        margin-bottom: 12px;
    }

    .widget.lebasino_price_filter .widget-title {
        font-size: 14px;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .lebasino-price-filter-widget .checkmark {
        border-width: 3px;
    }

    .lebasino-price-filter-widget .button {
        border: 2px solid #000;
    }

    .lebasino-price-filter-widget .ui-slider {
        border: 2px solid #000;
    }
}

@media (max-width: 780px) {

    /* دکمه شناور مدرن و کپسولی فیلتر در موبایل (گوشه راست و ارگونومیک) */
    .mobile-filter-toggle {
        position: fixed;
        bottom: 24px;
        right: 20px;
        left: auto;
        transform: none;
        background: #1e293b;
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 999px;
        padding: 11px 20px;
        font-size: 13.5px;
        font-weight: 700;
        z-index: 1001;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        backdrop-filter: blur(10px);
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-filter-toggle:active {
        transform: scale(0.95);
    }

    .mobile-filter-toggle i {
        font-size: 15px;
        color: #f87171;
    }

    .mobile-filter-count-badge {
        background: var(--primary-color, #c83b3b);
        color: #fff;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 800;
        line-height: 1;
        margin-right: 4px;
    }

    /* پنل فیلتر مدرن (Bottom Sheet) */
    .shop-sidebar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-height: 85vh;
        background: #ffffff;
        border-radius: 26px 26px 0 0;
        box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.25);
        transform: translateY(105%);
        transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 10005;
        padding: 0;
        margin: 0 !important;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .shop-sidebar.show {
        transform: translateY(0) !important;
    }

    /* بهینه‌سازی عرض محتوای داخلی سایدبار موبایل */
    .shop-sidebar .widget {
        padding: 0 !important;
        margin: 0 0 20px 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .shop-sidebar .lebasino-advanced-filter-widget {
        padding: 0 !important;
    }

    .shop-sidebar .filter-content {
        padding: 10px 0 16px 0 !important;
    }

    /* هدر برگه کشویی پایین */
    .shop-sidebar-header {
        padding: 10px 20px 14px;
        border-bottom: 1px solid #f1f5f9;
        background: #ffffff;
        flex-shrink: 0;
    }

    .sidebar-sheet-handle {
        display: block;
        width: 44px;
        height: 5px;
        background: #cbd5e1;
        border-radius: 999px;
        margin: 4px auto 12px;
    }

    .sidebar-sheet-title-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .sidebar-sheet-title {
        margin: 0;
        font-size: 16px;
        font-weight: 800;
        color: #1e293b;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .sidebar-sheet-title i {
        color: var(--primary-color, #c83b3b);
    }

    .btn-close-filter-sheet {
        background: #f1f5f9;
        color: #64748b;
        border: none;
        border-radius: 50%;
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .btn-close-filter-sheet:hover {
        background: #e2e8f0;
        color: #0f172a;
    }

    /* اسکرول‌بار داخلی باتم شیت */
    .shop-sidebar #shopSidebar {
        flex: 1;
        overflow-y: auto;
        padding: 16px 20px 85px;
        -webkit-overflow-scrolling: touch;
    }

    /* فوتر چسبان باتم شیت */
    .shop-sidebar-footer {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 12px 20px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid #f1f5f9;
        z-index: 10;
    }

    .btn-apply-and-close-sheet {
        width: 100%;
        height: 48px;
        background: var(--primary-color, #c83b3b);
        color: #ffffff;
        border: none;
        border-radius: 14px;
        font-size: 15px;
        font-weight: 800;
        cursor: pointer;
        box-shadow: 0 4px 14px rgba(200, 59, 59, 0.3);
        transition: all 0.2s ease;
    }

    .btn-apply-and-close-sheet:active {
        transform: scale(0.98);
    }

    /* لایه تیره پس‌زمینه (Overlay) */
    .filter-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.55);
        backdrop-filter: blur(4px);
        z-index: 10004;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .filter-overlay.show {
        opacity: 1;
        pointer-events: auto;
    }

    body.sheet-open {
        overflow: hidden !important;
    }

    .lebasino-advanced-filter-widget .filter-header {
        padding: 15px;
    }
}


/* Single Product Styles */

.product-shadow {
    border-radius: 24px;
    background: #FFF;
    box-shadow: 0 4px 16px 0 rgba(var(--border-color-rgb), 0.10);
    padding: 30px;
}

.woocommerce div.product .single-product-content {
    display: flex;
    gap: 24px;
}

.woocommerce div.product .product-main-content {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

@media(min-width:1024px) {
    .woocommerce div.product .product-main-content {
        width: calc(100% - 320px) !important;
    }

    .woocommerce div.product .product-add-to-cart-section {
        width: 300px;
    }
}

.woocommerce div.product .product-images-summary {
    width: 40%;
    position: relative;
}

.woocommerce div.product div.summary {
    width: 60%;
    float: none;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.woocommerce #content div.product div.images,
.woocommerce div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce-page div.product div.images {
    width: 100%;
    float: none;
}

.woocommerce div.product div.images.woocommerce-product-gallery {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0
}

.woocommerce div.product div.images.woocommerce-product-gallery .flex-viewport,
.woocommerce div.product div.images img {
    order: 2;
    border-radius: 16px;
}

.woocommerce div.product .woocommerce-product-gallery__wrapper img {
    max-height: 350px;
    /* aspect-ratio: 1 / 1; */
    object-fit: cover;
}

.woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 50%;
    justify-content: space-between;
    align-items: center;
    order: 1;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 100%;
    overflow: hidden;
    max-width: 80px;
    max-height: 80px;
    transition: border 0.3s ease;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    border-radius: 16px;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--border-color-rgb), 0.30);
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
    border-color: var(--primary-color, #c83b3b);
}

.woocommerce div.product .product_title {
    clear: none;
    margin-top: 0;
    padding: 0;
    color: var(--text-color);
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    line-height: 30px;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    color: rgba(var(--border-color-rgb), 0.70);
    text-align: justify;
    font-size: 16px;
    font-weight: 500;
    line-height: 32px;
    border-bottom: 1px dashed rgba(var(--text-color-rgb), 0.8);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.product-params-special .attributes-title {
    color: var(--primary-color, #c83b3b);
    font-size: 17px;
    font-weight: var(--font-weight-normal);
    line-height: 1.7;
}

.lebasino-attr-rating-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: space-between;
    align-items: start;
    margin-top: 15px;
}

.lebasino-attributes-col {
    flex: 100%;
}

.lebasino-rating-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 8px;
    background: rgba(var(--border-color-rgb), 0.30);
    align-items: center;
    padding: 10px;
}

@media(min-width:1024px) {
    .lebasino-rating-col {
        width: 170px;
    }
}

.lebasino-rating-col .rating-item {
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-content: center;
    width: 100%;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    font-size: 14px;
}

.lebasino-rating-col .rating-item a {
    color: var(--text-color);
}

.lebasino-rating-col .rating-item i,
.lebasino-rating-col .rating-item .lebasino-wishlist-btn {
    border-left: 1px dashed rgba(var(--border-color-rgb), 0.20);
    font-size: 16px;
}

.lebasino-rating-col .rating-item .lebasino-wishlist-btn i {
    border: 0;
}

.lebasino-rating .star-rating {
    font-size: 1.2rem;
}

.lebasino-reviews-count {
    font-size: 0.9rem;
}

.lebasino-wishlist-btn {
    background: none;
    border: 1px solid transparent;
    padding: 0;
    cursor: pointer;
    font-size: 0.9rem;
}

.product-add-to-cart-section {
    padding: 24px;
}

.woocommerce .product .product_meta {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 15px;
    margin-bottom: 10px;
}

.woocommerce .product .product_meta>span {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    font-size: 16px;
    color: var(--text-color);
    font-weight: var(--font-weight-normal);
}

.woocommerce .product_meta span span,
.woocommerce .product_meta span a {
    color: rgba(var(--border-color-rgb), 0.70);
    letter-spacing: -0.16px;
}

.woocommerce .product_meta span span,
.woocommerce .product_meta span a:first-child {
    margin-right: auto;
}

.single-product form.cart button.single_add_to_cart_button {
    border-radius: 8px;
    background: var(--primary-color, #c83b3b) !important;
    color: #fff;
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    ;
    padding: 12px 8px !important;
}

.single-product form.cart button.single_add_to_cart_button i {
    margin-left: 6px;
}

.single-product div.product form.cart {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.single-product div.product.product-type-simple form.cart {
    flex-direction: row;
}

.product-card form.cart .variations select {
    border: none;
}

.woocommerce-variation-add-to-cart {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.woocommerce.single-product div.product:not(.product-style-*) .single_variation_wrap {
    align-items: center;
    padding: 10px 0;
    border-top: 1px dashed rgba(var(--text-color-rgb), 0.5);
}

.total-price-label {
    font-size: 16px;
}


.woocommerce .quantity .num-in {
    display: flex;
}

.woocommerce .quantity .qty {
    width: 40px;
    text-align: center;
    color: var(--text-color);
    font-size: 18px;
    font-weight: var(--font-weight-normal);
    ;
    direction: rtl;
}

.single-product .quantity .qty {
    width: 24px;
}

.woocommerce .quantity .num-in span {
    border-radius: 8px;
    border: 1px solid rgba(var(--border-color-rgb), 0.30);
    background: #FFF;
    padding: 8px;
    color: var(--text-color);
    font-weight: 400;
    cursor: pointer;
}

@media (max-width: 768px) {
    .lebasino-attr-rating-row {
        grid-template-columns: 1fr;
    }
}

.single-product div.product form.cart {
    margin-bottom: 10px;
    margin-top: 20px;
}

.product-card form.cart {
    margin: 0 !important;
}

.variation-row {
    margin-bottom: 15px;
    display: grid;
    gap: 5px;
    align-items: center;
    grid-template-columns: 1fr 3fr;
}

.woocommerce div.product form.cart .variations {
    margin-bottom: 0
}

.single-product form.cart .variations label {
    /* color: rgba(var(--text-color-rgb), 0.50); */
    font-size: 14px;
    font-weight: var(--font-weight-normal);
}

.hidden-select {
    display: none !important;
}

.lebasino-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.single-product .lebasino-swatches {
    justify-content: flex-start;
}

.swatch-btn {
    position: relative;
    border-radius: 8px;
    border: 4px solid #fff;
    box-shadow: 0 0 0 1px #D9D9D9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    display: block;
}

.swatch-btn.selected {
    box-shadow: 0 0 0 1px var(--primary-color, #c83b3b);
}

.swatch-btn.swatch-text.selected {
    background: var(--primary-color, #c83b3b);
    color: #fff;
}

.swatch-btn.swatch-color {
    padding: 10px;
    border: 4px solid #fff !important;
}

.single-product .swatch-btn.swatch-color {
    border-radius: 50%;
}

.swatch-btn.swatch-color.selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Pro';
    font-weight: var(--font-weight-normal);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    z-index: 2;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.single-product .swatch-btn.swatch-color.selected::after {
    font-size: 11px;
}

.single-product .swatch-text {
    font-size: 14px;
    border: none;
    padding: 5px 10px;
    line-height: 1.2;
}

.swatch-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    border-radius: 16px;
    border: 1px solid rgba(var(--border-color-rgb), 0.30);
    background: #FFF;
    padding-right: 16px;
    gap: 15px
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: none;
    background-color: transparent;
    color: var(--text-color);
    display: inline-block;
    position: relative;
    z-index: 0;
    border-radius: 0;
    margin: 0;
    padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: #fff;
    z-index: 2;
    border: none;
    color: var(--primary-color, #c83b3b);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-size: 18px;
    font-style: normal;
    font-weight: var(--font-weight-normal);
    margin: 0;
    border: none;
    border-bottom: 4px solid transparent;
    padding: 1em 0;
    transition: border 0.3s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--primary-color, #c83b3b);
    border-bottom-color: var(--primary-color, #c83b3b);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before {
    content: none;
}

.woocommerce div.product .woocommerce-tabs .wc-tab h2 {
    /*margin-bottom: 0;*/
    font-size: 22px;
    font-weight: 500;
    color: var(--text-color);
}

.woocommerce table.shop_attributes {
    border: none;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
    width: auto;
    background: #fff !important;
    font-weight: var(--font-weight-normal);
    padding: 10px;
    font-size: 16px;
    border-top: 0;
    color: var(--text-color);
    border-bottom: 1px dashed rgba(var(--border-color-rgb), 0.20);
    margin: 0;
    line-height: 1.5;
}

.woocommerce table.shop_attributes td {
    color: rgba(var(--border-color-rgb), 0.50);
    font-size: 16px;
    font-style: normal;
    font-weight: var(--font-weight-normal);
}

/* استایل‌های بخش دیدگاه‌ها - طراحی دو ستونه */

.product-review-card {
    position: sticky;
    top: 20px;
}

.product-review-card .price {
    padding: 0 !important
}

.product-review-card .product-image img {}

/* استایل‌های بخش دیدگاه‌ها */
.woocommerce-Reviews {
    padding-left: 15px;
}

.woocommerce-Reviews .pending-review-message {
    box-shadow: 0 4px 16px 0 rgba(var(--border-color-rgb), 0.10);
    border: none;
    background: #fff;
    border-radius: 16px;
    background: #fcfcfd;
    padding: 20px;
}

.woocommerce-Reviews-title {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.commentlist .comment {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.commentlist .comment_container {
    display: flex;
    gap: 15px;
}

.commentlist .comment-text {
    flex: 1;
}

.commentlist .meta {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
}

.commentlist .description p {
    margin: 0;
    line-height: 1.6;
}


.review-form-container {
    margin-top: 20px;
    width: 100%;
}

.review-form-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.form-fields-column {
    display: flex;
    flex-direction: column;
    min-width: 400px;
}

.form-fields-wrapper {
    display: flex;
    flex-direction: column;
}

.form-fields-container {
    padding-left: 15px;
}

.comment-text-container {
    padding-right: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: var(--font-weight-bold);
    color: #495057;
}

.comment-text-column .form-group {
    margin: 0;
}

.form-group textarea {
    resize: vertical;
    max-height: 220px;
}


.product-star-rating-container {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}

.product-star-rating-container select {
    display: none;
}

.product-star-rating-container label {
    margin: 0;
}

/* دکمه ارسال */
.submit-review-btn {
    background: var(--primary-color, #c83b3b);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    color: white;
    font-weight: var(--font-weight-normal);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    line-height: 1;
}

.submit-review-btn i {
    transition: transform 0.3s ease-in-out;
}

.submit-review-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.submit-review-btn:hover i {
    transform: translateX(-100%);
}

/* استایل‌های دیدگاه‌ها */
.product-review-item {
    list-style: none;
    margin-bottom: 25px !important;
}

.woocommerce #reviews #comments ol.commentlist li {
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 4px 16px 0 rgba(var(--border-color-rgb), 0.10);
    transition: all 0.3s ease;
}

.comment-container {
    display: flex;
    gap: 15px;
}

.woocommerce #reviews #comments ol.commentlist li:hover {
    box-shadow: 0 4px 16px rgba(var(--border-color-rgb), 0.15);
    ;
}

.woocommerce #reviews #comments ol.commentlist li img.avatar,
.comment-avatar img {
    float: none;
    position: relative;
    top: 0;
    right: 0;
    padding: 3px;
    background: transparent;
    border: none;
    margin: 0;
    box-shadow: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.comment-content {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: flx-start;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.comment-author-container {
    display: flex;
    flex-direction: column;
}

.comment-author {
    color: #3F3F3F;
    font-size: 16px;
    font-weight: 500;
    line-height: 32px;
}

.comment-role {
    color: var(--primary-color, #c83b3b);
    font-size: 14px;
    font-weight: 500;
}

.comment-role .user-role-badge {
    margin: 0 8px 0 0;
    padding: 2px 4px;
    border-radius: 4px;
    background: #d4edda;
    color: #155724;
    font-size: 12px;
    font-weight: 500;
}

.comment-meta-container {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-right: auto;
    align-items: baseline;
}

.post-comments-container .comment-meta-container {
    flex-direction: row-reverse;
}

.comment-meta-container> :not(:last-child),
.post-comments-container .comment-meta-container> :not(:first-child) {
    position: relative;
    padding-left: 12px;
    line-height: 1;
}

.comment-meta-container>*:not(:last-child)::after,
.post-comments-container .comment-meta-container>*:not(:first-child)::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 16px;
    width: 1px;
    border-left: 1px dashed rgba(var(--border-color-rgb), 0.2);
}

.post-comments-container .comment-meta-container>*:not(:last-child)::after {
    border: 0;
    display: none;
}

.comment-date {
    color: #6c757d;
    font-size: 14px;
}

.comment-rating {
    color: var(--text-color);
    font-size: 16px;
    font-weight: var(--font-weight-normal);
}

.comment-rating i {
    color: rgba(var(--bs-primary-rgb), 1);
}

.comment-text {
    text-align: justify;
    font-size: 14px;
    font-style: normal;
    font-weight: var(--font-weight-normal);
    line-height: 32px;
    /* 228.571% */
    letter-spacing: -0.14px;
    margin-bottom: 15px;
    color: #3F3F3F;
    margin-right: 0 !important;
    background: #fff !important;
    border: none !important;
    border-radius: none !important;
}

.comment-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.single-post .comment-actions {
    display: none !important;
}

.comment-reactions {
    display: flex;
    gap: 10px;
}

.comment-like-btn,
.comment-dislike-btn {
    background: none;
    border: 1px solid #e9ecef;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
}

.comment-like-btn:hover {
    border-color: #28a745;
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.comment-dislike-btn:hover {
    border-color: #dc3545;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.comment-like-btn.active {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.comment-dislike-btn.active {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.comment-like-btn.clicked,
.comment-dislike-btn.clicked {
    transform: scale(1.1);
}

.comment-reply a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: var(--font-weight-bold);
    font-size: 13px;
    transition: color 0.3s ease;
}

.comment-reply a:hover {
    color: #5a6fd8;
    text-decoration: none;
}

/* نظرات تودرتو */
.commentlist .children {
    margin-top: 20px;
    margin-right: 40px;
    padding-right: 20px;
}

/* ریسپانسیو برای فرم جدید */
@media (max-width: 768px) {

    .form-fields-container,
    .comment-text-container {
        padding-left: 0;
        padding-right: 0;
    }

    .commentlist .children {
        margin-right: 20px;
        padding-right: 15px;
    }

    .comment-container {
        flex-direction: column;
        gap: 10px;
    }

    .comment-meta {
        gap: 10px;
    }

    .comment-actions {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* استایل‌های بخش دیدگاه‌های مستقل */
.lebasino-standalone-reviews-section {
    margin: 80px 0;
    padding: 0;
    background: transparent;
}

.lebasino-standalone-reviews-section .container {
    max-width: 1200px;
}

/* ========== Container اصلی ========== */
.lebasino-reviews-dynamic {
    width: 100%;
    margin: 0 auto;
}

.product-reviews-container {
    width: 100%;
}

/* ========== Layout Grid اصلی ========== */
.reviews-layout {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

/* بخش اصلی دیدگاه‌ها */
.reviews-main-section {
    flex: 1;
    min-width: 0;
    /* برای جلوگیری از overflow */
}

.reviews-main-section.full-width {
    flex: 1 1 100%;
}

.reviews-main-section.with-sidebar {
    flex: 1 1 calc(100% - 330px);
}

/* سایدبار کارت محصول */
.reviews-sidebar-section {
    width: 300px;
    flex-shrink: 0;
}

/* عنوان بخش دیدگاه‌ها */
.section-header .section-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-header .section-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* تنظیمات برای حالت full width */
.reviews-full-width .col-lg-8 {
    flex: 0 0 100%;
    max-width: 100%;
}

.reviews-full-width .woocommerce-Reviews {
    padding-left: 0;
}

.lebasino-standalone-reviews-section .product-shadow {
    margin: 0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .section-header .section-title {
        font-size: 24px;
    }

    .lebasino-standalone-reviews-section {
        margin: 30px 0;
    }
}

.review-form-section {
    margin-top: 40px;
}

.review-form-container {
    background: #fff;
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 4px 16px 0 rgba(var(--border-color-rgb), 0.10);
}

.form-fields-container {
    padding: 0 15px;
}

.comment-text-container {
    padding: 0 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: var(--font-weight-normal);
    color: rgba(var(--border-color-rgb), 1);
    margin-bottom: 8px;
    font-size: 16px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(var(--border-color-rgb), 0.3);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color, var(--primary-color, #c83b3b));
    outline: none;
}


/* سیستم امتیازدهی */
.product-star-rating-container {
    position: relative;
}

.product-star-rating-container select {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.visual-rating {
    display: flex;
    gap: 5px;
}

.visual-rating .star {
    cursor: pointer;
    font-size: 18px;
    color: rgba(var(--bs-primary-rgb), 0.8);
    transition: all 0.3s ease;
}

.visual-rating .star:hover,
.visual-rating .star.active {
    color: var(--primary-color, #c83b3b);
    transform: scale(1.1);
}

.visual-rating .star i {
    transition: all 0.3s ease;
}

.visual-rating .star:hover i,
.visual-rating .star.active i {
    transform: rotate(10deg);
}

/* دکمه ارسال */
.submit-group {
    text-align: left;
}

.form-group.submit-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
}

.submit-review-btn:active {
    transform: translateY(0);
}

/* فیلدهای الزامی */
.required {
    color: var(--error-color);
    margin-right: 3px;
}

/* پیام‌های خطا و موفقیت */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group.success input,
.form-group.success textarea,
.form-group.success select {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

/* پیام بدون دیدگاه */
.noreviews {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 20px 0;
}

.noreviews .title {
    color: #333;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: var(--font-weight-bold);
}

.noreviews .desc-p {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 14px;
}

.noreviews-btn {
    background: var(--primary-color, #c83b3b);
    color: white !important;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: var(--font-weight-normal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.noreviews-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.1);
    color: white !important;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .review-form-container {
        padding: 15px;
    }

    .form-fields-container,
    .comment-text-container {
        padding: 0;
    }

    .visual-rating .star {
        font-size: 18px;
    }

    .submit-group {
        text-align: center;
    }

    .submit-review-btn {
        width: 100%;
        justify-content: center;
    }
}

.related {
    margin-top: 90px;
}

.related .products.swiper {
    padding: 25px !important;
}

.single-product .special-heading-container {
    border-bottom: 1px solid rgba(var(--border-color-rgb), 0.2);
    padding-bottom: 30px;
}

.single-product .special-heading-container .special-heading-title {
    padding: 0;
}

.only-mobile {
    display: none;
}

.only-desktop {
    display: block;
}

@media (max-width: 767px) {
    .only-mobile {
        display: block;
    }

    .only-desktop {
        display: none;
    }
}

/* ==========================================================================
   Blog Archive Styles
   ========================================================================== */

.blog-archive-wrapper {
    padding: 2rem 0;
    min-height: 80vh;
}

/* Breadcrumb Section */
.blog-breadcrumb-section {
    margin-bottom: 2rem;
}

.blog-breadcrumb-section .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.blog-breadcrumb-section .breadcrumb-item {
    color: #6c757d;
}

.blog-breadcrumb-section .breadcrumb-item.active {
    color: #495057;
}

/* Blog Header Section */
.blog-header-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(var(--border-color-rgb), 0.2);
}

/*.blog-title .special-heading-title {*/
/*    font-weight: 700;*/
/*    color: #2c3e50;*/
/*    position: relative;*/
/*}*/


.archive-description {
    color: #6c757d;
    font-size: 1rem;
    margin-top: 1rem;
    line-height: 1.6;
}

/* Blog Ordering */
.blog-ordering {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Blog Ordering */
.blog-ordering {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.blog-sorting-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sorting-label {
    font-size: 0.9rem;
    font-weight: var(--font-weight-normal);
    color: var(--text-color);
    white-space: nowrap;
}

.sorting-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sorting-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1em;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sorting-btn:hover {
    color: var(--primary-color, #c83b3b);
    text-decoration: none;
    transform: translateY(-1px);
}

.sorting-btn.active {
    color: var(--primary-color, #c83b3b);
}

/* Loading state for sorting buttons */
.sorting-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.sorting-btn.loading::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

.blog-ordering .woocommerce-ordering {
    margin: 0;
}

.blog-ordering select.orderby {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 0.95rem;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.blog-ordering select.orderby:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.blog-ordering select.orderby:hover {
    border-color: #007bff;
}

/* Blog Content Section */
.blog-content-section {
    margin-bottom: 3rem;
}

/* Blog Sidebar */
.blog-sidebar {
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.blog-sidebar .widget {
    margin-bottom: 2.5rem;
    padding: 20px;
    border-radius: 24px;
    background: #FFF;
    box-shadow: 0 8px 32px 0 rgba(var(--border-color-rgb), 0.10);
}

.blog-sidebar .widget:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.blog-sidebar .widget-title {
    font-size: 17px;
    font-weight: var(--font-weight-normal);
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Blog Search Widget Styles */
.blog-sidebar .widget_search {
    position: relative;
}

.blog-sidebar .widget_search .search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.blog-sidebar .widget_search .search-form>label {
    width: 100%;
}

.blog-sidebar .widget_search .search-field {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid rgba(var(--border-color-rgb), 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
}

.blog-sidebar .widget_search .search-field::placeholder {
    color: #6c757d;
    font-style: italic;
}

.blog-sidebar .widget_search .search-field:focus {
    border-color: var(--primary-color, #c83b3b);
}

.blog-sidebar .widget_search .search-field:active {
    border-color: var(--primary-color, #c83b3b);
}

.blog-sidebar .widget_search .search-submit {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s ease;
    z-index: 2;
    width: auto;
    height: auto;
    font-size: 1rem;
    outline: none;
}

.blog-sidebar .widget_search .search-submit:hover {
    color: #007bff;
}

.blog-sidebar .widget_search .search-submit:focus {
    color: #007bff;
    outline: none;
}

/* Hide submit button text and show only icon */
.blog-sidebar .widget_search .search-submit {
    text-indent: -9999px;
    overflow: hidden;
    width: 2rem;
    height: 2rem;
}

.blog-sidebar .widget_search .search-submit::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Pro';
    font-weight: var(--font-weight-normal);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-indent: 0;
    font-size: 18px;
    color: var(--primary-color, #c83b3b);
}

/* Categories Widget Styles */
.blog-sidebar .widget_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar .widget_categories li {
    margin-bottom: 0.75rem;
    padding: 0;
}

.blog-sidebar .widget_categories li:last-child {
    margin-bottom: 0;
}

.blog-sidebar .widget_categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(var(--text-color-rgb), 0.8);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.blog-sidebar .widget_categories a:hover {
    color: var(--primary-color, #c83b3b);
}

.blog-sidebar .widget_categories a .category-name {
    flex: 1;
}

.blog-sidebar .widget_categories a .count {
    background: rgba(var(--text-color-rgb), 0.1);
    color: var(--text-color);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 24px;
    min-height: 24px;
    text-align: center;
}

.blog-sidebar .widget_categories a:hover .count {
    background: var(--primary-color, #c83b3b);
    color: #fff;
}

.page-main-content {
    border-radius: 24px;
    background: #FFF;
    box-shadow: 0 8px 32px 0 rgba(var(--border-color-rgb), 0.10);
    padding: 20px;
}

/*Single post-wrapper */
.post-content-wrapper .single-post-article {
    border-radius: 24px;
    background: #FFF;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.08);
    padding: 1.8rem;
}

.share-dropdown {
    position: relative;
    display: inline-block;
    margin-right: auto;
}

.share-btn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 16px;
    color: var(--primary-color, #c83b3b);
    padding: 0;
    display: flex;
    gap: 5px;
    align-items: center;
}

.share-menu {
    position: absolute;
    bottom: 120%;
    left: 20px;
    transform: translateX(-50%) scaleY(0);
    transform-origin: bottom center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.08);
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 99;
    flex-direction: column;
}

.share-menu a {
    font-size: 20px;
    color: var(--text-color);
    transition: color 0.3s;
    text-align: center;
}

.share-menu a:hover {
    color: var(--primary-color, #c83b3b);
}

.share-dropdown.active .share-menu {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
}

.post-meta {
    align-items: center;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    display: flex !important;
}

.post-meta>* {
    border-left: 1px dashed rgb(120 120 120);
}

.post-meta>*:last-child {
    border-left: none;
    padding-left: 0;
}

.post-meta>*:nth-child(3) {
    border-left: none;
    padding-left: 0;
}

.post-header .post-title {
    line-height: 50px;
}

.post-meta-item {
    font-weight: var(--font-weight-normal);
    font-size: 14px;
    color: #787878;
    padding-left: 15px;
}

.post-meta-item i {
    font-size: 17px;
}

.share-dropdown.post-meta-item i {
    font-size: 20px;
    font-weight: 300;
}

.post-meta-item.active .share-button {
    color: var(--primary-color, #787878);
}

.post-featured-image {
    text-align: center;
}

.post-featured-image img {
    max-height: 450px;
    object-fit: cover;
    border-radius: 16px;
}

.single-post-banner img {
    border-radius: 16px;
}

.hidden-desktop {
    display: none;
}

.hidden-mobile {
    display: block;
}

@media(max-width:780px) {
    .hidden-desktop {
        display: block;
    }

    .hidden-mobile {
        display: none;
    }
}

.post-content {
    font-size: 16px;
    font-weight: var(--font-weight-normal);
    line-height: 32px;
    text-align: justify;
}

.post-categories .post-label,
.post-tags .tag-label {
    color: rgba(var(--border-color-rgb), 0.50);
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 28px;
    /* 200% */
    ;
}

.post-navigation {
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex-grow: 1;
    max-width: 50%;
}

.post-navigation .nav-links a {
    display: block;
    padding: 15px 20px;
    box-shadow: var(--box-shadow);
    border-radius: 16px;
    text-decoration: none;
    transition: background-color 0.3s, border-color 0.3s;
}

.post-navigation .nav-subtitle {
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 5px;
    display: block;
}

.post-navigation .nav-title {
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    line-height: 1.4;
}

.post-navigation .nav-links a:hover .nav-title {
    color: var(--primary-color, #c83b3b);
}

.post-navigation .nav-previous a {
    text-align: right;
}

.post-navigation .nav-next a {
    text-align: left;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    ;
    gap: 25px;
    margin-bottom: 3rem;
}

.posts-grid[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.posts-grid[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.posts-grid[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

.posts-grid[data-columns="5"] {
    grid-template-columns: repeat(5, 1fr);
}

.posts-grid[data-columns="6"] {
    grid-template-columns: repeat(6, 1fr);
}

.posts-grid.posts-layout-list {
    grid-template-columns: repeat(2, 1fr) !important;
}

/* Post Cards inherit styles from posts-grid widget */
.posts-grid .column-item {
    transition: all 0.3s ease;
}

.posts-grid .column-item:hover {
    transform: translateY(-5px);
}

/* Additional styles for archive page layout */
.blog-archive-wrapper .column-item {
    margin-bottom: 0;
}

.blog-archive-wrapper .posts-grid .column-item .post-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: transparent;
    border-radius: inherit;
}

/* Enhanced hover effects for archive */
.blog-archive-wrapper .posts-grid .column-item:hover {
    transform: translateY(-5px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination .nav-links {
    display: flex;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 0.25rem;
    background: #fff;
    border: 1px solid rgba(var(--text-color-rgb), 0.8);
    color: rgba(var(--text-color-rgb), 0.8);
    text-decoration: none;
    border-radius: 8px;
    font-weight: var(--font-weight-normal);
    transition: all 0.3s ease;
    font-size: 16px;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--primary-color, #c83b3b);
    border-color: var(--primary-color, #c83b3b);
    color: #fff;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    width: auto;
    padding: 0 1.2rem 0 2rem;
    color: var(--text-color);
    position: relative;
}

.pagination .page-numbers.prev:hover,
.pagination .page-numbers.next:hover {
    color: #fff;
}

.pagination .page-numbers.prev {
    padding: 0 2rem 0 1.2rem;
}

.pagination .page-numbers.prev:before,
.pagination .page-numbers.next:before {
    content: "\f104";
    font-family: 'Font Awesome 6 Pro';
    left: 12px;
    position: absolute;
    font-size: 20px;
    top: 50%;
    font-weight: 400;
    transform: translateY(-50%);
}

.pagination .page-numbers.prev:before {
    content: "\f105";
    left: auto;
    right: 12px;
}

/* Responsive Design */
@media (max-width: 991.98px) {

    .blog-header-section .col-md-4,
    .blog-header-section .col-md-8 {
        text-align: center;
        margin-bottom: 1rem;
    }

    .blog-ordering {
        justify-content: center;
    }

    .blog-sidebar {
        margin-top: 2rem;
        position: static;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .blog-archive-wrapper {
        padding: 1rem 0;
    }

    .blog-header-section {
        padding-bottom: 1.5rem 0;
        margin-bottom: 2rem;
    }

    .blog-title .special-heading-title {
        font-size: 2rem;
    }

    .posts-wrapper,
    .blog-sidebar {
        padding: 1.5rem;
    }

    .posts-grid {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .blog-title .special-heading-title {
        font-size: 1.5rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .blog-ordering select.orderby {
        min-width: 150px;
        font-size: 0.9rem;
    }
}

.lebasino-categories-swiper {
    padding: 20px 0;
}

/* Styles for posts-grid */
/* ===== Lebasino Post Card ===== */

.lebasino-post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 24px 0 rgba(var(--border-color-rgb), 0.10);
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Media (300x150 crop image) */
.lebasino-card-media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    isolation: isolate;
}

.lebasino-card-media img,
.lebasino-card-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* Clickable overlay (kept from original) */
.post-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.lebasino-card>.post-bg-overlay {
    /* ensure card content is above overlay */
    z-index: 0;
}

/* Full gradient overlay (fade from black bottom to transparent top) */
.lebasino-card-media__gradient {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 50%, #000 100%);
    pointer-events: none;
    z-index: 1;
    font-family: 'dashicons';
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Meta overlay (date right, views left) */
.lebasino-card-media__meta {
    position: absolute;
    inset-inline: 10px;
    bottom: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1;
    color: rgba(255, 255, 255, 0.75);
    text-align: right;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 500;
    gap: 8px;
}

.lebasino-card-views i,
.lebasino-card-date i {
    margin-inline-end: 6px;
}

/* Body */
.lebasino-card-body {
    display: grid;
    gap: 8px;
}

.categories-link-box {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
}

.categories-link-box a {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    color: #333;
    text-decoration: none;
    transition: background .2s ease;
}

.categories-link-box a:hover {
    background: rgba(0, 0, 0, 0.12);
}

.lebasino-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.4em;
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 700;
}

.lebasino-card-title a {
    color: inherit;
    text-decoration: none;
}

.lebasino-card-title a:hover {
    text-decoration: underline;
}

.lebasino-card-excerpt {
    font-size: 14px;
    color: rgba(var(--text-color-rgb), 0.75);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.2em;
    text-align: justify;
}

/* Footer */
.lebasino-card-footer {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    /* جداکننده */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.lebasino-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lebasino-author img {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    object-fit: cover;
}

.lebasino-author-line {
    font-size: 13px;
    color: rgba(var(--text-color-rgb), 0.75);
    ;
}

.lebasino-author-line a {
    color: var(--primary-color, #c83b3b);
    text-decoration: none;
    border-bottom: 1px dashed transparent;
    transition: border-color .2s ease;
}

.lebasino-author-line a:hover {
    border-bottom-color: currentColor;
}

/* Small screens fine-tune */
@media (max-width: 480px) {
    .lebasino-post-card {
        padding: 14px;
        border-radius: 10px;
    }

    .lebasino-card-title {
        font-size: 16px;
    }
}

.lebasino-card-media__gradient::before {
    position: absolute;
    left: 50%;
    top: 50%;
    content: "•••";
    font-size: 28px;
    color: #fff;
    letter-spacing: 8px;
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
}

.lebasino-post-card:hover {
    border: 1px solid rgba(var(--bs-primary-rgb), 1);
}

.lebasino-post-card:hover .lebasino-card-media__gradient {
    opacity: 1;
    background: linear-gradient(0deg, rgba(var(--bs-primary-rgb), 0.75) 0%, rgba(var(--bs-primary-rgb), 0.75) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.00) 50%, #000 100%);
}

.lebasino-post-card:hover .lebasino-card-media__gradient::before {
    opacity: 1;
    visibility: visible;
}

/* Lebasino Horizontal Post Card */
.lebasino-card-horizontal {
    display: grid;
    /* تنظیم ستون‌ها: 40% برای تصویر، 60% برای محتوا */
    grid-template-columns: 0.4fr 0.6fr;
    gap: 16px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(var(--border-color-rgb), 0.10);
    padding: 16px;
    /* تعیین حداقل ارتفاع برای اطمینان از پر شدن تصویر */
    min-height: 200px;
    position: relative;
    /* برای overlay */
    ;
}

.lebasino-card-horizontal .post-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.lebasino-card-horizontal__image {
    height: 100%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

/* اطمینان از اینکه تگ حاوی تصویر (post-thumbnail) تمام فضای تصویر را بگیرد */
.lebasino-card-horizontal__image .post-thumbnail {
    width: 100%;
    height: 100%;
    display: block;
}

.lebasino-card-horizontal__image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.lebasino-card-horizontal__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    z-index: 2;
    /* برای اینکه روی overlay قرار گیرد */
    ;
}

.lebasino-card-horizontal__categories a {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: #FDEDED;
    color: var(--primary-color, #c83b3b);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
}

.lebasino-card-horizontal__categories a:hover {
    background: #FBD3D3;
}

.lebasino-card-horizontal__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    position: relative;
    padding-right: 20px;
}

.lebasino-card-horizontal__title::before {
    content: "";
    position: absolute;
    width: 4px;
    height: 1.2em;
    background: var(--primary-color, #c83b3b);
    border-radius: 8px;
    right: 0;
    top: 0;
}

.lebasino-card-horizontal__title a {
    text-decoration: none;
    color: var(--text-color);
}

.lebasino-card-horizontal__title a:hover {
    text-decoration: underline;
}

.lebasino-card-horizontal__excerpt {
    font-size: 14px;
    color: rgba(var(--border-color-rgb), 0.75);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lebasino-card-horizontal .lebasino-card-footer {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 12px;
}

.lebasino-card-horizontal .lebasino-card-footer span {
    overflow: hidden;
    color: rgba(var(--border-color-rgb), 0.50);
    text-overflow: ellipsis;
    font-weight: 500;
}

.lebasino-card-horizontal .lebasino-card-footer i {
    margin-inline-end: 4px;
}

.lebasino-card-horizontal__readmore {
    margin-right: auto;
    color: var(--primary-color, #c83b3b);
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.lebasino-card-horizontal__readmore i {
    font-size: 12px;
    transform: scaleX(-1);
    /* فلش به سمت چپ */
    ;
}

.lebasino-card-horizontal__readmore:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .lebasino-card-horizontal {
        grid-template-columns: 1fr;
        /* یک ستون */
        min-height: auto;
    }

    .lebasino-card-horizontal__image {
        height: 175px;
    }
}

.post-style-1 .lebasino-card-horizontal__categories {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .lebasino-carousel {
        padding: 0 20px;
    }

    .post-style-1 .lebasino-card-horizontal__categories {
        display: flex;
    }

    .post-style-2 .lebasino-card-horizontal {
        flex-direction: row;
        height: auto;
        border-radius: 12px;
        background: #FFF;
        box-shadow: 0 4px 16px 0 rgba(var(--border-color-rgb), 0.10);
    }

    .post-style-2 .lebasino-card-horizontal__image {
        width: 100%;
        height: 100%;
    }

    .post-style-2 .lebasino-card-horizontal__title {
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
    }

    .post-style-2 .lebasino-card-horizontal__title::before {
        content: "";
        position: absolute;
        width: 4px;
        height: 100%;
    }

    .post-style-2 .lebasino-card-horizontal__categories,
    .post-style-2 .lebasino-card-horizontal__excerpt,
    .lebasino-card-horizontal__readmore {
        display: none;
    }

    .post-style-2 .lebasino-card-footer {
        border: none;
        justify-content: flex-end;
    }
}

.related-posts-header {
    border-bottom: 1px solid rgba(var(--border-color-rgb), 0.20);
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.related-posts-btn {
    display: inline-block;
    border-radius: 8px;
    border: 1px solid var(--primary-color, #c83b3b);
    background: rgba(217, 217, 217, 0.00);
    color: var(--primary-color, #c83b3b);
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.related-posts-btn:hover {
    background: var(--primary-color, #c83b3b);
    color: #fff;
}

.related-posts-slider-container {
    margin-top: 1rem;
}

.related-posts-swiper {
    padding: 15px 25px;
}

.related-posts-swiper .swiper-slide {
    padding: 10px;
}

.lebasino-sale-products-widget-container {
    padding: 0 30px;
}

/* Widget Header */
.blog-sidebar .widget.lebasino-sale-products-widget {
    border-radius: 16px;
    background: rgba(var(--border-color-rgb), 0.10);
    padding: 16px;
}

.lebasino-sale-products-widget-container .widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.lebasino-sale-products-widget-container .widget-title {
    font-size: 17px;
    font-weight: var(--font-weight-normal);
    color: var(--text-color);
    line-height: 180%;
    flex: 1;
    margin: 0;
}


/* Slider Wrapper */
.sale-products-slider-wrapper {
    position: relative;
    padding: 0 10px;
}

.sale-products-slider-wrapper .product-card .product-card-top .product-image img {
    aspect-ratio: 3 / 4;
    max-width: 100%;
    max-height: 100%;
}

.sale-products-slider-wrapper del .woocommerce-Price-amount .woocommerce-Price-currencySymbol,
.product-style-1 del .woocommerce-Price-amount .woocommerce-Price-currencySymbol {
    display: inline;
}

/* Navigation Arrows */
.sale-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--primary-color, #c83b3b);
    transition: all 0.3s ease;
}

.sale-slider-nav:hover {
    background: var(--primary-color, #c83b3b);
    color: #fff;
}

.sale-slider-prev {
    right: -30px;
}

.sale-slider-next {
    left: -30px;
}

.sale-slider-nav i {
    font-size: 0.8rem;
}

.sale-slider-nav.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Swiper Container */
.sale-products-swiper {}

.sale-products-swiper .swiper-slide {
    height: auto;
}

/**
 * Lebasino Social Media Widget Styles
 * استایل ویجت ما را دنبال کنید
 */

.lebasino-social-media-widget-container {
    position: relative;
    overflow: hidden;
}

/* Widget Header */
.lebasino-social-media-widget-container .widget-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    text-align: center;
}

.lebasino-social-media-widget-container .widget-title {
    font-size: 17px;
    font-weight: var(--font-weight-normal);
    color: #2c3e50;
    position: relative;
    margin: 0;
    text-align: start;
}

.lebasino-social-media-widget-container .widget-title i {
    color: var(--text-color);
    margin-right: 8px;
}

/* Social Media List */
.social-media-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.social-media-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    color: rgba(var(--border-color-rgb), 0.50);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Social Icon */
.social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    font-size: 1.2rem;
    color: var(--primary-color, #c83b3b);
    transition: all 0.3s ease;
}

.social-media-item:hover .social-icon {
    transform: scale(1.1);
}

/* Social Title */
.social-title {
    flex: 1;
    color: rgba(var(--border-color-rgb), 0.50);
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 180%;
}


/* Social Media Footer */
.social-media-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(var(--border-color-rgb), 0.15);
    text-align: center;
}

.follow-text {
    color: var(--text-color);
    font-size: 0.8rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.follow-text i {
    color: var(--error-color);
    margin-left: 5px;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    50%,
    100% {
        transform: scale(1);
    }

    25%,
    75% {
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .lebasino-social-media-widget-container {
        padding: 18px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .lebasino-social-media-widget-container {
        padding: 15px;
        margin-bottom: 20px;
    }

    .social-media-list {
        gap: 10px;
    }

    .social-media-item {
        padding: 8px 10px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        margin-left: 8px;
    }

    .social-title {
        font-size: 0.85rem;
    }

    .social-media-item:hover {
        transform: translateX(-3px);
    }
}

@media (max-width: 575.98px) {
    .social-media-item {
        padding: 6px 8px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        margin-left: 6px;
    }

    .social-title {
        font-size: 0.8rem;
    }

    .follow-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 767.98px) {

    [dir="rtl"] .social-media-item:hover {
        transform: translateX(3px);
    }
}

.logged-in-info {
    border-radius: 8px;
    background: rgba(var(--bs-primary-rgb), 0.10);
    border: 0;
}

/* ========================================
   LEBASINO MY ACCOUNT STYLES - ADVANCED & ISOLATED
   ======================================== */
.woocommerce-account .page-main-content,
.woocommerce-checkout .page-main-content {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

/* ========================================
   DASHBOARD CONTENT - ENHANCED
   ======================================== */

.woocommerce-account .lebasino-dashboard {
    direction: rtl;
    font-family: 'Peyda', sans-serif;
}

/* Dashboard Header - Premium Style */
.woocommerce-account .lebasino-dashboard .dashboard-header {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.woocommerce-account .lebasino-dashboard .dashboard-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: headerFlow 6s ease-in-out infinite alternate;
}

@keyframes headerFlow {
    0% {
        transform: translate(-20px, -20px) rotate(0deg);
        opacity: 0.3;
    }

    100% {
        transform: translate(20px, 20px) rotate(360deg);
        opacity: 0.6;
    }
}

.woocommerce-account .lebasino-dashboard .user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.woocommerce-account .lebasino-dashboard .user-avatar {
    flex-shrink: 0;
    position: relative;
}

.woocommerce-account .lebasino-dashboard .user-avatar::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
    z-index: 1;
}

.woocommerce-account .lebasino-dashboard .user-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.4);
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.woocommerce-account .lebasino-dashboard .user-details {
    flex: 1;
}

.woocommerce-account .lebasino-dashboard .user-name {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.woocommerce-account .lebasino-dashboard .user-status {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 25px;
    font-weight: var(--font-weight-bold);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Order Status Cards - Premium */
.woocommerce-account .lebasino-dashboard .order-status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.woocommerce-account .lebasino-dashboard .status-card {
    background: white;
    border-radius: 18px;
    padding: 30px 25px;
    box-shadow: 0 8px 25px rgba(var(--border-color-rgb), 0.08);
    border: 1px solid rgba(var(--border-color-rgb), 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.woocommerce-account .lebasino-dashboard .status-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    transition: all 0.6s ease;
}

.woocommerce-account .lebasino-dashboard .status-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(var(--border-color-rgb), 0.15);
}

.woocommerce-account .lebasino-dashboard .status-card:hover::before {
    right: 0;
}

.woocommerce-account .lebasino-dashboard .card-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.4s ease;
}

.woocommerce-account .lebasino-dashboard .status-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.woocommerce-account .lebasino-dashboard .status-card:nth-child(1) .card-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 50%, #ffa8a8 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.woocommerce-account .lebasino-dashboard .status-card:nth-child(2) .card-icon {
    background: linear-gradient(135deg, #4ecdc4 0%, #7fdbda 50%, #a0e7e5 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.4);
}

.woocommerce-account .lebasino-dashboard .status-card:nth-child(3) .card-icon {
    background: linear-gradient(135deg, #ff7675 0%, #fd9798 50%, #ffb3b3 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 118, 117, 0.4);
}

.woocommerce-account .lebasino-dashboard .status-card:nth-child(4) .card-icon {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 50%, #c7c2fe 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

.woocommerce-account .lebasino-dashboard .card-content h4 {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 10px 0;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.5px;
}

.woocommerce-account .lebasino-dashboard .card-number {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    display: block;
    line-height: 1;
}

/* Personal Information Section - Enhanced */
.woocommerce-account .lebasino-dashboard .personal-info-section {
    background: white;
    border-radius: 18px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(var(--border-color-rgb), 0.08);
    border: 1px solid rgba(var(--border-color-rgb), 0.06);
    position: relative;
}

.woocommerce-account .lebasino-dashboard .personal-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 18px 18px 0 0;
}

.woocommerce-account .lebasino-dashboard .section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 30px 0;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.woocommerce-account .lebasino-dashboard .section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

/* Form Styling - Premium */
.woocommerce-account .lebasino-dashboard .personal-info-form {
    width: 100%;
}

.woocommerce-account .lebasino-dashboard .form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.woocommerce-account .lebasino-dashboard .form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.woocommerce-account .lebasino-dashboard .form-group.half-width {
    flex: 1;
}

.woocommerce-account .lebasino-dashboard .form-group.full-width {
    width: 100%;
}

.woocommerce-account .lebasino-dashboard .form-group label {
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    color: #374151;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.woocommerce-account .lebasino-dashboard .form-group input,
.woocommerce-account .lebasino-dashboard .form-group textarea {
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.4s ease;
    background: #f9fafb;
    font-family: 'Peyda', sans-serif;
}

.woocommerce-account .lebasino-dashboard .form-group input:focus,
.woocommerce-account .lebasino-dashboard .form-group textarea:focus {
    border-color: var(--primary-color, #c83b3b);
    outline: none;
    background: white;
    box-shadow: 0 0 0 4px rgba(197, 48, 48, 0.1);
    transform: translateY(-2px);
}

.woocommerce-account .lebasino-dashboard .form-group input:focus+label,
.woocommerce-account .lebasino-dashboard .form-group textarea:focus+label {
    color: var(--primary-color, #c83b3b);
}

.woocommerce-account .lebasino-dashboard .form-group input[readonly],
.woocommerce-account .lebasino-dashboard .form-group textarea[readonly] {
    background: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
    border-color: #d1d5db;
}

.woocommerce-account .lebasino-dashboard .password-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f1f5f9;
    position: relative;
}

.woocommerce-account .password-section h3 {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: #333;
}

.woocommerce-account .lebasino-dashboard .password-section::before {
    content: '';
    position: absolute;
    top: -2px;
    right: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.woocommerce-account .lebasino-dashboard .password-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 25px 0;
}

/* Button Styling - Premium */
.woocommerce-account .lebasino-dashboard .form-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.woocommerce-account .lebasino-dashboard .btn {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    font-family: 'Peyda', sans-serif;
    position: relative;
    overflow: hidden;
}

.woocommerce-account .lebasino-dashboard .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.woocommerce-account .lebasino-dashboard .btn:hover::before {
    width: 300px;
    height: 300px;
}

.woocommerce-account .lebasino-dashboard .btn-primary {
    background: linear-gradient(135deg, var(--primary-color, #c83b3b) 0%, #e53e3e 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(197, 48, 48, 0.4);
}

.woocommerce-account .lebasino-dashboard .btn-primary:hover {
    background: linear-gradient(135deg, #9b2c2c 0%, var(--primary-color, #c83b3b) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 48, 48, 0.5);
}

.woocommerce-account .lebasino-dashboard .btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(107, 114, 128, 0.4);
}

.woocommerce-account .lebasino-dashboard .btn-secondary:hover {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    transform: translateY(-3px);
}

.woocommerce-account .lebasino-dashboard .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}

.woocommerce-account .lebasino-dashboard .btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-3px);
}

.woocommerce-account .lebasino-dashboard .btn-light {
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.woocommerce-account .lebasino-dashboard .btn-light:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
    transform: translateY(-2px);
}

/* Recent Orders Section - Enhanced */
.woocommerce-account .lebasino-dashboard .recent-orders-section {
    background: white;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(var(--border-color-rgb), 0.08);
    border: 1px solid rgba(var(--border-color-rgb), 0.06);
    position: relative;
}

.woocommerce-account .lebasino-dashboard .recent-orders-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 18px 18px 0 0;
}

.woocommerce-account .lebasino-dashboard .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.woocommerce-account .lebasino-dashboard .view-all-link {
    color: var(--primary-color, #c83b3b);
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    border: 2px solid transparent;
}

.woocommerce-account .lebasino-dashboard .view-all-link:hover {
    color: #9b2c2c;
    text-decoration: none;
    background: rgba(197, 48, 48, 0.1);
    border-color: rgba(197, 48, 48, 0.2);
    transform: translateY(-2px);
}

.woocommerce-account .lebasino-dashboard .orders-slider-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.woocommerce-account .lebasino-dashboard .order-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 25px;
    background: #fafafa;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.woocommerce-account .lebasino-dashboard .order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
}

.woocommerce-account .lebasino-dashboard .order-card:hover {
    box-shadow: 0 8px 25px rgba(var(--border-color-rgb), 0.12);
    transform: translateY(-5px);
    border-color: var(--primary-color, #c83b3b);
}

.woocommerce-account .lebasino-dashboard .order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.woocommerce-account .lebasino-dashboard .order-number {
    font-weight: 700;
    color: #1e293b;
    font-size: 16px;
}

.woocommerce-account .lebasino-dashboard .order-status {
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-account .lebasino-dashboard .status-completed {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #16a34a;
    border: 1px solid #a3e635;
}

.woocommerce-account .lebasino-dashboard .status-processing {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    color: #d97706;
    border: 1px solid #f59e0b;
}

.woocommerce-account .lebasino-dashboard .status-pending {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
    border: 1px solid #f87171;
}

.woocommerce-account .lebasino-dashboard .order-items {
    margin-bottom: 20px;
}

.woocommerce-account .lebasino-dashboard .order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.woocommerce-account .lebasino-dashboard .order-item:hover {
    background: #f8fafc;
    transform: translateX(5px);
}

.woocommerce-account .lebasino-dashboard .item-image {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #f3f4f6;
}

.woocommerce-account .lebasino-dashboard .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.woocommerce-account .lebasino-dashboard .item-details h5 {
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    margin: 0 0 4px 0;
    color: #1e293b;
}

.woocommerce-account .lebasino-dashboard .item-quantity {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.woocommerce-account .lebasino-dashboard .order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.woocommerce-account .lebasino-dashboard .order-total {
    font-weight: 700;
    color: var(--primary-color, #c83b3b);
    font-size: 18px;
}

.woocommerce-account .lebasino-dashboard .order-date {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.woocommerce-account .lebasino-dashboard .no-orders {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    padding: 60px 0;
    font-size: 16px;
}

/* ========================================
   RESPONSIVE DESIGN - ENHANCED
   ======================================== */

@media (max-width: 1199.98px) {

    .woocommerce-account .lebasino-dashboard .order-status-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 991.98px) {
    .woocommerce-account .account_section {
        padding: 30px 0;
    }

    .woocommerce-account .account_content_area {
        padding: 25px;
    }

    .woocommerce-account .lebasino-account-sidebar {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .woocommerce-account .lebasino-dashboard .dashboard-header {
        padding: 20px;
    }

    .woocommerce-account .lebasino-dashboard .user-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .woocommerce-account .lebasino-dashboard .user-avatar img {
        width: 70px;
        height: 70px;
    }

    .woocommerce-account .lebasino-dashboard .user-name {
        font-size: 22px;
    }

    .woocommerce-account .lebasino-dashboard .order-status-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .woocommerce-account .lebasino-dashboard .status-card {
        padding: 20px 15px;
    }

    .woocommerce-account .lebasino-dashboard .card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .woocommerce-account .lebasino-dashboard .card-number {
        font-size: 26px;
    }

    .woocommerce-account .lebasino-dashboard .personal-info-section,
    .woocommerce-account .lebasino-dashboard .recent-orders-section {
        padding: 25px;
    }

    .woocommerce-account .lebasino-dashboard .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .woocommerce-account .lebasino-dashboard .form-actions {
        flex-direction: column;
        gap: 15px;
    }

    .woocommerce-account .lebasino-dashboard .orders-slider-container {
        grid-template-columns: 1fr;
    }

    .woocommerce-account .lebasino-dashboard .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .woocommerce-account .account_section {
        padding: 20px 0;
    }

    .woocommerce-account .account_content_area {
        padding: 20px;
        border-radius: 12px;
    }

    .woocommerce-account .lebasino-dashboard .dashboard-header {
        padding: 15px;
        border-radius: 12px;
    }

    .woocommerce-account .lebasino-dashboard .personal-info-section,
    .woocommerce-account .lebasino-dashboard .recent-orders-section {
        padding: 20px;
        border-radius: 12px;
    }

    .woocommerce-account .lebasino-dashboard .status-card {
        border-radius: 12px;
    }

    .woocommerce-account .lebasino-dashboard .btn {
        min-width: 120px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .woocommerce-account .lebasino-account-sidebar .account-nav-link {
        padding: 14px 18px;
        font-size: 14px;
    }

    .woocommerce-account .lebasino-account-sidebar .nav-icon {
        width: 20px;
        height: 20px;
    }

    .woocommerce-account .lebasino-account-sidebar .nav-icon::before {
        font-size: 14px;
    }
}

/* ========================================
   Page Settings Based Styles
   ======================================== */

/* No sidebar layout */
.no-sidebar .page-main-content {
    max-width: 100%;
}

/* Hide title when disabled */
.no-page-title .blog-header-section {
    display: none;
}

/* Hide breadcrumb when disabled */
.no-breadcrumb .breadcrumb-section {
    display: none;
}

/* Sidebar positioning */
.sidebar-left .page-sidebar {
    order: -1;
}

.sidebar-right .page-sidebar {
    order: 1;
}

/* Page sidebar styling */
.page-sidebar {
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.page-sidebar .widget {
    margin-bottom: 2.5rem;
    padding: 20px;
    border-radius: 24px;
    background: #FFF;
    box-shadow: 0 8px 32px 0 rgba(var(--border-color-rgb), 0.10);
}

.page-sidebar .widget:last-child {
    margin-bottom: 0;
}

.page-sidebar .widget-title {
    font-size: 17px;
    font-weight: var(--font-weight-normal);
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Mobile responsive for page settings */
@media (max-width: 768px) {
    .has-sidebar .row {
        flex-direction: column;
    }

    .page-sidebar {
        position: static;
        margin-bottom: 2rem;
    }

    .sidebar-left .page-sidebar,
    .sidebar-right .page-sidebar {
        order: 0;
    }
}

/* ========================================
   LEBASINO MY ACCOUNT STYLES - MODERN & MINIMAL
   ======================================== */
/* Mobile Navigation Toggle */
.woocommerce-account .mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.woocommerce-account .mobile-nav-toggle span {
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

/* Account Container */
.woocommerce-account .account-container {
    display: grid;
    grid-template-columns: 304px 1fr;
    gap: 40px;
    align-items: start;
}

.woocommerce-account .lebasino-account-sidebar {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    position: sticky;
    top: 20px;
    overflow: hidden;
}

.woocommerce-account .lebasino-sidebar-logo {
    padding: 20px;
    padding-top: 60px;
    margin-bottom: 10px;
    text-align: center;
}

.woocommerce-account .lebasino-sidebar-logo:before {
    background: #1e3a56;
    text-align: center;
    margin-bottom: 0;
    content: "";
    width: 100%;
    height: 34px;
    position: absolute;
    top: 0;
    left: 0;
}

.woocommerce-account .lebasino-sidebar-logo h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
}

.woocommerce-account .lebasino-account-navigation {
    display: flex;
    flex-direction: column;
    padding: 0 20px 40px;
    gap: 10px;
}

.woocommerce-account .lebasino-nav-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    text-decoration: none;
    color: rgba(var(--border-color-rgb), 0.80);
    border-radius: 8px;
    border: 1px solid rgba(var(--border-color-rgb), 0.30);
    transition: all 0.2s ease;
    background: #FFF;
    font-size: 16px;
    font-weight: 500;
}

.woocommerce-account .lebasino-nav-item:hover {
    background: var(--primary-color, #c83b3b);
    color: #fff;
    text-decoration: none;
}

.lebasino-sheet-item-icon {
    line-height: 1;
}

.lebasino-sheet-item-icon img {
    transition: filter 0.3s ease;
}

.woocommerce-account .lebasino-nav-item:hover .lebasino-sheet-item-icon img,
.woocommerce-account .lebasino-nav-item.current .lebasino-sheet-item-icon img {
    filter: brightness(0) invert(1);
}

.woocommerce-account .lebasino-nav-item.current {
    background: var(--primary-color, #c83b3b);
    color: white;
}

.woocommerce-account .lebasino-nav-item i {
    margin-left: 12px;
    font-size: 24px;
}

/* Main Content */
.woocommerce-account .account-content {
    padding: 16px;
    padding-top: 0;
}

/* Dashboard Header like the image */
.woocommerce-account .lebasino-dashboard-header {
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    background: #FFF;
    box-shadow: 0 8px 32px 0 rgba(var(--border-color-rgb), 0.10);
    padding: 24px;
    align-items: stretch;
    border-radius: 24px;
    gap: 28px;
    flex-direction: column;
}

.woocommerce-account .lebasino-user-welcome {
    display: flex;
    align-items: center;
    gap: 16px;
}

.woocommerce-account .lebasino-user-avatar {
    position: relative;
}

.woocommerce-account .lebasino-user-avatar img {
    max-width: 68px;
    max-height: 68px;
    border-radius: 50%;
}

.woocommerce-account .lebasino-notification-badge {
    position: relative;
    margin-right: auto;
}

.woocommerce-account .lebasino-notification-badge i.fal {
    font-size: 22px;
    color: #9B9CA4;
}

.woocommerce-account .lebasino-notification-badge .count {
    position: absolute;
    top: -11px;
    right: -5px;
    background: var(--primary-color, #c83b3b);
    color: #fff;
    width: 18px;
    height: 18px;
    font-weight: 300;
    border-radius: 50%;
    padding: 5px;
    line-height: 9px;
    font-size: 12px;
    text-align: center;
}

.lebasino-notification-badge i.fa-bell {
    display: inline-block;
    transform-origin: top center;
    animation: bell-ring 1s infinite;
}

.lebasino-notification-badge.no-dance i.fa-bell {
    animation: none;
}

.woocommerce-account .lbn-header-actions {
    display: flex;
    align-items: center;
    margin-right: auto;
    gap: 10px;
}

.woocommerce-account .lbn-header-actions .lbn-settings-btn {
    color: #9B9CA4;
    font-size: 26px;
    line-height: 1;
}

/* تعریف کلیدهای انیمیشن */
@keyframes bell-ring {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-10deg);
    }

    30% {
        transform: rotate(15deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(-5deg);
    }

    70% {
        transform: rotate(5deg);
    }

    80% {
        transform: rotate(-2deg);
    }

    90% {
        transform: rotate(2deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.woocommerce-account .lebasino-user-info h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: #333;
}

.woocommerce-account .lebasino-user-id {
    font-size: 12px;
    color: var(--text-color);
}

/* Stats Grid exactly like the image */
.woocommerce-account .lebasino-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.woocommerce-account .lebasino-stat-card {
    border: 1px solid rgba(var(--border-color-rgb), 0.1);
    padding: 24px 12px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.woocommerce-account .lebasino-stat-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(155, 156, 164, 1);
    font-size: 30px;
    position: relative;
}

.woocommerce-account .lebasino-stat-label {
    font-size: 14px;
    color: rgba(var(--border-color-rgb), 1);
    font-weight: 500;
    align-items: center;
    display: flex;
    text-align: right;
    gap: 5px;
}

.recent-order-products {
    position: relative;
    max-width: 100%;
}

.recent-orders-section ul.products {
    padding: 20px 10px !important;
}

.recent-orders-section .slider-navigation {
    display: flex;
    gap: 10px;
}

.recent-orders-section .slider-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border: 1px solid var(--primar-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.recent-orders-section .slider-btn:hover {
    background-color: var(--primary-color, #c83b3b);
    border-color: var(--primary-color, #c83b3b);
    color: #fff;
}

.recent-orders-section .slider-btn i {
    font-size: 14px;
    color: var(--primary-color, #c83b3b);
}

.recent-orders-section .slider-btn:hover i {
    font-size: 14px;
    color: #fff;
}

.woocommerce-account .lebasino-stat-label .card-number {
    background: rgba(var(--primary-color-rgb), 1);
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #fff;
    height: 20px;
    width: 20px;
    text-align: center;
    border-radius: 8px;
}

/* Personal Info Section */
.woocommerce-account .personal-info-section {
    background: #FFF;
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(var(--border-color-rgb), 0.10);
}

.woocommerce-account .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.woocommerce-account .section-header h3 {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: #333;
    margin: 0;
}

.woocommerce-account .edit-btn {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
}

/* Form Styles */
.woocommerce-account .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.woocommerce-account .form-group {
    display: flex;
    flex-direction: column;

}

.woocommerce-account .form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.woocommerce-account .form-group input {
    padding: 12px;
    border: 1px solid rgba(var(--border-color-rgb), 0.40);
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    transition: all 0.2s ease;
}

.woocommerce-account .form-group input:focus {
    outline: none;
    border-color: var(--primary-color, #c83b3b);
    background: white;
}

.woocommerce-account .form-group input[readonly] {
    background: #f8f9fa;
    color: var(--text-color);
}

/* Password Section */
.woocommerce-account .password-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.woocommerce-account .password-toggle {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 16px;
}

.woocommerce-account .password-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

/* Recent Orders Section */
.woocommerce-account .recent-orders-section {
    margin-top: 32px;
    background: #fff;
    padding: 24px;
    border-radius: 24px;
    box-shadow: var(--box-shadow);
}

.woocommerce-account .view-all-link {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.woocommerce-account .view-all-link:hover {
    text-decoration: none;
}

.woocommerce-account .orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.woocommerce-account .order-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.woocommerce-account .order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .woocommerce-account .mobile-nav-toggle {
        display: flex;
    }

    .woocommerce-account .account-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .woocommerce-account .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Order Tracking Page in My Account */
.my-account-wrapper .lebasino-order-tracking-widget-wrapper {
    flex-direction: column;
    align-items: normal;
    width: 100%;
}

.my-account-wrapper .lebasino-tracking-form-column,
.my-account-wrapper .lebasino-tracking-result-column {
    width: 100%;
}

.my-account-wrapper .tracking-form-container {
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.my-account-wrapper .tracking-form-container h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-color, #242B3D);
}

.my-account-wrapper .tracking-form-container p {
    font-size: 14px;
    color: rgba(var(--border-color-rgb), 0.7);
    margin-bottom: 20px;
}

.my-account-wrapper #lebasino-order-tracking-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.my-account-wrapper #lebasino-order-tracking-form .form-group:not(.submit-group) {
    flex: 1 1 calc(50% - 10px);
    min-width: 220px;
    margin-bottom: 0;
}

.my-account-wrapper #lebasino-order-tracking-form .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color, #242B3D);
    margin-bottom: 8px;
}

.my-account-wrapper #lebasino-order-tracking-form .form-group input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1.5px solid rgba(var(--border-color-rgb), 0.25);
    background-color: rgba(var(--border-color-rgb), 0.03);
    color: var(--text-color, #242B3D);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.my-account-wrapper #lebasino-order-tracking-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-color, #C83B3B);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.12);
}

.my-account-wrapper #lebasino-order-tracking-form .form-group input[readonly] {
    background-color: rgba(var(--border-color-rgb), 0.08);
    color: rgba(var(--text-color-rgb), 0.7);
    cursor: not-allowed;
    border-color: rgba(var(--border-color-rgb), 0.15);
}

.my-account-wrapper #lebasino-order-tracking-form .form-group.submit-group {
    flex: 0 0 100%;
    width: 100%;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.my-account-wrapper .lebasino-submit-btn {
    height: 46px;
    padding: 0 26px;
    border-radius: 12px;
    background-color: var(--primary-color, #C83B3B);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.my-account-wrapper .lebasino-submit-btn:hover {
    background-color: var(--primary-dark, #a73030);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.25);
}

.my-account-wrapper .lebasino-tracking-result-column {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px dashed rgba(var(--border-color-rgb), 0.25);
    width: 100%;
}

.lebasino-tracking-message {
    margin-top: 16px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
    background-color: rgba(56, 120, 215, 0.08);
    color: #3878D7;
    border: 1px solid rgba(56, 120, 215, 0.2);
}

.lebasino-tracking-message.error {
    background-color: rgba(200, 59, 59, 0.08);
    color: var(--primary-color, #C83B3B);
    border: 1px solid rgba(200, 59, 59, 0.2);
}

.addresses .woocommerce-Address {
    border-radius: 16px;
    border: 1.5px solid rgba(var(--border-color-rgb), 0.30);
    background: #FFF;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.2s ease;
}

.woocommerce-Address .address-icon {
    border-radius: 8px;
    background: rgba(var(--border-color-rgb), 0.10);
    padding: 10px;
    color: var(--text-color);
}

.woocommerce-account .addresses .title h3 {
    float: right;
    font-size: 16px;
    line-height: 2;
    font-weight: 500;
    margin: 0;
    color: var(--text-color);
}

.edit-address h3 {
    font-size: 18px;
    line-height: 1.6;
    font-weight: var(--font-weight-normal);
    color: var(--text-color);
}

.woocommerce-account .addresses {
    margin: 0;
    color: rgba(var(--border-color-rgb), 0.75);
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    line-height: 180%;
    /* 25.2px */
    ;
}

.woocommerce-account .addresses .woocommerce-Address:hover {
    border-color: var(--primary-color, #c83b3b);
}

.woocommerce-account .addresses .woocommerce-Address:hover .address-icon {
    background: var(--primary-color, #c83b3b);
    color: #fff;
}

.woocommerce-account .addresses .woocommerce-Address:hover .edit-address-btn {
    background: var(--primary-color, #c83b3b);
    color: #fff;
}

.woocommerce-account .addresses .edit-address-btn {
    color: var(--text-color);
    border: none;
    background: rgba(var(--border-color-rgb), 0.10);
    font-weight: 400;
}

.lebasino-trigger {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 20px;
    z-index: 9990;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--primary-color, #c83b3b);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(var(--border-color-rgb), 0.2);
    transition: all 0.3s ease;
    min-width: auto;
}

.lebasino-trigger:hover {
    box-shadow: 0 6px 25px rgba(var(--border-color-rgb), 0.4);
}

.lebasino-trigger i:first-child {
    font-size: 16px;
}

.lebasino-trigger i:last-child {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.lebasino-trigger.active i:last-child {
    transform: rotate(180deg);
}

/* Bottom Sheet Overlay */
.lebasino-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lebasino-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Bottom Sheet */
.lebasino-sheet-navigation {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 85vh;
    max-height: 700px;
    background: white;
    border-radius: 24px 24px 0 0;
    z-index: 9999;
    transition: bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: none;
}

.lebasino-sheet-navigation.active {
    bottom: 0;
}

.lebasino-header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    position: relative;
    justify-content: center;
    margin-bottom: 5px;
}

.lebasino-nav-text {
    font-size: 16px;
    margin-bottom: 2px;
    font-weight: 500;
}

.lebasino-close {
    margin-right: auto;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lebasino-close:hover {
    background: var(--primary-color, #c83b3b);
    color: white;
    transform: rotate(90deg);
}

/* Handle Scrollbar */
.lebasino-account-navigation::-webkit-scrollbar {
    width: 4px;
}

.lebasino-account-navigation::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.lebasino-account-navigation::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 2px;
}

/* نمایش در موبایل */
@media (max-width: 768px) {
    .lebasino-trigger {
        display: flex;
    }

    /* در موبایل سایدبار اصلی مخفی می‌شود */
    .lebasino-account-sidebar:not(.lebasino-sheet-navigation .lebasino-account-sidebar) {
        display: none;
    }

    /* نمایش bottom sheet در موبایل */
    .lebasino-sheet-navigation {
        display: block;
        height: auto;
    }

    /* استایل‌های خاص برای محتوای داخل bottom sheet */
    .lebasino-sheet-navigation .lebasino-account-sidebar {
        display: block;
        height: 100%;
        box-shadow: none;
    }

    .lebasino-sheet-navigation .lebasino-sidebar-logo {
        display: none;
    }
}

@media (min-width: 769px) {

    .lebasino-trigger,
    .lebasino-overlay,
    .lebasino-header {
        display: none !important;
    }

    .lebasino-sheet-navigation {
        position: relative;
        display: block;
        box-shadow: 0 8px 32px rgba(var(--border-color-rgb), 0.2);
        height: 100%;
        border-radius: 16px;
    }

    .lebasino-account-sidebar {
        display: block;
    }
}


/* Lebasino Wishlists */
.lebasino-wishlist-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.lebasino-wishlist-item {
    border-radius: 16px;
    border: 1.5px solid rgba(var(--border-color-rgb), 0.30);
    display: flex;
    padding: 20px;
    align-items: center;
    gap: 20px;
}

.lebasino-wishlist-details h4 {
    color: #3F3F3F;
    font-size: 18px;
    font-weight: 500;
}

.lebasino-wishlist-actions {
    margin-right: auto;
    gap: 10px;
    display: flex;
}

.lebasino-wishlist-image {
    max-width: 80px;
}

.lebasino-wishlist-image img {
    border-radius: 8px;
}

.lebasino-wishlist-pagination {
    margin-top: 30px;
    padding-top: 20px;
}

.lebasino-wishlist-pagination .pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    --bs-pagination-font-size: 1rem;
    --bs-pagination-color: rgba(var(--border-color-rgb), 0.5);
    --bs-pagination-bg: #fff;
    --bs-pagination-border-color: rgba(var(--border-color-rgb), 0.5);
    --bs-pagination-border-radius: 8px;
    --bs-pagination-hover-color: #fff;
    --bs-pagination-hover-bg: rgba(var(--bs-primary-rgb), 1));
    --bs-pagination-hover-border-color: rgba(var(--bs-primary-rgb), 1);
    --bs-pagination-focus-color: #fff;
    --bs-pagination-focus-bg: rgba(var(--bs-primary-rgb), 1));
    --bs-pagination-focus-box-shadow: none;
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: rgba(var(--bs-primary-rgb), 1);
    --bs-pagination-active-border-color: rgba(var(--bs-primary-rgb), 1);
}

.lebasino-wishlist-pagination .page-item.active .page-link {
    background-color: rgba(var(--bs-primary-rgb), 1);
    border-color: rgba(var(--bs-primary-rgb), 1);
    color: #fff;
}

.lebasino-wishlist-pagination .page-link {
    color: rgba(var(--border-color-rgb), 0.5);
    border-color: rgba(var(--border-color-rgb), 0.5);
    border-radius: 8px;
    padding: 8px 16px;
}

.lebasino-wishlist-pagination .page-link:hover {
    color: #fff;
    background: rgba(var(--bs-primary-rgb), 1);
    border-color: rgba(var(--bs-primary-rgb), 1);
}

.empty-wishlists {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    gap: 15px;
}

.empty-wishlists .empty-wishlists-icon {
    background: rgba(var(--border-color-rgb), 0.1);
    padding: 16px;
    border-radius: 8px;
    color: var(--text-color);
    font-size: 45px;
    line-height: 1;
}

.empty-wishlists p {
    font-weight: 500;
    font-size: 18px;
}

.my-account-wrapper .orders-list {
    display: flex;
    flex-direction: column;
}

.my-account-wrapper .orders-header {
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 16px 0 rgba(var(--border-color-rgb), 0.10);
}

.my-account-wrapper .orders-header>.col:not(:last-child),
.my-account-wrapper .order-card>.col:not(:last-child) {
    border-left: 1px dashed rgba(var(--border-color-rgb), 0.20);
}

.my-account-wrapper .order-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 1rem 0;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border-radius: 16px;
    text-align: center;
    border: 1.5px solid rgba(var(--border-color-rgb), 0.30);
}

.my-account-wrapper .order-card:hover {
    border-color: var(--primary-color, #c83b3b);
    transform: none;
}

.my-account-wrapper .order-card .order-column-order-number a {
    color: var(--text-color);
}

.my-account-wrapper .order-card .col {
    width: 100%;
    margin-bottom: 0.5rem;
}

.my-account-wrapper .order-card .col::before {
    content: attr(data-title);
    font-weight: var(--font-weight-bold);
    display: inline-block;
    width: 120px;
    margin-right: 0.5rem;
    color: #555;
}

@media (min-width: 576px) {
    .order-card .col::before {
        content: none;
    }
}

.my-account-wrapper .order-actions a {
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
}

/* Tab Responsive */
.tab-responsive-order-list .dropdown-menu a {
    cursor: pointer;
}

/* Scroll horizonal on small screens */
.orders-list {
    overflow-x: auto;
}

@media (min-width: 576px) {
    .my-account-wrapper .orders-header {
        display: flex;
        font-weight: var(--font-weight-bold);
        padding: 16px 0;
    }

    .my-account-wrapper .orders-header .col {
        flex: 1;
        text-align: center;
    }

    .my-account-wrapper .order-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .my-account-wrapper .order-card .col {
        flex: 1;
        margin-bottom: 0;
        padding: 0 0.5rem;
    }

    .my-account-wrapper .order-card .col::before {
        content: none;
    }
}

.lebasino-orders-title {
    font-size: 18px;
    font-weight: 500;
}

.lebasino-orders-title .order-status {
    color: #fff;
    font-weight: 500;
}

/* تغییر رنگ پس‌زمینه بر اساس وضعیت سفارش */
.lebasino-orders-title .order-status.pending {
    background-color: #ffc107;
    /* زرد */
    ;
}

.lebasino-orders-title .order-status.processing {
    background-color: #0d6efd;
    /* آبی */
    ;
}

.lebasino-orders-title .order-status.completed {
    background-color: #198754;
    /* سبز */
    ;
}

.lebasino-orders-title .order-status.cancelled,
.lebasino-orders-title .order-status.refunded,
.lebasino-orders-title .order-status.failed {
    background-color: #dc3545;
    /* قرمز */
    ;
}

.lebasino-orders-title .order-date {
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--primary-color, #c83b3b);
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    padding: 8px 10px;
    border-radius: 4px;
}

.lebasino-orders-title .order-id {
    font-size: 14px;
    color: var(--primary-color, #c83b3b);
    font-weight: var(--font-weight-bold);
    margin-right: 5px;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
}

.order-items-header {
    font-size: 1rem;
    color: #333;
    text-align: center;
    border-radius: 8px;
    border: 1.5px solid rgba(var(--border-color-rgb), 0.30);
    background: #FFF;
}

.order-items-content {
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border: 1px solid rgba(var(--border-color-rgb), 0.3) !important;
}

.order-items-content .order-item .product-name {

    color: rgba(var(--text-color-rgb), 0.50);

}

.order-column-order-total .woocommerce-Price-currencySymbol {
    display: none;
}

.order-item {
    background-color: #fff;
    transition: background-color .2s ease;
}

.order-item>div:not(:last-child),
.order-items-header>div:not(:last-child),
.lebasino-coupons-header>div:not(:last-child),
.lebasino-coupons-list .coupon-row>div:not(:last-child) {
    border-left: 1px dashed rgba(var(--border-color-rgb), 0.5);
}

.order-item:hover {
    background-color: #f8f9fa;
}


.order-item .product-total {
    font-weight: 500;
    white-space: nowrap;
}

.order-item-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e9ecef;
    background: #fff;
}

.order-item .product-info {
    overflow: hidden;
}

.order-item .product-name {
    width: 100%;
    font-size: 16px;
    margin-left: 0.5rem;
}

.order-item-header {
    margin-bottom: 30px;
}

.order-summary span {
    color: rgba(var(--border-color-rgb), 0.75);
    font-size: 16px;
}

.order-view .woocommerce-Address .address-icon {
    background: var(--primary-color, #c83b3b);
}

.order-view .woocommerce-Address .woocommerce-Address-title {
    color: var(--text-color);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
}

.woocommerce-Address-title h3 {
    font-size: 16px;
}

.lebasino-coupons-header {
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0 4px 16px 0 rgba(var(--border-color-rgb), 0.10);
    font-size: 0.9rem;
}

.coupon-row {
    transition: all 0.2s ease-in-out;
    border-radius: 16px;
    border: 1.5px solid rgba(var(--border-color-rgb), 0.30);
    background: rgba(255, 255, 255, 0.10);
}

.coupon-row:hover {
    border-color: var(--primary-color, #c83b3b);
}

/* حالت موبایل */
@media (max-width: 767px) {
    .lebasino-coupons-header {
        display: none !important;
    }

    .coupon-row {
        flex-direction: column !important;
        text-align: right;
        padding: 12px;
    }

    .coupon-row>div {
        width: 100%;
        padding: 5px 0;
        text-align: right !important;
        position: relative;
    }

    .coupon-row>div::before {
        content: attr(data-label);
        font-weight: var(--font-weight-bold);
        color: #777;
        display: inline-block;
        min-width: 100px;
    }
}

.announcement-item {
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border-radius: 16px;
    border: 1.5px solid rgba(var(--border-color-rgb), 0.30);
    background: rgba(255, 255, 255, 0.10);
}

.announcement-item.unread {
    border-color: var(--primary-color, #c83b3b);
}

.announcement-item.read {
    background-color: #fff;
    opacity: 0.8;
}

.announcement-header {
    display: flex;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    justify-content: space-between;
}

.announcement-header .announcement-header-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.announcement-title {
    margin: 0;
    font-size: 16px;
    flex-grow: 1;
}

.announcement-date {
    font-size: 13px;
    color: #777;
    margin-left: 20px;
}

.announcement-actions .announcement-toggle {}

.announcement-content {
    padding: 0 20px;
    overflow: hidden;
    transition: all 0.5s ease-out;
}

.announcement-content .content-inner {
    padding: 20px 0;
    border-top: 1px dashed #eee;
}

.announcement-content .content-actions,
.announcement-actions {
    display: flex;
    gap: 10px;
}

.announcement-content .content-actions .mark-as-read-btn,
.announcement-content .content-actions .view-full-btn {
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 3px;
    border: 1px solid;
}

.announcement-actions .mark-as-read-btn {
    display: none;
}

.announcement-item.unread .announcement-actions .mark-as-read-btn {
    display: block;
}

.announcement-content .content-actions .view-full-btn {
    background-color: #008CBA;
    color: white;
    border-color: #008CBA;
}

span.announcement-count {
    background-color: #d63638;
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

/* Styles for header-group */

.elementor-header-group-wrapper .header-group-action {
    display: flex;
    align-items: center;
    padding-left: 0;
    gap: 15px;
}

.elementor-header-group-wrapper .header-group-action>div {
    position: relative;
    text-align: center;
    width: 100%;
    border-inline-end: 1px solid rgba(var(--border-color-rgb), 0.20);
    padding-inline-end: 10px;
}

.elementor-header-group-wrapper .header-group-action>div:first-child {
    margin-right: 0;
    padding-inline-start: 0;
}

.elementor-header-group-wrapper .header-group-action>div:last-child {
    margin-left: 0;
    border-inline-end: none;
    padding-inline-end: 0;
    padding-inline-start: 10px;
    margin-inline-end: 0;
}

.elementor-header-group-wrapper .header-group-action>div a {
    display: flex;
    gap: 8px;
    flex-direction: row;
    justify-content: flex-start;
    color: var(--text-color) !important;
    align-items: center;
    min-width: 140px;
}

.account-link .user-avatar {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
}

.account-link .user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.account-link .label {
    /*flex: 1 1 auto;*/
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.account-link .dropdown-icon {
    flex: 0 0 auto;
    font-size: 12px;
}

.header-group-action>a {
    width: 100%;
    max-width: 100%;
}

.header-group-action .site-header-cart .cart-value .woocommerce-Price-amount {
    color: var(--text-color) !important;
    text-align: right;
    font-size: 14px;
    font-weight: var(--font-weight-normal);
}

.header-group-action .site-header-cart .cart-value .woocommerce-Price-amount bdi {
    display: inline-flex
}

.header-group-action .site-header-cart .cart-value .woocommerce-Price-amount .currency-symbol-text {
    display: block;
}

.header-group-action .site-header-cart .cart-value .woocommerce-Price-amount .woocommerce-Price-currencySymbol img {
    display: inline-block;
    vertical-align: middle;
    width: 14px;
    height: 13px;
}

.elementor-header-group-wrapper .header-group-action .site-header-cart .cart-contents {
    display: flex;
    align-items: center;
    width: 100%;
}

.elementor-header-group-wrapper .site-header-account a {
    position: relative;
}

.elementor-header-group-wrapper .site-header-account a .account-content {
    display: none;
}

.elementor-header-group-wrapper .site-header-account a .avatar {
    border-radius: 32px;
    border: 2px solid #FFF;
    ;
    box-shadow: 0 0 0 1px var(--primary-color, #c83b3b);
}


.elementor-header-group-wrapper .site-header-account a span.label {
    color: var(--text-color);
    font-weight: var(--font-weight-normal);
    font-size: 14px;
}

.account-dropdown {
    position: absolute;
    top: 35px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, transform 0.2s ease-in-out;
    filter: drop-shadow(0 4px 16px rgba(var(--border-color-rgb), 0.10));
    padding: 15px 10px;
    border-radius: 16px;
}

.account-dropdown:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    top: -6px;
    right: 10px;
    z-index: 1001;
}

.account-dropdown.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.account-dashboard {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.account-dashboard li {
    text-align: right;
    padding: 10px 5px;
    transition: all 0.2s;
}

.account-dashboard li a {
    color: var(--text-color);
    font-size: 14px;
    font-style: normal;
    font-weight: var(--font-weight-normal);
    line-height: normal;
}

.account-dashboard li:hover {
    border-radius: 4px;
    background: rgba(var(--bs-primary-rgb), 0.10);
}

.account-dashboard li:hover a {
    color: var(--primary-color, #c83b3b) !important;
}

.header-group-action .site-header-wishlist .wishlist-icon {
    position: relative;
}

.header-group-action .site-header-wishlist a i,
.site-header-cart a>i {
    font-size: 24px;
    color: var(--primary-color, #c83b3b);
}

.header-group-action .site-header-wishlist a span.label {
    color: var(--text-color);
    font-size: 14px;
    font-style: normal;
    font-weight: var(--font-weight-normal);
    line-height: normal;
}

@media (max-width: 768px) {
    .header-group-action .site-header-cart .cart-value {
        display: none;
    }
}

/* ==========================================================================
   Mini Cart Styles - Based on new HTML structure
   ========================================================================== */

/* --- Main Wrapper & Trigger --- */
.lbn-header-cart-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.lbn-header-cart-wrapper .cart-contents {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    min-width: auto !important;
}

/*.lbn-header-cart-wrapper .cart-contents .fa-bag-shopping {*/
/*    font-size: 24px;*/
/*}*/

.lbn-header-cart-wrapper .cart-contents .count,
.header-group-action .site-header-wishlist .count {
    position: absolute;
    top: -8px;
    right: -12px;
    /* Position relative to the bag icon */
    background-color: var(--primary-color, #c83b3b);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    padding: 0 3px;
    box-sizing: border-box;
}

/* --- Dropdown Panel --- */
.lbn-mini-cart-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    transform: translateX(50%);
    width: 360px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(var(--border-color-rgb), 0.10);
    z-index: 1001;
    overflow: hidden;
    display: none;
}

/* --- Dropdown Header --- */
.lbn-mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.lbn-cart-title {
    font-weight: bold;
    font-size: 16px;
    color: #222;
}

.lbn-close-mini-cart {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    padding: 0;
}

.lbn-close-mini-cart:hover {
    color: var(--text-color);
}

/* --- Dropdown Body & Items --- */
.lbn-mini-cart-body {
    max-height: 380px;
    /* Adjust as needed */
    overflow-y: auto;
}

/* Scrollbar styling */
.lbn-mini-cart-body::-webkit-scrollbar {
    width: 5px;
}

.lbn-mini-cart-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.lbn-mini-cart-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 5px;
}

.lbn-mini-cart-body::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.lbn-cart-item {
    display: flex;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
    align-items: center;
    transition: opacity 0.3s ease;
}

.lbn-cart-item:last-child {
    border-bottom: none;
}

.lbn-item-thumbnail img {
    max-width: 70px !important;
    height: auto;
    border-radius: 8px !important;
    border: 1px solid #eee important;
}

.lbn-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.lbn-item-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
    text-align: right;
}

.lbn-item-price {
    font-size: 13px;
    margin-bottom: 10px;
}

.lbn-item-quantity {
    display: flex;
    align-items: center;
}

.lbn-qty-btn {
    width: 26px;
    height: 26px;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    font-weight: bold;
    color: #555;
    border-radius: 3px;
}

.lbn-qty-input {
    width: 40px;
    height: 26px;
    text-align: center;
    border-left: none;
    border-right: none;
    -moz-appearance: textfield;
    font-size: 14px;
    font-weight: 500;
    direction: rtl;
}

.lbn-qty-input::-webkit-outer-spin-button,
.lbn-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.lbn-item-remove .lbn-remove-btn {
    background-color: var(--error-color);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 32px;
    text-align: center;
    transition: background-color 0.2s ease;
}

.lbn-item-remove .lbn-remove-btn:hover {
    background-color: #c0392b;
}

.lbn-item-remove .lbn-remove-btn .fa {
    line-height: inherit;
}


/* --- Dropdown Footer --- */
.lbn-mini-cart-footer {
    padding: 20px;
    background-color: #fdfdfd;
    border-top: 1px solid #f0f0f0;
}

.lbn-cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.lbn-cart-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.elementor-header-group-wrapper .header-group-action .lbn-cart-actions a.btn {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    font-weight: 400;
    border-radius: 8px !important;
    text-decoration: none;
    transition: all 0.2s ease;
    color: #fff !important;
}

/* --- Empty Cart --- */
.lbn-mini-cart-empty {
    padding: 40px 20px;
    text-align: center;
    font-size: 15px;
    color: #777;
}

.woocommerce-Price-currencySymbol .currency-symbol-text {
    margin-right: 3px;
}

.woocommerce-cart .page-main-content {
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

/* Custom Cart Styles */
.woocommerce-cart-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.shop_table.cart {
    border: none;
    border-radius: 24px;
    background: #FFF;
    box-shadow: 0 8px 32px 0 rgba(var(--border-color-rgb), 0.10);
    padding: 24px;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    text-align: center;
    border: 1px solid rgba(var(--border-color-rgb), 0.1);
    padding: 15px 10px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.woocommerce-cart-form__cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1rem;
    gap: 1rem;
}

.woocommerce-cart-form__cart-item {
    display: flex;
    align-items: stretch;
    /* همه ستون‌ها هم‌قد میشن */
    ;
}

.woocommerce-cart-form__cart-item>div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-cart-form__cart-item>div>div:not(:last-child),
.woocommerce-cart-form__cart-item div.cart-col-right {
    border-left: 1px dashed rgba(var(--border-color-rgb), 0.1);
}

.woocommerce-cart-form__cart-item .product-thumbnail img {
    height: 80px;
    width: auto;
    border-radius: 5px;
}

.woocommerce-cart-form__cart-item div.product-name {
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: flex-start;
}

.woocommerce-cart-form__cart-item div.product-name a {
    color: var(--text-color);
}

.woocommerce-cart-form__cart-item .product-price,
.woocommerce-cart-form__cart-item .product-subtotal,
.woocommerce-cart-form__cart-item .product-remove {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.woocommerce-cart-form__cart-item .product-price:before,
.woocommerce-cart-form__cart-item .product-subtotal:before {
    content: attr(data-title);
    font-size: 0.9em;
    color: var(--text-color);
    margin-bottom: 5px;
}

.woocommerce-cart-form__cart-item .product-quantity .quantity {
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-cart-form__cart-item .product-remove a.remove {
    background-color: #fff;
    color: rgba(var(--bs-primary-rgb), 1) !important;
    border: none;
    padding: 8px 25px;
    font-size: 1em;
    display: inline-block;
    text-align: center;
    border-radius: 8px;
    border: 1px solid var(--primary-color, #c83b3b);
    width: auto;
    height: auto;
}

.woocommerce-cart-form__cart-item .product-remove .remove:hover {
    background-color: rgba(var(--bs-primary-rgb), 1);
    color: #fff !important;
}

.woocommerce-cart .actions {
    display: flex;
    justify-content: flex-start;
    padding-top: 1rem;
}

.woocommerce-cart .actions .button {
    margin-right: auto;
    background-color: var(--primary-color, #c83b3b);
    color: #fff;
    padding: 10px 15px !important;
    border-radius: 8px;
    font-size: 14px;
}

.woocommerce-cart .actions .button:disabled {
    background-color: rgba(var(--border-color-rgb), 0.1);
    color: #fff;
}

.woocommerce-cart .cart_totals {
    width: 100% !important;
    background-color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 15px;
    border-radius: 24px;
    box-shadow: 0 4px 16px 0 rgba(var(--border-color-rgb), 0.10);
    display: flex;
    flex-direction: column;
}

.woocommerce-cart .cart_totals .order-total {
    display: flex;
    justify-content: space-between;
    padding: 8px 16px;
    gap: 12px;
    border: 1.5px solid rgba(var(--text-color-rgb), 0.3);
    border-radius: 8px;
}

.woocommerce-cart .cart_totals .cart-subtotal {
    display: grid;
    grid-template-columns: 2fr 1fr;
}

.woocommerce ul#shipping_method li {
    display: flex;
    gap: 10px;
}

#add_payment_method .wc-proceed-to-checkout,
.woocommerce-cart .wc-proceed-to-checkout,
.woocommerce-checkout .wc-proceed-to-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background-color: var(--primary-color, #c83b3b) !important;
    color: #fff !important;
    /*width: 100%;*/
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    border-radius: 8px;
    font-weight: 400;
    margin-top: 20px;
    display: flex;
    margin-bottom: 0;
    line-height: normal;
    align-items: center;
}

.woocommerce-cart .coupon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    align-content: center;
}

.woocommerce-cart .coupon-group {
    display: flex;
    width: 100%;
}

.woocommerce-cart .coupon #coupon_code {
    padding: 10px;
    border-radius: 8px;
    border: 1.5px solid rgba(var(--border-color-rgb), 0.30);
    background: rgba(255, 255, 255, 0.10);
    flex-grow: 1;
}

.woocommerce-cart .coupon .button {
    background-color: #d9534f;
    color: #fff;
    border-radius: 5px 0 0 5px;
    border: none;
    padding: 10px 20px;
}

.woocommerce-cart .coupon-error-notice {
    width: 100%;
    flex: 100%;
    color: var(--bs-danger);
}

.woocommerce-shipping-destination {
    line-height: 2;
    color: var(--text-color)BF;
    float: right;
    display: grid;
    grid-template-columns: 2fr 1fr;
    position: relative;
}

.shipping-calculator-button {
    float: left;
    color: var(--primary-color, #c83b3b);
    font-weight: var(--font-weight-normal);
    margin: 0;
    font-size: 13px;
    margin: 0 !important;
}

#add_payment_method .cart-collaterals .shipping-calculator-button::after,
.woocommerce-cart .cart-collaterals .shipping-calculator-button::after,
.woocommerce-checkout .cart-collaterals .shipping-calculator-button::after {
    content: "\f044";
    font-family: 'Font Awesome 6 Pro';
    font-weight: 400;
}

.shipping-calculator-form .form-row {
    float: none !important;
    width: 100% !important;
}

.shipping-calculator-form button {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    background: var(--primary-color, #c83b3b);
    color: #fff;
    margin-top: 10px;
    font-size: 16px;
    font-weight: var(--font-weight-normal);
}

.lbn-divider {
    opacity: 0.5;
    border-bottom: 1px dashed rgba(var(--border-color-rgb), 0.50);
    margin: 1rem 0;
}

.woocommerce-cart .empty-wishlists.empty-cart {
    padding-top: 0;
}


/* Apply WooCommerce color variables */
.woocommerce.single-product .single_add_to_cart_button,
.woocommerce.single-product .add_to_cart_button,
.woocommerce.single-product .add-to-cart {
    background-color: var(--wc-add-to-cart-btn-color) !important;
    border-color: var(--wc-add-to-cart-btn-color) !important;
}

.woocommerce .single_add_to_cart_button:hover,
.woocommerce .add_to_cart_button:hover,
.woocommerce .add-to-cart:hover {
    background-color: var(--wc-add-to-cart-btn-hover-color) !important;
    border-color: var(--wc-add-to-cart-btn-hover-color) !important;
}

.woocommerce .onsale,
.woocommerce .product-discount,
.woocommerce .sale-badge {
    background-color: var(--wc-sale-badge-color) !important;
    color: var(--wc-sale-badge-text-color) !important;
}

.woocommerce .price,
.woocommerce .amount,
.woocommerce .woocommerce-Price-amount {
    color: var(--wc-price-color) !important;
}

.woocommerce .price del,
.woocommerce .price del .amount,
.woocommerce .woocommerce-Price-amount del {
    color: var(--wc-old-price-color) !important;
}

.desktop-only {
    display: none;
}

.mobile-only {
    display: block;
}

@media (min-width: 992px) {
    .desktop-only {
        display: flex;
        justify-content: flex-end;
    }

    .mobile-only,
    .mobile-ordering-sheet,
    .sheet-overlay {
        display: none;
    }
}

.mobile-ordering-toggle {
    padding: 8px 14px;
    border: 1px solid rgba(var(--border-color-rgb), 0.1);
    border-radius: 8px;
    background: #fff;
    font-size: 12px;
    text-align: center;
}

/* Bottom sheet */
.mobile-ordering-sheet {
    position: fixed;
    left: 0;
    right: 50%;
    bottom: -100%;
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, .2);
    transition: bottom 0.3s ease-in-out;
    z-index: 10001;
    max-height: 70%;
    overflow-y: auto;
    width: 90%;
    transform: translateX(50%);
}

.mobile-ordering-sheet.show {
    bottom: 0;
}

.sheet-header {
    display: flex;
    justify-content: center;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}

.sheet-options {
    text-align: center;
}

.sheet-options a {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #f2f2f2;
    color: var(--text-color);
}

.sheet-options a.active {
    background: #f9f9f9;
    color: var(--primary-color, #c83b3b);
    font-weight: bold;
}

.sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 10000;
    display: none;
}

.sheet-overlay.show {
    display: block;
}

/* Toastr Custom Styles for Lebasino Theme */
.toast-container {
    pointer-events: none;
}

.toast-container>div {
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    margin: 0 0 12px;
    padding: 18px 20px 18px 20px;
    width: 350px;
    border-radius: 12px;
    background-position: 20px center;
    background-repeat: no-repeat;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    color: #fff;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    border: none;
    backdrop-filter: blur(10px);
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.woocommerce-thankyou-order-received {
    color: var(--primary-color, #c83b3b);
    font-size: 20px;
}

/* RTL Support for Toastr */
.toast-container.rtl>div {
    padding: 18px 20px 18px 20px !important;
    background-position: calc(100% - 20px) center;
    direction: rtl;
    text-align: right;
    box-shadow: var(--box-shadow) !important;
}

/* Toast Types with Lebasino Theme Colors */
#toast-container>div.toast-success {
    background-color: #28a745 !important;
    border-right: 5px solid #1e7e34;
}

#toast-container>div.toast-error {
    background-color: #dc3545 !important;
    border-right: 5px solid #bd2130;
}

#toast-container>#toast-container>div.toast-warning {
    background: #f39c12 !important;
    border-right: 5px solid #d39e00;
    color: #212529 !important;
}

#toast-container>.toast-info {
    background: linear-gradient(135deg, var(--primary-color, #c83b3b) 0%, #3498db 100%) !important;
    border-right: 5px solid var(--primary-color, #c83b3b);
}

/* Close Button Styling */
.toast-close-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-container.rtl .toast-close-button {
    right: auto;
    left: 10px;
}

.toast-close-button:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

/* Progress Bar Styling */
.toast-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 0 0 12px 12px;
}

.toast-container.rtl .toast-progress {
    left: auto;
    right: 0;
    border-radius: 0 0 12px 12px;
}

/* Enhanced Animations */
@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-container.rtl>div {
    animation: slideInLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Icon Spacing */
.toast-container>div i {
    margin-left: 8px;
    font-size: 18px;
    vertical-align: middle;
}

.toast-container.rtl>div i {
    margin-left: 0;
    margin-right: 8px;
}

/* Long Message Support */
.toast-container>div.long-message {
    width: 400px;
    padding: 20px 22px 20px 55px;
    line-height: 1.7;
}

.toast-container.rtl>div.long-message {
    padding: 20px 55px 20px 22px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .toast-container>div {
        width: calc(100vw - 40px);
        max-width: 350px;
        margin: 0 0 10px;
        padding: 16px 18px 16px 45px;
        font-size: 14px;
    }

    .toast-container.rtl>div {
        padding: 16px 45px 16px 18px;
    }

    .toast-container>div.long-message {
        width: calc(100vw - 40px);
        max-width: 380px;
        padding: 18px 20px 18px 50px;
    }

    .toast-container.rtl>div.long-message {
        padding: 18px 50px 18px 20px;
    }

    .toast-close-button {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .toast-container>div {
        width: calc(100vw - 20px);
        margin: 0 0 8px;
        padding: 14px 16px 14px 40px;
        font-size: 13px;
    }

    .toast-container.rtl>div {
        padding: 14px 40px 14px 16px;
    }
}

/* Position Classes */
.toast-top-right {
    top: 20px;
    right: 20px;
}

.toast-bottom-right {
    bottom: 20px;
    right: 20px;
}

.toast-top-left {
    top: 20px;
    left: 20px;
}

.toast-bottom-left {
    bottom: 20px;
    left: 20px;
}

.toast-top-center {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.toast-bottom-center {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

/* Loading Animation for Spinner */
.toast-info i.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Add to Cart Button Loading State - Universal */
.single_add_to_cart_button.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
    overflow: hidden;
}

div.product .single_add_to_cart_button.loading::after {
    content: '' !important;
    position: absolute;
    top: 0 !important;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s infinite !important;
}

div.product .single_add_to_cart_button.added::after {
    content: '' !important;
}

/* Cart Count Animation - Universal */
.cart-updated {
    animation: cartBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes cartBounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
        color: var(--primary-color, #c83b3b);
    }

    100% {
        transform: scale(1);
    }
}

/* Enhanced Quantity Input - Universal */
.qty-wrapper {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    transition: all 0.2s ease;
}


.qty-btn {
    width: 35px;
    height: 40px;
    background: #fff;
    border: 1px solid rgba(var(--border-color-rgb), 0.20);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.2s ease;
    user-select: none;
    border-radius: 8px;
}

.qty-btn:focus {
    border: 1px solid rgba(var(--border-color-rgb), 0.20);
}

.woocommerce-cart.woocommerce-page .qty-btn {
    background: rgba(36, 43, 61, 0.1);
}

.qty-btn:hover {
    color: var(--primary-color, #c83b3b);
}

.qty-btn:active,
.qty-btn.qty-clicked {
    background: var(--primary-color, #c83b3b);
    color: white;
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color, #c83b3b);
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.qty-wrapper input[type="number"] {
    width: 70px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    background: white;
    color: #495057;
    appearance: textfield;
    -moz-appearance: textfield;
}

.qty-wrapper input[type="number"]::-webkit-outer-spin-button,
.qty-wrapper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-wrapper input[type="number"]:focus {
    outline: none;
    background: #f8f9fa;
}

/* Animation Keyframes */
@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Success Checkmark Animation */
@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.lebasino-notification-success .notification-icon i {
    animation: checkmark 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Error Shake Animation */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8px);
    }

    75% {
        transform: translateX(8px);
    }
}

.lebasino-notification-error {
    animation: shake 0.6s ease-in-out;
}

/* Loading Pulse Animation */
@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.lebasino-notification-loading .notification-content {
    animation: pulse 2s ease-in-out infinite;
}

/* Mini Cart Highlight - Universal */
.site-header-cart.cart-updated {
    animation: cartHighlight 3s ease-in-out;
}

@keyframes cartHighlight {

    0%,
    100% {
        background: transparent;
        transform: scale(1);
    }

    25% {
        background: rgba(var(--primary-color-rgb, 0, 123, 255), 0.1);
        transform: scale(1.05);
        border-radius: 8px;
    }

    75% {
        background: rgba(var(--primary-color-rgb, 0, 123, 255), 0.05);
        transform: scale(1.02);
        border-radius: 8px;
    }
}

.single_add_to_cart_button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.single_add_to_cart_button:not(.loading):active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Notification Progress Bar */
.lebasino-notification::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    border-radius: 0 0 12px 12px;
    animation: progress 4s linear forwards;
    opacity: 0.3;
}

.lebasino-notification-loading::before {
    display: none;
}

@keyframes progress {
    0% {
        width: 100%;
    }

    100% {
        width: 0%;
    }
}

/* Multi-line Notification Support */
.lebasino-notification .notification-message {
    white-space: pre-line;
    line-height: 1.6;
}

.lebasino-notification-warning .notification-message,
.lebasino-notification-error .notification-message {
    font-weight: 600;
}

/* Variable Product Error Styling */
.lebasino-notification-warning {
    border-left-width: 4px;
}

[dir="rtl"] .lebasino-notification-warning {
    border-right-width: 4px;
}

/* Enhanced Error Display */
.lebasino-notification-error .notification-content {
    padding: 20px 24px;
}

.lebasino-notification-error .notification-message {
    color: #721c24;
    font-weight: 500;
}

/* Long Error Messages */
.lebasino-notification.long-message {
    max-width: 450px;
}

.lebasino-notification.long-message .notification-message {
    font-size: 14px;
    line-height: 1.7;
}

/* Mobile Specific Adjustments */
@media (max-width: 768px) {
    .lebasino-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        min-width: auto;
        transform: translateY(-100%);
        border-radius: 8px;
    }

    [dir="rtl"] .lebasino-notification {
        transform: translateY(-100%);
    }

    .lebasino-notification.show {
        transform: translateY(0);
    }

    .lebasino-notification .notification-content {
        padding: 14px 16px;
        gap: 12px;
    }

    .lebasino-notification .notification-message {
        font-size: 14px;
    }

    .lebasino-notification .notification-icon {
        width: 24px;
        height: 24px;
        font-size: 18px;
    }

    /* Enhanced mobile touch targets */
    .qty-btn {
        width: 36px;
        height: 40px;
        font-size: 15px;
    }

    .qty-wrapper input[type="number"] {
        width: 80px;
        height: 48px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .lebasino-notification {
        top: 5px;
        right: 5px;
        left: 5px;
    }

    .lebasino-notification .notification-content {
        padding: 12px 14px;
        gap: 10px;
    }

    .lebasino-notification .notification-message {
        font-size: 13px;
    }

    .lebasino-notification .notification-icon {
        width: 22px;
        height: 22px;
        font-size: 16px;
    }
}


/* ========================================
   Product Tabs - Responsive System
   ======================================== */

/* Base Container */
.woocommerce-tabs {
    position: relative;
}


/* Tab Content */
.woocommerce-Tabs-panel {
    display: none;
    margin-top: 0;
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-tabs {
    margin-top: 50px;
    padding: 24px;
}

/* ========================================
   Mobile Accordion Styling
   ======================================== */

.product-tabs-mobile-accordion {
    display: none;
}

.mobile-tabs-mode .product-tabs-mobile-accordion {
    display: block;
}

.mobile-tabs-mode .wc-tabs,
.mobile-tabs-mode .woocommerce-Tabs-panel {
    display: none !important;
}

.accordion-item {
    margin-bottom: 15px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(var(--border-color-rgb), 0.08);
    border: 1.5px solid rgba(var(--border-color-rgb), 0.15);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item:hover {
    border-color: rgba(var(--primary-color-rgb, 0, 123, 255), 0.3);
    box-shadow: var(--box-shadow);
    transform: translateY(-2px);
}

.accordion-header {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.accordion-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.accordion-header:hover::before {
    left: 100%;
}

.accordion-item.accordion-open .accordion-header {
    color: rgba(var(--primary-color-rgb), 1);
    border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.2);
}

.accordion-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary-color, #c83b3b), #3498db);
    border-radius: 2px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scaleY(0);
}

.accordion-item.accordion-open .accordion-title {
    color: var(--primary-color, #c83b3b);
}

.accordion-item.accordion-open .accordion-title::before {
    opacity: 1;
    transform: scaleY(1);
}

.accordion-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-icon i {
    font-size: 16px;
    color: var(--primary-color, #c83b3b);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.accordion-open .accordion-icon {

    transform: rotate(180deg);
}

.accordion-item.accordion-open .accordion-icon i {
    color: var(--primary-color, #c83b3b);
}

.accordion-content {
    display: none;
    overflow: hidden;
}

.accordion-content-inner {
    padding: 25px;
    background: #fff;
    animation: fadeInContent 0.3s ease-out;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Adjustments
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .wc-tabs li a {
        padding: 14px 20px;
        font-size: 15px;
    }

    .woocommerce-Tabs-panel {
        padding: 25px 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .woocommerce-tabs {
        margin: 20px 0;
    }

    .accordion-item {
        margin-bottom: 20px;
        border-radius: 16px !important;
        box-shadow: none;
    }

    .accordion-item:not(:first-of-type) {
        border-top: 1.5px solid rgba(var(--border-color-rgb), 0.15);
    }

    .accordion-header {
        padding: 16px 20px;
    }

    .accordion-title {
        font-size: 16px;
    }

    .accordion-title::before {
        width: 3px;
        height: 20px;
    }

    .accordion-icon {
        width: 36px;
        height: 36px;
    }

    .accordion-icon i {
        font-size: 14px;
    }

    .accordion-content-inner {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .accordion-header {
        padding: 14px 16px;
    }

    .accordion-title {
        font-size: 15px;
    }

    .accordion-content-inner {
        padding: 16px;
    }

    .accordion-content-inner .product-tab-title {
        display: none
    }

    .accordion-icon {
        width: 32px;
        height: 32px;
    }

    .accordion-icon i {
        font-size: 13px;
    }
}

/* ========================================
   Tab Content Enhancements
   ======================================== */

/* Reviews Tab */
.woocommerce-Tabs-panel--reviews {
    position: relative;
}

.woocommerce-Tabs-panel--reviews .woocommerce-Reviews {
    background: transparent;
}

/* Description Tab */
.woocommerce-Tabs-panel--description {
    line-height: 1.8;
}

.woocommerce-Tabs-panel--description h1,
.woocommerce-Tabs-panel--description h2,
.woocommerce-Tabs-panel--description h3 .woocommerce-Tabs-panel--description h4 {
    color: var(--text-color);
    margin-top: 20px;
    margin-bottom: 15px;
}

.woocommerce-Tabs-panel--description p {
    margin-bottom: 15px;
    color: rgba(var(--text-color-rgb), 0.85);
}

.woocommerce-Tabs-panel--description ul {
    list-style: disc;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 15px;
}

.accordion-content-inner ul {
    list-style: disc;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 15px;
}

.woocommerce-Tabs-panel--description ol {
    list-style: persian;
}

/* Additional Information Tab */
.woocommerce-Tabs-panel--additional_information table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.woocommerce-Tabs-panel--additional_information table th,
.woocommerce-Tabs-panel--additional_information table td {
    padding: 12px 15px;
    text-align: right;
}

.woocommerce-Tabs-panel--additional_information table th {
    background: rgba(var(--primary-color-rgb, 0, 123, 255), 0.05);
    font-weight: 600;
    color: var(--primary-color, #c83b3b);
}

/* ========================================
   Animation & Interaction Enhancements
   ======================================== */

/* Smooth transition between modes */
.woocommerce-tabs * {
    transition: all 0.3s ease;
}

/* Loading state for dynamic content */
.tab-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.tab-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 2px solid rgba(var(--primary-color-rgb, 0, 123, 255), 0.3);
    border-top: 2px solid var(--primary-color, #c83b3b);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Bottom Navbar Base */
.single-product-mobile-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 12px 15px;
    transform: translateY(100%);
    transition: transform 0.2s ease;
    z-index: 9999;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    display: none;
    font-size: 18px;
    /* Hidden by default */
    ;
}

.single-product-mobile-navbar.show {
    transform: translateY(0);
    display: block;
}

/* Mobile navbar content layout */
.mobile-navbar-content {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
}

.mobile-navbar-quantity {
    display: flex;
    align-items: center;
}

/* Product info section */
.mobile-navbar-info {
    flex: 1;
    min-width: 0;
}

.mobile-navbar-price {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.mobile-navbar-title {
    font-size: 12px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
    font-weight: 500;
}

.mobile-qty-input {
    width: 32px;
    height: 32px;
    border: none;
    text-align: center;
    font-size: 14px;
    background: none;
    outline: none;
    direction: rtl;
}

/* Add to cart button */
.mobile-navbar-cart-btn {
    background: var(--primary-color, #c83b3b);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-navbar-cart-btn:hover {
    background: var(--primary-color-hover);
}

.mobile-navbar-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Body padding when navbar is active */
body.has-mobile-navbar {
    padding-bottom: 70px;
}

/* Responsive - Hide on desktop */
@media (min-width: 769px) {
    .single-product-mobile-navbar {
        display: none !important;
    }

    body.has-mobile-navbar {
        padding-bottom: 0;
    }
}

/*
 * Styles for Store Features Section on Single Product Page
 */
.lebasino-store-features {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Responsive grid */
    gap: 30px;
    /* Space between items */
    ;
}

.feature-box {
    display: flex;
    align-items: center;
    text-align: right;
    padding: 20px;
    border-radius: 16px;
    background-color: #FFFFFF;
    box-shadow: 0px 4px 12px 0px rgba(var(--border-color-rgb), 0.1);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-box:hover {
    border: 1px solid var(--primary-color, #c83b3b);
}

.feature-box-icon {
    flex-shrink: 0;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    margin-left: 15px;
    /* Space between icon and text (for RTL) */
    display: flex;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.feature-box-icon img {
    fill: var(--primary-color, #c83b3b);
    color: var(--primary-color, #c83b3b);
    border-color: var(--primary-color, #c83b3b);
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Ensures the icon is not stretched */
    min-height: 35px;
}

.feature-box-content {
    flex-grow: 1;
}

.feature-box-title {
    font-size: 16px;
    font-weight: 600;
    /* Semi-bold */
    color: #1f2937;
    /* Darker text color */
    margin: 0 0 4px 0;
}

.feature-box-description {
    font-size: 13px;
    color: #6b7280;
    /* Lighter gray for description */
    margin: 0;
    line-height: 1.5;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .lebasino-store-features {
        margin: 14px 0;
        padding-top: 0;
        grid-template-columns: 1fr;
    }

    .feature-box-title {
        font-size: 15px;
    }
}

.elementor-teambox-item-wrapper .column-item {
    padding: 14px;
}

.lebasino-attr-rating-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
}

.lebasino-product-attributes-grid {
    display: grid;
    grid-template-rows: repeat(2, auto);
    gap: 20px;
}

.lebasino-attribute-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    border: 1px solid rgba(var(--border-color-rgb), 0.30);
    border-radius: 8px;
    padding: 12px;
    position: relative;
    justify-content: space-between;
}

.lebasino-attribute-row::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    right: 50%;
    transform: translate(0, -50%);
    width: 10%;
    border-bottom: 1px dashed rgba(var(--text-color-rgb), 0.1)
}

.lebasino-attribute-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lebasino-attribute-box:last-child {
    margin-right: auto;
}

.lebasino-attribute-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 13px;
    white-space: nowrap;
}

.lebasino-attribute-value {
    color:
        rgba(var(--text-color-rgb), 0.6);
    font-size: 13px;
    font-weight: 500;
}



.product-style-3 .product-variation-overlay .variations {
    margin-bottom: 10px !important;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.product-style-3 .product-variation-overlay form.cart {
    margin: 0 !important;
}

.product-style-3 .product-card .product-variation-overlay .variation-row {
    margin-bottom: 0;
    display: grid;
    align-items: end;
    gap: 10px;
    grid-template-columns: 1fr;
}

/* Hidden Variation Form for Style 1 - Functional but invisible */
.lebasino-hidden-variation-form {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

/* ====================================
   Single Product Price Styling
   محصولات ساده و متغیر (Variable)
   ==================================== */

/* Base Styles - مشترک بین هر دو */
.single-product div.product p.price,
.single-product div.product span.price,
.single-product div.product .woocommerce-variation-price {
    margin: 0;
    padding: 20px 0;
}

/* Animation for Price Update on Variation Change */
@keyframes pricePopAnim {
    0% {
        opacity: 0.3;
        transform: translateY(6px) scale(0.95);
        filter: blur(2px);
    }

    50% {
        opacity: 1;
        transform: translateY(-2px) scale(1.04);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.price-updated-animate,
.price-updated-animate .variation-price-amount,
.price-updated-animate .woocommerce-Price-amount,
.price-updated-animate .price-amount {
    animation: pricePopAnim 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Price Wrapper - مشترک */
.single-product div.product .price .price-wrapper,
.single-product div.product .woocommerce-variation-price .variation-price-wrapper {
    display: flex;
    width: 100%;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 30px 0 0;
    border-top: 1px dashed rgba(36, 43, 61, 0.5);
}


.single-product div.product .price .price-label,
.single-product div.product .woocommerce-variation-price .variation-price-label {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-color);
}

/* Price Amount Container - مشترک */
.single-product div.product .price .price-amount,
.single-product div.product .woocommerce-variation-price .variation-price-amount,
.single-product div.product .woocommerce-variation-price .variation-price-amount .price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.single-product div.product .price .price-amount ins,
.single-product div.product .woocommerce-variation-price ins {
    color: var(--primary-color, #c83b3b) !important;
    text-decoration: none;
    display: block;
    background: transparent;
    order: 1;
}

.single-product div.product .price .price-amount ins .woocommerce-Price-amount,
.single-product div.product .woocommerce-variation-price ins .woocommerce-Price-amount,
.single-product div.product .woocommerce-variation-price ins .amount {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color, #c83b3b) !important;
    line-height: 1;
}

.single-product div.product .price .price-amount ins .woocommerce-Price-currencySymbol img,
.single-product div.product .woocommerce-variation-price ins .woocommerce-Price-currencySymbol img {
    width: 24px;
}

/* ====================================
   قیمت قبلی (خط خورده) - مشترک
   ==================================== */
.single-product div.product .price .price-amount del,
.single-product div.product .woocommerce-variation-price del {
    display: block;
    opacity: 1;
    order: 2;
}

.single-product div.product .price .price-amount del .woocommerce-Price-amount,
.single-product div.product .woocommerce-variation-price del .woocommerce-Price-amount,
.single-product div.product .woocommerce-variation-price del .amount {
    font-size: 16px;
    color: #666 !important;
    text-decoration: line-through;
    font-weight: 600;
    line-height: 1.1;
}

.single-product div.product .price .price-amount del .woocommerce-Price-currencySymbol,
.single-product div.product .woocommerce-variation-price del .woocommerce-Price-currencySymbol {
    display: inline;
}

/* ====================================
   محصولات بدون تخفیف - مشترک
   ==================================== */
.single-product div.product .price .price-amount>.woocommerce-Price-amount,
.single-product div.product .woocommerce-variation-price .variation-price-amount ins .woocommerce-Price-amount,
.single-product div.product .woocommerce-variation-price .variation-price-amount>.amount {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color, #c83b3b) !important;
    line-height: 1;
}

.single-product div.product .price .price-amount>.woocommerce-Price-currencySymbol img,
.single-product div.product .woocommerce-variation-price .variation-price-amount>.price>.woocommerce-Price-currencySymbol img {
    width: 24px;
}

/* ====================================
   Helper Classes
   ==================================== */
.woocommerce div.product form.cart::after,
.woocommerce div.product form.cart::before {
    display: none !important;
}

/* ====================================
   Responsive Design - مشترک
   ==================================== */
@media (max-width: 768px) {

    .single-product div.product .price .price-wrapper,
    .single-product div.product .woocommerce-variation-price .variation-price-wrapper {
        gap: 10px;
        padding: 20px 0 0;
    }

    .single-product div.product .price .price-label,
    .single-product div.product .woocommerce-variation-price .variation-price-label {
        font-size: 15px;
    }

    .single-product div.product .price .price-amount ins .woocommerce-Price-amount,
    .single-product div.product .woocommerce-variation-price ins .woocommerce-Price-amount,
    .single-product div.product .woocommerce-variation-price ins .amount {
        font-size: 20px;
    }

    .single-product div.product .price .price-amount del .woocommerce-Price-amount,
    .single-product div.product .woocommerce-variation-price del .woocommerce-Price-amount,
    .single-product div.product .woocommerce-variation-price del .amount {
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    .single-product div.product .price .price-wrapper,
    .single-product div.product .woocommerce-variation-price .variation-price-wrapper {
        align-items: flex-start;
        gap: 8px;
        padding: 22px 0 0;
    }

    .single-product div.product .price .price-amount ins .woocommerce-Price-amount,
    .single-product div.product .woocommerce-variation-price ins .woocommerce-Price-amount,
    .single-product div.product .woocommerce-variation-price ins .amount {
        font-size: 18px;
    }

    .single-product div.product .price .price-amount del .woocommerce-Price-amount,
    .single-product div.product .woocommerce-variation-price del .woocommerce-Price-amount,
    .single-product div.product .woocommerce-variation-price del .amount {
        font-size: 13px;
    }
}

/* اصلاح استایل فیلد شهر (Select2) */
.woocommerce-billing-fields__field-wrapper .select2-container .select2-selection--single {
    height: 45px;
    /* ارتفاع فیلد - متناسب با سایر فیلدهای قالب */
    line-height: 45px;
    padding: 0 10px;
    border: 1px solid #ddd;
    /* رنگ کادر */
    border-radius: 5px;
    /* گردی گوشه‌ها */
    display: flex;
    align-items: center;
}

/* تنظیم فلش کناری */
.woocommerce-billing-fields__field-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 43px;
    position: absolute;
    top: 1px;
    left: 1px;
    /* برای زبان فارسی فلش باید سمت چپ باشد */
    right: auto;
    width: 30px;
}

.woocommerce-billing-fields__field-wrapper .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 45px;
    padding-right: 10px;
    /* فاصله از راست برای فارسی */
    padding-left: 30px;
    color: #333;
    width: 100%;
    text-align: right;
}

#billing_city_field select {
    width: 100%;
    height: 45px;
    display: block !important;
}

.select2-container {
    display: block !important;
    width: 100% !important;
}

.select2-results__option {
    text-align: right;
    padding: 8px 10px;
}

@media (min-width: 768px) {

    .woocommerce-billing-fields__field-wrapper .form-row-first,
    .woocommerce-billing-fields__field-wrapper .form-row-last {
        width: 48% !important;
        float: right !important;
        clear: none !important;
    }

    .woocommerce-billing-fields__field-wrapper .form-row-first {
        margin-left: 2% !important;
    }

    .woocommerce-billing-fields__field-wrapper .form-row-last {
        margin-right: 2% !important;
    }

    .woocommerce-billing-fields__field-wrapper #billing_state_field,
    .woocommerce-billing-fields__field-wrapper #billing_postcode_field {
        margin-left: 2% !important;
        margin-right: 0 !important;
    }

    .woocommerce-billing-fields__field-wrapper #billing_city_field {
        margin-right: 2% !important;
        margin-left: 0 !important;
    }

    .woocommerce-billing-fields__field-wrapper .form-row-wide {
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }
}

/* تنظیم ارتفاع textarea آدرس */
#billing_address_1 {
    min-height: 100px;
    resize: vertical;
}

/* ==============================================
   Lebasino My Account Login Page Styles
   ============================================== */
/* ==============================================
   Lebasino Auth Page - Modern & Optimized
   ============================================== */

/* 1. Page Background & Layout */
body.lebasino-auth-body {
    background-color: #f7f8fa;
    background-image: radial-gradient(circle at 10% 20%, rgba(var(--primary-color-rgb), 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(var(--primary-color-rgb), 0.05) 0%, transparent 20%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-family: var(--main-font);
    color: var(--text-color);
}

.lebasino-auth-wrapper {
    width: 100%;
    max-width: 440px;
    padding: 20px;
    z-index: 1;
}

/* 2. Modern Card Design */
.lebasino-auth-card {
    background: #fff;
    border-radius: var(--border-radius-large);
    padding: 40px;

    box-shadow: 0 20px 40px -10px rgba(var(--border-color-rgb), 0.1),
        0 0 0 1px rgba(var(--border-color-rgb), 0.05);
    text-align: center;
    transition: var(--transition);
}

/* 3. Logo & Typography */
.lebasino-login-logo img {
    max-height: 50px;
    width: auto;
    margin-bottom: 24px;
}

.lebasino-form-title {
    font-family: var(--heading-font);
    font-size: var(--h3-font-size);
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin-bottom: 30px;
}

/* 4. Form Elements */
.lebasino-form-group {
    margin-bottom: 20px;
    text-align: right;
    /* برای راست‌چین بودن لیبل‌ها */
}

.lebasino-form-label {
    text-align: right;
    opacity: 0.8;
}

.lebasino-form-control {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    font-family: var(--main-font);
    font-size: 14px;
    color: var(--text-color);
    background-color: #f9fafb;
    /* خاکستری خیلی روشن */
    border: 1px solid rgba(var(--border-color-rgb), 0.2);
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-sizing: border-box;
}

.lebasino-form-control:focus {
    background-color: #fff;
    border-color: var(--primary-color, #c83b3b);
    box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.1);
    outline: none;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    left: 12px;
    top: 50%;

    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.toggle-password:hover {
    color: var(--text-color);
}

.lebasino-password-wrapper .lebasino-form-control {
    padding-left: 40px;
    /* فضای خالی برای آیکون */
}

/* 5. Buttons & Links */
.lebasino-btn-submit {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary-color, #c83b3b);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
    /* سایه رنگی دکمه */
    box-shadow: 0 10px 20px -5px rgba(var(--primary-color-rgb), 0.4);
}

.lebasino-btn-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(var(--primary-color-rgb), 0.5);
}

.lebasino-link {
    color: var(--primary-color, #c83b3b);
    text-decoration: none;
    font-size: 13px;
    font-weight: var(--font-weight-normal);
    transition: var(--transition);
}

.lebasino-link:hover {
    color: var(--primary-dark);
}

/* 6. Utility & Helpers */
.lebasino-login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}

.lebasino-form-check {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.lebasino-form-check-input {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    accent-color: var(--primary-color, #c83b3b);
    cursor: pointer;
}

.lebasino-switch-text {
    margin-top: 24px;
    font-size: 14px;
    color: var(--secondary-color);
}

.auth-footer-link {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(var(--border-color-rgb), 0.1);
}

.auth-footer-link a {
    color: var(--secondary-color);
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.auth-footer-link a:hover {
    color: var(--text-color);
}

/* 7. Notifications (WooCommerce Errors) */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    background-color: #fff;
    border: 1px solid rgba(var(--border-color-rgb), 0.1);
    border-right: 4px solid var(--error-color);
    /* خط رنگی سمت راست */
    border-radius: var(--border-radius);
    margin-bottom: 24px !important;
    font-size: 13px;
    list-style: none;
    text-align: right;
    box-shadow: var(--box-shadow);
}

.woocommerce-message {
    border-right-color: var(--success-color);
}

.woocommerce-info {
    border-right-color: var(--warning-color);
}

/* 8. Responsive */
@media (max-width: 480px) {
    .lebasino-auth-card {
        padding: 24px;
    }

    .lebasino-form-control {
        height: 48px;
    }
}

/* 9. Animations */
.hidden {
    animation: fadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lebasino-hidden {
    display: none !important;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spinner Animation */
.lebasino-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

span.select2-container.select2-hidden-accessible {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    clip: auto !important;
    overflow: visible !important;
}

/* ====================================
   ویجت استوری: رفع بریدگی کادر دایره‌ای دور آیتم‌ها
   ==================================== */
.story-circle {
    overflow: visible !important;
    border-radius: 50% !important;
}

.story-circle::after {
    inset: -2.5px !important;
    border-radius: 50% !important;
    pointer-events: none;
}

.stories-swiper {
    overflow: visible !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}


/* =========================================
   POST CONTENT — Article Design System
   Primary color: #c72444
========================================= */

.post-content {
    --post-primary: #c72444;
    --post-primary-dark: #a91d39;
    --post-primary-light: #fff1f4;
    --post-text: #34343a;
    --post-muted: #686872;
    --post-border: #e9e9ed;
    --post-surface: #f8f8fa;
    --post-radius: 12px;

    direction: rtl;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    color: var(--post-text);
    font-family: inherit;
    font-size: 16px;
    line-height: 2.15;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Box sizing */
.post-content *,
.post-content *::before,
.post-content *::after {
    box-sizing: border-box;
}

/* Paragraphs */
.post-content p {
    margin: 0 0 1.35em;
    color: var(--post-text);
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.9;
    text-align: justify !important;
    text-justify: inter-word;
}

/* Prevent unwanted margins */
.post-content p:last-child {
    margin-bottom: 0;
}

/* Headings — shared */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    position: relative;
    color: var(--post-text);
    font-family: inherit;
    font-weight: 800;
    line-height: 1.8;
    text-align: justify;
    overflow-wrap: anywhere;
}

.post-content h1 {
    font-size: clamp(1.65rem, 3vw, 2rem);
    margin: 2rem 0 1.25rem;
}

.post-content h2 {
    font-size: clamp(1.4rem, 2.6vw, 1.6rem);
    margin: 0;
    border-radius: 0 3px 3px 0;
}

.post-header h1 {
    line-height: 48px !important;
    font-size: 27px;
    text-align: justify;
}

.post-content h3 {
    font-size: clamp(1.3rem, 2.3vw, 1.3rem);
    margin: 0;

}

.post-content h4 {
    font-size: 1.08rem;
    margin: 1.5rem 0 0.7rem;
}

/* Remove empty heading spacing */
.post-content h1:empty,
.post-content h2:empty,
.post-content h3:empty,
.post-content h4:empty,
.post-content h5:empty,
.post-content h6:empty {
    display: none;
}

/* Text formatting */
.post-content strong,
.post-content b {
    color: inherit;
    font-weight: 800;
}

.post-content em,
.post-content i {
    font-style: italic;
}

.post-content small {
    font-size: 0.875em;
}

.post-content mark {
    background: #fff0b8;
    color: #44361a;
    padding: 0.1em 0.3em;
    border-radius: 4px;
}

/* Links */
.post-content a {
    color: var(--post-primary);
    font-size: inherit;
    font-weight: 600;
    text-decoration: none;
    text-underline-offset: 4px;
    border-bottom: 1px solid rgba(199, 36, 68, 0.3);
    overflow-wrap: anywhere;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.post-content a:hover {
    color: var(--post-primary-dark);
    border-bottom-color: var(--post-primary);
}

.post-content a:focus-visible {
    outline: 2px solid var(--post-primary);
    outline-offset: 4px;
    border-radius: 3px;
}

/* Lists */
.post-content ul,
.post-content ol {
    margin: 0.75rem 0 1.5rem;
    padding-right: 1.7rem;
    padding-left: 0;
    font-size: 1rem;
    line-height: 2;
}

.post-content ul {
    list-style: disc;
}

.post-content ol {
    list-style: decimal;
}

.post-content li {
    display: list-item;
    padding-right: 0.2rem;
    margin-bottom: 0.5rem;
    line-height: 2;
}

.post-content li::marker {
    color: var(--post-primary);
    font-weight: 700;
}

.post-content li>p {
    margin-bottom: 0.5rem;
}

/* Nested lists */
.post-content li ul,
.post-content li ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Images */
.post-content img {
    display: block;
    max-width: 100% !important;
    width: auto;
    height: auto !important;
    margin: 1.75rem auto;
    border-radius: var(--post-radius);
    object-fit: contain;
}

.post-content p:has(> img:only-child) {
    margin: 1.5rem 0;
    text-align: center;
}

/* Image captions, when provided by the editor */
.post-content figure {
    max-width: 100%;
    margin: 2rem 0;
    text-align: center;
}

.post-content figure img {
    margin: 0 auto;
}

.post-content figcaption {
    margin-top: 0.7rem;
    color: var(--post-muted);
    font-size: 0.875rem;
    line-height: 1.8;
}

/* Tables */
.post-content table {
    display: table;
    width: 100% !important;
    max-width: 100%;
    margin: 1.75rem 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--post-border);
    border-radius: 10px;
    background: #fff;
    font-size: 0.9375rem;
    line-height: 1.9;
}

/* Scrollable tables on small screens */
.post-content {
    --post-table-min-width: 480px;
}

.post-content table {
    overflow: hidden;
}

.post-content th,
.post-content td {
    padding: 0.85rem 1rem;
    border-left: 1px solid var(--post-border);
    border-bottom: 1px solid var(--post-border);
    text-align: right;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.post-content th {
    background: var(--post-primary);
    color: #fff;
    font-weight: 700;
}

.post-content td {
    color: var(--post-text);
}

.post-content th p,
.post-content td p {
    margin: 0;
    font-size: inherit;
    line-height: 1.9;
    text-align: right;
}

.post-content tbody tr:nth-child(even) td {
    background: #fbf7f8;
}

.post-content tbody tr:last-child td {
    border-bottom: 0;
}

.post-content th:last-child,
.post-content td:last-child {
    border-left: 0;
}

/* Tables without a thead */
.post-content table:not(:has(thead)) tr:first-child>* {
    background: var(--post-primary);
    color: #fff;
    font-weight: 700;
}

/* Blockquotes */
.post-content blockquote {
    position: relative;
    margin: 2rem 0;
    padding: 1.2rem 1.35rem;
    background: var(--post-primary-light);
    border: 1px solid #f4d4dc;
    border-right: 4px solid var(--post-primary);
    border-radius: 10px;
    color: var(--post-text);
    box-shadow: 0 3px 12px rgba(70, 20, 35, 0.04);
}

.post-content blockquote::before {
    content: none;
}

.post-content blockquote p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 2;
}

.post-content blockquote a {
    font-weight: 700;
}

/* Centered links and CTA-like inline blocks */
.post-content>div[style*="text-align:center"],
.post-content>div[style*="text-align: center"] {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem 1.25rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--post-surface);
    border: 1px solid var(--post-border);
    border-radius: 10px;
    text-align: center;
}

.post-content>div[style*="text-align:center"] a,
.post-content>div[style*="text-align: center"] a {
    display: inline-block;
    padding: 0.35rem 0;
    font-weight: 700;
}

/* Horizontal rules */
.post-content hr {
    height: 1px;
    margin: 2rem 0;
    border: 0;
    background: var(--post-border);
}

/* Code and preformatted content */
.post-content code {
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    background: var(--post-surface);
    color: var(--post-primary-dark);
    font-size: 0.9em;
    direction: ltr;
    unicode-bidi: isolate;
}

.post-content pre {
    max-width: 100%;
    padding: 1rem;
    overflow-x: auto;
    border: 1px solid var(--post-border);
    border-radius: 10px;
    background: var(--post-surface);
    direction: ltr;
    text-align: left;
    line-height: 1.7;
}

.post-content pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

/* Embedded media */
.post-content iframe,
.post-content video {
    display: block;
    max-width: 100%;
    margin: 1.5rem auto;
    border: 0;
    border-radius: var(--post-radius);
}

.post-content iframe {
    width: 100%;
}

/* Superscript and subscript */
.post-content sup,
.post-content sub {
    line-height: 0;
}

/* Mobile */
@media (max-width: 768px) {
    .post-content {
        font-size: 15px;
        line-height: 2.05;
    }

    .post-content p {
        line-height: 2.05;
        margin-bottom: 1.15rem;
    }

    .post-content h1 {
        margin-top: 1.5rem;
    }

    .post-content h2 {
        margin-top: 2.2rem;
        margin-bottom: 1rem;
    }

    .post-content h3 {
        margin-top: 1.6rem;
    }

    .post-content ul,
    .post-content ol {
        padding-right: 1.4rem;
        font-size: 0.96rem;
    }

    .post-content img {
        margin: 1.25rem auto;
        border-radius: 8px;
    }

    .post-content blockquote {
        margin: 1.5rem 0;
        padding: 1rem;
    }

    .post-content table {
        display: block;
        width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: normal;
    }

    .post-content th,
    .post-content td {
        min-width: 110px;
        padding: 0.7rem;
        font-size: 0.875rem;
    }

    .post-content>div[style*="text-align:center"],
    .post-content>div[style*="text-align: center"] {
        gap: 0.5rem 1rem;
        padding: 0.8rem;
    }
}

/* Small mobile */
@media (max-width: 420px) {
    .post-content {
        font-size: 14px;
        line-height: 2;
    }

    .post-content h2 {
        font-size: 1.25rem;
    }

    .post-content h3 {
        font-size: 1.08rem;
    }

    .post-content ul,
    .post-content ol {
        padding-right: 1.2rem;
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .post-content a {
        transition: none;
    }
}