/* ═══════════════════════════════════════════════════════════════
   PRODUCTPAGINA
   ═══════════════════════════════════════════════════════════════ */

.ly-p-hero { padding: 40px 0 clamp(56px, 8vw, 96px); }

.ly-p-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

/* ── Beeld ───────────────────────────────────────────────────── */

.ly-p-beeld { position: sticky; top: calc(var(--ly-nav-h) + 24px); }

.ly-p-beeld > img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--ly-white);
    border: 1px solid var(--ly-line);
    border-radius: var(--ly-radius);
}

/* Vergrootknop rechtsboven op de hoofdfoto */
.ly-p-zoom {
    position: absolute;
    right: 16px; top: 16px;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--ly-ink);
    color: var(--ly-cream);
    border: 0;
    border-radius: var(--ly-radius-pill);
    cursor: pointer;
    transition: background-color var(--ly-duur) var(--ly-ease);
}
.ly-p-zoom:hover { background: var(--ly-ink-hover); }

/* ── Lightbox: alle foto's op volledige grootte, met bediening ──── */

.ly-p-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px;
    background: rgba(20, 20, 20, .94);
}
.ly-p-lightbox[hidden] { display: none; }

.ly-p-lb-foto {
    /* vw/vh i.p.v. procenten: die laatste hebben binnen flex een expliciete
       kruisas-hoogte nodig om te weten waar 100% vandaan komt, en dat gaf
       hier een veel te klein plaatje */
    display: block;
    max-width: calc(100vw - 112px);
    max-height: calc(100vh - 112px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--ly-radius);
}

.ly-p-lb-sluit,
.ly-p-lb-pijl {
    position: absolute;
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: transparent;
    color: var(--ly-op-donker);
    border: 1px solid var(--ly-lijn-donker);
    border-radius: var(--ly-radius-pill);
    cursor: pointer;
    transition: background-color var(--ly-duur) var(--ly-ease);
}
.ly-p-lb-sluit:hover,
.ly-p-lb-pijl:hover { background: rgba(250, 248, 245, .1); }

.ly-p-lb-sluit { top: 20px; right: 20px; }
.ly-p-lb-vorige   { left: 20px;  top: 50%; transform: translateY(-50%); }
.ly-p-lb-volgende { right: 20px; top: 50%; transform: translateY(-50%); }

.ly-p-lb-teller {
    position: absolute;
    left: 50%; bottom: 20px;
    transform: translateX(-50%);
    margin: 0;
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
    color: var(--ly-op-donker-zacht);
}

@media (max-width: 560px) {
    .ly-p-lightbox { padding: 24px 56px; }
    .ly-p-lb-vorige   { left: 8px; }
    .ly-p-lb-volgende { right: 8px; }
}

.ly-p-duimen {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.ly-p-duim {
    width: 66px; height: 66px;
    padding: 0;
    background: var(--ly-white);
    border: 1px solid var(--ly-line);
    border-radius: var(--ly-radius);
    overflow: hidden;
    cursor: pointer;
    transition: border-color .18s ease;
}
.ly-p-duim img { width: 100%; height: 100%; object-fit: cover; }
.ly-p-duim:hover { border-color: var(--ly-taupe); }
.ly-p-duim.is-actief { border-color: var(--ly-ink); }

/* ── Tekst ───────────────────────────────────────────────────── */

.ly-p-tekst h1 {
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    margin-bottom: 0.5em;
}

.ly-p-intro {
    font-size: 1rem;
    line-height: 1.75;
    max-width: 54ch;
}

.ly-p-prijs {
    margin: 26px 0 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ly-ink);
}
.ly-p-prijs del { opacity: .45; font-weight: 400; margin-right: 8px; }

.ly-p-knoppen {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ── Specificaties ───────────────────────────────────────────── */

.ly-specs {
    padding: clamp(56px, 8vw, 88px) 0;
    background: var(--ly-white);
    border-top: 1px solid var(--ly-line);
    border-bottom: 1px solid var(--ly-line);
}
.ly-specs h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin-bottom: 1em;
}

.ly-spec-tabel {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.94rem;
}
.ly-spec-tabel th,
.ly-spec-tabel td {
    padding: 15px 0;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--ly-line);
}
.ly-spec-tabel th {
    width: 44%;
    font-weight: 600;
    color: var(--ly-ink);
}
.ly-spec-tabel td { color: var(--ly-taupe); }
.ly-spec-tabel tr:last-child th,
.ly-spec-tabel tr:last-child td { border-bottom: 0; }

/* ── Vrije inhoud en andere producten ────────────────────────── */

.ly-p-inhoud { padding: clamp(48px, 7vw, 80px) 0; }

.ly-p-andere {
    padding: var(--ly-section) 0;
    border-top: 1px solid var(--ly-line);
}

/* ═══════════════════════════════════════════════════════════════
   MOBIEL
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {

    .ly-p-hero-inner { grid-template-columns: 1fr; gap: 32px; }
    .ly-p-beeld { position: static; }

    .ly-spec-tabel th { width: 50%; }
}

@media (max-width: 560px) {

    .ly-p-knoppen .ly-knop { width: 100%; }

    /* Bij deze breedte wordt twee kolommen te krap voor de waardes */
    .ly-spec-tabel, .ly-spec-tabel tbody, .ly-spec-tabel tr,
    .ly-spec-tabel th, .ly-spec-tabel td { display: block; width: 100%; }
    .ly-spec-tabel tr {
        padding: 13px 0;
        border-bottom: 1px solid var(--ly-line);
    }
    .ly-spec-tabel th { padding: 0 0 2px; border: 0; }
    .ly-spec-tabel td { padding: 0; border: 0; }
}
