/* ===== QUICK VIEW MODAL (AMAZON STYLE) ===== */
#quickViewModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.quick-view-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.qv-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qv-close-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.quick-view-image {
    position: relative;
}

.quick-view-image img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #eee;
}

.qv-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.qv-badge.sale {
    background: #e74c3c;
    color: white;
}

.qv-badge.new {
    background: #4a7c59;
    color: white;
}

.quick-view-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qv-title {
    font-size: 1.8rem;
    color: #2c3e37;
    font-weight: 700;
    line-height: 1.3;
}

.qv-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qv-rating .stars {
    color: #f4c430;
    font-size: 1.1rem;
}

.qv-rating .review-count {
    color: #0066c0;
    font-size: 0.9rem;
    cursor: pointer;
}

.qv-rating .review-count:hover {
    text-decoration: underline;
}

.qv-price {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.qv-price-new {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e37;
}

.qv-price-old {
    font-size: 1.3rem;
    color: #999;
    text-decoration: line-through;
}

.qv-discount {
    background: #e74c3c;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.qv-stock {
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}

.qv-stock.in-stock {
    background: #d4edda;
    color: #155724;
}

.qv-stock.out-stock {
    background: #f8d7da;
    color: #721c24;
}

.qv-description h4,
.qv-features h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e37;
    margin-bottom: 10px;
}

.qv-description p {
    color: #555;
    line-height: 1.7;
}

.qv-features ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qv-features li {
    color: #555;
    padding-left: 5px;
}

.qv-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 10px;
}

.qv-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qv-quantity label {
    font-weight: 600;
    color: #2c3e37;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.qty-selector button {
    background: #f0f0f0;
    border: none;
    padding: 10px 16px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.qty-selector button:hover {
    background: #e0e0e0;
}

.qty-selector input {
    border: none;
    width: 60px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 5px;
}

.qv-add-cart,
.qv-buy-now {
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qv-add-cart {
    background: #4a7c59;
    color: white;
}

.qv-add-cart:hover {
    background: #3d6a4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}

.qv-buy-now {
    background: #f4c430;
    color: #2c3e37;
}

.qv-buy-now:hover {
    background: #e0b020;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 196, 48, 0.3);
}

.qv-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.qv-info-tags span {
    color: #4a7c59;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===== PRODUCT CARD OVERLAY ===== */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    
}

.product-card:hover .product-overlay {
    opacity: 1;
     /* transform: scale(1); */
}

.quick-view-btn {
    background: white;
    color: #2c3e37;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    
}

.quick-view-btn:hover {
    background: #f4c430;
    transform: scale(1.05);
    /* background: #f4c430;
    color: #2c3e37;
    transform: translateY(-3px); */
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e37;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 500;
    z-index: 10001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: bottom 0.3s ease;
}

.toast-notification.show {
    bottom: 30px;
}

.academy-toast {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #2c3e37;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    transition: bottom 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 500px;
    border-left: 4px solid #4a7c59;
}

.academy-toast.show {
    bottom: 30px;
}

.toast-icon {
    background: #4a7c59;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.toast-message {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== RESPONSIVE DESIGN FOR QUICK VIEW ===== */
@media (max-width: 968px) {
    .quick-view-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 30px 20px;
    }
    
    .qv-title {
        font-size: 1.5rem;
    }
    
    .qv-price-new {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    #quickViewModal {
        padding: 10px;
    }
    
    .quick-view-grid {
        padding: 20px 15px;
    }
    
    .qv-actions {
        gap: 12px;
    }
    
    .qv-add-cart,
    .qv-buy-now {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .toast-notification,
    .academy-toast {
        max-width: 90%;
        padding: 15px 20px;
    }
}