/* Premium Quick View Modal Styles */

/* Premium Modal Backdrop */
.quick-view-modal.show {
    backdrop-filter: blur(8px);
}

.quick-view-modal .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.6);
}

/* Premium Modal Content */
.premium-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 85vh;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Premium Close Button */
.premium-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 1;
}

.premium-close:hover {
    background: #ff6f00;
    transform: rotate(90deg);
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.4);
}

.premium-close i {
    width: 18px;
    height: 18px;
    stroke: #333;
}

.premium-close:hover i {
    stroke: #fff;
}

/* Premium Image Section */
.premium-image-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    height: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 32px;
}

.modal-category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff6f00 0%, #ff8f00 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
    z-index: 2;
}

.modal-category-badge i {
    width: 13px;
    height: 13px;
}

.premium-image-section .image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.premium-image-section:hover .image-container {
    transform: scale(1.05);
}

.premium-image-section .image-container img {
    max-width: 90%;
    max-height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* Premium Details Section */
.premium-details-section {
    padding: 28px 32px;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Premium Title */
.premium-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.2;
}

/* Rating & Stock Row */
.rating-stock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.premium-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.premium-rating li i {
    color: #ffc107;
    font-size: 14px;
}

.premium-rating .rating-count {
    color: #666;
    font-size: 13px;
    margin-left: 6px;
}

.stock-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #d4edda;
    color: #155724;
    padding: 4px 12px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 600;
}

.stock-badge i {
    width: 14px;
    height: 14px;
}

/* Premium Price Section */
.premium-price-section {
    margin-bottom: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(255, 111, 0, 0.08) 0%, rgba(255, 143, 0, 0.05) 100%);
    border-radius: 12px;
    border: 2px solid rgba(255, 111, 0, 0.15);
}

.price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.price-wrapper .currency {
    font-size: 20px;
    font-weight: 700;
    color: #ff6f00;
}

.price-wrapper .amount {
    font-size: 30px;
    font-weight: 800;
    color: #ff6f00;
    line-height: 1;
}

/* Premium Description */
.premium-description {
    margin-bottom: 12px;
}

.premium-description p {
    color: #666;
    line-height: 1.5;
    margin: 0;
    font-size: 13px;
}

/* Premium Info Cards */
.premium-info-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    border-left: 3px solid #ff6f00;
}

.info-title {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-title i {
    width: 15px;
    height: 15px;
    stroke: #ff6f00;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    color: #666;
    padding: 3px 0;
    padding-left: 16px;
    position: relative;
    font-size: 12px;
    line-height: 1.4;
}

.info-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff6f00;
    font-weight: bold;
    font-size: 11px;
}

.info-text {
    color: #666;
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

/* Premium Actions */
.premium-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 2px solid #f0f0f0;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.quantity-selector .qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quantity-selector .qty-btn:hover {
    background: #ff6f00;
}

.quantity-selector .qty-btn:hover i {
    stroke: white;
}

.quantity-selector .qty-btn i {
    width: 18px;
    height: 18px;
    stroke: #666;
    transition: stroke 0.2s ease;
}

.quantity-selector .qty-input {
    width: 60px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background: transparent;
}

.quantity-selector .qty-input:focus {
    outline: none;
}

/* Premium Add to Cart Button */
.premium-add-cart {
    flex: 1;
    height: 48px;
    background: linear-gradient(135deg, #ff6f00 0%, #ff8f00 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

.premium-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 111, 0, 0.4);
}

.premium-add-cart:active {
    transform: translateY(0);
}

.premium-add-cart i {
    width: 20px;
    height: 20px;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .premium-image-section {
        min-height: 380px;
    }

    .premium-title {
        font-size: 20px;
    }

    .price-wrapper .amount {
        font-size: 26px;
    }
}

@media (max-width: 575px) {
    .premium-details-section {
        padding: 20px;
    }

    .premium-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }

    .premium-actions {
        flex-direction: column;
    }

    .quantity-selector {
        justify-content: center;
    }

    .premium-image-section {
        min-height: 300px;
        padding: 20px;
    }
}