/* =============================================================================
   FICHE PRODUIT
   ============================================================================= */
.product-page-container {
    padding: 2.5rem 2rem;
}

.product-back-link {
    margin-bottom: 2rem;
}

.product-back-link a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: flex-start;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.main-image-container {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    overflow: hidden;
    padding: 1rem;
}

.main-image-container a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}

.no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    opacity: 0.3;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
}

.thumbnail-item {
    aspect-ratio: 1;
    padding: 0.5rem;
    cursor: pointer;
    background: #ffffff;
}

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

.product-info-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-category-path {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.product-category-path .bullet {
    opacity: 0.5;
}
.product-category-path .price {
    color: var(--accent-color);
    font-weight: 800;
}

.product-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.product-price-tag {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
}

.product-description-section {
    margin-top: -0.5rem;
}

.description-content {
    padding: 1.5rem;
    background: var(--bg-color);
    line-height: 1.7;
    font-size: 1.05rem;
    color: var(--text-color);
}

.product-selection-area {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.selection-group label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

.product-meta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.shop-only-warning {
    color: #e67e22;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.shop-only-warning svg {
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.stock-status {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stock-status.in-stock {
    color: #059669;
}
.stock-status.out-of-stock {
    color: #dc2626;
}
