/* Product Modal Styles */
.product-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 2px solid #f0f0f0;
    background: linear-gradient(135deg, var(--isoko-blue), var(--isoko-green));
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.modal-product-image {
    text-align: center;
}

.modal-product-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-price-large {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.price-current {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--isoko-green);
}

.price-original {
    font-size: 1.4rem;
    color: #999;
    text-decoration: line-through;
}

.product-description-full {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.product-specs-detailed,
.product-features {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--isoko-blue);
}

.product-specs-detailed h4,
.product-features h4 {
    margin: 0 0 15px 0;
    color: var(--isoko-blue);
    font-size: 1.2rem;
    font-weight: 600;
}

.product-specs-detailed ul,
.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-specs-detailed li,
.product-features li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    padding-left: 20px;
}

.product-specs-detailed li:before,
.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--isoko-green);
    font-weight: bold;
}

.product-specs-detailed li:last-child,
.product-features li:last-child {
    border-bottom: none;
}

.modal-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.modal-actions .cta-button {
    flex: 1;
    min-width: 150px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.modal-actions .cta-button.primary {
    background: var(--isoko-green);
    color: white;
}

.modal-actions .cta-button.primary:hover {
    background: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.modal-actions .cta-button.secondary {
    background: white;
    color: var(--isoko-blue);
    border: 2px solid var(--isoko-blue);
}

.modal-actions .cta-button.secondary:hover {
    background: var(--isoko-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 153, 255, 0.3);
}

/* Clickable Product Cards */
.product-card {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover effects removed per user request */

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.4rem;
    }
    
    .price-current {
        font-size: 1.8rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .cta-button {
        min-width: auto;
    }
}

