.product-detail {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.detail-images {
    position: sticky;
    top: 100px;
}

.main-image {
    width: 100%;
    height: 500px;
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
    background: var(--light-gray);
    padding: 5px;
}

.thumbnail:hover {
    border-color: var(--red);
}

.no-image-large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    font-size: 1.5rem;
}

.detail-info {
    padding: 20px 0;
}

.detail-title {
    font-size: 2.5rem;
    color: var(--red);
    margin-bottom: 20px;
}

.detail-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--red);
    margin-bottom: 30px;
}

.detail-description,
.detail-specs {
    margin-bottom: 30px;
}

.detail-description h3,
.detail-specs h3 {
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.detail-description p,
.detail-specs p {
    line-height: 1.8;
    color: var(--dark-gray);
}

.btn-purchase {
    width: 100%;
    padding: 18px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-purchase:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230,0,18,0.3);
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .detail-images {
        position: relative;
        top: 0;
    }
    
    .main-image {
        height: 300px;
    }
    
    .detail-title {
        font-size: 2rem;
    }
    
    .detail-price {
        font-size: 2rem;
    }
}
