/* استایل های مربوط به فروشگاه - جدا از قالب اصلی */

.shop-search-form {
    display: flex;
    gap: 10px;
}

.shop-search-form .form-control {
    height: 50px;
    border-radius: 5px;
}

.shop-search-form .default-btn {
    white-space: nowrap;
}

.shop-category-form .form-control {
    height: 50px;
    border-radius: 5px;
}

.shop-filter-bar {
    row-gap: 15px;
}

.shop-result-count {
    margin-bottom: 25px;
    color: #666;
}

.shop-out-of-stock {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #c0392b;
    color: #fff;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 4px;
}

.products-item .products-image {
    position: relative;
}

.products-item .products-content span del {
    color: #999;
    font-size: 14px;
    margin-left: 6px;
}

.products-details-desc .price {
    margin-bottom: 15px;
    font-size: 20px;
}

.products-details-desc .price del {
    color: #999;
    font-size: 16px;
}

.products-details-desc .products-meta {
    margin: 15px 0 25px;
}

.products-details-desc .products-meta span {
    display: block;
    margin-bottom: 8px;
}

.products-details-desc .products-add-to-cart .input-counter input {
    width: 100px;
}

.cart-qty-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.cart-qty-form .form-control {
    width: 80px;
}

.cart-totals {
    max-width: 420px;
    margin-top: 40px;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 5px;
}

.cart-totals ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.cart-totals ul li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.cart-totals .default-btn {
    margin: 5px 5px 0 0;
}

.login-form,
.register-form {
    padding: 35px;
    border: 1px solid #eee;
    border-radius: 5px;
}

.login-form h3,
.register-form h3 {
    margin-bottom: 25px;
}

.billing-details,
.order-details {
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 30px;
}

.order-details .order-qty {
    color: #777;
}

.payment-result {
    max-width: 650px;
    margin: 0 auto;
}

.payment-result .default-btn {
    margin: 5px;
}

.shop-account-links a {
    margin: 0 8px;
    font-size: 14px;
}

.pagination-area {
    margin-top: 30px;
    text-align: center;
}

.pagination-area .page-numbers {
    display: inline-block;
    min-width: 38px;
    padding: 8px 10px;
    margin: 0 3px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.pagination-area .page-numbers.current {
    background: #221D48;
    color: #fff;
    border-color: #221D48;
}

/* ===================== منوی موبایل ===================== */
/* منوی سه نقطه حذف شد؛ اگر جایی باقی مانده بود دیده نشود */
.others-option-for-responsive {
    display: none !important;
}

/* --- سبد خرید کنار دکمه همبرگری --- */
.main-responsive-menu .mobile-cart-btn {
    display: none;
}

@media only screen and (max-width: 1199px) {
    .main-responsive-nav .main-responsive-menu {
        position: relative;
    }

    .main-responsive-menu .mobile-cart-btn {
        display: flex;
        align-items: center;
        position: absolute;
        /* مرکز دکمه همبرگری: ۱۵ پیکسل از بالای این کادر (ارتفاع همبرگر ۳۰ پیکسل) */
        top: 15px;
        left: 52px;
        transform: translateY(-50%);
        z-index: 999;
    }

    .main-responsive-menu .mobile-cart-btn .cart-btn,
    .main-responsive-menu .mobile-cart-btn .cart-btn a {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-responsive-menu .mobile-cart-btn .cart-btn a {
        position: relative;
        width: 30px;
        height: 30px;
        color: #221D48;
        line-height: 1;
    }

    .main-responsive-menu .mobile-cart-btn .cart-btn a i {
        display: block;
        font-size: 24px;
        line-height: 1;
    }

    /* شمارنده سبد خرید - سمت راست و بالای آیکون */
    .main-responsive-menu .mobile-cart-btn .cart-btn a span {
        position: absolute;
        top: -6px;
        right: -7px;
        left: auto;
        box-sizing: border-box;
        min-width: 17px;
        height: 17px;
        padding: 0 3px;
        background: #221D48;
        color: #fff;
        border: 2px solid #fff;
        border-radius: 20px;
        font-size: 10px;
        line-height: 13px;
        text-align: center;
        font-weight: 700;
    }

    /* --- آیتم های منوی سه نقطه، حالا به صورت گزینه داخل منوی همبرگری --- */
    /* سلکتور بلند است چون قالب با !important این ناحیه را مخفی می کند */
    .main-responsive-nav .main-responsive-menu.mean-container .mean-nav .navbar-nav .mobile-only-item {
        display: block;
    }

    .main-responsive-nav .main-responsive-menu.mean-container .mean-nav .navbar-nav .mobile-only-item .nav-link {
        font-weight: 600;
    }
}

/* این گزینه ها فقط مخصوص منوی موبایل هستند و در دسکتاپ دیده نمی شوند */
.navbar-nav .mobile-only-item {
    display: none;
}
