/* Məhsul məlumat ikonu */
.product-info-icon {
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    margin-left: 0.5rem;
    gap: 0.5rem;
    text-decoration: none;
}

.product-info-icon:hover {
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* Məhsul məlumat modalı */
.product-info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.product-info-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info-content {
    background: white;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    position: relative;
}

.product-info-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-info-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.close-product-info {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-product-info:hover {
    background: rgba(255, 255, 255, 0.2);
}

.product-info-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.product-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.product-detail-item:last-child {
    border-bottom: none;
}

.product-detail-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
}

.product-detail-value {
    font-weight: 500;
    color: #333;
    text-align: right;
    max-width: 60%;
    word-wrap: break-word;
}

.product-detail-value.price {
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
}

.product-detail-value.stock-available {
    color: #28a745;
    font-weight: bold;
}

.product-detail-value.stock-unavailable {
    color: #dc3545;
    font-weight: bold;
}

.product-detail-value.discount {
    color: #dc3545;
    font-weight: bold;
}

/* Animasiyalar */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive dizayn */
@media (max-width: 768px) {
    .product-info-content {
        width: 95%;
        margin: 1rem;
    }
    
    .product-info-header {
        padding: 1rem;
    }
    
    .product-info-header h3 {
        font-size: 1.1rem;
    }
    
    .product-info-body {
        padding: 1.5rem;
    }
    
    .product-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .product-detail-value {
        max-width: 100%;
        text-align: left;
    }
    
    .product-info-icon {
        padding: 0.625rem 1.25rem;
        font-size: 0.8rem;
        margin-left: 0.25rem;
    }
}

@media (max-width: 480px) {
    .product-info-content {
        width: 98%;
        margin: 0.5rem;
    }
    
    .product-info-header {
        padding: 0.75rem;
    }
    
    .product-info-body {
        padding: 1rem;
    }
}

