﻿css
/* =========================================================
   IRAN TAMIN KALA
   ASP.NET Web Forms
   .NET Framework 4.8
   Bootstrap 4.6
   RTL / Responsive / B2B
========================================================= */
/* =========================================================
   GLOBAL
========================================================= */
html {
    direction: rtl;
    width: 100%;
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    direction: rtl;
    text-align: right;
    background: #ffffff;
    color: #252a2f;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

button,
input,
textarea,
select,
option {
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}


/* =========================================================
   HEADER
========================================================= */

.main-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e8edf1;
    position: relative;
    z-index: 1000;
}

    .main-header .navbar {
        min-height: 74px;
        padding-top: 8px;
        padding-bottom: 8px;
    }


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 25px;
    margin-right: 0;
    padding: 0 !important;
    line-height: 1.25;
    white-space: nowrap;
}

    .brand:hover {
        text-decoration: none;
    }

.brand-main {
    display: block;
    color: #1f252b;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
}

.brand-sub {
    display: block;
    margin-top: 1px;
    color: #7b848c;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-header .navbar-nav {
    direction: rtl;
}

    .main-header .navbar-nav .nav-link {
        padding: 8px 12px !important;
        color: #3f474e !important;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.8;
        text-align: right;
        white-space: nowrap;
    }

        .main-header .navbar-nav .nav-link:hover {
            color: #1769aa !important;
        }


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 16px;
}

.login-btn,
.register-btn {
    padding: 7px 13px !important;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-radius: 7px !important;
    white-space: nowrap;
}


/* =========================================================
   CART
========================================================= */

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #3f474e;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

    .cart-link:hover {
        color: #1769aa;
    }

.cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    line-height: 1;
}

.cart-text {
    display: inline-block;
}

.cart-count {
    min-width: 19px;
    height: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 2px;
    padding: 0 5px;
    background: #1769aa;
    border-radius: 20px;
    color: #ffffff;
    font-family: Arial, sans-serif !important;
    font-size: 10px;
    font-weight: 700;
    line-height: 19px;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    width: 100%;
    padding: 100px 0 60px;
    background: linear-gradient( 135deg, #f2f7fc 0%, #ffffff 100% );
}

.hero-content {
    width: 100%;
    max-width: 680px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 14px;
    background: #eaf4ff;
    border: 1px solid #d6e9fa;
    border-radius: 30px;
    color: #1769aa;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.8;
}

.hero-content h1 {
    margin: 0 0 15px;
    color: #1f252b;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.75;
    text-align: right;
}

.hero-content p {
    margin: 0 0 8px;
    color: #626b74;
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
    text-align: right;
}

.hero-condition {
    color: #343a40 !important;
    font-size: 14px !important;
}

    .hero-condition strong {
        color: #1769aa;
        font-weight: 700;
    }


/* =========================================================
   OFFICIAL INVOICE
========================================================= */

.official-invoice-badge {
    width: 100%;
    margin-top: 18px;
    padding: 16px 18px;
    background: #f3fbf6;
    border: 1px solid #d6ecde;
    border-radius: 12px;
    direction: rtl;
}

.official-invoice-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    direction: rtl;
}

.official-invoice-check {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #198754;
    border-radius: 50%;
    color: #ffffff;
    font-family: Arial, sans-serif !important;
    font-size: 17px;
    font-weight: bold;
    line-height: 1;
}

.official-invoice-title {
    color: #176b3a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
    text-align: right;
}

.official-invoice-item {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 8px;
    direction: rtl;
}

.official-invoice-check.small {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    margin-top: 2px;
    font-size: 10px;
}

.official-invoice-text {
    flex: 1;
    min-width: 0;
    color: #52695b;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.9;
    text-align: right;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 22px;
}

    .hero-buttons .btn {
        min-width: 150px;
        padding: 10px 18px;
        border-radius: 8px;
        font-family: "Vazirmatn", Tahoma, Arial, sans-serif !important;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.8;
        white-space: nowrap;
    }


/* =========================================================
   HERO CARD
========================================================= */

.hero-card {
    width: 100%;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e5ebf1;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(25, 45, 65, .08);
}

.hero-card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #edf5ff;
    border-radius: 50%;
    color: #1769aa;
    font-family: Arial, sans-serif !important;
    font-size: 23px;
    font-weight: bold;
}

.hero-card h3 {
    margin-bottom: 14px;
    color: #20262c;
    font-size: 20px;
    font-weight: 700;
    text-align: right;
}

.hero-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #edf0f3;
}

    .hero-item:last-of-type {
        border-bottom: none;
    }

    .hero-item span {
        color: #808990;
        font-size: 12px;
        text-align: right;
    }

    .hero-item strong {
        color: #2d3339;
        font-size: 12px;
        font-weight: 700;
        text-align: left;
        white-space: nowrap;
    }

.hero-card-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: 17px;
    background: #1769aa;
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

    .hero-card-button:hover {
        background: #12598f;
    }


/* =========================================================
   B2B INFO BAR
========================================================= */

.b2b-info-bar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e9edf1;
}

.b2b-info-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 78px;
    direction: rtl;
}

.b2b-info-box {
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 12px 18px;
    border-left: 1px solid #edf0f2;
    direction: rtl;
}

    .b2b-info-box:last-child {
        border-left: none;
    }

.b2b-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 11px;
    background: #f0f6fd;
    border-radius: 50%;
    color: #1769aa;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.b2b-content {
    flex: 1;
    min-width: 0;
    direction: rtl;
    text-align: right;
}

.b2b-title {
    margin: 0;
    color: #252a2f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
    text-align: right;
}

.b2b-value {
    margin: 0;
    color: #7c858d;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.7;
    text-align: right;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {
    width: 100%;
    margin-bottom: 32px;
    text-align: center;
}

    .section-heading span {
        display: block;
        margin-bottom: 4px;
        color: #1769aa;
        font-size: 12px;
        font-weight: 600;
        text-align: center;
    }

    .section-heading h2 {
        margin: 0 0 7px;
        color: #20262c;
        font-size: 28px;
        font-weight: 800;
        line-height: 1.7;
        text-align: center;
    }

    .section-heading p {
        margin: 0;
        color: #7a838c;
        font-size: 13px;
        text-align: center;
    }


/* =========================================================
   CATEGORIES
========================================================= */

.categories-section {
    width: 100%;
    padding: 65px 0;
    background: #ffffff;
}

.category-card {
    width: 100%;
    height: 100%;
    display: block;
    padding: 26px 20px;
    background: #ffffff;
    border: 1px solid #e5eaee;
    border-radius: 14px;
    color: #252a2f;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .category-card:hover {
        color: #252a2f;
        border-color: #d0dee9;
        box-shadow: 0 10px 25px rgba(25, 45, 65, .08);
        transform: translateY(-4px);
    }

.category-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    background: #f0f6fd;
    border-radius: 50%;
    color: #1769aa;
    font-size: 25px;
    font-weight: 800;
    text-align: center;
}

.category-card h3 {
    margin: 0 0 5px;
    color: #252a2f;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.category-card p {
    margin: 0 0 8px;
    color: #7b858e;
    font-size: 13px;
    line-height: 1.9;
    text-align: center;
}

.category-card span {
    color: #1769aa;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}


/* =========================================================
   ADVANTAGES
========================================================= */

.advantages-section {
    width: 100%;
    padding: 65px 0;
    background: #f7f9fb;
}

.advantage-card {
    width: 100%;
    height: 100%;
    padding: 23px 20px;
    background: #ffffff;
    border: 1px solid #e4e8ec;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(25, 45, 65, .03);
    text-align: right;
}

.advantage-number {
    margin-bottom: 8px;
    color: #1769aa;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

.advantage-card h4 {
    margin-bottom: 8px;
    color: #252a2f;
    font-size: 17px;
    font-weight: 700;
    text-align: right;
}

.advantage-card p {
    margin: 0;
    color: #7b858e;
    font-size: 13px;
    line-height: 1.9;
    text-align: right;
}


/* =========================================================
   BUSINESS SECTION
========================================================= */

.business-section {
    width: 100%;
    padding: 55px 0;
    background: #343a40;
    color: #ffffff;
}

    .business-section h2 {
        margin: 0 0 8px;
        color: #ffffff;
        font-size: 28px;
        font-weight: 800;
        text-align: right;
    }

    .business-section p {
        margin: 0;
        color: #d9dde1;
        font-size: 14px;
        line-height: 2;
        text-align: right;
    }


/* =========================================================
   CTA
========================================================= */

.cta-section {
    width: 100%;
    padding: 60px 0;
    background: #ffffff;
}

.cta-box {
    width: 100%;
    padding: 40px 25px;
    background: #f4f7fa;
    border: 1px solid #e4e9ee;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(31, 45, 61, .03);
    text-align: center;
}

    .cta-box h2 {
        margin: 0 0 8px;
        color: #252a2f;
        font-size: 27px;
        font-weight: 800;
        text-align: center;
    }

    .cta-box p {
        margin: 0 0 18px;
        color: #7c858d;
        font-size: 14px;
        text-align: center;
    }


/* =========================================================
   FOOTER
========================================================= */

.main-footer {
    width: 100%;
    padding: 45px 0 18px;
    background: #202124;
    color: #ffffff;
}

    .main-footer h5 {
        margin: 0 0 14px;
        color: #ffffff;
        font-size: 17px;
        font-weight: 700;
        text-align: right;
    }

    .main-footer p {
        margin: 0 0 7px;
        color: #b9bec3;
        font-size: 13px;
        line-height: 2;
        text-align: right;
    }

    .main-footer a {
        display: block;
        margin-bottom: 5px;
        color: #b9bec3;
        font-size: 13px;
        text-align: right;
    }

        .main-footer a:hover {
            color: #ffffff;
        }

    .main-footer hr {
        margin: 25px 0 16px;
        border: 0;
        border-top: 1px solid #383a3d;
    }

.footer-bottom {
    color: #85898d;
    font-size: 12px;
    text-align: center;
}


/* =========================================================
   FORMS
========================================================= */

.form-control {
    direction: rtl;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif !important;
    font-size: 14px;
    text-align: right;
    border-radius: 7px;
}

    .form-control::placeholder {
        color: #999999;
        direction: rtl;
        text-align: right;
    }

label {
    display: block;
    margin-bottom: 6px;
    direction: rtl;
    color: #333333;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif !important;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
}


/* =========================================================
   PRODUCTS HEADER
========================================================= */

.products-page-header {
    width: 100%;
    padding: 24px 0 28px;
    background: linear-gradient( 135deg, #f1f6ff 0%, #ffffff 100% );
    border-bottom: 1px solid #e5ebf1;
}

.products-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 11px;
    color: #7b858e;
    font-size: 11px;
}

    .products-breadcrumb a {
        color: #1976d2;
        font-weight: 500;
    }

    .products-breadcrumb span {
        color: #7b858e;
    }

    .products-breadcrumb .breadcrumb-separator {
        color: #b8c0c7;
    }

.products-page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.products-page-label {
    display: inline-block;
    margin-bottom: 2px;
    color: #1976d2;
    font-size: 11px;
    font-weight: 600;
}

.products-page-title h1 {
    margin: 0 0 3px;
    color: #20262c;
    font-size: 29px;
    font-weight: 800;
    line-height: 1.4;
}

.products-page-title p {
    margin: 0;
    color: #717b84;
    font-size: 12px;
}

.products-min-order {
    flex: 0 0 auto;
    min-width: 140px;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #dde5ec;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(31, 45, 61, .04);
    text-align: center;
}

.products-min-order-label {
    display: block;
    margin-bottom: 1px;
    color: #8b949d;
    font-size: 10px;
}

.products-min-order strong {
    display: block;
    color: #1976d2;
    font-size: 17px;
    font-weight: 800;
}


/* =========================================================
   PRODUCTS MAIN
========================================================= */

.products-section {
    width: 100%;
    padding: 27px 0 45px;
    background: #f7f9fb;
}


/* =========================================================
   CATEGORY BOX
========================================================= */

.products-category-area {
    width: 100%;
    padding: 17px 20px;
    margin-bottom: 22px;
    background: #ffffff;
    border: 1px solid #e0e6eb;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(31, 45, 61, .03);
}

.products-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

    .products-category-title h2 {
        margin: 0;
        color: #252b31;
        font-size: 17px;
        font-weight: 700;
    }

    .products-category-title span {
        color: #9199a1;
        font-size: 11px;
    }


/* =========================================================
   CATEGORY FILTER
========================================================= */

.category-filter {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.category-filter-item {
    flex: 0 0 auto;
    min-width: 92px;
    min-height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 15px;
    background: #f6f8fa;
    border: 1px solid #e0e6eb;
    border-radius: 8px;
    color: #4e5962;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    transition: all .2s ease;
}

    .category-filter-item:hover {
        background: #edf5ff;
        border-color: #bdd7f4;
        color: #1976d2;
    }

    .category-filter-item.active {
        color: #ffffff;
        box-shadow: 0 4px 11px rgba(25, 118, 210, .18);
    }


/* =========================================================
   RESULT HEADER
========================================================= */

.products-result-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 2px 9px;
    border-bottom: 1px solid #dfe5ea;
}

.products-result-label {
    display: block;
    margin-bottom: 1px;
    color: #929aa2;
    font-size: 9px;
}

.products-result-header h2 {
    margin: 0;
    color: #222930;
    font-size: 19px;
    font-weight: 800;
}

.products-carton-note {
    padding: 6px 10px;
    background: #ffffff;
    border: 1px solid #e1e6eb;
    border-radius: 7px;
    color: #717b84;
    font-size: 10px;
    white-space: nowrap;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.products-grid {
    width: 100%;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #dfe5ea;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 17px rgba(31, 45, 61, .045);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .product-card:hover {
        transform: translateY(-5px);
        border-color: #ccd8e3;
        box-shadow: 0 13px 30px rgba(31, 45, 61, .10);
    }


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-image-link {
    display: block;
    width: 100%;
    background: #ffffff;
}

.product-image-container {
    width: 100%;
    height: 215px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-bottom: 1px solid #edf0f3;
    overflow: hidden;
}

.product-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    transition: transform .25s ease;
    border-radius: 12px;
    overflow: hidden;
}

.product-card:hover .product-image {
    transform: scale(1.04);
}


/* =========================================================
   PRODUCT CONTENT
========================================================= */

.product-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 15px;
}

.product-brand {
    margin-bottom: 3px;
    color: #1976d2;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.6;
    text-align: right;
}

.product-name {
    min-height: 45px;
    margin: 0 0 5px;
    color: #222930;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
    text-align: right;
}

    .product-name a {
        color: #222930;
    }

        .product-name a:hover {
            color: #1976d2;
        }


/* =========================================================
   PRODUCT CODE
========================================================= */

.product-code {
    margin-bottom: 10px;
    color: #9ba3aa;
    font-size: 9px;
    text-align: right;
}

    .product-code strong {
        color: #707980;
        font-weight: 500;
    }


/* =========================================================
   PRODUCT INFO
========================================================= */

.product-info-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 11px;
}

.product-info-item {
    padding: 7px 5px;
    background: #f7f9fb;
    border: 1px solid #edf0f3;
    border-radius: 7px;
    text-align: center;
}

    .product-info-item span {
        display: block;
        margin-bottom: 1px;
        color: #929aa2;
        font-size: 8px;
        line-height: 1.6;
    }

    .product-info-item strong {
        display: block;
        color: #343b42;
        font-size: 10px;
        font-weight: 700;
        line-height: 1.6;
    }


/* =========================================================
   PRODUCT PRICE
========================================================= */

.product-price {
    margin-top: auto;
    padding: 10px 0 9px;
    border-top: 1px solid #edf0f3;
    text-align: right;
}

    .product-price > span {
        display: block;
        margin-bottom: 1px;
        color: #8b949d;
        font-size: 9px;
    }

    .product-price > strong {
        display: block;
        color: #1976d2;
        font-size: 17px;
        font-weight: 800;
        line-height: 1.7;
    }

    .product-price small {
        color: #7b858e;
        font-size: 8px;
        font-weight: 400;
    }


/* =========================================================
   PRODUCT BUTTON
========================================================= */

.product-button {
    width: 100%;
    min-height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: #1976d2;
    border-radius: 7px;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    transition: background .2s ease;
}

    .product-button:hover {
        background: #1565b3;
        color: #ffffff !important;
    }


/* =========================================================
   EMPTY PRODUCTS
========================================================= */

.products-empty {
    width: 100%;
    padding: 55px 20px;
    margin: 20px 0;
    background: #ffffff;
    border: 1px solid #e2e7eb;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(31, 45, 61, .03);
    text-align: center;
}

.products-empty-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    background: #edf5ff;
    border: 1px solid #d7e6f5;
    border-radius: 50%;
    color: #1976d2;
    font-size: 12px;
    font-weight: 700;
}

.products-empty h2 {
    margin: 0 0 7px;
    color: #252b31;
    font-size: 19px;
    font-weight: 700;
    text-align: center;
}

.products-empty p {
    margin: 0 0 18px;
    color: #888f96;
    font-size: 12px;
    text-align: center;
}


/* =========================================================
   PRODUCTS B2B
========================================================= */

.products-b2b-section {
    width: 100%;
    padding: 0 0 20px;
    background: #f7f9fb;
}

.products-b2b-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient( 135deg, #263238 0%, #37474f 100% );
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(31, 45, 61, .10);
    direction: rtl;
}

.products-b2b-content {
    flex: 1;
    min-width: 0;
}

.products-b2b-label {
    display: block;
    margin-bottom: 4px;
    color: #9fc9ef;
    font-size: 10px;
    font-weight: 500;
}

.products-b2b-box h2 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.7;
    text-align: right;
}

.products-b2b-box p {
    margin: 0;
    color: #d3d9dd;
    font-size: 12px;
    line-height: 1.9;
    text-align: right;
}

.products-b2b-button {
    flex: 0 0 auto;
    min-width: 130px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #ffffff;
    border-radius: 7px;
    color: #263238 !important;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

    .products-b2b-button:hover {
        background: #f1f3f4;
        color: #222222 !important;
    }


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 991px) {

    .main-header .navbar-collapse {
        width: 100%;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid #eeeeee;
    }

    .main-header .navbar-nav {
        display: block;
        width: 100%;
    }

        .main-header .navbar-nav .nav-item {
            width: 100%;
        }

        .main-header .navbar-nav .nav-link {
            display: block;
            width: 100%;
            padding: 9px 5px !important;
            border-bottom: 1px solid #f3f3f3;
        }

    .header-actions {
        width: 100%;
        margin-right: 0;
        margin-top: 10px;
        padding-bottom: 8px;
    }

        .header-actions > a {
            flex: 1;
            text-align: center;
        }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .products-page-title h1 {
        font-size: 28px;
    }

    .product-image-container {
        height: 210px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        font-size: 14px;
    }


    /* HEADER */

    .main-header .navbar {
        min-height: 64px;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .brand {
        max-width: calc(100% - 60px);
        margin-left: 8px;
    }

    .brand-main {
        font-size: 18px;
    }

    .brand-sub {
        font-size: 9px;
    }


    /* HERO */

    .hero-section {
        padding: 40px 0 45px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

        .hero-content h1 {
            font-size: 27px;
            line-height: 1.8;
            text-align: center;
        }

        .hero-content p {
            font-size: 14px;
            line-height: 2;
            text-align: center;
        }

    .hero-condition {
        font-size: 13px !important;
        text-align: center !important;
    }


    /* INVOICE */

    .official-invoice-badge {
        margin-top: 16px;
        padding: 13px;
    }

    .official-invoice-header {
        gap: 8px;
        margin-bottom: 10px;
    }

    .official-invoice-check {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        font-size: 15px;
    }

    .official-invoice-title {
        font-size: 12px;
    }

    .official-invoice-item {
        gap: 8px;
        margin-top: 7px;
    }

    .official-invoice-check.small {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
        font-size: 9px;
    }

    .official-invoice-text {
        font-size: 10px;
    }


    /* BUTTONS */

    .hero-buttons {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 9px;
        margin-top: 22px;
    }

        .hero-buttons .btn {
            width: 100%;
            min-width: 0;
        }


    /* HERO CARD */

    .hero-card {
        padding: 20px;
        border-radius: 14px;
    }

        .hero-card h3 {
            font-size: 18px;
        }


    /* B2B */

    .b2b-info-grid {
        display: block;
        min-height: 0;
    }

    .b2b-info-box {
        width: 100%;
        min-height: 61px;
        padding: 9px 5px;
        border-left: 0;
        border-bottom: 1px solid #eeeeee;
    }

        .b2b-info-box:last-child {
            border-bottom: none;
        }

    .b2b-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        margin-left: 10px;
        font-size: 14px;
    }

    .b2b-title {
        font-size: 12px;
    }

    .b2b-value {
        font-size: 10px;
    }


    /* CATEGORIES */

    .categories-section {
        padding: 50px 0;
    }

    .advantages-section {
        padding: 50px 0;
    }

    .section-heading {
        margin-bottom: 27px;
    }

        .section-heading h2 {
            font-size: 23px;
        }

        .section-heading p {
            font-size: 12px;
        }


    /* BUSINESS */

    .business-section {
        padding: 42px 0;
        text-align: center;
    }

        .business-section h2 {
            font-size: 23px;
            text-align: center;
        }

        .business-section p {
            font-size: 13px;
            text-align: center;
        }


    /* CTA */

    .cta-section {
        padding: 45px 0;
    }

    .cta-box {
        padding: 32px 16px;
    }

        .cta-box h2 {
            font-size: 22px;
        }


    /* PRODUCTS HEADER */

    .products-page-header {
        padding: 22px 0 25px;
    }

    .products-breadcrumb {
        margin-bottom: 12px;
    }

    .products-page-title {
        display: block;
    }

        .products-page-title h1 {
            font-size: 25px;
        }

        .products-page-title p {
            font-size: 12px;
        }

    .products-min-order {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-top: 13px;
        padding: 10px 13px;
    }


    /* PRODUCTS */

    .products-section {
        padding: 25px 0 45px;
    }

    .products-category-area {
        padding: 15px;
        margin-bottom: 22px;
        border-radius: 11px;
    }

    .products-category-title {
        display: block;
        margin-bottom: 11px;
    }

        .products-category-title h2 {
            margin-bottom: 3px;
            font-size: 16px;
        }

        .products-category-title span {
            font-size: 10px;
        }

    .category-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: thin;
    }

    .category-filter-item {
        min-width: 88px;
        min-height: 37px;
        padding: 7px 12px;
        font-size: 11px;
    }

    .products-result-header {
        margin-bottom: 14px;
        padding-bottom: 8px;
    }

        .products-result-header h2 {
            font-size: 18px;
        }

    .products-carton-note {
        padding: 5px 8px;
        font-size: 9px;
    }

    .product-image-container {
        height: 185px;
        padding: 13px;
    }

    .product-image {
        max-height: 155px;
    }

    .product-content {
        padding: 14px;
    }

    .product-name {
        min-height: auto;
        font-size: 14px;
    }

    .product-info-row {
        gap: 5px;
    }

    .product-info-item {
        padding: 7px 4px;
    }

    .product-price {
        padding-top: 9px;
    }

        .product-price > strong {
            font-size: 16px;
        }

    .product-button {
        min-height: 38px;
        font-size: 11px;
    }

    .products-empty {
        padding: 50px 15px;
    }


    /* PRODUCTS B2B */

    .products-b2b-box {
        flex-direction: column;
        align-items: stretch;
        padding: 22px 16px;
        gap: 15px;
    }

        .products-b2b-label,
        .products-b2b-box h2,
        .products-b2b-box p {
            text-align: center;
        }

        .products-b2b-box h2 {
            font-size: 18px;
        }

        .products-b2b-box p {
            font-size: 11px;
        }

    .products-b2b-button {
        width: 100%;
    }


    /* FOOTER */

    .main-footer {
        padding-top: 38px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .brand-main {
        font-size: 17px;
    }

    .brand-sub {
        font-size: 8px;
    }

    .hero-content h1 {
        font-size: 23px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .hero-card {
        padding: 17px;
    }

    .hero-item span,
    .hero-item strong {
        font-size: 11px;
    }

    .products-page-title h1 {
        font-size: 23px;
    }

    .products-category-area {
        padding: 14px;
    }

    .product-image-container {
        height: 170px;
    }

    .product-image {
        max-height: 140px;
    }

    .product-content {
        padding: 12px;
    }

    .product-name {
        font-size: 13px;
    }

    .product-price > strong {
        font-size: 15px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 320px) {

    .brand-main {
        font-size: 16px;
    }

    .brand-sub {
        font-size: 8px;
    }

    .hero-content h1 {
        font-size: 21px;
    }

    .hero-card {
        padding: 14px;
    }

    .hero-item span,
    .hero-item strong {
        font-size: 10px;
    }

    .products-page-title h1 {
        font-size: 22px;
    }

    .product-image-container {
        height: 160px;
    }

    .product-image {
        max-height: 130px;
    }
}

/* =====================================================
           PRODUCT DETAIL
===================================================== */
.pd-page {
    width: 100%;
    padding: 24px 0 45px;
    background: #f3f6f9;
}

.pd-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    color: #89939b;
    font-size: 11px;
}

    .pd-breadcrumb a {
        color: #1976d2;
        text-decoration: none;
    }

    .pd-breadcrumb span {
        color: #b0b7bd;
    }


/* =====================================================
           MAIN CARD
        ===================================================== */

.pd-main-card {
    width: 100%;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #dce3e8;
    border-radius: 16px;
    box-shadow: 0 3px 8px rgba(0,0,0,.03), 0 12px 30px rgba(30,50,70,.07);
}


/* =====================================================
           IMAGE
        ===================================================== */

.pd-image-box {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    //background: #f8fafc;
    border: 1px solid #e2e8ed;
    border-radius: 13px;
    overflow: hidden;
}

.pd-image {
    display: block;
    max-width: 92%;
    max-height: 350px;
    width: auto;
    height: auto;
    object-fit: contain;
    //filter: drop-shadow(0 10px 16px rgba(0,0,0,.09));
    border-radius: 12px;
    overflow: hidden;
}


/* =====================================================
           INFO
        ===================================================== */

.pd-info {
    padding-right: 10px;
}

.pd-brand {
    display: inline-block;
    margin-bottom: 6px;
    padding: 4px 10px;
    background: #edf5ff;
    border: 1px solid #d9eafb;
    border-radius: 6px;
    color: #1976d2;
    font-size: 10px;
    font-weight: 600;
}

.pd-title {
    margin: 0 0 6px;
    color: #20262c;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.7;
    text-align: right;
}

.pd-code {
    margin-bottom: 13px;
    color: #929aa2;
    font-size: 10px;
    text-align: right;
}

    .pd-code strong {
        color: #56616a;
    }


/* =====================================================
           SHORT DESCRIPTION
        ===================================================== */

.pd-short-description {
    margin-bottom: 12px;
    padding: 10px 13px;
    background: #f8fafb;
    border-right: 3px solid #1976d2;
    border-radius: 8px;
    color: #68747d;
    font-size: 12px;
    line-height: 2;
    text-align: right;
}


/* =====================================================
           INFO BOXES
        ===================================================== */

.pd-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.pd-info-box {
    padding: 10px;
    background: #ffffff;
    border: 1px solid #dde4e9;
    border-radius: 9px;
    box-shadow: 0 3px 10px rgba(0,0,0,.035);
    text-align: center;
}

    .pd-info-box span {
        display: block;
        margin-bottom: 2px;
        color: #929ba3;
        /*font-size: 9px;*/
    }

    .pd-info-box strong {
        display: block;
        color: #303941;
        font-size: 13px;
        font-weight: 700;
    }


/* =====================================================
           PRICE
        ===================================================== */

.pd-price-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: #edf6ff;
    border: 1px solid #cfe3f5;
    border-radius: 9px;
    box-shadow: 0 3px 12px rgba(25,118,210,.05);
}

.pd-price-label {
    color: #71808a;
    font-size: 10px;
}

.pd-price-value {
    color: #1769aa;
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
}

.pd-price-unit {
    color: #71808a;
    font-size: 9px;
    font-weight: 400;
}


/* =====================================================
           DISCOUNT
        ===================================================== */

.pd-discount-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding: 10px 13px;
    background: #effaf3;
    border: 1px solid #cde8d6;
    border-radius: 9px;
}

.pd-discount-left {
    display: flex;
    align-items: center;
    gap: 9px;
}

.pd-discount-label {
    color: #5f7467;
    font-size: 10px;
}

.pd-discount-value {
    padding: 3px 8px;
    background: #198754;
    border-radius: 5px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}

.pd-discount-text {
    color: #7b8980;
    font-size: 9px;
}


/* =====================================================
           QUANTITY
        ===================================================== */

.pd-quantity-box {
    width: 100%;
    margin-top: 11px;
    padding: 11px 13px;
    background: #ffffff;
    border: 1px solid #dde4e9;
    border-radius: 9px;
    box-shadow: 0 3px 10px rgba(0,0,0,.03);
}

.pd-quantity-label {
    display: block;
    margin-bottom: 6px;
    color: #333b42;
    font-size: 11px;
    font-weight: 700;
    text-align: right;
}

.pd-quantity-control {
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    border: 1px solid #d5dce2;
    border-radius: 7px;
    overflow: hidden;
    background: #ffffff;
}

.pd-quantity-button {
    width: 43px;
    height: 42px;
    flex: 0 0 43px;
    padding: 0;
    border: 0;
    background: #f2f5f7;
    color: #1769aa;
    font-family: Arial, sans-serif;
    font-size: 20px;
    cursor: pointer;
}

    .pd-quantity-button:hover {
        background: #e5eef5;
    }

.pd-quantity-input {
    width: 100%;
    height: 42px;
    padding: 0;
    border: 0;
    outline: none;
    background: #ffffff;
    color: #252b30;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}


/* =====================================================
           TOTAL
        ===================================================== */

.pd-total-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 12px 14px;
    background: #f8f9fa;
    border: 1px solid #dfe4e8;
    border-radius: 9px;
}

.pd-total-label {
    color: #68737b;
    font-size: 11px;
}

.pd-total-value {
    color: #20272d;
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
}

.pd-total-unit {
    color: #777777;
    font-size: 8px;
}


/* =====================================================
           ADD CART
        ===================================================== */

.pd-cart-button {
    width: 100%;
    height: 46px;
    margin-top: 11px;
    border: none;
    background: #1976d2;
    border-radius: 8px;
    color: #ffffff;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(25,118,210,.20);
}

    .pd-cart-button:hover {
        background: #1565b3;
    }


/* =====================================================
           MESSAGE
        ===================================================== */

.pd-message {
    display: block;
    margin-top: 8px;
    padding: 7px;
    border-radius: 7px;
    font-size: 10px;
    text-align: center;
}

    .pd-message.success {
        background: #effaf3;
        border: 1px solid #cfe8d7;
        color: #198754;
    }

    .pd-message.error {
        background: #fff4f4;
        border: 1px solid #efd0d0;
        color: #c0392b;
    }


/* =====================================================
           DESCRIPTION
        ===================================================== */

.pd-description {
    width: 100%;
    margin-top: 16px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #dfe5ea;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(31,45,61,.04);
}

.pd-description-title {
    margin:20px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9edf0;
    color: #252b31;
    font-size: 17px;
    font-weight: 700;
    text-align: right;
}

.pd-description-content {
    color: #69747c;
    font-size: 12px;
    line-height: 2;
    text-align: right;
    padding: 30px;
}


/* =====================================================
           B2B
        ===================================================== */

.pd-b2b {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 12px 15px;
    background: #effaf3;
    border: 1px solid #cfe8d7;
    border-radius: 10px;
}

.pd-b2b-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #198754;
    border-radius: 50%;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
}

.pd-b2b strong {
    color: #176b3a;
    font-size: 12px;
}

.pd-b2b p {
    margin: 2px 0 0;
    color: #60746a;
    font-size: 10px;
    line-height: 1.8;
}


/* =====================================================
           MOBILE
        ===================================================== */

@media (max-width: 767px) {

    .pd-page {
        padding: 18px 0 35px;
    }

    .pd-main-card {
        padding: 12px;
        border-radius: 12px;
    }

    .pd-image-box {
        height: 270px;
        padding: 15px;
    }

    .pd-image {
        max-height: 235px;
        padding-top: 20px;
        border-radius: 12px;
        overflow: hidden;
    }

    .pd-info {
        padding: 17px 2px 0;
    }

    .pd-title {
        font-size: 22px;
    }

    .pd-price-value {
        font-size: 19px;
    }

    .pd-discount-box {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .pd-quantity-control {
        width: 100%;
    }

    .pd-quantity-input {
        flex: 1;
        width: auto;
    }

    .pd-description {
        padding: 16px;
    }

    .pd-b2b {
        align-items: flex-start;
    }
}

css
/* =========================================================
   CART PAGE
========================================================= */
.cart-page {
    width: 100%;
    min-height: 600px;
    padding: 28px 0 55px;
    background: #f7f9fb;
    direction: rtl;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.cart-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #8a939b;
    font-size: 11px;
    line-height: 1.8;
}

    .cart-breadcrumb a {
        color: #1976d2;
        font-weight: 500;
    }

    .cart-breadcrumb span {
        color: #a0a8af;
    }


/* =========================================================
   PAGE HEADER
========================================================= */

.cart-page-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid #e0e6eb;
    border-radius: 13px;
    box-shadow: 0 4px 15px rgba(31,45,61,.035);
}

.cart-page-label {
    display: block;
    margin-bottom: 2px;
    color: #1976d2;
    font-size: 10px;
    font-weight: 600;
}

.cart-page-header h1 {
    margin: 0 0 3px;
    color: #20262c;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.6;
}

.cart-page-header p {
    margin: 0;
    color: #7b858e;
    font-size: 12px;
}


.cart-count-box {
    min-width: 115px;
    padding: 10px 15px;
    background: #f3f7fb;
    border: 1px solid #dce7f0;
    border-radius: 10px;
    text-align: center;
}

    .cart-count-box span {
        display: block;
        margin-bottom: 2px;
        color: #858f98;
        font-size: 10px;
    }

    .cart-count-box strong {
        display: block;
        color: #1976d2;
        font-size: 19px;
        font-weight: 800;
    }


/* =========================================================
   MAIN LAYOUT
========================================================= */

.cart-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 20px;
    align-items: start;
}


/* =========================================================
   CART ITEMS CARD
========================================================= */

.cart-items-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #dfe5ea;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(31,45,61,.045);
    overflow: hidden;
}

.cart-card-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 20px;
    border-bottom: 1px solid #e8edf1;
}

    .cart-card-header span {
        display: block;
        margin-bottom: 1px;
        color: #929aa2;
        font-size: 9px;
    }

    .cart-card-header h2 {
        margin: 0;
        color: #252b31;
        font-size: 17px;
        font-weight: 800;
    }

.cart-clear-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 5px 11px;
    background: #fff5f5;
    border: 1px solid #f0d6d6;
    border-radius: 7px;
    color: #c94b4b !important;
    font-size: 10px;
    font-weight: 600;
    transition: all .2s ease;
}

    .cart-clear-button:hover {
        background: #c94b4b;
        border-color: #c94b4b;
        color: #ffffff !important;
    }


/* =========================================================
   CART ITEM
========================================================= */

.cart-item {
    width: 100%;
    min-height: 145px;
    display: grid;
    grid-template-columns: 105px minmax(180px,1fr) 120px 145px 35px;
    gap: 15px;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #edf0f3;
    direction: rtl;
}

    .cart-item:last-child {
        border-bottom: none;
    }


/* =========================================================
   ITEM IMAGE
========================================================= */

.cart-item-image {
    width: 105px;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8ed;
    border-radius: 10px;
    overflow: hidden;
}

    .cart-item-image a {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cart-item-image img {
        display: block;
        max-width: 100%;
        max-height: 88px;
        width: auto;
        height: auto;
        object-fit: contain;
    }


/* =========================================================
   ITEM INFO
========================================================= */

.cart-item-info {
    min-width: 0;
}

.cart-item-brand {
    display: block;
    margin-bottom: 3px;
    color: #1976d2;
    font-size: 9px;
    font-weight: 600;
}

.cart-item-name {
    margin: 0 0 5px;
    color: #252b31;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
}

    .cart-item-name a {
        color: #252b31;
    }

        .cart-item-name a:hover {
            color: #1976d2;
        }

.cart-item-code {
    margin-bottom: 7px;
    color: #9aa2a9;
    font-size: 9px;
}

    .cart-item-code strong {
        color: #69737b;
        font-weight: 600;
    }

.cart-item-unit-price {
    color: #858e96;
    font-size: 10px;
}

    .cart-item-unit-price strong {
        color: #4c565e;
        font-weight: 700;
    }


/* =========================================================
   QUANTITY
========================================================= */

.cart-item-quantity {
    text-align: center;
}

    .cart-item-quantity > span {
        display: block;
        margin-bottom: 6px;
        color: #8b949d;
        font-size: 9px;
    }

.cart-quantity-control {
    width: 110px;
    height: 36px;
    display: flex;
    align-items: center;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #d7dfe5;
    border-radius: 7px;
    overflow: hidden;
}

.cart-quantity-button {
    width: 32px;
    height: 34px;
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #f3f6f8;
    color: #1976d2 !important;
    font-family: Arial, sans-serif !important;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
}

    .cart-quantity-button:hover {
        background: #e7eff6;
    }

.cart-quantity-value {
    flex: 1;
    color: #303840;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}


/* =========================================================
   ITEM TOTAL
========================================================= */

.cart-item-total {
    text-align: right;
}

    .cart-item-total span {
        display: block;
        margin-bottom: 2px;
        color: #929aa2;
        font-size: 9px;
    }

    .cart-item-total strong {
        display: block;
        color: #1976d2;
        font-size: 16px;
        font-weight: 800;
        white-space: nowrap;
    }

    .cart-item-total small {
        display: block;
        margin-top: 1px;
        color: #8b949d;
        font-size: 8px;
    }


/* =========================================================
   REMOVE
========================================================= */

.cart-item-remove {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-remove-button {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 1px solid #e1e5e8;
    border-radius: 50%;
    color: #9aa2a9 !important;
    font-family: Arial, sans-serif !important;
    font-size: 18px;
    line-height: 1;
    transition: all .2s ease;
}

    .cart-remove-button:hover {
        background: #fff1f1;
        border-color: #e8bcbc;
        color: #c94b4b !important;
    }


/* =========================================================
   SUMMARY
========================================================= */

.cart-summary-card {
    width: 100%;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #dfe5ea;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(31,45,61,.055);
    position: sticky;
    top: 20px;
}

.cart-summary-header {
    padding-bottom: 13px;
    border-bottom: 1px solid #edf0f3;
}

    .cart-summary-header span {
        display: block;
        margin-bottom: 2px;
        color: #1976d2;
        font-size: 9px;
        font-weight: 600;
    }

    .cart-summary-header h2 {
        margin: 0;
        color: #252b31;
        font-size: 18px;
        font-weight: 800;
    }


/* =========================================================
   SUMMARY ROWS
========================================================= */

.cart-summary-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
}

    .cart-summary-row span {
        color: #7e878f;
        font-size: 11px;
    }

    .cart-summary-row strong {
        color: #394149;
        font-size: 11px;
        font-weight: 700;
        white-space: nowrap;
    }

.cart-discount-row strong {
    color: #198754;
}

.cart-summary-divider {
    width: 100%;
    height: 1px;
    margin: 3px 0 5px;
    background: #e8edf1;
}


/* =========================================================
   GRAND TOTAL
========================================================= */

.cart-summary-total {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0 15px;
}

    .cart-summary-total span {
        color: #4e5962;
        font-size: 11px;
        font-weight: 600;
    }

    .cart-summary-total strong {
        color: #1976d2;
        font-size: 20px;
        font-weight: 800;
        white-space: nowrap;
    }

    .cart-summary-total small {
        color: #77818a;
        font-size: 8px;
        font-weight: 400;
    }


/* =========================================================
   MINIMUM ORDER
========================================================= */

.cart-min-order {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 13px;
    padding: 11px;
    background: #effaf3;
    border: 1px solid #d1e9d9;
    border-radius: 8px;
}

.cart-min-order-icon {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #198754;
    border-radius: 50%;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
}

.cart-min-order strong {
    display: block;
    margin-bottom: 2px;
    color: #176b3a;
    font-size: 10px;
}

.cart-min-order p {
    margin: 0;
    color: #64766b;
    font-size: 9px;
    line-height: 1.8;
}


/* =========================================================
   CHECKOUT BUTTON
========================================================= */

.cart-checkout-button {
    width: 100%;
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    background: #1976d2;
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 5px 15px rgba(25,118,210,.18);
    transition: background .2s ease, transform .2s ease;
}

    .cart-checkout-button:hover {
        background: #1565b3;
        color: #ffffff !important;
        transform: translateY(-1px);
    }


/* =========================================================
   CONTINUE SHOPPING
========================================================= */

.cart-continue-button {
    width: 100%;
    display: block;
    margin-top: 9px;
    padding: 7px;
    color: #6f7981 !important;
    font-size: 10px;
    font-weight: 500;
    text-align: center;
}

    .cart-continue-button:hover {
        color: #1976d2 !important;
    }


/* =========================================================
   EMPTY CART
========================================================= */

.cart-empty {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
}

.cart-empty-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    background: #edf5ff;
    border: 1px solid #d8e7f5;
    border-radius: 50%;
    font-size: 25px;
}

.cart-empty h2 {
    margin: 0 0 7px;
    color: #252b31;
    font-size: 19px;
    font-weight: 700;
}

.cart-empty p {
    margin: 0 0 18px;
    color: #8a939b;
    font-size: 12px;
}

.cart-empty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 135px;
    min-height: 39px;
    padding: 8px 15px;
    background: #1976d2;
    border-radius: 7px;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 600;
}

    .cart-empty-button:hover {
        background: #1565b3;
    }


/* =========================================================
   B2B BOX
========================================================= */

.cart-b2b-box {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 17px 20px;
    background: linear-gradient(135deg, #263238 0%, #37474f 100%);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(31,45,61,.09);
    direction: rtl;
}

.cart-b2b-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #198754;
    border-radius: 50%;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
}

.cart-b2b-content {
    flex: 1;
    min-width: 0;
}

    .cart-b2b-content strong {
        display: block;
        margin-bottom: 2px;
        color: #ffffff;
        font-size: 12px;
        font-weight: 700;
    }

    .cart-b2b-content p {
        margin: 0;
        color: #cbd2d6;
        font-size: 10px;
        line-height: 1.9;
    }


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary-card {
        position: static;
    }

    .cart-item {
        grid-template-columns: 90px minmax(150px,1fr) 110px 120px 30px;
        gap: 10px;
        padding: 15px;
    }

    .cart-item-image {
        width: 90px;
        height: 90px;
    }

        .cart-item-image img {
            max-height: 75px;
        }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .cart-page {
        padding: 18px 0 40px;
    }

    .cart-page-header {
        display: block;
        padding: 16px;
        margin-bottom: 15px;
    }

        .cart-page-header h1 {
            font-size: 24px;
        }

        .cart-page-header p {
            font-size: 11px;
        }

    .cart-count-box {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 12px;
        padding: 8px 12px;
    }

        .cart-count-box span {
            margin: 0;
        }

        .cart-count-box strong {
            font-size: 16px;
        }


    .cart-card-header {
        padding: 14px;
    }

        .cart-card-header h2 {
            font-size: 15px;
        }


    /* ITEM */

    .cart-item {
        display: grid;
        grid-template-columns: 78px minmax(0,1fr);
        gap: 12px;
        padding: 14px;
        position: relative;
    }

    .cart-item-image {
        width: 78px;
        height: 78px;
        grid-column: 1;
        grid-row: 1 / span 3;
    }

        .cart-item-image img {
            max-height: 65px;
        }

    .cart-item-info {
        grid-column: 2;
        grid-row: 1;
        padding-left: 25px;
    }

    .cart-item-brand {
        font-size: 8px;
    }

    .cart-item-name {
        font-size: 13px;
        line-height: 1.7;
    }

    .cart-item-code {
        margin-bottom: 3px;
        font-size: 8px;
    }

    .cart-item-unit-price {
        font-size: 9px;
    }


    .cart-item-quantity {
        grid-column: 2;
        grid-row: 2;
        text-align: right;
        margin-top: 8px;
    }

        .cart-item-quantity > span {
            display: inline-block;
            margin: 0 0 5px 7px;
            font-size: 8px;
        }

    .cart-quantity-control {
        display: inline-flex;
        width: 105px;
        height: 34px;
        vertical-align: middle;
    }

    .cart-quantity-button {
        height: 32px;
    }


    .cart-item-total {
        grid-column: 1 / span 2;
        grid-row: 3;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 8px;
        padding-top: 9px;
        border-top: 1px solid #edf0f3;
    }

        .cart-item-total span {
            margin: 0;
            font-size: 9px;
        }

        .cart-item-total strong {
            font-size: 15px;
        }

        .cart-item-total small {
            margin: 0;
        }


    .cart-item-remove {
        position: absolute;
        top: 13px;
        left: 13px;
    }

    .cart-remove-button {
        width: 25px;
        height: 25px;
        font-size: 16px;
    }


    /* SUMMARY */

    .cart-summary-card {
        padding: 16px;
        border-radius: 12px;
    }

    .cart-summary-total strong {
        font-size: 18px;
    }


    /* B2B */

    .cart-b2b-box {
        align-items: flex-start;
        padding: 14px;
    }

    .cart-b2b-content strong {
        font-size: 11px;
    }

    .cart-b2b-content p {
        font-size: 9px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .cart-page-header h1 {
        font-size: 22px;
    }

    .cart-page-header p {
        font-size: 10px;
    }

    .cart-item {
        grid-template-columns: 68px minmax(0,1fr);
        gap: 10px;
        padding: 12px;
    }

    .cart-item-image {
        width: 68px;
        height: 68px;
    }

        .cart-item-image img {
            max-height: 57px;
        }

    .cart-item-name {
        font-size: 12px;
    }

    .cart-item-info {
        padding-left: 23px;
    }

    .cart-item-total strong {
        font-size: 14px;
    }

    .cart-summary-total strong {
        font-size: 17px;
    }
}
/* =========================================================
   CART PRICE
========================================================= */

.cart-price-display {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 3px;
}

.cart-old-price {
    color: #9aa2a9 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1px;
    opacity: .9;
    white-space: nowrap;
}

.cart-current-price {
    color: #1976d2 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    white-space: nowrap;
}

.cart-price-unit {
    color: #7d878f;
    font-size: 8px;
    white-space: nowrap;
}
/* =========================================================
   CHECKOUT PAGE
========================================================= */

.checkout-page {
    width: 100%;
    min-height: 600px;
    padding: 28px 0 55px;
    background: #f7f9fb;
    direction: rtl;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.checkout-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #8a939b;
    font-size: 11px;
    line-height: 1.8;
}

    .checkout-breadcrumb a {
        color: #1976d2;
        font-weight: 500;
    }


/* =========================================================
   HEADER
========================================================= */

.checkout-page-header {
    width: 100%;
    margin-bottom: 20px;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid #e0e6eb;
    border-radius: 13px;
    box-shadow: 0 4px 15px rgba(31,45,61,.035);
}

.checkout-page-label {
    display: block;
    margin-bottom: 2px;
    color: #1976d2;
    font-size: 10px;
    font-weight: 600;
}

.checkout-page-header h1 {
    margin: 0 0 4px;
    color: #20262c;
    font-size: 27px;
    font-weight: 800;
}

.checkout-page-header p {
    margin: 0;
    color: #7b858e;
    font-size: 12px;
}


/* =========================================================
   LAYOUT
========================================================= */

.checkout-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 20px;
    align-items: start;
}


/* =========================================================
   FORM CARD
========================================================= */

.checkout-form-card {
    width: 100%;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #dfe5ea;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(31,45,61,.045);
}

.checkout-card-header {
    padding-bottom: 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid #edf0f3;
}

    .checkout-card-header span {
        display: block;
        margin-bottom: 2px;
        color: #1976d2;
        font-size: 9px;
        font-weight: 600;
    }

    .checkout-card-header h2 {
        margin: 0;
        color: #252b31;
        font-size: 18px;
        font-weight: 800;
    }


/* =========================================================
   FIELDS
========================================================= */

.checkout-field {
    width: 100%;
    margin-bottom: 16px;
}

    .checkout-field label {
        margin-bottom: 6px;
        color: #343b42;
        font-size: 12px;
        font-weight: 700;
    }

.checkout-input {
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #d8e0e5;
    border-radius: 8px !important;
    color: #303840;
    font-size: 12px !important;
    box-shadow: none !important;
}

    .checkout-input:focus {
        border-color: #8bbce7;
        box-shadow: 0 0 0 2px rgba(25,118,210,.06) !important;
    }

.checkout-textarea {
    min-height: 100px;
    resize: vertical;
}


/* =========================================================
   BUYER TYPE
========================================================= */

.checkout-buyer-types {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.checkout-radio {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    padding: 8px 13px;
    background: #f7f9fb;
    border: 1px solid #dfe5ea;
    border-radius: 8px;
    color: #505a62;
    font-size: 11px;
}

    .checkout-radio input {
        margin-left: 6px;
    }


/* =========================================================
   VALIDATION
========================================================= */

.checkout-validation {
    display: block;
    margin-top: 5px;
    color: #c94b4b;
    font-size: 10px;
}


/* =========================================================
   OFFICIAL INVOICE
========================================================= */

.checkout-invoice-box {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 8px;
    padding: 15px;
    background: #effaf3;
    border: 1px solid #cfe7d7;
    border-radius: 10px;
}

.checkout-invoice-check {
    flex: 0 0 auto;
    padding-top: 2px;
}

.checkout-invoice-checkbox {
    margin: 0 !important;
}

.checkout-invoice-content {
    flex: 1;
    min-width: 0;
}

.checkout-invoice-title {
    display: block;
    margin: 0 0 3px;
    color: #176b3a;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.checkout-invoice-content p {
    margin: 0;
    color: #60746a;
    font-size: 10px;
    line-height: 1.9;
}

    .checkout-invoice-content p strong {
        color: #176b3a;
    }


/* =========================================================
   NOTE
========================================================= */

.checkout-note {
    margin-top: 10px;
    padding: 9px 12px;
    background: #f7f9fb;
    border-right: 3px solid #1976d2;
    border-radius: 6px;
    color: #75808a;
    font-size: 10px;
    line-height: 1.9;
}


/* =========================================================
   ACTIONS
========================================================= */

.checkout-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.checkout-submit-button {
    min-width: 180px;
    min-height: 43px;
    padding: 9px 18px;
    border: 0;
    background: #1976d2;
    border-radius: 8px;
    color: #ffffff;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(25,118,210,.18);
}

    .checkout-submit-button:hover {
        background: #1565b3;
    }

.checkout-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 9px 16px;
    color: #69737b !important;
    font-size: 11px;
}

    .checkout-back-button:hover {
        color: #1976d2 !important;
    }


/* =========================================================
   SUMMARY CARD
========================================================= */

.checkout-summary-card {
    width: 100%;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #dfe5ea;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(31,45,61,.055);
    position: sticky;
    top: 20px;
}

.checkout-summary-header {
    padding-bottom: 13px;
    border-bottom: 1px solid #edf0f3;
}

    .checkout-summary-header span {
        display: block;
        margin-bottom: 2px;
        color: #1976d2;
        font-size: 15px;
        font-weight: 600;
    }

    .checkout-summary-header h2 {
        margin: 0;
        color: #252b31;
        font-size: 18px;
        font-weight: 800;
    }


/* =========================================================
   SUMMARY ROWS
========================================================= */

.checkout-summary-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

    .checkout-summary-row span {
        color: #7e878f;
        font-size: 17px;
    }

    .checkout-summary-row strong {
        color: #394149;
        font-size: 11px;
        font-weight: 700;
        white-space: nowrap;
    }

.checkout-discount-row strong {
    color: #198754;
}

.checkout-vat-row strong {
    color: #1976d2;
}

.checkout-summary-divider {
    width: 100%;
    height: 1px;
    margin: 4px 0;
    background: #e8edf1;
}


/* =========================================================
   GRAND TOTAL
========================================================= */

.checkout-summary-total {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 16px;
}

    .checkout-summary-total span {
        color: #4e5962;
        font-size: 18px;
        font-weight: 700;
    }

    .checkout-summary-total strong {
        color: #1976d2;
        font-size: 20px;
        font-weight: 800;
        white-space: nowrap;
    }

    .checkout-summary-total small {
        color: #77818a;
        font-size: 8px;
        font-weight: 400;
    }


/* =========================================================
   VAT MESSAGE
========================================================= */

.checkout-vat-message {
    padding: 10px 11px;
    background: #f3f7fb;
    border: 1px solid #dfe8ef;
    border-radius: 7px;
    color: #687680;
    font-size: 11px;
    line-height: 1.9;
    text-align: right;
}


/* =========================================================
   MESSAGE
========================================================= */

.checkout-message {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.8;
}

    .checkout-message:empty {
        display: none;
    }

    .checkout-message.error {
        background: #fff4f4;
        border: 1px solid #efd2d2;
        color: #b23c3c;
    }

    .checkout-message.success {
        background: #effaf3;
        border: 1px solid #cfe8d7;
        color: #176b3a;
    }


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 991px) {

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary-card {
        position: static;
    }
}


@media (max-width: 767px) {

    .checkout-page {
        padding: 18px 0 40px;
    }

    .checkout-page-header {
        padding: 16px;
    }

        .checkout-page-header h1 {
            font-size: 23px;
        }

        .checkout-page-header p {
            font-size: 11px;
        }

    .checkout-form-card {
        padding: 16px;
        border-radius: 12px;
    }

    .checkout-card-header h2 {
        font-size: 16px;
    }

    .checkout-buyer-types {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .checkout-radio {
        justify-content: center;
        padding: 8px 5px;
    }

    .checkout-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-submit-button {
        width: 100%;
    }

    .checkout-back-button {
        width: 100%;
    }

    .checkout-summary-card {
        padding: 16px;
        border-radius: 12px;
    }
}


@media (max-width: 400px) {

    .checkout-buyer-types {
        grid-template-columns: 1fr;
    }

    .checkout-invoice-box {
        padding: 12px;
    }

    .checkout-invoice-content p {
        font-size: 9px;
    }

    .checkout-summary-total strong {
        font-size: 18px;
    }
}
/* =========================================================
   CHECKOUT BUYER TYPE
========================================================= */

.checkout-type-option {
    min-width: 110px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 8px 14px;
    background: #f7f9fb;
    border: 1px solid #dfe5ea;
    border-radius: 8px;
    color: #4e5962;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

    .checkout-type-option input {
        margin: 0;
    }

    .checkout-type-option:hover {
        background: #edf5ff;
        border-color: #bdd7f4;
        color: #1976d2;
    }


/* =========================================================
   COMPANY FIELDS
========================================================= */

.checkout-company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
}


/* =========================================================
   DYNAMIC SECTIONS
========================================================= */

.checkout-dynamic-section {
    width: 100%;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .checkout-buyer-types {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 7px;
    }

    .checkout-type-option {
        min-width: 0;
        width: 100%;
        padding: 8px 5px;
    }

    .checkout-company-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   ORDER SUCCESS
========================================================= */

.order-success-page {
    width: 100%;
    min-height: 620px;
    padding: 55px 0 70px;
    background: #f7f9fb;
    direction: rtl;
}

.order-success-card {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 38px 30px;
    background: #ffffff;
    border: 1px solid #dfe6eb;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(31,45,61,.07);
    text-align: center;
}

.order-success-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    background: #198754;
    border-radius: 50%;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.order-success-card h1 {
    margin: 0 0 10px;
    color: #20262c;
    font-size: 25px;
    font-weight: 800;
}

.order-success-intro {
    margin: 0 auto 25px;
    max-width: 520px;
    color: #737e87;
    font-size: 12px;
    line-height: 2;
}


/* =========================================================
   ORDER NUMBER
========================================================= */

.order-success-number-box {
    width: 100%;
    margin-bottom: 10px;
    padding: 13px 16px;
    background: #f5f8fa;
    border: 1px solid #e0e6eb;
    border-radius: 9px;
}

    .order-success-number-box span,
    .order-success-amount-box span {
        display: block;
        margin-bottom: 3px;
        color: #8a949c;
        font-size: 10px;
    }

    .order-success-number-box strong {
        display: block;
        color: #1976d2;
        font-family: Arial, Tahoma, sans-serif;
        font-size: 17px;
        font-weight: 800;
        direction: ltr;
    }


/* =========================================================
   AMOUNT
========================================================= */

.order-success-amount-box {
    width: 100%;
    margin-bottom: 18px;
    padding: 15px 16px;
    background: #edf6ff;
    border: 1px solid #cfe2f3;
    border-radius: 9px;
}

    .order-success-amount-box strong {
        display: block;
        color: #1769aa;
        font-size: 23px;
        font-weight: 800;
    }

    .order-success-amount-box small {
        color: #75828c;
        font-size: 9px;
        font-weight: 400;
    }


/* =========================================================
   STATUS
========================================================= */

.order-success-status {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 24px;
    padding: 13px 15px;
    background: #effaf3;
    border: 1px solid #cfe8d7;
    border-radius: 10px;
    text-align: right;
}

.order-success-status-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #198754;
    border-radius: 50%;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.order-success-status strong {
    display: block;
    margin-bottom: 2px;
    color: #176b3a;
    font-size: 11px;
    font-weight: 800;
}

.order-success-status p {
    margin: 0;
    color: #60746a;
    font-size: 10px;
    line-height: 1.9;
}


/* =========================================================
   ACTIONS
========================================================= */

.order-success-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.order-success-primary-button,
.order-success-secondary-button {
    min-width: 145px;
    min-height: 41px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.order-success-primary-button {
    background: #1976d2;
    color: #ffffff !important;
}

    .order-success-primary-button:hover {
        background: #1565b3;
        color: #ffffff !important;
    }

.order-success-secondary-button {
    background: #f5f7f9;
    border: 1px solid #dce3e8;
    color: #59646d !important;
}

    .order-success-secondary-button:hover {
        background: #edf1f4;
        color: #293139 !important;
    }


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .order-success-page {
        padding: 35px 0 45px;
    }

    .order-success-card {
        padding: 28px 17px;
        border-radius: 13px;
    }

        .order-success-card h1 {
            font-size: 21px;
        }

    .order-success-amount-box strong {
        font-size: 20px;
    }

    .order-success-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .order-success-primary-button,
    .order-success-secondary-button {
        width: 100%;
    }
}
/* =========================================================
   LOGIN PAGE
========================================================= */

.login-page {
    width: 100%;
    min-height: 620px;
    padding: 55px 0 70px;
    background: #f7f9fb;
    direction: rtl;
}

.login-card {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 35px 30px;
    background: #ffffff;
    border: 1px solid #dfe5ea;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(31, 45, 61, .07);
    text-align: center;
}

.login-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    background: #edf5ff;
    border: 1px solid #d8e8f7;
    border-radius: 50%;
    color: #1976d2;
    font-size: 25px;
    line-height: 1;
}

.login-label {
    display: block;
    margin-bottom: 4px;
    color: #1976d2;
    font-size: 10px;
    font-weight: 700;
}

.login-card h1 {
    margin: 0 0 8px;
    color: #20262c;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.7;
}

.login-description {
    margin: 0 0 23px;
    color: #7a848d;
    font-size: 11px;
    line-height: 1.9;
}


/* =========================================================
   LOGIN FIELD
========================================================= */

.login-field {
    width: 100%;
    margin-bottom: 15px;
    text-align: right;
}

    .login-field label {
        display: block;
        margin-bottom: 6px;
        color: #343b42;
        font-size: 11px;
        font-weight: 700;
        text-align: right;
    }

.login-input {
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    background: #ffffff;
    border: 1px solid #d7dfe5;
    border-radius: 8px !important;
    color: #303840;
    font-size: 13px !important;
    text-align: center !important;
    direction: ltr !important;
    box-shadow: none !important;
}

    .login-input:focus {
        border-color: #8abbe5;
        box-shadow: 0 0 0 3px rgba(25, 118, 210, .07) !important;
    }

.login-otp-input {
    letter-spacing: 5px;
    font-family: Arial, Tahoma, sans-serif !important;
    font-weight: 700;
}


/* =========================================================
   BUTTON
========================================================= */

.login-submit-button {
    width: 100%;
    min-height: 44px;
    padding: 9px 15px;
    border: 0;
    background: #1976d2;
    border-radius: 8px;
    color: #ffffff;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(25, 118, 210, .18);
    transition: background .2s ease, transform .15s ease;
}

    .login-submit-button:hover {
        background: #1565b3;
    }

    .login-submit-button:active {
        transform: translateY(1px);
    }


/* =========================================================
   OTP MESSAGE
========================================================= */

.login-otp-message {
    margin-bottom: 15px;
    padding: 11px 12px;
    background: #f3f7fb;
    border: 1px solid #dce7ef;
    border-radius: 8px;
    color: #687781;
    font-size: 10px;
    line-height: 1.9;
}

    .login-otp-message strong {
        color: #1976d2;
        font-family: Arial, Tahoma, sans-serif;
        direction: ltr;
    }


/* =========================================================
   CHANGE MOBILE
========================================================= */

.login-change-mobile-button {
    width: 100%;
    min-height: 40px;
    margin-top: 8px;
    padding: 8px 12px;
    border: 1px solid #dfe5ea;
    background: #f7f9fb;
    border-radius: 8px;
    color: #66717a;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
}

    .login-change-mobile-button:hover {
        background: #edf1f4;
        color: #313a41;
    }


/* =========================================================
   MESSAGE
========================================================= */

.login-message {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 10px;
    line-height: 1.9;
}

    .login-message:empty {
        display: none;
    }

    .login-message.success {
        background: #effaf3;
        border: 1px solid #cee7d6;
        color: #176b3a;
    }

    .login-message.error {
        background: #fff4f4;
        border: 1px solid #eed3d3;
        color: #b23e3e;
    }


/* =========================================================
   FOOTER TEXT
========================================================= */

.login-footer-text {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #edf0f3;
    color: #929ba2;
    font-size: 9px;
    line-height: 1.9;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .login-page {
        min-height: 560px;
        padding: 35px 15px 45px;
    }

    .login-card {
        max-width: 100%;
        padding: 28px 18px;
        border-radius: 13px;
    }

        .login-card h1 {
            font-size: 21px;
        }

    .login-description {
        font-size: 10px;
    }

    .login-input {
        min-height: 43px;
    }
}
/* =========================================================
   ACCOUNT PAGE
========================================================= */

.account-page {
    min-height: 620px;
    padding: 35px 0 60px;
    background: #f7f9fb;
    direction: rtl;
}

.account-page-header {
    margin-bottom: 20px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #e0e6eb;
    border-radius: 13px;
    box-shadow: 0 4px 15px rgba(31,45,61,.035);
}

.account-page-label {
    display: block;
    color: #1976d2;
    font-size: 10px;
    font-weight: 700;
}

.account-page-header h1 {
    margin: 3px 0 4px;
    color: #20262c;
    font-size: 26px;
    font-weight: 800;
}

.account-page-header p {
    margin: 0;
    color: #7b858e;
    font-size: 11px;
}

.account-layout {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 20px;
    align-items: start;
}

.account-profile-card,
.account-orders-card {
    padding: 20px;
    background: #fff;
    border: 1px solid #dfe5ea;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(31,45,61,.045);
}

.account-card-header {
    padding-bottom: 13px;
    margin-bottom: 15px;
    border-bottom: 1px solid #edf0f3;
}

    .account-card-header span {
        display: block;
        color: #1976d2;
        font-size: 9px;
        font-weight: 700;
    }

    .account-card-header h2 {
        margin: 3px 0 0;
        color: #252b31;
        font-size: 17px;
        font-weight: 800;
    }

.account-user-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px;
    margin-bottom: 14px;
    background: #f4f8fb;
    border: 1px solid #dfe8ee;
    border-radius: 9px;
}

.account-user-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1976d2;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
}

.account-user-box strong,
.account-user-box span,
.account-user-box b {
    display: block;
}

.account-user-box strong {
    color: #303940;
    font-size: 11px;
}

.account-user-box span {
    margin-top: 2px;
    color: #8a949c;
    font-size: 9px;
}

.account-user-box b {
    margin-top: 1px;
    color: #1976d2;
    font-family: Arial,Tahoma,sans-serif;
    font-size: 11px;
}

.account-info-row {
    display: flex;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid #f0f2f4;
}

    .account-info-row span {
        color: #858e96;
        font-size: 10px;
    }

    .account-info-row strong {
        color: #444d54;
        font-size: 10px;
    }

.account-logout-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    margin-top: 15px;
    background: #f7f7f8;
    border: 1px solid #dfe3e6;
    border-radius: 8px;
    color: #69737b !important;
    font-size: 10px;
}

    .account-logout-button:hover {
        background: #fff1f1;
        border-color: #eed1d1;
        color: #b43e3e !important;
    }

.account-orders-table {
    width: 100%;
}

.account-order-head,
.account-order-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr 1fr;
    gap: 10px;
    align-items: center;
}

.account-order-head {
    padding: 10px 12px;
    background: #f5f7f9;
    border-radius: 7px;
    color: #7e878f;
    font-size: 9px;
    font-weight: 700;
}

.account-order-row {
    padding: 13px 12px;
    border-bottom: 1px solid #edf0f2;
    color: #626d75;
    font-size: 10px;
}

    .account-order-row strong {
        color: #1976d2;
        font-family: Arial,Tahoma,sans-serif;
        font-size: 10px;
    }

.account-order-status {
    color: #198754;
    font-size: 9px;
}

.account-no-orders {
    padding: 35px 15px;
    text-align: center;
}

.account-no-orders-icon {
    margin-bottom: 10px;
    font-size: 30px;
}

.account-no-orders strong {
    display: block;
    color: #3a434a;
    font-size: 12px;
}

.account-no-orders p {
    margin: 5px 0 15px;
    color: #89929a;
    font-size: 10px;
}

.account-shop-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 15px;
    background: #1976d2;
    border-radius: 7px;
    color: #fff !important;
    font-size: 10px;
}

.account-quick-links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

    .account-quick-links a {
        color: #1976d2;
        font-size: 10px;
        font-weight: 600;
    }

@media (max-width: 991px) {
    .account-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .account-page {
        padding: 20px 0 40px;
    }

    .account-profile-card,
    .account-orders-card {
        padding: 16px;
    }

    .account-order-head,
    .account-order-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .account-order-head {
        display: none;
    }

    .account-order-row {
        padding: 12px;
        border: 1px solid #edf0f2;
        border-radius: 8px;
        margin-bottom: 8px;
    }
}
/* =========================================================
   RTL HEADER NAVIGATION
========================================================= */

.main-header .navbar {
    direction: rtl;
}

.main-header .navbar-collapse {
    direction: rtl;
}

.main-header .navbar-nav {
    direction: rtl;
    margin-right: 0 !important;
    margin-left: auto !important;
}

.main-header .nav-item {
    direction: rtl;
}

.main-header .nav-link {
    direction: rtl;
    text-align: right;
}


/* =========================================================
   PRODUCTS DROPDOWN
========================================================= */

.main-header .dropdown-menu {
    right: 0;
    left: auto;
    text-align: right;
    direction: rtl;
    min-width: 190px;
}

.main-header .dropdown-item {
    direction: rtl;
    text-align: right;
}


/* =========================================================
   MOBILE HEADER
========================================================= */

@media (max-width: 991.98px) {

    .main-header .navbar-collapse {
        direction: rtl;
    }

    .main-header .navbar-nav {
        direction: rtl;
        margin-right: 0 !important;
        margin-left: auto !important;
    }

    .main-header .nav-link {
        text-align: right;
    }

    .main-header .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        border: 0;
        box-shadow: none;
    }
}