@import url('theme.css');

/* General Layout - Light Theme */
.container {
    max-width: 1400px;
    margin: auto;
    padding: 40px 20px;
}

.row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.col-md-9 {
    flex: 3;
    min-width: 0;
}

.col-md-3 {
    flex: 1;
    min-width: 250px;
}

/* Product Section */
.product-info,
.product-details-extra {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.product {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.product-carousel {
    flex: 1;
    min-width: 300px;
}

.product-carousel img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}

.carousel-thumbnails {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.carousel-thumbnails img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border-color);
    cursor: pointer;
    background: var(--bg-white);
    transition: border-color 0.3s;
}

.carousel-thumbnails img:hover {
    border-color: var(--color-primary);
}

.product-details {
    flex: 1;
    min-width: 300px;
}

.product-details h3 {
    color: var(--color-navy);
    margin-top: 0;
    font-size: 1.5rem;
}

.product-details p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Seller Info */
.seller-info {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.seller-info h4 a {
    color: var(--color-primary);
    font-weight: 600;
}

.seller-info h4 a:hover {
    color: var(--color-primary-dark);
}

/* Inquiry Form */
.inquiry-form {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-top: 0;
    box-shadow: var(--shadow-sm);
}

.inquiry-form h4 {
    color: var(--color-navy);
    margin-bottom: 20px;
}

.inquiry-form label {
    margin-top: 15px;
    color: var(--color-text-main);
    font-weight: 500;
    font-size: 13px;
    display: block;
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    margin-top: 8px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--color-text-main);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-dim);
    outline: none;
}

.inquiry-form button {
    width: 100%;
    margin-top: 20px;
    background: var(--color-primary);
    border: none;
    color: #fff;
    padding: 14px;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.inquiry-form button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Related Suppliers */
.related-suppliers {
    padding: 20px;
    text-align: center;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-top: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.related-suppliers a {
    color: var(--color-primary);
    font-weight: 600;
}

/* "You May Also Like" */
.you-may-also-like {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.you-may-also-like h2 {
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 40px;
}

.product-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    background: var(--bg-light);
}

.product-card .product-title {
    color: var(--color-text-main);
    font-weight: 500;
}

.product-card .product-title:hover {
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .col-md-9,
    .col-md-3 {
        width: 100%;
    }
}
