/* Product Detail Page - Clean Design */

/* Container */
.product-detail-wrapper {
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 30px 20px;
}

/* Category Banner */
.category-banner {
    width: 100%;
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
}

.category-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Top Header Section */
.product-detail-header {
    margin-bottom: 25px;
}

.product-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0 0 15px 0;
    padding: 0;
}

.product-detail-divider {
    height: 1px;
    background: #d0c4e8;
    border: none;
    margin: 0;
}

/* Main Content Section - Image + Info */
.product-main-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-top: 25px;
}

/* Left: Main Product Image */
.product-main-image {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    cursor: pointer;
}

/* Right: Product Info Card */
.product-info-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-name {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin: 0;
}

.product-shortcode {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.product-price {
    font-size: 32px;
    font-weight: 700;
    color: #ff3333;
    margin: 0;
}

.product-contact-text {
    font-size: 14px;
    color: #666;
    margin: 10px 0;
}

/* Social Buttons */
.product-social-buttons {
    display: flex;
    gap: 10px;
}

.product-social-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    text-decoration: none;
}

.product-social-btn.facebook {
    background: #6ba3e8;
    color: #fff;
}

.product-social-btn.facebook:hover {
    background: #5a92d7;
}

.product-social-btn.zalo {
    background: #6ba3e8;
    color: #fff;
}

.product-social-btn.zalo:hover {
    background: #5a92d7;
}

.product-social-btn img {
    width: 20px;
    height: 20px;
}

/* Product Images Section (6 slots) */
.product-images-section {
    margin-top: 40px;
}

.product-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.product-image-slot {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
}

.product-image-slot:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.product-image-slot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-image-slot.empty-slot {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.product-image-slot.empty-slot:hover {
    transform: none;
    box-shadow: none;
}

.product-image-slot.empty-slot i {
    font-size: 32px;
    color: #ccc;
}

/* Related Products Section */
.related-products-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.related-products-title {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin: 0 0 25px 0;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Responsive */
@media (max-width: 968px) {
    .product-main-content {
        grid-template-columns: 1fr;
    }
    
    .product-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-detail-title {
        font-size: 20px;
    }
    
    .product-price {
        font-size: 26px;
    }
    
    .product-images-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
