/* Improved Quick View Modal Styles */
    #quickViewModal .modal-content {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        border: 1px solid #e5e7eb;
    }

    #quickViewModal .modal-header {
        padding: 1.5rem 1.5rem 0;
    }

    #quickViewModal .modal-body {
        padding: 0 1.5rem 1.5rem;
    }

    #quickViewModal .btn-close {
        background: none;
        font-size: 1.2rem;
        padding: 0.5rem;
        margin: 0;
        opacity: 0.7;
        transition: opacity 0.2s;
    }

    #quickViewModal .btn-close:hover {
        opacity: 1;
    }

    /* Quick View Content Styling */
    .quickview-product-images {
        border-radius: 8px;
        overflow: hidden;
        background: #f8f9fa;
        padding: 1rem;
    }

    .quickview-product-images .main-image {
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 1rem;
    }

    .quickview-product-images .main-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
        max-height: 400px;
    }

    .thumbnail-images {
        gap: 0.5rem;
    }

    .thumb-item {
        cursor: pointer;
        border: 2px solid transparent;
        border-radius: 6px;
        padding: 0.25rem;
        transition: all 0.2s;
    }

    .thumb-item:hover {
        border-color: #dee2e6;
    }

    .thumb-item.active {
        border-color: #3b82f6;
    }

    .thumb-item img {
        width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 4px;
    }
.add-to-cart-section .btn {
    min-height: 0;
    line-height:2
}
    /* Product Details Styling */
    .quickview-product-details .product-title {
        font-size: 1.75rem;
        font-weight: 700;
        color: #1f2937;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .quickview-product-details .product-rating {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .quickview-product-details .product-price {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .quickview-product-details .current-price {
        color: #3b82f6;
    }

    .quickview-product-details .old-price {
        font-size: 1.125rem;
        font-weight: 500;
    }

    .quickview-product-details .discount-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .quickview-product-details .stock-status {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .quickview-product-details .short-description {
        color: #6b7280;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 1.5rem;
    }

    /* Variant Selection */
    .variant-selection h6 {
        font-weight: 600;
        color: #374151;
        margin-bottom: 1rem;
    }

    .variant-item {
        border-radius: 8px;
        transition: all 0.2s;
        cursor: pointer;
    }

    .variant-item:hover {
        background-color: #f9fafb;
        border-color: #3b82f6;
    }

    .variant-item .form-check-label {
        cursor: pointer;
        font-size: 0.9375rem;
        font-weight: 500;
        color: #374151;
        width: 100%;
    }

    .variant-item .form-check-input {
        cursor: pointer;
        margin-top: 0.125rem;
    }

    /* Quantity Controls */
    .quantity .input-group {
        /* width: 140px; */
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #d1d5db;
    }

    .quantity .btn-outline-secondary {
        border: none;
        padding: 0.5rem 1rem;
        color: #6b7280;
        background: #f9fafb;
        transition: all 0.2s;
    }

    .quantity .btn-outline-secondary:hover {
        background: #f3f4f6;
        color: #374151;
    }

    .quantity .form-control {
        border: none;
        background: white;
        font-weight: 600;
        color: #374151;
        padding: 1.4rem;
    }
.product-image--holder {
    height: 100%;
}
.product-image--holder a img {
    height: 330px;
    width: 100%;
    object-fit: contain;
}
    /* Action Buttons */
    .add-to-cart-btn {
        padding: 0.875rem 1.5rem;
        font-weight: 600;
        border-radius: 8px;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .add-to-cart-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }

    .action-buttons .btn-outline-secondary {
        padding: 0.5rem 1rem;
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 500;
        transition: all 0.2s;
    }

    .action-buttons .btn-outline-secondary:hover {
        background: #f3f4f6;
        transform: translateY(-1px);
    }

    /* Product Meta */
    .product-meta ul {
        padding: 0;
        margin: 0;
    }

    .product-meta li {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.375rem 0;
        border-bottom: 1px solid #f3f4f6;
    }

    .product-meta li:last-child {
        border-bottom: none;
    }

    .product-meta strong {
        min-width: 100px;
        color: #6b7280;
        font-weight: 500;
    }

    /* Toast Notification */
    .toast-container {
        z-index: 9999;
    }

    .toast {
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    /* Loading Spinner */
    .spinner-border {
        width: 3rem;
        height: 3rem;
    }

    /* Badge Styles */
    .product-type-badge .badge {
        padding: 0.375rem 0.75rem;
        border-radius: 20px;
        font-weight: 500;
        font-size: 0.8125rem;
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
    }

    /* Digital & Subscription Info */
    .digital-info, .subscription-info {
        background: #f0f9ff;
        border-radius: 8px;
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .digital-info p, .subscription-info .alert {
        margin: 0;
    }

    .subscription-info .alert {
        background: #f0f9ff;
        border: 1px solid #bae6fd;
        border-radius: 8px;
    }
/* Modern Cart & Notification Styles */
:root {
    --toast-success: #10b981;
    --toast-error: #ef4444;
    --toast-warning: #f59e0b;
    --toast-info: #3b82f6;
    --cart-bg: #ffffff;
    --cart-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --cart-border: #e5e7eb;
    --cart-primary: #2563eb;
}

/* Modern Toast Notification */
.airi-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
}

.airi-toast {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid var(--cart-primary);
    max-width: 380px;
}

.airi-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.airi-toast.success {
    border-left-color: var(--toast-success);
}

.airi-toast.error {
    border-left-color: var(--toast-error);
}

.airi-toast.warning {
    border-left-color: var(--toast-warning);
}

.airi-toast.info {
    border-left-color: var(--toast-info);
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.airi-toast.success .toast-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--toast-success);
}

.airi-toast.error .toast-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--toast-error);
}

.airi-toast.warning .toast-icon {
    background: rgba(245, 158, 11, 0.1);
    color: var(--toast-warning);
}

.airi-toast.info .toast-icon {
    background: rgba(59, 130, 246, 0.1);
    color: var(--toast-info);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    color: #1f2937;
}

.toast-message {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    color: #374151;
}

/* Modern Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100%;
    background: var(--cart-bg);
    z-index: 99999;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: var(--cart-shadow);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-sidebar-overlay.active {
    opacity: 1;
}

.cart-sidebar-header {
    padding: 24px;
    border-bottom: 1px solid var(--cart-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cart-sidebar-header h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-count-badge {
    background: white;
    color: #764ba2;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.cart-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.cart-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid var(--cart-border);
    transition: all 0.3s;
    position: relative;
}

.cart-item:hover {
    background: #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cart-item-image {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 6px;
    color: #1e293b;
    line-height: 1.3;
}

.cart-item-attributes {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
    padding: 4px 8px;
    background: #e2e8f0;
    border-radius: 4px;
    display: inline-block;
}

.cart-item-price {
    color: var(--cart-primary);
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 12px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 2px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 32px;
    height: 32px;
    background: white;
    border: none;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #f1f5f9;
}

.qty-input {
    width: 50px;
    height: 32px;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    text-align: center;
    font-weight: 600;
    color: #1e293b;
}

.remove-item {
    background: #fee2e2;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #dc2626;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.remove-item:hover {
    background: #fecaca;
}

.cart-sidebar-footer {
    padding: 24px;
    border-top: 1px solid var(--cart-border);
    background: white;
}

.cart-totals {
    margin-bottom: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e2e8f0;
}

.total-row:last-child {
    border-bottom: none;
}

.total-label {
    color: #64748b;
    font-size: 15px;
}

.total-value {
    font-weight: 600;
    color: #1e293b;
}

.total-row.grand-total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 2px solid #e2e8f0;
    border-bottom: none;
}

.total-row.grand-total .total-value {
    font-size: 20px;
    color: var(--cart-primary);
}

.cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-btn {
    padding: 15px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.cart-btn.view-cart {
    background: white;
    color: #475569;
    border: 2px solid #cbd5e1;
}

.cart-btn.view-cart:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.cart-btn.checkout {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cart-btn.checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.empty-cart-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart-icon {
    font-size: 80px;
    color: #cbd5e1;
    margin-bottom: 20px;
    opacity: 0.6;
}

.empty-cart-state h4 {
    color: #64748b;
    margin-bottom: 12px;
    font-size: 20px;
}

.empty-cart-state p {
    color: #94a3b8;
    margin-bottom: 25px;
}

.shop-now-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.shop-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--cart-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Add to Cart Button Animation */
.add-to-cart-btn {
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.add-to-cart-btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    20% {
        transform: scale(25, 25);
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

/* Quick View Modal Enhancements */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
    padding: 24px;
}

.modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.modal-body {
    padding: 30px;
}

/* Product Image Zoom */
.product-image-zoom {
    cursor: zoom-in;
    transition: transform 0.3s;
}

.product-image-zoom:hover {
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .airi-toast-container {
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .airi-toast {
        max-width: none;
    }
}

/* Animation for cart item addition */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.cart-item-enter {
    animation: slideInRight 0.3s ease-out;
}

.cart-item-exit {
    animation: slideOutRight 0.3s ease-in;
}
    /* Responsive */
    @media (max-width: 768px) {
        #quickViewModal .modal-dialog {
            margin: 0.5rem;
        }
        
        .quickview-product-details .product-title {
            font-size: 1.5rem;
        }
        
        .quantity .input-group {
            width: 120px;
        }
        
        .action-buttons {
            flex-direction: column;
            gap: 0.5rem;
        }
        
        .action-buttons .btn {
            width: 100%;
        }
    }