﻿


/* ==============================================
   8. Pagination
   ============================================== */
.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

    .pagination .page-item {
        border-radius: 50%;
        overflow: hidden;
        transition: transform 0.2s, box-shadow 0.2s;
    }

        .pagination .page-item .page-link {
            color: #085A72;
            background: #fff;
            border: none;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            transition: all 0.25s ease;
            padding: 0;
        }

            .pagination .page-item .page-link:hover {
                background: #085A72;
                color: #fff;
                transform: translateY(-2px);
                box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            }

        .pagination .page-item.active .page-link {
            background: #085A72;
            color: #fff;
            font-weight: bold;
            box-shadow: 0 3px 10px rgba(0,0,0,0.12);
        }

        .pagination .page-item.disabled .page-link {
            background: #f1f1f1;
            color: #ccc;
            cursor: not-allowed;
            pointer-events: none;
        }

        .pagination .page-item:first-child .page-link, .pagination .page-item:last-child .page-link {
            border-radius: 6px;
            width: auto;
            min-width: 40px;
            height: 36px;
            padding: 0 8px;
        }

@media (max-width:576px) {
    .pagination .page-item .page-link {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .pagination .page-item:first-child .page-link, .pagination .page-item:last-child .page-link {
        height: 28px;
        min-width: 36px;
        padding: 0 6px;
    }
}

/* ==============================================
   9. کارت لاگین ریسپانسیو
   ============================================== */
.login-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    border-radius: 12px;
}

    .login-card .form-control {
        font-size: 0.95rem;
        padding: 0.5rem 0.75rem;
    }

    .login-card .btn {
        font-weight: 600;
    }

@media (max-width:576px) {
    .login-card {
        padding: 0;
    }
}

/* ==============================================
   10. سبد خرید
   ============================================== */
.cart-page {
    max-width: 100vw;
    direction: rtl;
}

    .cart-page .col-md-8 .card-body {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cart-page .col-md-8 .d-flex.align-items-center {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

@media (max-width:768px) {
    .cart-page table tbody tr {
        display: block;
        border: 1px solid #eaeaea;
        border-radius: 10px;
        padding: 10px;
        margin-bottom: 10px;
        background: #fff;
    }

    .cart-page table tbody td {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: none !important;
    }

    .cart-page table thead {
        display: none;
    }
}



/* ==============================================
   11. ارتباط با ما
   ============================================== */

.contact-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

    .contact-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    }

    .contact-card .card-body p {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

.map-container iframe {
    border-radius: 0 0 15px 15px;
}

.card-footer .btn {
    min-width: 100px;
    font-weight: 600;
}

@media (max-width:768px) {
    .map-container {
        height: 200px;
    }

    .card-footer {
        flex-direction: column;
        gap: 10px;
    }
}


/* ==============================================
  12.اسلایدر
   ============================================== */
.btn-slider-index {
    position: absolute;
    /*    top: 50%;*/
    z-index: 10;
    width: 35px;
    height: 300px;
    background-color: #86868600;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
}









