/* =============================================
   product.css - Individuele productpagina
   ============================================= */

/* ---- Wrapper ---- */
.product-page {
    padding: 2rem 0 3rem;
    max-width: 960px;
}

/* ---- 2-kolom: afbeelding + info ---- */
.product-main {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* ---- Afbeelding ---- */
.product-img-wrap {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    background: var(--color-bg-off);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrap img {
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
    display: block;
}

/* ---- Badges ---- */
.product-meta-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.product-category-badge,
.product-chip-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2em 0.55em;
    border-radius: var(--radius);
    background: var(--color-bg-off);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
}

.product-chip-badge {
    background: #fff3f0;
    border-color: #f5c4b8;
    color: var(--color-accent);
}

/* ---- Titel ---- */
.product-title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    line-height: 1.3;
    margin: 0 0 1rem;
    color: var(--color-text);
}

/* ---- Prijs ---- */
.product-price-block {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
}

.product-price-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ---- Knop ---- */
.product-actions {
    margin-bottom: 1.5rem;
}

.btn-bol {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.7rem 1.6rem;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background 0.15s;
}

.btn-bol:hover {
    background: var(--color-accent-hover);
    color: #fff;
}

/* ---- Specificaties tabel ---- */
.product-specs {
    margin-top: 1.5rem;
}

.product-specs table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.product-specs td {
    padding: 0.4rem 0;
    vertical-align: top;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

.product-specs td:first-child {
    width: 120px;
    color: var(--color-text-muted);
    font-weight: 500;
    padding-right: 1rem;
}

/* ---- Affiliate notice ---- */
.product-affiliate-notice {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
    line-height: 1.5;
}

/* ---- Omschrijving ---- */
.product-description {
    margin-top: 2.5rem;
    max-width: 800px;
}

.product-description h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.product-description-body {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text);
}

/* ---- Vergelijkbare producten ---- */
.product-related {
    margin-top: 3rem;
}

.product-related h2 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--color-text);
}

/* ---- FAQ ---- */
.product-faq {
    margin-top: 3rem;
}

.product-faq h2 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--color-text);
}

/* ---- Responsive: 1 kolom onder 700px ---- */
@media (max-width: 700px) {
    .product-main {
        grid-template-columns: 1fr;
    }

    .product-img-wrap {
        aspect-ratio: auto;
        padding: 1rem;
    }

    .product-img-wrap img {
        max-height: 260px;
    }

    .product-price {
        font-size: 1.5rem;
    }
}
