/* (Ge)dicht bij het Hart — stijl afgeleid van het logo:
   warme ivoor/beige, antiek goud als accent, zacht bruin voor leestekst. */

:root {
    --gold: #b08d57;
    --gold-bright: #c9a227;
    --gold-soft: #e4d3ad;
    --beige: #f4ecdd;
    --beige-soft: #faf6ee;
    --white: #ffffff;
    --black: #211a12;
    --brown: #5a4632;
    --brown-deep: #3a2e20;
    --danger: #a3402f;
    --success: #4a6b4d;

    --font-display: 'Big Caslon', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
    --font-body: 'Avenir Next', 'Segoe UI', system-ui, -apple-system, sans-serif;

    --radius: 10px;
    --shadow: 0 6px 24px rgba(58, 46, 32, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--brown-deep);
    background: var(--beige-soft);
    line-height: 1.6;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--black);
    line-height: 1.2;
    margin: 0 0 0.5em;
    font-weight: 500;
}

h1 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Langere tekstpagina's (privacy & voorwaarden e.d.) */
.prose { max-width: 720px; }
.prose h2 { font-family: var(--font-display); font-size: 1.25rem; color: var(--brown-deep); margin: 1.75rem 0 0.5rem; }
.prose p { margin: 0 0 1rem; line-height: 1.65; }

/* Hart-lijnmotief: hergebruikt de vloeiende lijn/hart-vorm uit het logo als
   scheidingselement, in plaats van een generieke horizontale streep. */
.heart-divider {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0;
    opacity: 0.85;
}
.heart-divider svg { width: 96px; height: auto; color: var(--gold); }

/* "Meer over mij"-pagina: foto naast de tekst op breed scherm, eronder op smal. */
.about-me-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.about-me-photo {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.about-me-text { flex: 1; min-width: 240px; }

/* Header */
.site-header {
    background: var(--beige-soft);
    border-bottom: 1px solid var(--gold-soft);
    position: sticky;
    top: 0;
    z-index: 40;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--black);
    letter-spacing: 0.02em;
}
.brand img { height: 44px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.main-nav a {
    color: var(--brown-deep);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    position: relative;
    padding: 4px 0;
}
.main-nav a:hover { color: var(--gold-bright); }
.main-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 100%;
    bottom: -2px;
    height: 1px;
    background: var(--gold-bright);
    transition: right 0.25s ease;
}
.main-nav a:hover::after { right: 0; }

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 0.9rem;
    color: var(--brown-deep) !important;
}
.cart-link:hover { background: var(--gold); color: var(--white) !important; }
.cart-count {
    background: var(--gold-bright);
    color: var(--white);
    border-radius: 999px;
    font-size: 0.75rem;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.nav-toggle { display: none; }

@media (max-width: 780px) {
    .main-nav { display: none; gap: 16px; }
    .main-nav.open { display: flex; flex-direction: column; width: 100%; padding-bottom: 16px; }
    .nav-toggle {
        display: inline-flex;
        background: none;
        border: 1px solid var(--gold);
        border-radius: 8px;
        padding: 8px 12px;
        cursor: pointer;
        color: var(--brown-deep);
    }
    .site-header .container { flex-wrap: wrap; }
}

/* Hero */
.hero {
    position: relative;
    padding: 72px 0 88px;
    text-align: center;
    background: radial-gradient(ellipse at top, var(--beige) 0%, var(--beige-soft) 70%);
    overflow: hidden;
}
.hero-logo { max-width: 340px; margin: 0 auto 8px; }
.hero-slogan {
    font-family: var(--font-display);
    font-size: 1.4rem;
    line-height: 1.4;
    color: var(--gold-bright);
    margin: 0 auto 1.25rem;
}
.hero p.tagline {
    font-size: 1.05rem;
    color: var(--brown);
    max-width: 680px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    padding: 13px 30px;
    border-radius: 999px;
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--white) !important; }
.btn-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.btn-outline { background: transparent; color: var(--brown-deep) !important; }
.btn-outline:hover { background: var(--gold-soft); }
.btn-danger { border-color: var(--danger); color: var(--danger) !important; background: transparent; }
.btn-danger:hover { background: var(--danger); color: var(--white) !important; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Categorie-tegels */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 2rem 0 3rem;
}
.category-card {
    background: var(--beige-soft);
    border: 1px solid var(--gold-soft);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.category-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.category-card h3 { margin-bottom: 6px; }
.category-card p { color: var(--brown); font-size: 0.9rem; margin: 0; }

/* Productgrid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
    margin: 2rem 0;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); }
.product-card .thumb {
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--beige);
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.product-card .price { font-family: var(--font-display); color: var(--gold-bright); font-size: 1.1rem; margin: 6px 0 12px; }
.product-card .cat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brown);
    opacity: 0.7;
}
.badge-out { color: var(--danger); font-size: 0.85rem; font-weight: 600; }
.badge-low { color: #93650f; font-size: 0.8rem; }

/* Thema-chips: kleine, rustige linkjes (winkelfilter, productpagina, home) —
   bewust géén grote blokken, zoals afgestemd met Celicia. */
.theme-chip {
    display: inline-block;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid var(--gold-soft);
    color: var(--brown);
    margin: 0 4px 4px 0;
    white-space: nowrap;
}
.theme-chip:hover { border-color: var(--gold); }
.theme-chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* Productdetail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin: 2.5rem 0; align-items: start; }
.product-detail .thumb { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 780px) { .product-detail { grid-template-columns: 1fr; gap: 28px; } }

.qty-input { width: 70px; padding: 8px; border: 1px solid var(--gold-soft); border-radius: 6px; font-size: 1rem; }

.addon-box {
    background: var(--beige);
    border: 1px dashed var(--gold);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.delivery-option {
    background: var(--beige);
    border: 1px solid var(--gold-soft);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    cursor: pointer;
}
.delivery-option input[type="radio"] { margin-top: 4px; flex-shrink: 0; }
.delivery-option:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }

/* Formulieren */
form.stack { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.9rem; color: var(--brown-deep); font-weight: 600; }
.field input, .field select, .field textarea {
    padding: 11px 14px;
    border: 1px solid var(--gold-soft);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--white);
    color: var(--black);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: 2px solid var(--gold-bright);
    outline-offset: 1px;
}
.field-row { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.hint, .field .hint { font-size: 0.8rem; color: var(--brown); opacity: 0.8; }
.field .error { font-size: 0.85rem; color: var(--danger); }

/* Winkelmand / bestelling */
table.cart-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
table.cart-table th { text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brown); border-bottom: 1px solid var(--gold-soft); padding: 8px 10px; }
table.cart-table td { padding: 14px 10px; border-bottom: 1px solid var(--beige); vertical-align: middle; }
table.cart-table img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.totals-box { max-width: 340px; margin-left: auto; }
.totals-box .row { display: flex; justify-content: space-between; padding: 6px 0; }
.totals-box .row.grand { font-family: var(--font-display); font-size: 1.25rem; border-top: 1px solid var(--gold-soft); margin-top: 8px; padding-top: 12px; }

.payment-box {
    background: var(--beige);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    margin: 2rem 0;
}
.payment-box img.qr { margin: 0 auto 16px; border: 8px solid var(--white); border-radius: 8px; box-shadow: var(--shadow); }
.payment-detail { text-align: left; max-width: 360px; margin: 16px auto 0; font-size: 0.95rem; }
.payment-detail .row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dotted var(--gold-soft); }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin: 2rem 0; }
.review-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.review-card .stars { color: var(--gold-bright); letter-spacing: 2px; margin-bottom: 8px; }
.review-card .author { margin-top: 12px; font-weight: 600; color: var(--brown-deep); font-size: 0.9rem; }

/* Alerts */
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 0.95rem; }
.alert-success { background: #e8efe6; color: var(--success); border: 1px solid #c6d8c1; }
.alert-error { background: #f6e5e1; color: var(--danger); border: 1px solid #e3bcb2; }

/* Footer */
.site-footer {
    background: var(--brown-deep);
    color: var(--beige-soft);
    margin-top: 4rem;
    padding: 40px 0 24px;
}
.site-footer a { color: var(--gold-soft); }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; font-size: 0.9rem; }
.site-footer .cols { display: flex; gap: 60px; flex-wrap: wrap; }
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 10px; }
.site-footer .bottom { text-align: center; opacity: 0.6; font-size: 0.8rem; margin-top: 30px; }

/* Admin */
.admin-body { background: var(--beige-soft); }
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--brown-deep); color: var(--beige-soft); padding: 24px 0; }
.admin-sidebar .brand { color: var(--white); padding: 0 20px 20px; font-size: 1.1rem; }
.admin-sidebar a { display: block; color: var(--beige-soft); padding: 10px 20px; font-size: 0.92rem; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,0.08); color: var(--gold-soft); }
.admin-main { padding: 32px; max-width: 1100px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }

table.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.admin-table th { background: var(--beige); text-align: left; padding: 10px 14px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--brown); }
table.admin-table td { padding: 12px 14px; border-top: 1px solid var(--beige); font-size: 0.95rem; }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; }
.status-nieuw { background: #eee0b8; color: #7a5b00; }
.status-betaald { background: #d3e6d0; color: var(--success); }
.status-verzonden { background: #cfe0ea; color: #2a5a75; }
.status-geannuleerd { background: #f0d4cd; color: var(--danger); }
.status-active { background: #d3e6d0; color: var(--success); }
.status-draft { background: #e8e2d5; color: var(--brown); }
.status-archived { background: #f0d4cd; color: var(--danger); }

.card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px; }
.table-actions a, .table-actions button { font-size: 0.85rem; margin-right: 10px; }
