.product-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}
.product-title {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
}
.product-main-image {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1/1;
    object-fit: contain;
    border-radius: 14px;
    background: #f8f9fa;
    box-shadow: 0 2px 12px #0002;
    margin: 0 auto;
    transition: box-shadow 0.2s;
}

/* Bloc infos produit */
.product-info {
    border-radius: 14px;
    box-shadow: 0 2px 12px #0001;
    padding: 2rem 2.2rem 1.5rem 2.2rem;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    min-width: 260px;
}
.product-price {
    font-size: 1.4rem;
    color: #445B8D;
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.stock-status {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.7rem;
}
.stock-status.in-stock { color: #2e7d32; }
.stock-status.out-of-stock { color: #e53935; }
.add-to-cart-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.add-to-cart-btn {
    background: #445B8D;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 0.8rem 2.2rem;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}
.add-to-cart-btn:hover {
    background: #2d3e6b;
}
.product-brand {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}
.product-category {
    font-size: 1rem;
    color: #888;
    margin-bottom: 0.5rem;
}
.product-short-desc {
    font-size: 1.13rem;
    color: #333;
    background: #f3f6ff;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    margin-bottom: 0.7rem;
}

/* Onglets description (optionnel) */
.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.7rem;
    border-bottom: 1.5px solid #eee;
}
.tab-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    padding: 0.7rem 0.5rem;
    cursor: pointer;
    color: #445B8D;
    border-bottom: 2.5px solid transparent;
    transition: border 0.2s;
}
.tab-btn.active {
    border-bottom: 2.5px solid #445B8D;
    font-weight: bold;
}
.tab-content {
    display: none;
    font-size: 1rem;
    padding-bottom: 1rem;
}
.tab-content.active {
    display: block;
}

/* Produits associés */
.related-products-section {
    margin-top: 2.5rem;
}
.related-title {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #445B8D;
    font-weight: 600;
    margin-top: 1.5rem;
}
.cat-link {
    color: #445B8D;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}
.cat-link:hover {
    color: #2e7d32;
    text-decoration: underline;
}
.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.2rem;
}
.related-product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px #0001;
    padding: 1rem 0.7rem 1.2rem 0.7rem;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}
.related-product-card:hover {
    box-shadow: 0 4px 16px #0002;
    transform: translateY(-4px) scale(1.03);
}
.related-product-card img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    background: #f7f9ff;
}
.related-product-name {
    font-size: 1.08rem;
    margin: 0.3rem 0;
    color: #222;
    font-weight: 500;
}
.related-product-price {
    color: #445B8D;
    font-weight: bold;
    font-size: 1.05rem;
}

/* Responsive */
@media (min-width: 700px) {
    .product-layout {
        display: flex;
        gap: 2.5rem;
        align-items: flex-start;
    }
    .product-gallery {
        flex: 1 1 350px;
    }
    .product-info {
        flex: 2 1 400px;
        margin-top: 0;
    }
}
@media (max-width: 700px) {
    .product-info {
        padding: 1.2rem 0.7rem;
    }
    .product-main-image {
        max-width: 98vw;
    }
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}