
.product-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.product-gallery img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
    object-fit: contain;
    background-color: #f8f9fa;
    height: 400px;
}
.product-thumbnails {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
    scrollbar-width: thin;
}
.product-thumbnails::-webkit-scrollbar {
    height: 6px;
}
.product-thumbnails::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 3px;
}
.product-thumbnails .thumb {
    cursor: pointer;
    border-radius: 5px;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    display: inline-block;
}
.product-thumbnails .thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    transition: all 0.2s ease;
}
.product-thumbnails .thumb.active {
    border-color: #007bff;
    transform: scale(1.05);
}
.product-thumbnails .thumb:hover {
    transform: scale(1.05);
}
.related-product-card {
    transition: transform 0.3s ease;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}
.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.related-product-img {
    height: 200px;
    object-fit: contain;
    background-color: #f8f9fa;
    padding: 10px;
}
.review {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.2s ease;
    background-color: #f9f9f9;
}
.review:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.review-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.review-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.review-images img:hover {
    transform: scale(1.1);
}
.quantity-input {
    display: flex;
    align-items: center;
    max-width: 150px;
}
.quantity-input button {
    background: #f8f9fa;
    border: 1px solid #ced4da;
    width: 40px;
    height: 38px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.quantity-input input {
    width: 60px;
    text-align: center;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
}
.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.product-actions button {
    flex: 1;
    padding: 12px;
    font-weight: 500;
}
.product-meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.product-meta p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.product-meta i {
    width: 20px;
    margin-right: 8px;
    color: #6c757d;
}
.rating-stars {
    color: #ffc107;
    font-size: 1.2rem;
}
.section-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 15px;
}
.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #007bff;
}
@media (max-width: 768px) {
    .product-gallery img {
        height: 300px;
    }
    .product-thumbnails .thumb img {
        width: 60px;
        height: 60px;
    }
    .product-actions {
        flex-direction: column;
    }
    .product-actions button {
        width: 100%;
    }
}