﻿/* ----------------------------------------------------------
   BASISSTYLING
---------------------------------------------------------- */
html, body {
    margin: 0;
    padding: 0;
    font-family: Verdana, Arial, sans-serif;
    font-size: 16px;
    background-color: #ffffff;
    color: #222;
}

main:not(.shop-layout) {
    padding: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

a {
    color: #600;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ----------------------------------------------------------
   HEADER + TAALKEUZE
---------------------------------------------------------- */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 3px solid #600;
    background: #f8f8f8;
}

.page-header h1 {
    margin: 0;
    font-size: 1.8rem;
}

.language-switch ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.8rem;
}

.language-switch a {
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    background: #600;
    color: #fff;
    font-weight: bold;
}

.language-switch a:hover {
    background: #900;
}

.language-switch .active {
    background: #c00;
}

/* ----------------------------------------------------------
   MOBILE PANEL — CLEAN MERGED VERSION
---------------------------------------------------------- */

.mobile-panel {
    position: static;
    width: 100%;
    height: auto;
    background: #f8f8f8;
    border-top: 2px solid #600;
    padding: 2rem 1.5rem;
    display: none;
    overflow-y: auto;
    box-sizing: border-box; /* voorkomt horizontale overscroll */
}

.mobile-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-panel a {
    display: block;
    padding: 0.5rem 0;
    color: #600;
    font-weight: bold;
    text-decoration: none;
}

.mobile-panel a:hover {
    text-decoration: underline;
}

.mobile-panel li.active a {
    background: #c00;
    color: white;
}

/* ----------------------------------------------------------
   FOOTER
---------------------------------------------------------- */

.page-footer {
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    border-top: 2px solid #600;
    background: #f8f8f8;
}

/* ----------------------------------------------------------
   INTRO-PAGINA
---------------------------------------------------------- */

.intro-content p {
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

/* ----------------------------------------------------------
   GEDICHTEN
---------------------------------------------------------- */

.poem h2 {
    text-align: center;
    margin-top: 2rem;
}

.poetry-text p {
    text-align: center;
    line-height: 1.7;
    white-space: pre-line;
}

.poem-date {
    text-align: right;
    font-style: italic;
    margin-top: 1rem;
}

/* ----------------------------------------------------------
   SCHILDERIJEN – GRID
---------------------------------------------------------- */

/* Hover-zoom voor schilderijen */
.painting-img {
    transition: transform 0.25s ease;
}

.painting-img:hover {
    transform: scale(1.05);
    z-index: 2;
    position: relative;
}

.featured-painting {
    text-align: center;
    margin: 2rem 0;
}

.featured-painting img {
    max-width: 100%;
    height: auto;
}

/* ----------------------------------------------------------
   PERS-PAGINA
---------------------------------------------------------- */

.press-page {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
}

.press-page h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

.press-page p {
    color: #555;
    margin-bottom: 2rem;
}

.press-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.press-list li {
    margin-bottom: 1rem;
}

.press-list a {
    text-decoration: none;
    font-size: 1.1rem;
    color: #333;
}

.press-list a:hover {
    text-decoration: underline;
}

.press-list a::after {
    content: " ⧉";
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ----------------------------------------------------------
   QUOTES
---------------------------------------------------------- */

.quotes blockquote {
    margin: 2rem 0;
    padding: 1rem;
    border-left: 4px solid #600;
    background: #f8f8f8;
}

.quotes footer {
    text-align: right;
    font-style: italic;
}

/* ----------------------------------------------------------
   COMPOSITIES
---------------------------------------------------------- */

.compositions {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.composition {
    border-bottom: 1px solid #ccc;
    padding-bottom: 1.5rem;
}

.composition .opus {
    font-weight: bold;
    color: #600;
    margin-bottom: 0.3rem;
}

.composition .title {
    margin-bottom: 0.5rem;
}

.composition audio {
    margin-top: 0.5rem;
}

.instrumentation,
.year,
.duration {
    margin: 0.2rem 0;
}

/* Responsive YouTube embeds */
.composition iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
}

/* ----------------------------------------------------------
   SHOP
---------------------------------------------------------- */

.shop-tabs {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.shop-tabs .tab {
    background: #600;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.shop-tabs .tab:hover {
    background: #900;
}

.shop-tabs .tab.active {
    background: #c00;
}

.shop-container {
    margin-top: 2rem;
}

.back-link {
    margin-top: 2rem;
}

.shop-header {
    background: #f8f8f8;
    border-bottom: 3px solid #600;
    padding: 1rem 1.5rem;
    display: none !important;
    text-align: right;
    font-size: 1.1rem;
}

.cart-indicator span {
    font-weight: bold;
}

.shop-page .products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.2rem;
}

.shop-page .products article {
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.shop-page .products h2 {
    margin-top: 0;
    color: #600;
}

.shop-page .products p {
    margin: 0.4rem 0 0.8rem 0;
}

.shop-page .products .product img {    /* thumbnails */
    width: 100%;
    height: auto;
    max-height: 160px;     /* kleinere thumbnails in shop */
    object-fit: contain;   /* nooit uitrekken */
    background: #600;    /* was: #222 */
    padding: 6px;          /* optioneel */
    border-radius: 4px;    /* optioneel */
}

.shop-page .products figure {
    margin: 0;
    width: 100%;
}

.shop-page .products figure img {
    width: 100%;
    height: auto;
    max-height: 160px;
    object-fit: contain;
    background: #600;
    padding: 6px;
    border-radius: 4px;
}

/* ----------------------------------------------------------
   Cart rechtsboven in de header
---------------------------------------------------------- */
.header-cart {
    grid-column: 3;
    justify-self: end;
    align-self: center;
    position: relative;
    display: none !important;
    align-items: center;
    gap: 0.3rem;
}

.cart-icon {
    width: 22px;
    height: auto;
}

#cart-count {
    display: none !important;
}

#cart-total {
    display: none !important;
}

/* Sticky floating cart */
#floating-cart {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #600;
    color: white;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    z-index: 999;
    transition: background 0.2s;
}

#floating-cart:hover {
    background: #900;
}

.cart-panel {
    background: #fff;
    padding: 1.2rem;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
}

.cart-panel h2,
.cart-panel h3 {
    margin-top: 0;
    color: #600;
}

#cart-items li {
    margin-bottom: 0.6rem;
}

button.add-to-cart,
.cart-panel button {
    background: #600;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

button.add-to-cart:hover,
.cart-panel button:hover {
    background: #900;
}

#checkout-form input,
#checkout-form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}

#checkout-form textarea {
    min-height: 80px;
}

/* ----------------------------------------------------------
   INDEX / ROOT PAGINA
---------------------------------------------------------- */

.root-header {
    text-align: center;
    padding: 2rem 1rem;
    background: #f8f8f8;
    border-bottom: 3px solid #600;
}

.root-title {
    margin: 0 0 1.5rem 0;
    font-size: 2.4rem;
    color: #600;
}

.root-language-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.root-language-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    background-color: #333;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
}

.root-language-menu img {
    width: 48px;
    height: auto;
    margin-bottom: 0.4rem;
    border: 1px solid #600;
    border-radius: 4px;
}

.root-language-menu a:hover img {
    background-color: #555;
    border-color: #900;
}

/* ----------------------------------------------------------
   TAALPAGINA HEADER
---------------------------------------------------------- */

.site-header {
    border-bottom: 3px solid #600;
    background: #f8f8f8;
    padding: 1rem 1.5rem;
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.site-title {
    grid-column: 2;
    text-align: center;
    margin: 0;
    font-size: 2rem;
    color: #600;
}

.desktop-menu {
    grid-column: 3;
    justify-self: end;
}

.desktop-menu ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.desktop-menu a {
    background: #600;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-weight: bold;
    display: block;
    text-decoration: none;
}

.desktop-menu a:hover {
    background: #900;
}

.desktop-menu li.active a {
    background: #c00;
    color: white;
}

.menu-toggle {
    display: none;
}

.hamburger {
    grid-column: 3;
    justify-self: end;
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #600;
    display: block;
    border-radius: 2px;
}

@media (max-width: 800px) {

    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .site-title {
        grid-column: 1;
        text-align: left;
    }

    .desktop-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* Menu open */
.menu-toggle:checked ~ .mobile-panel {
    display: block;
}

.mobile-panel li.active a {
    background: #c00;
    color: white;
}

.desktop-menu a:focus,
.desktop-menu a:active,
.mobile-panel a:focus,
.mobile-panel a:active {
    outline: none;
    text-decoration: none;
}

/* ----------------------------------------------------------
   FOOTER LINKS
---------------------------------------------------------- */

.footer-links {
    text-align: center;
    margin: 3rem 0 1rem 0;
    font-size: 0.9rem;
    color: #600;
}

.footer-links a {
    color: #600;
    text-decoration: none;
    font-weight: bold;
}

.footer-links a:hover {
    color: #900;
    text-decoration: underline;
}

.footer-links span {
    margin: 0 0.4rem;
    color: #600;
}

/* ----------------------------------------------------------
   BACK TO TOP BUTTON
---------------------------------------------------------- */

#back-to-top {
    position: fixed;
    bottom: 8rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #600;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background 0.2s;
    z-index: 999;
}

#back-to-top:hover {
    background: #900;
    opacity: 1;
}

#back-to-top.show {
    opacity: 0.6;
    visibility: visible;
    animation: float 3.2s ease-in-out infinite;
}

@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-7px); }
    100% { transform: translateY(0); }
}

/* ----------------------------------------------------------
   BACK-TO-TOP FIX — Z-INDEX + MOBILE POSITION OVERRIDE
---------------------------------------------------------- */

/* Op mobiel moet hij hoger staan dan de floating cart */
@media (max-width: 800px) {
    #back-to-top {
        bottom: 8rem !important; /* floating cart zit op 6rem */
    }
}

/* Floating cart mag nooit onzichtbaar maar klik-blokkerend zijn */
#floating-cart {
    display: none; /* JS zet hem op flex als count > 0 */
    z-index: 20000; /* lager dan back-to-top */
}

/* ----------------------------------------------------------
   SCROLL GALLERY
---------------------------------------------------------- */

.scroll-gallery {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.scroll-track {
    display: flex;
    gap: 1rem;
    white-space: nowrap;
    will-change: transform;
    overflow-x: scroll;
    scrollbar-width: none;
}

.scroll-track::-webkit-scrollbar {
    display: none;
}

.scroll-track img {
    height: 120px;
    flex-shrink: 0;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.scroll-track img:hover {
    transform: scale(1.05);
}

@media (min-width: 900px) {
    .scroll-track img {
        height: 180px;
    }
}

@media (max-width: 600px) {
    .scroll-track img {
        height: 100px;
    }
}

/* ----------------------------------------------------------
   OPERA – ROLVERDELING ALS TABEL
---------------------------------------------------------- */

.role-header {
    font-weight: bold;
    background: #f0f0f0;
    padding: 0.5rem 0;
    border-bottom: 2px solid #600;
    display: contents;
}

.role-row {
    padding: 0.4rem 0;
    border-bottom: 1px solid #ddd;
    display: contents;
}

.role-header span,
.role-row span {
    padding: 0.3rem 0.5rem;
}

.role-row:nth-child(even) span {
    background: #fafafa;
}

/* Opera roles table — responsive fix */
@media (max-width: 600px) {
    .roles {
        grid-template-columns: 1fr 1fr; /* 2 kolommen i.p.v. 4; kan evt terug naar 1 */
    }
}

/* ----------------------------------------------------------
   OPERA – RESPONSIVE ROLES TABLE FIX
---------------------------------------------------------- */

/* Wrapper voorkomt dat de tabel de pagina breder maakt */
.roles-wrapper {
    overflow-x: auto;
    overflow-y: visible !important;
    position: relative;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    contain: layout inline-size; /* de magische sleutel */
}

/* De tabel zelf krijgt een minimale breedte zodat hij niet in elkaar klapt */
.roles {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 0.4rem;
}

/* ----------------------------------------------------------
   OPERA – GRID SHRINK FIX (voorkomt horizontale overscroll)
---------------------------------------------------------- */

/* Laat grid-items krimpen zodat italic tekst de layout niet breekt */
.roles span {
    min-width: 0;
    overflow-wrap: break-word;
}

/* Zorg dat <em> niet probeert de cel te verbreden */
.roles span em {
    white-space: normal;
}

/* ----------------------------------------------------------
   OPERA – RESPONSIVE YOUTUBE FIX
---------------------------------------------------------- */

.opera-page iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    display: block;
}

/* ----------------------------------------------------------
   OPERA – Subtitle iets subtieler
---------------------------------------------------------- */
.opera-title {
    display: flex;
    flex-direction: column;
    align-items: center; /* centreert zowel titel als subtitel */
    margin-bottom: 1.5rem;
}

.opera-title .subtitle {
    font-size: 1.4rem;      /* h2-achtig */
    font-weight: normal;
    opacity: 0.8;
    margin-top: 0.2rem;
}

.section-divider {
    border-top: 1px solid #ccc;
    margin: 2.5rem auto;
    width: 90%;          /* voor kleine schermpjes */
    max-width: 60rem;   /* voor desktop */
}

/* ============================================================
   SCHILDERIJENPAGINA – THEMA
   ============================================================ */

.paintings-page {
    background: #600;
    color: white;
}

.paintings-page main,
.paintings-page header.page-header {
    background: transparent;
    color: white;
}

.paintings-page h1,
.paintings-page h2,
.paintings-page p,
.paintings-page figcaption {
    color: white;
}

.paintings-page-title-red {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    padding: 1.5rem 0;
}

.paintings-page .site-header .site-title {
    color: #000;
}

/* ============================================================
   GRID – RESPONSIVE, AUTO-FIT, PERFECTE KOLOMBREEDTES
   ============================================================ */

.paintings-page #paintings-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    padding: 10px 2%;
    width: 100%;
    box-sizing: border-box;
}

/* ============================================================
   INDIVIDUELE SCHILDERIJEN
   ============================================================ */

.paintings-page .painting {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0; /* voorkomt openrekken van kolommen */
    text-align: center;
}

.paintings-page .painting figure {
    margin: 0;
    width: 100%;
}

/* ============================================================
   THUMBNAILS – SCHAAL PERFECT BINNEN DE KOLOM
   ============================================================ */

.paintings-page .painting img {
    width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: contain;
    display: block;
    background: #333;
    padding: 6px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

/* ============================================================
   TITELS EN META-INFORMATIE
   ============================================================ */

.paintings-page .painting h3 {
    margin: 0.5rem 0 0.2rem 0;
    font-size: 1.1rem;
}

.paintings-page .painting .year,
.paintings-page .painting .size {
    margin: 0.2rem 0;
}

.paintings-page .painting-description {
    margin-top: 0.5rem;
    font-style: italic;
    color: #ddd;
}

/* ============================================================
   METADATA – RUSTIGE, MINIMALISTISCHE PRESENTATIE
   ============================================================ */

/* Prijs – subtiel prominent */
.paintings-page .painting-price {
    margin: 0.4rem 0 0.2rem 0;
    font-size: 1.05rem;
    font-weight: bold;
    color: #ffd;
}

/* Metadata (techniek, afmetingen, lijst) */
.paintings-page .painting-meta {
    font-size: 0.95rem;
    color: #eee;
    margin: 0.15rem 0;
    line-height: 1.25;
}

.paintings-page .painting-meta strong {
    color: #fff;
    font-weight: 600;
}

/* Commentaar – zachte voetnoot */
.paintings-page .painting-description {
    margin-top: 0.5rem;
    font-style: italic;
    color: #ddd;
    line-height: 1.3;
}

/* Consistente spacing in figcaption */
.paintings-page .painting figcaption {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.4rem;
}

/* ============================================================
   OPTIONELE BREAKPOINTS (alleen nodig als jij ze wilt)
   ============================================================ */

@media (max-width: 1100px) {
    .paintings-page #paintings-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .paintings-page #paintings-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .paintings-page #paintings-container {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   LIGHTBOX (ongewijzigd)
   ============================================================ */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    cursor: zoom-out;
}

.lightbox.show {
    display: flex;
}

/* ============================================================
   BACK-TO-TOP KNOP
   ============================================================ */
.paintings-page #back-to-top {
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.paintings-page #back-to-top:hover {
    opacity: 1;
}

html {
    scroll-behavior: smooth;
}

/* ----------------------------------------------------------
   RESPONSIVE PORTRAIT (INDEX)
---------------------------------------------------------- */

.responsive-photo {
    display: block;
    margin: 0 auto;
    width: 50vw;
    height: auto;
    flex-shrink: 1;
    max-height: 90vh;
    object-fit: contain;
}

@media (max-width: 700px) {
    .responsive-photo {
        max-width: 80vw;
        max-height: 90vh;
    }
}
.cart-panel .back-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: #600;
    font-weight: bold;
}

.cart-panel .back-link:hover {
    color: #900;
    text-decoration: underline;
}

.press-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.8rem 1rem;
    border-bottom: 2px solid #600;
    background: #f8f8f8;
}

.press-title {
    text-align: center;
    font-size: 1.6rem;
    margin: 0;
    color: #600;
}

.press-back {
    justify-self: end;
    background: #600;
    color: white;
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
}

.press-back:hover {
    background: #900;
}

/* Ghost element neemt ruimte in maar is onzichtbaar */
.press-ghost {
    visibility: hidden;
}

/* ----------------------------------------------------------
   CV PAGE
---------------------------------------------------------- */

.cv-page {
    background: #fff;
    color: #333;
}

.cv-page main {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.cv-page .page-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.cv-page .page-intro h1 {
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
    color: #600;
}

.cv-page .page-intro h2 {
    font-size: 1.6rem;
    font-weight: normal;
    color: #444;
}

.cv-page .page-content p {
    line-height: 1.6;
    margin-bottom: 1.4rem;
    font-size: 1.05rem;
}

.cv-page strong {
    color: #600;
}

/* Schilderijenpagina mag volledige breedte gebruiken */
.paintings-page main {
    max-width: 100% !important;
    width: 100%;
    padding: 0 2%;
    box-sizing: border-box;
}

/* Header op schilderijenpagina ook volledige breedte */
.paintings-page .header-inner {
    max-width: 100% !important;
}

/* SHOP LAYOUT — GRID FIX */
.shop-layout {
    display: grid;
    grid-template-columns: 1fr 280px; /* producten + winkelmand */
    gap: 2rem;
    padding: 2rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .shop-layout {
        grid-template-columns: 1fr; /* één kolom op mobiel */
    }
}

/* ⭐ De winkelmand blijft smal */
.cart-panel {
    flex: 0 0 280px;   /* vaste breedte */
}

.composition-row {
    display: grid;
    grid-template-columns: 120px 1fr 180px 80px 60px;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #ccc;
    align-items: start;
}

.composition-row.sub {
    padding-left: 20px;
    opacity: 0.9;
}

.composition-row .col.opus {
    font-weight: bold;
}

.composition-row .col.title a {
    font-size: 1.05em;
    font-weight: 600;
    text-decoration: none;
    color: #333;
}

.composition-row .col.title a:hover {
    text-decoration: underline;
}

.media {
    margin-top: 6px;
}

.media iframe,
.media audio {
    width: 100%;
    max-width: 420px;
    border: none;
}

/* -------------------------
   MOBIEL
-------------------------- */
@media (max-width: 700px) {
    .composition-row {
        grid-template-columns: 1fr;
        padding: 16px 0;
    }

    .composition-row.sub {
        padding-left: 10px;
    }

    .composition-row .col {
        padding: 2px 0;
    }

    .composition-row .col.opus {
        font-weight: bold;
        font-size: 1.1em;
    }

    .composition-row .col.title {
        margin-bottom: 6px;
    }

    .media iframe,
    .media audio {
        max-width: 100%;
    }
}

.comment {
    margin-top: 4px;
    font-size: 0.9em;
    opacity: 0.85;
}

.media iframe {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: none;
}

/* ---------------------------------------------------------
   SCHEIDING TUSSEN CATEGORIEËN — FULL WIDTH
   --------------------------------------------------------- */

/* Reset */
.product {
    position: relative;
}

/* Scheiding tussen de categoriën */
.category-separator {
    grid-column: 1 / -1;
    border-top: 2px solid #adadad;
    margin: 2rem 0 1rem 0;
}

.empty-category {
    color: #999999;
    font-style: italic;
    padding: 1rem 0;
}
