/* Gaming Wizard - Updated with Agency Discount Features */
.wizard {
    background: white !important;
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.wizard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #63e0ff, #0b20f5);
}

/* Progress System */
.progress {
    margin-bottom: 3rem;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 1.5rem;
}

.progress-line {
    position: absolute;
    top: 1rem;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e2e8f0;
    border-radius: 1.5px;
}

.progress-line-fill {
    height: 100%;
    background: #10b981;
    border-radius: 1.5px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px var(--accent-glow);
    position: relative;
}

.progress-line-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(94deg, transparent, rgba(255, 255, 255, 0.5));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-15px); }
    100% { transform: translateX(calc(100% - 15px)); }
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.step.active {
    color: var(--text-primary);
    transform: scale(1.05);
}

.step.completed {
    color: var(--success);
}

.step-circle {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    font-size: 0.8rem;
}

.step.active .step-circle {
    background: #10b981;
    color: white;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgb(16 185 129 / 12%);
    animation: pulse 2s infinite;
}

.step.completed .step-circle {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.1); }
}
.step:hover {
    transform: translateY(-2px);
}

.step.clickable {
    cursor: pointer;
}

.step.clickable:hover .step-circle {
    background: #4f46e5;
    transform: scale(1.1);
}

.step.clickable:hover span {
    color: #4f46e5;
}

.step:not(.clickable) {
    cursor: default;
}

.step.completed.clickable:hover .step-circle {
    background: #059669;
}

.step-circle {
    transition: all 0.3s ease;
}

.step span {
    transition: color 0.3s ease;
}
/* Content Sections */
.content {
    display: none;
    animation: fadeSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.content.active {
    display: block;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
    font-weight: 700;
    background-clip: text;
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Gaming Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.product-card {
    background: white !important;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.6s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #fff, #f8fafc);
}

.product-card.selected {
    border-color: var(--accent);
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.2);
    background: linear-gradient(135deg, #fff, rgba(99, 102, 241, 0.02));
}

.product-image {
    width: 100%;
    height: 120px;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-name {
    font-size: .8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    padding: 8px 16px;
    border-radius: 10px;
}
.variation-header h2 {
    font-size: .8rem;
    padding: 0 0 10px;
    opacity: .5;
}
.product-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Amount Cards - Updated for new structure and agency features */
.amount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.amount-card {
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white !important;
    position: relative;
    box-shadow: var(--shadow-sm);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.variation-description {
    padding-bottom: 20px;
}

.amount-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--gaming-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.amount-card:hover::before {
    opacity: 0.05;
}

.amount-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.amount-card.selected {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(147, 51, 234, 0.04));
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.2);
    transform: translateY(-4px) scale(1.02);
}

.dollar-pricing .final-price {
    color: #10b981;
    padding:5px;
}
.flex_payment {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.toman-pricing .final-price {
    color: #3b82f6;
    padding: 5px;
    font-size: 20px;
}
/* نام ویژگی - بزرگ و برجسته در بالا */
.amount-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

/* توضیحات ویژگی - در وسط */
.amount-desc {
    font-size: 0.6rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    text-align: center;
    min-height: 40px;
}

/* قیمت - در پایین و برجسته */
.amount-price {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--success);
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    z-index: 1;
}

/* Agency Discount Badges */
.agency-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    color: white;
    background: #10b981;
    margin-bottom: 8px;
    text-transform: uppercase;
    position: absolute;
    animation: badgePulse 2s infinite;
}
.toman-badge {
    right: 0;
    top: -10px;
}
.dollar-badge {
    left: 0;
    top: -10px;
}

.variation-title {
    font-size: 30px;
    color: #3b82f6;
}
.price-comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Dollar Price Box */
.dollar-price-box {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 1px solid #22c55e;
    padding: 12px;
    border-radius: 10px;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
    transition: all 0.3s ease;
}

.dollar-price-box:hover {
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.2);
    transform: translateY(-1px);
}

/* Original and Discounted Prices */
.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    opacity: 0.8;
}

.discounted-price {
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 0 1px 3px rgba(16, 185, 129, 0.3);
}

/* Payment Methods */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    width: 45%;
}

.payment-card {
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    background: rgb(8, 220, 125) !important;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.payment-card:hover {
    border-color: #08dc7d;
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.payment-card.selected {
    border-color: rgb(0 151 83) !important;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(147, 51, 234, 0.04));
    box-shadow: 0 0 25px rgb(8 220 125) !important;
}

.payment-icon {
    font-size: 2.5rem;
    margin-bottom: .1rem;
    color: #fff !important;
}

.payment-name {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff !important;
    font-size: 1rem;
}

.payment-desc {
    color: #fff !important;
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: .8;
}

/* Order Summary - Updated with Agency Features */
.summary {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 2.5rem;
    background: white;
    width: 52%;
    height: fit-content;
    box-shadow: var(--shadow-sm);
}

.summary-title, .order-summary-title h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 10px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}

.summary-item #totalPrice {
    color: #3b82f6;
    font-size: 20px;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.status-item {
    font-weight: 700;
    font-size: 1rem;
    margin-top: 0.8rem;
    padding-top: 1.2rem;
    border-top: 2px solid #f1f5f9;
}

/* Agency Discount Info in Summary */
.agency-discount-info {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 1px solid #10b981;
    padding: 15px;
    border-radius: 12px;
    margin-top: 15px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
    animation: discountGlow 3s ease-in-out infinite;
}

@keyframes discountGlow {
    0%, 100% { box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1); }
    50% { box-shadow: 0 6px 20px rgba(16, 185, 129, 0.2); }
}

.agency-discount-info h4 {
    color: #059669;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    font-size: 1rem;
}

.agency-discount-info .discount-section {
    background: rgba(16, 185, 129, 0.1);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.agency-discount-info .discount-section:last-child {
    margin-bottom: 0;
}

.agency-discount-info .section-title {
    font-weight: bold;
    color: #059669;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.agency-discount-info .price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.agency-discount-info .total-row {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    border-top: 1px solid #10b981;
    padding-top: 5px;
    font-size: 0.9rem;
}

.agency-discount-info .celebration-text {
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #d1fae5;
    font-size: 12px;
    color: #059669;
    font-style: italic;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.pending {
    background: rgba(251, 191, 36, 0.1);
    color: #92400e;
    border: 1px solid #fbbf24;
}

.status-badge.approved {
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
    border: 1px solid #22c55e;
}

.status-badge.rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border: 1px solid #ef4444;
}

.payment-info {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    background: #f8fafc;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    color: var(--text-primary);
    border: 1px solid #e2e8f0;
    word-break: break-all;
    direction: ltr;
    text-align: left;
}

.order-notice {
    background: linear-gradient(135deg, #dbeafe, #e0f2fe);
    border: 1px solid #3b82f6;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.notice-icon {
    color: #3b82f6;
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.order-notice p {
    margin: 0;
    color: #1e40af;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Gaming Buttons */
.actions {
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.btn {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--gaming-purple));
    color: white;
    display: flex;
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
    align-items: center;
    justify-content: center;
}

.btn-primary-end {
    background: #c2eccf !important;
    color: #0f6f2d !important;
}
.btn-primary-end:hover:not(:disabled) {
    background: #c2eccf !important;
    color: #0f6f2d !important;
}
.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-loading {
    pointer-events: none;
}

/* Success Page */
.success {
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    animation: successBounce 2s ease infinite;
    color: #10b981;
}

@keyframes successBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.success-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--success-color);
    font-weight: 700;
}

.success-desc {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.actions .btn-primary i {
    padding-left: 7px;
}

/* Payment Modal Styles - Enhanced */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.payment-modal.show {
    opacity: 1;
    visibility: visible;
}

.payment-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.payment-modal.show .payment-modal-content {
    transform: scale(1);
}

.payment-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.payment-modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--text-primary);
    font-weight: 700;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: #f3f4f6;
    color: var(--text-primary);
    transform: rotate(90deg);
}

.payment-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

/* Agency Info in Payment Modal */
.payment-modal .agency-info {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 2px solid #10b981;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
    animation: agencyInfoPulse 3s ease-in-out infinite;
}

@keyframes agencyInfoPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15); }
    50% { box-shadow: 0 6px 25px rgba(16, 185, 129, 0.25); }
}

.payment-modal .agency-info h4 {
    color: #059669;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
}

.payment-modal .agency-info .price-comparison {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.payment-modal .agency-info .final-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    border-top: 1px solid #10b981;
    padding-top: 8px;
    font-size: 16px;
}

.payment-info-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.payment-info-box h4 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
    justify-content: space-between;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item > span:first-child {
    color: var(--text-muted);
    font-size: 0.9rem;
    min-width: 120px;
}

.copyable {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
    flex: 1;
}

.copyable span {
    font-size: 0.85rem;
    color: var(--text-primary);
    background: white;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    font-family: 'Courier New', monospace;
    direction: ltr;
    text-align: left;
    word-break: break-all;
    flex: 1;
    max-width: 200px;
}

.copyable button {
    border: 1px solid var(--accent);
    color: var(--accent);
    background: none;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    white-space: nowrap;
}

.copyable button:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
}

.amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.payment-warning {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #fcd34d;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.payment-warning i {
    color: #f59e0b;
    font-size: 1.3rem;
    margin-top: 0.2rem;
}

.payment-warning p {
    margin: 0;
    color: #92400e;
    font-size: 0.9rem;
    line-height: 1.6;
}

.payment-instructions {
    margin-bottom: 1.5rem;
}

.payment-instructions h4 {
    margin: 0 0 0.75rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.payment-instructions ol {
    margin: 0;
    padding-right: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.payment-instructions li {
    margin-bottom: 0.5rem;
}

.payment-form {
    margin-top: 1.5rem;
}

.payment-form .form-group {
    margin-bottom: 1.2rem;
}

.payment-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.payment-form .form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    font-family: inherit;
    background: white;
}

.payment-form .form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Wizard Loader */
#wizardLoader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    display: none;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f4f6;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Loading states for cards */
.amount-card.loading,
.product-card.loading,
.payment-card.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.amount-card.loading::after,
.product-card.loading::after,
.payment-card.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

/* Update existing wizard styles for WooCommerce */
#variationsContainer {
    margin-bottom: 2rem;
}

.variation-attribute {
    margin-bottom: 1rem;
}

.variation-attribute label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.variation-attribute select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    cursor: pointer;
    background: white;
}

.variation-attribute select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Enhanced Error and Success States */
.error-state {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.05);
}

.success-state {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.05);
}

.error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.success-message {
    color: #10b981;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Custom notification styles */
.custom-notification {
    animation: slideInRight 0.3s ease-out;
    font-family: inherit;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Enhanced Agency Features */
.agency-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.agency-status-indicator i {
    font-size: 1rem;
}

.tether-price-special {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    margin-top: 8px;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
}

.price-saving {
    color: #ef4444;
    font-size: 0.8rem;
    background: rgba(239, 68, 68, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wizard {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .amount-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .amount-card {
        padding: 1.5rem 1rem;
        min-height: 180px;
    }

    .amount-title {
        font-size: 1.1rem;
    }

    .amount-desc {
        font-size: 0.6rem;
        min-height: 35px;
    }

    .amount-price {
        font-size: 1rem;
    }

    .agency-discount-info {
        padding: 12px;
    }

    .agency-discount-info .price-row,
    .agency-discount-info .total-row {
        font-size: 0.8rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .payment-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .payment-modal-content {
        width: 95%;
        max-height: 95vh;
        margin: 10px;
    }

    .payment-modal-header {
        padding: 1rem 1.5rem;
    }

    .payment-modal-header h3 {
        font-size: 1.2rem;
    }

    .payment-modal-body {
        padding: 1.5rem;
    }

    .payment-info-box {
        padding: 1rem;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .info-item > span:first-child {
        min-width: auto;
        width: 100%;
    }

    .copyable {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }

    .copyable span {
        max-width: 100%;
        font-size: 0.8rem;
    }

    .copyable button {
        width: 100%;
        justify-content: center;
    }

    .actions {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .content-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .summary {
        padding: 1.5rem;
    }

    .summary-item {
        font-size: 0.75rem;
        padding: 0.6rem 10px;
    }

    .payment-info {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }

    .agency-info {
        padding: 15px !important;
    }

    .agency-info h4 {
        font-size: 16px !important;
    }

    .payment-warning {
        padding: 1rem;
    }

    .dollar-price-box {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .wizard {
        padding: 1rem;
        border-radius: 10px;
    }

    .amount-card {
        padding: 1.2rem 0.8rem;
        min-height: 160px;
    }

    .amount-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .amount-desc {
        font-size: 0.5rem;
        min-height: 30px;
        margin-bottom: 0.8rem;
    }

    .amount-price {
        font-size: 0.9rem;
        padding-top: 0.5rem;
    }

    .agency-badge {
        font-size: 10px;
        padding: 3px 6px;
    }

    .dollar-price-box {
        padding: 6px;
        font-size: 0.8rem;
    }

    .product-card {
        padding: 1rem;
    }

    .product-image {
        height: 100px;
    }

    .product-name {
        font-size: .8rem;
        padding: 6px 12px;
    }

    .payment-card {
        padding: 1.5rem 1rem;
    }

    .payment-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .step-circle {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.7rem;
    }

    .step {
        font-size: 0.7rem;
    }

    .progress {
        margin-bottom: 2rem;
    }

    .content-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .payment-modal-content {
        width: 98%;
        margin: 5px;
    }

    .payment-modal-header {
        padding: 1rem;
    }

    .payment-modal-header h3 {
        font-size: 1.1rem;
    }

    .payment-modal-body {
        padding: 1rem;
    }

    .agency-discount-info {
        padding: 10px;
    }

    .agency-discount-info .celebration-text {
        font-size: 11px;
    }

    .agency-status-indicator {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Animation improvements for better performance */
.amount-card, .product-card, .payment-card {
    will-change: transform;
}

.amount-card:hover, .product-card:hover, .payment-card:hover {
    will-change: auto;
}

/* Accessibility improvements */
.amount-card:focus,
.product-card:focus,
.payment-card:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .amount-card,
    .product-card,
    .payment-card {
        border-width: 3px;
    }

    .amount-card.selected,
    .product-card.selected,
    .payment-card.selected {
        border-width: 4px;
    }

    .agency-badge {
        border: 2px solid currentColor;
    }

    .dollar-price-box {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .amount-card,
    .product-card,
    .payment-card,
    .btn,
    .step-circle,
    .progress-line-fill,
    .agency-badge,
    .dollar-price-box {
        transition: none;
    }

    .shimmer,
    .pulse,
    .successBounce,
    .badgePulse,
    .discountGlow,
    .agencyInfoPulse {
        animation: none;
    }

    .amount-card:hover,
    .product-card:hover,
    .payment-card:hover {
        transform: none;
    }

    .close-modal:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .wizard {
        box-shadow: none;
        border: 1px solid #000;
    }

    .amount-card,
    .product-card,
    .payment-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }

    .btn {
        display: none;
    }

    .payment-modal {
        display: none;
    }

    .agency-discount-info {
        background: #f5f5f5 !important;
        border: 2px solid #000 !important;
    }

    .agency-badge {
        background: #000 !important;
        color: #fff !important;
    }
}


/* Custom scrollbar for modal */
.payment-modal-body::-webkit-scrollbar {
    width: 6px;
}

.payment-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.payment-modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.payment-modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Utility classes for agency features */
.agency-highlight {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.price-strikethrough {
    text-decoration: line-through;
    opacity: 0.7;
    color: #6b7280;
}

.price-highlight {
    color: #10b981;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(16, 185, 129, 0.3);
}

.savings-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

/* Special effects for premium feel */
.premium-glow {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    animation: premiumPulse 2s ease-in-out infinite;
}

@keyframes premiumPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); }
    50% { box-shadow: 0 0 30px rgba(16, 185, 129, 0.5); }
}

/* اضافه کردن این استایل‌ها به انتهای wizard.css موجود */

/* ===== Pagination Styles ===== */
#paginationContainer {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    font-family: 'KalamehWebFaNum';
    font-weight: 400;
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.pagination-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.pagination-btn:hover::before {
    left: 100%;
}

.pagination-btn:hover:not(.disabled) {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.pagination-btn.active {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);

}
.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    border-color: #f3f4f6;
    color: #9ca3af;
}

.pagination-btn.disabled:hover {
    border-color: #f3f4f6;
    box-shadow: none;
}

/* Previous/Next buttons */
.pagination-prev, .pagination-next {
    gap: 0.5rem;
    padding: 0.75rem 1.25rem !important;
    font-weight: 400;
    min-width: auto;
}

.pagination-prev i {
    order: 1;
}

.pagination-next i {
    order: 2;
}

/* Page number buttons */
.pagination-number {
    min-width: 44px;
    width: 44px;
    padding: 0;
}

/* Dots */
.pagination-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #6b7280;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Pagination info */
.pagination-info {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    font-weight: 400;
}

/* ===== Skeleton Loader for Products ===== */
.skeleton-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.skeleton-card {
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.skeleton-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: skeletonShimmer 2s infinite;
}

@keyframes skeletonShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.skeleton-image {
    width: 100%;
    height: 120px;
    background: #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1rem;
    animation: skeletonPulse 1.5s ease-in-out infinite alternate;
}

.skeleton-title {
    height: 20px;
    background: #e5e7eb;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    width: 80%;
    animation: skeletonPulse 1.5s ease-in-out infinite alternate;
    animation-delay: 0.2s;
}

.skeleton-desc {
    height: 16px;
    background: #e5e7eb;
    border-radius: 4px;
    width: 60%;
    animation: skeletonPulse 1.5s ease-in-out infinite alternate;
    animation-delay: 0.4s;
}

@keyframes skeletonPulse {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* ===== Error Message Container ===== */
.error-message-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    background: #fef2f2;
    border: 2px dashed #fca5a5;
    border-radius: 16px;
    color: #dc2626;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ef4444;
}

.error-message-container h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #dc2626;
}

.error-message-container p {
    margin-bottom: 1.5rem;
    color: #991b1b;
    line-height: 1.6;
}

.error-message-container .btn {
    margin-top: 1rem;
}

/* ===== Product Grid Animations ===== */
.product-card.fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Search Results Enhancements ===== */
.search-results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.search-results-count {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.search-status {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Enhanced No Results */
.no-search-results {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    border: 2px dashed #d1d5db;
    border-radius: 20px;
    color: #6b7280;
}

.no-search-results i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #9ca3af;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.no-search-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #4b5563;
}

.no-search-results p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
    color: #6b7280;
}

/* ===== Loading States Improvements ===== */
.product-grid[style*="opacity: 0.5"] {
    position: relative;
}

.product-grid[style*="opacity: 0.5"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    z-index: 10;
}

/* ===== Mobile Optimizations ===== */
@media (max-width: 768px) {
    #paginationContainer {
        margin: 1.5rem 0;
    }

    .pagination-wrapper {
        gap: 0.25rem;
        flex-wrap: wrap;
    }

    .pagination-btn {
        min-width: 40px;
        height: 40px;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .pagination-number {
        min-width: 40px;
        width: 40px;
    }

    .pagination-prev,
    .pagination-next {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .pagination-prev span,
    .pagination-next span {
        display: none;
    }

    .pagination-info {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
        margin-top: 0.5rem;
    }

    .skeleton-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .search-results-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .no-search-results {
        padding: 3rem 1.5rem;
    }

    .no-search-results i {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .no-search-results h3 {
        font-size: 1.3rem;
    }

    .error-message-container {
        padding: 2rem 1.5rem;
    }

    .error-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .pagination-wrapper {
        justify-content: center;
        gap: 0.125rem;
    }

    .pagination-btn {
        min-width: 36px;
        height: 36px;
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
        border-radius: 8px;
    }

    .pagination-number {
        min-width: 36px;
        width: 36px;
    }

    .pagination-prev,
    .pagination-next {
        padding: 0.25rem 0.75rem;
    }

    .pagination-dots {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .pagination-info {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }

    /* Hide some page numbers on very small screens */
    .pagination-numbers .pagination-number:nth-child(n+6) {
        display: none;
    }

    .search-results-info {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .no-search-results {
        padding: 2rem 1rem;
    }

    .no-search-results i {
        font-size: 2.5rem;
    }

    .no-search-results h3 {
        font-size: 1.2rem;
    }

    .no-search-results p {
        font-size: 0.9rem;
    }
}

/* ===== High Performance Optimizations ===== */
.pagination-btn,
.skeleton-card,
.product-card {
    will-change: transform, box-shadow;
}

.pagination-btn:hover,
.pagination-btn.active {
    will-change: auto;
}

/* ===== Accessibility Improvements ===== */
.pagination-btn:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.pagination-btn[aria-current="page"] {
    background: linear-gradient(135deg, var(--accent), var(--gaming-purple));
    color: white;
    border-color: var(--accent);
}


/* ===== Print Styles ===== */
@media print {
    #paginationContainer,
    .skeleton-container,
    .pagination-wrapper,
    .pagination-info {
        display: none !important;
    }

    .product-grid {
        break-inside: avoid;
    }
}

/* ===== Reduced Motion Support ===== */
@media (prefers-reduced-motion: reduce) {
    .pagination-btn,
    .skeleton-card,
    .product-card,
    .no-search-results i {
        transition: none;
        animation: none;
    }

    .pagination-btn::before {
        display: none;
    }

    .pagination-btn:hover {
        transform: none;
    }

    .skeletonShimmer,
    .skeletonPulse,
    .fadeInUp,
    .float {
        animation: none;
    }
}

/* ===== High Contrast Mode ===== */
@media (prefers-contrast: high) {
    .pagination-btn {
        border-width: 3px;
    }

    .pagination-btn.active {
        border-width: 4px;
    }

    .pagination-info {
        border-width: 2px;
    }

    .skeleton-card {
        border-width: 3px;
    }
}

/* ===== Custom Scrollbar for Container ===== */
.search-filter-section::-webkit-scrollbar {
    width: 6px;
}

.search-filter-section::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.search-filter-section::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.search-filter-section::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ===== Enhanced Focus Styles ===== */
.pagination-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* ===== Smooth Loading Transitions ===== */
.product-grid {
    transition: opacity 0.3s ease;
}

.skeleton-container {
    animation: skeletonFadeIn 0.3s ease;
}

@keyframes skeletonFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== Utility Classes for Pagination ===== */
.pagination-loading {
    opacity: 0.6;
    pointer-events: none;
}

.pagination-hidden {
    display: none !important;
}

.pagination-visible {
    display: flex !important;
}

/* ===== Advanced Hover Effects ===== */
.pagination-btn:not(.disabled):not(.active):hover {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-color: var(--accent);
    color: var(--accent);
}

.pagination-btn.active:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    transform: translateY(-3px);
}

/* ===== Loading Spinner for Pagination ===== */
.pagination-loading-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #f3f4f6;
    border-top: 2px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.pagination-loading .pagination-loading-spinner {
    display: block;
}

.pagination-loading .pagination-btn span,
.pagination-loading .pagination-btn i {
    opacity: 0;
}

/* ===== Responsive Grid Adjustments ===== */
@media (max-width: 1200px) {
    .skeleton-container {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 992px) {
    .skeleton-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 576px) {
    .skeleton-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .skeleton-card {
        padding: 1rem;
    }

    .skeleton-image {
        height: 100px;
    }
    .summary {
        width: 100%;
    }
    .payment-grid {
        width: 100%;
    }
    .summary-item #totalPrice {
        font-size: 15px;
    }
    .content-title {
        flex-wrap: wrap;
    }
    .search-filter-section {
        width: 100%;
    }
}