:root {
    --color-bg: #F6F7ED;
    --color-bg-alt: #ffffff;
    --color-accent: #54677D;
    --color-accent-dark: #1C2D49;
    --color-text: #101A2B;
    --color-muted: #54677D;
    --color-border: #BBC3D2;
    --color-hero-overlay: rgba(16, 26, 43, 0.55);
    --color-header-bg: #101A2B;
    --header-height: 72px;
    --container-width: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.site-body {
    margin: 0;
    padding-top: var(--header-height);
    font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    min-height: var(--header-height);
    padding: 0 0 0.5rem;
    display: flex;
    align-items: center;
    background: var(--color-header-bg);
    color: #F6F7ED;
    box-shadow: 0 1px 0 rgba(187, 195, 210, 0.15);
}

.site-header .container {
    max-width: none;
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    text-decoration: none;
    line-height: 0;
}

.header-logo {
    display: block;
    max-height: 48px;
    width: auto;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #BBC3D2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 0.95rem;
    background: rgba(28, 45, 73, 0.4);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-title {
    font-size: 1rem;
    font-weight: 600;
}

.brand-subtitle {
    font-size: 0.8rem;
    opacity: 0.8;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
    font-size: 0.95rem;
}

.main-nav a {
    color: inherit;
    text-decoration: none;
    position: relative;
    padding-bottom: 0.2rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.2s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    font-size: 0.8rem;
}

.header-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #F6F7ED;
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.12);
    border-color: #BBC3D2;
    color: #F6F7ED;
}

.btn-outline:hover {
    background: #F6F7ED;
    border-color: #F6F7ED;
    color: #101A2B;
}

.btn-ghost {
    background: transparent;
    border-color: transparent;
    color: #F6F7ED;
}

.btn-ghost:hover {
    border-color: #BBC3D2;
    background: rgba(28, 45, 73, 0.25);
}

.hero {
    position: relative;
    min-height: 70vh;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--color-hero-overlay), var(--color-hero-overlay)), url('/images/hero-home.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: relative;
    z-index: 1;
    padding: 7rem 0 5rem;
    color: #F6F7ED;
}

.hero-content {
    max-width: 640px;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 2.4rem;
    line-height: 1.15;
    margin: 0 0 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    max-width: 32rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.section {
    padding: 4rem 0;
    background: var(--color-bg);
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: center;
}

.section-grid-reverse {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
}

.section-content h2 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 1.8rem;
    margin: 0 0 1rem;
}

.section-content p {
    margin: 0 0 0.85rem;
    color: var(--color-muted);
    line-height: 1.7;
}

.section-media {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(16, 26, 43, 0.15);
    min-height: 260px;
}

.photo {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.photo-team {
    background-image: url('/images/team-placeholder.jpg');
}

.photo-ceremony {
    background-image: url('/images/ceremony-placeholder.jpg');
}

.link-more {
    display: inline-block;
    margin-top: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    color: var(--color-accent-dark);
    border-bottom: 1px solid rgba(84, 103, 125, 0.5);
    padding-bottom: 0.1rem;
}

.link-more:hover {
    color: var(--color-accent);
}

.icon-list {
    margin: 1rem 0 0.5rem;
    padding-left: 1.2rem;
    color: var(--color-muted);
}

.icon-list li {
    margin-bottom: 0.35rem;
}

.testimonial-strip {
    padding: 3rem 0;
    background: #BBC3D2;
    border-top: 1px solid rgba(16, 26, 43, 0.1);
    border-bottom: 1px solid rgba(16, 26, 43, 0.1);
    text-align: center;
}

.testimonial-strip blockquote {
    margin: 0 auto 0.75rem;
    max-width: 700px;
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.section-header {
    max-width: 720px;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 1.8rem;
    margin: 0 0 0.75rem;
}

.section-header p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.obituary-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-border);
}

.obituary-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--color-border);
}

.obituary-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #BBC3D2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: #101A2B;
}

.obituary-main h3 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
}

.obituary-meta {
    margin: 0 0 0.35rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.obituary-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.obituary-link {
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--color-accent-dark);
}

.obituary-link:hover {
    color: var(--color-accent);
}

.obituary-more {
    margin-top: 1.8rem;
    text-align: center;
}

.overlijdens-table-wrapper {
    margin-top: 1.5rem;
}

.overlijdens-status {
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    background: rgba(84, 103, 125, 0.06);
    color: var(--color-muted);
    font-size: 0.95rem;
}

.overlijdens-status-error {
    background: rgba(179, 53, 53, 0.08);
    color: #8b1e1e;
}

.overlijdens-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

.overlijdens-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    align-items: center;
    padding: 1.4rem 1.6rem;
    border-radius: 14px;
    background: var(--color-bg-alt);
    box-shadow: 0 12px 30px rgba(16, 26, 43, 0.08);
}

.overlijdens-card-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
}

.overlijdens-card-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.overlijdens-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
}

.overlijdens-card-name {
    margin: 0 0 0.2rem;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.overlijdens-card-meta {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-muted);
}

.overlijdens-card-note {
    margin: 0.7rem 0 0;
    font-size: 0.9rem;
    color: var(--color-muted);
    font-style: italic;
}

.overlijdens-card-actions {
    margin-top: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.overlijdens-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: #ffffff;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.overlijdens-button:hover {
    background: #101a2b;
    color: #f6f7ed;
    border-color: #101a2b;
    box-shadow: 0 8px 18px rgba(16, 26, 43, 0.25);
}

@media (max-width: 1024px) {
    .overlijdens-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .overlijdens-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .overlijdens-card-photo {
        max-width: none;
        height: 220px;
    }
}

.overlijdens-table-scroll {
    width: 100%;
    overflow-x: auto;
}

.overlijdens-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: var(--color-bg-alt);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(16, 26, 43, 0.08);
}

.overlijdens-table thead {
    background: #E4E8F0;
}

.overlijdens-table th,
.overlijdens-table td {
    padding: 0.8rem 1rem;
    text-align: left;
}

.overlijdens-table th {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.overlijdens-table tbody tr:nth-child(even) {
    background: #F6F7FD;
}

.overlijdens-name {
    font-weight: 600;
}

.overlijdens-name-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.overlijdens-photo {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
}

.overlijdens-flags {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.overlijdens-flag {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.overlijdens-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.overlijdens-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    font-size: 0.78rem;
    color: var(--color-accent-dark);
    background: #ffffff;
}

.condoleren-modal-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(16, 26, 43, 0.55);
    z-index: 150;
    padding: 1.5rem;
}

.condoleren-modal-overlay.is-visible {
    display: flex;
}

.condoleren-modal {
    width: 100%;
    max-width: 540px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 22px 50px rgba(16, 26, 43, 0.35);
    padding: 1.75rem 1.75rem 1.5rem;
    position: relative;
}

.condoleren-modal.condoleren-modal-complete {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 180px;
}

.condoleren-modal h3 {
    margin: 0 0 0.4rem;
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
}

.condoleren-modal-subtitle {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: var(--color-muted);
}

.condoleren-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.9rem;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-muted);
}

.condoleren-status {
    margin: 0 0 0.75rem;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.condoleren-status-error {
    background: rgba(179, 53, 53, 0.08);
    color: #8b1e1e;
}

.condoleren-status-success {
    background: rgba(45, 148, 89, 0.1);
    color: #256a3a;
}

.condoleren-status-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.condoleren-spinner {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid rgba(84, 103, 125, 0.3);
    border-top-color: var(--color-accent);
    animation: condoleren-spin 0.6s linear infinite;
}

@keyframes condoleren-spin {
    to {
        transform: rotate(360deg);
    }
}

.condoleren-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.condoleren-form label {
    font-size: 0.9rem;
    font-weight: 600;
}

.condoleren-form input[type="text"],
.condoleren-form input[type="email"],
.condoleren-form textarea {
    padding: 0.5rem 0.65rem;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    font-size: 0.95rem;
    font-family: inherit;
}

.condoleren-form textarea {
    resize: vertical;
    min-height: 96px;
}

.condoleren-form input:focus,
.condoleren-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(84, 103, 125, 0.22);
}

.condoleren-form .form-actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.checkout-form .form-actions {
    margin-top: 1.5rem;
}

.site-footer {
    margin-top: 3rem;
    background: #101A2B;
    color: #F6F7ED;
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

.footer-block h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-block p {
    margin: 0;
    font-size: 0.9rem;
    color: #BBC3D2;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(187, 195, 210, 0.25);
    padding: 1rem 0;
    margin-top: 0.25rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #BBC3D2;
}

@media (max-width: 960px) {
    .header-inner {
        align-items: flex-start;
    }

    .main-nav {
        display: none;
    }

    .hero-overlay {
        padding-top: 6rem;
    }

    .section-grid,
    .section-grid-reverse {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-media {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .header-cta {
        align-items: flex-start;
    }

    .obituary-item {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-rows: auto auto;
    }

    .obituary-link {
        grid-column: 2 / 3;
        justify-self: flex-start;
        margin-top: 0.4rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}

.form {
    max-width: 640px;
    margin-top: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 640px) {
    .checkout-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    padding: 0.5rem 0.65rem;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    font-size: 0.95rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(84, 103, 125, 0.22);
}

/* Familieruimte: beperk grootte van overlijdensdossier-foto */
.overlijdensdossier-foto {
    max-width: 360px;
}

.overlijdensdossier-foto img {
    max-width: 100%;
    max-height: 360px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Familieruimte: header met subtiel menu */
.familieruimte-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.familieruimte-header-title h1 {
    margin: 0;
}

.familieruimte-header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.familieruimte-header-nav-leave {
    margin-left: auto;
}

.familieruimte-header-nav-leave button.familieruimte-header-link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.familieruimte-header-link {
    text-decoration: none;
    color: var(--color-accent-dark);
    border-bottom: 1px solid transparent;
    padding-bottom: 0.1rem;
}

.familieruimte-header-link:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

@media (max-width: 640px) {
    .familieruimte-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .familieruimte-header-nav {
        width: 100%;
    }
}

/* Condoleren lijst (familieruimte) */
.condoleren-leeg {
    color: var(--color-muted);
    margin: 0;
}

.condoleren-lijst {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.condoleren-item {
    background: var(--color-bg-alt);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(16, 26, 43, 0.06);
}

.condoleren-item-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.condoleren-item-naam {
    font-size: 1.05rem;
}

.condoleren-item-datum {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.condoleren-item-contact {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 0.35rem;
}

.condoleren-item-contact a {
    color: var(--color-accent-dark);
}

.condoleren-item-adres {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.condoleren-item-bericht {
    margin: 0.75rem 0 0;
    padding: 0.75rem 0 0;
    border-left: 3px solid var(--color-accent);
    padding-left: 1rem;
    font-style: italic;
    color: var(--color-text);
}

/* Bloemen webshop / Bestelde producten (familieruimte) */
.bloemen-intro {
    margin: 0 0 1.5rem;
    color: var(--color-muted);
}

.producten-besteld-section h2 {
    margin: 0 0 1.25rem;
    font-size: 1.25rem;
}

.factuur-card {
    background: var(--color-bg-alt);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 12px rgba(16, 26, 43, 0.08);
}

.factuur-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.factuur-card-header h3 {
    margin: 0;
    font-size: 1.15rem;
}

.factuur-datum,
.factuur-totaal {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.factuur-contactgegevens {
    margin-bottom: 1.25rem;
}

.factuur-contactgegevens h4,
.factuur-lijnen h4 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    color: var(--color-muted);
}

.factuur-adres {
    font-style: normal;
    margin: 0;
}

.factuur-lijnen-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.factuur-lijnen-table th,
.factuur-lijnen-table td {
    padding: 0.5rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.factuur-lijnen-table th {
    font-weight: 600;
    color: var(--color-muted);
}

.factuur-col-aantal,
.factuur-col-prijs,
.factuur-col-btw,
.factuur-col-totaal {
    text-align: right;
    white-space: nowrap;
}

.text-muted {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.winkel-intro {
    margin: 0.35rem 0 0;
    color: var(--color-muted);
    font-size: 1rem;
}

.alert {
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.winkelwagen-section {
    background: var(--color-bg-alt);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(16, 26, 43, 0.06);
}

.winkelwagen-section h2 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

.winkelwagen-lijst {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
}

.winkelwagen-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.winkelwagen-item:last-child {
    border-bottom: none;
}

.winkelwagen-item-naam {
    flex: 1;
}

.winkelwagen-item-aantal {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.winkelwagen-item-prijs {
    font-weight: 600;
}

.winkelwagen-totaal {
    margin: 0;
    font-size: 1rem;
}

.winkelwagen-afrekenen {
    margin-top: 1rem;
    display: inline-block;
}

.producten-section h2 {
    margin: 0 0 1.25rem;
    font-size: 1.25rem;
}

.producten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-alt);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 12px rgba(16, 26, 43, 0.08);
}

.product-card-image {
    aspect-ratio: 4/3;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-image img {
    max-height: 260px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-border);
    color: var(--color-muted);
    font-size: 0.85rem;
}

.product-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.product-card-meta {
    margin: 0;
    font-size: 0.8rem;
    color: var(--color-muted);
}

.product-card-naam {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.product-card-beschrijving {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.4;
}

.product-card-prijs {
    margin: 0.5rem 0 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.product-card-form {
    margin-top: auto;
    padding-top: 1rem;
}

.product-card-form-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-card-aantal-label {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.product-card-aantal-input {
    width: 4rem;
    padding: 0.4rem 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 0.9rem;
}

.product-card-form .btn {
    flex: 1;
    min-width: 140px;
}

