.product-detail-page {
    margin-top: 80px;
    padding: 2rem;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-container {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.thumbnail.active {
    opacity: 1;
    border: 2px solid var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1rem;
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.product-price {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

.product-rating {
    color: #ffd700;
}

.product-options {
    margin-bottom: 2rem;
}

.size-selector h3,
.quantity-selector h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.size-options {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.size-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-btn:hover,
.size-btn.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 150px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background-color: var(--light-gray);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
}

#quantity {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.add-to-cart-btn {
    flex: 1;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.wishlist-btn {
    width: 50px;
    height: 50px;
    border: none;
    background-color: var(--light-gray);
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.wishlist-btn:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.product-description {
    margin-bottom: 2rem;
}

.product-description h3 {
    margin-bottom: 1rem;
}

.product-features {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
    border-top: 1px solid #ddd;
}

.feature {
    text-align: center;
}

.feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.related-products {
    max-width: 1200px;
    margin: 4rem auto;
}

.related-products h2 {
    text-align: center;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .size-options {
        flex-wrap: wrap;
    }

    .product-features {
        flex-direction: column;
        gap: 1rem;
    }
} 