﻿/* ===========================================================
   YASANA CHECKOUT / CART — CENTRAL THEME TOKENS
   Change the values below to re-theme all components.
   Keep --yas-primary-rgb in sync with --yas-primary for shadows.
   =========================================================== */
:root {
    --yas-primary: #063f38;
    --yas-primary-hover: #0a604e;
    --yas-accent: #087450;
    --yas-accent-soft: #6ba588;
    --yas-primary-contrast: #ffffff;
    --yas-surface: #ffffff;
    --yas-surface-soft: #fcfdfc;
    --yas-surface-muted: #f5f8f5;
    --yas-background: #fafcfb;
    --yas-text: #263f35;
    --yas-text-strong: #173f36;
    --yas-text-muted: #7b8881;
    --yas-text-subtle: #91a095;
    --yas-border: #e3ebe5;
    --yas-border-light: #edf0ed;
    --yas-border-strong: #bfd1c5;
    --yas-brand-tint: #edf7f0;
    --yas-brand-tint-hover: #e1f1e6;
    --yas-brand-tint-strong: #dcefe3;
    --yas-danger: #c45252;
    --yas-danger-hover: #ad3434;
    --yas-danger-tint: #fff0f0;
    --yas-danger-tint-hover: #fce1e1;
    --yas-error: #dc6666;
    --yas-error-bg: #fff8f8;
    --yas-neutral-button: #f0f3f0;
    --yas-neutral-button-hover: #e5eae6;
    --yas-primary-rgb: 6, 63, 56;
    --yas-error-rgb: 220, 102, 102;
    --yas-font: 'Vazirmatn', sans-serif;
}

/* ==============================
   YASANA CART - BASE
================================ */

.yas-cart-page {
    font-family: var(--yas-font);
    color: var(--yas-text);
}

    .yas-cart-page *,
    .yas-cart-page *::before,
    .yas-cart-page *::after {
        box-sizing: border-box;
    }

/* Heading */
.yas-cart-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

    .yas-cart-heading h2 {
        margin: 0;
        font-size: 22px;
        font-weight: 800;
        color: var(--yas-primary);
    }

    .yas-cart-heading > span {
        padding: 7px 14px;
        background: var(--yas-brand-tint);
        color: var(--yas-primary);
        border-radius: 30px;
        font-size: 12px;
    }

/* ==============================
   DESKTOP PRODUCT TABLE
================================ */

.yas-cart-products {
    background: var(--yas-surface);
    border: 1px solid var(--yas-border);
    border-radius: 17px;
    overflow: hidden;
}

.yas-cart-table-head,
.yas-cart-item {
    display: grid;
    grid-template-columns: minmax(220px, 2.4fr) minmax(110px, 1fr) minmax(125px, 1fr) minmax(120px, 1fr);
    align-items: center;
    gap: 14px;
}

.yas-cart-table-head {
    padding: 17px 20px;
    background: var(--yas-surface-muted);
    border-bottom: 1px solid var(--yas-border);
    color: var(--yas-text-muted);
    font-size: 12px;
    font-weight: 700;
}

.yas-cart-item {
    padding: 22px 20px;
    border-bottom: 1px solid var(--yas-border-light);
    transition: background .2s;
}

    .yas-cart-item:last-child {
        border-bottom: 0;
    }

    .yas-cart-item:hover {
        background: var(--yas-surface-soft);
    }

/* Product */
.yas-cart-product {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.yas-cart-image {
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--yas-border-light);
    border-radius: 12px;
    overflow: hidden;
    background: var(--yas-background);
}

    .yas-cart-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 5px;
    }

.yas-cart-product-info {
    flex: 1;
    min-width: 0;
}

.yas-cart-product-name {
    display: block;
    color: var(--yas-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
    text-decoration: none;
}

    .yas-cart-product-name:hover {
        color: var(--yas-primary-hover);
    }

.yas-cart-warranty {
    margin-top: 7px;
    color: var(--yas-text-muted);
    font-size: 11px;
    line-height: 1.8;
}

    .yas-cart-warranty i {
        margin-left: 5px;
        color: var(--yas-accent-soft);
    }

/* Remove */
.yas-cart-remove {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 11px;
    color: var(--yas-danger);
    font-size: 11px;
    text-decoration: none;
    transition: color .2s;
}

    .yas-cart-remove:hover {
        color: var(--yas-danger-hover);
    }

    .yas-cart-remove i {
        font-size: 13px;
    }

/* Price */
.yas-cart-price,
.yas-cart-total {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

    .yas-cart-price del {
        color: var(--yas-text-subtle);
        font-size: 11px;
    }

    .yas-cart-price strong,
    .yas-cart-total strong {
        color: var(--yas-primary);
        font-size: 14px;
        font-weight: 800;
        white-space: nowrap;
    }

    .yas-cart-price small,
    .yas-cart-total small {
        font-size: 10px;
        font-weight: 500;
    }

/* Quantity */
.yas-cart-qty-box {
    display: inline-flex;
    align-items: center;
    height: 40px;
    border: 1px solid var(--yas-border);
    border-radius: 10px;
    background: var(--yas-surface-muted);
    overflow: hidden;
}

    .yas-cart-qty-box button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 35px;
        height: 38px;
        border: 0;
        background: transparent;
        color: var(--yas-primary);
        cursor: pointer;
        padding: 0;
        transition: background .2s;
    }

        .yas-cart-qty-box button:hover {
            background: var(--yas-border);
        }

        .yas-cart-qty-box button i {
            font-size: 11px;
        }

    .yas-cart-qty-box .qty {
        width: 38px;
        height: 38px;
        padding: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--yas-primary);
        text-align: center;
        font-family: inherit;
        font-size: 13px;
        font-weight: 700;
    }

.yas-cart-bundle-qty {
    display: inline-block;
    padding: 8px 17px;
    background: var(--yas-surface-muted);
    border-radius: 9px;
    font-size: 13px;
}

.yas-cart-mobile-label {
    display: none;
}

/* ==============================
   ORDER SUMMARY
================================ */

.yas-cart-summary {
    position: sticky;
    top: 100px;
    background: var(--yas-surface);
    border: 1px solid var(--yas-border);
    border-radius: 17px;
    padding: 22px;
    box-shadow: 0 5px 25px rgba(var(--yas-primary-rgb), .035);
}

    .yas-cart-summary h3 {
        margin: 0;
        color: var(--yas-text);
        font-size: 17px;
        font-weight: 800;
    }

.yas-cart-summary-line {
    height: 1px;
    margin: 20px 0;
    background: var(--yas-border-light);
}

.yas-cart-summary-total {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 23px;
}

    .yas-cart-summary-total > span {
        color: var(--yas-text-muted);
        font-size: 13px;
    }

    .yas-cart-summary-total strong {
        color: var(--yas-primary);
        font-size: 23px;
        font-weight: 800;
        line-height: 1.6;
    }

    .yas-cart-summary-total small {
        font-size: 12px;
        font-weight: 500;
    }

.yas-cart-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 48px;
    padding: 10px;
    border: 1px solid var(--yas-primary);
    border-radius: 11px;
    background: var(--yas-primary);
    color: var(--yas-surface);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s;
}

    .yas-cart-checkout:hover {
        background: var(--yas-primary-hover);
        border-color: var(--yas-primary-hover);
        color: var(--yas-surface);
        box-shadow: 0 6px 18px rgba(var(--yas-primary-rgb), .15);
    }

    .yas-cart-checkout .fa-arrow-left {
        font-size: 11px;
    }

.yas-cart-secure {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 17px;
    color: var(--yas-text-subtle);
    font-size: 11px;
}

    .yas-cart-secure i {
        color: var(--yas-accent-soft);
    }

/* ==============================
   EMPTY CART
================================ */

.yas-cart-empty {
    max-width: 480px;
    margin: 50px auto;
    padding: 40px 25px;
    text-align: center;
    background: var(--yas-surface);
    border: 1px solid var(--yas-border);
    border-radius: 20px;
}

.yas-cart-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    height: 85px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--yas-brand-tint);
    color: var(--yas-primary);
    font-size: 35px;
}

.yas-cart-empty h3 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 12px;
}

.yas-cart-empty p {
    color: var(--yas-text-muted);
    font-size: 13px;
    margin-bottom: 24px;
}

/* ==============================
   MOBILE & TABLET
================================ */

@media (max-width: 991.98px) {

    .yas-cart-heading h2 {
        font-size: 19px;
    }

    .yas-cart-products {
        border: 0;
        background: transparent;
        overflow: visible;
    }

    .yas-cart-table-head {
        display: none;
    }

    .yas-cart-item {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px 12px;
        padding: 17px;
        margin-bottom: 13px;
        border: 1px solid var(--yas-border);
        border-radius: 15px;
        background: var(--yas-surface);
    }

    .yas-cart-product {
        grid-column: 1 / -1;
        padding-bottom: 15px;
        border-bottom: 1px solid var(--yas-border-light);
    }

    .yas-cart-image {
        flex-basis: 95px;
        width: 95px;
        height: 95px;
    }

    .yas-cart-product-name {
        font-size: 13px;
    }

    .yas-cart-mobile-label {
        display: block;
        color: var(--yas-text-muted);
        font-size: 11px;
        margin-bottom: 4px;
    }

    .yas-cart-price,
    .yas-cart-quantity,
    .yas-cart-total {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .yas-cart-price {
        grid-column: 1;
    }

    .yas-cart-quantity {
        grid-column: 2;
    }

    .yas-cart-total {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-top: 13px;
        border-top: 1px dashed var(--yas-border);
    }

        .yas-cart-total strong {
            font-size: 16px;
        }

    .yas-cart-summary {
        position: static;
        margin-top: 5px;
    }
}

@media (max-width: 575.98px) {

    .yas-cart-heading {
        margin-bottom: 15px;
    }

        .yas-cart-heading h2 {
            font-size: 17px;
        }

    .yas-cart-item {
        padding: 14px;
    }

    .yas-cart-image {
        flex-basis: 80px;
        width: 80px;
        height: 80px;
    }

    .yas-cart-product {
        gap: 11px;
    }

    .yas-cart-product-name {
        font-size: 12px;
    }

    .yas-cart-price strong {
        font-size: 13px;
    }

    .yas-cart-summary {
        padding: 19px;
    }

    .yas-cart-summary-total strong {
        font-size: 21px;
    }
}


#wrpWallet, #wrp-order-legalinfo {
    display: none;
}

#wrp-order-legalinfo {
    margin-bottom: 15px;
}

/*  #wrp-order-address, #wrp-order-shipping, #paper-factor {
                display: none;
            } */

#site-header-cart {
}

#step2 {
    display: none
}

.order-step-1 {
    display: none
}

#summary-address .wrp-sel-address, #summary-address .opt {
    display: none;
}

#wrp-order-address, #wrp-order-shipping {
    min-height: 100px;
}

/* Products in Order */

/* =====================================
           YASANA - ORDER ITEMS
        ===================================== */

.skeleton-loader:has(> #order-cart) {
    font-family: var(--yas-font);
    direction: rtl;
    margin-bottom: 28px;
}

    /* عنوان اقلام سفارش */
    .skeleton-loader:has(> #order-cart) > h4 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0 0 16px;
        color: var(--yas-text-strong);
        font-size: 18px;
        font-weight: 800;
        line-height: 1.8;
    }

        .skeleton-loader:has(> #order-cart) > h4::before {
            content: "\f291";
            font-family: FontAwesome;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: var(--yas-border-light);
            color: var(--yas-primary);
            font-size: 16px;
            font-weight: normal;
        }

/* قاب اصلی */
#order-cart .box-rows {
    float: none;
    width: 100%;
    padding: 0 !important;
    background: var(--yas-surface);
    border: 1px solid var(--yas-neutral-button-hover);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 24px rgba(var(--yas-primary-rgb), .035);
}

    /* خطوط قدیمی */
    #order-cart .box-rows > hr {
        display: none;
    }

/* هر ردیف محصول */
#order-cart .cart-row, #summary-factor .cart-row {
    margin: 0 !important;
    padding: 18px 20px !important;
    background: var(--yas-surface);
    border: 0;
    border-bottom: 1px solid var(--yas-border-light);
    transition: background .2s ease;
}

    #order-cart .cart-row:hover, #summary-factor .cart-row:hover {
        background: var(--yas-surface-soft);
    }

    #order-cart .cart-row:last-of-type, #summary-factor .cart-row:last-of-type {
        border-bottom: 0;
    }

/* اصلاح Grid بوت‌استرپ */
#order-cart .item-inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    gap: 0;
}

    #order-cart .item-inner > .col-md-2 {
        flex: 0 0 100px;
        width: 100px;
        max-width: 100px;
        padding: 0;
    }

    #order-cart .item-inner > .product-details {
        flex: 1 1 0;
        width: auto;
        max-width: none;
        min-width: 0;
        padding: 0 15px;
    }

/* تصویر محصول */
#order-cart .product-image, #summary-factor .product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 94px;
    height: 94px;
    border: 1px solid var(--yas-border-light);
    border-radius: 12px;
    background: var(--yas-background);
    overflow: hidden;
}

    #order-cart .product-image img, #summary-factor .product-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 5px;
        transition: transform .25s ease;
    }

    #order-cart .product-image:hover img, #summary-summary .product-image:hover img {
        transform: scale(1.05);
    }

/* نام و مشخصات */
#order-cart .product-name {
    margin: 0;
    line-height: 2;
}

#order-cart .lnk-cart {
    color: var(--yas-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 2;
    text-decoration: none;
}

    #order-cart .lnk-cart:hover {
        color: var(--yas-primary-hover);
    }

#order-cart .warranty {
    display: block;
    color: var(--yas-text-muted);
    font-size: 11px;
    margin-top: 5px;
}

    #order-cart .warranty:empty {
        display: none;
    }

/* بخش قیمت، تعداد و جمع */
#order-cart .item-inner > .row.col-md-7 {
    display: grid;
    grid-template-columns: 1fr .65fr 1.2fr;
    align-items: center;
    gap: 12px;
    flex: 0 0 48%;
    width: 48%;
    max-width: 48%;
    margin: 0 !important;
    padding: 0;
}

    #order-cart .item-inner > .row.col-md-7 > div {
        width: auto;
        max-width: none;
        padding: 0;
        min-width: 0;
    }

    /* برچسب‌ها */
    #order-cart .item-inner > .row.col-md-7 p {
        margin: 0 0 9px;
        color: var(--yas-text-subtle);
        font-size: 11px;
        font-weight: 500;
    }

/* قیمت قبلی */
#order-cart del {
    display: inline-block;
    color: var(--yas-text-subtle);
    font-size: 12px;
    line-height: 1.8;
}

/* قیمت جدید */
#order-cart ins {
    display: inline-block;
    color: var(--yas-primary);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.9;
}

/* تعداد - فقط نمایش */
#order-cart .add-to-box,
#order-cart .add-to-cart,
#order-cart .pull-left {
    float: none !important;
    margin: 0;
    padding: 0;
}

    #order-cart .add-to-cart .text-center {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 38px;
        height: 36px;
        padding: 0 10px;
        border: 1px solid var(--yas-brand-tint-strong);
        border-radius: 9px;
        background: var(--yas-brand-tint);
        color: var(--yas-primary);
        font-size: 14px;
        font-weight: 800;
    }

/* جمع هر محصول */
#order-cart .cart-pr {
    color: var(--yas-primary);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.9;
    white-space: nowrap;
}

/* محصولات وابسته */
#order-cart .cart_row_bundle {
    padding-right: 35px !important;
    background: var(--yas-background);
}

/* =====================================
           TABLET
        ===================================== */

@media (max-width: 1199.98px) {
    #order-cart .item-inner > .row.col-md-7 {
        flex-basis: 52%;
        width: 52%;
        max-width: 52%;
        gap: 8px;
    }

    #order-cart .item-inner > .col-md-2 {
        flex-basis: 85px;
        width: 85px;
        max-width: 85px;
    }

    #order-cart .product-image {
        width: 80px;
        height: 80px;
    }

    #order-cart .cart-pr {
        font-size: 13px;
    }
}

/* =====================================
           MOBILE
        ===================================== */

@media (max-width: 767.98px) {
    .skeleton-loader:has(> #order-cart) > h4 {
        font-size: 16px;
    }

    #order-cart .box-rows {
        border-radius: 13px;
    }

    #order-cart .cart-row {
        padding: 15px !important;
    }

    #order-cart .item-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }

        #order-cart .item-inner > .col-md-2 {
            flex: 0 0 78px;
            width: 78px;
            max-width: 78px;
        }

    #order-cart .product-image {
        width: 74px;
        height: 74px;
        border-radius: 10px;
    }

    #order-cart .item-inner > .product-details {
        flex: 1 1 calc(100% - 78px);
        width: calc(100% - 78px);
        max-width: calc(100% - 78px);
        padding: 0 12px;
    }

    #order-cart .lnk-cart {
        font-size: 12px;
    }
    /* اطلاعات قیمت، تعداد و جمع در ردیف دوم */
    #order-cart .item-inner > .row.col-md-7 {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr .65fr 1.25fr;
        gap: 8px;
        margin-top: 15px !important;
        padding-top: 13px;
        border-top: 1px dashed var(--yas-neutral-button-hover);
    }

        #order-cart .item-inner > .row.col-md-7 p {
            margin-bottom: 5px;
            font-size: 10px;
        }

    #order-cart ins,
    #order-cart .cart-pr {
        font-size: 12px;
    }

    #order-cart del {
        font-size: 10px;
    }

    #order-cart .add-to-cart .text-center {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }

    #order-cart .cart-pr {
        white-space: normal;
    }

    #order-cart .cart_row_bundle {
        padding-right: 20px !important;
    }
}
/* Products in Order */

/* Shipment Ways */

/* ====================================
           YASANA - SHIPPING METHODS
        ==================================== */

#wrp-order-shipping {
    font-family: var(--yas-font);
    direction: rtl;
    margin: 25px 0;
}

    /* Section Title */
    #wrp-order-shipping > h4 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0 0 18px;
        color: var(--yas-text-strong);
        font-size: 18px;
        font-weight: 800;
        line-height: 1.8;
    }

        #wrp-order-shipping > h4::before {
            content: "\f0d1";
            font-family: FontAwesome;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: var(--yas-border-light);
            color: var(--yas-primary);
            font-size: 16px;
            font-weight: normal;
        }

/* Cards Container */
#order-shipments {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

    /* Hide Old Separators */
    #order-shipments > hr {
        display: none;
    }

    /* Shipping Card */
    #order-shipments .box-shipment {
        position: relative;
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 15px;
        margin: 0 !important;
        padding: 18px 20px;
        background: var(--yas-surface);
        border: 1px solid var(--yas-border);
        border-radius: 14px;
        box-shadow: 0 3px 15px rgba(var(--yas-primary-rgb), .025);
        transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
    }

        /* Hover */
        #order-shipments .box-shipment:hover {
            border-color: var(--yas-border-strong);
            background: var(--yas-surface-soft);
        }

        /* Selected Card - CSS only */
        #order-shipments .box-shipment:has(.ship-item:checked) {
            background: var(--yas-brand-tint);
            border-color: var(--yas-accent);
            box-shadow: 0 0 0 1px rgba(var(--yas-primary-rgb), .12), 0 5px 20px rgba(var(--yas-primary-rgb), .055);
        }

        /* Reset Bootstrap Columns */
        #order-shipments .box-shipment > .col-md-4 {
            flex: 0 0 38%;
            width: 38%;
            max-width: 38%;
            padding: 0;
        }

        #order-shipments .box-shipment > .col-md-8 {
            flex: 1 1 0;
            width: auto;
            max-width: none;
            min-width: 0;
            padding: 0;
        }

    /* Radio Group */
    #order-shipments .form-check {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 40px;
        margin: 0;
        padding: 0;
    }

    /* Radio */
    #order-shipments .form-check-input {
        float: none;
        flex: 0 0 21px;
        width: 21px;
        height: 21px;
        margin: 0 !important;
        border: 2px solid var(--yas-border-strong);
        background-color: var(--yas-surface);
        box-shadow: none;
        cursor: pointer;
        accent-color: var(--yas-accent);
    }

        #order-shipments .form-check-input:checked {
            background-color: var(--yas-accent);
            border-color: var(--yas-accent);
        }

        #order-shipments .form-check-input:focus-visible {
            box-shadow: 0 0 0 4px rgba(var(--yas-primary-rgb), .13);
        }

    /* Shipping Method Name */
    #order-shipments .form-check-label {
        margin: 0 !important;
        padding: 0;
        color: var(--yas-text);
        font-size: 14px;
        font-weight: 700;
        line-height: 1.9;
        cursor: pointer;
    }

    #order-shipments .box-shipment:has(.ship-item:checked)
    .form-check-label {
        color: var(--yas-primary);
    }

    /* Description */
    #order-shipments .box-shipment > .col-md-8 p {
        margin: 0;
        color: var(--yas-text-muted);
        font-size: 12px;
        line-height: 2;
    }

    #order-shipments .box-shipment:has(.ship-item:checked) > .col-md-8 p {
        color: var(--yas-text-muted);
    }

    /* Decorative icon */
    #order-shipments .box-shipment::after {
        content: "\f0d1";
        font-family: FontAwesome;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        border-radius: 11px;
        background: var(--yas-surface-muted);
        color: var(--yas-text-subtle);
        font-size: 19px;
        font-weight: normal;
        transition: .2s;
    }

    #order-shipments .box-shipment:has(.ship-item:checked)::after {
        background: var(--yas-brand-tint-strong);
        color: var(--yas-accent);
    }

    /* Different icons by shipping ID */
    #order-shipments .box-shipment:has(#shipment_3369)::after {
        content: "\f187"; /* Archive / Package */
    }

    #order-shipments .box-shipment:has(#shipment_9648)::after {
        content: "\f0d1"; /* Truck */
    }

    #order-shipments .box-shipment:has(#shipment_3370)::after {
        content: "\f21c"; /* Motorcycle */
    }

    #order-shipments .box-shipment:has(#shipment_3368)::after {
        content: "\f015"; /* Home */
    }

/* ====================================
           MOBILE
        ==================================== */

@media (max-width: 767.98px) {
    #wrp-order-shipping {
        margin: 20px 0;
    }

        #wrp-order-shipping > h4 {
            font-size: 16px;
            margin-bottom: 14px;
        }

    #order-shipments {
        gap: 10px;
    }

        #order-shipments .box-shipment {
            flex-wrap: wrap;
            gap: 7px 10px;
            padding: 14px;
            border-radius: 12px;
        }

            #order-shipments .box-shipment > .col-md-4 {
                flex: 1 1 calc(100% - 55px);
                width: calc(100% - 55px);
                max-width: calc(100% - 55px);
                order: 1;
            }

            #order-shipments .box-shipment::after {
                flex: 0 0 38px;
                width: 38px;
                height: 38px;
                font-size: 17px;
                order: 2;
            }

            #order-shipments .box-shipment > .col-md-8 {
                flex: 0 0 100%;
                width: 100%;
                max-width: 100%;
                order: 3;
                padding-right: 33px;
            }

        #order-shipments .form-check-label {
            font-size: 13px;
        }

        #order-shipments .box-shipment > .col-md-8 p {
            font-size: 11px;
            line-height: 1.9;
        }
}
/* Locked Shipping State */

#yas-shipping-locked {
    direction: rtl;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--yas-border);
    border-radius: 13px;
    background: var(--yas-surface-muted);
    font-family: var(--yas-font);
}

    #yas-shipping-locked .yas-shipping-locked-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        border-radius: 11px;
        background: var(--yas-border-light);
        color: var(--yas-text-muted);
        font-size: 20px;
    }

    #yas-shipping-locked .yas-shipping-locked-text {
        display: flex;
        flex-direction: column;
        flex: 1;
        gap: 5px;
    }

    #yas-shipping-locked strong {
        color: var(--yas-text-muted);
        font-size: 13px;
        font-weight: 800;
    }

    #yas-shipping-locked span {
        color: var(--yas-text-subtle);
        font-size: 12px;
        line-height: 1.9;
    }

    #yas-shipping-locked .yas-lock-icon {
        color: var(--yas-text-subtle);
        font-size: 17px;
    }

@media (max-width: 767.98px) {
    #yas-shipping-locked {
        padding: 15px;
        gap: 10px;
    }

        #yas-shipping-locked strong {
            font-size: 12px;
        }

        #yas-shipping-locked span {
            font-size: 11px;
        }
}
/* Shipment Ways End*/



/* address list */

/* ==================================
           YASANA - DELIVERY ADDRESS
        ================================== */

#wrp-order-address {
    direction: rtl;
    font-family: var(--yas-font);
    margin: 25px 0;
}

    /* Section Heading */
    #wrp-order-address > h4 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0 0 18px;
        color: var(--yas-text-strong);
        font-size: 18px;
        font-weight: 800;
    }

        #wrp-order-address > h4::before {
            content: "\f041";
            font-family: FontAwesome;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: var(--yas-border-light);
            color: var(--yas-primary);
            font-size: 18px;
            font-weight: normal;
        }

/* Address List */
#temp-address {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    #temp-address > hr {
        display: none;
    }

/* Address Card */
#wrp-order-address .user-addrs {
    position: relative;
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    margin: 0 !important;
    padding: 20px;
    background: var(--yas-surface);
    border: 1px solid var(--yas-border);
    border-radius: 15px;
    color: var(--yas-text);
    box-shadow: 0 3px 16px rgba(var(--yas-primary-rgb), .025);
    transition: border-color .2s, background .2s;
}

    #wrp-order-address .user-addrs:hover {
        border-color: var(--yas-border-strong);
    }

    /* Selected Address */
    #wrp-order-address .user-addrs.address-selected,
    #wrp-order-address .user-addrs:has(input[type="radio"]:checked) {
        background: var(--yas-surface-muted);
        border-color: var(--yas-accent);
        box-shadow: 0 0 0 1px rgba(var(--yas-primary-rgb), .10);
    }

/* Remove old selected border */
#wrp-order-address .address-selected .wrp-sel-address {
    border-right: 0 !important;
}

/* Radio Column */
#wrp-order-address .wrp-sel-address {
    flex: 0 0 40px;
    width: 40px;
    max-width: 40px;
    padding: 3px 0 0;
    text-align: right;
}

    #wrp-order-address .wrp-sel-address .form-check {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
        margin: 0;
    }

    #wrp-order-address .wrp-sel-address .form-check-input {
        float: none;
        width: 21px;
        height: 21px;
        margin: 0 !important;
        border: 2px solid var(--yas-border-strong);
        background-color: var(--yas-surface);
        cursor: pointer;
        box-shadow: none;
    }

        #wrp-order-address .wrp-sel-address .form-check-input:checked {
            background-color: var(--yas-accent);
            border-color: var(--yas-accent);
        }

/* Address Details Grid */
#wrp-order-address .wrp-addr-info {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    row-gap: 14px;
}

    #wrp-order-address .wrp-addr-info > div:not(.opt) {
        color: var(--yas-text-muted);
        font-size: 12px;
        line-height: 2;
    }

        #wrp-order-address .wrp-addr-info > div:not(.opt) span {
            color: var(--yas-text);
            font-size: 13px;
            font-weight: 700;
            overflow-wrap: anywhere;
        }

    /* Edit / Delete Actions */
    #wrp-order-address .wrp-addr-info .opt {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 9px;
        padding-top: 13px;
        margin-top: 3px;
        border-top: 1px solid var(--yas-border);
    }

#wrp-order-address .opt .btn-link {
    float: none !important;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}

/* Edit */
#wrp-order-address .opt a[onclick*="goUpdateAddress"] {
    color: var(--yas-accent);
    background: var(--yas-brand-tint-hover);
}

    #wrp-order-address .opt a[onclick*="goUpdateAddress"]:hover {
        background: var(--yas-brand-tint-strong);
    }

/* Delete */
#wrp-order-address .opt a[onclick*="deleteAddress"] {
    color: var(--yas-danger);
    background: var(--yas-danger-tint);
}

    #wrp-order-address .opt a[onclick*="deleteAddress"]:hover {
        background: var(--yas-danger-tint-hover);
    }

/* Add Address Button */
#order-address > input[onclick="goAddAddress()"], .btn-add-address {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 17px;
    min-height: 45px;
    padding: 10px 22px;
    border: 1px dashed var(--yas-text-subtle);
    border-radius: 11px;
    background: var(--yas-brand-tint);
    color: var(--yas-primary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

    #order-address > input[onclick="goAddAddress()"]:hover, .btn-add-address:hover {
        background: var(--yas-brand-tint-hover);
        border-color: var(--yas-accent);
    }

/* Mobile */
@media (max-width: 767.98px) {
    #wrp-order-address > h4 {
        font-size: 16px;
    }

    #wrp-order-address .user-addrs {
        padding: 14px 11px;
        border-radius: 12px;
    }

    #wrp-order-address .wrp-sel-address {
        flex-basis: 32px;
        width: 32px;
        max-width: 32px;
    }

    #wrp-order-address .wrp-addr-info {
        row-gap: 9px;
    }

        #wrp-order-address .wrp-addr-info > div:not(.opt) {
            font-size: 11px;
        }

            #wrp-order-address .wrp-addr-info > div:not(.opt) span {
                font-size: 12px;
            }

    #wrp-order-address .opt .btn-link {
        padding: 7px 10px;
        font-size: 11px;
    }

    #order-address > input[onclick="goAddAddress()"] {
        width: 100%;
    }
}

/* ========================================
           YASANA - MODERN ADDRESS MODAL
        ======================================== */

#addressModal {
    direction: rtl;
    font-family: var(--yas-font);
    text-align: right;
}

    /* Dialog */
    #addressModal .modal-dialog {
        max-width: 760px;
        margin-top: 35px;
        margin-bottom: 35px;
    }

    #addressModal .modal-content {
        overflow: hidden;
        border: 1px solid var(--yas-border-light);
        border-radius: 20px;
        background: var(--yas-surface);
        box-shadow: 0 24px 80px rgba(var(--yas-primary-rgb), .20);
    }

    /* Header */
    #addressModal .modal-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 21px 26px;
        border-bottom: 1px solid var(--yas-border);
        background: var(--yas-surface-muted);
    }

    #addressModal .modal-title {
        order: 1;
        margin: 0;
        color: var(--yas-text-strong);
        font-size: 18px;
        font-weight: 800;
        line-height: 1.7;
    }

    /* Close Button */
    #addressModal #modal-close {
        order: 2;
        float: none;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 10px;
        background: var(--yas-border-light);
        color: var(--yas-text-muted);
        font-size: 25px;
        line-height: 1;
        opacity: 1;
        cursor: pointer;
        transition: .2s;
    }

        #addressModal #modal-close:hover {
            background: var(--yas-neutral-button);
            color: var(--yas-danger);
        }

    /* Body */
    #addressModal .modal-body {
        padding: 24px 26px 10px;
        max-height: 68vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

        #addressModal .modal-body > .row {
            margin: 0;
        }

        #addressModal .modal-body .container {
            width: 100%;
            max-width: 100%;
            padding: 0;
        }

    /* Tabs */
    #addressModal #navbartabs {
        display: flex;
        margin: 0 0 20px;
        padding: 0;
        border-bottom: 1px solid var(--yas-border);
        list-style: none;
    }

        #addressModal #navbartabs li {
            margin: 0;
        }

        #addressModal #navbartabs .nav-link {
            display: block;
            padding: 10px 16px 13px;
            border: 0;
            border-bottom: 3px solid transparent;
            border-radius: 0;
            background: transparent;
            color: var(--yas-text-muted);
            font-size: 13px;
            font-weight: 700;
            text-decoration: none;
        }

            #addressModal #navbartabs .nav-link.active {
                border-bottom-color: var(--yas-accent);
                color: var(--yas-primary);
            }

    /* Remove unnecessary space */
    #addressModal #tabcontent > br {
        display: none;
    }

    /* Form Layout */
    #addressModal #placeholder > .row {
        row-gap: 4px;
    }

    /* Field Group */
    #addressModal .form-group {
        margin-bottom: 17px;
    }

        #addressModal .form-group label {
            display: block;
            margin-bottom: 8px;
            color: var(--yas-text);
            font-size: 12px;
            font-weight: 700;
            line-height: 1.8;
        }

    /* Inputs / Selects / Textarea */
    #addressModal .adds-cont {
        display: block;
        width: 100%;
        min-height: 46px;
        padding: 10px 13px;
        border: 1px solid var(--yas-brand-tint-strong);
        border-radius: 10px;
        background-color: var(--yas-surface-soft);
        color: var(--yas-text);
        font-family: var(--yas-font);
        font-size: 13px;
        line-height: 1.8;
        box-shadow: none;
        outline: 0;
        transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    }

        #addressModal .adds-cont::placeholder {
            color: var(--yas-text-subtle);
            opacity: 1;
        }

        #addressModal .adds-cont:hover {
            border-color: var(--yas-border-strong);
        }

        #addressModal .adds-cont:focus {
            border-color: var(--yas-accent);
            background: var(--yas-surface);
            box-shadow: 0 0 0 3px rgba(var(--yas-primary-rgb), .10);
        }

    /* Select Dropdown */
    #addressModal select.adds-cont {
        cursor: pointer;
        padding-left: 30px;
        background-color: var(--yas-surface-soft);
    }

    /* Number fields */
    #addressModal input[type="number"] {
        direction: ltr;
        text-align: right;
        appearance: textfield;
        -moz-appearance: textfield;
    }

        #addressModal input[type="number"]::-webkit-inner-spin-button,
        #addressModal input[type="number"]::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

    /* Postal Address */
    #addressModal textarea.adds-cont {
        min-height: 105px;
        padding-top: 12px;
        resize: vertical;
    }

    /* Validation */
    #addressModal .adds-cont.err-validate {
        border-color: var(--yas-error) !important;
        background: var(--yas-surface-soft) !important;
        box-shadow: 0 0 0 3px rgba(var(--yas-error-rgb), .08);
    }

    /* Footer */
    #addressModal .modal-footer {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
        padding: 17px 26px;
        border-top: 1px solid var(--yas-border);
        background: var(--yas-background);
    }

    /* Save Button */
    #addressModal #btnAddressSave {
        min-width: 135px;
        min-height: 45px;
        margin: 0;
        padding: 10px 23px;
        border: 1px solid var(--yas-primary);
        border-radius: 10px;
        background: var(--yas-primary);
        color: var(--yas-surface);
        font-family: inherit;
        font-size: 13px;
        font-weight: 800;
        cursor: pointer;
        transition: .2s;
    }

        #addressModal #btnAddressSave:hover {
            background: var(--yas-primary-hover);
            border-color: var(--yas-primary-hover);
            box-shadow: 0 5px 15px rgba(var(--yas-primary-rgb), .15);
        }

    /* Cancel Button */
    #addressModal #btnAddressBack {
        min-width: 115px;
        min-height: 45px;
        margin: 0;
        padding: 10px 20px;
        border: 1px solid var(--yas-border);
        border-radius: 10px;
        background: var(--yas-neutral-button);
        color: var(--yas-text-muted);
        font-family: inherit;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        transition: .2s;
    }

        #addressModal #btnAddressBack:hover {
            background: var(--yas-neutral-button-hover);
        }

    /* Map */
    #addressModal #mapAddress {
        height: 310px;
        border-radius: 12px;
        overflow: hidden;
    }

/* ========================================
           MOBILE
        ======================================== */

@media (max-width: 767.98px) {
    #addressModal .modal-dialog {
        width: auto;
        max-width: none;
        margin: 12px;
    }

    #addressModal .modal-content {
        border-radius: 15px;
    }

    #addressModal .modal-header {
        padding: 16px 18px;
    }

    #addressModal .modal-title {
        font-size: 16px;
    }

    #addressModal .modal-body {
        padding: 18px 15px 6px;
        max-height: 72vh;
    }

    #addressModal #navbartabs {
        margin-bottom: 17px;
    }

    #addressModal .form-group {
        margin-bottom: 14px;
    }

        #addressModal .form-group label {
            font-size: 11px;
            min-height: 22px;
        }

    #addressModal .adds-cont {
        min-height: 44px;
        padding: 9px 10px;
        font-size: 12px;
    }

    #addressModal textarea.adds-cont {
        min-height: 90px;
    }

    #addressModal .modal-footer {
        padding: 14px 16px;
    }

    #addressModal #btnAddressSave,
    #addressModal #btnAddressBack {
        flex: 1 1 0;
        min-width: 0;
        min-height: 43px;
        font-size: 12px;
    }
}


/* ====================================
           YASANA - EMPTY DELIVERY ADDRESS
        ==================================== */

#yas-empty-address {
    direction: rtl;
    width: 100%;
    margin: 12px 0 28px;
    padding: 35px 25px;
    border: 1px dashed var(--yas-border-strong);
    border-radius: 18px;
    background: linear-gradient( 180deg, var(--yas-background) 0%, var(--yas-surface) 100% );
    text-align: center;
    font-family: var(--yas-font);
}

    /* Icon */
    #yas-empty-address .yas-empty-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 72px;
        height: 72px;
        margin: 0 auto 20px;
        border-radius: 50%;
        background: var(--yas-brand-tint-hover);
        color: var(--yas-accent);
        font-size: 32px;
    }

    /* Title */
    #yas-empty-address h3 {
        margin: 0 0 12px;
        color: var(--yas-primary);
        font-size: 18px;
        font-weight: 800;
        line-height: 1.8;
    }

    /* Description */
    #yas-empty-address p {
        max-width: 510px;
        margin: 0 auto 24px;
        color: var(--yas-text-muted);
        font-size: 13px;
        line-height: 2.2;
    }

    /* Main Action */
    #yas-empty-address .yas-add-address-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 49px;
        padding: 12px 28px;
        border: 1px solid var(--yas-primary);
        border-radius: 11px;
        background: var(--yas-primary);
        color: var(--yas-surface);
        font-family: inherit;
        font-size: 14px;
        font-weight: 800;
        cursor: pointer;
        transition: .2s ease;
    }

        #yas-empty-address .yas-add-address-btn:hover {
            background: var(--yas-primary-hover);
            border-color: var(--yas-primary-hover);
            transform: translateY(-1px);
            box-shadow: 0 6px 18px rgba(var(--yas-primary-rgb), .14);
        }

    /* Small Hint */
    #yas-empty-address .yas-empty-note {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        margin-top: 17px;
        color: var(--yas-text-subtle);
        font-size: 11px;
    }

        #yas-empty-address .yas-empty-note i {
            font-size: 14px;
        }

/* Mobile */
@media (max-width: 767.98px) {
    #yas-empty-address {
        padding: 28px 17px;
        margin: 10px 0 22px;
        border-radius: 14px;
    }

        #yas-empty-address .yas-empty-icon {
            width: 62px;
            height: 62px;
            font-size: 28px;
        }

        #yas-empty-address h3 {
            font-size: 16px;
        }

        #yas-empty-address p {
            font-size: 12px;
            line-height: 2;
        }

        #yas-empty-address .yas-add-address-btn {
            width: 100%;
            font-size: 13px;
        }
}

/* address list End*/


/* Legal Info */

/* YASANA - Legal Purchase Checkbox */

div:has(> #chkFactorIsLegal) {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 14px 18px;
    margin-bottom: 18px !important;
    border: 1px solid var(--yas-border);
    border-radius: 13px;
    background: var(--yas-surface);
    color: var(--yas-text);
    font-family: var(--yas-font);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

div:has(> #chkFactorIsLegal:checked) {
    border-color: var(--yas-accent);
    background: var(--yas-brand-tint);
}

#chkFactorIsLegal {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    margin: 0;
    border: 2px solid var(--yas-border-strong);
    border-radius: 6px;
    background: var(--yas-surface);
    cursor: pointer;
}

    #chkFactorIsLegal:checked {
        background: var(--yas-accent);
        border-color: var(--yas-accent);
    }

        #chkFactorIsLegal:checked::after {
            content: "\f00c";
            font-family: FontAwesome;
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--yas-surface);
            font-size: 12px;
        }

/* YASANA - Legal Info Card Refinement */

#order-legalinfo .user-legal {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 22px !important;
    border: 1px solid var(--yas-border);
    border-radius: 16px;
    background: var(--yas-surface);
    transition: .2s ease;
}

    /* Selected Card */
    #order-legalinfo .user-legal.LegalInfo-selected,
    #order-legalinfo .user-legal:has( input[name="legalInfoRadio"]:checked ) {
        border-color: var(--yas-accent);
        background: var(--yas-surface-muted);
        box-shadow: 0 0 0 1px rgba(var(--yas-primary-rgb), .08);
    }

/* Radio */
#order-legalinfo .wrp-sel-legalinfo {
    flex: 0 0 34px;
    width: 34px;
    max-width: 34px;
    padding: 4px 0 0;
}

    #order-legalinfo .wrp-sel-legalinfo .form-check {
        display: flex;
        justify-content: center;
        padding: 0 !important;
        margin: 0;
    }

    #order-legalinfo .wrp-sel-legalinfo .form-check-input {
        float: none;
        width: 21px;
        height: 21px;
        margin: 0 !important;
        cursor: pointer;
        border: 2px solid var(--yas-border-strong);
        box-shadow: none;
    }

        #order-legalinfo .wrp-sel-legalinfo
        .form-check-input:checked {
            background-color: var(--yas-accent);
            border-color: var(--yas-accent);
        }

/* Details Container */
#order-legalinfo .wrp-legal-info {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    row-gap: 0;
}

    /* Information Cells */
    #order-legalinfo .wrp-legal-info > div:not(.opt) {
        padding: 12px 14px;
        color: var(--yas-text-muted);
        font-size: 12px;
        line-height: 1.9;
        border-bottom: 1px solid var(--yas-neutral-button-hover);
    }

        /* Values */
        #order-legalinfo .wrp-legal-info > div:not(.opt) span {
            display: block;
            margin-top: 4px;
            color: var(--yas-text);
            font-size: 13px;
            font-weight: 700;
            line-height: 1.9;
            overflow-wrap: anywhere;
        }

    /* Organization Name */
    #order-legalinfo .wrp-legal-info > div:first-child span {
        color: var(--yas-primary);
        font-size: 15px;
        font-weight: 800;
    }

    /* Actions */
    #order-legalinfo .wrp-legal-info > .opt {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 9px;
        padding: 15px 10px 0;
        margin-top: 5px;
        border: 0;
    }

#order-legalinfo .opt .btn-link {
    float: none !important;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

/* Edit */
#order-legalinfo .opt a[onclick*="goUpdateLegalInfo"] {
    color: var(--yas-accent);
    background: var(--yas-brand-tint-hover);
}

/* Delete */
#order-legalinfo .opt a[onclick*="deleteLegalInfo"] {
    color: var(--yas-danger);
    background: var(--yas-neutral-button);
}

/* Mobile */
@media (max-width: 767.98px) {
    #order-legalinfo .user-legal {
        gap: 5px;
        padding: 14px 9px !important;
    }

    #order-legalinfo .wrp-sel-legalinfo {
        flex: 0 0 28px;
        width: 28px;
        max-width: 28px;
    }

    #order-legalinfo .wrp-legal-info > div:not(.opt) {
        padding: 10px 8px;
        font-size: 11px;
    }

        #order-legalinfo .wrp-legal-info > div:not(.opt) span {
            font-size: 12px;
        }

    #order-legalinfo .wrp-legal-info > div:first-child span {
        font-size: 13px;
    }

    #order-legalinfo .wrp-legal-info > .opt {
        padding: 13px 5px 0;
    }
}

#order-legalinfo > input[onclick="goAddLegalInfo()"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 17px;
    min-height: 45px;
    padding: 10px 22px;
    border: 1px dashed var(--yas-text-subtle);
    border-radius: 11px;
    background: var(--yas-brand-tint);
    color: var(--yas-primary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

/* =========================================
           YASANA - LEGAL INFORMATION MODAL
        ========================================= */

#legalInfoModal {
    direction: rtl;
    text-align: right;
    font-family: var(--yas-font);
}

    /* Modal container */
    #legalInfoModal .modal-dialog {
        width: calc(100% - 32px);
        max-width: 720px;
        margin: 35px auto;
    }

    #legalInfoModal .modal-content {
        overflow: hidden;
        border: 0;
        border-radius: 18px;
        background: var(--yas-surface);
        box-shadow: 0 25px 75px rgba(var(--yas-primary-rgb), .18);
    }

    /* Header */
    #legalInfoModal .modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 25px;
        background: var(--yas-surface-muted);
        border-bottom: 1px solid var(--yas-border);
    }

    #legalInfoModal .modal-title {
        order: 1;
        margin: 0;
        color: var(--yas-primary);
        font-size: 18px;
        font-weight: 800;
    }

    /* Close */
    #legalInfoModal #modal-close2 {
        order: 2;
        float: none;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 9px;
        background: var(--yas-border-light);
        color: var(--yas-text-muted);
        font-size: 24px;
        line-height: 1;
        opacity: 1;
        cursor: pointer;
        transition: .2s;
    }

        #legalInfoModal #modal-close2:hover {
            background: var(--yas-border-light);
            color: var(--yas-danger);
        }

    /* Body */
    #legalInfoModal .modal-body {
        padding: 22px 25px 8px;
        max-height: 68vh;
        overflow-x: hidden;
        overflow-y: auto;
    }

        #legalInfoModal .modal-body > .row {
            margin: 0;
        }

        #legalInfoModal .modal-body .container {
            width: 100%;
            max-width: 100%;
            padding: 0;
        }

    /* Tabs */
    #legalInfoModal #navbartabs {
        display: flex;
        padding: 0;
        margin: 0 0 20px;
        border-bottom: 1px solid var(--yas-border);
        list-style: none;
    }

        #legalInfoModal #navbartabs .nav-link {
            display: block;
            padding: 10px 16px 12px;
            border: 0;
            border-bottom: 3px solid transparent;
            border-radius: 0;
            background: transparent;
            color: var(--yas-text-muted);
            font-size: 13px;
            font-weight: 700;
            text-decoration: none;
        }

            #legalInfoModal #navbartabs .nav-link.active {
                color: var(--yas-primary);
                border-bottom-color: var(--yas-accent);
            }

    #legalInfoModal #tabcontent > br {
        display: none;
    }

    /* Fields */
    #legalInfoModal .form-group {
        margin-bottom: 17px;
    }

        #legalInfoModal .form-group label {
            display: block;
            margin-bottom: 7px;
            color: var(--yas-text);
            font-size: 12px;
            font-weight: 700;
            line-height: 1.9;
        }

    /* Inputs */
    #legalInfoModal .adds-cont {
        display: block;
        width: 100%;
        min-height: 46px;
        padding: 10px 13px;
        border: 1px solid var(--yas-brand-tint-strong);
        border-radius: 10px;
        background: var(--yas-surface-soft);
        color: var(--yas-text);
        font-family: inherit;
        font-size: 13px;
        line-height: 1.7;
        outline: none;
        box-shadow: none;
        transition: border-color .2s, box-shadow .2s;
    }

        #legalInfoModal .adds-cont::placeholder {
            color: var(--yas-text-subtle);
        }

        #legalInfoModal .adds-cont:hover {
            border-color: var(--yas-border-strong);
        }

        #legalInfoModal .adds-cont:focus {
            border-color: var(--yas-accent);
            background: var(--yas-surface);
            box-shadow: 0 0 0 3px rgba(var(--yas-primary-rgb), .10);
        }

    /* Selects */
    #legalInfoModal select.adds-cont {
        cursor: pointer;
    }

    /* Validation */
    #legalInfoModal .adds-cont.err-validate {
        border-color: var(--yas-error) !important;
        background: var(--yas-error-bg) !important;
    }

    /* Footer */
    #legalInfoModal .modal-footer {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 17px 25px;
        border-top: 1px solid var(--yas-border);
        background: var(--yas-background);
    }

    /* Save button */
    #legalInfoModal #btnLegalInfoSave {
        min-width: 135px;
        min-height: 45px;
        margin: 0;
        padding: 10px 22px;
        border: 1px solid var(--yas-primary);
        border-radius: 10px;
        background: var(--yas-primary);
        color: var(--yas-surface);
        font-family: inherit;
        font-size: 13px;
        font-weight: 800;
        cursor: pointer;
        transition: .2s;
    }

        #legalInfoModal #btnLegalInfoSave:hover {
            background: var(--yas-primary-hover);
            border-color: var(--yas-primary-hover);
        }

    /* Cancel button */
    #legalInfoModal #btnLegalInfoBack {
        min-width: 115px;
        min-height: 45px;
        margin: 0;
        padding: 10px 20px;
        border: 1px solid var(--yas-border);
        border-radius: 10px;
        background: var(--yas-neutral-button);
        color: var(--yas-text-muted);
        font-family: inherit;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        transition: .2s;
    }

        #legalInfoModal #btnLegalInfoBack:hover {
            background: var(--yas-neutral-button-hover);
        }

/* Mobile */
@media (max-width: 767.98px) {
    #legalInfoModal .modal-dialog {
        width: calc(100% - 24px);
        max-width: none;
        margin: 12px auto;
    }

    #legalInfoModal .modal-content {
        border-radius: 14px;
    }

    #legalInfoModal .modal-header {
        padding: 16px;
    }

    #legalInfoModal .modal-title {
        font-size: 16px;
    }

    #legalInfoModal .modal-body {
        padding: 18px 15px 5px;
        max-height: 70vh;
    }

    #legalInfoModal .form-group {
        margin-bottom: 13px;
    }

        #legalInfoModal .form-group label {
            font-size: 11px;
        }

    #legalInfoModal .adds-cont {
        min-height: 43px;
        padding: 9px 10px;
        font-size: 12px;
    }

    #legalInfoModal .modal-footer {
        padding: 14px 16px;
    }

    #legalInfoModal #btnLegalInfoSave,
    #legalInfoModal #btnLegalInfoBack {
        flex: 1;
        min-width: 0;
        min-height: 43px;
        font-size: 12px;
    }
}
/* Legal Info  End*/

/* box-summ left */

/* =========================================
           YASANA - ORDER SUMMARY
        ========================================= */

.box-summ {
    direction: rtl;
    padding: 22px 18px !important;
    border: 1px solid var(--yas-border);
    border-radius: 18px;
    background: var(--yas-surface);
    box-shadow: 0 8px 30px rgba(var(--yas-primary-rgb), .045);
    font-family: var(--yas-font);
    text-align: right !important;
}

    /* Summary Rows */
    .box-summ .row-factor {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        margin: 0 !important;
        padding: 11px 0;
        border-bottom: 1px solid var(--yas-neutral-button);
        color: var(--yas-text-muted);
        font-size: 12px;
        line-height: 1.9;
    }

        /* Reset Bootstrap column spacing */
        .box-summ .row-factor > [class*="col-"] {
            padding-right: 3px;
            padding-left: 3px;
        }

        /* Labels */
        .box-summ .row-factor > div:first-child {
            text-align: right !important;
        }

        /* Values */
        .box-summ .row-factor > div:last-child {
            text-align: left !important;
            font-weight: 700;
            color: var(--yas-text);
            font-size: 13px;
            white-space: nowrap;
        }

    /* Invoice Amount */
    .box-summ #spSumFactor {
        color: var(--yas-text-strong);
        font-size: 15px;
        font-weight: 800;
    }

    /* Discounts */
    .box-summ #spDiscountFactor,
    .box-summ #spDiscountCode,
    .box-summ #spDiscountWallet {
        color: var(--yas-accent);
        font-weight: 800;
    }

    /* Wallet Balance */
    .box-summ #spWalletBalance {
        color: var(--yas-text-subtle);
        font-size: 11px;
        font-weight: 500;
    }

    /* Shipping and Additional Costs */
    .box-summ #spPackingCost,
    .box-summ #spShipmentCost,
    .box-summ #spTax {
        color: var(--yas-text);
        font-weight: 700;
    }

    /* Separators */
    .box-summ > hr {
        margin: 16px 0;
        border: 0;
        border-top: 1px solid var(--yas-neutral-button-hover);
        opacity: 1;
    }

    /* =========================================
           CHECKBOXES
        ========================================= */

    .box-summ #paper-factor,
    .box-summ .row-factor:has(#chkAcceptRule) {
        border: 0;
        padding: 8px 0;
        margin: 0 !important;
    }

        .box-summ #paper-factor > div,
        .box-summ .row-factor:has(#chkAcceptRule) > div {
            display: flex;
            align-items: flex-start;
            flex-wrap: wrap;
            gap: 7px;
            width: 100%;
            max-width: 100%;
            text-align: right !important;
            color: var(--yas-text-muted);
            font-size: 12px;
            font-weight: 500;
            line-height: 2;
        }

    /* Checkbox */
    .box-summ #chkPaperFactor,
    .box-summ #chkAcceptRule {
        appearance: none;
        -webkit-appearance: none;
        position: relative;
        flex: 0 0 19px;
        width: 19px;
        height: 19px;
        margin: 3px 0 0;
        border: 2px solid var(--yas-border-strong);
        border-radius: 5px;
        background: var(--yas-surface);
        cursor: pointer;
    }

        .box-summ #chkPaperFactor:checked,
        .box-summ #chkAcceptRule:checked {
            background: var(--yas-accent);
            border-color: var(--yas-accent);
        }

            .box-summ #chkPaperFactor:checked::after,
            .box-summ #chkAcceptRule:checked::after {
                content: "\f00c";
                position: absolute;
                inset: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                font-family: FontAwesome;
                font-size: 11px;
                color: var(--yas-surface);
            }

    /* Terms Link */
    .box-summ .lnk_rule {
        flex: 1 1 0;
        min-width: 0;
        color: var(--yas-text-muted);
        font-size: 12px;
        font-weight: 500;
        text-decoration: none;
        white-space: normal;
        line-height: 2;
    }

        .box-summ .lnk_rule .sp-ru {
            color: var(--yas-accent);
            font-weight: 800;
        }

        .box-summ .lnk_rule:hover .sp-ru {
            text-decoration: underline;
        }

    /* =========================================
           FINAL PAYMENT
        ========================================= */

    /* Payment Label */
    .box-summ > h4 {
        margin: 20px 0 10px;
        color: var(--yas-text-muted);
        font-size: 13px;
        font-weight: 700;
        text-align: center;
    }

    /* Payment Amount */
    .box-summ #lblSumPayment {
        margin: 0 0 20px;
        padding: 15px 10px;
        border: 1px solid var(--yas-brand-tint-strong);
        border-radius: 12px;
        background: var(--yas-brand-tint);
        color: var(--yas-primary);
        font-size: 23px;
        font-weight: 900;
        line-height: 1.8;
        text-align: center;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }

    /* Remove empty paragraph spacing */
    .box-summ > .txt-hed1:empty {
        display: none;
    }

    /* =========================================
           ACTION BUTTONS
        ========================================= */

    .box-summ .actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    /* Main Checkout Button */
    .box-summ #btn-ok {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 50px;
        padding: 12px;
        border: 1px solid var(--yas-primary);
        border-radius: 11px;
        background: var(--yas-primary);
        color: var(--yas-surface);
        font-family: inherit;
        font-size: 13px;
        font-weight: 800;
        text-align: center;
        text-decoration: none;
        transition: .2s;
    }

        .box-summ #btn-ok:hover {
            background: var(--yas-primary-hover);
            border-color: var(--yas-primary-hover);
            box-shadow: 0 5px 18px rgba(var(--yas-primary-rgb), .16);
        }

    /* Back Buttons */
    .box-summ .btn-gocart,
    .box-summ .btn-gostep1 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 9px;
        border-radius: 9px;
        background: var(--yas-surface-muted);
        color: var(--yas-text-muted);
        font-family: inherit;
        font-size: 12px;
        font-weight: 600;
        text-decoration: none;
        transition: .2s;
    }

        .box-summ .btn-gocart:hover,
        .box-summ .btn-gostep1:hover {
            background: var(--yas-border-light);
            color: var(--yas-primary);
        }

    /* Remove inline wrapper spacing */
    .box-summ .actions > div {
        margin: 0 !important;
    }

/* =========================================
           RESPONSIVE
        ========================================= */

@media (max-width: 991.98px) {
    .box-summ {
        margin-top: 20px;
        padding: 20px 16px !important;
    }
}

@media (max-width: 767.98px) {
    .box-summ {
        border-radius: 14px;
        padding: 18px 15px !important;
    }

        .box-summ .row-factor {
            font-size: 12px;
            padding: 10px 0;
        }

        .box-summ #lblSumPayment {
            font-size: 22px;
        }

        .box-summ #btn-ok {
            min-height: 49px;
        }
}

/* box-summ left  End*/



/* Accessibility / interaction refinements */
:is(.yas-cart-page, #wrp-order-address, #wrp-order-shipping, #addressModal, #legalInfoModal, #order-legalinfo, .box-summ, #yas-empty-address) :is(button, a, input, select, textarea):focus-visible {
    outline: 2px solid var(--yas-accent);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    :is(.yas-cart-page, #wrp-order-address, #wrp-order-shipping, #addressModal, #legalInfoModal, #order-legalinfo, .box-summ, #yas-empty-address) *,
    :is(.yas-cart-page, #wrp-order-address, #wrp-order-shipping, #addressModal, #legalInfoModal, #order-legalinfo, .box-summ, #yas-empty-address) *::before,
    :is(.yas-cart-page, #wrp-order-address, #wrp-order-shipping, #addressModal, #legalInfoModal, #order-legalinfo, .box-summ, #yas-empty-address) *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}



/* ==========================================
   YASANA - CHECKOUT STEP 2
   Payment, Discount & Order Review
   ========================================== */

#step2 {
    direction: rtl;
    font-family: 'Vazirmatn', sans-serif;
    color: var(--yas-text);
}

    /* Main section headings */
    #step2 > h4,
    #step2 .summary-order > h4 {
        display: flex;
        align-items: center;
        gap: 11px;
        margin: 0 0 18px;
        color: var(--yas-primary);
        font-size: 18px;
        font-weight: 800;
        line-height: 1.8;
    }

        #step2 > h4::before {
            content: "\f09d";
            font-family: FontAwesome;
            display: grid;
            place-items: center;
            width: 38px;
            height: 38px;
            border-radius: 11px;
            background: var(--yas-brand-tint);
            color: var(--yas-primary);
            font-size: 17px;
            font-weight: normal;
        }

/* ==========================================
   PAYMENT METHODS
   ========================================== */

#order-payments {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    #order-payments > hr {
        display: none;
    }

    #order-payments .box-payment {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 16px;
        position: relative;
        margin: 0 !important;
        padding: 20px;
        border: 1px solid var(--yas-border);
        border-radius: 15px;
        background: var(--yas-surface);
        box-shadow: 0 4px 18px rgba(var(--yas-primary-rgb), .035);
        transition: border-color .2s, background .2s, box-shadow .2s;
    }

        #order-payments .box-payment:hover {
            border-color: var(--yas-accent);
        }

        #order-payments .box-payment:has(input:checked) {
            border-color: var(--yas-accent);
            background: var(--yas-brand-tint);
            box-shadow: 0 0 0 1px var(--yas-accent);
        }

        /* Bootstrap columns */
        #order-payments .box-payment > .col-md-4 {
            flex: 0 0 30%;
            width: 30%;
            max-width: 30%;
            padding: 0;
        }

        #order-payments .box-payment > .col-md-8 {
            flex: 1;
            width: auto;
            max-width: none;
            min-width: 0;
            padding: 0;
        }

    /* Radio and label */
    #order-payments .form-check {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0;
        padding: 0;
    }

    #order-payments .form-check-input {
        float: none;
        flex: 0 0 21px;
        width: 21px;
        height: 21px;
        margin: 0 !important;
        border: 2px solid var(--yas-border);
        background-color: var(--yas-surface);
        box-shadow: none;
        cursor: pointer;
    }

        #order-payments .form-check-input:checked {
            background-color: var(--yas-accent);
            border-color: var(--yas-accent);
        }

        #order-payments .form-check-input:focus-visible {
            outline: 3px solid var(--yas-brand-tint-strong);
            outline-offset: 3px;
        }

    #order-payments .form-check-label {
        margin: 0 !important;
        color: var(--yas-text);
        font-size: 14px;
        font-weight: 800;
        line-height: 1.9;
        cursor: pointer;
    }

    /* Description */
    #order-payments .pay-desc {
        color: var(--yas-text-muted);
        font-size: 12px !important;
        line-height: 2.1;
    }

    /* Payment icons */
    #order-payments .box-payment::after {
        content: "\f09d";
        font-family: FontAwesome;
        display: grid;
        place-items: center;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: var(--yas-brand-tint);
        color: var(--yas-primary);
        font-size: 19px;
    }

    #order-payments .box-payment:has(#payment_2143)::after {
        content: "\f0d6";
    }

    #order-payments .box-payment:has(input:checked)::after {
        background: var(--yas-brand-tint-strong);
        color: var(--yas-accent);
    }

/* ==========================================
   DISCOUNT CODE
   ========================================== */

#step2 .box-discount {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding: 22px 24px;
    border: 1px dashed var(--yas-accent);
    border-radius: 16px;
    background: var(--yas-brand-tint);
}

    #step2 .box-discount h4 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0 0 9px;
        color: var(--yas-primary);
        font-size: 16px;
        font-weight: 800;
    }

        #step2 .box-discount h4::before {
            content: "\f02b";
            font-family: FontAwesome;
            font-size: 18px;
            font-weight: normal;
            color: var(--yas-accent);
        }

    #step2 .box-discount p {
        margin: 0 0 18px;
        color: var(--yas-text-muted);
        font-size: 12px;
        line-height: 2;
    }

/* Discount input */
#step2 #txtDiscountCode {
    display: inline-block;
    vertical-align: middle;
    width: min(60%, 310px) !important;
    min-height: 46px;
    padding: 10px 14px !important;
    border: 1px solid var(--yas-border);
    border-radius: 10px;
    background: var(--yas-surface);
    color: var(--yas-text);
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: .2s;
}

    #step2 #txtDiscountCode:focus {
        border-color: var(--yas-accent);
        box-shadow: 0 0 0 3px var(--yas-brand-tint-strong);
    }

#step2 .box-discount input[onclick="computeDiscountCode()"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    min-height: 46px;
    margin-right: 8px;
    padding: 10px 22px;
    border: 1px solid var(--yas-primary);
    border-radius: 10px;
    background: var(--yas-primary);
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s;
}

    #step2 .box-discount input[onclick="computeDiscountCode()"]:hover {
        background: var(--yas-primary-hover);
        border-color: var(--yas-primary-hover);
    }

/* ==========================================
   ORDER REVIEW
   ========================================== */

#step2 > hr {
    border: 0;
    border-top: 1px solid var(--yas-border);
    margin: 24px 0;
    opacity: 1;
}

#step2 .summary-order {
    padding: 25px;
    border: 1px solid var(--yas-border);
    border-radius: 18px;
    background: var(--yas-surface);
    box-shadow: 0 5px 25px rgba(var(--yas-primary-rgb), .035);
}

    #step2 .summary-order > h4 {
        padding-bottom: 18px;
        margin-bottom: 23px;
        border-bottom: 1px solid var(--yas-border);
        text-align: right !important;
    }

        #step2 .summary-order > h4::before {
            content: "\f0ae";
            font-family: FontAwesome;
            display: grid;
            place-items: center;
            width: 38px;
            height: 38px;
            border-radius: 10px;
            background: var(--yas-brand-tint);
            color: var(--yas-primary);
            font-size: 17px;
            font-weight: normal;
        }

    /* Subsection titles */
    #step2 .summary-order > h5 {
        display: flex;
        align-items: center;
        gap: 9px;
        margin: 0 0 15px;
        color: var(--yas-primary);
        font-size: 15px;
        font-weight: 800;
        line-height: 1.9;
    }

        #step2 .summary-order > h5::before {
            content: "";
            width: 4px;
            height: 19px;
            border-radius: 5px;
            background: var(--yas-accent);
        }

    /* Hide unnecessary line breaks */
    #step2 .summary-order > br {
        display: none;
    }

    #step2 .summary-order > hr {
        margin: 24px 0;
        border: 0;
        border-top: 1px solid var(--yas-border);
        opacity: 1;
    }

/* ==========================================
   RECIPIENT DETAILS
   ========================================== */

#step2 #summary-address {
    display: flex;
    flex-wrap: wrap;
    row-gap: 14px;
    margin: 0 !important;
    padding: 20px 8px;
    border: 1px solid var(--yas-border);
    border-radius: 13px;
    background: var(--yas-background);
}

    #step2 #summary-address > div:not(.opt) {
        color: var(--yas-text-muted);
        font-size: 12px;
        line-height: 2;
    }

        #step2 #summary-address > div:not(.opt) span {
            color: var(--yas-text);
            font-size: 13px;
            font-weight: 700;
            overflow-wrap: anywhere;
        }

    #step2 #summary-address > .opt {
        display: none !important;
    }

/* ==========================================
   SELECTED SHIPPING METHOD
   ========================================== */

#step2 #summary-shiping {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 14px 18px;
    border: 1px solid var(--yas-border);
    border-radius: 12px;
    background: var(--yas-brand-tint);
    color: var(--yas-primary);
    font-size: 13px;
    font-weight: 800;
}

    #step2 #summary-shiping::before {
        content: "\f0d1";
        font-family: FontAwesome;
        font-size: 18px;
        color: var(--yas-accent);
    }

/* ==========================================
   ORDER PRODUCTS
   Reuse previous cart design
   ========================================== */

#step2 #summary-factor .box-rows {
    width: 100%;
    padding: 0 !important;
    border: 1px solid var(--yas-border);
    border-radius: 14px;
    background: var(--yas-surface);
    overflow: hidden;
}

    #step2 #summary-factor .box-rows > hr {
        display: none;
    }



#step2 #summary-factor .cart-row:last-of-type {
    border-bottom: 0;
}


#summary-factor .item-inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    gap: 0;
}

#step2 #summary-factor .lnk-cart {
    color: var(--yas-text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

    #step2 #summary-factor .lnk-cart:hover {
        color: var(--yas-accent);
    }

#step2 #summary-factor .warranty {
    display: block;
    margin-top: 5px;
    color: var(--yas-text-muted);
    font-size: 11px;
}

    #step2 #summary-factor .warranty:empty {
        display: none;
    }

/* Price, quantity and total grid */
#step2 #summary-factor .item-inner > .row.col-md-7 {
    display: grid;
    grid-template-columns: 1fr .65fr 1.2fr;
    align-items: center;
    gap: 12px;
    flex: 0 0 48%;
    width: 48%;
    max-width: 48%;
    margin: 0 !important;
    padding: 0;
}

    #step2 #summary-factor .item-inner > .row.col-md-7 > div {
        width: auto;
        max-width: none;
        min-width: 0;
        padding: 0;
    }

    #step2 #summary-factor .item-inner > .row.col-md-7 p {
        margin: 0 0 8px;
        color: var(--yas-text-muted);
        font-size: 11px;
    }

#step2 #summary-factor del {
    color: var(--yas-text-muted);
    font-size: 11px;
}

#step2 #summary-factor ins {
    color: var(--yas-primary);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

#step2 #summary-factor .add-to-box,
#step2 #summary-factor .add-to-cart,
#step2 #summary-factor .pull-left {
    float: none !important;
    margin: 0;
    padding: 0;
}

    #step2 #summary-factor .add-to-cart .text-center {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 38px;
        height: 36px;
        padding: 0 10px;
        border: 1px solid var(--yas-border);
        border-radius: 9px;
        background: var(--yas-brand-tint);
        color: var(--yas-primary);
        font-size: 13px;
        font-weight: 800;
    }

#step2 #summary-factor .cart-pr {
    color: var(--yas-primary);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.9;
    white-space: nowrap;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1199.98px) {
    #step2 #summary-factor .item-inner > .row.col-md-7 {
        flex-basis: 52%;
        width: 52%;
        max-width: 52%;
        gap: 8px;
    }

    #step2 #summary-factor .item-inner > .col-md-2 {
        flex-basis: 85px;
        width: 85px;
        max-width: 85px;
    }

    #step2 #summary-factor .product-image {
        width: 80px;
        height: 80px;
    }

    #step2 #summary-factor .cart-pr {
        font-size: 12px;
    }
}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 767.98px) {

    #step2 > h4 {
        font-size: 16px;
    }

    /* Payment cards */
    #order-payments .box-payment {
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px;
    }

        #order-payments .box-payment > .col-md-4 {
            flex: 1 1 calc(100% - 60px);
            width: calc(100% - 60px);
            max-width: calc(100% - 60px);
            order: 1;
        }

        #order-payments .box-payment::after {
            flex: 0 0 40px;
            width: 40px;
            height: 40px;
            order: 2;
        }

        #order-payments .box-payment > .col-md-8 {
            flex: 0 0 100%;
            width: 100%;
            max-width: 100%;
            order: 3;
            padding-right: 33px;
        }

    #order-payments .form-check-label {
        font-size: 13px;
    }

    #order-payments .pay-desc {
        font-size: 11px !important;
    }

    /* Discount */
    #step2 .box-discount {
        padding: 19px 16px;
    }

        #step2 .box-discount h4 {
            font-size: 15px;
        }

    #step2 #txtDiscountCode {
        width: 100% !important;
        max-width: none;
        margin-bottom: 10px;
    }

    #step2 .box-discount input[onclick="computeDiscountCode()"] {
        width: 100%;
        margin: 0;
    }

    /* Summary */
    #step2 .summary-order {
        padding: 17px 13px;
        border-radius: 14px;
    }

        #step2 .summary-order > h4 {
            font-size: 16px;
        }

        #step2 .summary-order > h5 {
            font-size: 14px;
        }

    #step2 #summary-address {
        padding: 15px 5px;
        row-gap: 10px;
    }

        #step2 #summary-address > div:not(.opt) {
            font-size: 11px;
        }

            #step2 #summary-address > div:not(.opt) span {
                font-size: 12px;
            }

    /* Products */
    #step2 #summary-factor .cart-row {
        padding: 14px !important;
    }

    #step2 #summary-factor .item-inner {
        flex-wrap: wrap;
        align-items: flex-start;
    }

        #step2 #summary-factor .item-inner > .col-md-2 {
            flex: 0 0 78px;
            width: 78px;
            max-width: 78px;
        }

    #step2 #summary-factor .product-image {
        width: 74px;
        height: 74px;
    }

    #step2 #summary-factor .product-details {
        flex: 1 1 calc(100% - 78px);
        width: calc(100% - 78px);
        max-width: calc(100% - 78px);
        padding: 0 12px;
    }

    #step2 #summary-factor .lnk-cart {
        font-size: 12px;
    }

    #step2 #summary-factor .item-inner > .row.col-md-7 {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr .65fr 1.25fr;
        gap: 8px;
        margin-top: 15px !important;
        padding-top: 13px;
        border-top: 1px dashed var(--yas-border);
    }

        #step2 #summary-factor .item-inner > .row.col-md-7 p {
            font-size: 10px;
            margin-bottom: 5px;
        }

    #step2 #summary-factor ins,
    #step2 #summary-factor .cart-pr {
        font-size: 12px;
    }

    #step2 #summary-factor .cart-pr {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    #step2 #summary-factor .add-to-cart .text-center {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }
}




/* ============================================
   YASANA - FINAL PAYMENT PAGE
   ============================================ */

.bdy-prof {
    direction: rtl;
    font-family: 'Vazirmatn', sans-serif;
    color: var(--yas-text);
    align-items: flex-start;
    row-gap: 20px;
}

    /* Main columns */
    .bdy-prof > .brd {
        min-width: 0;
        border: 0 !important;
        background: transparent;
    }

        /* Main payment area */
        .bdy-prof > .brd:first-child > .text-center {
            text-align: right !important;
        }

            .bdy-prof > .brd:first-child > .text-center > h4 {
                display: flex;
                align-items: center;
                gap: 11px;
                margin: 0 0 22px;
                color: var(--yas-primary);
                font-size: 19px;
                font-weight: 800;
                line-height: 1.8;
            }

                .bdy-prof > .brd:first-child > .text-center > h4::before {
                    content: "\f09d";
                    font-family: FontAwesome;
                    display: grid;
                    place-items: center;
                    width: 42px;
                    height: 42px;
                    border-radius: 12px;
                    background: var(--yas-brand-tint);
                    color: var(--yas-accent);
                    font-size: 19px;
                    font-weight: normal;
                }

    /* ============================================
   PAYMENT GATEWAY CARDS
   ============================================ */

    .bdy-prof .bank-gateways {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 14px;
        width: 100%;
        max-width: 100%;
        margin: 0 0 22px !important;
        padding: 0;
    }

        .bdy-prof .bank-gateways > .box-banks {
            flex: 0 0 calc(50% - 7px);
            width: calc(50% - 7px);
            max-width: calc(50% - 7px);
        }

    .bdy-prof .box-banks {
        position: relative;
        min-width: 0;
        margin-bottom: 0 !important;
        padding: 0;
        border: 1px solid var(--yas-border);
        border-radius: 15px;
        background: var(--yas-surface);
        box-shadow: 0 4px 18px rgba(var(--yas-primary-rgb), .035);
        transition: border-color .2s, background .2s, box-shadow .2s;
    }

        .bdy-prof .box-banks:hover {
            border-color: var(--yas-accent);
            box-shadow: 0 7px 22px rgba(var(--yas-primary-rgb), .07);
        }

        .bdy-prof .box-banks.active-bank {
            border-color: var(--yas-accent);
            background: var(--yas-brand-tint);
            box-shadow: 0 0 0 1px var(--yas-accent);
        }

        /* Clickable card */
        .bdy-prof .box-banks > a {
            display: flex !important;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 13px;
            width: 100%;
            min-height: 155px;
            padding: 20px 18px;
            color: var(--yas-text);
            text-decoration: none;
            text-align: center;
        }

            .bdy-prof .box-banks > a:focus-visible {
                outline: 3px solid var(--yas-accent);
                outline-offset: 3px;
                border-radius: 12px;
            }

        .bdy-prof .box-banks img {
            display: block;
            width: 70px;
            height: 70px;
            max-width: 100%;
            object-fit: contain;
        }

    /* Gateway description - override inline style */
    .bdy-prof .bank-gateways .box-banks > a > div {
        width: 100%;
        padding: 0 !important;
        margin: 0;
        color: var(--yas-text-muted);
        font-size: 12px;
        line-height: 2;
        text-align: center !important;
        overflow-wrap: anywhere;
    }

        .bdy-prof .bank-gateways .box-banks > a > div p {
            margin: 0;
        }

    /* Selected checkmark */
    .bdy-prof .box-banks .chk-bank {
        position: absolute;
        top: 12px;
        left: 12px;
        color: var(--yas-text-muted);
        font-size: 21px;
        opacity: .3;
        transition: .2s;
    }

    .bdy-prof .box-banks.active-bank .chk-bank {
        color: var(--yas-accent);
        opacity: 1;
    }

    /* ============================================
   INSTALLMENT / CREDIT PAYMENT
   ============================================ */

    .bdy-prof .installment-badge > a {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 14px;
        min-height: 100px;
        text-align: right;
    }

    .bdy-prof .installment-icon {
        display: grid;
        place-items: center;
        flex: 0 0 55px;
        width: 55px;
        height: 55px;
        border-radius: 12px;
        background: var(--yas-background);
    }

        .bdy-prof .installment-icon img {
            width: 40px;
            height: 40px;
            object-fit: contain;
        }

    .bdy-prof .installment-content {
        display: flex;
        flex-direction: column;
        gap: 5px;
        flex: 1;
        min-width: 0;
    }

        .bdy-prof .installment-content strong {
            color: var(--yas-primary);
            font-size: 14px;
            font-weight: 800;
        }

        .bdy-prof .installment-content small {
            color: var(--yas-text-muted);
            font-size: 12px;
            line-height: 1.9;
            overflow-wrap: anywhere;
        }

    /* ============================================
   PAYMENT BUTTONS
   ============================================ */

    .bdy-prof input[onclick="goOrderPayment(this)"],
    .bdy-prof input[onclick="goRegisterOrderPaymentOffilne(this)"] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 49px;
        padding: 12px 25px;
        border: 1px solid var(--yas-primary);
        border-radius: 11px;
        background: var(--yas-primary);
        color: #fff;
        font-family: inherit;
        font-size: 13px;
        font-weight: 800;
        cursor: pointer;
        transition: .2s;
    }

        .bdy-prof input[onclick="goOrderPayment(this)"]:hover,
        .bdy-prof input[onclick="goRegisterOrderPaymentOffilne(this)"]:hover {
            background: var(--yas-primary-hover);
            border-color: var(--yas-primary-hover);
            box-shadow: 0 6px 18px rgba(var(--yas-primary-rgb), .14);
        }

    /* Change payment method */
    .bdy-prof input[onclick="goChangeOrderPayment(this)"] {
        min-height: 46px;
        padding: 10px 19px;
        border: 1px solid var(--yas-border);
        border-radius: 10px;
        background: var(--yas-brand-tint);
        color: var(--yas-primary);
        font-family: inherit;
        font-size: 12px;
        font-weight: 700;
    }

        .bdy-prof input[onclick="goChangeOrderPayment(this)"]:hover {
            background: var(--yas-brand-tint-hover);
            color: var(--yas-primary);
        }

    /* Cancel / return */
    .bdy-prof input[onclick="goOrderDetail()"] {
        min-height: 46px;
        padding: 10px 19px;
        border: 1px solid var(--yas-border);
        border-radius: 10px;
        background: var(--yas-background);
        color: var(--yas-text-muted);
        font-family: inherit;
        font-size: 12px;
        font-weight: 700;
    }

        .bdy-prof input[onclick="goOrderDetail()"]:hover {
            background: var(--yas-brand-tint);
            color: var(--yas-primary);
        }

    /* ============================================
   ALERTS / ORDER STATUS
   ============================================ */

    .bdy-prof .alert {
        margin: 10px 0 20px;
        padding: 17px 20px;
        border-radius: 12px;
        font-size: 13px;
        line-height: 2;
        text-align: right !important;
    }

    .bdy-prof .alert-info {
        border: 1px solid var(--yas-border);
        background: var(--yas-brand-tint);
        color: var(--yas-primary);
    }

    .bdy-prof .alert-warning {
        border: 1px solid #f1dcaa;
        background: #fff8e8;
        color: #805b18;
    }

    .bdy-prof .alert-danger {
        border: 1px solid #f2caca;
        background: #fff1f1;
        color: #a83c3c;
    }

    .bdy-prof .alert h6 {
        margin: 0 0 8px;
        color: inherit;
        font-size: 13px;
        font-weight: 800;
        line-height: 2;
    }

    .bdy-prof .alert p {
        margin: 8px 0 0;
        font-size: 12px !important;
        line-height: 2.1;
    }

    /* ============================================
   OFFLINE PAYMENT HISTORY
   ============================================ */

    .bdy-prof .table {
        width: 100%;
        margin: 14px 0 20px;
        border: 1px solid var(--yas-border);
        border-radius: 12px;
        border-collapse: separate;
        border-spacing: 0;
        overflow: hidden;
        background: var(--yas-surface);
        font-size: 12px;
    }

        .bdy-prof .table thead td {
            padding: 14px 12px;
            background: var(--yas-brand-tint);
            color: var(--yas-primary);
            font-weight: 800;
            border-bottom: 1px solid var(--yas-border);
        }

        .bdy-prof .table tbody td {
            padding: 13px 12px;
            color: var(--yas-text);
            border-bottom: 1px solid var(--yas-border);
            vertical-align: middle;
        }

        .bdy-prof .table tbody tr:last-child td {
            border-bottom: 0;
        }

    /* ============================================
   ORDER DETAILS SIDEBAR
   ============================================ */

    .bdy-prof > .brd:last-child > .text-center h5 {
        margin: 0 0 14px;
        color: var(--yas-primary);
        font-size: 17px;
        font-weight: 800;
        text-align: right;
    }

    .bdy-prof .order-det {
        padding: 20px 18px;
        border: 1px solid var(--yas-border);
        border-radius: 16px;
        background: var(--yas-surface);
        box-shadow: 0 6px 25px rgba(var(--yas-primary-rgb), .045);
    }

        .bdy-prof .order-det > .text-center {
            text-align: right !important;
        }

        .bdy-prof .order-det .form-group.row {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            width: 100%;
            margin: 0 !important;
            padding: 14px 0;
            border-bottom: 1px solid var(--yas-border);
        }

            .bdy-prof .order-det .form-group.row > div:first-child {
                color: var(--yas-text-muted);
                font-size: 12px;
                text-align: right;
            }

            .bdy-prof .order-det .form-group.row > div:last-child {
                color: var(--yas-text);
                font-size: 12px;
                font-weight: 700;
                text-align: left;
                overflow-wrap: anywhere;
            }

        .bdy-prof .order-det h6 {
            margin: 0;
            color: var(--yas-text);
            font-size: 12px;
            font-weight: 700;
            line-height: 1.9;
        }

        /* Payable amount */
        .bdy-prof .order-det .paymod-box {
            gap: 10px;
            margin-top: 15px !important;
            padding: 17px 13px !important;
            border: 1px solid var(--yas-border);
            border-radius: 12px;
            background: var(--yas-brand-tint);
        }

            .bdy-prof .order-det .paymod-box > div:first-child {
                color: var(--yas-primary);
                font-size: 13px;
                font-weight: 800;
            }

            .bdy-prof .order-det .paymod-box > div:last-child {
                color: var(--yas-primary);
                font-size: 13px;
                font-weight: 800;
                text-align: left;
            }

            .bdy-prof .order-det .paymod-box .fs-4 {
                color: var(--yas-primary);
                font-size: 21px !important;
                font-weight: 900;
                font-variant-numeric: tabular-nums;
            }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 767.98px) {
    .bdy-prof {
        row-gap: 24px;
    }

        .bdy-prof > .brd:first-child > .text-center > h4 {
            font-size: 16px;
        }

        .bdy-prof .bank-gateways > .box-banks {
            flex: 0 0 100%;
            width: 100%;
            max-width: 100%;
        }

        .bdy-prof .box-banks > a {
            min-height: 120px;
            padding: 16px;
        }

        .bdy-prof .installment-badge > a {
            min-height: 95px;
        }

        .bdy-prof input[onclick="goOrderPayment(this)"],
        .bdy-prof input[onclick="goRegisterOrderPaymentOffilne(this)"],
        .bdy-prof input[onclick="goChangeOrderPayment(this)"],
        .bdy-prof input[onclick="goOrderDetail()"] {
            width: 100%;
            margin: 5px 0 !important;
        }

        .bdy-prof .order-det {
            padding: 15px 12px;
        }

            .bdy-prof .order-det .paymod-box .fs-4 {
                font-size: 19px !important;
            }

        .bdy-prof .table {
            font-size: 11px;
        }

            .bdy-prof .table td {
                padding: 10px 7px !important;
            }
}


.pay-receipt-upload {
    border: 2px dashed #d9dee5;
    border-radius: 8px;
    background: #fafbfc;
    transition: all 0.2s ease;
    text-align: center;
}
    /* pay-offline */
    .pay-receipt-upload:hover {
        border-color: #007bff;
        background: #f8fbff;
    }

.pay-receipt-upload-label {
    display: block;
    padding: 22px 15px;
    margin: 0;
    cursor: pointer;
}

.pay-receipt-icon {
    width: 46px;
    height: 46px;
    line-height: 46px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #eef5ff;
    color: #007bff;
    font-size: 20px;
}

.pay-receipt-title {
    font-size: 14px;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 5px;
}

.pay-receipt-description {
    font-size: 13px;
    color: #6c757d;
}

.pay-receipt-hint {
    font-size: 11px;
    color: #9aa0a6;
    margin-top: 6px;
}


/* Selected file */

.pay-receipt-preview {
    display: flex;
    align-items: center;
    border: 1px solid #e2e6ea;
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 10px;
    background: #fff;
}

.pay-receipt-file-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #f1f3f5;
    color: #6c757d;
    margin-left: 10px;
}

.pay-receipt-file-info {
    flex: 1;
    min-width: 0;
    text-align: right;
}

.pay-receipt-file-name {
    font-size: 13px;
    font-weight: 600;
    color: #343a40;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pay-receipt-file-size {
    font-size: 11px;
}

.pay-receipt-remove {
    margin-right: 8px;
    color: #dc3545;
}


/* ==========================================
   YASANA | Offline Payment Modal
   ========================================== */

#modalOfflinePayment {
    direction: rtl;
    color: var(--yas-text, #263f35);
}

    #modalOfflinePayment .modal-dialog {
        max-width: 530px;
    }

    #modalOfflinePayment .modal-content {
        border: 1px solid var(--yas-border, #e3ebe5);
        border-radius: 16px;
        background: var(--yas-surface, #fff);
        box-shadow: 0 20px 60px rgba(0, 35, 28, .16);
        overflow: hidden;
    }

    #modalOfflinePayment .modal-body {
        padding: 26px 28px 24px;
    }

    /* Header */
    #modalOfflinePayment .modal-header1 {
        margin-bottom: 22px;
        padding-bottom: 15px;
        border-bottom: 1px solid var(--yas-border, #e3ebe5);
    }

    #modalOfflinePayment .modal-title {
        margin: 0 !important;
        font-size: 19px;
        font-weight: 800;
        color: var(--yas-text, #263f35);
        text-align: right;
    }

    /* Form spacing */
    #modalOfflinePayment .form-group {
        margin-bottom: 17px;
    }

        #modalOfflinePayment .form-group > label {
            display: block;
            margin-bottom: 7px;
            font-size: 12.5px;
            font-weight: 700;
            color: var(--yas-text, #263f35);
        }

        #modalOfflinePayment .form-group label small {
            font-size: 11px;
            font-weight: 400;
            color: var(--yas-text-muted, #7b8881);
        }

    /* Form fields */
    #modalOfflinePayment .form-control {
        height: 42px;
        min-height: 42px;
        border: 1px solid #dce5df;
        border-radius: 9px;
        background-color: #fff;
        padding: 8px 12px;
        font-family: inherit;
        font-size: 13px;
        color: var(--yas-text, #263f35);
        box-shadow: none;
        transition: border-color .2s, box-shadow .2s;
    }

        #modalOfflinePayment .form-control::placeholder {
            color: #a4aea8;
            opacity: 1;
        }

        #modalOfflinePayment .form-control:focus {
            border-color: var(--yas-accent, #087450);
            box-shadow: 0 0 0 3px rgba(8, 116, 80, .09);
            outline: none;
        }

    /* Date field */
    #modalOfflinePayment #txtPayDate {
        cursor: pointer;
        background-color: #fff;
    }

    /* Time selectors */
    #modalOfflinePayment #drpPayHour,
    #modalOfflinePayment #drpPayMin {
        text-align: center;
        padding: 6px 8px;
        cursor: pointer;
    }

    /* Receipt upload */
    #modalOfflinePayment .pay-receipt-upload {
        border: 1.5px dashed #b6d4c2;
        border-radius: 12px;
        background: #f7fbf8;
        transition: background .2s, border-color .2s;
        overflow: hidden;
    }

        #modalOfflinePayment .pay-receipt-upload:hover {
            background: var(--yas-brand-tint, #edf7f0);
            border-color: var(--yas-accent, #087450);
        }

    #modalOfflinePayment .pay-receipt-upload-label {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 100%;
        min-height: 160px;
        padding: 20px 15px;
        margin: 0;
        text-align: center;
        cursor: pointer;
    }

    #modalOfflinePayment .pay-receipt-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        margin-bottom: 5px;
        border-radius: 50%;
        background: var(--yas-brand-tint, #edf7f0);
        color: var(--yas-accent, #087450);
        font-size: 22px;
    }

    #modalOfflinePayment .pay-receipt-title {
        font-size: 13px;
        font-weight: 800;
        color: var(--yas-text, #263f35);
    }

    #modalOfflinePayment .pay-receipt-description {
        font-size: 11.5px;
        color: var(--yas-text-muted, #7b8881);
    }

    #modalOfflinePayment .pay-receipt-hint {
        margin-top: 5px;
        font-size: 10.5px;
        color: #94a29a;
    }

    /* Selected receipt */
    #modalOfflinePayment .pay-receipt-preview {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 13px;
        margin-top: 12px;
        border: 1px solid var(--yas-border, #e3ebe5);
        border-radius: 10px;
        background: #f9fbfa;
    }

    #modalOfflinePayment .pay-receipt-file-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        border-radius: 9px;
        background: var(--yas-brand-tint, #edf7f0);
        color: var(--yas-accent, #087450);
        font-size: 19px;
    }

    #modalOfflinePayment .pay-receipt-file-info {
        flex: 1;
        min-width: 0;
    }

    #modalOfflinePayment .pay-receipt-file-name {
        font-size: 12px;
        font-weight: 700;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #modalOfflinePayment .pay-receipt-remove {
        width: 32px;
        height: 32px;
        padding: 0;
        border-radius: 8px;
        color: #b94b4b;
    }

    /* Buttons */
    #modalOfflinePayment #btnSavePayOffline,
    #modalOfflinePayment .btn-secondary {
        min-width: 105px;
        min-height: 42px;
        padding: 10px 20px;
        border-radius: 9px;
        font-family: inherit;
        font-size: 12.5px;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
        transition: background .2s, border-color .2s;
    }

    #modalOfflinePayment #btnSavePayOffline {
        background: var(--yas-primary, #063f38);
        border: 1px solid var(--yas-primary, #063f38);
        color: #fff;
    }

        #modalOfflinePayment #btnSavePayOffline:hover {
            background: var(--yas-primary-hover, #0a604e);
            border-color: var(--yas-primary-hover, #0a604e);
        }

    #modalOfflinePayment .btn-secondary {
        margin-right: 7px;
        background: #f0f4f1;
        border: 1px solid var(--yas-border, #e3ebe5);
        color: var(--yas-text, #263f35);
    }

        #modalOfflinePayment .btn-secondary:hover {
            background: #e5ede8;
            color: var(--yas-primary, #063f38);
        }

/* Responsive */
@media (max-width: 575.98px) {
    #modalOfflinePayment .modal-dialog {
        max-width: none;
        margin: 12px;
    }

    #modalOfflinePayment .modal-body {
        padding: 20px 16px;
    }

    #modalOfflinePayment .modal-title {
        font-size: 17px;
    }

    #modalOfflinePayment .form-group > label {
        font-size: 11.5px;
    }

    #modalOfflinePayment .form-control {
        font-size: 12px;
    }

    #modalOfflinePayment .pay-receipt-upload-label {
        min-height: 145px;
        padding: 16px 10px;
    }
}



/* ==========================================
   YASANA | User Orders Table
   ========================================== */

.yas-orders-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--yas-border, #e3ebe5);
    border-radius: 14px;
    background: var(--yas-surface, #fff);
    box-shadow: 0 5px 24px rgba(6, 63, 56, .045);
}

.yas-orders-table {
    width: 100%;
    min-width: 790px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    direction: rtl;
    font-size: 12.5px;
    color: var(--yas-text, #263f35);
}

    /* Header */
    .yas-orders-table thead th,
    .yas-orders-table thead td {
        padding: 16px 14px;
        background: var(--yas-brand-tint, #edf7f0);
        border: 0;
        border-bottom: 1px solid var(--yas-border, #e3ebe5);
        color: var(--yas-primary, #063f38);
        font-size: 12px;
        font-weight: 800;
        white-space: nowrap;
        text-align: right;
    }

    /* Table cells */
    .yas-orders-table tbody td {
        padding: 16px 14px;
        vertical-align: middle;
        border: 0;
        border-bottom: 1px solid #edf1ed;
        background: #fff;
        color: var(--yas-text, #263f35);
        line-height: 1.9;
        white-space: nowrap;
    }

    .yas-orders-table tbody tr:last-child td {
        border-bottom: 0;
    }

    /* Override Bootstrap striped rows */
    .yas-orders-table.table-striped > tbody > tr:nth-of-type(odd) > * {
        --bs-table-bg-type: transparent;
        --bs-table-accent-bg: transparent;
    }

    .yas-orders-table tbody tr:hover td {
        background: #f8fbf9;
    }

    .yas-orders-table tbody tr {
        transition: background-color .2s;
    }

    /* Order number */
    .yas-orders-table tbody td:first-child {
        font-weight: 800;
        color: var(--yas-primary, #063f38);
        font-variant-numeric: tabular-nums;
    }

    /* Amount */
    .yas-orders-table tbody td:nth-child(4) {
        font-size: 13px;
        font-weight: 800;
        color: var(--yas-text, #263f35);
        font-variant-numeric: tabular-nums;
    }

    /* Status badges */
    .yas-orders-table [class^="order-"],
    .yas-orders-table [class*=" order-"],
    .yas-orders-table .payment-st {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 28px;
        padding: 4px 10px;
        border-radius: 7px;
        background: #f0f3f1;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.5;
        white-space: nowrap;
    }

    /* Payment status - neutral default */
    .yas-orders-table .payment-st {
        background: #fff5e6;
        color: #9a6517;
    }

    /* Pay button */
    .yas-orders-table a.btn-primary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 34px;
        padding: 6px 13px;
        margin-top: 7px;
        border: 1px solid var(--yas-primary, #063f38);
        border-radius: 8px;
        background: var(--yas-primary, #063f38);
        color: #fff;
        font-size: 11.5px;
        font-weight: 700;
        text-decoration: none;
        box-shadow: none;
    }

        .yas-orders-table a.btn-primary:hover {
            background: var(--yas-primary-hover, #0a604e);
            border-color: var(--yas-primary-hover, #0a604e);
            color: #fff;
        }

    /* Details link */
    .yas-orders-table tbody td:nth-child(6) > a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 10px;
        border: 1px solid #d6e9dd;
        border-radius: 8px;
        background: var(--yas-brand-tint, #edf7f0);
        color: var(--yas-primary, #063f38);
        font-size: 11.5px;
        font-weight: 700;
        text-decoration: none;
        transition: .2s;
    }

        .yas-orders-table tbody td:nth-child(6) > a:hover {
            background: var(--yas-brand-tint-strong, #dcefe3);
            border-color: #b9d7c3;
        }

    /* Cancel link */
    .yas-orders-table a.danger {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 10px;
        border: 1px solid #f4d6d6;
        border-radius: 8px;
        background: #fff4f4;
        color: #b54444;
        font-size: 11.5px !important;
        font-weight: 700;
        text-decoration: none;
        transition: .2s;
    }

        .yas-orders-table a.danger:hover {
            background: #ffe7e7;
            border-color: #eebaba;
            color: #9d2929;
        }

    /* Remove paragraph margins */
    .yas-orders-table td p {
        margin: 0;
    }

    /* Icons */
    .yas-orders-table td a i {
        font-size: 13px;
    }

/* Mobile horizontal scrolling */
@media (max-width: 767.98px) {
    .yas-orders-wrap {
        border-radius: 11px;
    }

    .yas-orders-table {
        min-width: 760px;
        font-size: 12px;
    }

        .yas-orders-table thead th,
        .yas-orders-table thead td,
        .yas-orders-table tbody td {
            padding: 12px 10px;
        }
}




/* ==========================================
   YASANA | Profile Dashboard
   ProductBox structure remains unchanged
   ========================================== */

.yas-profile-dashboard {
    --dash-primary: var(--yas-primary, #063f38);
    --dash-accent: var(--yas-accent, #087450);
    --dash-border: var(--yas-border, #e3ebe5);
    --dash-muted: var(--yas-text-muted, #78877f);
    --dash-tint: var(--yas-brand-tint, #edf7f0);
    direction: rtl;
    background: #fff;
    border: 1px solid var(--dash-border) !important;
    border-radius: 16px;
    padding: 26px !important;
    color: var(--yas-text, #263f35);
}

    /* Section headings */
    .yas-profile-dashboard .yas-dashboard-title {
        position: relative;
        margin: 0 0 22px;
        padding: 0 14px 0 0;
        font-size: 18px;
        font-weight: 800;
        line-height: 1.8;
        color: var(--dash-primary);
    }

        .yas-profile-dashboard .yas-dashboard-title::before {
            content: "";
            position: absolute;
            right: 0;
            top: 7px;
            bottom: 7px;
            width: 4px;
            border-radius: 4px;
            background: var(--dash-accent);
        }

    /* Order statistics grid */
    .yas-profile-dashboard .yas-dashboard-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
        margin: 0 0 20px;
    }

        /* Each statistic card */
        .yas-profile-dashboard .yas-dashboard-stats > .cols {
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            gap: 12px;
            width: auto;
            min-width: 0;
            max-width: none;
            margin: 0 !important;
            padding: 16px 14px;
            border: 1px solid var(--dash-border);
            border-radius: 12px;
            background: #fff;
            transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s;
        }

            .yas-profile-dashboard .yas-dashboard-stats > .cols:hover {
                transform: translateY(-2px);
                background: #fbfdfb;
                border-color: #bdd8c8;
                box-shadow: 0 7px 22px rgba(6, 63, 56, .06);
            }

            /* Override Bootstrap column widths inside cards */
            .yas-profile-dashboard .yas-dashboard-stats > .cols > .col-md-4 {
                flex: 0 0 48px;
                width: 48px;
                max-width: 48px;
                padding: 0;
            }

            .yas-profile-dashboard .yas-dashboard-stats > .cols > .col-md-8 {
                flex: 1 1 0;
                width: auto;
                max-width: none;
                min-width: 0;
                padding: 0;
            }

    /* Icon container */
    .yas-profile-dashboard .wrp-ico-dash a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 11px;
        background: var(--dash-tint);
        text-decoration: none;
    }

    .yas-profile-dashboard .wrp-ico-dash i {
        font-size: 23px;
        line-height: 1;
    }

    /* Individual icon colors */
    .yas-profile-dashboard .wrp-ico-dash .order-1 {
        color: var(--dash-accent);
    }

    .yas-profile-dashboard .wrp-ico-dash .order-2 {
        color: #c28a16 !important;
    }

    .yas-profile-dashboard .wrp-ico-dash .order-3 {
        color: #7355ae;
    }

    .yas-profile-dashboard .wrp-ico-dash .order-4 {
        color: #218657;
    }

    .yas-profile-dashboard .wrp-ico-dash .order-5 {
        color: #c64c4c;
    }

    /* Colored backgrounds by status */
    .yas-profile-dashboard .yas-dashboard-stats > .cols:nth-child(2) .wrp-ico-dash a {
        background: #fff7e5;
    }

    .yas-profile-dashboard .yas-dashboard-stats > .cols:nth-child(3) .wrp-ico-dash a {
        background: #f2edfb;
    }

    .yas-profile-dashboard .yas-dashboard-stats > .cols:nth-child(4) .wrp-ico-dash a {
        background: #eaf7ee;
    }

    .yas-profile-dashboard .yas-dashboard-stats > .cols:nth-child(5) .wrp-ico-dash a {
        background: #fff0f0;
    }

    /* Statistic text */
    .yas-profile-dashboard .yas-dashboard-stats .col-md-8 a {
        display: block;
        color: var(--dash-primary);
        text-decoration: none;
    }

    .yas-profile-dashboard .yas-dashboard-stats .font-weight-bold {
        display: block;
        font-size: 16px;
        font-weight: 800;
        line-height: 1.6;
        white-space: nowrap;
    }

    .yas-profile-dashboard .yas-dashboard-stats .sp-t2 {
        display: block;
        margin-top: 3px;
        font-size: 11px;
        font-weight: 500;
        color: var(--dash-muted);
    }

    /* View all links */
    .yas-profile-dashboard .see-all {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 9px 14px;
        border: 1px solid #d4e6d9;
        border-radius: 9px;
        background: var(--dash-tint);
        color: var(--dash-primary);
        font-size: 12px;
        font-weight: 700;
        text-decoration: none;
        transition: background-color .2s, border-color .2s;
    }

        .yas-profile-dashboard .see-all:hover {
            background: #dcefe3;
            border-color: #b7d8c2;
            color: var(--dash-primary);
        }

        .yas-profile-dashboard .see-all i {
            font-size: 15px;
        }

    /* Section dividers */
    .yas-profile-dashboard > hr {
        margin: 28px 0;
        border: 0;
        border-top: 1px solid var(--dash-border);
        opacity: 1;
    }

    /* Product grids:
   Keep the ProductBox HTML and its styles intact.
   Only adjust outer section spacing. */
    .yas-profile-dashboard #wrpLiked,
    .yas-profile-dashboard #wrpRecentyVisited {
        margin-top: 4px;
        margin-bottom: 16px;
    }

/* Tablet */
@media (max-width: 991.98px) {
    .yas-profile-dashboard .yas-dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .yas-profile-dashboard {
        padding: 16px !important;
        border-radius: 12px;
    }

        .yas-profile-dashboard .yas-dashboard-title {
            font-size: 16px;
            margin-bottom: 17px;
        }

        .yas-profile-dashboard .yas-dashboard-stats {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 9px;
        }

            .yas-profile-dashboard .yas-dashboard-stats > .cols {
                padding: 12px 9px;
                gap: 8px;
                border-radius: 10px;
            }

                .yas-profile-dashboard .yas-dashboard-stats > .cols > .col-md-4 {
                    flex-basis: 37px;
                    width: 37px;
                    max-width: 37px;
                }

        .yas-profile-dashboard .wrp-ico-dash a {
            width: 37px;
            height: 37px;
            border-radius: 9px;
        }

        .yas-profile-dashboard .wrp-ico-dash i {
            font-size: 19px;
        }

        .yas-profile-dashboard .yas-dashboard-stats .font-weight-bold {
            font-size: 13px;
        }

        .yas-profile-dashboard .yas-dashboard-stats .sp-t2 {
            font-size: 10px;
        }

        .yas-profile-dashboard > hr {
            margin: 22px 0;
        }
}




/* ==========================================
   YASANA | My Addresses
   ========================================== */

.yas-address-page {
    --addr-primary: var(--yas-primary, #063f38);
    --addr-accent: var(--yas-accent, #087450);
    --addr-border: var(--yas-border, #e3ebe5);
    --addr-muted: var(--yas-text-muted, #7b8881);
    --addr-tint: var(--yas-brand-tint, #edf7f0);
    direction: rtl;
    color: var(--yas-text, #263f35);
}

    /* Page heading */
    .yas-address-page .group-title h4, .hed-style1 {
        position: relative;
        margin: 0 0 18px;
        padding-right: 14px;
        font-size: 18px;
        font-weight: 800;
        color: var(--addr-primary);
    }

        .yas-address-page .group-title h4::before, .hed-style1::before {
            content: "";
            position: absolute;
            right: 0;
            top: 2px;
            bottom: 2px;
            width: 4px;
            border-radius: 4px;
            background: var(--yas-primary);
        }

    .yas-address-page > hr {
        margin: 18px 0 22px;
        border-color: var(--addr-border);
        opacity: 1;
    }

    /* Address card */
    .yas-address-page .user-addrs {
        display: flex;
        align-items: stretch;
        margin: 0 0 16px;
        padding: 18px 12px;
        border: 1px solid var(--addr-border);
        border-radius: 13px;
        background: #fff;
        color: var(--addr-muted);
        transition: border-color .2s, background .2s, box-shadow .2s;
    }

        .yas-address-page .user-addrs:hover {
            border-color: #c2dacb;
            box-shadow: 0 5px 20px rgba(6, 63, 56, .05);
        }

        /* Selected address */
        .yas-address-page .user-addrs.address-selected {
            border-color: #7db69a;
            background: #f7fbf8;
            color: var(--yas-text, #263f35) !important;
            box-shadow: 0 0 0 2px rgba(8, 116, 80, .055);
        }

    /* Radio column */
    .yas-address-page .wrp-sel-address {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 8px;
        border-right: 0 !important;
    }

    .yas-address-page .address-selected .wrp-sel-address {
        border-right: 0 !important;
    }

    .yas-address-page .wrp-sel-address .form-check {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        min-height: 0;
    }

    .yas-address-page .wrp-sel-address .form-check-input {
        float: none;
        width: 19px;
        height: 19px;
        margin: 0;
        border: 1.5px solid #a6b9ad;
        cursor: pointer;
        accent-color: var(--addr-accent);
    }

        .yas-address-page .wrp-sel-address .form-check-input:checked {
            background-color: var(--addr-accent);
            border-color: var(--addr-accent);
        }

    /* Address information */
    .yas-address-page .wrp-addr-info {
        row-gap: 12px;
        margin: 0;
        padding: 0 10px;
        font-size: 12.5px;
        line-height: 1.9;
    }

        .yas-address-page .wrp-addr-info > div:not(.opt) {
            color: var(--addr-muted);
        }

            .yas-address-page .wrp-addr-info > div:not(.opt) span {
                color: var(--yas-text, #263f35);
                font-weight: 700;
                overflow-wrap: anywhere;
            }

        /* Actions */
        .yas-address-page .wrp-addr-info .opt {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 9px;
            padding-top: 12px;
            margin-top: 3px;
            border-top: 1px solid var(--addr-border);
        }

            .yas-address-page .wrp-addr-info .opt a {
                float: none !important;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 6px;
                padding: 7px 12px;
                border-radius: 8px;
                font-size: 11.5px;
                font-weight: 700;
                text-decoration: none;
            }

                /* Edit */
                .yas-address-page .wrp-addr-info .opt a[onclick*="goUpdateAddress"] {
                    background: var(--addr-tint);
                    color: var(--addr-primary);
                }

                    .yas-address-page .wrp-addr-info .opt a[onclick*="goUpdateAddress"]:hover {
                        background: #dcefe3;
                    }

                /* Delete */
                .yas-address-page .wrp-addr-info .opt a[onclick*="deleteAddress"] {
                    background: #fff1f1;
                    color: #bd4848;
                }

                    .yas-address-page .wrp-addr-info .opt a[onclick*="deleteAddress"]:hover {
                        background: #ffe3e3;
                    }

    /* Add new address */
    .yas-address-page .btn-add-address {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 43px;
        padding: 10px 19px;
        border: 1px solid var(--addr-primary);
        border-radius: 9px;
        background: var(--addr-primary);
        color: #fff;
        font-size: 12.5px;
        font-weight: 700;
        box-shadow: none;
        transition: background .2s;
    }

        .yas-address-page .btn-add-address:hover {
            background: var(--yas-primary-hover, #0a604e);
            border-color: var(--yas-primary-hover, #0a604e);
            color: #fff;
        }

/* ==========================================
   Address Modal
   ========================================== */

#addressModal {
    direction: rtl;
}

    #addressModal .modal-dialog {
        max-width: 720px;
    }

    #addressModal .modal-content {
        border: 1px solid var(--yas-border, #e3ebe5);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 20px 60px rgba(0, 35, 28, .16);
        overflow: hidden;
    }

    #addressModal .modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 24px;
        border-bottom: 1px solid var(--yas-border, #e3ebe5);
    }

    #addressModal .modal-title {
        margin: 0;
        color: var(--yas-primary, #063f38);
        font-size: 17px;
        font-weight: 800;
    }

    /* Close button */
    #addressModal #modal-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        padding: 0;
        border: 0;
        border-radius: 8px;
        background: #f2f5f3;
        color: #65776b;
        font-size: 23px;
        cursor: pointer;
    }

        #addressModal #modal-close:hover {
            background: #ffecec;
            color: #b94343;
        }

    #addressModal .modal-body {
        padding: 22px 24px;
    }

    /* Hide unnecessary tab decoration for single tab */
    #addressModal #navbartabs {
        margin-bottom: 20px;
        border-bottom: 1px solid var(--yas-border, #e3ebe5);
    }

        #addressModal #navbartabs .nav-link {
            padding: 10px 15px;
            border: 0;
            border-bottom: 2px solid var(--yas-accent, #087450);
            border-radius: 0;
            background: transparent;
            color: var(--yas-primary, #063f38);
            font-size: 12.5px;
            font-weight: 800;
        }

    #addressModal .form-group {
        margin-bottom: 18px;
    }

        #addressModal .form-group label {
            display: block;
            margin-bottom: 7px;
            color: var(--yas-text, #263f35);
            font-size: 12px;
            font-weight: 700;
        }

    /* Form fields */
    #addressModal .form-control {
        min-height: 43px;
        padding: 9px 12px;
        border: 1px solid #dce5df;
        border-radius: 9px;
        background: #fff;
        color: var(--yas-text, #263f35);
        font-family: inherit;
        font-size: 12.5px;
        box-shadow: none;
    }

        #addressModal .form-control:focus {
            outline: none;
            border-color: var(--yas-accent, #087450);
            box-shadow: 0 0 0 3px rgba(8, 116, 80, .09);
        }

    #addressModal textarea.form-control {
        min-height: 95px;
        resize: vertical;
    }

    #addressModal .form-control::placeholder {
        color: #a4aea8;
    }

    /* Validation */
    #addressModal .form-control.err-validate {
        border-color: #dc6767;
        background: #fffafa;
    }

    /* Footer */
    #addressModal .modal-footer {
        display: flex;
        justify-content: flex-start;
        gap: 9px;
        padding: 17px 24px;
        border-top: 1px solid var(--yas-border, #e3ebe5);
    }

        #addressModal .modal-footer .btn {
            min-width: 105px;
            min-height: 42px;
            padding: 9px 18px;
            border-radius: 9px;
            font-family: inherit;
            font-size: 12.5px;
            font-weight: 700;
        }

    #addressModal #btnAddressSave {
        background: var(--yas-primary, #063f38);
        border: 1px solid var(--yas-primary, #063f38);
        color: #fff;
    }

        #addressModal #btnAddressSave:hover {
            background: var(--yas-primary-hover, #0a604e);
            border-color: var(--yas-primary-hover, #0a604e);
        }

    #addressModal #btnAddressBack {
        background: #f0f4f1;
        border: 1px solid var(--yas-border, #e3ebe5);
        color: var(--yas-text, #263f35);
    }

/* Mobile */
@media (max-width: 575.98px) {
    .yas-address-page .user-addrs {
        padding: 14px 8px;
    }

    .yas-address-page .wrp-addr-info {
        row-gap: 8px;
        font-size: 11.5px;
    }

    #addressModal .modal-dialog {
        margin: 12px;
    }

    #addressModal .modal-header,
    #addressModal .modal-body,
    #addressModal .modal-footer {
        padding: 16px;
    }

    #addressModal .modal-title {
        font-size: 15px;
    }

    #addressModal .form-control {
        font-size: 12px;
    }
}



/* ==========================================
   YASANA | My Comments
   ========================================== */

/* Section heading */
.yas-comments-heading h4 {
    position: relative;
    margin: 0 0 18px;
    padding-right: 14px;
    color: var(--yas-primary, #063f38);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.8;
}

    .yas-comments-heading h4::before {
        content: "";
        position: absolute;
        right: 0;
        top: 6px;
        bottom: 6px;
        width: 4px;
        border-radius: 4px;
        background: var(--yas-accent, #087450);
    }

/* Main wrapper */
.yas-my-comments {
    direction: rtl;
    color: var(--yas-text, #263f35);
}

    /* Reset comment list */
    .yas-my-comments .commentlist {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

        .yas-my-comments .commentlist > li {
            display: block;
            margin: 0;
            padding: 0;
            list-style: none;
            border: 1px solid var(--yas-border, #e3ebe5);
            border-radius: 14px;
            background: #fff;
            box-shadow: 0 4px 18px rgba(6, 63, 56, .035);
            overflow: hidden;
            transition: border-color .2s, box-shadow .2s;
        }

            .yas-my-comments .commentlist > li:hover {
                border-color: #c6ddce;
                box-shadow: 0 7px 24px rgba(6, 63, 56, .065);
            }

    /* Comment content */
    .yas-my-comments .comment_container {
        padding: 20px 22px;
        margin: 0;
        border: 0;
        background: transparent;
    }

    .yas-my-comments .comment-text {
        padding: 0;
        margin: 0;
        border: 0;
        background: transparent;
    }

        /* Status and date row */
        .yas-my-comments .comment-text .meta {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 9px;
            margin: 0 0 14px;
            padding: 0;
            color: #839189;
            font-size: 11.5px;
            line-height: 1.8;
        }

    .yas-my-comments .woocommerce-review__author {
        font-size: 12px;
        font-weight: 700;
    }

    /* Approved status */
    .yas-my-comments .name.text-success {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 5px 10px;
        border-radius: 7px;
        background: #eaf7ee;
        color: #218451 !important;
        font-size: 11px;
        font-weight: 700;
    }

    /* Pending status */
    .yas-my-comments .name.text-warning {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 5px 10px;
        border-radius: 7px;
        background: #fff6e5;
        color: #ad7918 !important;
        font-size: 11px;
        font-weight: 700;
    }

    .yas-my-comments .woocommerce-review__dash {
        color: #c1cbc4;
    }

    .yas-my-comments .woocommerce-review__published-date {
        margin: 0 !important;
        color: #849188;
        font-size: 11.5px;
    }

    /* Comment text */
    .yas-my-comments .description {
        margin: 0;
        padding: 0;
    }

        .yas-my-comments .description p {
            margin: 0;
            color: var(--yas-text, #263f35);
            font-size: 13px;
            font-weight: 400;
            line-height: 2.1;
            overflow-wrap: anywhere;
        }

    /* Rating */
    .yas-my-comments .star-rating {
        margin-bottom: 14px;
        color: #e8a62b;
        font-size: 14px;
    }

    /* Article link */
    .yas-my-comments .comment_container > .date {
        display: flex;
        justify-content: flex-start;
        margin-top: 18px !important;
        padding-top: 14px;
        border-top: 1px solid #edf1ed;
    }

    .yas-my-comments .see-all {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 8px 13px;
        border: 1px solid #d2e6d8;
        border-radius: 8px;
        background: var(--yas-brand-tint, #edf7f0);
        color: var(--yas-primary, #063f38);
        font-size: 11.5px;
        font-weight: 700;
        line-height: 1.6;
        text-decoration: none;
        transition: background .2s, border-color .2s;
    }

        .yas-my-comments .see-all:hover {
            background: #dcefe3;
            border-color: #b7d8c2;
            color: var(--yas-primary, #063f38);
        }

        .yas-my-comments .see-all i {
            font-size: 14px;
        }

    /* ==========================================
   Admin / Site Replies
   ========================================== */

    .yas-my-comments .comment-replay {
        position: relative;
        margin: 0 22px 20px;
        padding: 16px 18px;
        border: 1px solid #d9e9de;
        border-right: 3px solid var(--yas-accent, #087450);
        border-radius: 10px;
        background: #f6faf7;
    }

        .yas-my-comments .comment-replay .comment-text {
            margin: 0;
            padding: 0;
        }

        .yas-my-comments .comment-replay .meta {
            margin-bottom: 10px;
        }

        .yas-my-comments .comment-replay .woocommerce-review__author {
            color: var(--yas-primary, #063f38);
            font-size: 12px;
            font-weight: 800;
        }

        .yas-my-comments .comment-replay .description p {
            font-size: 12.5px;
            line-height: 2;
        }

    /* Empty state */
    .alert-info {
        margin: 0;
        padding: 20px;
        border: 1px solid #d7e8df;
        border-radius: 11px;
        background: #f5faf7;
        color: var(--yas-primary, #063f38);
        font-size: 12.5px;
        line-height: 1.9;
    }

/* Mobile */
@media (max-width: 575.98px) {
    .yas-comments-heading h4 {
        font-size: 16px;
    }

    .yas-my-comments .commentlist {
        gap: 12px;
    }

        .yas-my-comments .commentlist > li {
            border-radius: 11px;
        }

    .yas-my-comments .comment_container {
        padding: 15px;
    }

    .yas-my-comments .comment-text .meta {
        gap: 7px;
        font-size: 11px;
    }

    .yas-my-comments .description p {
        font-size: 12px;
    }

    .yas-my-comments .comment-replay {
        margin: 0 12px 14px;
        padding: 13px;
    }
}



/* YASANA - Account Settings */

.yas-account-settings {
    direction: rtl;
    align-items: stretch;
}

    .yas-account-settings > [class*="col-"] {
        display: flex;
    }

.yas-account-card {
    width: 100%;
    padding: 24px;
    border: 1px solid var(--yas-border, #e3ebe5);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(6,63,56,.04);
}

    .yas-account-card .group-title h4 {
        position: relative;
        margin: 0 0 16px;
        padding-right: 14px;
        font-size: 17px;
        font-weight: 800;
        color: var(--yas-primary, #063f38);
    }

        .yas-account-card .group-title h4::before {
            content: "";
            position: absolute;
            right: 0;
            top: 2px;
            bottom: 2px;
            width: 4px;
            border-radius: 4px;
            background: var(--yas-accent, #087450);
        }

    .yas-account-card > hr {
        margin: 0 0 22px;
        border: 0;
        border-top: 1px solid #e3ebe5;
        opacity: 1;
    }

    .yas-account-card .form-group.field {
        margin-bottom: 18px;
    }

    .yas-account-card .labels {
        display: block;
        margin-bottom: 7px;
        font-size: 12px;
        font-weight: 700;
        color: #263f35;
    }

    .yas-account-card input[type="text"],
    .yas-account-card input[type="password"],
    .yas-account-card input[type="email"] {
        display: block;
        width: 100%;
        height: 44px;
        padding: 10px 13px;
        border: 1px solid #dce5df;
        border-radius: 9px;
        background: #fff;
        color: #263f35;
        font-family: inherit;
        font-size: 13px;
        outline: none;
        box-shadow: none;
        transition: border-color .2s, box-shadow .2s;
    }

    .yas-account-card input:focus {
        border-color: #087450;
        box-shadow: 0 0 0 3px rgba(8,116,80,.09);
    }

    .yas-account-card #txtProfileEmail {
        direction: ltr;
        text-align: left;
    }

    .yas-account-card button[onclick*="editUserProfile"],
    .yas-account-card button[onclick*="changePassword"] {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        min-height: 43px;
        min-width: 145px;
        padding: 10px 20px;
        border: 1px solid #063f38;
        border-radius: 9px;
        background: #063f38;
        color: #fff;
        font-family: inherit;
        font-size: 12.5px;
        font-weight: 700;
        cursor: pointer;
        box-shadow: none;
    }

        .yas-account-card button[onclick*="editUserProfile"]:hover,
        .yas-account-card button[onclick*="changePassword"]:hover {
            background: #0a604e;
            border-color: #0a604e;
            color: #fff;
        }

    .yas-account-card .border-anim-right {
        display: none;
    }

@media (max-width: 767.98px) {
    .yas-account-card {
        padding: 18px 16px;
        border-radius: 12px;
    }

        .yas-account-card .group-title h4 {
            font-size: 16px;
        }
}




/* ==========================================
   YASANA | Profile Sidebar
   ========================================== */

.yas-profile-sidebar {
    --side-primary: var(--yas-primary, #063f38);
    --side-hover: var(--yas-primary-hover, #0a604e);
    --side-accent: var(--yas-accent, #087450);
    --side-border: var(--yas-border, #e3ebe5);
    --side-tint: var(--yas-brand-tint, #edf7f0);
    direction: rtl;
    padding: 0;
    border: 1px solid var(--side-border) !important;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 24px rgba(6, 63, 56, .045);
    overflow: hidden;
    margin-top: 17px;
}

    /* User information */
    .yas-profile-sidebar > .ProfileLayoutSidebarUser_ProfileLayoutSidebarUser__info__XvVq9 {
        margin: 0 !important;
        padding: 18px 16px;
        border-bottom: 1px solid var(--side-border);
        background: #fafcfb;
    }

        .yas-profile-sidebar > .ProfileLayoutSidebarUser_ProfileLayoutSidebarUser__info__XvVq9 > .d-flex {
            width: 100%;
            padding: 0 !important;
            align-items: center;
            gap: 10px;
        }

    /* Avatar */
    .yas-profile-sidebar .radius-circle {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        margin: 0 !important;
        border-radius: 50%;
        background: var(--side-tint);
        overflow: hidden;
    }

        .yas-profile-sidebar .radius-circle > div {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100% !important;
            height: 100% !important;
            margin: 0 !important;
        }

        .yas-profile-sidebar .radius-circle img {
            display: block;
            width: 27px;
            height: 27px;
            object-fit: contain;
        }

    /* Name and username */
    .yas-profile-sidebar .text-h5 {
        margin: 0;
        color: var(--side-primary);
        font-size: 13px;
        font-weight: 800;
        line-height: 1.8;
        overflow-wrap: anywhere;
    }

    .yas-profile-sidebar .text-body-1 {
        display: block;
        margin-top: 2px;
        color: #849188;
        font-size: 11px;
        font-weight: 400;
        direction: ltr;
        text-align: right;
    }

    /* Edit profile icon */
    .yas-profile-sidebar .ProfileLayoutSidebarUser_ProfileLayoutSidebarUser__info__XvVq9 .see-all {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 33px;
        height: 33px;
        padding: 0;
        border: 1px solid #d6e7dc;
        border-radius: 8px;
        background: var(--side-tint);
        color: var(--side-primary);
        text-decoration: none;
    }

        .yas-profile-sidebar .ProfileLayoutSidebarUser_ProfileLayoutSidebarUser__info__XvVq9 .see-all:hover {
            background: #dcefe3;
        }

    /* Wallet row */
    .yas-profile-sidebar > .row {
        align-items: center;
        margin: 14px 12px !important;
        padding: 13px 10px !important;
        border: 1px solid #d9e9de;
        border-radius: 10px;
        background: #f5faf6;
    }

        .yas-profile-sidebar > .row > .col-6 {
            padding: 0 5px;
        }

    .yas-profile-sidebar .wallet-ico {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        color: var(--side-primary);
        font-size: 12px;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }

        .yas-profile-sidebar .wallet-ico:hover {
            color: var(--side-hover);
        }

        .yas-profile-sidebar .wallet-ico > i:first-child {
            font-size: 15px;
            color: var(--side-accent);
        }

    .yas-profile-sidebar .user-wallet-balance {
        color: var(--side-primary);
        font-size: 15px;
        font-weight: 800;
        font-variant-numeric: tabular-nums;
    }

    .yas-profile-sidebar > .row > .col-6:last-child {
        color: #6f8075;
        font-size: 11px;
        text-align: left;
        white-space: nowrap;
    }

    /* Divider */
    .yas-profile-sidebar > hr {
        margin: 12px 16px;
        border: 0;
        border-top: 1px solid var(--side-border);
        opacity: 1;
    }

    /* Menu */
    .yas-profile-sidebar .prof-menu {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin: 0 !important;
        padding: 8px 12px 15px !important;
    }

        .yas-profile-sidebar .prof-menu > p {
            width: 100%;
            max-width: 100%;
            flex: 0 0 100%;
            margin: 0;
            padding: 0;
        }

            .yas-profile-sidebar .prof-menu > p > a {
                display: flex;
                align-items: center;
                gap: 11px;
                width: 100%;
                min-height: 43px;
                padding: 10px 12px;
                border: 1px solid transparent;
                border-radius: 9px;
                background: transparent;
                color: #52645a;
                font-size: 12.5px;
                font-weight: 600;
                line-height: 1.6;
                text-decoration: none;
                transition: background-color .2s, border-color .2s, color .2s;
            }

                .yas-profile-sidebar .prof-menu > p > a:hover {
                    background: var(--side-tint);
                    border-color: #dce9df;
                    color: var(--side-primary);
                }

                /* Menu icons */
                .yas-profile-sidebar .prof-menu > p > a > i {
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    flex: 0 0 20px;
                    width: 20px;
                    font-size: 16px;
                    color: #84978b;
                }

                .yas-profile-sidebar .prof-menu > p > a:hover > i {
                    color: var(--side-accent);
                }

                /* Active menu */
                .yas-profile-sidebar .prof-menu > p > a.active {
                    border-color: #cfe5d5;
                    background: var(--side-tint);
                    color: var(--side-primary);
                    font-weight: 800;
                }

                    .yas-profile-sidebar .prof-menu > p > a.active > i {
                        color: var(--side-accent);
                    }

            /* Logout */
            .yas-profile-sidebar .prof-menu > p:last-child {
                margin-top: 8px;
                padding-top: 10px;
                border-top: 1px solid var(--side-border);
            }

                .yas-profile-sidebar .prof-menu > p:last-child > a {
                    color: #b94a4a;
                }

                    .yas-profile-sidebar .prof-menu > p:last-child > a > i {
                        color: #c45a5a;
                    }

                    .yas-profile-sidebar .prof-menu > p:last-child > a:hover {
                        background: #fff1f1;
                        border-color: #f4dada;
                        color: #a73333;
                    }

/* Mobile */
@media (max-width: 991.98px) {
    .yas-profile-sidebar {
        border-radius: 12px;
    }

        .yas-profile-sidebar .prof-menu {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px;
        }

            .yas-profile-sidebar .prof-menu > p {
                width: 100%;
                max-width: 100%;
            }

                .yas-profile-sidebar .prof-menu > p > a {
                    min-height: 44px;
                    padding: 9px;
                    font-size: 11.5px;
                    gap: 7px;
                }

                .yas-profile-sidebar .prof-menu > p:last-child {
                    margin: 0;
                    padding: 0;
                    border-top: 0;
                }
}

@media (max-width: 575.98px) {
    .yas-profile-sidebar .user-wallet-balance {
        font-size: 13px;
    }

    .yas-profile-sidebar .prof-menu > p > a > i {
        font-size: 14px;
        flex-basis: 17px;
        width: 17px;
    }
}



/* ==========================================
   YASANA | Order Details
   ========================================== */

.yas-order-details {
    --od-primary: var(--yas-primary, #063f38);
    --od-accent: var(--yas-accent, #087450);
    --od-border: var(--yas-border, #e3ebe5);
    --od-tint: var(--yas-brand-tint, #edf7f0);
    --od-text: var(--yas-text, #263f35);
    --od-muted: #78877f;
    direction: rtl;
    padding: 24px;
    border: 1px solid var(--od-border);
    border-radius: 15px;
    background: #fff;
    color: var(--od-text);
    font-size: 12.5px;
    line-height: 1.9;
}

    .yas-order-details hr {
        margin: 22px 0;
        border: 0;
        border-top: 1px solid var(--od-border);
        opacity: 1;
    }

    /* Back button */
    .yas-order-details .bak-order {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 13px;
        border: 1px solid #d6e7dc;
        border-radius: 8px;
        background: var(--od-tint);
        color: var(--od-primary);
        font-size: 12px;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }

        .yas-order-details .bak-order:hover {
            background: #dcefe3;
            color: var(--od-primary);
        }

        .yas-order-details .bak-order i {
            font-size: 14px !important;
        }

    /* Order header */
    .yas-order-details > .row:first-child {
        align-items: center;
        row-gap: 15px;
        line-height: 1.8 !important;
    }

        .yas-order-details > .row:first-child .r-od {
            min-height: 58px;
        }

            .yas-order-details > .row:first-child .r-od:first-child {
                border-left: 1px solid var(--od-border) !important;
            }

        .yas-order-details > .row:first-child h6 {
            margin: 0 0 7px;
            color: var(--od-muted);
            font-size: 11.5px;
            font-weight: 600;
        }

        .yas-order-details > .row:first-child b {
            color: var(--od-primary);
            font-size: 14px;
            font-weight: 800;
        }

        .yas-order-details > .row:first-child .fa-calendar {
            color: var(--od-accent);
            margin-left: 5px;
        }

    /* Legal purchase heading */
    .yas-order-details > h6 {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 20px 0 15px;
        color: var(--od-primary);
        font-size: 14px;
        font-weight: 800;
    }

        .yas-order-details > h6 i {
            color: var(--od-accent);
        }

    /* Recipient and legal information */
    .yas-order-details .box-1 {
        margin-bottom: 15px;
    }

        .yas-order-details .box-1 .sp-lb {
            display: block;
            margin-bottom: 5px;
            color: var(--od-muted);
            font-size: 11px;
            font-weight: 600;
        }

        .yas-order-details .box-1 .txt-1 {
            min-height: 43px;
            padding: 10px 12px;
            border: 1px solid #e5ece7;
            border-radius: 9px;
            background: #f9fbfa;
            color: var(--od-text);
            font-size: 12.5px;
            font-weight: 700;
            overflow-wrap: anywhere;
        }

    /* ==========================================
   Ordered Products
   ========================================== */

    .yas-order-details .yas-order-product {
        align-items: center;
        row-gap: 12px;
        padding: 17px 8px;
        border: 1px solid var(--od-border);
        border-radius: 11px;
        background: #fff;
    }

        .yas-order-details .yas-order-product img {
            display: block;
            width: 100%;
            max-width: 110px;
            height: 100px;
            margin: 0 auto;
            padding: 5px;
            border: 1px solid #edf1ee;
            border-radius: 9px;
            background: #fff;
            object-fit: contain;
        }

        .yas-order-details .yas-order-product a {
            color: var(--od-primary);
            font-size: 13px;
            font-weight: 700;
            line-height: 1.9;
            text-decoration: none;
        }

            .yas-order-details .yas-order-product a:hover {
                color: var(--od-accent);
            }

    .yas-order-details .warranty {
        margin-top: 5px;
        color: var(--od-muted);
        font-size: 11.5px;
    }

    .yas-order-details .yas-order-product .yekan {
        font-size: 12px;
    }

    .yas-order-details .yas-order-product del {
        color: #a1aba4;
        font-size: 11.5px;
    }

    .yas-order-details .yas-order-product ins {
        color: var(--od-primary);
        font-weight: 800;
        text-decoration: none;
    }

    .yas-order-details .order-discount {
        color: #16854c;
        font-weight: 700;
    }

    /* Bundle products */
    .yas-order-details .yas-order-bundle {
        margin-top: 10px;
        margin-bottom: 10px;
        padding-top: 12px;
        padding-bottom: 12px;
        border-right: 3px solid #b9d9c4;
        background: #f7faf8;
        border-radius: 8px;
    }

        .yas-order-details .yas-order-bundle img {
            width: 75px;
            height: 70px;
            object-fit: contain;
            border-radius: 7px;
        }

        .yas-order-details .yas-order-bundle a {
            color: var(--od-primary);
            text-decoration: none;
        }

    /* ==========================================
   Payment and Shipping
   ========================================== */

    .yas-order-details h5 {
        display: flex;
        align-items: center;
        gap: 9px;
        margin: 0 0 17px;
        color: var(--od-primary);
        font-size: 15px;
        font-weight: 800;
    }

        .yas-order-details h5 i {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: var(--od-tint);
            color: var(--od-accent);
            font-size: 15px;
        }

    .yas-order-details .sp-lbl {
        color: var(--od-muted);
        font-size: 11.5px;
    }

        .yas-order-details .sp-lbl + b {
            color: var(--od-text);
            font-size: 12px;
            font-weight: 700;
        }

    .yas-order-details .description {
        margin-top: 12px;
        color: #63766a;
        font-size: 12px;
        line-height: 2;
    }

    /* Payment table */
    .yas-order-details .table-responsive {
        margin-top: 15px;
        border: 1px solid var(--od-border);
        border-radius: 10px;
    }

    .yas-order-details .table {
        width: 100%;
        margin: 0;
        font-size: 12px;
        vertical-align: middle;
    }

        .yas-order-details .table thead td {
            padding: 13px 12px;
            border-bottom: 1px solid var(--od-border);
            background: #edf7f0;
            color: var(--od-primary);
            font-weight: 800;
            white-space: nowrap;
        }

        .yas-order-details .table tbody td {
            padding: 12px;
            border-color: #edf1ee;
            color: var(--od-text);
        }

    /* ==========================================
   Financial Summary
   ========================================== */

    .yas-order-details .yas-order-summary {
        align-self: flex-start;
        padding: 18px;
        border: 1px solid #d8e8dd;
        border-radius: 12px;
        background: #f8fbf9;
    }

        .yas-order-details .yas-order-summary .tr1 {
            align-items: center;
            margin: 0;
            padding: 11px 0;
            border-bottom: 1px dashed #dce7df;
        }

            .yas-order-details .yas-order-summary .tr1 > div {
                padding: 0 4px;
            }

        .yas-order-details .yas-order-summary .sp-lb-2 {
            color: #65766b;
            font-size: 11.5px;
            line-height: 1.9;
        }

            .yas-order-details .yas-order-summary .sp-lb-2 b {
                color: var(--od-text);
                font-size: 12px;
                font-weight: 800;
            }

        /* Final payable amount */
        .yas-order-details .yas-order-summary .tr1:last-child {
            margin-top: 12px;
            padding: 14px 9px;
            border: 0;
            border-radius: 9px;
            background: var(--od-primary);
        }

            .yas-order-details .yas-order-summary .tr1:last-child .sp-lb-2,
            .yas-order-details .yas-order-summary .tr1:last-child .sp-lb-2 b {
                color: #fff;
                font-weight: 800;
            }

                .yas-order-details .yas-order-summary .tr1:last-child .sp-lb-2 b {
                    font-size: 15px;
                }

/* Mobile */
@media (max-width: 767.98px) {
    .yas-order-details {
        padding: 15px;
        border-radius: 12px;
    }

        .yas-order-details > .row:first-child .r-od {
            min-height: auto;
        }

            .yas-order-details > .row:first-child .r-od:first-child {
                border-left: 0 !important;
            }

        .yas-order-details .yas-order-product {
            padding: 12px 4px;
        }

            .yas-order-details .yas-order-product img {
                height: 80px;
            }

            .yas-order-details .yas-order-product a {
                font-size: 12px;
            }

        .yas-order-details .yas-order-summary {
            margin-top: 18px;
            padding: 14px;
        }

        .yas-order-details .box-1 .txt-1 {
            font-size: 12px;
        }
}



/* ==========================================
   YASANA | Wallet Page
   ========================================== */

.yas-wallet-page {
    --wallet-primary: var(--yas-primary, #063f38);
    --wallet-accent: var(--yas-accent, #087450);
    --wallet-border: var(--yas-border, #e3ebe5);
    --wallet-tint: var(--yas-brand-tint, #edf7f0);
    --wallet-text: var(--yas-text, #263f35);
    --wallet-muted: #7b8980;
    direction: rtl;
    width: 100%;
    color: var(--wallet-text);
}

    /* ==========================================
   Wallet Summary Cards
   ========================================== */

    .yas-wallet-page .yas-wallet-stats {
        display: table;
        width: 100%;
        margin: 0 0 25px;
        border-collapse: separate;
        border-spacing: 12px 0;
        background: transparent;
    }

.yas-wallet-stats thead,
.yas-wallet-stats tbody {
    display: table-row-group;
}

    .yas-wallet-stats thead tr,
    .yas-wallet-stats tbody tr {
        display: table-row;
    }

.yas-wallet-stats th,
.yas-wallet-stats td {
    width: 33.333%;
    border: 0 !important;
    background: transparent !important;
    text-align: right;
}

/* Card labels */
.yas-wallet-stats thead td {
    padding: 18px 17px 4px;
    border-top: 1px solid var(--wallet-border) !important;
    border-left: 1px solid var(--wallet-border) !important;
    border-right: 1px solid var(--wallet-border) !important;
    border-radius: 12px 12px 0 0;
    color: var(--wallet-muted);
    font-size: 12px;
    font-weight: 700;
}

/* Card values */
.yas-wallet-stats tbody td {
    padding: 8px 17px 20px !important;
    border-left: 1px solid var(--wallet-border) !important;
    border-right: 1px solid var(--wallet-border) !important;
    border-bottom: 1px solid var(--wallet-border) !important;
    border-radius: 0 0 12px 12px;
    font-size: 12px;
    white-space: nowrap;
}

    .yas-wallet-stats tbody td strong {
        color: var(--wallet-primary);
        font-size: 20px;
        font-weight: 800;
    }

    /* Deposit */
    .yas-wallet-stats thead td:nth-child(1),
    .yas-wallet-stats tbody td:nth-child(1) {
        background: #f5fbf7 !important;
    }

        .yas-wallet-stats tbody td:nth-child(1) i {
            color: #218c53;
            margin-left: 7px;
            font-size: 16px;
        }

    /* Withdrawal */
    .yas-wallet-stats thead td:nth-child(2),
    .yas-wallet-stats tbody td:nth-child(2) {
        background: #fff9f8 !important;
    }

        .yas-wallet-stats tbody td:nth-child(2) i {
            color: #ce6060;
            margin-left: 7px;
            font-size: 16px;
        }

    /* Current balance */
    .yas-wallet-stats thead td:nth-child(3),
    .yas-wallet-stats tbody td:nth-child(3) {
        background: #edf7f0 !important;
        border-color: #cce4d4 !important;
    }

        .yas-wallet-stats tbody td:nth-child(3) strong {
            color: var(--wallet-primary);
            font-size: 21px;
        }

/* ==========================================
   Transaction Table
   ========================================== */

.yas-wallet-page .wrp-table {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--wallet-border);
    border-radius: 12px;
    background: #fff;
    scrollbar-width: thin;
}

.yas-wallet-page .yas-wallet-transactions {
    width: 100%;
    min-width: 780px;
    margin: 0;
    border-collapse: collapse;
    font-size: 12px;
    vertical-align: middle;
}

/* Table header */
.yas-wallet-transactions thead {
    background: var(--wallet-primary);
}

    .yas-wallet-transactions thead td {
        padding: 15px 12px;
        border: 0;
        background: var(--wallet-primary);
        color: #fff;
        font-size: 11.5px;
        font-weight: 700;
        text-align: right;
        white-space: nowrap;
    }

/* Table body */
.yas-wallet-transactions tbody tr {
    transition: background-color .2s;
}

    .yas-wallet-transactions tbody tr:nth-child(even) {
        background: #fafcfb;
    }

    .yas-wallet-transactions tbody tr:hover {
        background: #f1f8f3;
    }

.yas-wallet-transactions tbody td {
    padding: 15px 12px;
    border-bottom: 1px solid #edf1ee;
    color: var(--wallet-text);
    font-size: 12px;
    text-align: right;
    vertical-align: middle;
    white-space: nowrap;
}

.yas-wallet-transactions tbody tr:last-child td {
    border-bottom: 0;
}

/* Transaction type */
.yas-wallet-transactions tbody td.success {
    color: #228652 !important;
    font-weight: 700;
}

.yas-wallet-transactions tbody td.danger {
    color: #c64f4f !important;
    font-weight: 700;
}

/* Numeric columns */
.yas-wallet-transactions tbody td.yekan {
    font-size: 12.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Description */
.yas-wallet-transactions tbody td:nth-child(5) {
    min-width: 130px;
    max-width: 280px;
    white-space: normal;
    line-height: 1.8;
    color: #687a6e;
}

/* Dates */
.yas-wallet-transactions tbody td:nth-child(7),
.yas-wallet-transactions tbody td:nth-child(8) {
    color: #77877c;
    font-size: 11.5px;
    direction: ltr;
    text-align: right;
}

/* Mobile */
@media (max-width: 767.98px) {
    .yas-wallet-page .text-justify {
        overflow: visible;
    }

    .yas-wallet-page .yas-wallet-stats {
        border-spacing: 5px 0;
    }

    .yas-wallet-stats thead td {
        padding: 12px 8px 4px;
        font-size: 10px;
    }

    .yas-wallet-stats tbody td {
        padding: 7px 8px 13px !important;
        font-size: 10px;
    }

        .yas-wallet-stats tbody td strong,
        .yas-wallet-stats tbody td:nth-child(3) strong {
            font-size: 13px;
        }

        .yas-wallet-stats tbody td i {
            font-size: 12px !important;
            margin-left: 3px !important;
        }

    .yas-wallet-page .wrp-table {
        border-radius: 9px;
    }
}

@media (max-width: 400px) {
    .yas-wallet-stats thead td {
        font-size: 9px;
    }

    .yas-wallet-stats tbody td strong,
    .yas-wallet-stats tbody td:nth-child(3) strong {
        font-size: 11px;
    }
}



/* =====================================
   YASANA - Cart Bundle Child Products
   ===================================== */

/* ردیف محصولات زیرمجموعه */
.yas-cart-products .yas-cart-item.cart_row_bundle {
    position: relative;
    min-height: 66px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 34px;
    padding-left: 12px;
    margin: 0;
    background: #f5faf7;
    border-bottom: 1px solid #e5eee8;
}

/* خط عمودی ارتباط با محصول اصلی */
.yas-cart-products .cart_row_bundle::before {
    content: "";
    position: absolute;
    right: 17px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #c7ded0;
}

/* خط اتصال افقی */
.yas-cart-products .cart_row_bundle::after {
    content: "";
    position: absolute;
    right: 17px;
    top: 32px;
    width: 12px;
    height: 2px;
    background: #c7ded0;
}

/* آخرین محصول زیرمجموعه */
.yas-cart-products
.cart_row_bundle:not(:has(+ .cart_row_bundle))::before {
    bottom: auto;
    height: 33px;
}

/* تصویر کوچک‌تر */
.yas-cart-products
.cart_row_bundle .yas-cart-image {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    min-width: 48px;
    padding: 3px;
    border: 1px solid #e2ebe5;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

    .yas-cart-products
    .cart_row_bundle .yas-cart-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

/* اطلاعات محصول */
.yas-cart-products
.cart_row_bundle .yas-cart-product {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.yas-cart-products
.cart_row_bundle .yas-cart-product-info {
    min-width: 0;
}

/* عنوان کوچک‌تر */
.yas-cart-products
.cart_row_bundle .yas-cart-product-name {
    display: -webkit-box;
    color: #385b49;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.7;
    text-decoration: none;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* برچسب زیرمجموعه پکیج */
.yas-cart-products
.cart_row_bundle .yas-cart-product-info::after {
    content: "";
    display: block;
    margin-top: 3px;
    color: #81978a;
    font-size: 10px;
}

/* تعداد */
.yas-cart-products
.cart_row_bundle .yas-cart-quantity {
    font-size: 11px;
}

.yas-cart-products
.cart_row_bundle .yas-cart-bundle-qty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 37px;
    height: 25px;
    padding: 0 7px;
    border-radius: 6px;
    background: #e8f2eb;
    color: #356b4d;
    font-size: 11px;
    font-weight: 700;
}

/* مخفی کردن ستون‌های بدون قیمت */
.yas-cart-products
.cart_row_bundle .yas-cart-price,
.yas-cart-products
.cart_row_bundle .yas-cart-total {
    visibility: hidden;
}

/* نسخه موبایل */
@media (max-width: 767.98px) {

    .yas-cart-products
    .yas-cart-item.cart_row_bundle {
        min-height: 58px;
        padding: 7px 10px 7px 27px;
        padding-right: 29px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .yas-cart-products
    .cart_row_bundle::before {
        right: 13px;
    }

    .yas-cart-products
    .cart_row_bundle::after {
        right: 13px;
        top: 28px;
        width: 11px;
    }

    .yas-cart-products
    .cart_row_bundle .yas-cart-image {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .yas-cart-products
    .cart_row_bundle .yas-cart-product {
        flex: 1;
        min-width: 0;
    }

    .yas-cart-products
    .cart_row_bundle .yas-cart-product-name {
        font-size: 11px;
    }

    .yas-cart-products
    .cart_row_bundle .yas-cart-quantity {
        flex: 0 0 auto;
        width: auto;
        margin: 0;
    }

    .yas-cart-products
    .cart_row_bundle .yas-cart-price,
    .yas-cart-products
    .cart_row_bundle .yas-cart-total,
    .yas-cart-products
    .cart_row_bundle .yas-cart-mobile-label {
        display: none;
    }
}




/* ==========================================
   YASANA - Order Cart Bundle Products
   ========================================== */


/* ==========================================
   YASANA - Order Cart Bundle Products
   ========================================== */

/* ردیف محصول زیرمجموعه */
#order-cart .box-rows > .cart-row.cart_row_bundle {
    position: relative;
    width: 100%;
    min-height: 66px;
    margin: 0 !important;
    padding: 9px 12px 9px 38px !important;
    padding-right: 38px !important;
    border: 0;
    border-bottom: 1px solid #e5eee8;
    background: #f5faf7;
    color: #476253;
    font-size: 12px;
}

/* خط اتصال عمودی */
#order-cart .cart_row_bundle::before {
    content: "";
    position: absolute;
    right: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #c7ded0;
}

/* خط اتصال افقی */
#order-cart .cart_row_bundle::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 32px;
    width: 13px;
    height: 2px;
    background: #c7ded0;
}

/* چینش داخلی */
#order-cart .cart_row_bundle .item-inner, #summary-factor .cart_row_bundle .item-inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    min-height: 48px;
}

#summary-factor .cart_row_bundle .item-inner {
    margin-right: 15px;
}
    /* حذف فاصله‌های Bootstrap */
    #order-cart .cart_row_bundle .item-inner > div, #summary-factor .cart_row_bundle .item-inner > div {
        padding-top: 0;
        padding-bottom: 0;
    }

    /* ستون تصویر */
    #order-cart .cart_row_bundle .item-inner > .col-md-2, #summary-factor .cart_row_bundle .item-inner > .col-md-2 {
        flex: 0 0 48px;
        width: 48px;
        max-width: 48px;
        padding: 0;
        margin-left: 11px;
    }

/* تصویر */
#order-cart .cart_row_bundle .product-image, #summary-factor .cart_row_bundle .product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid #e2ebe5;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

    #order-cart .cart_row_bundle .product-image img, #summary-factor .cart_row_bundle .product-image img {
        display: block;
        width: 100%;
        height: 100%;
        padding: 3px;
        object-fit: contain;
    }

/* ستون عنوان */
#order-cart .cart_row_bundle .product-details, #summary-factor .cart_row_bundle .product-details {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 0;
}

#order-cart .cart_row_bundle .product-name, #summary-factor .cart_row_bundle .product-name {
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

#order-cart .cart_row_bundle .lnk-cart, #summary-factor .cart_row_bundle .lnk-cart {
    display: -webkit-box;
    color: #385b49;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.7;
    text-decoration: none;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

    #order-cart .cart_row_bundle .lnk-cart:hover, #summary-factor .cart_row_bundle .lnk-cart:hover {
        color: #087450;
    }

/* برچسب زیرمجموعه */
#order-cart .cart_row_bundle .product-name::after, #summary-factor .cart_row_bundle .product-name::after {
    content: "";
    display: block;
    margin-top: 3px;
    color: #81978a;
    font-size: 10px;
    font-weight: 400;
}

/* ستون‌های قیمت و تعداد */
#order-cart .cart_row_bundle .item-inner > .row.col-md-7, #summary-factor .cart_row_bundle .item-inner > .row.col-md-7 {
    display: flex;
    align-items: center;
    flex: 0 0 75px;
    width: 75px;
    max-width: 75px;
    margin: 0 !important;
    padding: 0;
}

    /* حذف ستون قیمت و جمع که خالی هستند */
    #order-cart .cart_row_bundle
    .item-inner > .row.col-md-7 > div:first-child,
    #order-cart .cart_row_bundle
    .item-inner > .row.col-md-7 > div:last-child {
        display: none;
    }

    /* ستون تعداد */
    #order-cart .cart_row_bundle
    .item-inner > .row.col-md-7 > div:nth-child(2) {
        display: flex;
        justify-content: center;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

/* حذف فاصله‌های اضافی تعداد */
#order-cart .cart_row_bundle .add-to-box,
#order-cart .cart_row_bundle .add-to-cart,
#order-cart .cart_row_bundle .pull-left {
    float: none !important;
    margin: 0;
    padding: 0;
}

    /* مخفی کردن عنوان تعداد */
    #order-cart .cart_row_bundle .pull-left > p {
        display: none;
    }

    /* نشان تعداد */
    #order-cart .cart_row_bundle .pull-left > .text-center {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 39px;
        height: 26px;
        padding: 0 9px;
        border-radius: 7px;
        background: #e8f2eb;
        color: #356b4d;
        font-size: 11px;
        font-weight: 700;
    }

/* آخرین محصول زیرمجموعه */
#order-cart .cart_row_bundle:not(:has( ~ .cart_row_bundle )) {
    border-bottom-color: #dce8df;
}

/* Mobile */
@media (max-width: 767.98px) {

    #order-cart .box-rows > .cart-row.cart_row_bundle {
        min-height: 58px;
        padding: 7px 9px 7px 28px !important;
        padding-right: 29px !important;
    }

    #order-cart .cart_row_bundle::before {
        right: 13px;
    }

    #order-cart .cart_row_bundle::after {
        right: 13px;
        top: 28px;
        width: 11px;
    }

    #order-cart .cart_row_bundle .item-inner {
        min-height: 42px;
    }

        #order-cart .cart_row_bundle .item-inner > .col-md-2 {
            flex-basis: 42px;
            width: 42px;
            max-width: 42px;
            margin-left: 9px;
        }

    #order-cart .cart_row_bundle .product-image {
        width: 42px;
        height: 42px;
    }

    #order-cart .cart_row_bundle .lnk-cart {
        font-size: 11px;
    }

    #order-cart .cart_row_bundle .product-name::after {
        font-size: 9.5px;
    }

    #order-cart .cart_row_bundle .item-inner > .row.col-md-7 {
        flex-basis: 48px;
        width: 48px;
        max-width: 48px;
    }

    #order-cart .cart_row_bundle .pull-left > .text-center {
        min-width: 34px;
        height: 24px;
        padding: 0 6px;
        font-size: 10px;
    }
}



/* ==========================================
   YASANA | Compact Bundle in Order Details
   ========================================== */

/* ردیف محصولات زیرمجموعه */
.box-rows > .cart-row.cart_row_bundle {
    position: relative;
    width: 100%;
    min-height: 64px;
    margin: 0 !important;
    padding: 8px 12px 8px 38px !important;
    padding-right: 38px !important;
    border: 0;
    border-bottom: 1px solid #e5eee8;
    background: #f5faf7;
    color: #476253;
    font-size: 12px;
}

/* خط عمودی اتصال */
.box-rows > .cart_row_bundle::before {
    content: "";
    position: absolute;
    right: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #c7ded0;
}

/* خط افقی اتصال */
.box-rows > .cart_row_bundle::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 32px;
    width: 13px;
    height: 2px;
    background: #c7ded0;
}

/* چیدمان ردیف */
.box-rows .cart_row_bundle .item-inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-height: 48px;
    margin: 0;
}

    /* ستون تصویر */
    .box-rows .cart_row_bundle
    .item-inner > .col-md-2 {
        flex: 0 0 48px;
        width: 48px;
        max-width: 48px;
        padding: 0;
        margin-left: 11px;
    }

/* تصویر محصول */
.box-rows .cart_row_bundle .product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid #e2ebe5;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

    .box-rows .cart_row_bundle .product-image img {
        display: block;
        width: 100%;
        height: 100%;
        padding: 3px;
        object-fit: contain;
    }

/* ستون اطلاعات */
.box-rows .cart_row_bundle .product-details {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 0;
}

.box-rows .cart_row_bundle .product-name {
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* عنوان محصول */
.box-rows .cart_row_bundle .lnk-cart {
    display: -webkit-box;
    color: #385b49;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.7;
    text-decoration: none;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

    .box-rows .cart_row_bundle .lnk-cart:hover {
        color: #087450;
    }

/* برچسب زیرمجموعه */
.box-rows .cart_row_bundle .product-name::after {
    content: "جزء پکیج اصلی";
    display: block;
    margin-top: 3px;
    color: #81978a;
    font-size: 10px;
    font-weight: 400;
}

/* بخش تعداد */
.box-rows .cart_row_bundle
.item-inner > .row.col-md-7 {
    display: flex;
    align-items: center;
    flex: 0 0 75px;
    width: 75px;
    max-width: 75px;
    margin: 0 !important;
    padding: 0;
}

    /* حذف ستون‌های خالی قیمت و جمع */
    .box-rows .cart_row_bundle
    .item-inner > .row.col-md-7 > div:first-child,
    .box-rows .cart_row_bundle
    .item-inner > .row.col-md-7 > div:last-child {
        display: none;
    }

    /* ستون تعداد */
    .box-rows .cart_row_bundle
    .item-inner > .row.col-md-7 > div:nth-child(2) {
        display: flex;
        justify-content: center;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

/* حذف فاصله‌های اضافی */
.box-rows .cart_row_bundle .add-to-box,
.box-rows .cart_row_bundle .add-to-cart,
.box-rows .cart_row_bundle .pull-left {
    float: none !important;
    margin: 0;
    padding: 0;
}

    /* مخفی کردن عنوان تعداد */
    .box-rows .cart_row_bundle .pull-left > p {
        display: none;
    }

    /* تعداد به شکل نشان */
    .box-rows .cart_row_bundle
    .pull-left > .text-center {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 39px;
        height: 26px;
        padding: 0 9px;
        border-radius: 7px;
        background: #e8f2eb;
        color: #356b4d;
        font-size: 11px;
        font-weight: 700;
    }

/* انتهای خط اتصال برای آخرین زیرمجموعه */
.box-rows > .cart_row_bundle:has( + div[style*="clear"] + .cart-row:not(.cart_row_bundle) )::before {
    bottom: auto;
    height: 33px;
}

/* نسخه موبایل */
@media (max-width: 767.98px) {

    .box-rows > .cart-row.cart_row_bundle {
        min-height: 58px;
        padding: 7px 10px 7px 29px !important;
        padding-right: 29px !important;
    }

    .box-rows > .cart_row_bundle::before {
        right: 13px;
    }

    .box-rows > .cart_row_bundle::after {
        right: 13px;
        top: 28px;
        width: 11px;
    }

    .box-rows .cart_row_bundle .item-inner {
        min-height: 42px;
    }

        .box-rows .cart_row_bundle
        .item-inner > .col-md-2 {
            flex-basis: 42px;
            width: 42px;
            max-width: 42px;
            margin-left: 9px;
        }

    .box-rows .cart_row_bundle .product-image {
        width: 42px;
        height: 42px;
    }

    .box-rows .cart_row_bundle .lnk-cart {
        font-size: 11px;
    }

    .box-rows .cart_row_bundle
    .product-name::after {
        font-size: 9.5px;
    }

    .box-rows .cart_row_bundle
    .item-inner > .row.col-md-7 {
        flex-basis: 48px;
        width: 48px;
        max-width: 48px;
    }

    .box-rows .cart_row_bundle
    .pull-left > .text-center {
        min-width: 34px;
        height: 24px;
        padding: 0 6px;
        font-size: 10px;
    }
}


/* پایان خط اتصال در آخرین زیرمجموعه */
.box-rows > .cart_row_bundle:has( + div[style*="clear"]:last-child )::before {
    bottom: auto;
    height: 33px;
}

/* پیش‌فرض: لینک مشاهده همه مخفی */
.my-dash-section .see-all {
    display: none;
}

/* پیش‌فرض: پیام خالی بودن نمایش داده شود */
.my-dash-section .empty-message {
    display: block;
}

/* وقتی محصول وجود دارد */
.my-dash-section:has(.wrp-load-data > :not(.empty-icon)) .see-all {
    display: inline-block;
}

/* وقتی محصول وجود دارد، پیام خالی بودن مخفی شود */
.my-dash-section:has(.wrp-load-data > :not(.empty-icon)) .empty-message {
    display: none;
}

.my-dash-section .empty-message {
    display: block;
    width: 100%;
    padding: 28px 15px;
    margin: 12px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #89939e;
    background: #f8f9fb;
    border: 1px dashed #dce2e8;
    border-radius: 12px;
    line-height: 1.8;
}

/* وقتی محصول وجود دارد، پیام مخفی شود */
.my-dash-section:has(#wrpLiked > :not(.empty-icon)) .empty-message {
    display: none;
}

.product-quantity-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    direction: rtl;
}

.quantity-label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin: 0;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 140px;
    height: 38px;
    padding: 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: border-color .2s;
}

    .quantity-control:focus-within {
        border-color: #94a3b8;
    }

.quantity-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 7px;
    background: #fff;
    color: #334155;
    font-size: 22px;
    cursor: pointer;
    transition: all .2s;
}

    .quantity-btn:hover:not(:disabled) {
        background: #e2e8f0;
    }

    .quantity-btn:disabled {
        opacity: .35;
        cursor: not-allowed;
    }

.quantity-control input[type="number"] {
    width: 55px;
    min-width: 0;
    height: 34px;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
    color: #0f172a;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    appearance: textfield;
    -moz-appearance: textfield;
}

.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.search-history {
    direction: rtl;
    text-align: right;
    background: #fff;
    padding: 12px 14px;
    width: 100%;
}

.search-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.search-history-clear {
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 11px;
    cursor: pointer;
}

    .search-history-clear:hover {
        color: #dc2626;
    }

.search-history-list {
    display: flex;
    flex-direction: column;
}

.search-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
}

    .search-history-item:last-child {
        border-bottom: 0;
    }

.search-history-term {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 1;
    padding: 10px 3px;
    border: 0;
    background: transparent;
    text-align: right;
    color: #475569;
    font-size: 12px;
    cursor: pointer;
}

    .search-history-term:hover {
        color: #2563eb;
    }

.search-history-clock {
    font-size: 18px;
    color: #94a3b8;
}

.search-history-remove {
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    padding: 3px 8px;
}

    .search-history-remove:hover {
        color: #dc2626;
    }

.search-history-item button {
    background-color: unset;
    color: #444;
}

.search-history-clear {
    padding: 0px 10px !important;
    background-color: #fff !important;
    color: #333 !important;
}

.wrp_srch {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* مرورگرهای قدیمی */
}

    .wrp_srch::-webkit-scrollbar {
        display: none; /* Chrome, Edge, Safari */
    }
#user-order .alert {
    text-align:center
}
span.product-attr {
    font-weight:normal

}


.product-variant-picker {
    margin: 15px 0;
}

.product-variant-group {
    margin-bottom: 18px;
}

.product-variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 10px;
}

.product-variant-option {
    padding: 8px 15px;
    min-width: 55px;
    border: 1px solid #e2e5eb;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 13px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

    .product-variant-option:hover {
        border-color: #198754;
    }

    .product-variant-option.selected {
        border-color: #198754;
        background: #edf8f1;
        color: #146c43;
        font-weight: 600;
    }

    .product-variant-option:disabled {
        opacity: .4;
        cursor: not-allowed;
        background: #f4f4f4;
    }

.selected-variant-value {
    font-size: 13px;
   
    font-weight:bold
}




.product-variant-color {
    position: relative;
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 4px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .product-variant-color .product-color-circle {
        display: block;
        width: 30px;
        height: 30px;
        border-radius: 20%;
    }

    .product-variant-color .product-color-check {
        display: none;
        position: absolute;
        color: #fff;
        font-size: 15px;
        font-weight: bold;
    }

    .product-variant-color.selected {
        border-color: #888;
        background: #fff;
    }

        .product-variant-color.selected .product-color-check {
            display: block;
        }

.filter-bottom-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

    .filter-bottom-actions .clear-filter,
    .filter-bottom-actions .show-filtered-products {
        flex: 1;
        min-width: 0;
        min-height: 44px;
        padding: 10px;
        border-radius: 9px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
    }

.show-filtered-products {
    background: var(--green);
    color: #fff;
    border: 1px solid #07845c;
}

    .show-filtered-products:hover {
        background: var(--green);
        color: #fff;
    }


.btn-guide-size {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 15px;
    min-height: 38px;
    background: #f8faf9;
    color: #35463f;
    border: 1px solid #d8e2dc;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    font-family: inherit;
    cursor: pointer;
    transition: all .2s ease;
}

    .btn-guide-size i {
        font-size: 15px;
        color: #58816f;
    }

    .btn-guide-size:hover {
        background: #eaf4ee;
        border-color: #9bc6ae;
        color: #176b49;
        transform: translateY(-1px);
    }

    .btn-guide-size:focus-visible {
        outline: 2px solid #288c63;
        outline-offset: 3px;
    }

    .btn-guide-size:active {
        transform: translateY(0);
    }

@media (max-width: 767px) {
    .btn-guide-size {
        padding: 8px 12px;
        min-height: 36px;
        font-size: 12px;
    }
}


/* Force mini-cart to stay visible during removal */
.animate-dropdownt.mini-cart-removing > .dropdown-menu-mini-cart,
.animate-dropdownt.mini-cart-removing .dropdown-menu-mini-cart {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
}

.animate-dropdownt.mini-cart-removing {
    position: relative;
    z-index: 99999;
}

#cart-count:empty::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cartCountSpin .7s linear infinite;
    vertical-align: middle;
}

@keyframes cartCountSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    #cart-count:empty::after {
        animation: none;
    }
}


/* Skeleton Loading - Cart Page */
#site-cart:empty {
    min-height: 300px;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
}

    #site-cart:empty::before {
        content: "";
        display: block;
        width: 100%;
        height: 260px;
        border-radius: 10px;
        background: linear-gradient(#eee 0 0) 98% 10px / 35% 22px, linear-gradient(#eee 0 0) 98% 55px / 65% 55px, linear-gradient(#eee 0 0) 98% 135px / 45% 18px, linear-gradient(#eee 0 0) 98% 175px / 80% 55px, #f8f9fa;
        background-repeat: no-repeat;
        animation: yasCartPulse 1.2s ease-in-out infinite alternate;
    }

@keyframes yasCartPulse {
    from {
        opacity: .5;
    }

    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    #site-cart:empty::before {
        animation: none;
    }
}




.yas-mode-description {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 12px 13px;
    margin: 12px 0;
    border: 1px solid #c7ddd5;
    border-right: 3px solid #08775d;
    border-radius: 10px;
    background: #f0f8f5;
    color: #164d40;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.9;
}

    .yas-mode-description[hidden] {
        display: none !important;
    }

.yas-mode-description-icon {
    display: flex;
    flex-shrink: 0;
    color: #08775d;
    margin-top: 3px;
}

    .yas-mode-description-icon svg {
        width: 19px;
        height: 19px;
    }

.product-variant-image-thumb {
    position: relative;
}



/* گالری تصاویر محصول */
.product-gallery {
    --product-thumb-size: 64px;
    --product-thumb-gap: 8px;
}

    /* لیست تصاویر بندانگشتی */
    .product-gallery .thumb-list {
        display: flex;
        flex-direction: column;
        gap: var(--product-thumb-gap);
        max-height: calc( 7 * var(--product-thumb-size) + 6 * var(--product-thumb-gap) );
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: thin;
        scrollbar-color: #b8c9c3 transparent;
        overscroll-behavior: contain;
    }

        /* اندازه ثابت تصاویر */
        .product-gallery .thumb-list > button {
            flex: 0 0 var(--product-thumb-size);
            width: var(--product-thumb-size);
            height: var(--product-thumb-size);
            padding: 3px;
            box-sizing: border-box;
        }

            /* جلوگیری از کشیدگی تصاویر */
            .product-gallery .thumb-list > button img {
                display: block;
                width: 100%;
                height: 100%;
                object-fit: cover;
                border-radius: 5px;
            }

        /* اسکرول Chrome و Edge */
        .product-gallery .thumb-list::-webkit-scrollbar {
            width: 4px;
        }

        .product-gallery .thumb-list::-webkit-scrollbar-thumb {
            background: #b8c9c3;
            border-radius: 10px;
        }

/* گالری تصاویر در موبایل */
@@media (max-width: 767px) {

    .product-gallery .thumb-list {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 4px 0 8px;
        scrollbar-width: thin;
        scrollbar-color: #b8c9c3 transparent;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

        .product-gallery .thumb-list > button {
            flex: 0 0 64px;
            width: 64px;
            height: 64px;
        }

            .product-gallery .thumb-list > button img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
}