/* CentriXIV · gedeelde stijl voor alle pagina's */

:root {
    --ink: #33101A;
    --paper: #FBF7F7;
    --alt: #F3E8EA;
    --card: #fff;
    --line: #E6D3D7;
    --text: #33101A;
    --muted: #5A4046;
    --accent: #B3213A;
    --eyebrow: #8A1B30;
    --blue: #6FA3FF;
    --soft: #E4CDD2;
    --ph: #EBD9DD;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    margin: 0;
}

body {
    height: 100%;
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: 'DM Sans', system-ui, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main{
    flex: 1;
}

h1, h2, h3, .logo {
    font-family: 'Space Grotesk', 'DM Sans', sans-serif;
    margin: 0;
}

p {
    margin: 0;
}

a {
    color: inherit;
}

.in {
    max-width: 1160px;
    margin: 0 auto;
}

.s {
    padding: 88px 24px;
}

.alt {
    background: var(--alt);
}

.eyebrow {
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--eyebrow);
}

h2 {
    font-size: clamp(30px, 5vw, 42px);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-top: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 28px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    border: 2px solid var(--accent);
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn.o {
    background: transparent;
    color: inherit;
    border-color: currentColor;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.g {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card p {
    color: var(--muted);
    font-size: 15px;
}

.ph {
    background: var(--ph);
    color: var(--muted);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    font-size: 14px;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lead {
    font-size: 17px;
    color: var(--muted);
}

.two {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 56px;
    align-items: center;
}

/* Header en menu */

header {
    background: var(--ink);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 5;
}

.bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 24px;
    max-width: 1160px;
    margin: 0 auto;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
}

.logo span {
    color: var(--blue);
    font-style: italic;
}

nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 10px 12px;
    font-weight: 500;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
    color: #F2B8C2;
}

nav a.active {
    border-bottom-color: var(--accent);
}

/* Hero en paginakop */

.hero {
    background: var(--ink);
    color: #fff;
    padding: 72px 24px 96px;
}

.hero .in {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 56px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(38px, 7vw, 64px);
    line-height: 1.03;
    letter-spacing: -.03em;
}

.hero p {
    font-size: 19px;
    color: var(--soft);
    max-width: 520px;
}

.pagehead {
    background: var(--ink);
    color: #fff;
    padding: 56px 24px 64px;
}

.pagehead h1 {
    font-size: clamp(34px, 6vw, 54px);
    letter-spacing: -.03em;
    line-height: 1.05;
    margin-top: 8px;
}

.pagehead p {
    color: var(--soft);
    font-size: 18px;
    max-width: 600px;
    margin-top: 12px;
}

.pagehead .eyebrow {
    color: #F2B8C2;
}

.ring {
    width: min(380px, 100%);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid #6B2536;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.ring i {
    width: 72%;
    height: 72%;
    border-radius: 50%;
    border: 2px solid #8F3347;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring b {
    width: 56%;
    height: 56%;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 clamp(34px, 6vw, 52px) 'Space Grotesk', sans-serif;
    color: #fff;
}

.num {
    font: 700 32px 'Space Grotesk', sans-serif;
    color: var(--accent);
}

.q {
    font: 700 48px 'Space Grotesk', sans-serif;
    color: var(--muted);
    opacity: .5;
}

.dark {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.dark p {
    color: var(--soft);
}

.dark .num {
    color: #F2B8C2;
}

.cta {
    text-align: center;
}

footer {
    background: var(--ink);
    color: var(--soft);
    padding: 40px 24px;
}

footer .in {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 15px;
}

/* Groepsfoto Diksmuide */

#fotodsk {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 0 !important;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

#fotodsk img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    border-radius: inherit;
}

img#fotodsk {
    height: auto;
    object-fit: cover;
    object-position: center 35%;
}

/* Bestelpagina */

.bestel-form,
.bestel-sectie {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bestel-producten {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* Product: foto links, gegevens rechts */

.product-card {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) 2fr;
    gap: 20px;
    align-items: start;
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
}

.product-card > img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 14px;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.product-info h3 {
    font-size: 23px;
}

.product-prijs {
    color: var(--accent);
    font-size: 20px;
    font-weight: 700;
}

.product-omschrijving {
    color: var(--muted);
    font-size: 15px;
}

.product-opties {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.optie-groep,
.form-groep {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.optie-groep label,
.form-groep label {
    font-weight: 700;
    font-size: 14px;
}

/* Tekstvelden en dropdowns */

.optie-groep input:not([type="checkbox"]),
.optie-groep select,
.form-groep input {
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
    padding: 10px 12px;
    font: inherit;
    color: var(--text);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: border-color .2s, box-shadow .2s;
}

.optie-groep input:focus,
.optie-groep select:focus,
.form-groep input:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Dropdown */

.optie-groep select {
    display: block;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23452b35' stroke-width='1.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* Checkbox */

.optie-checkbox {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 4px 0;
}

.optie-checkbox label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.optie-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    min-height: 22px;
    margin: 0;
    background: var(--card);
    border: 1.5px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: background .2s, border-color .2s;
}

.optie-checkbox input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.optie-checkbox input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.optie-checkbox input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Klantgegevens */

.gegevens-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-groep-breed {
    grid-column: 1 / -1;
}

.bestel-acties {
    display: flex;
    justify-content: flex-end;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.bestel-acties .btn {
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* Besteloverzicht en betaling */

.betaling {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.betaalgegevens h2 {
    margin: 0;
    color: var(--accent);
}

.betaalgegevens p {
    overflow-wrap: anywhere;
}

/* Mobiele weergave */

@media (max-width: 600px) {
    #fotodsk {
        aspect-ratio: 4 / 3;
        border-radius: 16px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
    }

    .product-card {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .product-card > img {
        aspect-ratio: 16 / 9;
    }

    .gegevens-grid {
        grid-template-columns: 1fr;
    }

    .form-groep-breed {
        grid-column: auto;
    }

    .bestel-acties .btn {
        width: 100%;
        justify-content: center;
    }
}

.g {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
}

.g .card {
    flex: 0 1 calc((100% - 72px) / 3);
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .g .card {
        flex-basis: calc((100% - 36px) / 2);
    }
}

@media (max-width: 600px) {
    .g .card {
        flex-basis: 100%;
    }
}

.ph.product-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
    padding: 0;
}

.ph.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: auto;
}

.product-buttons form {
    margin: 0;
}

.cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 50%;
    background: var(--accent);
    color: var(--card);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cart-btn:hover {
    background: var(--eyebrow);
    transform: translateY(-2px);
}

.cart-btn svg {
    width: 24px;
    height: 24px;
}

.btn:hover {
    border-color: var(--eyebrow);
    background: var(--eyebrow);
    transform: translateY(-2px);
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.cart-item-image {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 10px;
    background: var(--ph);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    margin-top: 0;
}

.cart-remove-btn {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--alt);
    color: var(--ink);
    cursor: pointer;
}

.cart-remove-btn:hover {
    background: var(--soft);
}

@media (max-width: 600px) {
    .cart-item {
        flex-wrap: wrap;
    }

    .cart-item-info {
        min-width: 0;
    }
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: inherit;
    text-decoration: none;
}

.cart-link svg {
    width: 24px;
    height: 24px;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--card);
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
}

.cart-empty {
    text-align: center;
    width: 100%;
    margin: 30px auto;
}

.betaal-inhoud {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.betaal-handmatig {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.betaal-handmatig .eyebrow,
.betaal-qr .eyebrow {
    text-align: center;
    width: 100%;
    margin-top: 0;
}

.betaal-handmatig .betaal-data {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.betaal-qr {
    text-align: center;
    border-left: 1px solid var(--line);
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.betaal-qr img {
    width: 180px;
    max-width: 100%;
}

@media (max-width: 600px) {
    .betaal-inhoud {
        grid-template-columns: 1fr;
    }

    .betaal-qr {
        border-left: none;
        border-top: 1px solid var(--line);
        padding: 20px 0 0;
    }
}

.geen-producten {
    text-align: center;
    width: 100%;
    padding: 30px;
    color: var(--muted);
}

h1.center {
    text-align: center;
}

/* Logo als afbeelding */

.logo-img {
    display: block;
    height: 60px;
    width: auto;
    max-width: 100%;
}

.logo-foot {
    height: 52px;
    margin-bottom: 8px;
}

/* Foto's op productkaarten (homepagina) en teamkaarten */

.card-foto,
.team-foto {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: var(--ph);
}

.card-foto {
    height: 220px;
}

.team-foto {
    aspect-ratio: 4 / 3;
}

.card-foto img,
.team-foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}
