.product-details-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.product-details-container {
    background-color: white;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    border-radius: 8px;
    position: relative;
}

.product-details-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

.product-details-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.product-details-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-details-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.product-details-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.product-details-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.product-details-thumbnails img.active {
    opacity: 1;
    border: 2px solid #333;
}

.product-details-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-details-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.product-details-price {
    font-size: 1.5rem;
    color: #e91e63;
    font-weight: bold;
}

.product-details-description {
    color: #666;
    line-height: 1.6;
}

.product-details-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-details-option {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-details-option h3 {
    font-size: 1.1rem;
    color: #333;
}

.product-details-option-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-details-option-buttons button {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.product-details-option-buttons button.active {
    background: #333;
    color: white;
    border-color: #333;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-input {
    width: 50px;
    text-align: center;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.product-details-add-to-cart {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-details-add-to-cart:hover {
    background: #4a90e2;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-details-add-to-cart:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .product-details-content {
        grid-template-columns: 1fr;
    }

    .product-details-main-image {
        height: 300px;
    }
} 