/* ==================== PROFILE COMPONENTS STYLESHEET ==================== */
/* فایل: public/assets/css/profile-components.css */
/* تاریخ: 1404/11/09 */

/* ==================== SIDEBAR COMPONENT ==================== */
.myaccount-tab-menu {
    background: #ffffff;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out;
    position: sticky;
    top: 20px;
    border: 1px solid #e2e8f0;
}

.myaccount-tab-menu a {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    color: #718096;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    cursor: pointer;
    margin: 2px 0;
    gap: 12px;
}

.myaccount-tab-menu a i {
    font-size: 20px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: #718096;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.myaccount-tab-menu a:hover {
    background: #f7fafc;
    color: #2d3748;
    transform: translateX(-2px);
}

.myaccount-tab-menu a:hover i {
    color: #dc3545;
    transform: scale(1.1);
}

.myaccount-tab-menu a.active {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.08), rgba(220, 53, 69, 0.04));
    color: #dc3545;
    font-weight: 600;
    box-shadow: inset 3px 0 0 #dc3545;
}

.myaccount-tab-menu a.active i {
    color: #dc3545;
}

/* دکمه صفحه‌ساز */
.myaccount-tab-menu a#redirectButton {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    margin: 8px 0 16px 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
    border: none;
}

.myaccount-tab-menu a#redirectButton:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8b 100%);
    transform: translateX(-2px) translateY(-1px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.35);
}

.myaccount-tab-menu a#redirectButton i {
    color: white;
}

.myaccount-tab-menu a#redirectButton:hover i {
    transform: rotate(180deg);
}

/* دکمه خروج */
.myaccount-tab-menu a[href*="logout"] {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    font-weight: 600;
    margin: 16px 0 8px 0;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25);
    position: relative;
}

.myaccount-tab-menu a[href*="logout"]::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 16px;
    right: 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.myaccount-tab-menu a[href*="logout"]:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71d2a 100%);
    transform: translateX(-2px) translateY(-1px);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.35);
}

.myaccount-tab-menu a[href*="logout"] i {
    color: white;
}

.myaccount-tab-menu a[href*="logout"]:hover i {
    transform: translateX(-2px);
}

/* Loading State */
.myaccount-tab-menu a.loading {
    pointer-events: none;
    opacity: 0.6;
    position: relative;
}

.myaccount-tab-menu a.loading::after {
    content: '';
    position: absolute;
    left: 16px;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: iconRotate 0.6s linear infinite;
}

.menu-badge {
    margin-right: auto;
    background: #dc3545;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.myaccount-tab-menu a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.myaccount-tab-menu a:active {
    transform: scale(0.98);
}

.myaccount-tab-menu a span {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.myaccount-tab-menu a:hover span {
    letter-spacing: 0.01em;
}


/* ==================== RESTITUTION PAGE STYLES ==================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-title {
    color: white;
    font-size: 36px;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 4px 16px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease-out;
}

.page-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    margin-top: 10px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.header-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.stat-item {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: white;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-top: 5px;
}

/* Filter Bar */
.filter-bar {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    animation: slideInRight 0.6s ease-out;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 24px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filter-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.filter-tab:hover::before {
    left: 100%;
}

.filter-tab:hover {
    border-color: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.filter-tab.active {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border-color: #dc3545;
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.3);
}

.filter-tab .badge {
    margin-right: 8px;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    background: rgba(255,255,255,0.2);
}

/* Restitution Card */
.restitution-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 25px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    animation: scaleIn 0.5s ease-out;
    animation-fill-mode: backwards;
    position: relative;
}

.restitution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #dc3545;
    transition: none;
}

.restitution-card:hover {
    border-color: #dc3545;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.15);
    transform: translateY(-4px);
}

.restitution-card:nth-child(1) { animation-delay: 0.1s; }
.restitution-card:nth-child(2) { animation-delay: 0.15s; }
.restitution-card:nth-child(3) { animation-delay: 0.2s; }
.restitution-card:nth-child(4) { animation-delay: 0.25s; }
.restitution-card:nth-child(5) { animation-delay: 0.3s; }

.card-inner {
    padding: 30px;
    position: relative;
    z-index: 1;
}

/* Status Badge */
.status-badge {
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.status-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.status-badge:hover::before {
    width: 300px;
    height: 300px;
}

.status-pending {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: white;
}

.status-approved {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.status-rejected {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.status-completed {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
}

/* Card Header */
.card-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.item-info {
    flex: 1;
}

.item-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fff5f5, #ffe0e0);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    font-size: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.restitution-card:hover .item-icon {
    transform: rotate(360deg) scale(1.1);
}

.item-meta {
    color: #999;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Type & Reason Badges */
.info-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.info-badge {
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.badge-exchange {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.badge-refund {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.badge-reason {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #666;
    border: 2px solid #e0e0e0;
}

/* Description Box */
.description-box {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 0;
    border: 2px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.description-box::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 120px;
    color: rgba(220, 53, 69, 0.05);
    font-family: Georgia, serif;
}

.description-text {
    color: #666;
    line-height: 1.8;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Action Section */
.action-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
    justify-content: space-between;
}

/* Amount Box */
.amount-box {
    background: linear-gradient(135deg, #fff5f5, #ffffff);
    border: 2px solid #ffcccb;
    border-radius: 16px;
    padding: 15px 20px;
    text-align: center;
    flex-shrink: 0;
}

.amount-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.amount-value {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #dc3545, #c82333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.gallery-item:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(220,53,69,0.9), rgba(200,35,51,0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 32px;
    animation: pulse 1.5s ease-in-out infinite;
}

.no-images {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 3px dashed #e0e0e0;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: #999;
}

.no-images i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Action Button */
.action-btn {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
    color: white;
    text-decoration: none;
}

.action-btn:active {
    transform: translateY(0);
}

/* Admin Notes */
.admin-note {
    background: linear-gradient(135deg, #e7f3ff, #ffffff);
    border-left: 5px solid #17a2b8;
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.admin-note-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #17a2b8;
    font-weight: 700;
}

.admin-note-icon {
    width: 36px;
    height: 36px;
    background: #17a2b8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rejected-note {
    background: linear-gradient(135deg, #ffe0e0, #ffffff);
    border-left: 5px solid #dc3545;
}

.rejected-note .admin-note-header {
    color: #dc3545;
}

.rejected-note .admin-note-icon {
    background: #dc3545;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 100px 20px;
    animation: fadeInUp 0.8s ease-out;
}

.empty-icon {
    font-size: 120px;
    color: #e0e0e0;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

.empty-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.empty-description {
    font-size: 16px;
    color: #999;
    margin-bottom: 30px;
}

.empty-action {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.3);
}

.empty-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.4);
    color: white;
    text-decoration: none;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    padding: 12px 20px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    color: #666;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-link:hover {
    border-color: #dc3545;
    color: #dc3545;
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-color: #dc3545;
    color: white;
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.3);
}


/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .myaccount-tab-menu {
        border-radius: 12px;
        position: relative;
        top: 0;
        margin-bottom: 16px;
    }

    .myaccount-tab-menu a {
        padding: 12px 14px;
        font-size: 13px;
    }

    .myaccount-tab-menu a i {
        font-size: 18px;
    }

    .page-title {
        font-size: 28px;
    }

    .header-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-item {
        width: 100%;
    }

    .filter-tabs {
        flex-direction: column;
    }

    .filter-tab {
        width: 100%;
        text-align: center;
    }

    .card-header-custom {
        flex-direction: column;
    }

    .item-title {
        font-size: 18px;
    }

    .amount-value {
        font-size: 20px;
    }

    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
}



/* ==================== CART PAGE STYLES ==================== */

/* Discount Code Wrapper - استایل جدید */
.discount-code-wrapper {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.discount-code-wrapper:hover {
    border-color: #dc3545;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.15);
    transform: translateY(-2px);
}

.discount-code-wrapper .title-wrap {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0;
    margin: 0;
}

.discount-code-wrapper .cart-bottom-title {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.discount-code-wrapper .cart-bottom-title::before {
    content: '\e609';
    font-family: 'simple-line-icons';
    font-size: 20px;
}

.discount-code-wrapper .discount-code {
    padding: 25px;
}

.discount-code-wrapper .discount-code p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.discount-code-wrapper .discount-code input {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    font-family: Vazir !important;
}

.discount-code-wrapper .discount-code input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.discount-code-wrapper .discount-code input::placeholder {
    color: #bbb;
}

.discount-code-wrapper .cart-btn-2 {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: Vazir !important;
}

.discount-code-wrapper .cart-btn-2:hover {
    background: linear-gradient(135deg, #c82333, #a71d2a);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
}

.discount-code-wrapper .cart-btn-2:active {
    transform: translateY(0);
}

/* Grand Total Wrapper - استایل جدید */
.grand-totall {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.grand-totall:hover {
    border-color: #28a745;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.15);
    transform: translateY(-2px);
}

.grand-totall .title-wrap {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 0;
    margin: 0;
}

.grand-totall .cart-bottom-title {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.grand-totall .cart-bottom-title::before {
    content: '\e62a';
    font-family: 'simple-line-icons';
    font-size: 20px;
}

.grand-totall h5 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #666;
    font-weight: 600;
}

.grand-totall h5 span {
    color: #333;
    font-weight: 700;
    font-size: 16px;
}

.grand-totall hr {
    margin: 0;
    border: 0;
    border-top: 1px dashed #e0e0e0;
}

.grand-totall .total-shipping {
    padding: 0;
}

.grand-totall .total-shipping h5 {
    border-bottom: none;
}

.grand-totall .grand-totall-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    margin: 0;
    background: linear-gradient(135deg, #fff5f5, #ffffff);
    border-top: 2px dashed #e0e0e0;
    font-size: 18px;
    color: #333;
    font-weight: 700;
}

.grand-totall .grand-totall-title span {
    background: linear-gradient(135deg, #dc3545, #c82333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 24px;
    font-weight: 800;
}

.grand-totall > a {
    display: block;
    width: calc(100% - 50px);
    margin: 20px 25px 25px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.grand-totall > a:hover {
    background: linear-gradient(135deg, #c82333, #a71d2a);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
    color: white;
    text-decoration: none;
}

.grand-totall > a:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .discount-code-wrapper,
    .grand-totall {
        margin-bottom: 20px;
    }

    .grand-totall .grand-totall-title {
        font-size: 16px;
    }

    .grand-totall .grand-totall-title span {
        font-size: 20px;
    }
}

/* Cart Plus Minus - دکمه های + و - */
.cart-plus-minus {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.cart-plus-minus .qtybutton {
    width: 40px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #666;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    border: none;
}

.cart-plus-minus .dec {
    border-left: 2px solid #e0e0e0;
}

.cart-plus-minus .inc {
    border-right: 2px solid #e0e0e0;
}

.cart-plus-minus .qtybutton:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.cart-plus-minus .qtybutton:active {
    transform: scale(0.95);
}

.cart-plus-minus .cart-plus-minus-box {
    width: 70px;
    height: 45px;
    text-align: center;
    border: none;
    font-weight: 800;
    font-size: 18px;
    color: #333;
    background: white;
    order: 2;
}

.cart-plus-minus .dec {
    order: 1;
}

.cart-plus-minus .inc {
    order: 3;
}

.cart-plus-minus .cart-plus-minus-box:focus {
    outline: none;
}
