/*
Theme Name: Mobile Iliya
Theme URI: https://mobileiliya.ir/
Author: Mobile Iliya
Description: قالب اختصاصی RTL موبایل ایلیا برای WordPress و WooCommerce
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mobile-iliya
*/
:root{--blue:#1769ff;--blue2:#0b55db;--dark:#101216;--text:#20242b;--muted:#707782;--bg:#f5f6f8;--card:#fff;--border:#e8ebf0;--red:#e53935;--green:#16a36a;--radius:18px;--shadow:0 10px 35px rgba(16,18,22,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Vazirmatn,Arial,sans-serif;direction:rtl;line-height:1.8}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1200px,calc(100% - 32px));margin:auto}.site-header{position:sticky;top:0;z-index:99;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid var(--border)}.header-main{height:78px;display:flex;align-items:center;gap:22px}.brand{display:flex;align-items:center;gap:10px;font-family:Peyda,Vazirmatn,sans-serif;font-weight:900;font-size:25px;white-space:nowrap}.brand-mark{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#1769ff,#4e8dff);display:grid;place-items:center;color:#fff;box-shadow:0 8px 20px rgba(23,105,255,.25)}.brand-mark svg{width:23px}.search{flex:1;position:relative}.search input{width:100%;height:48px;border:1px solid var(--border);background:#f7f8fa;border-radius:14px;padding:0 48px 0 18px;font-family:inherit;outline:none}.search input:focus{border-color:#9dbdff;background:#fff}.search svg{position:absolute;right:17px;top:14px;width:20px;color:#777}.header-actions{display:flex;gap:8px}.icon-btn{width:45px;height:45px;border:1px solid var(--border);background:#fff;border-radius:13px;display:grid;place-items:center;position:relative}.icon-btn svg{width:21px}.count{position:absolute;top:-5px;right:-4px;min-width:18px;height:18px;border-radius:9px;background:var(--red);color:#fff;font-size:10px;display:grid;place-items:center;padding:0 4px}.nav{border-top:1px solid #f1f2f4}.nav-inner{height:48px;display:flex;align-items:center;gap:27px;font-size:14px}.nav a:hover{color:var(--blue)}.hero{margin:26px 0;min-height:400px;border-radius:28px;overflow:hidden;background:radial-gradient(circle at 75% 35%,#315aa7 0,#151a25 42%,#0b0d11 100%);color:#fff;position:relative}.hero:after{content:"";position:absolute;width:480px;height:480px;border-radius:50%;background:rgba(23,105,255,.22);filter:blur(70px);left:-150px;bottom:-220px}.hero-inner{min-height:400px;display:flex;align-items:center;position:relative;z-index:2;padding:50px}.hero-copy{max-width:560px}.eyebrow{color:#8eb4ff;font-weight:800;font-size:14px}.hero h1{font-family:Peyda,Vazirmatn,sans-serif;font-size:52px;line-height:1.15;margin:10px 0 18px}.hero p{color:#d7dce6;font-size:17px;margin:0 0 28px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:13px;padding:12px 22px;font-family:inherit;font-weight:800;cursor:pointer}.btn-primary{background:var(--blue);color:#fff}.btn-light{background:#fff;color:#111}.btn-outline{background:transparent;border:1px solid var(--border);color:var(--text)}.section{padding:20px 0 42px}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:18px}.section-title{font-family:Peyda,Vazirmatn,sans-serif;font-size:28px;font-weight:900;margin:0}.section-sub{color:var(--muted);font-size:13px}.categories{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.cat{background:#fff;border:1px solid var(--border);border-radius:18px;padding:18px;text-align:center;transition:.2s;box-shadow:0 3px 16px rgba(0,0,0,.025)}.cat:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.cat-img{height:105px;display:grid;place-items:center;margin-bottom:8px}.cat img{max-height:100px;object-fit:contain}.cat strong{font-size:14px}.products{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.product-card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:12px;position:relative;transition:.2s;overflow:hidden}.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.product-image{height:235px;background:#fafbfc;border-radius:14px;display:grid;place-items:center;overflow:hidden;position:relative}.product-image img{height:100%;width:100%;object-fit:contain}.badge{position:absolute;top:10px;right:10px;background:#fff0f0;color:var(--red);border-radius:8px;padding:3px 8px;font-size:11px;font-weight:800}.product-info{padding:12px 3px 4px}.product-brand{font-size:11px;color:var(--muted)}.product-title{font-size:14px;font-weight:800;line-height:1.7;min-height:48px;margin:3px 0}.rating{font-size:11px;color:#f29d22}.price{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.price strong{font-size:17px}.price del{font-size:11px;color:#aaa}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:16px;list-style:none;padding:0}.woocommerce ul.products li.product{width:auto!important;margin:0!important;background:#fff;border:1px solid var(--border);border-radius:18px;padding:12px}.woocommerce ul.products li.product img{border-radius:14px}.woocommerce ul.products li.product .button{background:var(--blue);color:#fff;border-radius:11px;font-family:inherit}.woocommerce span.onsale{background:var(--red);min-width:auto;min-height:auto;padding:5px 9px;line-height:1.5}.woocommerce div.product{background:#fff;border:1px solid var(--border);border-radius:22px;padding:24px}.woocommerce div.product .product_title{font-family:Peyda,Vazirmatn,sans-serif;font-weight:900}.woocommerce div.product form.cart .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--blue);color:#fff;border-radius:12px;font-family:inherit;font-weight:800}.woocommerce table.shop_table{border:1px solid var(--border);border-radius:16px;overflow:hidden}.woocommerce form.checkout,.woocommerce form.login,.woocommerce form.register{background:#fff;border:1px solid var(--border);border-radius:18px;padding:22px}.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{border:1px solid var(--border);border-radius:11px;padding:11px;font-family:inherit}.page-wrap{padding:35px 0 60px}.page-title{font-family:Peyda,Vazirmatn,sans-serif;font-size:34px;font-weight:900;margin:0 0 22px}.footer{background:#11141a;color:#cdd2dc;margin-top:40px;padding:48px 0 25px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px}.footer h3{color:#fff;margin-top:0}.footer p,.footer a{font-size:13px;color:#aeb5c1}.copyright{border-top:1px solid #292e38;margin-top:35px;padding-top:18px;font-size:12px;color:#858d99}.mobile-nav{display:none}@media(max-width:900px){.categories{grid-template-columns:repeat(3,1fr)}.products,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)!important}.footer-grid{grid-template-columns:1fr 1fr}.hero h1{font-size:39px}.hero-inner{padding:30px}.nav{display:none}}@media(max-width:600px){.container{width:min(100% - 20px,1200px)}.header-main{height:64px;gap:8px}.brand{font-size:19px}.brand-mark{width:36px;height:36px}.search{order:3;flex-basis:100%}.header-main{flex-wrap:wrap;height:auto;padding:10px 0 58px}.header-actions{margin-right:auto}.search{position:absolute;top:73px;right:10px;left:10px;width:auto}.categories{grid-template-columns:repeat(2,1fr)}.products,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)!important;gap:10px}.product-image{height:175px}.hero{min-height:330px;margin-top:15px}.hero-inner{min-height:330px;padding:25px}.hero h1{font-size:32px}.hero p{font-size:14px}.footer-grid{grid-template-columns:1fr}.nav-inner{display:none}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--border);z-index:100;justify-content:space-around;padding:8px 4px}.mobile-nav a{font-size:10px;text-align:center;color:#666}.mobile-nav svg{display:block;margin:auto;width:21px;height:21px}.section{padding-bottom:28px}}


/* =========================================
   MOBILE ILIYA - PRODUCT CARD
   ========================================= */

.woocommerce ul.products li.product {
    position: relative;
    display: flex;
    flex-direction: column;
    width: auto !important;
    margin: 0 !important;
    padding: 12px !important;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: .2s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

/* بخش کارت */
.iliya-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* تخفیف */
.iliya-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    background: var(--red);
    color: #fff;
    padding: 5px 9px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
}

/* تصویر */
.iliya-product-image {
    height: 235px;
    background: #fafbfc;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.iliya-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0 !important;
    transition: transform .2s ease;
}

.woocommerce ul.products li.product:hover .iliya-product-image img {
    transform: scale(1.03);
}

/* اطلاعات */
.iliya-product-info {
    padding: 10px 3px 2px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* عنوان */
.iliya-product-info .woocommerce-loop-product__title {
    margin: 0 0 8px !important;
    padding: 0;
    min-height: 48px;
    color: var(--text);
    font-family: Vazirmatn, Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.7;
    text-align: right;
}

/* قیمت */

/* قیمت ووکامرس */

/* قیمت قبلی */

/* قیمت جدید */

/* تومان */

/* دکمه */
.woocommerce ul.products li.product .button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 43px;
    margin: 8px 0 0 !important;
    padding: 9px 12px;
    background: var(--blue);
    color: #fff !important;
    border: 0;
    border-radius: 11px;
    font-family: Vazirmatn, Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    transition: .2s ease;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--blue2);
    transform: translateY(-1px);
}

/* موبایل */
@media (max-width: 600px) {

    .woocommerce ul.products li.product {
        padding: 9px !important;
        border-radius: 16px;
    }

    .iliya-product-image {
        height: 175px;
        border-radius: 12px;
    }

    .iliya-discount-badge {
        top: 8px;
        right: 8px;
        padding: 4px 7px;
        font-size: 9px;
        border-radius: 7px;
    }

    .iliya-product-info .woocommerce-loop-product__title {
        min-height: 44px;
        font-size: 12px;
        line-height: 1.65;
    }




    .woocommerce ul.products li.product .button {
        min-height: 39px;
        font-size: 10px;
        border-radius: 10px;
    }
}


/* فضای مخصوص درصد تخفیف */

/* درصد تخفیف کنار قیمت اصلی */


@media (max-width: 600px) {
}


/* قیمت اصلی + درصد تخفیف */





@media (max-width: 600px) {



}


/* قیمت اصلی + درصد تخفیف */





@media (max-width: 600px) {



}


/* فقط چیدمان قیمت اصلی و درصد تخفیف */




/* چیدمان قیمت اصلی و درصد تخفیف */





/* =========================================================
   ILIYA PROFESSIONAL PRODUCT PRICE
   ========================================================= */

.iliya-product-price{
    margin-top:12px;
    padding-top:10px;
    border-top:1px solid #f0f1f3;
    direction:rtl;
}

/* قیمت اصلی + درصد تخفیف */
.iliya-price-old-row{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:8px;
    min-height:25px;
    direction:rtl;
}

/* قیمت قبلی */
.iliya-price-old-row del{
    display:inline-flex;
    align-items:center;
    color:#9da3ad;
    font-size:12px;
    font-weight:600;
    line-height:1.5;
    text-decoration-thickness:1px;
    text-decoration-color:#aeb3ba;
}

/* درصد تخفیف */
.iliya-price-discount{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:24px;
    padding:2px 8px;
    border-radius:7px;
    background:#fff1f1;
    color:#e53935;
    border:1px solid #ffd8d8;
    font-family:Vazirmatn,Arial,sans-serif;
    font-size:11px;
    font-weight:900;
    line-height:1.4;
    white-space:nowrap;
}

/* قیمت نهایی */
.iliya-price-sale{
    margin-top:3px;
    color:#15181d;
    font-family:Vazirmatn,Arial,sans-serif;
    font-size:20px;
    font-weight:900;
    line-height:1.7;
    letter-spacing:-.2px;
    direction:rtl;
}

/* واحد پول */
.iliya-price-sale .woocommerce-Price-currencySymbol{
    margin-right:4px;
    font-size:11px;
    font-weight:700;
    color:#707782;
}

/* موبایل */
@media(max-width:600px){

    .iliya-product-price{
        margin-top:9px;
        padding-top:8px;
    }

    .iliya-price-old-row{
        gap:5px;
    }

    .iliya-price-old-row del{
        font-size:10px;
    }

    .iliya-price-discount{
        min-height:21px;
        padding:2px 6px;
        font-size:9px;
        border-radius:6px;
    }

    .iliya-price-sale{
        font-size:17px;
    }
}


/* دکمه افزودن به سبد محصول */
.iliya-product-cart{
    margin-top:12px;
}

.iliya-product-cart .button{
    width:100%;
    display:flex !important;
    align-items:center;
    justify-content:center;
    min-height:43px;
    margin:0 !important;
    padding:9px 14px !important;
    background:var(--blue) !important;
    color:#fff !important;
    border:0 !important;
    border-radius:11px !important;
    font-family:Vazirmatn,Arial,sans-serif !important;
    font-size:13px !important;
    font-weight:800 !important;
    transition:.2s ease;
}

.iliya-product-cart .button:hover{
    background:var(--blue2) !important;
    transform:translateY(-1px);
}

.iliya-product-cart .button.added{
    opacity:.8;
}

.iliya-product-cart .added_to_cart{
    display:block;
    margin-top:6px;
    text-align:center;
    font-size:11px;
    font-weight:800;
    color:var(--blue);
}


/* =========================================
   MOBILE ILIYA - HOME PRODUCTS GRID FIX
   فقط محصولات پیشنهادی صفحه اصلی
   ========================================= */

#popular .products > ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#popular .products > ul.products > li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 12px !important;
}

/* تبلت */
@media (max-width: 900px) {
    #popular .products > ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* موبایل */
@media (max-width: 600px) {
    #popular .products > ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    #popular .products > ul.products > li.product {
        padding: 9px !important;
    }
}


/* ===== MOBILE ILIYA - FINAL HOME PRODUCTS GRID ===== */

#popular > .section-head + .products {
    display: block !important;
    width: 100% !important;
}

#popular > .section-head + .products > .woocommerce {
    display: block !important;
    width: 100% !important;
}

#popular > .section-head + .products > .woocommerce > ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#popular > .section-head + .products > .woocommerce > ul.products > li.product {
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Tablet */
@media (max-width: 900px) {
    #popular > .section-head + .products > .woocommerce > ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    #popular > .section-head + .products > .woocommerce > ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

/* شروع محصولات پیشنهادی از سمت راست */
#popular > .section-head + .products > .woocommerce > ul.products {
    direction: rtl !important;
    justify-content: start !important;
}

#popular > .section-head + .products > .woocommerce > ul.products > li.product {
    justify-self: stretch !important;
}

/* تک محصول - چسباندن کارت به سمت راست */
#popular .products > .woocommerce {
    text-align: right !important;
}

#popular .products > .woocommerce > ul.products {
    justify-content: start !important;
    justify-items: stretch !important;
    text-align: right !important;
}

#popular .products > .woocommerce > ul.products > li.product:first-child {
    grid-column: 4 !important;
    justify-self: stretch !important;
}

/* اصلاح جایگاه اولین محصول در گرید راست‌چین */
#popular .products > .woocommerce > ul.products > li.product:first-child {
    grid-column: 1 !important;
}

/* ===== جدا کردن ورود و ثبت نام ===== */

/* صفحه ثبت نام: فقط فرم ثبت نام */
body.page-id-31 #customer_login .u-column1 {
    display: none !important;
}

body.page-id-31 #customer_login .u-column2 {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

/* صفحه حساب کاربری: فقط فرم ورود */
body.page-id-15 #customer_login .u-column2 {
    display: none !important;
}

body.page-id-15 #customer_login .u-column1 {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.iliya-register-link {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.iliya-register-link a {
    display: inline-block;
    color: var(--blue);
    font-weight: 800;
    font-size: 14px;
}

.iliya-register-link a:hover {
    text-decoration: underline;
}

/* ثبت نام کنار ورود */
.iliya-register-link {
    margin-top: 12px !important;
    padding-top: 0 !important;
    border-top: 0 !important;
    text-align: center !important;
}

.iliya-register-link a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 120px !important;
    height: 44px !important;
    padding: 0 20px !important;
    border: 1px solid var(--blue) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--blue) !important;
    font-family: inherit !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    text-decoration: none !important;
}

/* ورود + ثبت نام کنار هم */
.woocommerce-form-login .form-row:last-of-type {
    display: inline-flex !important;
    width: auto !important;
    vertical-align: middle !important;
}

.iliya-login-actions {
    display: inline-flex !important;
    vertical-align: middle !important;
    margin-right: 8px !important;
}

.iliya-register-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    min-width: 120px !important;
    padding: 0 20px !important;
    border: 1px solid var(--blue) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--blue) !important;
    font-family: inherit !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    text-decoration: none !important;
}

.iliya-register-button:hover {
    background: var(--blue) !important;
    color: #fff !important;
}

/* چیدمان ورود، ثبت نام و فراموشی رمز در یک ردیف */
.woocommerce-form-login {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
}

.woocommerce-form-login > p.form-row {
    margin: 0 !important;
}

.woocommerce-form-login > p.form-row:nth-last-of-type(2) {
    display: inline-flex !important;
    width: auto !important;
}

.woocommerce-form-login .iliya-login-actions {
    display: inline-flex !important;
    margin: 0 !important;
}

.woocommerce-form-login p.lost_password {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-form-login p.lost_password a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 0 16px !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--text) !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.woocommerce-form-login p.lost_password a:hover {
    border-color: var(--blue) !important;
    color: var(--blue) !important;
}


/* ===== چیدمان نهایی فرم ورود ===== */

.woocommerce-form-login .form-row:has(.woocommerce-form-login__rememberme) {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
}

.woocommerce-form-login .woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center !important;
    order: 3 !important;
    margin: 0 !important;
    width: auto !important;
}

.woocommerce-form-login .woocommerce-form-login__submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    order: 1 !important;
    height: 44px !important;
    min-width: 120px !important;
    margin: 0 !important;
}

.woocommerce-form-login .iliya-register-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    order: 2 !important;
    height: 44px !important;
    min-width: 120px !important;
    padding: 0 20px !important;
    border: 1px solid var(--blue) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--blue) !important;
    font-family: inherit !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.woocommerce-form-login .iliya-register-button:hover {
    background: var(--blue) !important;
    color: #fff !important;
}

.woocommerce-form-login p.lost_password {
    display: block !important;
    width: 100% !important;
    margin-top: 14px !important;
    text-align: right !important;
}

.woocommerce-form-login p.lost_password a {
    color: var(--blue) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}



/* ===== MOBILE ILIYA CUSTOM ACCOUNT DESIGN ===== */

body.page-id-15 {
    background: #f5f8fc !important;
}

body.page-id-15 .page-title,
body.page-id-15 .entry-title,
body.page-id-15 .woocommerce-breadcrumb {
    display: none !important;
}

body.page-id-15 .page-wrap,
body.page-id-15 .site-main,
body.page-id-15 main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.page-id-15 .container {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
}


/* =========================
   HERO
========================= */

.iliya-account-page {
    direction: rtl;
    font-family: inherit;
    color: #14213d;
}

.iliya-account-hero {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    background:
        radial-gradient(circle at 12% 30%, rgba(42,119,255,.28), transparent 28%),
        radial-gradient(circle at 88% 15%, rgba(110,164,255,.22), transparent 30%),
        linear-gradient(135deg, #eef6ff 0%, #dcecff 48%, #f8fbff 100%);
}

.iliya-account-hero:before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(255,255,255,.34);
    left: -180px;
    top: -320px;
}

.iliya-account-hero:after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(36,111,240,.08);
    right: -130px;
    bottom: -230px;
}

.iliya-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: auto;
    padding: 30px 22px 48px;
}

.iliya-breadcrumb {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #60708b;
    margin-bottom: 38px;
}

.iliya-breadcrumb strong {
    color: #172b4d;
}

.iliya-breadcrumb-arrow {
    font-size: 21px;
    color: #7890ae;
}

.iliya-hero-text {
    text-align: center;
}

.iliya-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.7);
    color: #2167d7;
    border: 1px solid rgba(33,103,215,.12);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
}

.iliya-hero-text h1 {
    margin: 0 0 10px;
    color: #13294b;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
    font-weight: 900;
}

.iliya-hero-text p {
    margin: 0 auto;
    max-width: 680px;
    color: #61728c;
    font-size: 15px;
    line-height: 2;
}


/* =========================
   MAIN CARD
========================= */

.iliya-account-section {
    max-width: 1180px;
    margin: -28px auto 0;
    padding: 0 22px 50px;
    position: relative;
    z-index: 5;
}

.iliya-account-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(23,67,120,.07);
    border-radius: 24px;
    box-shadow: 0 18px 55px rgba(31,72,121,.11);
    overflow: hidden;
    min-height: 600px;
}

.iliya-login-panel {
    padding: 62px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.iliya-login-title {
    margin-bottom: 30px;
}

.iliya-small-label {
    color: #2370e8;
    font-size: 13px;
    font-weight: 800;
}

.iliya-login-title h2 {
    margin: 8px 0 8px;
    font-size: 32px;
    font-weight: 900;
    color: #152b4c;
}

.iliya-login-title p {
    margin: 0;
    color: #71819a;
    font-size: 14px;
}


/* =========================
   WOOCOMMERCE LOGIN
========================= */

.iliya-login-form .woocommerce {
    width: 100%;
}

.iliya-login-form .u-columns {
    display: block !important;
}

.iliya-login-form .u-column1 {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.iliya-login-form .u-column2 {
    display: none !important;
}

.iliya-login-form h2 {
    display: none !important;
}

.iliya-login-form form.woocommerce-form-login {
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.iliya-login-form form.woocommerce-form-login p.form-row {
    margin-bottom: 17px !important;
}

.iliya-login-form form.woocommerce-form-login label {
    display: block;
    margin-bottom: 8px;
    color: #30435f;
    font-size: 13px;
    font-weight: 700;
}

.iliya-login-form form.woocommerce-form-login input.input-text {
    width: 100% !important;
    height: 52px !important;
    padding: 0 17px !important;
    border-radius: 13px !important;
    border: 1px solid #dce5f1 !important;
    background: #fbfdff !important;
    box-shadow: none !important;
    color: #1d3150 !important;
    font-family: inherit !important;
    transition: .2s ease !important;
}

.iliya-login-form form.woocommerce-form-login input.input-text:focus {
    outline: none !important;
    border-color: #2775ed !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(39,117,237,.09) !important;
}


/* action row */

.iliya-login-form form.woocommerce-form-login > p.form-row:has(.woocommerce-form-login__rememberme) {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    flex-wrap: wrap !important;
    direction: rtl !important;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
}

.iliya-login-form .woocommerce-form-login__rememberme {
    order: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    width: auto !important;
    font-size: 12px !important;
    white-space: nowrap !important;
}

.iliya-login-form .woocommerce-form-login__rememberme input {
    accent-color: #2474eb;
}

.iliya-login-form .woocommerce-form-login__submit {
    order: 1 !important;
    height: 48px !important;
    min-width: 120px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg,#2677ed,#1256c9) !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 20px rgba(37,112,226,.20) !important;
}

.iliya-login-form .iliya-register-button {
    order: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    min-width: 120px !important;
    padding: 0 18px !important;
    border: 1px solid #2677ed !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #2168d8 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.iliya-login-form .iliya-register-button:hover {
    background: #eef5ff !important;
}

.iliya-login-form p.lost_password {
    margin: 15px 0 0 !important;
    text-align: right !important;
}

.iliya-login-form p.lost_password a {
    color: #2470df !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}


/* =========================
   BENEFITS PANEL
========================= */

.iliya-benefits-panel {
    position: relative;
    padding: 45px 55px;
    background:
        radial-gradient(circle at 80% 15%, rgba(46,127,243,.13), transparent 25%),
        linear-gradient(145deg,#f5faff 0%,#edf5ff 100%);
    border-right: 1px solid #e3ebf5;
}

.iliya-benefits-panel h3 {
    margin: 18px 0 25px;
    font-size: 19px;
    color: #142d50;
    font-weight: 900;
    line-height: 1.7;
}


/* phone */

.iliya-phone-visual {
    position: relative;
    height: 205px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iliya-phone {
    position: relative;
    width: 112px;
    height: 185px;
    border-radius: 25px;
    background: linear-gradient(145deg,#16284a,#253e6a);
    padding: 7px;
    box-shadow: 0 18px 35px rgba(30,65,115,.22);
    transform: rotate(-5deg);
    z-index: 3;
}

.iliya-phone-notch {
    position: absolute;
    z-index: 5;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 10px;
    border-radius: 0 0 9px 9px;
    background: #101d34;
}

.iliya-phone-screen {
    height: 100%;
    border-radius: 19px;
    background: linear-gradient(180deg,#f7fbff,#dceaff);
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 38px;
}

.iliya-user-circle {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: #4e83ef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iliya-user-circle svg {
    width: 23px;
    fill: #fff;
}

.iliya-screen-line {
    width: 58px;
    height: 6px;
    border-radius: 8px;
    background: #9db8df;
    margin-top: 15px;
}

.iliya-screen-line.short {
    width: 42px;
    margin-top: 7px;
}

.iliya-screen-button {
    margin-top: 18px;
    width: 67px;
    height: 22px;
    border-radius: 7px;
    background: #2876e8;
    color: #fff;
    font-size: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iliya-phone-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(46,117,227,.25);
}

.orbit-1 {
    width: 190px;
    height: 190px;
}

.orbit-2 {
    width: 235px;
    height: 120px;
    transform: rotate(-18deg);
}


/* benefits */

.iliya-benefit {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin: 17px 0;
}

.iliya-benefit-icon {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 7px 20px rgba(40,94,160,.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.iliya-benefit-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: #2875e6;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.iliya-benefit div:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.iliya-benefit strong {
    font-size: 13px;
    color: #233957;
}

.iliya-benefit span {
    color: #8492a6;
    font-size: 11px;
}


/* =========================
   SERVICES
========================= */

.iliya-account-services {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    background: #fff;
    margin-top: 22px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(32,67,111,.06);
    border: 1px solid #edf1f6;
    overflow: hidden;
}

.iliya-service {
    text-align: center;
    padding: 24px 15px;
    border-left: 1px solid #e8edf4;
}

.iliya-service:last-child {
    border-left: 0;
}

.iliya-service-icon {
    width: 45px;
    height: 45px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #edf5ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iliya-service-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #216ce0;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.iliya-service strong {
    display: block;
    color: #243a59;
    font-size: 13px;
    margin-bottom: 4px;
}

.iliya-service span {
    color: #8a97aa;
    font-size: 11px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .iliya-account-card {
        grid-template-columns: 1fr;
    }

    .iliya-benefits-panel {
        order: -1;
        border-right: 0;
        border-bottom: 1px solid #e3ebf5;
        padding: 35px 28px;
    }

    .iliya-login-panel {
        padding: 40px 28px;
    }

    .iliya-account-services {
        grid-template-columns: repeat(2,1fr);
    }

    .iliya-service:nth-child(2) {
        border-left: 0;
    }

    .iliya-service:nth-child(3),
    .iliya-service:nth-child(4) {
        border-top: 1px solid #e8edf4;
    }

}

@media (max-width: 600px) {

    .iliya-hero-content {
        padding: 22px 16px 42px;
    }

    .iliya-breadcrumb {
        margin-bottom: 28px;
        font-size: 11px;
    }

    .iliya-hero-text h1 {
        font-size: 28px;
    }

    .iliya-hero-text p {
        font-size: 12px;
    }

    .iliya-account-section {
        padding: 0 12px 30px;
    }

    .iliya-account-card {
        border-radius: 18px;
    }

    .iliya-login-panel {
        padding: 30px 18px;
    }

    .iliya-login-title h2 {
        font-size: 26px;
    }

    .iliya-benefits-panel {
        padding: 30px 18px;
    }

    .iliya-benefits-panel h3 {
        font-size: 17px;
    }

    .iliya-account-services {
        grid-template-columns: 1fr 1fr;
        border-radius: 15px;
    }

    .iliya-service {
        padding: 18px 8px;
    }

    .iliya-login-form form.woocommerce-form-login > p.form-row:has(.woocommerce-form-login__rememberme) {
        gap: 7px !important;
    }

    .iliya-login-form .woocommerce-form-login__submit,
    .iliya-login-form .iliya-register-button {
        min-width: 105px !important;
        height: 45px !important;
    }

}

/* ===== FIX: HEADER WIDTH ON ACCOUNT PAGE ===== */
/* Account content remains full-width, but header/nav match homepage container */

body.page-id-15 .site-header .container {
    width: min(1200px, calc(100% - 32px)) !important;
    max-width: 1200px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 600px) {
    body.page-id-15 .site-header .container {
        width: calc(100% - 20px) !important;
        max-width: 1200px !important;
    }
}

/* ===== ACCOUNT BREADCRUMB HOME LINK ===== */
.iliya-breadcrumb a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.iliya-breadcrumb a:hover {
    color: var(--blue);
}

/* ===== GLOBAL BREADCRUMB ===== */

.iliya-global-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #f0f1f3;
}

.iliya-breadcrumb-inner {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: #718096;
}

.iliya-breadcrumb-inner a {
    color: #65748b;
    text-decoration: none;
    transition: color .2s ease;
}

.iliya-breadcrumb-inner a:hover {
    color: var(--blue);
}

.iliya-breadcrumb-inner strong {
    color: #172b4d;
    font-weight: 800;
}

.iliya-global-breadcrumb-arrow {
    color: #a0aec0;
    font-size: 20px;
    line-height: 1;
}

.iliya-breadcrumb-home {
    font-weight: 700;
}

@media (max-width: 600px) {
    .iliya-breadcrumb-inner {
        min-height: 44px;
        font-size: 12px;
        gap: 7px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .iliya-breadcrumb-inner::-webkit-scrollbar {
        display: none;
    }

    .iliya-global-breadcrumb-arrow {
        font-size: 18px;
    }
}

/* ===== ACCOUNT BREADCRUMB MATCH GLOBAL BREADCRUMB ===== */

.iliya-account-hero .iliya-breadcrumb {
    max-width: 1200px;
    min-height: 48px;
    margin: 0 auto 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    font-size: 13px;
    color: #718096;
}

.iliya-account-hero .iliya-breadcrumb a {
    color: #65748b;
    text-decoration: none;
    font-weight: 700;
    transition: color .2s ease;
}

.iliya-account-hero .iliya-breadcrumb a:hover {
    color: var(--blue);
}

.iliya-account-hero .iliya-breadcrumb strong {
    color: #172b4d;
    font-weight: 800;
}

.iliya-account-hero .iliya-breadcrumb-arrow {
    color: #a0aec0;
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 600px) {
    .iliya-account-hero .iliya-breadcrumb {
        max-width: none;
        min-height: 44px;
        margin-bottom: 28px;
        padding: 0 10px;
        font-size: 12px;
        gap: 7px;
    }

    .iliya-account-hero .iliya-breadcrumb-arrow {
        font-size: 18px;
    }
}

/* ===== GLOBAL SERVICES - ALL PAGES ===== */

.iliya-global-services {
    width: min(1200px, calc(100% - 32px));
    margin: 28px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(32,67,111,.06);
    border: 1px solid #edf1f6;
    overflow: hidden;
    direction: rtl;
}

.iliya-global-service {
    text-align: center;
    padding: 24px 15px;
    border-left: 1px solid #e8edf4;
}

.iliya-global-service:last-child {
    border-left: 0;
}

.iliya-global-service-icon {
    width: 45px;
    height: 45px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #edf5ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iliya-global-service-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #216ce0;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.iliya-global-service strong {
    display: block;
    color: #243a59;
    font-size: 13px;
    margin-bottom: 4px;
}

.iliya-global-service span {
    color: #8a97aa;
    font-size: 11px;
}

@media (max-width: 900px) {
    .iliya-global-services {
        grid-template-columns: repeat(2, 1fr);
    }

    .iliya-global-service:nth-child(2) {
        border-left: 0;
    }

    .iliya-global-service:nth-child(3),
    .iliya-global-service:nth-child(4) {
        border-top: 1px solid #e8edf4;
    }
}

@media (max-width: 600px) {
    .iliya-global-services {
        width: calc(100% - 20px);
        border-radius: 15px;
        margin: 20px auto;
    }

    .iliya-global-service {
        padding: 18px 8px;
    }
}


/* ===== CHECKOUT ORDER SUMMARY — MOBILE ILIYA ===== */

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(32,67,111,.07);
}

/* عنوان خلاصه سفارش */
body.woocommerce-checkout
.wp-block-woocommerce-checkout-order-summary-block::before {
    content: "خلاصه سفارش";
    display: block;
    color: #172b4d;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 18px;
}

/* محصولات */
body.woocommerce-checkout
.wp-block-woocommerce-checkout-order-summary-cart-items-block {
    margin-bottom: 14px;
}

body.woocommerce-checkout
.wp-block-woocommerce-checkout-order-summary-cart-items-block
.wc-block-components-order-summary-item {
    padding: 12px 0;
    border-bottom: 1px solid #edf1f5;
}

/* نام محصول */
body.woocommerce-checkout
.wc-block-components-order-summary-item__description {
    color: #243a59;
    font-size: 13px;
    font-weight: 700;
}

/* قیمت محصول */
body.woocommerce-checkout
.wc-block-components-order-summary-item__individual-prices,
body.woocommerce-checkout
.wc-block-components-order-summary-item__total-price {
    color: #243a59;
    font-weight: 700;
}

/* تعداد محصول */
body.woocommerce-checkout
.wc-block-components-order-summary-item__quantity {
    border-radius: 8px;
}

/* بخش‌های جمع */
body.woocommerce-checkout
.wp-block-woocommerce-checkout-order-summary-subtotal-block,
body.woocommerce-checkout
.wp-block-woocommerce-checkout-order-summary-discount-block,
body.woocommerce-checkout
.wp-block-woocommerce-checkout-order-summary-shipping-block,
body.woocommerce-checkout
.wp-block-woocommerce-checkout-order-summary-fee-block,
body.woocommerce-checkout
.wp-block-woocommerce-checkout-order-summary-taxes-block {
    padding: 8px 0;
}

/* متن ردیف‌ها */
body.woocommerce-checkout
.wc-block-components-totals-item__label {
    color: #66758a;
    font-size: 13px;
}

body.woocommerce-checkout
.wc-block-components-totals-item__value {
    color: #243a59;
    font-size: 13px;
    font-weight: 700;
}

/* تخفیف */
body.woocommerce-checkout
.wc-block-components-totals-item--discount
.wc-block-components-totals-item__value {
    color: #159447;
}

/* مبلغ نهایی */
body.woocommerce-checkout
.wp-block-woocommerce-checkout-order-summary-totals-block {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid #e5eaf0;
}

body.woocommerce-checkout
.wp-block-woocommerce-checkout-order-summary-totals-block
.wc-block-components-totals-item__label {
    color: #172b4d;
    font-size: 15px;
    font-weight: 800;
}

body.woocommerce-checkout
.wp-block-woocommerce-checkout-order-summary-totals-block
.wc-block-components-totals-item__value {
    color: #216ce0;
    font-size: 18px;
    font-weight: 900;
}

/* موبایل */
@media (max-width: 768px) {
    body.woocommerce-checkout
    .wp-block-woocommerce-checkout-order-summary-block {
        padding: 17px;
        border-radius: 16px;
    }

    body.woocommerce-checkout
    .wp-block-woocommerce-checkout-order-summary-block::before {
        font-size: 16px;
        margin-bottom: 14px;
    }
}


/* ===== CHECKOUT DISCOUNT LABEL ===== */

body.woocommerce-checkout
.wc-block-components-totals-item--discount
.wc-block-components-totals-item__label {
    font-size: 0 !important;
}

body.woocommerce-checkout
.wc-block-components-totals-item--discount
.wc-block-components-totals-item__label::after {
    content: "تخفیف شما";
    font-size: 13px;
    color: #159447;
    font-weight: 700;
}


/* ===== CHECKOUT ORDER SUMMARY — FINAL MOBILE ILIYA ===== */

body.woocommerce-checkout
.wp-block-woocommerce-checkout-order-summary-block {
    margin: 0 0 18px;
}

/* عنوان خلاصه سفارش */
body.woocommerce-checkout
.wc-block-components-checkout-order-summary__title {
    min-height: 58px;
    padding: 14px 16px;
    margin: 0;
    background: #fff;
    border: 1px solid #e7edf4;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(32,67,111,.06);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: .2s ease;
}

/* وقتی باز است */
body.woocommerce-checkout
.wc-block-components-checkout-order-summary__title.is-open {
    border-radius: 16px 16px 0 0;
    border-bottom-color: #edf1f5;
    box-shadow: none;
}

/* متن عنوان */
body.woocommerce-checkout
.wc-block-components-checkout-order-summary__title-text {
    margin: 0;
    color: #172b4d;
    font-size: 15px;
    font-weight: 800;
    flex: 1;
}

/* مبلغ کنار عنوان */
body.woocommerce-checkout
.wc-block-components-checkout-order-summary__title-price {
    color: #216ce0;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

/* فلش */
body.woocommerce-checkout
.wc-block-components-checkout-order-summary__title-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: #edf5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.woocommerce-checkout
.wc-block-components-checkout-order-summary__title-icon svg {
    width: 16px;
    height: 16px;
}

/* محتوای خلاصه */
body.woocommerce-checkout
.wc-block-components-checkout-order-summary__content {
    background: #fff;
    border: 1px solid #e7edf4;
    border-top: 0;
    border-radius: 0 0 16px 16px;
    padding: 0 16px 16px;
    overflow: hidden;
}

/* آیتم محصول */
body.woocommerce-checkout
.wc-block-components-checkout-order-summary__content
.wc-block-components-order-summary-item {
    padding: 14px 0;
    border-bottom: 1px solid #edf1f5;
}

/* تصویر محصول */
body.woocommerce-checkout
.wc-block-components-order-summary-item__image {
    border-radius: 10px;
    overflow: hidden;
}

/* نام محصول */
body.woocommerce-checkout
.wc-block-components-order-summary-item__description {
    color: #243a59;
    font-size: 13px;
    font-weight: 700;
}

/* قیمت */
body.woocommerce-checkout
.wc-block-components-order-summary-item__total-price,
body.woocommerce-checkout
.wc-block-components-order-summary-item__individual-prices {
    color: #243a59;
    font-weight: 800;
}

/* تعداد */
body.woocommerce-checkout
.wc-block-components-order-summary-item__quantity {
    border-radius: 7px;
}

/* ردیف‌های قیمت */
body.woocommerce-checkout
.wc-block-components-checkout-order-summary__content
.wc-block-components-totals-wrapper {
    padding-top: 8px;
}

body.woocommerce-checkout
.wc-block-components-checkout-order-summary__content
.wc-block-components-totals-item {
    padding: 7px 0;
}

/* برچسب */
body.woocommerce-checkout
.wc-block-components-checkout-order-summary__content
.wc-block-components-totals-item__label {
    color: #68778b;
    font-size: 12px;
}

/* مقدار */
body.woocommerce-checkout
.wc-block-components-checkout-order-summary__content
.wc-block-components-totals-item__value {
    color: #243a59;
    font-size: 13px;
    font-weight: 700;
}

/* تخفیف */
body.woocommerce-checkout
.wc-block-components-checkout-order-summary__content
.wc-block-components-totals-item--discount
.wc-block-components-totals-item__label {
    font-size: 0 !important;
}

body.woocommerce-checkout
.wc-block-components-checkout-order-summary__content
.wc-block-components-totals-item--discount
.wc-block-components-totals-item__label::after {
    content: "تخفیف شما";
    font-size: 12px;
    color: #159447;
    font-weight: 800;
}

/* مبلغ تخفیف */
body.woocommerce-checkout
.wc-block-components-checkout-order-summary__content
.wc-block-components-totals-item--discount
.wc-block-components-totals-item__value {
    color: #159447;
    font-weight: 800;
}

/* مبلغ نهایی */
body.woocommerce-checkout
.wc-block-components-checkout-order-summary__content
.wc-block-components-totals-item--total {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid #e6ebf1;
}

body.woocommerce-checkout
.wc-block-components-checkout-order-summary__content
.wc-block-components-totals-item--total
.wc-block-components-totals-item__label {
    color: #172b4d;
    font-size: 14px;
    font-weight: 900;
}

body.woocommerce-checkout
.wc-block-components-checkout-order-summary__content
.wc-block-components-totals-item--total
.wc-block-components-totals-item__value {
    color: #216ce0;
    font-size: 17px;
    font-weight: 900;
}

/* موبایل */
@media (max-width: 768px) {

    body.woocommerce-checkout
    .wp-block-woocommerce-checkout-order-summary-block {
        margin-bottom: 15px;
    }

    body.woocommerce-checkout
    .wc-block-components-checkout-order-summary__title {
        min-height: 54px;
        padding: 12px 13px;
        border-radius: 14px;
    }

    body.woocommerce-checkout
    .wc-block-components-checkout-order-summary__title-text {
        font-size: 14px;
    }

    body.woocommerce-checkout
    .wc-block-components-checkout-order-summary__title-price {
        font-size: 13px;
    }

    body.woocommerce-checkout
    .wc-block-components-checkout-order-summary__content {
        padding: 0 13px 13px;
        border-radius: 0 0 14px 14px;
    }
}



/* =========================================================
   MOBILE ILIYA — PROFESSIONAL SINGLE PRODUCT
   ========================================================= */

body.single-product .iliya-single-product {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
}

/* ---------- Main product ---------- */

body.single-product .iliya-single-product-main {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 28px;
    align-items: start;
}

/* ---------- Gallery ---------- */

body.single-product .iliya-single-product-gallery {
    min-width: 0;
    background: #fff;
    border: 1px solid #e7edf4;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 8px 28px rgba(32, 67, 111, .06);
}

body.single-product .iliya-single-product-gallery
.woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

body.single-product .iliya-single-product-gallery
.woocommerce-product-gallery__wrapper {
    margin: 0;
}

body.single-product .iliya-single-product-gallery
.woocommerce-product-gallery__image {
    background: #fafbfc;
    border-radius: 18px;
    overflow: hidden;
}

body.single-product .iliya-single-product-gallery
.woocommerce-product-gallery__image img {
    width: 100%;
    object-fit: contain;
    border-radius: 18px;
}

body.single-product .iliya-single-product-gallery
.flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin: 14px 0 0 !important;
    padding: 0;
}

body.single-product .iliya-single-product-gallery
.flex-control-thumbs li {
    width: 74px !important;
    margin: 0 !important;
    border: 1px solid #e4eaf1;
    border-radius: 11px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    transition: .2s ease;
}

body.single-product .iliya-single-product-gallery
.flex-control-thumbs li:hover {
    border-color: #216ce0;
}

body.single-product .iliya-single-product-gallery
.flex-control-thumbs img {
    display: block;
    width: 100%;
    height: 70px;
    object-fit: contain;
}

/* ---------- Summary ---------- */

body.single-product .iliya-single-product-summary {
    min-width: 0;
    background: #fff;
    border: 1px solid #e7edf4;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 8px 28px rgba(32, 67, 111, .06);
}

body.single-product .iliya-single-product-summary
.product_title {
    color: #172b4d;
    font-family: Peyda, Vazirmatn, Arial, sans-serif;
    font-size: 30px;
    line-height: 1.45;
    font-weight: 900;
    margin: 0 0 12px;
}

/* ---------- Rating ---------- */

body.single-product .iliya-single-product-summary
.woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
}

body.single-product .iliya-single-product-summary
.star-rating {
    font-size: 14px;
}

/* ---------- Price ---------- */

body.single-product .iliya-single-product-summary
.price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 18px 0;
    color: #216ce0;
    font-size: 24px;
    font-weight: 900;
}

body.single-product .iliya-single-product-summary
.price del {
    color: #9ba6b3;
    font-size: 14px;
    font-weight: 600;
}

body.single-product .iliya-single-product-summary
.price ins {
    text-decoration: none;
    color: #216ce0;
}

body.single-product .iliya-single-product-summary
.price .woocommerce-Price-currencySymbol {
    font-size: .72em;
    margin-right: 3px;
}

/* ---------- Short description ---------- */

body.single-product .iliya-single-product-summary
.woocommerce-product-details__short-description {
    color: #68778b;
    font-size: 14px;
    line-height: 2;
    border-top: 1px solid #edf1f5;
    border-bottom: 1px solid #edf1f5;
    padding: 18px 0;
    margin: 18px 0;
}

/* ---------- Cart ---------- */

body.single-product .iliya-single-product-summary
form.cart {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin: 22px 0;
}

body.single-product .iliya-single-product-summary
form.cart .quantity {
    flex-shrink: 0;
}

body.single-product .iliya-single-product-summary
form.cart .quantity .qty {
    width: 72px;
    height: 50px;
    border: 1px solid #dfe6ee;
    border-radius: 12px;
    background: #f8fafc;
    font-family: inherit;
    font-weight: 800;
    text-align: center;
}

body.single-product .iliya-single-product-summary
form.cart .single_add_to_cart_button {
    flex: 1;
    min-height: 50px;
    margin: 0 !important;
    background: #216ce0 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 12px !important;
    font-family: inherit;
    font-size: 15px;
    font-weight: 900;
    transition: .2s ease;
}

body.single-product .iliya-single-product-summary
form.cart .single_add_to_cart_button:hover {
    background: #1559c5 !important;
    transform: translateY(-1px);
}

/* ---------- Product meta ---------- */

body.single-product .iliya-single-product-summary
.product_meta {
    border-top: 1px solid #edf1f5;
    padding-top: 16px;
    color: #748196;
    font-size: 12px;
    line-height: 2.1;
}

body.single-product .iliya-single-product-summary
.product_meta .sku_wrapper,
body.single-product .iliya-single-product-summary
.product_meta .posted_in,
body.single-product .iliya-single-product-summary
.product_meta .tagged_as {
    display: block;
}

body.single-product .iliya-single-product-summary
.product_meta a {
    color: #216ce0;
    font-weight: 700;
}

/* ---------- Sale badge ---------- */

body.single-product .iliya-single-product
.onsale {
    top: 18px !important;
    right: 18px !important;
    left: auto !important;
    z-index: 5;
    background: #e5484d !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 7px 11px !important;
    min-width: auto !important;
    min-height: auto !important;
    line-height: 1.4 !important;
    font-size: 12px !important;
    font-weight: 900;
}

/* ---------- Details ---------- */

body.single-product .iliya-single-product-details {
    margin-top: 28px;
}

body.single-product .iliya-single-product-details
.woocommerce-tabs {
    background: #fff;
    border: 1px solid #e7edf4;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 8px 28px rgba(32, 67, 111, .05);
}

body.single-product .iliya-single-product-details
.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 8px;
    margin: 0 0 22px !important;
    padding: 0 !important;
    border: 0 !important;
}

body.single-product .iliya-single-product-details
.woocommerce-tabs ul.tabs::before,
body.single-product .iliya-single-product-details
.woocommerce-tabs ul.tabs::after {
    display: none !important;
}

body.single-product .iliya-single-product-details
.woocommerce-tabs ul.tabs li {
    background: #f5f8fc !important;
    border: 1px solid #e4eaf1 !important;
    border-radius: 11px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-product .iliya-single-product-details
.woocommerce-tabs ul.tabs li::before,
body.single-product .iliya-single-product-details
.woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

body.single-product .iliya-single-product-details
.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 10px 16px;
    color: #617087;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
}

body.single-product .iliya-single-product-details
.woocommerce-tabs ul.tabs li.active {
    background: #edf5ff !important;
    border-color: #cfe0ff !important;
}

body.single-product .iliya-single-product-details
.woocommerce-tabs ul.tabs li.active a {
    color: #216ce0;
}

body.single-product .iliya-single-product-details
.woocommerce-Tabs-panel {
    color: #526175;
    font-size: 14px;
    line-height: 2.1;
}

body.single-product .iliya-single-product-details
.woocommerce-Tabs-panel h2 {
    color: #172b4d;
    font-family: Peyda, Vazirmatn, Arial, sans-serif;
    font-size: 20px;
    font-weight: 900;
    margin-top: 0;
}

/* ---------- Related / upsells ---------- */

body.single-product .iliya-single-product-details
.related,
body.single-product .iliya-single-product-details
.upsells {
    margin-top: 38px !important;
}

body.single-product .iliya-single-product-details
.related > h2,
body.single-product .iliya-single-product-details
.upsells > h2 {
    color: #172b4d;
    font-family: Peyda, Vazirmatn, Arial, sans-serif;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 18px;
}

/* ---------- Mobile ---------- */

@media (max-width: 900px) {

    body.single-product .iliya-single-product-main {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.single-product .iliya-single-product-gallery,
    body.single-product .iliya-single-product-summary {
        border-radius: 18px;
    }

    body.single-product .iliya-single-product-summary {
        padding: 22px;
    }

    body.single-product .iliya-single-product-summary
    .product_title {
        font-size: 25px;
    }
}

@media (max-width: 600px) {

    body.single-product .iliya-single-product-gallery {
        padding: 12px;
    }

    body.single-product .iliya-single-product-summary {
        padding: 18px;
    }

    body.single-product .iliya-single-product-summary
    .product_title {
        font-size: 22px;
        line-height: 1.6;
    }

    body.single-product .iliya-single-product-summary
    .price {
        font-size: 21px;
    }

    body.single-product .iliya-single-product-summary
    form.cart {
        gap: 8px;
    }

    body.single-product .iliya-single-product-summary
    form.cart .quantity .qty {
        width: 64px;
    }

    body.single-product .iliya-single-product-details
    .woocommerce-tabs {
        padding: 16px;
        border-radius: 18px;
    }

    body.single-product .iliya-single-product-details
    .woocommerce-tabs ul.tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px !important;
    }

    body.single-product .iliya-single-product-details
    .woocommerce-tabs ul.tabs li {
        flex: 0 0 auto;
    }

    body.single-product .iliya-single-product-details
    .woocommerce-tabs ul.tabs li a {
        white-space: nowrap;
        padding: 9px 13px;
        font-size: 12px;
    }

    body.single-product .iliya-single-product-details
    .woocommerce-Tabs-panel {
        font-size: 13px;
    }

    body.single-product .iliya-single-product
    .onsale {
        top: 10px !important;
        right: 10px !important;
    }
}


/* =========================================================
   MOBILE ILIYA — CART PAGE DESIGN
   Scoped only to WooCommerce Cart
   ========================================================= */

body.woocommerce-cart .woocommerce {
    width: 100%;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals {
    margin: 0;
}

/* Main cart layout */
body.woocommerce-cart .woocommerce-cart-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(31, 55, 88, .05);
}

/* Cart table */
body.woocommerce-cart table.shop_table {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    border-collapse: collapse;
    background: #fff;
}

body.woocommerce-cart table.shop_table th {
    background: #f7f9fc;
    color: #27364a;
    font-family: Peyda, Vazirmatn, sans-serif;
    font-weight: 900;
    font-size: 14px;
    padding: 18px 16px;
    border: 0;
    border-bottom: 1px solid var(--border);
}

body.woocommerce-cart table.shop_table td {
    padding: 20px 16px;
    border: 0;
    border-bottom: 1px solid #edf1f6;
    vertical-align: middle;
}

body.woocommerce-cart table.shop_table tr:last-child td {
    border-bottom: 0;
}

/* Product thumbnail */
body.woocommerce-cart table.shop_table td.product-thumbnail {
    width: 105px;
}

body.woocommerce-cart table.shop_table td.product-thumbnail img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    border: 1px solid #e8edf4;
    border-radius: 15px;
    padding: 7px;
    background: #fff;
    transition: .2s ease;
}

body.woocommerce-cart table.shop_table td.product-thumbnail a:hover img {
    transform: translateY(-2px);
}

/* Product name */
body.woocommerce-cart table.shop_table td.product-name a {
    color: #18263a;
    font-family: Peyda, Vazirmatn, sans-serif;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
}

body.woocommerce-cart table.shop_table td.product-name a:hover {
    color: var(--blue);
}

/* Product price */
body.woocommerce-cart table.shop_table td.product-price,
body.woocommerce-cart table.shop_table td.product-subtotal {
    color: #17263a;
    font-weight: 800;
    white-space: nowrap;
}

body.woocommerce-cart table.shop_table td.product-subtotal {
    color: var(--blue);
    font-weight: 900;
}

/* Quantity */
body.woocommerce-cart .quantity {
    display: inline-flex;
    align-items: center;
}

body.woocommerce-cart .quantity .qty {
    width: 72px;
    height: 42px;
    border: 1px solid #dfe6ef;
    border-radius: 11px;
    background: #fff;
    color: #17263a;
    text-align: center;
    font-family: Vazirmatn, sans-serif;
    font-size: 14px;
    font-weight: 800;
    outline: none;
}

body.woocommerce-cart .quantity .qty:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(33, 108, 224, .08);
}

/* Remove */
body.woocommerce-cart table.shop_table td.product-remove {
    width: 48px;
    text-align: center;
}

body.woocommerce-cart table.shop_table td.product-remove a.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #fff1f1;
    color: #e05252 !important;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: .2s ease;
}

body.woocommerce-cart table.shop_table td.product-remove a.remove:hover {
    background: #ffe0e0;
    color: #c62828 !important;
    transform: scale(1.05);
}

/* Coupon + update row */
body.woocommerce-cart table.shop_table td.actions {
    padding: 18px;
    background: #fbfcfe;
    border-top: 1px solid #edf1f6;
}

body.woocommerce-cart .coupon {
    display: flex;
    align-items: center;
    gap: 9px;
    float: right;
}

body.woocommerce-cart .coupon input.input-text {
    width: 190px;
    min-height: 44px;
    border: 1px solid #dfe6ef;
    border-radius: 11px;
    padding: 9px 13px;
    background: #fff;
    font-family: inherit;
    outline: none;
}

body.woocommerce-cart .coupon input.input-text:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(33, 108, 224, .08);
}

body.woocommerce-cart .coupon button,
body.woocommerce-cart .actions button[name="update_cart"] {
    min-height: 44px;
    border: 0;
    border-radius: 11px;
    padding: 9px 18px;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}

body.woocommerce-cart .coupon button {
    background: #edf4ff;
    color: var(--blue);
}

body.woocommerce-cart .coupon button:hover {
    background: #dfeeff;
}

body.woocommerce-cart .actions button[name="update_cart"] {
    float: left;
    background: #eef1f5;
    color: #526174;
}

body.woocommerce-cart .actions button[name="update_cart"]:not(:disabled):hover {
    background: #e3e7ed;
}

/* Cart totals */
body.woocommerce-cart .cart-collaterals {
    margin-top: 24px;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
    width: 100%;
    max-width: 480px;
    margin-right: auto;
    margin-left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 8px 30px rgba(31, 55, 88, .05);
}

body.woocommerce-cart .cart_totals h2 {
    margin: 0 0 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid #edf1f6;
    color: #18263a;
    font-family: Peyda, Vazirmatn, sans-serif;
    font-size: 21px;
    font-weight: 900;
}

body.woocommerce-cart .cart_totals table.shop_table {
    border: 0;
    box-shadow: none;
}

body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
    padding: 13px 0;
    background: transparent;
    border-bottom: 1px solid #edf1f6;
    font-size: 14px;
}

body.woocommerce-cart .cart_totals table.shop_table th {
    color: #667487;
    font-weight: 700;
    text-align: right;
}

body.woocommerce-cart .cart_totals table.shop_table td {
    color: #26364b;
    font-weight: 800;
    text-align: left;
}

body.woocommerce-cart .cart_totals table.shop_table tr:last-child th,
body.woocommerce-cart .cart_totals table.shop_table tr:last-child td {
    border-bottom: 0;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
    padding-top: 18px;
    font-size: 17px;
    color: #17263a;
}

body.woocommerce-cart .cart_totals .order-total .amount {
    color: var(--blue);
    font-weight: 900;
}

/* Checkout button */
body.woocommerce-cart .wc-proceed-to-checkout {
    padding: 5px 0 0;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin: 0;
    border-radius: 13px;
    background: var(--blue);
    color: #fff;
    font-family: Peyda, Vazirmatn, sans-serif;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(33, 108, 224, .18);
    transition: .2s ease;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: #175dc6;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(33, 108, 224, .24);
}

/* Empty cart */
body.woocommerce-cart .cart-empty.woocommerce-info {
    margin: 0;
    padding: 35px 24px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
    color: #526174;
    text-align: center;
    font-family: Peyda, Vazirmatn, sans-serif;
    font-weight: 700;
}

body.woocommerce-cart p.return-to-shop {
    text-align: center;
}

body.woocommerce-cart p.return-to-shop a.button {
    border-radius: 12px;
    background: var(--blue);
    color: #fff;
    font-family: inherit;
    font-weight: 800;
}

/* Notices */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-cart .woocommerce-info {
    border-radius: 14px;
    font-family: inherit;
}

/* Mobile */
@media (max-width: 900px) {
    body.woocommerce-cart .cart-collaterals .cart_totals {
        max-width: none;
    }
}

@media (max-width: 600px) {

    body.woocommerce-cart .woocommerce-cart-form {
        border-radius: 17px;
    }

    body.woocommerce-cart table.shop_table thead {
        display: none;
    }

    body.woocommerce-cart table.shop_table,
    body.woocommerce-cart table.shop_table tbody,
    body.woocommerce-cart table.shop_table tr,
    body.woocommerce-cart table.shop_table td {
        display: block;
        width: 100%;
    }

    body.woocommerce-cart table.shop_table tr.woocommerce-cart-form__cart-item {
        position: relative;
        padding: 15px;
        border-bottom: 1px solid #edf1f6;
    }

    body.woocommerce-cart table.shop_table td {
        padding: 7px 0;
        border: 0;
        text-align: right !important;
    }

    body.woocommerce-cart table.shop_table td.product-remove {
        position: absolute;
        top: 12px;
        left: 12px;
        width: auto;
        padding: 0;
        z-index: 2;
    }

    body.woocommerce-cart table.shop_table td.product-thumbnail {
        width: 100%;
        padding-bottom: 10px;
        text-align: center !important;
    }

    body.woocommerce-cart table.shop_table td.product-thumbnail img {
        width: 100px;
        height: 100px;
    }

    body.woocommerce-cart table.shop_table td.product-name {
        padding-left: 40px;
    }

    body.woocommerce-cart table.shop_table td.product-name a {
        font-size: 15px;
    }

    body.woocommerce-cart table.shop_table td.product-price::before,
    body.woocommerce-cart table.shop_table td.product-quantity::before,
    body.woocommerce-cart table.shop_table td.product-subtotal::before {
        display: inline-block;
        min-width: 80px;
        color: #7b8797;
        font-size: 12px;
        font-weight: 700;
        content: attr(data-title);
    }

    body.woocommerce-cart table.shop_table td.product-price,
    body.woocommerce-cart table.shop_table td.product-quantity,
    body.woocommerce-cart table.shop_table td.product-subtotal {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    body.woocommerce-cart table.shop_table td.actions {
        padding: 14px;
    }

    body.woocommerce-cart .coupon {
        display: flex;
        float: none;
        width: 100%;
        margin-bottom: 10px;
    }

    body.woocommerce-cart .coupon input.input-text {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    body.woocommerce-cart .coupon button {
        flex-shrink: 0;
    }

    body.woocommerce-cart .actions button[name="update_cart"] {
        float: none;
        width: 100%;
    }

    body.woocommerce-cart .cart-collaterals {
        margin-top: 18px;
    }

    body.woocommerce-cart .cart-collaterals .cart_totals {
        padding: 18px;
        border-radius: 17px;
    }

    body.woocommerce-cart .cart_totals h2 {
        font-size: 19px;
    }
}


/* =========================================================
   MOBILE ILIYA — CHECKOUT DESIGN
   WooCommerce Blocks
   Scoped only to Checkout
   ========================================================= */

body.woocommerce-checkout .wc-block-checkout {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
    font-family: Vazirmatn, sans-serif;
    color: #243247;
}

/* Main checkout columns */
body.woocommerce-checkout .wc-block-checkout__main {
    gap: 28px;
}

/* Checkout sections */
body.woocommerce-checkout .wc-block-checkout__contact-information,
body.woocommerce-checkout .wc-block-checkout__shipping-address,
body.woocommerce-checkout .wc-block-checkout__billing-address,
body.woocommerce-checkout .wc-block-checkout__shipping-method,
body.woocommerce-checkout .wc-block-checkout__payment-method,
body.woocommerce-checkout .wc-block-checkout__additional-information,
body.woocommerce-checkout .wc-block-checkout__order-note,
body.woocommerce-checkout .wc-block-checkout__terms {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 7px 25px rgba(31, 55, 88, .04);
}

/* Section headings */
body.woocommerce-checkout .wc-block-components-checkout-step__heading {
    margin-bottom: 14px;
}

body.woocommerce-checkout .wc-block-components-checkout-step__title {
    color: #18263a;
    font-family: Peyda, Vazirmatn, sans-serif;
    font-size: 18px;
    font-weight: 900;
}

/* Description text */
body.woocommerce-checkout .wc-block-components-checkout-step__description {
    color: #778396;
    font-size: 13px;
    line-height: 1.9;
}

/* Form labels */
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-combobox label {
    color: #526174;
    font-family: Vazirmatn, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

/* Text fields */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout select {
    min-height: 48px;
    border: 1px solid #dfe6ef !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #26364b !important;
    font-family: Vazirmatn, sans-serif !important;
    font-size: 14px;
    outline: none;
    box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox input:focus {
    border-color: var(--blue) !important;
    box-shadow: 0 0 0 3px rgba(33, 108, 224, .08) !important;
}

/* Checkbox */
body.woocommerce-checkout .wc-block-components-checkbox label {
    color: #526174;
    font-size: 13px;
    line-height: 1.8;
}

/* Shipping methods */
body.woocommerce-checkout .wc-block-components-radio-control {
    border: 1px solid #e4eaf1;
    border-radius: 13px;
    overflow: hidden;
}

body.woocommerce-checkout .wc-block-components-radio-control__option {
    padding: 14px 15px;
    border-bottom: 1px solid #edf1f6;
}

body.woocommerce-checkout .wc-block-components-radio-control__option:last-child {
    border-bottom: 0;
}

body.woocommerce-checkout .wc-block-components-radio-control__label {
    color: #26364b;
    font-weight: 800;
}

/* Payment */
body.woocommerce-checkout .wc-block-components-radio-control--highlight-checked
.wc-block-components-radio-control__option--checked {
    background: #f7faff;
}

body.woocommerce-checkout .wc-block-components-radio-control__option--checked {
    border-color: rgba(33, 108, 224, .25);
}

/* Order summary */
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(31, 55, 88, .05);
}

body.woocommerce-checkout .wc-block-components-checkout-order-summary__title {
    padding: 0 0 15px;
    border-bottom: 1px solid #edf1f6;
}

body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
    color: #18263a;
    font-family: Peyda, Vazirmatn, sans-serif;
    font-size: 19px;
    font-weight: 900;
}

/* Order summary rows */
body.woocommerce-checkout .wc-block-components-totals-item {
    color: #526174;
    font-size: 13px;
}

body.woocommerce-checkout .wc-block-components-totals-item__value {
    color: #26364b;
    font-weight: 800;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #edf1f6;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    color: #18263a;
    font-weight: 900;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: var(--blue);
    font-size: 18px;
    font-weight: 900;
}

/* Product items in summary */
body.woocommerce-checkout .wc-block-components-order-summary-item {
    padding: 12px 0;
    border-bottom: 1px solid #edf1f6;
}

body.woocommerce-checkout .wc-block-components-order-summary-item:last-child {
    border-bottom: 0;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image {
    border: 1px solid #e5ebf2;
    border-radius: 12px;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__description {
    color: #26364b;
    font-weight: 800;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
    background: var(--blue);
    color: #fff;
    border: 0;
    font-weight: 800;
}

/* Coupon */
body.woocommerce-checkout .wc-block-components-totals-coupon {
    margin: 12px 0;
}

body.woocommerce-checkout .wc-block-components-totals-coupon-link {
    color: var(--blue);
    font-weight: 800;
}

body.woocommerce-checkout .wc-block-components-totals-coupon__form input {
    min-height: 44px;
    border: 1px solid #dfe6ef;
    border-radius: 10px;
    font-family: inherit;
}

/* Place order */
body.woocommerce-checkout .wc-block-components-checkout-place-order {
    margin-top: 12px;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order
.wc-block-components-button {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 13px;
    background: var(--blue);
    color: #fff;
    font-family: Peyda, Vazirmatn, sans-serif;
    font-size: 16px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(33, 108, 224, .18);
    transition: .2s ease;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order
.wc-block-components-button:hover {
    background: #175dc6;
    transform: translateY(-1px);
}

/* Terms */
body.woocommerce-checkout .wc-block-components-checkout-terms {
    color: #718096;
    font-size: 12px;
    line-height: 1.9;
}

body.woocommerce-checkout .wc-block-components-checkout-terms a {
    color: var(--blue);
    font-weight: 700;
}

/* Notices */
body.woocommerce-checkout .wc-block-components-notice-banner {
    border-radius: 13px;
    font-family: Vazirmatn, sans-serif;
}

/* Loading state */
body.woocommerce-checkout .wc-block-checkout.is-loading {
    opacity: .75;
}

/* Responsive */
@media (max-width: 900px) {
    body.woocommerce-checkout .wc-block-checkout {
        max-width: none;
    }

    body.woocommerce-checkout .wc-block-checkout__main {
        gap: 18px;
    }
}

@media (max-width: 600px) {

    body.woocommerce-checkout .wc-block-checkout {
        padding: 0;
    }

    body.woocommerce-checkout .wc-block-checkout__contact-information,
    body.woocommerce-checkout .wc-block-checkout__shipping-address,
    body.woocommerce-checkout .wc-block-checkout__billing-address,
    body.woocommerce-checkout .wc-block-checkout__shipping-method,
    body.woocommerce-checkout .wc-block-checkout__payment-method,
    body.woocommerce-checkout .wc-block-checkout__additional-information,
    body.woocommerce-checkout .wc-block-checkout__order-note,
    body.woocommerce-checkout .wc-block-checkout__terms {
        padding: 15px;
        border-radius: 15px;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
        padding: 15px;
        border-radius: 16px;
    }

    body.woocommerce-checkout .wc-block-components-checkout-step__title {
        font-size: 17px;
    }

    body.woocommerce-checkout .wc-block-components-text-input input,
    body.woocommerce-checkout .wc-block-components-combobox input {
        min-height: 46px;
    }
}


/* ===== MOBILE ILIYA — CART FINAL FIX 2026-09-28 ===== */

/* عکس محصول: قاب ثابت و بدون کشیدگی */
body.woocommerce-cart table.shop_table td.product-thumbnail {
    width: 108px;
    min-width: 108px;
    text-align: center;
    vertical-align: middle;
}

body.woocommerce-cart table.shop_table td.product-thumbnail a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    overflow: hidden;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    background: #fff;
    box-sizing: border-box;
}

body.woocommerce-cart table.shop_table td.product-thumbnail img,
body.woocommerce-cart table.shop_table td.product-thumbnail a img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 7px;
    border: 0 !important;
    border-radius: 15px;
    object-fit: contain !important;
    object-position: center center;
    box-sizing: border-box;
    background: #fff;
}

/* قیمت‌ها: جلوگیری از به‌هم‌ریختن عدد و تومان در RTL */
body.woocommerce-cart .woocommerce-Price-amount,
body.woocommerce-cart .woocommerce-Price-amount bdi {
    display: inline-flex;
    align-items: baseline;
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
    line-height: 1.6;
    font-variant-numeric: tabular-nums;
}

body.woocommerce-cart .woocommerce-Price-amount bdi {
    gap: 4px;
}

body.woocommerce-cart .woocommerce-Price-currencySymbol {
    white-space: nowrap;
    font-size: .92em;
}

body.woocommerce-cart table.shop_table td.product-price .woocommerce-Price-amount,
body.woocommerce-cart table.shop_table td.product-subtotal .woocommerce-Price-amount,
body.woocommerce-cart .cart_totals .woocommerce-Price-amount {
    font-weight: 900;
}

/* ردیف مبلغ تخفیف */
body.woocommerce-cart .cart_totals tr.cart-discount th,
body.woocommerce-cart .cart_totals tr.cart-discount td {
    color: #2f6fe4;
}

body.woocommerce-cart .cart_totals tr.cart-discount td {
    direction: ltr;
    text-align: left;
}

@media (max-width: 600px) {

    body.woocommerce-cart table.shop_table td.product-thumbnail {
        width: 100%;
        min-width: 0;
        padding-bottom: 12px;
    }

    body.woocommerce-cart table.shop_table td.product-thumbnail a {
        width: 104px;
        height: 104px;
    }

    body.woocommerce-cart table.shop_table td.product-thumbnail img,
    body.woocommerce-cart table.shop_table td.product-thumbnail a img {
        width: 100% !important;
        height: 100% !important;
    }

    body.woocommerce-cart table.shop_table td.product-price,
    body.woocommerce-cart table.shop_table td.product-subtotal {
        flex-wrap: nowrap;
    }

    body.woocommerce-cart table.shop_table td.product-price .woocommerce-Price-amount,
    body.woocommerce-cart table.shop_table td.product-subtotal .woocommerce-Price-amount {
        margin-right: auto;
    }

    body.woocommerce-cart .cart_totals tr.cart-discount td {
        text-align: left !important;
    }
}

/* =========================================================
   MOBILE ILIYA — CHECKOUT ORDER SUMMARY FINAL FIX
   ========================================================= */

/* خود باکس خلاصه سفارش */
body.woocommerce-checkout
.wp-block-woocommerce-checkout-order-summary-block {
    width: 100%;
    box-sizing: border-box;
}

/* هر محصول */
body.woocommerce-checkout
.wc-block-components-order-summary-item {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 14px 0 !important;
    box-sizing: border-box;
}

/* عکس محصول */
body.woocommerce-checkout
.wc-block-components-order-summary-item__image {
    position: relative !important;
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    overflow: hidden !important;
    border: 1px solid #e5eaf1 !important;
    border-radius: 12px !important;
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

body.woocommerce-checkout
.wc-block-components-order-summary-item__image img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    padding: 5px !important;
    box-sizing: border-box !important;
}

/* اطلاعات محصول */
body.woocommerce-checkout
.wc-block-components-order-summary-item__description {
    min-width: 0 !important;
    margin: 0 !important;
}

body.woocommerce-checkout
.wc-block-components-order-summary-item__description .wc-block-components-product-name {
    display: block !important;
    margin: 0 !important;
    font-family: Peyda, Vazirmatn, sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.7 !important;
    overflow: hidden !important;
}

/* قیمت محصول */
body.woocommerce-checkout
.wc-block-components-order-summary-item__individual-prices,
body.woocommerce-checkout
.wc-block-components-order-summary-item__total-price {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    white-space: nowrap !important;
    text-align: left !important;
    font-weight: 800 !important;
}

body.woocommerce-checkout
.wc-block-components-order-summary-item__individual-prices .wc-block-components-formatted-money-amount,
body.woocommerce-checkout
.wc-block-components-order-summary-item__total-price .wc-block-components-formatted-money-amount,
body.woocommerce-checkout
.wc-block-components-order-summary-item__individual-prices bdi,
body.woocommerce-checkout
.wc-block-components-order-summary-item__total-price bdi {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    white-space: nowrap !important;
}

/* تعداد روی تصویر */
body.woocommerce-checkout
.wc-block-components-order-summary-item__quantity {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    min-width: 22px !important;
    height: 22px !important;
    padding: 0 5px !important;
    border-radius: 11px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    line-height: 1 !important;
    z-index: 2 !important;
}

/* ردیف‌های جمع مبلغ */
body.woocommerce-checkout
.wc-block-components-totals-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

body.woocommerce-checkout
.wc-block-components-totals-item__label {
    direction: rtl !important;
    text-align: right !important;
    font-family: Peyda, Vazirmatn, sans-serif !important;
    font-weight: 700 !important;
}

/* قیمت تمام ردیف‌ها */
body.woocommerce-checkout
.wc-block-components-totals-item__value {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    white-space: nowrap !important;
    text-align: left !important;
    font-weight: 800 !important;
}

/* تخفیف */
body.woocommerce-checkout
.wc-block-components-totals-item--discount
.wc-block-components-totals-item__label {
    color: #18864b !important;
}

body.woocommerce-checkout
.wc-block-components-totals-item--discount
.wc-block-components-totals-item__value {
    color: #18864b !important;
    direction: ltr !important;
}

/* حذف متن اضافه‌ای که قبلاً با CSS به برچسب تخفیف اضافه شده */
body.woocommerce-checkout
.wc-block-components-totals-item--discount
.wc-block-components-totals-item__label::after {
    content: none !important;
}

/* مبلغ نهایی */
body.woocommerce-checkout
.wc-block-components-totals-footer-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important;
}

body.woocommerce-checkout
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 16px !important;
    font-weight: 900 !important;
}

body.woocommerce-checkout
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 17px !important;
    font-weight: 900 !important;
    color: var(--blue) !important;
}

/* موبایل */
@media (max-width: 600px) {

    body.woocommerce-checkout
    .wc-block-components-order-summary-item {
        grid-template-columns: 62px minmax(0, 1fr) auto !important;
        gap: 9px !important;
        padding: 11px 0 !important;
    }

    body.woocommerce-checkout
    .wc-block-components-order-summary-item__image {
        width: 62px !important;
        height: 62px !important;
        min-width: 62px !important;
    }

    body.woocommerce-checkout
    .wc-block-components-order-summary-item__description .wc-block-components-product-name {
        font-size: 13px !important;
    }

    body.woocommerce-checkout
    .wc-block-components-order-summary-item__individual-prices,
    body.woocommerce-checkout
    .wc-block-components-order-summary-item__total-price {
        font-size: 12px !important;
    }

    body.woocommerce-checkout
    .wc-block-components-totals-item {
        gap: 8px !important;
    }
}

/* =========================================================
   MOBILE ILIYA — CHECKOUT SUMMARY FINAL POLISH
   ========================================================= */

body.woocommerce-checkout
.wc-block-components-checkout-order-summary__content {
    font-family: Vazirmatn, Peyda, sans-serif !important;
}

/* -------- PRODUCT ROW -------- */

body.woocommerce-checkout
.wc-block-components-order-summary-item {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) auto !important;
    align-items: center !important;
    column-gap: 13px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 13px 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* -------- PRODUCT IMAGE -------- */

body.woocommerce-checkout
.wc-block-components-order-summary-item__image {
    position: relative !important;
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    border: 1px solid #e5eaf1 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 3px 12px rgba(20,40,70,.05) !important;
    box-sizing: border-box !important;
}

body.woocommerce-checkout
.wc-block-components-order-summary-item__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 5px !important;
    margin: 0 !important;
    border-radius: 13px !important;
    box-sizing: border-box !important;
}

/* -------- QUANTITY -------- */

body.woocommerce-checkout
.wc-block-components-order-summary-item__quantity {
    position: absolute !important;
    top: -7px !important;
    right: -7px !important;
    z-index: 5 !important;

    min-width: 23px !important;
    height: 23px !important;
    padding: 0 6px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 2px solid #fff !important;
    border-radius: 50px !important;
    background: var(--blue) !important;
    color: #fff !important;

    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;

    box-shadow: 0 3px 8px rgba(33,108,224,.22) !important;
}

/* -------- PRODUCT INFORMATION -------- */

body.woocommerce-checkout
.wc-block-components-order-summary-item__description {
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-checkout
.wc-block-components-order-summary-item__description h3,
body.woocommerce-checkout
.wc-block-components-order-summary-item__description
.wc-block-components-product-name {
    margin: 0 0 5px !important;
    padding: 0 !important;
    color: #18263a !important;

    font-family: Peyda, Vazirmatn, sans-serif !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.65 !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

/* -------- INDIVIDUAL PRICE -------- */

body.woocommerce-checkout
.wc-block-cart-item__prices {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-checkout
.wc-block-components-order-summary-item__individual-prices {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;

    margin: 0 !important;
    padding: 0 !important;

    direction: rtl !important;
    unicode-bidi: isolate !important;
    white-space: nowrap !important;

    color: #59677a !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

/* قیمت اصلی خط‌خورده */
body.woocommerce-checkout
.wc-block-components-order-summary-item__regular-individual-price {
    opacity: .55 !important;
}

/* -------- TOTAL PRICE -------- */

body.woocommerce-checkout
.wc-block-components-order-summary-item__total-price {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;

    direction: rtl !important;
    unicode-bidi: isolate !important;
    white-space: nowrap !important;

    text-align: left !important;

    color: #17263a !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

body.woocommerce-checkout
.wc-block-cart-item__total-price-and-sale-badge-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 3px !important;
}

/* همه مبلغ‌ها */
body.woocommerce-checkout
.wc-block-components-formatted-money-amount {
    white-space: nowrap !important;
    font-variant-numeric: tabular-nums !important;
}

/* -------- SALE / DISCOUNT BADGE -------- */

body.woocommerce-checkout
.wc-block-components-order-summary-item__total-price
[class*="sale"],
body.woocommerce-checkout
.wc-block-cart-item__total-price-and-sale-badge-wrapper
[class*="badge"] {
    white-space: nowrap !important;
    direction: rtl !important;

    color: #18864b !important;
    font-size: 11px !important;
    font-weight: 800 !important;

    background: #ecf9f1 !important;
    border-radius: 7px !important;
    padding: 2px 7px !important;
}

/* -------- TOTALS -------- */

body.woocommerce-checkout
.wc-block-components-totals-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

body.woocommerce-checkout
.wc-block-components-totals-item__label {
    margin: 0 !important;
    color: #59677a !important;
    font-family: Peyda, Vazirmatn, sans-serif !important;
    font-weight: 700 !important;
    text-align: right !important;
    direction: rtl !important;
}

body.woocommerce-checkout
.wc-block-components-totals-item__value {
    margin: 0 !important;
    color: #26364b !important;
    font-weight: 850 !important;
    text-align: left !important;
    direction: rtl !important;
    unicode-bidi: isolate !important;
    white-space: nowrap !important;
}

/* -------- DISCOUNT TOTAL -------- */

body.woocommerce-checkout
.wc-block-components-totals-item--discount
.wc-block-components-totals-item__label {
    font-size: 0 !important;
    color: #18864b !important;
}

body.woocommerce-checkout
.wc-block-components-totals-item--discount
.wc-block-components-totals-item__label::before {
    content: "مبلغ تخفیف" !important;

    font-family: Peyda, Vazirmatn, sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #18864b !important;
}

/* -------- FINAL TOTAL -------- */

body.woocommerce-checkout
.wc-block-components-totals-footer-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important;
}

body.woocommerce-checkout
.wc-block-components-totals-footer-item
.wc-block-components-totals-item__label {
    color: #18263a !important;
    font-size: 16px !important;
    font-weight: 900 !important;
}

body.woocommerce-checkout
.wc-block-components-totals-footer-item
.wc-block-components-totals-item__value {
    color: var(--blue) !important;
    font-size: 17px !important;
    font-weight: 900 !important;
}

/* -------- MOBILE -------- */

@media (max-width: 600px) {

    body.woocommerce-checkout
    .wc-block-components-order-summary-item {
        grid-template-columns: 60px minmax(0, 1fr) auto !important;
        column-gap: 9px !important;
        padding: 11px 0 !important;
    }

    body.woocommerce-checkout
    .wc-block-components-order-summary-item__image {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;
    }

    body.woocommerce-checkout
    .wc-block-components-order-summary-item__description h3,
    body.woocommerce-checkout
    .wc-block-components-order-summary-item__description
    .wc-block-components-product-name {
        font-size: 13px !important;
    }

    body.woocommerce-checkout
    .wc-block-components-order-summary-item__individual-prices {
        font-size: 11px !important;
    }

    body.woocommerce-checkout
    .wc-block-components-order-summary-item__total-price {
        font-size: 12px !important;
    }
}

