/*
Theme Name: Complimentje Core Bridge
Theme URI: https://complimentje.nu
Author: Complimentje.nu
Description: Minimale theme-bridge voor plugin-first generatorflow.
Version: 0.1.0
Text Domain: complimentje-core-bridge
*/

/* ─── Tokens ─────────────────────────────────────────────────── */
:root {
    --cjn-bg: #ffffff;
    --cjn-surface: #ffffff;
    --cjn-border: #e5e1dc;
    --cjn-text: #3e2f27;
    --cjn-muted: #9e867a;
    --cjn-accent: #c96f43;
    --cjn-accent-dark: #a85632;
    --cjn-accent-soft: #f9e2d4;
    --cjn-radius-lg: 20px;
    --cjn-radius-md: 14px;
    --cjn-radius-pill: 999px;
    --cjn-shadow: 0 2px 12px rgba(50, 38, 28, 0.055);
    --cjn-shadow-lg: 0 6px 24px rgba(50, 38, 28, 0.08);
    --cjn-max: 680px;
    --cjn-rule: rgba(150, 122, 94, 0.12);
}

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

body {
    margin: 0;
    background: var(--cjn-bg);
    color: var(--cjn-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.55;
}

body.home {
    background:
        radial-gradient(ellipse 1500px 620px at 50% -60px, rgba(248, 250, 255, 0.72) 0%, rgba(255, 255, 255, 0) 65%),
        radial-gradient(ellipse 900px 420px at 50% 36%, rgba(246, 248, 252, 0.34) 0%, rgba(255, 255, 255, 0) 80%),
        var(--cjn-bg);
}

.site-header {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(173, 152, 136, 0.22);
    box-shadow: 0 8px 22px rgba(88, 67, 51, 0.05);
    color: rgba(102, 89, 79, 0.94);
}

body.admin-bar .site-header {
    top: 32px;
}

.site-header__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 14px 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.site-header__brand-wrap {
    justify-self: start;
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
    color: rgba(84, 70, 60, 0.96);
    text-decoration: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.16rem;
    line-height: 1;
    letter-spacing: 0.01em;
}

.site-header__brand:hover,
.site-header__brand:focus {
    color: rgba(67, 56, 49, 0.98);
}

.site-header__nav {
    justify-self: center;
}

.site-header__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 26px;
}

.site-header__menu a {
    color: rgba(96, 82, 72, 0.92);
    text-decoration: none;
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.2;
    transition: color 0.14s ease;
}

.site-header__menu a:hover,
.site-header__menu a:focus {
    color: rgba(72, 60, 52, 0.98);
}

.site-header__menu a[aria-current="page"],
.site-header__menu a.is-current,
.site-header__menu .current-menu-item > a,
.site-header__menu .current_page_item > a,
.site-header__menu .current-menu-ancestor > a,
body.home .site-header__nav--home .site-header__menu a[href*="#ontvang-een-compliment"] {
    color: rgba(74, 58, 50, 0.99);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(201, 111, 67, 0.55);
    text-underline-offset: 0.26em;
    text-decoration-thickness: 1.5px;
}

.site-header__actions {
    justify-self: end;
}

.site-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 22px;
    border-radius: 10px;
    border: 1px solid rgba(186, 165, 148, 0.72);
    background: #fff;
    color: rgba(99, 84, 73, 0.94);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1;
    transition: border-color 0.14s ease, color 0.14s ease, background 0.14s ease;
}

.site-header__cta:hover,
.site-header__cta:focus {
    border-color: rgba(170, 146, 126, 0.88);
    color: rgba(79, 66, 57, 0.98);
    background: #fffdfb;
}

@media (max-width: 920px) {
    .site-header__inner {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .site-header__brand-wrap,
    .site-header__nav,
    .site-header__actions {
        justify-self: center;
    }

    .site-header__brand {
        font-size: 1.08rem;
    }

    .site-header__menu {
        gap: 8px 18px;
    }

    .site-header__menu a {
        font-size: 0.98rem;
    }
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

.site-main {
    /*max-width: var(--cjn-max);*/
    margin: 0 auto;
    padding: 20px 20px 48px;
}

body.cjn-flow-shell .site-main {
    max-width: 1380px;
    padding-top: 28px;
    padding-bottom: 64px;
}

/* ─── Homepage wider stage ────────────────────────────────────── */
body.home .site-main {
    max-width: 1020px;
    padding-top: 48px;
    padding-bottom: 60px;
}

.site-footer {
    max-width: var(--cjn-max);
    margin: 0 auto;
    padding: 20px 20px 32px;
    border-top: 1px solid var(--cjn-rule);
    font-size: 0.85rem;
    color: var(--cjn-muted);
}

.site-footer__inner {
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
}

.site-footer__menu,
.site-footer__quicklinks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
}

.site-footer__menu a,
.site-footer__quicklinks a {
    color: rgba(108, 91, 80, 0.9);
    text-decoration: none;
}

.site-footer__menu a:hover,
.site-footer__menu a:focus,
.site-footer__quicklinks a:hover,
.site-footer__quicklinks a:focus {
    color: rgba(78, 64, 56, 0.98);
}

.site-footer__copyright {
    display: block;
}


/* ─── Homepage flow ───────────────────────────────────────────── */
.cjn-home-flow {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* ─── Generator stage (outer frame) ──────────────────────────── */
.cjn-stage {
    background: #fff;
    border: 1px solid rgba(170, 176, 188, 0.16);
    border-radius: 28px;
    max-width: 960px;
    margin: 0 auto;
    padding: 38px 40px 30px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.9),
        0 10px 28px rgba(54, 58, 72, 0.05);
}

/* ─── Hero ────────────────────────────────────────────────────── */
.cjn-hero {
    text-align: center;
    padding: 0;
}

.cjn-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 0 auto 14px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(198, 181, 142, 0.45);
    color: rgba(118, 111, 93, 0.94);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 252, 255, 0.96) 100%);
}

.cjn-hero::after {
    content: "";
    display: block;
    width: min(620px, 100%);
    margin: 26px auto 0;
    border-top: 1px solid rgba(177, 184, 198, 0.26);
}

.cjn-hero h1 {
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.05rem, 4.9vw, 3.3rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.032em;
    color: var(--cjn-text);
}

.cjn-hero-card {
    margin: 0 auto;
    max-width: 860px;
    border: 1px solid rgba(176, 183, 198, 0.28);
    border-radius: 30px;
    background:
        radial-gradient(100% 130% at 50% -16%, rgba(252, 253, 255, 0.98) 0%, rgba(248, 250, 255, 0.95) 44%, rgba(255, 255, 255, 0.96) 100%),
        #fff;
    box-shadow: 0 14px 36px rgba(62, 70, 86, 0.06);
    padding: 30px 24px 28px;
}

.cjn-hero-card__support {
    margin: 14px auto 0;
    max-width: 620px;
    color: rgba(103, 111, 127, 0.9);
    font-size: 0.98rem;
    line-height: 1.66;
}

.cjn-hero__sub {
    margin: 0 auto 10px;
    max-width: 520px;
    color: rgba(93, 101, 118, 0.9);
    font-size: 1rem;
    line-height: 1.62;
}

.cjn-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 14px;
    margin-bottom: 0;
}

.cjn-flow-links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 10px 0 0;
}

.cjn-flow-links a {
    text-decoration: none;
}

.cjn-flow-links__primary,
.cjn-flow-links__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: var(--cjn-radius-pill);
    padding: 10px 18px;
    font-size: 0.94rem;
}

.cjn-flow-links__primary {
    border: 1px solid rgba(173, 153, 138, 0.62);
    background: #fff;
    color: rgba(86, 71, 62, 0.95);
}

.cjn-flow-links__secondary {
    border: 1px solid rgba(188, 165, 148, 0.58);
    background: rgba(255, 251, 247, 0.96);
    color: rgba(108, 91, 80, 0.92);
}

/* ─── Surprise button ─────────────────────────────────────────── */
.cjn-btn-surprise {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    background: linear-gradient(160deg, #d4bf8c 0%, #cbb377 58%, #c3a967 100%);
    color: #3f3727;
    border: 1px solid rgba(171, 147, 91, 0.48);
    border-radius: var(--cjn-radius-pill);
    padding: 14px 34px;
    font-size: 0.99rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 252, 241, 0.62),
        inset 0 0 0 1px rgba(247, 233, 194, 0.4),
        0 3px 10px rgba(96, 90, 69, 0.16);
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, opacity 0.15s, transform 0.1s;
    letter-spacing: 0.018em;
    text-decoration: none;
}

.cjn-btn-surprise:hover  {
    opacity: 0.97;
    transform: translateY(-1px);
    background: linear-gradient(160deg, #cfba87 0%, #c5ad71 58%, #bfa460 100%);
    border-color: rgba(161, 138, 83, 0.54);
    box-shadow:
        inset 0 1px 0 rgba(255, 253, 245, 0.64),
        inset 0 0 0 1px rgba(247, 233, 194, 0.44),
        0 4px 12px rgba(96, 90, 69, 0.18);
}

.cjn-btn-surprise:active {
    transform: translateY(0);
    opacity: 1;
    box-shadow:
        inset 0 1px 0 rgba(255, 252, 241, 0.48),
        inset 0 0 0 1px rgba(247, 233, 194, 0.3),
        0 1px 5px rgba(96, 90, 69, 0.12);
}

.cjn-hero__cta-secondary {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid rgba(173, 153, 138, 0.62);
    border-radius: var(--cjn-radius-pill);
    background: #fff;
    color: rgba(106, 89, 78, 0.92);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: border-color 0.14s ease, color 0.14s ease, background 0.14s ease;
}

.cjn-hero__cta-secondary:hover,
.cjn-hero__cta-secondary:focus {
    border-color: rgba(156, 133, 116, 0.8);
    color: rgba(88, 74, 65, 0.96);
    background: rgba(255, 252, 249, 0.96);
}

/* ─── Background selector (subtle) ───────────────────────────── */
.cjn-background-selector-wrapper {
    margin-top: 18px;
}

/* ─── Example compliment cards ─────────────────────────────────── */
.cjn-example-section {
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(150, 122, 94, 0.12);
    max-width: 860px;
}

.cjn-example-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.cjn-example-card {
    border: 1px solid rgba(176, 154, 139, 0.28);
    border-radius: 18px;
    min-height: 184px;
    padding: 24px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 1px 2px rgba(58, 43, 31, 0.02);
}

.cjn-example-card p {
    margin: 0;
    color: rgba(90, 74, 65, 0.94);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.cjn-example-card--one {
    background:
        radial-gradient(120% 95% at 100% 0%, rgba(248, 236, 225, 0.38) 0%, rgba(255, 255, 255, 0) 72%),
        #fff;
}

.cjn-example-card--two {
    background:
        radial-gradient(115% 90% at 0% 100%, rgba(239, 243, 249, 0.42) 0%, rgba(255, 255, 255, 0) 74%),
        #fff;
}

.cjn-affirmation-cta {
    max-width: 860px;
    margin: 0 auto;
    padding: 24px 12px 4px;
    opacity: 0.92;
}

.cjn-affirmation-cta__inner {
    text-align: center;
    border-radius: 24px;
    border: 1px solid rgba(176, 182, 195, 0.26);
    padding: 36px 24px;
    background:
        radial-gradient(110% 95% at 100% 0%, rgba(245, 248, 255, 0.58) 0%, rgba(255, 255, 255, 0) 72%),
        radial-gradient(130% 110% at 0% 100%, rgba(248, 250, 255, 0.54) 0%, rgba(255, 255, 255, 0) 76%),
        rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 18px rgba(62, 70, 86, 0.05);
}

.cjn-affirmation-cta__inner h2 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.52rem, 3.2vw, 2rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--cjn-text);
}

.cjn-affirmation-cta__inner p {
    margin: 0 auto;
    max-width: 620px;
    color: rgba(103, 111, 127, 0.9);
}

.cjn-affirmation-cta__button {
    margin-top: 18px;
}

.cjn-example-card--three {
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(242, 239, 235, 0.4) 0%, rgba(255, 255, 255, 0) 76%),
        #fff;
}

/* ─── Recipient categories ─────────────────────────────────────── */
.cjn-category-section {
    margin: 20px auto 0;
    padding-top: 0;
    border-top: 0;
    max-width: 720px;
    text-align: center;
    padding: 20px 18px 16px;
    border: 1px solid rgba(182, 160, 144, 0.22);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.98) 0%, rgba(255, 248, 242, 0.9) 100%);
}

.cjn-category-section__title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: rgba(88, 72, 62, 0.95);
}

.cjn-category-section__sub {
    display: none;
}

.cjn-category-section__subline {
    margin: 10px auto 0;
    max-width: 540px;
    color: rgba(124, 104, 92, 0.9);
    font-size: 0.93rem;
    line-height: 1.56;
}

.cjn-category-grid {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cjn-text-entry {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 16px 0 0;
}

.cjn-live-compliment {
    margin: 0 auto;
    max-width: 670px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 3.6vw, 2.4rem);
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: rgba(54, 58, 68, 0.97);
}

.cjn-text-entry__actions {
    margin-top: 18px;
}

.cjn-text-entry__upgrade {
    margin: 0;
    max-width: none;
    padding-top: 0;
    border-top: 0;
}

.cjn-visual-stage {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(177, 184, 198, 0.22);
}

.cjn-visual-stage[hidden] {
    display: none;
}

.cjn-refinement-stack {
    display: grid;
    gap: 14px;
    padding: 14px 16px 8px;
    border-top: 1px solid rgba(150, 122, 94, 0.1);
    background: linear-gradient(180deg, rgba(255, 251, 247, 0.75) 0%, rgba(255, 255, 255, 0.35) 100%);
}

.cjn-refinement-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.02rem, 1.85vw, 1.2rem);
    font-weight: 400;
    color: rgba(68, 74, 87, 0.96);
}

.cjn-refinement-subline {
    margin: 8px auto 0;
    max-width: 520px;
    font-size: 0.94rem;
    line-height: 1.58;
    color: rgba(104, 112, 128, 0.9);
}

.cjn-refinement-section--style {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 4px;
    text-align: center;
}

.cjn-refinement-section--atmosphere {
    padding-top: 8px;
}

.cjn-refinement-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.cjn-refinement-option,
.cjn-background-set-tile,
.cjn-category-tile {
    appearance: none;
    border: 1px solid rgba(173, 181, 196, 0.38);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 251, 255, 0.97) 100%);
    color: rgba(76, 84, 99, 0.95);
    min-height: 56px;
    padding: 10px;
    font-size: 0.94rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 1px 4px rgba(62, 70, 86, 0.05);
    cursor: pointer;
    transition: border-color 0.14s ease, box-shadow 0.14s ease, transform 0.1s ease;
}

.cjn-category-tile {
    border-radius: 999px;
    width: 100%;
    padding: 12px 16px;
}

.cjn-refinement-option:hover,
.cjn-background-set-tile:hover,
.cjn-category-tile:hover {
    border-color: rgba(193, 169, 109, 0.68);
    transform: translateY(-1px);
}

.cjn-refinement-option.is-active,
.cjn-background-set-tile.is-active,
.cjn-category-tile.is-active,
.cjn-refinement-option[data-cjn-active="1"],
.cjn-background-set-tile[data-cjn-active="1"],
.cjn-category-tile[data-cjn-active="1"] {
    border-color: rgba(191, 168, 108, 0.82);
    background: linear-gradient(180deg, rgba(255, 254, 245, 0.99) 0%, rgba(255, 251, 237, 0.97) 100%);
    box-shadow: inset 0 0 0 1px rgba(243, 229, 187, 0.68), 0 2px 8px rgba(99, 92, 70, 0.12);
}

.cjn-background-set-grid {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.cjn-background-set-grid li {
    margin: 0;
}

.cjn-background-set-tile {
    width: 100%;
    min-height: 196px;
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
    border-radius: 20px;
    border: 1px solid rgba(173, 181, 196, 0.36);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 252, 255, 0.98) 100%);
    box-shadow: 0 3px 14px rgba(62, 70, 86, 0.06);
}

.cjn-background-set-tile__preview {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 4;
    border-radius: 14px;
    border: 1px solid rgba(177, 183, 196, 0.34);
    background: linear-gradient(145deg, #ffffff 0%, #f5f8ff 100%);
    background-size: cover;
    background-position: center;
}

.cjn-background-set-tile__label {
    font-size: 0.92rem;
    color: rgba(78, 85, 99, 0.95);
}

html[data-cjn-visual-theme-selected="1"] .cjn-refinement-section--style {
    opacity: 0.82;
}

/* ─── Dedicated generator section ──────────────────────────────── */
.cjn-generator-section {
    max-width: 860px;
    margin: 26px auto 0;
    padding-top: 0;
    scroll-margin-top: 18px;
}

.cjn-continue-card {
    margin: 22px auto 0;
    max-width: 760px;
    border: 1px solid rgba(176, 183, 198, 0.3);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 251, 255, 0.97) 100%);
    padding: 22px 20px;
    text-align: center;
}

.cjn-continue-card__title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.1rem, 2.1vw, 1.35rem);
    font-weight: 400;
    color: rgba(66, 73, 88, 0.98);
}

.cjn-continue-card__text {
    margin: 8px auto 16px;
    max-width: 620px;
    color: rgba(103, 111, 127, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cjn-secondary-section {
    max-width: 960px;
    margin: 0 auto;
}

.cjn-secondary-surface {
    border: 1px solid rgba(176, 183, 198, 0.24);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 252, 255, 0.96) 100%);
    padding: 28px 24px;
    box-shadow: 0 6px 20px rgba(62, 70, 86, 0.04);
}

.cjn-secondary-intro {
    max-width: 640px;
    margin: 0 auto 20px;
    text-align: center;
}

.cjn-secondary-intro__label {
    margin: 0;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(118, 111, 93, 0.9);
}

.cjn-secondary-intro h2 {
    margin: 10px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.48rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: rgba(61, 68, 82, 0.98);
}

.cjn-secondary-intro p {
    margin: 10px 0 0;
    color: rgba(103, 111, 127, 0.9);
    line-height: 1.65;
}

.cjn-secondary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.cjn-secondary-card {
    border: 1px solid rgba(176, 183, 198, 0.28);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    padding: 16px 14px;
    text-align: center;
}

.cjn-secondary-card h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(69, 76, 90, 0.97);
}

.cjn-secondary-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.86rem;
    color: rgba(110, 118, 133, 0.92);
    text-decoration: none;
}

.cjn-secondary-link:hover,
.cjn-secondary-link:focus {
    color: rgba(78, 86, 102, 0.98);
}

.cjn-generator-section__inner {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.cjn-flow-title-context {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: visible;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.cjn-flow-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.92fr);
    gap: 2rem;
    align-items: start;
}

.cjn-flow-layout__media,
.cjn-flow-layout__rail {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cjn-flow-layout__label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #9e867a;
}

.cjn-generator-section__actions,
.cjn-generator-section__intro {
    display: none;
}

.cjn-generator-section .cjn-background-selector-wrapper {
    margin-top: 0;
}

.cjn-generator-section .cjn-preview-area {
    margin-top: 10px;
}

/* ─── Subtle gift section ──────────────────────────────────────── */
.cjn-gift-section {
    max-width: 960px;
    margin: 0 auto;
}

.cjn-gift-section__inner {
    border: 1px solid rgba(170, 176, 188, 0.16);
    border-radius: 24px;
    background: #fff;
    padding: 32px 30px;
    box-shadow: 0 4px 14px rgba(62, 70, 86, 0.03);
    opacity: 0.9;
}

.cjn-gift-section__intro {
    text-align: center;
    margin: 0 0 18px;
}

.cjn-gift-section__intro h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: rgba(75, 61, 52, 0.95);
}

.cjn-gift-section__intro p {
    margin: 8px auto 0;
    max-width: 520px;
    color: rgba(126, 106, 93, 0.88);
    font-size: 0.96rem;
    line-height: 1.62;
}

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

.cjn-gift-card {
    border: 1px solid rgba(176, 154, 139, 0.24);
    border-radius: 18px;
    background: #fff;
    padding: 12px 12px 16px;
    box-shadow: 0 1px 2px rgba(58, 43, 31, 0.015);
}

.cjn-gift-card__image {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #f7f3ef;
}

.cjn-gift-card__image img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

.cjn-gift-card__title {
    margin: 12px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.04rem;
    font-weight: 400;
    line-height: 1.36;
    letter-spacing: -0.01em;
}

.cjn-gift-card__title a {
    color: rgba(86, 70, 60, 0.95);
    text-decoration: none;
}

.cjn-gift-card__title a:hover,
.cjn-gift-card__title a:focus {
    color: rgba(70, 57, 49, 0.98);
}

.cjn-gift-card__price {
    margin: 7px 0 0;
    color: rgba(118, 98, 86, 0.9);
    font-size: 0.9rem;
}

.cjn-gift-card__link {
    display: inline-block;
    margin-top: 10px;
    border: 1px solid rgba(176, 154, 139, 0.38);
    border-radius: 999px;
    padding: 7px 13px;
    color: rgba(104, 86, 76, 0.94);
    text-decoration: none;
    font-size: 0.86rem;
    transition: border-color 0.14s ease, color 0.14s ease, background 0.14s ease;
}

.cjn-gift-card__link:hover,
.cjn-gift-card__link:focus {
    border-color: rgba(156, 133, 116, 0.62);
    color: rgba(82, 67, 58, 0.97);
    background: rgba(255, 251, 247, 0.9);
}

/* JS renders a section.cjn-background-selector inside the wrapper */
.cjn-background-selector h3 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cjn-muted);
    margin: 0 0 8px;
}

.cjn-background-selector [role="radiogroup"] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.cjn-background-selector label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.88rem;
    color: var(--cjn-muted);
    cursor: pointer;
    margin: 0;
}

.cjn-background-selector input[type="radio"] { accent-color: var(--cjn-accent); }

/* ─── Preview area ────────────────────────────────────────────── */
.cjn-preview-area {
    background: linear-gradient(180deg, #fffefc 0%, #fffbf8 100%);
    border: 1px solid rgba(150, 122, 94, 0.18);
    border-radius: 0;
    box-shadow:
        inset 0 0 0 1px rgba(255, 252, 248, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 2px 7px rgba(50, 38, 28, 0.028);
    overflow: visible;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
}

.cjn-preview-placeholder {
    color: var(--cjn-muted);
    text-align: center;
    margin: auto;
    padding: 36px 22px;
    font-size: 0.92rem;
}

.cjn-preview-image {
    /* 3:2 landscape – warm card format (matches renderer 1200×800) */
    aspect-ratio: 3 / 2;
    background: linear-gradient(135deg, #fff8f2 0%, #ffe8d2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.cjn-preview-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: filter 220ms ease, transform 220ms ease;
}

.cjn-preview-area .cjn-preview-image {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.cjn-preview-area .cjn-preview-actions {
    position: relative;
    z-index: 2;
    overflow: visible;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

/* Homepage richting is tijdelijk square-first (board 10x10) */
.cjn-home-flow .cjn-preview-image {
    aspect-ratio: 5 / 4;
}

.cjn-home-flow .cjn-preview-image img {
    aspect-ratio: 5 / 4;
}

.cjn-preview-image::before,
.cjn-preview-image::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.cjn-preview-image::before {
    background: rgba(247, 240, 233, 0.32);
}

.cjn-preview-image::after {
    inset: auto;
    width: 22px;
    height: 22px;
    top: 50%;
    left: 50%;
    margin-top: -11px;
    margin-left: -11px;
    border-radius: 999px;
    border: 1.5px solid rgba(194, 159, 135, 0.35);
    border-top-color: rgba(194, 159, 135, 0.8);
    animation: cjn-preview-spin 900ms linear infinite;
}

.cjn-preview-image.cjn-preview-image--loading::before,
.cjn-preview-image.cjn-preview-image--loading::after {
    opacity: 1;
}

.cjn-preview-image.cjn-preview-image--loading img {
    filter: blur(1.8px) saturate(0.96);
    transform: scale(1.01);
}

@keyframes cjn-preview-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .cjn-preview-image img,
    .cjn-preview-image::before,
    .cjn-preview-image::after {
        transition: none;
    }

    .cjn-preview-image::after {
        animation: none;
    }
}

.cjn-preview-stage {
    position: relative;
}

/* Keep homepage preview stage visually subtler than the hero frame */
body.home .cjn-stage {
    padding: 52px 48px 30px;
}

body.home .cjn-preview-area {
    margin-top: 36px;
    max-width: 780px;
    border: 1px solid rgba(160, 132, 103, 0.16);
    box-shadow:
        inset 0 0 0 1px rgba(255, 252, 248, 0.72),
        0 2px 8px rgba(50, 38, 28, 0.02);
}

body.home .cjn-preview-stage {
    width: 100%;
    margin: 0 auto;
}

body.home .cjn-preview-stage .cjn-background-stepper {
    padding: 0 6px;
}

body.home .cjn-preview-stage .cjn-bg-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    background: rgba(255, 251, 247, 0.88);
    border-color: rgba(202, 167, 143, 0.72);
    box-shadow: 0 1px 4px rgba(97, 65, 44, 0.08);
}

.cjn-background-stepper {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    pointer-events: none;
}

.cjn-bg-stepper-label {
    display: none;
}

.cjn-bg-arrow {
    appearance: none;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(202, 167, 143, 0.92);
    background: rgba(255, 251, 247, 0.92);
    color: rgba(121, 95, 75, 0.95);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 1px 6px rgba(97, 65, 44, 0.12);
    transition: border-color 0.12s, color 0.12s, background 0.12s, box-shadow 0.12s;
}

.cjn-bg-arrow:hover {
    border-color: rgba(201, 111, 67, 0.85);
    color: var(--cjn-accent);
    background: #fff;
    box-shadow: 0 2px 10px rgba(97, 65, 44, 0.16);
}

.cjn-bg-arrow[disabled] {
    opacity: 0.55;
    cursor: default;
    box-shadow: none;
}

/* Text card shown while GD/image is unavailable */
.cjn-preview-image--has-text {
    padding: 40px 10%;
    align-items: center;
    justify-content: center;
}

.cjn-preview-text-card {
    margin: 0;
    font-size: clamp(1.1rem, 3.5vw, 1.5rem);
    font-style: italic;
    line-height: 1.55;
    color: var(--cjn-text);
    text-align: center;
    max-width: 560px;
}

/* ─── Preview actions (hidden until design exists) ────────────── */
.cjn-preview-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 16px 18px;
    border-top: 1px solid rgba(161, 136, 118, 0.12);
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.6) 0%, rgba(255, 255, 255, 0.85) 100%);
    align-items: stretch;
}

.cjn-preview-actions[hidden] { display: none; }

.cjn-image-actions,
.cjn-design-actions {
    display: flex;
    gap: 8px;
}

.cjn-image-actions > *,
.cjn-design-actions > * {
    flex: 1;
    justify-content: center;
}

.cjn-preview-actions a[data-cjn-gift-link] {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cjn-actions-sep {
    display: none;
}

.cjn-btn-secondary {
    appearance: none;
    border: 1.25px solid rgba(178, 149, 130, 0.4);
    border-radius: var(--cjn-radius-pill);
    background: linear-gradient(180deg, #fffdfa 0%, #fff8f3 100%);
    color: rgba(124, 101, 87, 0.94);
    padding: 9px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        inset 0 0 0 1px rgba(255, 245, 236, 0.66);
    transition: background 0.12s, border-color 0.12s, color 0.12s, box-shadow 0.12s;
}

.cjn-btn-secondary:hover {
    background: linear-gradient(180deg, #fff8f2 0%, #fff2ea 100%);
    border-color: rgba(198, 124, 83, 0.58);
    color: rgba(112, 90, 78, 0.98);
}

/* ─── Variant action button ───────────────────────────────────── */
.cjn-variant-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cjn-share-design,
button.cjn-share-design {
    appearance: none;
    border: 1.5px solid rgba(190, 169, 153, 0.72);
    border-radius: var(--cjn-radius-pill);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 250, 246, 0.96) 100%);
    color: rgba(118, 96, 83, 0.95);
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(255, 246, 238, 0.58);
    transition: background 0.12s, border-color 0.12s, box-shadow 0.12s;
}

.cjn-share-design:hover,
button.cjn-share-design:hover {
    border-color: rgba(201, 111, 67, 0.42);
    color: rgba(148, 97, 68, 0.95);
    background: linear-gradient(180deg, rgba(255, 249, 244, 0.98) 0%, rgba(255, 242, 233, 0.98) 100%);
}

.cjn-share-design[disabled],
button.cjn-share-design[disabled] {
    opacity: 0.62;
    cursor: default;
}

.cjn-make-variant,
button.cjn-make-variant,
.cjn-save-design,
button.cjn-save-design {
    appearance: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 250, 246, 0.96) 100%);
    border: 1.5px solid rgba(213, 199, 188, 0.9);
    border-radius: var(--cjn-radius-pill);
    color: rgba(126, 103, 88, 0.92);
    padding: 8px 18px;
    font-size: 0.88rem;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 0 0 1px rgba(255, 246, 238, 0.58);
    transition: border-color 0.12s, color 0.12s, background 0.12s, box-shadow 0.12s;
}

.cjn-make-variant:hover,
.cjn-save-design:hover {
    border-color: rgba(201, 111, 67, 0.42);
    color: rgba(148, 97, 68, 0.95);
    background: linear-gradient(180deg, rgba(255, 249, 244, 0.98) 0%, rgba(255, 242, 233, 0.98) 100%);
}

.cjn-variant-actions .cjn-save-design {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 250, 246, 0.96) 100%);
    border-color: rgba(213, 199, 188, 0.9);
    color: rgba(126, 103, 88, 0.92);
}

.cjn-variant-actions .cjn-save-design:hover {
    background: linear-gradient(180deg, rgba(255, 249, 244, 0.98) 0%, rgba(255, 242, 233, 0.98) 100%);
    border-color: rgba(201, 111, 67, 0.42);
}

.cjn-variant-actions .cjn-save-design[disabled] {
    background: rgba(164, 148, 136, 0.08);
    border-color: rgba(182, 166, 155, 0.38);
    color: rgba(125, 108, 96, 0.9);
    cursor: default;
    opacity: 1;
}

/* ─── Design library ───────────────────────────────────────────── */
.cjn-library-area[hidden] { display: none; }

.cjn-library-area {
    max-width: 780px;
    margin: 16px auto 0;
    padding: 14px 14px 0;
    border: 1px solid rgba(167, 139, 118, 0.12);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
    opacity: 0.98;
}

.cjn-library-area h3,
.cjn-design-library h3 {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    color: rgba(96, 78, 68, 0.94);
    margin: 0 0 12px;
    padding-top: 0;
    border-top: 0;
}

.cjn-design-library__intro,
.cjn-design-library__empty {
    margin: 0 0 12px;
    color: rgba(116, 99, 89, 0.92);
    font-size: 0.9rem;
    line-height: 1.55;
}

.cjn-design-library__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 9px 8px;
    padding: 5px 10px;
    border: 1px solid rgba(201, 111, 67, 0.24);
    border-radius: 999px;
    background: rgba(201, 111, 67, 0.08);
    color: rgba(135, 86, 63, 0.96);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
}

.cjn-design-library ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.cjn-design-library li {
    background: #fff;
    border: 1px solid rgba(229, 225, 220, 0.68);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(50, 38, 28, 0.018);
    overflow: hidden;
    display: grid;
    gap: 0;
}

.cjn-design-library li[data-cjn-active-design="1"] {
    border-color: rgba(201, 111, 67, 0.42);
    box-shadow: 0 0 0 1px rgba(201, 111, 67, 0.1);
}

.cjn-design-library__image-button {
    appearance: none;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.cjn-design-library li img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

.cjn-design-library__content {
    display: grid;
    gap: 0;
}

.cjn-design-library__preview-placeholder {
    margin: 0;
    padding: 28px 16px;
    text-align: center;
    color: rgba(132, 113, 100, 0.9);
    background: rgba(249, 246, 242, 0.86);
}

.cjn-design-library__meta {
    display: grid;
    gap: 8px;
    padding: 12px 12px 10px;
}

.cjn-design-library__text {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(82, 68, 59, 0.98);
}

.cjn-design-library__id {
    color: rgba(158, 134, 122, 0.74);
    font-size: 0.69rem;
}

.cjn-design-library__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cjn-design-library__action-panel {
    padding: 10px 12px 12px;
    border-top: 1px solid rgba(229, 225, 220, 0.88);
    background: linear-gradient(180deg, rgba(252, 249, 246, 0.82) 0%, rgba(255, 255, 255, 0.98) 100%);
}

/* ─── Library buttons ─────────────────────────────────────────── */
.cjn-design-library button,
.cjn-design-library a {
    appearance: none;
    border-radius: var(--cjn-radius-pill);
    padding: 5px 11px;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.12s;
}

.cjn-design-library button.cjn-design-library__image-button {
    padding: 0;
    border-radius: 0;
}

.cjn-design-library button[data-cjn-action="use-design"] {
    background: var(--cjn-accent);
    color: #fff;
    border: none;
}

.cjn-design-library button[data-cjn-action="use-design"]:hover { background: var(--cjn-accent-dark); }

.cjn-design-library button[disabled] {
    opacity: 0.72;
    cursor: default;
}

.cjn-design-library a[data-cjn-gift-link] {
    background: transparent;
    border: 1.5px solid var(--cjn-border);
    color: var(--cjn-muted);
}

.cjn-design-library a[data-cjn-gift-link]:hover { border-color: var(--cjn-accent); color: var(--cjn-accent); }

.cjn-design-library button[data-cjn-action="view-design"],
.cjn-design-library button[data-cjn-action="remove-design"] {
    background: transparent;
    border: 1.5px solid var(--cjn-border);
    color: rgba(88, 96, 112, 0.96);
}

.cjn-design-library button[data-cjn-action="view-design"]:hover,
.cjn-design-library button[data-cjn-action="remove-design"]:hover {
    border-color: rgba(171, 180, 196, 0.78);
    color: rgba(63, 70, 84, 0.98);
    background: rgba(249, 251, 255, 0.9);
}

.cjn-design-library button[data-cjn-action="remove-design"] {
    color: rgba(149, 88, 68, 0.98);
}

.cjn-design-viewer[hidden] { display: none; }

.cjn-design-viewer {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.cjn-design-viewer__backdrop {
    appearance: none;
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(27, 24, 22, 0.58);
    cursor: pointer;
}

.cjn-design-viewer__dialog {
    position: relative;
    z-index: 1;
    width: min(980px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    overflow: auto;
    border-radius: 20px;
    border: 1px solid rgba(232, 226, 220, 0.92);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(250, 252, 255, 0.97) 100%);
    box-shadow: 0 28px 64px rgba(25, 19, 15, 0.24);
    padding: 18px;
}

.cjn-design-viewer__close {
    appearance: none;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(178, 149, 130, 0.38);
    border-radius: var(--cjn-radius-pill);
    background: #fff;
    color: rgba(69, 75, 88, 0.96);
    min-height: 2.5rem;
    padding: 0.58rem 1rem;
    cursor: pointer;
}

.cjn-design-viewer__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    gap: 18px;
    margin-top: 10px;
}

.cjn-design-viewer__media {
    border: 1px solid rgba(220, 227, 235, 0.74);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.cjn-design-viewer__media img {
    display: block;
    width: 100%;
    height: auto;
}

.cjn-design-viewer__placeholder {
    margin: 0;
    padding: 48px 28px;
    color: rgba(99, 107, 124, 0.9);
}

.cjn-design-viewer__rail {
    display: grid;
    align-content: start;
    gap: 12px;
}

.cjn-design-viewer__pager {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
}

.cjn-design-viewer__pager-status {
    margin: 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(117, 124, 140, 0.94);
}

.cjn-design-viewer__step {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.58rem 1rem;
    border: 1px solid rgba(178, 149, 130, 0.38);
    border-radius: var(--cjn-radius-pill);
    background: #fff;
    color: rgba(69, 75, 88, 0.96);
    cursor: pointer;
}

.cjn-design-viewer__step:hover {
    border-color: rgba(171, 180, 196, 0.78);
    background: rgba(249, 251, 255, 0.96);
}

.cjn-design-viewer__step[disabled] {
    cursor: default;
    opacity: 0.52;
    background: rgba(249, 251, 255, 0.9);
}

.cjn-design-viewer__rail h3,
.cjn-design-viewer__text,
.cjn-design-viewer__meta {
    margin: 0;
}

.cjn-design-viewer__text {
    font-size: 1.02rem;
    line-height: 1.6;
    color: rgba(64, 72, 88, 0.98);
}

.cjn-design-viewer__meta {
    font-size: 0.84rem;
    color: rgba(117, 124, 140, 0.94);
}

.cjn-design-viewer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.cjn-design-viewer__actions button,
.cjn-design-viewer__actions a {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.72rem 1.18rem;
    border-radius: var(--cjn-radius-pill);
    text-decoration: none;
    font-weight: 600;
}

.cjn-design-viewer__actions button[data-cjn-action="use-design"] {
    border: 0;
    background: var(--cjn-accent);
    color: #fff;
}

.cjn-design-viewer__actions a[data-cjn-gift-link] {
    border: 1.25px solid rgba(178, 149, 130, 0.4);
    color: rgba(69, 75, 88, 0.96);
    background: #fff;
}

@media (max-width: 820px) {
    .cjn-design-viewer {
        padding: 12px;
    }

    .cjn-design-viewer__layout {
        grid-template-columns: 1fr;
    }
}

/* ─── Cadeau page ─────────────────────────────────────────────── */
.cjn-cadeau-flow {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cjn-cadeau-intro {
    text-align: center;
    padding: 8px 0;
}

.cjn-cadeau-intro h1 {
    margin: 0 0 8px;
    font-size: clamp(1.4rem, 4vw, 1.9rem);
}

.cjn-cadeau-intro p { color: var(--cjn-muted); margin: 0; }

.cjn-cadeau-article,
.cjn-design-placeholder {
    background: var(--cjn-surface);
    border: 1px solid var(--cjn-border);
    border-radius: var(--cjn-radius-lg);
    box-shadow: var(--cjn-shadow);
    padding: 20px;
}

/* Cadeau page: avoid triple border nesting (article -> placeholder -> product tile) */
.cjn-cadeau-flow .cjn-cadeau-article {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.cjn-cadeau-flow .cjn-design-placeholder {
    box-shadow: none;
    border-color: rgba(229, 225, 220, 0.85);
}

.cjn-product-chooser { margin-top: 12px; }
.cjn-product-chooser h4 { margin: 0 0 12px; font-size: 0.95rem; }
.cjn-product-chooser-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.cjn-product-chooser-list li {
    display: grid;
    grid-template-columns: minmax(104px, 128px) minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    background: var(--cjn-bg);
    border: 1px solid var(--cjn-border);
    border-radius: var(--cjn-radius-md);
    padding: 14px 16px;
}

.cjn-product-card-media {
    align-self: stretch;
    border: 1px solid rgba(229, 225, 220, 0.92);
    border-radius: 12px;
    background: linear-gradient(180deg, #fffdfa 0%, #faf7f2 100%);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cjn-product-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cjn-product-card-body {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 10px;
}

.cjn-product-card[data-cjn-active-card="1"] {
    border-color: rgba(195, 171, 111, 0.86);
    box-shadow: 0 16px 34px rgba(99, 107, 124, 0.11);
}

.cjn-product-card-title {
    display: block;
    font-size: 1.08rem;
    line-height: 1.25;
}

.cjn-product-summary,
.cjn-product-price {
    margin: 0;
}

.cjn-product-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cjn-product-chooser-list a.button,
.cjn-product-chooser-list button.button {
    appearance: none;
    background: var(--cjn-accent);
    color: #fff;
    border: none;
    border-radius: var(--cjn-radius-pill);
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.cjn-product-chooser-list a.button:hover,
.cjn-product-chooser-list button.button:hover { background: var(--cjn-accent-dark); }

.cjn-product-chooser-list .cjn-product-preview-button {
    background: #fff;
    color: rgba(82, 88, 102, 0.96);
    border: 1.25px solid rgba(178, 149, 130, 0.4);
    box-shadow: none;
}

.cjn-product-chooser-list .cjn-product-preview-button:hover {
    background: rgba(249, 251, 255, 0.96);
    color: rgba(63, 70, 84, 0.98);
    border-color: rgba(171, 180, 196, 0.78);
}

@media (max-width: 720px) {
    .cjn-product-chooser-list li {
        grid-template-columns: 1fr;
    }

    .cjn-product-card-media {
        max-width: 180px;
    }
}

/* ─── Woo single product polish (scoped) ──────────────────────── */
body.single-product .woocommerce div.product {
    margin-bottom: 24px;
}

body.single-product .woocommerce div.product div.images,
body.single-product .woocommerce div.product div.summary {
    margin-bottom: 18px;
}

body.single-product .woocommerce div.product .summary > * + * {
    margin-top: 12px;
}

@media (min-width: 960px) {
    body.single-product .woocommerce div.product div.images {
        width: 53%;
    }

    body.single-product .woocommerce div.product div.summary {
        width: 42%;
    }
}

body.single-product .woocommerce div.product form.cart table.variations {
    margin-bottom: 6px;
}

body.single-product .woocommerce div.product form.cart {
    background: #fffdfb;
    border: 1px solid #f3e8de;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 1px 6px rgba(80, 48, 24, 0.035);
}

body.single-product .woocommerce div.product form.cart table.variations select,
body.single-product .woocommerce div.product form.cart .quantity .qty {
    min-height: 42px;
    border: 1px solid var(--cjn-border);
    border-radius: 10px;
    background: #fff;
    color: var(--cjn-text);
}

body.single-product .woocommerce div.product form.cart table.variations select {
    padding: 8px 12px;
}

body.single-product .woocommerce div.product form.cart .cjn-fixed-variation-value {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--cjn-border);
    border-radius: 10px;
    background: #fff;
    color: var(--cjn-text);
    font-weight: 500;
}

body.single-product .woocommerce div.product form.cart .cjn-fixed-variation-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

body.single-product .woocommerce div.product form.cart table.variations th,
body.single-product .woocommerce div.product form.cart table.variations td {
    padding-top: 2px;
    padding-bottom: 2px;
}

body.single-product .woocommerce div.product form.cart table.variations th.label label {
    font-size: 0.86rem;
    color: var(--cjn-muted);
    font-weight: 600;
}

body.single-product .woocommerce div.product form.cart .quantity .qty {
    width: 4.2em;
    padding: 6px 8px;
}

body.single-product .woocommerce div.product form.cart table.variations select:focus,
body.single-product .woocommerce div.product form.cart .quantity .qty:focus {
    outline: 2px solid rgba(201, 111, 67, 0.22);
    outline-offset: 1px;
    border-color: var(--cjn-accent);
}

body.single-product .woocommerce div.product form.cart,
body.single-product .woocommerce div.product .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 6px 8px;
}

body.single-product .woocommerce div.product form.cart table.variations,
body.single-product .woocommerce div.product .single_variation_wrap {
    flex-basis: 100%;
}

body.single-product .woocommerce div.product .single_variation_wrap .woocommerce-variation-price {
    margin: 2px 0 6px;
}

body.single-product .woocommerce div.product .single_variation_wrap .woocommerce-variation-price .price {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

body.single-product .woocommerce div.product form.cart .variations_button {
    margin-top: 2px;
}

body.single-product .woocommerce div.product form.cart .quantity {
    margin: 0;
}

body.single-product .woocommerce div.product form.cart .single_add_to_cart_button {
    min-height: 42px;
    padding: 10px 20px;
    border-radius: var(--cjn-radius-pill);
    font-weight: 600;
}

body.single-product .woocommerce div.product form.cart table.variations .reset_variations {
    margin-left: 8px;
    font-size: 0.72rem;
    color: var(--cjn-muted);
    opacity: 0.5;
    text-decoration: none;
}

body.single-product .woocommerce div.product form.cart table.variations .reset_variations:hover,
body.single-product .woocommerce div.product form.cart table.variations .reset_variations:focus {
    opacity: 1;
    color: var(--cjn-text);
}

body.single-product .cjn-design-placeholder.cjn-design-placeholder--product {
    margin: 0 0 18px;
    background: #fffdfb;
    border-color: #f3e8de;
    box-shadow: 0 2px 10px rgba(80, 48, 24, 0.06);
    padding: 16px;
}

body.single-product .cjn-design-placeholder.cjn-design-placeholder--product h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

body.single-product .cjn-design-placeholder.cjn-design-placeholder--product p {
    margin: 0;
    color: var(--cjn-muted);
}

body.single-product .cjn-design-placeholder.cjn-design-placeholder--product .cjn-design-preview {
    margin-top: 10px;
    border: 1px solid var(--cjn-border);
    background: #fff;
    position: relative;
    overflow: hidden;
}

body.single-product .cjn-design-placeholder.cjn-design-placeholder--product .cjn-design-preview::after {
    content: "Cjn.";
    position: absolute;
    right: clamp(0.65rem, 1.2vw, 0.95rem);
    bottom: clamp(0.4rem, 0.9vw, 0.8rem);
    font-family: "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(1.2rem, 2.4vw, 1.9rem);
    font-weight: 500;
    line-height: 1;
    color: rgba(210, 160, 84, 0.72);
    letter-spacing: 0.01em;
    transform: rotate(-6deg);
    pointer-events: none;
    text-shadow: 0 1px 0 rgba(255, 250, 239, 0.55);
}

body.single-product .woocommerce div.product .product_meta {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--cjn-border);
    color: var(--cjn-muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

body.single-product .woocommerce div.product .product_meta > span {
    display: block;
    margin-top: 4px;
}

body.single-product .woocommerce div.product .product_meta > span:first-child {
    margin-top: 0;
}

body.single-product .woocommerce div.product .product_meta a {
    color: inherit;
}

body.single-product .woocommerce div.product .product_meta a:hover {
    color: var(--cjn-accent);
}

body.woocommerce-cart .shop_table .product-thumbnail,
body.woocommerce-checkout .shop_table .product-thumbnail {
    width: 132px;
}

body.woocommerce-cart .shop_table .product-thumbnail a,
body.woocommerce-checkout .shop_table .product-thumbnail a {
    display: block;
    width: 108px;
}

.cjn-cart-design-thumb,
body.woocommerce-cart .shop_table .product-thumbnail img,
body.woocommerce-checkout .shop_table .product-thumbnail img,
.wc-block-cart .wc-block-components-product-image img,
.wc-block-checkout .wc-block-components-order-summary-item__image img,
.wc-block-checkout .wc-block-components-product-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.cjn-cart-design-thumb,
body.woocommerce-cart .shop_table .product-thumbnail a,
body.woocommerce-checkout .shop_table .product-thumbnail a,
.wc-block-cart .wc-block-components-product-image,
.wc-block-checkout .wc-block-components-order-summary-item__image,
.wc-block-checkout .wc-block-components-product-image {
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, #fffdfa 0%, #f7f1ea 100%);
    border: 1px solid rgba(229, 225, 220, 0.9);
    box-shadow: 0 10px 24px rgba(86, 94, 112, 0.08);
}

.cjn-cart-design-thumb img,
body.woocommerce-cart .shop_table .product-thumbnail img,
body.woocommerce-checkout .shop_table .product-thumbnail img,
.wc-block-cart .wc-block-components-product-image img,
.wc-block-checkout .wc-block-components-order-summary-item__image img,
.wc-block-checkout .wc-block-components-product-image img {
    object-fit: cover;
}

.wc-block-cart .wc-block-components-product-image,
.wc-block-checkout .wc-block-components-order-summary-item__image,
.wc-block-checkout .wc-block-components-product-image {
    width: 96px;
}

@media (max-width: 720px) {
    body.home .site-main {
        max-width: 100%;
        padding-top: 30px;
        padding-bottom: 44px;
    }

    .cjn-home-flow {
        gap: 24px;
    }

    .cjn-stage {
        max-width: none;
        padding: 28px 14px 22px;
    }

    .cjn-hero h1 {
        font-size: clamp(2rem, 8.8vw, 2.65rem);
    }

    .cjn-hero__sub {
        margin-bottom: 8px;
        font-size: 0.98rem;
    }

    .cjn-eyebrow-pill {
        font-size: 0.72rem;
        letter-spacing: 0.1em;
        margin-bottom: 12px;
    }

    .cjn-hero-card {
        border-radius: 22px;
        padding: 22px 14px 20px;
    }

    .cjn-hero::after {
        margin-top: 22px;
    }

    .cjn-hero__actions {
        gap: 10px;
    }

    .cjn-category-section {
        margin-top: 18px;
        padding-top: 0;
        padding-left: 12px;
        padding-right: 12px;
    }

    .cjn-category-section__title {
        font-size: clamp(1.08rem, 4.8vw, 1.25rem);
    }

    .cjn-category-grid {
        margin-top: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .cjn-live-compliment {
        font-size: clamp(1.24rem, 6vw, 1.7rem);
    }

    .cjn-refinement-stack {
        padding: 12px 12px 8px;
        gap: 12px;
    }

    .cjn-refinement-options,
    .cjn-background-set-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cjn-generator-section {
        padding-top: 0;
        min-height: 0;
        margin-top: 14px;
    }

    .cjn-generator-section__inner {
        padding: 0;
    }

    .cjn-generator-section .cjn-preview-area {
        margin-top: 14px;
    }

    .cjn-continue-card {
        margin-top: 16px;
        padding: 18px 14px;
    }

    .cjn-secondary-surface {
        padding: 20px 14px;
        border-radius: 18px;
    }

    .cjn-secondary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

/* --- Approved homepage shell (template-target, behavior preserved) --- */
.cjn-home-ref {
    position: relative;
    z-index: 1;
}

.cjn-home-ref .container {
    width: min(calc(100% - 2rem), 1200px);
    margin: 0 auto;
}

.cjn-home-ref .hero-section,
.cjn-home-ref .atmosphere-section,
.cjn-home-ref .secondary-section {
    position: relative;
    z-index: 1;
}

.cjn-home-ref .hero-section {
    padding: 0 0 2.2rem;
}

.cjn-home-ref .eyebrow-pill {
    width: fit-content;
    margin: 0 auto 1.2rem;
    padding: 0.68rem 1rem;
    border: 1px solid rgba(199, 180, 132, 0.46);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(86, 94, 112, 0.06);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(120, 112, 94, 0.9);
}

.cjn-home-ref .hero-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(176, 183, 197, 0.3);
    border-radius: 2.4rem;
    box-shadow: 0 22px 70px rgba(86, 94, 112, 0.09);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.99), rgba(249, 251, 255, 0.97));
}

.cjn-home-ref .hero-card::before {
    content: "";
    position: absolute;
    inset-inline: 2.4rem;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 174, 108, 0.92), transparent);
}

.cjn-home-ref .hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.94), rgba(251, 252, 255, 0.86) 45%, rgba(246, 248, 252, 0.78) 100%);
}

.cjn-home-ref .hero-content {
    position: relative;
    text-align: center;
    padding: 2.3rem 1.6rem 2.5rem;
}

.cjn-home-ref .hero-quote {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: rgba(45, 49, 59, 0.98);
    margin-inline: auto;
    max-width: 880px;
    font-size: clamp(2.3rem, 6.8vw, 4.15rem);
    line-height: 1.1;
    letter-spacing: -0.018em;
}

.cjn-home-ref .hero-copy {
    max-width: 720px;
    margin: 1.2rem auto 0;
}

.cjn-home-ref .hero-supporting-copy {
    margin: 0;
    color: rgba(102, 111, 127, 0.92);
    line-height: 1.75;
    font-size: 1.02rem;
}

.cjn-home-ref .hero-actions {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 1.7rem;
}

.cjn-home-ref .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.05rem;
    padding: 0.84rem 1.38rem;
    border-radius: 999px;
    border: 1px solid rgba(184, 191, 205, 0.62);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.99), rgba(249, 251, 255, 0.98));
    color: rgba(66, 73, 87, 0.96);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 8px 20px rgba(95, 103, 119, 0.08);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
    text-decoration: none;
}

.cjn-home-ref .button:hover {
    transform: translateY(-1px);
    border-color: rgba(171, 180, 196, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 10px 24px rgba(95, 103, 119, 0.1);
}

.cjn-home-ref .button-ghost,
.cjn-home-ref .button-secondary {
    border-color: rgba(184, 191, 205, 0.62);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.99), rgba(249, 251, 255, 0.98));
    color: rgba(66, 73, 87, 0.96);
}

.cjn-home-ref .button-hero-primary {
    border-color: rgba(170, 178, 194, 0.82);
    color: rgba(58, 64, 77, 0.98);
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 10px 24px rgba(95, 103, 119, 0.12);
}

.cjn-home-ref .button-hero-secondary,
.cjn-home-ref .button-ghost {
    color: rgba(84, 92, 108, 0.95);
}

.cjn-home-ref .button-continue {
    min-height: 3.15rem;
    padding-inline: 1.5rem;
    border-color: rgba(170, 178, 194, 0.76);
    font-weight: 600;
}

.cjn-home-ref .surface-card,
.cjn-home-ref .secondary-surface {
    border: 1px solid rgba(176, 183, 197, 0.28);
    border-radius: 2.25rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(249, 251, 255, 0.96));
    box-shadow: 0 18px 46px rgba(86, 94, 112, 0.08);
}

.cjn-home-ref .surface-card {
    padding: 1.6rem;
}

.cjn-home-ref .atmosphere-section {
    padding-bottom: 2.5rem;
}

.cjn-home-ref .section-intro-grid {
    display: grid;
    gap: 1.4rem;
    align-items: start;
}

.cjn-home-ref .section-intro {
    max-width: 34rem;
}

.cjn-home-ref .section-label {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.19em;
    text-transform: uppercase;
    color: rgba(120, 112, 94, 0.86);
}

.cjn-home-ref .section-intro h2,
.cjn-home-ref .secondary-intro h2 {
    margin: 0.72rem 0 0;
    font-size: clamp(2rem, 4.4vw, 2.56rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: rgba(49, 54, 66, 0.98);
}

.cjn-home-ref .section-intro p,
.cjn-home-ref .secondary-intro p,
.cjn-home-ref .continue-text,
.cjn-home-ref .secondary-card p {
    margin: 1rem 0 0;
    color: rgba(102, 111, 127, 0.9);
    line-height: 1.82;
}

.cjn-home-ref .atmosphere-grid,
.cjn-home-ref .secondary-grid {
    display: grid;
    gap: 1rem;
}

.cjn-home-ref .atmosphere-grid {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cjn-home-ref .atmosphere-grid .cjn-background-set-tile {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid rgba(176, 183, 197, 0.33);
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem;
    text-align: left;
    box-shadow: 0 10px 24px rgba(86, 94, 112, 0.06);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.cjn-home-ref .atmosphere-grid .cjn-background-set-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(195, 171, 111, 0.72);
}

.cjn-home-ref .atmosphere-grid .cjn-background-set-tile.is-active,
.cjn-home-ref .atmosphere-grid .cjn-background-set-tile[data-cjn-active="1"] {
    border-color: rgba(195, 171, 111, 0.86);
    box-shadow: 0 14px 30px rgba(99, 107, 124, 0.12);
}

.cjn-home-ref .atmosphere-grid .cjn-background-set-tile__preview {
    position: relative;
    display: block;
    min-height: 10rem;
    border-radius: 1.22rem;
    border: 1px solid rgba(180, 186, 200, 0.36);
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(245, 248, 255, 0.95));
}

.cjn-home-ref .atmosphere-grid .cjn-background-set-tile__preview[data-cjn-preview-ready="1"] {
    background-color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cjn-home-ref .atmosphere-grid .cjn-background-set-tile__preview::before {
    content: "";
    position: absolute;
    inset-inline: 1.2rem;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 174, 108, 0.82), transparent);
}

.cjn-home-ref .atmosphere-grid .cjn-background-set-tile__preview[data-cjn-preview-ready="1"]::before {
    display: none;
}

.cjn-home-ref .atmosphere-grid .cjn-background-set-tile__label {
    margin-top: 0.84rem;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: rgba(66, 74, 89, 0.97);
}

.cjn-home-ref .continue-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.8rem;
    padding: 1.35rem;
    border: 1px solid rgba(176, 183, 197, 0.29);
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(86, 94, 112, 0.06);
}

.cjn-home-ref .continue-title {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: rgba(60, 66, 80, 0.98);
}

.cjn-home-ref .cjn-visual-stage {
    margin-top: 1.2rem;
}

.cjn-home-ref .secondary-section {
    padding-bottom: 3rem;
}

.cjn-home-ref .secondary-surface {
    padding: 1.6rem;
}

.cjn-home-ref .secondary-intro {
    max-width: 40rem;
}

.cjn-home-ref .secondary-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(176, 183, 197, 0.3);
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.97);
    padding: 1rem;
    text-align: left;
    box-shadow: 0 10px 24px rgba(86, 94, 112, 0.05);
    transition: transform 180ms ease, border-color 180ms ease;
}

.cjn-home-ref .secondary-card:hover {
    transform: translateY(-2px);
    border-color: rgba(195, 171, 111, 0.66);
}

.cjn-home-ref .secondary-card h3 {
    margin: 0;
    font-size: 1.24rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: rgba(56, 62, 75, 0.98);
}

.cjn-home-ref .secondary-link {
    margin-top: auto;
    width: fit-content;
    min-height: 2.45rem;
    margin-top: 1.15rem;
    padding: 0.55rem 1rem;
    border: 1px solid rgba(191, 198, 210, 0.54);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: rgba(91, 100, 116, 0.92);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
}

.cjn-home-ref .secondary-link:hover,
.cjn-home-ref .secondary-link:focus {
    border-color: rgba(179, 188, 203, 0.76);
    color: rgba(68, 76, 90, 0.96);
    background: rgba(255, 255, 255, 0.98);
}

.cjn-home-ref .cjn-preview-actions {
    gap: 0.72rem;
    padding: 1.05rem 1rem 1.18rem;
    border-top: 1px solid rgba(180, 187, 201, 0.26);
    background: linear-gradient(180deg, rgba(252, 253, 255, 0.82) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.cjn-home-ref .cjn-preview-actions .cjn-btn-surprise,
.cjn-home-ref .cjn-preview-actions .cjn-btn-secondary,
.cjn-home-ref .cjn-preview-actions .cjn-share-design,
.cjn-home-ref .cjn-preview-actions .cjn-make-variant,
.cjn-home-ref .cjn-preview-actions .cjn-save-design,
.cjn-home-ref .cjn-preview-actions [data-cjn-variant-actions] button {
    min-height: 2.9rem;
    padding: 0.72rem 1.22rem;
    border-radius: 999px;
    border: 1px solid rgba(184, 191, 205, 0.62);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.99), rgba(249, 251, 255, 0.98));
    color: rgba(73, 81, 97, 0.95);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 8px 18px rgba(95, 103, 119, 0.08);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.cjn-home-ref .cjn-preview-actions .cjn-btn-surprise {
    border-color: rgba(170, 178, 194, 0.82);
    color: rgba(58, 64, 77, 0.98);
    font-weight: 600;
}

.cjn-home-ref .cjn-preview-actions .cjn-btn-surprise:hover,
.cjn-home-ref .cjn-preview-actions .cjn-btn-secondary:hover,
.cjn-home-ref .cjn-preview-actions .cjn-share-design:hover,
.cjn-home-ref .cjn-preview-actions .cjn-make-variant:hover,
.cjn-home-ref .cjn-preview-actions .cjn-save-design:hover,
.cjn-home-ref .cjn-preview-actions [data-cjn-variant-actions] button:hover {
    transform: translateY(-1px);
    border-color: rgba(171, 180, 196, 0.78);
    color: rgba(63, 70, 84, 0.98);
    background: linear-gradient(150deg, rgba(255, 255, 255, 1), rgba(250, 252, 255, 0.99));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 10px 22px rgba(95, 103, 119, 0.1);
}

.cjn-home-ref .cjn-preview-actions .cjn-btn-surprise:active,
.cjn-home-ref .cjn-preview-actions .cjn-btn-secondary:active,
.cjn-home-ref .cjn-preview-actions .cjn-share-design:active,
.cjn-home-ref .cjn-preview-actions .cjn-make-variant:active,
.cjn-home-ref .cjn-preview-actions .cjn-save-design:active,
.cjn-home-ref .cjn-preview-actions [data-cjn-variant-actions] button:active {
    transform: translateY(0);
}

.cjn-home-ref .cjn-preview-actions .cjn-btn-surprise[disabled],
.cjn-home-ref .cjn-preview-actions .cjn-btn-secondary[disabled],
.cjn-home-ref .cjn-preview-actions .cjn-share-design[disabled],
.cjn-home-ref .cjn-preview-actions .cjn-make-variant[disabled],
.cjn-home-ref .cjn-preview-actions .cjn-save-design[disabled],
.cjn-home-ref .cjn-preview-actions [data-cjn-variant-actions] button[disabled] {
    border-color: rgba(201, 206, 216, 0.74);
    color: rgba(132, 140, 155, 0.9);
    background: rgba(252, 253, 255, 0.92);
    box-shadow: none;
}

body.home .site-footer {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 24px 0 30px;
    border-top: 1px solid rgba(176, 183, 197, 0.3);
    background: rgba(255, 255, 255, 0.94);
}

body.home .site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 10px;
}

body.home .site-footer__menu,
body.home .site-footer__quicklinks {
    gap: 6px 18px;
}

body.home .site-footer__menu a,
body.home .site-footer__quicklinks a {
    color: rgba(98, 106, 121, 0.92);
}

body.home .site-footer__copyright {
    color: rgba(126, 133, 146, 0.9);
}

@media (min-width: 720px) {
    .cjn-home-ref .surface-card,
    .cjn-home-ref .secondary-surface {
        padding: 2rem;
    }

    .cjn-home-ref .hero-content {
        padding: 2.8rem 2rem 3rem;
    }

    .cjn-home-ref .continue-card {
        flex-direction: row;
        align-items: center;
    }
}

@media (min-width: 960px) {
    .cjn-home-ref .section-intro-grid {
        grid-template-columns: 0.8fr 1.2fr;
    }

    .cjn-home-ref .atmosphere-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cjn-home-ref .secondary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .cjn-home-ref .container {
        width: min(calc(100% - 1.25rem), 1200px);
    }

    .cjn-home-ref .hero-actions {
        align-items: stretch;
    }

    .cjn-home-ref .button-ghost,
    .cjn-home-ref .button-secondary {
        width: 100%;
    }

    .cjn-home-ref .eyebrow-pill {
        max-width: 100%;
        text-align: center;
        line-height: 1.6;
    }

    .cjn-home-ref .hero-quote {
        font-size: clamp(2rem, 8.2vw, 3.05rem);
        line-height: 1.12;
    }
}

@media (max-width: 480px) {
    .cjn-generator-section__inner {
        border-radius: 18px;
    }

    .cjn-category-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cjn-category-tile {
        min-height: 62px;
    }

    .cjn-design-library ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .cjn-secondary-grid {
        grid-template-columns: 1fr;
    }

    .cjn-design-library li > p,
    .cjn-design-library li > small {
        padding: 3px 6px;
    }

    .cjn-design-library li > p:last-of-type {
        gap: 4px;
        padding: 4px 6px 6px;
    }
}

/* --- Affirmations flow shell aligned to homepage design family (visual-only) --- */
.cjn-flow-ref {
    position: relative;
    z-index: 1;
}

.cjn-flow-ref .cjn-stage {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.99), rgba(249, 251, 255, 0.97));
    border: 1px solid rgba(176, 183, 197, 0.3);
    border-radius: 2.3rem;
    box-shadow: 0 20px 56px rgba(86, 94, 112, 0.08);
    max-width: 1280px;
    padding: 2.4rem 2rem 2.2rem;
}

.cjn-flow-ref .cjn-hero {
    margin: 0 auto;
    max-width: 920px;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid rgba(176, 183, 197, 0.24);
}

.cjn-flow-ref--affirmation .cjn-hero-title--context {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.cjn-flow-ref .cjn-flow-eyebrow {
    margin: 0;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(120, 112, 94, 0.86);
}

.cjn-flow-ref--affirmation .cjn-live-compliment--hero {
    margin: 0.65rem auto 0;
    max-width: 840px;
    font-size: clamp(2.15rem, 5.2vw, 3.45rem);
    line-height: 1.24;
    letter-spacing: -0.022em;
    color: rgba(45, 49, 60, 0.98);
}

.cjn-flow-ref .cjn-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -0.028em;
    color: rgba(48, 53, 64, 0.98);
}

.cjn-flow-ref .cjn-hero__sub {
    margin: 0.95rem auto 0;
    max-width: 700px;
    font-size: 1rem;
    line-height: 1.72;
    color: rgba(102, 111, 127, 0.92);
}

.cjn-flow-ref--affirmation .cjn-hero__sub {
    margin-top: 0.9rem;
    max-width: 660px;
}

.cjn-flow-ref .cjn-flow-links {
    margin-top: 1.15rem;
    gap: 0.75rem;
}

.cjn-flow-ref--affirmation .cjn-flow-links {
    margin-top: 1.25rem;
}

.cjn-flow-ref .cjn-flow-links__primary,
.cjn-flow-ref .cjn-flow-links__secondary,
.cjn-flow-ref .cjn-btn-surprise,
.cjn-flow-ref .cjn-btn-secondary,
.cjn-flow-ref .cjn-share-design,
.cjn-flow-ref .cjn-make-variant,
.cjn-flow-ref .cjn-save-design,
.cjn-flow-ref .cjn-preview-actions [data-cjn-variant-actions] button,
.cjn-flow-ref .cjn-preview-actions a[data-cjn-gift-link] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.95rem;
    padding: 0.74rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(184, 191, 205, 0.62);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.99), rgba(249, 251, 255, 0.98));
    color: rgba(69, 77, 92, 0.96);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 8px 20px rgba(95, 103, 119, 0.08);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
    text-decoration: none;
}

.cjn-flow-ref .cjn-flow-links__primary,
.cjn-flow-ref .cjn-btn-surprise {
    border-color: rgba(170, 178, 194, 0.82);
    color: rgba(58, 64, 77, 0.98);
    font-weight: 600;
}

.cjn-flow-ref .cjn-flow-links__primary:hover,
.cjn-flow-ref .cjn-flow-links__secondary:hover,
.cjn-flow-ref .cjn-btn-surprise:hover,
.cjn-flow-ref .cjn-btn-secondary:hover,
.cjn-flow-ref .cjn-share-design:hover,
.cjn-flow-ref .cjn-make-variant:hover,
.cjn-flow-ref .cjn-save-design:hover,
.cjn-flow-ref .cjn-preview-actions [data-cjn-variant-actions] button:hover,
.cjn-flow-ref .cjn-preview-actions a[data-cjn-gift-link]:hover {
    transform: translateY(-1px);
    border-color: rgba(171, 180, 196, 0.78);
    color: rgba(62, 69, 83, 0.98);
    background: linear-gradient(150deg, rgba(255, 255, 255, 1), rgba(250, 252, 255, 0.99));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 10px 22px rgba(95, 103, 119, 0.1);
}

.cjn-flow-ref .cjn-generator-section {
    margin-top: 1.35rem;
    max-width: none;
}

.cjn-flow-ref .cjn-generator-section__inner {
    background: transparent;
}

.cjn-flow-ref .cjn-flow-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(22rem, 0.82fr);
    gap: 2.25rem;
}

.cjn-flow-ref .cjn-text-entry {
    max-width: none;
    margin: 0;
    padding: 1.35rem;
    border: 1px solid rgba(176, 183, 197, 0.29);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(86, 94, 112, 0.05);
}

.cjn-flow-ref .cjn-live-compliment {
    max-width: none;
    font-size: clamp(1.85rem, 4.1vw, 2.75rem);
    line-height: 1.42;
    color: rgba(50, 55, 66, 0.98);
}

.cjn-text-entry__sub {
    margin: 0.95rem auto 0;
    max-width: 36rem;
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(102, 111, 127, 0.92);
}

.cjn-flow-ref .cjn-text-entry__actions {
    margin-top: 1.2rem;
}

.cjn-flow-ref .cjn-text-entry__upgrade {
    margin-top: 0.85rem;
}

.cjn-personal-composer {
    margin-top: 1rem;
}

.cjn-personal-field,
.cjn-personal-upload-field {
    display: grid;
    gap: 0.55rem;
}

.cjn-personal-field span {
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8f7867;
}

.cjn-personal-field textarea {
    width: 100%;
    min-height: 13rem;
    padding: 1.1rem 1.15rem;
    border: 1px solid rgba(176, 183, 197, 0.34);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    font: inherit;
    font-size: 1.02rem;
    line-height: 1.72;
    color: rgba(50, 55, 66, 0.96);
    resize: vertical;
}

.cjn-personal-field textarea:focus,
.cjn-personal-upload-field input:focus {
    outline: 2px solid rgba(168, 132, 103, 0.22);
    outline-offset: 2px;
}

.cjn-refinement-copy {
    margin: 0.35rem 0 0;
    font-size: 0.96rem;
    line-height: 1.65;
    color: rgba(102, 111, 127, 0.92);
}

.cjn-personal-upload-field input[type="file"] {
    width: 100%;
    padding: 0.9rem 0.95rem;
    border: 1px dashed rgba(160, 132, 103, 0.38);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 248, 244, 0.96) 100%);
    color: rgba(67, 72, 84, 0.96);
}

.cjn-personal-upload-status {
    margin: 0.75rem 0 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(102, 111, 127, 0.92);
}

.cjn-personal-upload-preview {
    margin-top: 0.9rem;
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
    border: 1px solid rgba(176, 183, 197, 0.24);
    background-color: rgba(246, 248, 251, 0.94);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.cjn-flow-shell--personal .cjn-preview-area {
    min-height: 0;
}

.cjn-flow-shell--personal .cjn-preview-image {
    position: relative;
    overflow: hidden;
}

.cjn-flow-shell--personal .cjn-preview-image--personal-draft {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(248, 244, 238, 0.88);
}

.cjn-flow-shell--personal .cjn-preview-image--personal-draft img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cjn-preview-draft-card {
    position: absolute;
    inset: auto 50% 13% auto;
    transform: translateX(50%);
    width: min(72%, 34rem);
    padding: 1.35rem 1.55rem;
    border-radius: 1.15rem;
    background: rgba(255, 249, 241, 0.82);
    border: 1px solid rgba(223, 208, 194, 0.52);
    box-shadow: 0 12px 30px rgba(88, 68, 52, 0.12);
    backdrop-filter: blur(3px);
}

.cjn-preview-draft-card__text {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2.7vw, 2.15rem);
    line-height: 1.34;
    text-align: center;
    color: rgba(65, 49, 40, 0.98);
    text-wrap: balance;
}

.cjn-flow-shell--personal .cjn-preview-placeholder {
    padding: 1.5rem 1rem;
}

@media (max-width: 720px) {
    .cjn-personal-field textarea {
        min-height: 11rem;
    }

    .cjn-preview-draft-card {
        width: min(82%, 26rem);
        padding: 1rem 1.1rem;
        bottom: 9%;
    }
}

.cjn-flow-ref .cjn-visual-stage {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.cjn-flow-ref .cjn-refinement-section--style {
    max-width: none;
    margin: 0;
    border: 1px solid rgba(176, 183, 197, 0.29);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(86, 94, 112, 0.06);
    padding: 1.1rem;
}

.cjn-flow-ref .cjn-background-set-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    align-items: start;
}

.cjn-flow-ref .cjn-background-set-tile {
    min-height: 0;
    padding: 0.8rem 0.72rem 0.88rem;
    gap: 0.72rem;
    align-content: start;
    justify-items: stretch;
    overflow: hidden;
}

.cjn-flow-ref .cjn-background-set-tile__preview {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
}

.cjn-flow-ref .cjn-background-set-tile__label {
    display: block;
    width: 100%;
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.28;
    text-wrap: balance;
}

.cjn-flow-ref .cjn-refinement-title {
    color: rgba(60, 66, 80, 0.98);
}

.cjn-flow-ref .cjn-preview-area {
    margin-top: 0;
    max-width: none;
    border: 1px solid rgba(176, 183, 197, 0.28);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(250, 252, 255, 0.97) 100%);
    box-shadow: 0 12px 30px rgba(86, 94, 112, 0.06);
    width: 100%;
}

.cjn-flow-ref .cjn-preview-actions {
    border-top: 1px solid rgba(176, 183, 197, 0.24);
    background: linear-gradient(180deg, rgba(252, 253, 255, 0.82) 0%, rgba(255, 255, 255, 0.96) 100%);
    gap: 0.72rem;
}

.cjn-flow-ref .cjn-library-area {
    max-width: none;
    margin: 0;
    border: 1px solid rgba(176, 183, 197, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 252, 255, 0.96) 100%);
}

body.cjn-flow-shell .site-footer {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 24px 0 30px;
    border-top: 1px solid rgba(176, 183, 197, 0.3);
    background: rgba(255, 255, 255, 0.94);
}

body.cjn-flow-shell .site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 10px;
}

body.cjn-flow-shell .site-footer__menu,
body.cjn-flow-shell .site-footer__quicklinks {
    gap: 6px 18px;
}

body.cjn-flow-shell .site-footer__menu a,
body.cjn-flow-shell .site-footer__quicklinks a {
    color: rgba(98, 106, 121, 0.92);
}

body.cjn-flow-shell .site-footer__copyright {
    color: rgba(126, 133, 146, 0.9);
}

@media (max-width: 720px) {
    body.cjn-flow-shell .site-main {
        max-width: 100%;
        padding-top: 20px;
        padding-bottom: 44px;
    }

    .cjn-flow-layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .cjn-flow-layout__media {
        order: 1;
    }

    .cjn-flow-layout__rail {
        order: 2;
    }

    .cjn-flow-ref--affirmation .cjn-live-compliment--hero {
        font-size: clamp(1.65rem, 8vw, 2.35rem);
        line-height: 1.3;
    }
}

.cjn-design-preview img {
    display: block;
    width: 100%;
    max-width: 100%;
}

/* --- Generic page defaults --- */
.cjn-page-content {
    max-width: 980px;
    margin: 0 auto;
}

.cjn-page-article {
    background: #fff;
}

.cjn-page-title {
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 1.14;
}

.cjn-page-body {
    line-height: 1.72;
}

/* --- Over Complimentje page polish (scoped) --- */
body.page-slug-over-complimentje .cjn-page-content--about {
    max-width: 860px;
    margin: 0 auto;
    padding: 10px 0 8px;
}

body.page-slug-over-complimentje .cjn-page-article {
    border: 1px solid rgba(168, 146, 130, 0.14);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(60, 44, 32, 0.05);
    overflow: hidden;
}

body.page-slug-over-complimentje .cjn-about-hero {
    padding: 42px 46px 28px;
    text-align: center;
    background:
        radial-gradient(120% 120% at 50% -16%, rgba(249, 226, 212, 0.38) 0%, rgba(255, 255, 255, 0) 72%),
        #fff;
    border-bottom: 1px solid rgba(150, 122, 94, 0.12);
}

body.page-slug-over-complimentje .cjn-about-hero__title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4.6vw, 3rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--cjn-text);
}

body.page-slug-over-complimentje .cjn-about-hero__intro {
    margin: 12px auto 0;
    max-width: 560px;
    color: rgba(121, 102, 89, 0.92);
    font-size: 1.03rem;
    line-height: 1.72;
}

body.page-slug-over-complimentje .cjn-page-body {
    max-width: 690px;
    margin: 0 auto;
    padding: 34px 38px 8px;
    color: rgba(70, 58, 50, 0.95);
    font-size: 1.02rem;
    line-height: 1.78;
}

body.page-slug-over-complimentje .cjn-page-body > h1:first-child {
    display: none;
}

body.page-slug-over-complimentje .cjn-page-body h2 {
    margin: 44px 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.4rem, 2.8vw, 1.86rem);
    font-weight: 400;
    line-height: 1.24;
    letter-spacing: -0.012em;
    color: rgba(72, 59, 50, 0.97);
}

body.page-slug-over-complimentje .cjn-page-body p {
    margin: 0 0 16px;
}

body.page-slug-over-complimentje .cjn-about-cta {
    margin: 30px auto 34px;
    max-width: 690px;
    padding: 22px 24px 26px;
    border-top: 1px solid rgba(150, 122, 94, 0.12);
    text-align: center;
}

body.page-slug-over-complimentje .cjn-about-cta h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.3rem, 2.3vw, 1.62rem);
    font-weight: 400;
    line-height: 1.28;
}

body.page-slug-over-complimentje .cjn-about-cta p {
    margin: 10px auto 0;
    max-width: 520px;
    color: rgba(113, 95, 84, 0.92);
}

body.page-slug-over-complimentje .cjn-about-cta .cjn-btn-surprise {
    margin-top: 8px;
}

@media (max-width: 720px) {
    body.page-slug-over-complimentje .cjn-page-content--about {
        padding-top: 2px;
    }

    body.page-slug-over-complimentje .cjn-page-article {
        border-radius: 18px;
    }

    body.page-slug-over-complimentje .cjn-about-hero {
        padding: 30px 20px 22px;
    }

    body.page-slug-over-complimentje .cjn-about-hero__intro {
        font-size: 0.97rem;
    }

    body.page-slug-over-complimentje .cjn-page-body {
        padding: 24px 20px 6px;
        font-size: 0.98rem;
        line-height: 1.72;
    }

    body.page-slug-over-complimentje .cjn-page-body h2 {
        margin-top: 32px;
    }

    body.page-slug-over-complimentje .cjn-about-cta {
        margin: 22px auto 24px;
        padding: 18px 16px 22px;
    }
}

/* --- Footer v2 / trust layer --- */
.site-footer {
    max-width: none;
    width: 100%;
    margin: 72px 0 0;
    padding: 0;
    border-top: 0;
    background:
        radial-gradient(120% 140% at 50% 0%, rgba(247, 228, 214, 0.28) 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(180deg, rgba(255, 253, 250, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.site-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 20px 36px;
    display: grid;
    gap: 22px;
    text-align: left;
    justify-items: stretch;
}

.site-footer__brand {
    display: grid;
    gap: 8px;
    padding: 0 0 18px;
    border-bottom: 1px solid rgba(183, 162, 144, 0.18);
}

.site-footer__brand-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.8fr);
    gap: 22px 34px;
    align-items: start;
}

.site-footer__brand-copy {
    display: grid;
    gap: 10px;
}

.site-footer__eyebrow,
.site-footer__column-title {
    margin: 0;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(144, 118, 98, 0.88);
}

.site-footer__summary,
.site-footer__trust {
    margin: 0;
    max-width: 58rem;
}

.site-footer__summary {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.1rem, 2vw, 1.42rem);
    line-height: 1.45;
    color: rgba(69, 55, 46, 0.96);
}

.site-footer__trust {
    color: rgba(108, 92, 82, 0.9);
    line-height: 1.7;
}

.site-footer__columns {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
    gap: 22px 34px;
    align-items: start;
}

.site-footer__column {
    display: grid;
    gap: 12px;
}

.site-footer__menu,
.site-footer__quicklinks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 10px 18px;
    align-items: start;
}

.site-footer__menu a,
.site-footer__quicklinks a {
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    color: rgba(102, 84, 72, 0.92);
    text-decoration: none;
}

.site-footer__menu a:hover,
.site-footer__menu a:focus,
.site-footer__quicklinks a:hover,
.site-footer__quicklinks a:focus {
    color: rgba(72, 57, 48, 0.98);
}

.site-footer__empty {
    margin: 0;
    color: rgba(112, 98, 88, 0.88);
    line-height: 1.72;
}

.site-footer__copyright {
    display: block;
    color: rgba(122, 110, 102, 0.86);
}

body.cjn-flow-shell .site-footer {
    margin-top: 46px;
    border-top: 1px solid rgba(176, 183, 197, 0.3);
}

body.cjn-flow-shell .site-footer__inner {
    max-width: 1200px;
    padding: 24px 20px 32px;
}

/* --- Generator sync / disabled CTA state --- */
a[data-cjn-gift-link][data-cjn-disabled="1"] {
    opacity: 0.5;
    pointer-events: none;
    filter: saturate(0.8);
}

/* --- Over Complimentje editorial refresh --- */
body.page-slug-over-complimentje .cjn-page-content--about {
    max-width: 1180px;
    padding: 10px 0 8px;
}

body.page-slug-over-complimentje .cjn-page-article {
    border: 1px solid rgba(168, 146, 130, 0.14);
    border-radius: 28px;
    background:
        radial-gradient(120% 140% at 12% 0%, rgba(251, 233, 221, 0.42) 0%, rgba(255, 255, 255, 0) 48%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 252, 248, 0.98) 100%);
    box-shadow: 0 18px 44px rgba(60, 44, 32, 0.06);
    overflow: hidden;
}

body.page-slug-over-complimentje .cjn-about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.98fr);
    gap: 28px;
    align-items: center;
    padding: 42px 44px 28px;
    text-align: left;
    background: transparent;
    border-bottom: 1px solid rgba(150, 122, 94, 0.12);
}

body.page-slug-over-complimentje .cjn-about-hero__copy {
    display: grid;
    gap: 14px;
}

body.page-slug-over-complimentje .cjn-about-hero__eyebrow,
body.page-slug-over-complimentje .cjn-about-note__eyebrow,
body.page-slug-over-complimentje .cjn-about-path__eyebrow {
    margin: 0;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(150, 118, 97, 0.92);
}

body.page-slug-over-complimentje .cjn-about-hero__title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
    color: rgba(63, 49, 40, 0.98);
}

body.page-slug-over-complimentje .cjn-about-hero__intro {
    margin: 0;
    max-width: 38rem;
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(111, 93, 81, 0.94);
}

body.page-slug-over-complimentje .cjn-about-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}

body.page-slug-over-complimentje .cjn-about-hero__media {
    display: grid;
    gap: 16px;
}

body.page-slug-over-complimentje .cjn-about-hero__art {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 12px 26px rgba(77, 59, 45, 0.08);
}

body.page-slug-over-complimentje .cjn-about-hero__art img,
body.page-slug-over-complimentje .cjn-about-hero__mini-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-slug-over-complimentje .cjn-about-hero__mini-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 8.5rem;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(191, 168, 151, 0.18);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

body.page-slug-over-complimentje .cjn-about-hero__mini-copy {
    display: grid;
    gap: 8px;
}

body.page-slug-over-complimentje .cjn-about-hero__mini-label {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(148, 120, 103, 0.88);
}

body.page-slug-over-complimentje .cjn-about-hero__mini-copy p:last-child {
    margin: 0;
    color: rgba(92, 76, 66, 0.92);
    line-height: 1.7;
}

body.page-slug-over-complimentje .cjn-about-hero__mini-image {
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 1 / 1;
    background: rgba(247, 243, 239, 0.9);
}

body.page-slug-over-complimentje .cjn-about-story {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(16rem, 0.82fr);
    gap: 24px;
    padding: 34px 38px 12px;
}

body.page-slug-over-complimentje .cjn-about-story__main {
    max-width: none;
    margin: 0;
    padding: 0;
}

body.page-slug-over-complimentje .cjn-about-story__rail {
    display: grid;
    gap: 16px;
    align-content: start;
}

body.page-slug-over-complimentje .cjn-about-note {
    padding: 18px 18px 20px;
    border: 1px solid rgba(190, 168, 152, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.84);
}

body.page-slug-over-complimentje .cjn-about-note p {
    margin: 10px 0 0;
    color: rgba(93, 77, 67, 0.92);
}

body.page-slug-over-complimentje .cjn-about-note__steps {
    margin: 12px 0 0;
    padding-left: 1.15rem;
    color: rgba(93, 77, 67, 0.94);
    line-height: 1.8;
}

body.page-slug-over-complimentje .cjn-about-paths {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 8px 38px 8px;
}

body.page-slug-over-complimentje .cjn-about-path {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 22px 22px 24px;
    border: 1px solid rgba(176, 183, 197, 0.18);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 20px rgba(73, 79, 91, 0.04);
}

body.page-slug-over-complimentje .cjn-about-path h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.5vw, 1.7rem);
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: -0.02em;
    color: rgba(68, 54, 45, 0.98);
}

body.page-slug-over-complimentje .cjn-about-path p {
    margin: 0;
    color: rgba(101, 85, 74, 0.92);
    line-height: 1.72;
}

body.page-slug-over-complimentje .cjn-about-path .cjn-btn-secondary {
    justify-self: start;
}

body.page-slug-over-complimentje .cjn-about-cta {
    margin: 20px 38px 38px;
    max-width: none;
    padding: 26px 28px 30px;
    border-top: 0;
    border-radius: 24px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 248, 242, 0.88) 0%, rgba(255, 255, 255, 0.9) 100%);
}

body.page-slug-over-complimentje .cjn-about-cta h2 {
    margin: 0;
}

body.page-slug-over-complimentje .cjn-about-cta p {
    margin: 12px auto 0;
    max-width: 42rem;
}

@media (max-width: 960px) {
    .site-footer__columns,
    body.page-slug-over-complimentje .cjn-about-hero,
    body.page-slug-over-complimentje .cjn-about-story,
    body.page-slug-over-complimentje .cjn-about-paths {
        grid-template-columns: 1fr;
    }

    body.page-slug-over-complimentje .cjn-about-path .cjn-btn-secondary {
        justify-self: stretch;
        text-align: center;
    }
}

@media (max-width: 720px) {
    .site-footer {
        margin-top: 54px;
    }

    .site-footer__inner {
        padding: 24px 16px 30px;
    }

    .site-footer__columns {
        gap: 18px;
    }

    body.page-slug-over-complimentje .cjn-page-content--about {
        padding-top: 2px;
    }

    body.page-slug-over-complimentje .cjn-page-article {
        border-radius: 20px;
    }

    body.page-slug-over-complimentje .cjn-about-hero {
        padding: 28px 18px 20px;
        gap: 18px;
    }

    body.page-slug-over-complimentje .cjn-about-hero__art {
        min-height: 240px;
    }

    body.page-slug-over-complimentje .cjn-about-hero__mini-card,
    body.page-slug-over-complimentje .cjn-about-story,
    body.page-slug-over-complimentje .cjn-about-paths,
    body.page-slug-over-complimentje .cjn-about-cta {
        margin-left: 0;
        margin-right: 0;
        padding-left: 18px;
        padding-right: 18px;
    }

    body.page-slug-over-complimentje .cjn-about-story {
        padding-top: 24px;
        padding-bottom: 6px;
    }

    body.page-slug-over-complimentje .cjn-about-paths {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    body.page-slug-over-complimentje .cjn-about-cta {
        padding-top: 22px;
        padding-bottom: 24px;
    }
}

/* --- Support/contact and footer refinement pass --- */
.cjn-page-content--support,
.cjn-page-content {
    max-width: 1180px;
    margin: 0 auto;
}

.cjn-page-content:not(.cjn-page-content--about):not(.cjn-page-content--support) .cjn-page-article,
.cjn-page-content--support .cjn-page-article {
    border: 1px solid rgba(168, 146, 130, 0.14);
    border-radius: 28px;
    background:
        radial-gradient(120% 140% at 10% 0%, rgba(250, 234, 223, 0.36) 0%, rgba(255, 255, 255, 0) 46%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 252, 248, 0.98) 100%);
    box-shadow: 0 18px 44px rgba(60, 44, 32, 0.06);
    overflow: hidden;
}

.cjn-content-hero,
.cjn-support-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.86fr);
    gap: 24px;
    align-items: center;
    padding: 40px 42px 26px;
    border-bottom: 1px solid rgba(150, 122, 94, 0.12);
}

.cjn-content-hero__copy,
.cjn-support-hero__copy {
    display: grid;
    gap: 12px;
}

.cjn-content-hero__eyebrow,
.cjn-support-hero__eyebrow,
.cjn-support-card__eyebrow {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(150, 118, 97, 0.92);
}

.cjn-content-hero .cjn-page-title,
.cjn-support-hero__title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 4.6vw, 3.5rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: rgba(63, 49, 40, 0.98);
}

.cjn-content-hero__intro,
.cjn-support-hero__intro {
    margin: 0;
    max-width: 40rem;
    color: rgba(111, 93, 81, 0.94);
    font-size: 1.03rem;
    line-height: 1.78;
}

.cjn-content-hero__media,
.cjn-support-hero__media {
    overflow: hidden;
    border-radius: 24px;
    min-height: 260px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 26px rgba(77, 59, 45, 0.08);
}

.cjn-content-hero__media img,
.cjn-support-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cjn-support-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.cjn-page-content:not(.cjn-page-content--about):not(.cjn-page-content--support) .cjn-page-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 38px 36px;
    color: rgba(70, 58, 50, 0.95);
    font-size: 1.02rem;
    line-height: 1.78;
}

.cjn-support-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(16rem, 0.84fr);
    gap: 24px;
    padding: 32px 38px 36px;
}

.cjn-support-layout__main {
    max-width: none;
    margin: 0;
    padding: 0;
    color: rgba(70, 58, 50, 0.95);
}

.cjn-support-layout__aside {
    display: grid;
    gap: 16px;
    align-content: start;
}

.cjn-support-card {
    display: grid;
    gap: 10px;
    padding: 18px 18px 20px;
    border: 1px solid rgba(190, 168, 152, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.84);
}

.cjn-support-card p {
    margin: 0;
    color: rgba(93, 77, 67, 0.92);
    line-height: 1.72;
}

.cjn-support-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.cjn-support-card__links a {
    color: rgba(102, 84, 72, 0.94);
    text-decoration: none;
}

.cjn-support-card__links a:hover,
.cjn-support-card__links a:focus {
    color: rgba(72, 57, 48, 0.98);
}

.cjn-page-body--tarot {
    max-width: 980px;
}

.cjn-tarot-draw {
    display: grid;
    grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr);
    gap: 24px 30px;
    align-items: center;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(190, 168, 152, 0.18);
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(244, 234, 223, 0.42) 0%, rgba(255, 255, 255, 0) 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(252, 248, 243, 0.9) 100%);
    box-shadow: 0 18px 42px rgba(88, 67, 51, 0.07);
}

.cjn-tarot-draw__media {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(246, 239, 231, 0.9);
    border: 1px solid rgba(190, 168, 152, 0.16);
    box-shadow: 0 12px 26px rgba(88, 67, 51, 0.08);
}

.cjn-tarot-draw__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 610 / 1024;
    object-fit: cover;
}

.cjn-tarot-draw__copy {
    display: grid;
    gap: 10px;
    align-content: start;
}

.cjn-tarot-draw__eyebrow {
    margin: 0;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(145, 116, 95, 0.9);
}

.cjn-tarot-draw__title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3.8vw, 3rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: rgba(63, 49, 40, 0.98);
}

.cjn-tarot-draw__date {
    margin: 0;
    color: rgba(122, 102, 88, 0.84);
    font-size: 0.94rem;
}

.cjn-tarot-draw__excerpt {
    margin: 0;
    color: rgba(92, 77, 67, 0.94);
    font-size: 1.02rem;
    line-height: 1.8;
}

.cjn-tarot-draw__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    padding-top: 6px;
}

.cjn-tarot-draw--empty {
    grid-template-columns: 1fr;
}

.site-footer__mini {
    display: grid;
    grid-template-columns: 6.8rem minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(251, 246, 240, 0.72) 100%);
    border: 1px solid rgba(183, 162, 144, 0.16);
    box-shadow: 0 14px 30px rgba(105, 79, 62, 0.06);
}

.site-footer__mini-art {
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 1 / 1;
    background: rgba(247, 243, 239, 0.94);
    border: 1px solid rgba(183, 162, 144, 0.18);
}

.site-footer__mini-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-footer__mini-copy {
    display: grid;
    gap: 8px;
}

.site-footer__mini-title {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(118, 94, 78, 0.94);
}

.site-footer__mini-copy p:last-child {
    margin: 0;
    color: rgba(104, 88, 78, 0.92);
    line-height: 1.72;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 18px;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid rgba(183, 162, 144, 0.18);
}

.site-footer__legal {
    margin: 0;
    max-width: 42rem;
    color: rgba(112, 98, 88, 0.88);
    line-height: 1.7;
    text-align: right;
}

@media (max-width: 960px) {
    .cjn-content-hero,
    .cjn-support-hero,
    .cjn-support-layout {
        grid-template-columns: 1fr;
    }

    .cjn-tarot-draw {
        grid-template-columns: 1fr;
    }

    .site-footer__brand-layout,
    .site-footer__columns {
        grid-template-columns: 1fr;
    }

    .site-footer__legal {
        text-align: left;
    }
}

@media (max-width: 720px) {
    .cjn-content-hero,
    .cjn-support-hero,
    .cjn-page-content:not(.cjn-page-content--about):not(.cjn-page-content--support) .cjn-page-body,
    .cjn-support-layout {
        padding-left: 18px;
        padding-right: 18px;
    }

    .cjn-content-hero,
    .cjn-support-hero {
        padding-top: 28px;
        padding-bottom: 22px;
    }

    .cjn-content-hero__media,
    .cjn-support-hero__media {
        min-height: 220px;
    }

    .cjn-support-layout {
        padding-top: 24px;
        padding-bottom: 28px;
    }

    .site-footer__mini {
        grid-template-columns: 1fr;
        padding: 14px 14px 16px;
    }

    .site-footer__bottom {
        padding-top: 10px;
        justify-content: flex-start;
    }

    .site-footer__menu,
    .site-footer__quicklinks {
        grid-template-columns: 1fr;
    }
}

/* --- About page repair / clean override --- */
body.page-slug-over-complimentje .cjn-page-content--about {
    padding: 36px 0 0;
}

body.page-slug-over-complimentje .cjn-page-article {
    width: min(calc(100% - 32px), 1240px);
    margin: 0 auto;
    border: 1px solid rgba(189, 167, 148, 0.18);
    border-radius: 34px;
    overflow: hidden;
    background:
        radial-gradient(120% 120% at 50% -12%, rgba(247, 229, 214, 0.34) 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 248, 243, 0.96) 100%);
    box-shadow: 0 24px 64px rgba(84, 64, 48, 0.08);
}

body.page-slug-over-complimentje .cjn-about-hero,
body.page-slug-over-complimentje .cjn-about-story,
body.page-slug-over-complimentje .cjn-about-paths,
body.page-slug-over-complimentje .cjn-about-cta {
    width: auto;
    max-width: none;
    margin: 0;
}

body.page-slug-over-complimentje .cjn-about-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(22rem, 1.04fr);
    gap: 30px;
    align-items: center;
    padding: 40px 42px 30px;
    text-align: left;
    border-bottom: 1px solid rgba(189, 167, 148, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0) 100%);
}

body.page-slug-over-complimentje .cjn-about-hero__copy {
    display: grid;
    gap: 14px;
    align-content: start;
}

body.page-slug-over-complimentje .cjn-about-hero__title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: rgba(62, 47, 38, 0.98);
}

body.page-slug-over-complimentje .cjn-about-hero__intro {
    margin: 0;
    max-width: 38rem;
    font-size: 1.06rem;
    line-height: 1.82;
    color: rgba(108, 88, 76, 0.95);
}

body.page-slug-over-complimentje .cjn-about-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    padding-top: 6px;
}

body.page-slug-over-complimentje .cjn-about-hero__media {
    display: grid;
    gap: 18px;
    align-content: start;
}

body.page-slug-over-complimentje .cjn-about-hero__art {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    min-height: 0;
    max-height: 680px;
    border-radius: 28px;
    border: 1px solid rgba(189, 167, 148, 0.18);
    background: rgba(247, 243, 239, 0.88);
    box-shadow: 0 18px 40px rgba(89, 67, 50, 0.1);
}

body.page-slug-over-complimentje .cjn-about-hero__art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-slug-over-complimentje .cjn-about-hero__mini-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 8.5rem;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(189, 167, 148, 0.18);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

body.page-slug-over-complimentje .cjn-about-hero__mini-copy {
    display: grid;
    gap: 8px;
}

body.page-slug-over-complimentje .cjn-about-hero__mini-copy p {
    margin: 0;
    color: rgba(96, 79, 68, 0.92);
    line-height: 1.7;
}

body.page-slug-over-complimentje .cjn-about-hero__mini-image {
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    border: 1px solid rgba(189, 167, 148, 0.14);
    background: rgba(246, 240, 233, 0.92);
}

body.page-slug-over-complimentje .cjn-about-hero__mini-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-slug-over-complimentje .cjn-about-story {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(18rem, 0.82fr);
    gap: 24px;
    padding: 34px 42px 20px;
}

body.page-slug-over-complimentje .cjn-about-story__main {
    margin: 0;
    padding: 0;
    max-width: none;
    font-size: 1.03rem;
    line-height: 1.86;
    color: rgba(82, 67, 58, 0.96);
}

body.page-slug-over-complimentje .cjn-about-story__main > :first-child {
    margin-top: 0;
}

body.page-slug-over-complimentje .cjn-about-story__main h2,
body.page-slug-over-complimentje .cjn-about-story__main h3 {
    margin: 1.6em 0 0.55em;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: rgba(61, 48, 39, 0.98);
}

body.page-slug-over-complimentje .cjn-about-story__main h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
}

body.page-slug-over-complimentje .cjn-about-story__main p,
body.page-slug-over-complimentje .cjn-about-story__main ul,
body.page-slug-over-complimentje .cjn-about-story__main ol {
    margin: 0 0 1em;
}

body.page-slug-over-complimentje .cjn-about-story__rail {
    display: grid;
    gap: 16px;
    align-content: start;
}

body.page-slug-over-complimentje .cjn-about-note {
    padding: 18px 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(189, 167, 148, 0.16);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 26px rgba(92, 70, 54, 0.05);
}

body.page-slug-over-complimentje .cjn-about-note p,
body.page-slug-over-complimentje .cjn-about-note ol {
    margin: 0;
    color: rgba(98, 82, 71, 0.92);
    line-height: 1.74;
}

body.page-slug-over-complimentje .cjn-about-note__steps {
    padding-left: 1.2rem;
}

body.page-slug-over-complimentje .cjn-about-paths {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 10px 42px 18px;
}

body.page-slug-over-complimentje .cjn-about-path {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 22px 22px 24px;
    border-radius: 24px;
    border: 1px solid rgba(189, 167, 148, 0.16);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 12px 24px rgba(92, 70, 54, 0.05);
}

body.page-slug-over-complimentje .cjn-about-path h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.05;
    color: rgba(62, 47, 38, 0.98);
}

body.page-slug-over-complimentje .cjn-about-path p {
    margin: 0;
    color: rgba(99, 82, 71, 0.92);
    line-height: 1.72;
}

body.page-slug-over-complimentje .cjn-about-cta {
    padding: 20px 42px 42px;
    text-align: left;
}

body.page-slug-over-complimentje .cjn-about-cta h2 {
    margin: 0 0 12px;
    max-width: 42rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.9rem, 3.8vw, 2.9rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: rgba(62, 47, 38, 0.98);
}

body.page-slug-over-complimentje .cjn-about-cta p {
    max-width: 42rem;
    color: rgba(101, 84, 74, 0.94);
    line-height: 1.8;
}

@media (max-width: 1080px) {
    body.page-slug-over-complimentje .cjn-about-hero,
    body.page-slug-over-complimentje .cjn-about-story,
    body.page-slug-over-complimentje .cjn-about-paths {
        grid-template-columns: 1fr;
    }

    body.page-slug-over-complimentje .cjn-about-paths {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    body.page-slug-over-complimentje .cjn-page-article {
        width: min(calc(100% - 18px), 1240px);
        border-radius: 24px;
    }

    body.page-slug-over-complimentje .cjn-about-hero,
    body.page-slug-over-complimentje .cjn-about-story,
    body.page-slug-over-complimentje .cjn-about-paths,
    body.page-slug-over-complimentje .cjn-about-cta {
        padding-left: 18px;
        padding-right: 18px;
    }

    body.page-slug-over-complimentje .cjn-about-hero {
        gap: 18px;
        padding-top: 28px;
        padding-bottom: 24px;
    }

    body.page-slug-over-complimentje .cjn-about-hero__art {
        aspect-ratio: 4 / 5;
        max-height: none;
    }

    body.page-slug-over-complimentje .cjn-about-hero__mini-card {
        grid-template-columns: 1fr;
    }

    body.page-slug-over-complimentje .cjn-about-paths {
        grid-template-columns: 1fr;
        padding-top: 6px;
    }

    body.page-slug-over-complimentje .cjn-about-cta {
        padding-top: 10px;
        padding-bottom: 28px;
    }
}

/* --- Homepage separation pass --- */
.cjn-home-ref .atmosphere-section {
    display: grid;
    gap: 18px;
    padding-bottom: 2.8rem;
}

.cjn-home-ref .surface-card--chooser,
.cjn-home-ref .surface-card--continue,
.cjn-home-ref .surface-card--library,
.cjn-home-ref .secondary-surface {
    position: relative;
}

.cjn-home-ref .surface-card--chooser::before,
.cjn-home-ref .surface-card--continue::before,
.cjn-home-ref .surface-card--library::before,
.cjn-home-ref .secondary-surface::before {
    content: "";
    position: absolute;
    inset-inline: 22px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(204, 177, 120, 0.75), transparent);
    pointer-events: none;
}

.cjn-home-ref .surface-card--chooser {
    background:
        radial-gradient(120% 110% at 0% 0%, rgba(246, 231, 214, 0.24) 0%, rgba(255, 255, 255, 0) 52%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(249, 251, 255, 0.96));
}

.cjn-home-ref .surface-card--continue {
    padding: 1.2rem 1.35rem 1.35rem;
    background:
        radial-gradient(120% 110% at 100% 0%, rgba(233, 240, 252, 0.28) 0%, rgba(255, 255, 255, 0) 56%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.97));
}

.cjn-home-ref .surface-card--library {
    padding: 1.2rem 1.35rem 1.35rem;
    background:
        radial-gradient(120% 110% at 0% 100%, rgba(248, 236, 225, 0.26) 0%, rgba(255, 255, 255, 0) 50%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(251, 249, 246, 0.97));
}

.cjn-home-ref .surface-card--continue .continue-card {
    margin-top: 0;
}

.cjn-home-ref .surface-card--library .cjn-library-area {
    margin-top: 0;
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 1;
}

.cjn-home-ref .surface-card--library .cjn-design-library h3,
.cjn-home-ref .surface-card--library .cjn-design-library__intro {
    max-width: 42rem;
}

.cjn-home-ref .secondary-surface {
    background:
        radial-gradient(120% 110% at 100% 0%, rgba(237, 228, 216, 0.24) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(249, 251, 255, 0.96));
}

.cjn-home-ref .secondary-card:nth-child(4) {
    background:
        radial-gradient(120% 110% at 100% 0%, rgba(244, 228, 214, 0.22) 0%, rgba(255, 255, 255, 0) 58%),
        rgba(255, 255, 255, 0.98);
}

.cjn-home-ref .secondary-card:nth-child(4) h3 {
    color: rgba(92, 69, 57, 0.98);
}

@media (min-width: 960px) {
    .cjn-home-ref .surface-card--continue {
        width: min(calc(100% - 7rem), 1060px);
    }

    .cjn-home-ref .surface-card--library {
        width: min(calc(100% - 3rem), 1120px);
    }
}

@media (max-width: 720px) {
    .cjn-home-ref .atmosphere-section {
        gap: 14px;
    }

    .cjn-home-ref .surface-card--continue,
    .cjn-home-ref .surface-card--library {
        padding: 1rem 1rem 1.1rem;
    }
}

/* --- About page fallback selectors --- */
.cjn-page-content--about .cjn-page-article {
    width: min(calc(100% - 48px), 1240px);
}

.cjn-page-content--about .cjn-about-hero,
.cjn-page-content--about .cjn-about-story {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
    gap: 30px;
}

.cjn-page-content--about .cjn-about-hero__art {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    max-height: 560px;
    border-radius: 30px;
}

.cjn-page-content--about .cjn-about-hero__art img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.cjn-page-content--about .cjn-about-story__main {
    min-width: 0;
}

@media (max-width: 1080px) {
    .cjn-page-content--about .cjn-about-hero,
    .cjn-page-content--about .cjn-about-story {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .cjn-page-content--about .cjn-page-article {
        width: min(calc(100% - 18px), 1240px);
    }
}

/* --- Global polish pass: grid, spacing, accessibility, SEO-support --- */
:root {
    --cjn-shell-max: 1200px;
    --cjn-shell-wide: 1260px;
    --cjn-section-gap: clamp(1.25rem, 2.2vw, 2rem);
    --cjn-card-pad: clamp(1.2rem, 2vw, 1.75rem);
    --cjn-card-radius: 1.6rem;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 999;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: #fff;
    color: #4e3b31;
    box-shadow: 0 8px 24px rgba(72, 53, 39, 0.16);
}

.skip-link:focus {
    top: 1rem;
    width: auto;
    height: auto;
    clip: auto;
    margin: 0;
    overflow: visible;
    white-space: normal;
}

.site-header__inner,
.cjn-home-ref .container,
.cjn-page-content .cjn-page-article,
.site-footer__inner {
    width: min(calc(100% - 2rem), var(--cjn-shell-max));
    margin-inline: auto;
}

.site-main {
    width: min(calc(100% - 2rem), var(--cjn-shell-wide));
    max-width: none;
    padding: clamp(1.5rem, 2vw, 2.25rem) 0 clamp(3rem, 4vw, 4.5rem);
}

body.home .site-main,
body.cjn-flow-shell .site-main {
    width: min(calc(100% - 2rem), var(--cjn-shell-wide));
    max-width: none;
}

.site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem 1.75rem;
    padding: 0.95rem 0;
}

.cjn-home-ref .surface-card,
.cjn-home-ref .secondary-surface {
    width: 100%;
    padding: var(--cjn-card-pad);
    border-radius: 2rem;
}

.cjn-home-ref .atmosphere-section {
    gap: var(--cjn-section-gap);
}

.cjn-home-ref .section-intro-grid {
    grid-template-columns: minmax(250px, 0.86fr) minmax(0, 1.14fr);
    gap: var(--cjn-section-gap);
}

.cjn-home-ref .surface-card--continue .continue-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.cjn-home-ref .surface-card--library .cjn-library-area {
    margin-top: 0;
}

.cjn-home-ref .secondary-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.cjn-home-ref .secondary-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    min-height: 100%;
    padding: 1.35rem;
    text-align: left;
}

.cjn-home-ref .secondary-card p {
    margin: 0;
}

.cjn-home-ref .secondary-link {
    margin-top: auto;
}

.cjn-flow-ref .cjn-generator-section__inner,
.cjn-flow-ref .cjn-flow-layout {
    gap: var(--cjn-section-gap);
}

.cjn-flow-layout__media,
.cjn-flow-layout__rail {
    gap: 1.2rem;
}

.cjn-flow-ref .cjn-preview-area {
    overflow: hidden;
    border-radius: 1.5rem;
}

.cjn-flow-ref .cjn-text-entry,
.cjn-flow-ref .cjn-refinement-section {
    border-radius: 1.5rem;
}

.cjn-flow-ref .cjn-text-entry {
    padding: 1.45rem;
}

.cjn-flow-ref .cjn-live-compliment {
    max-width: 14ch;
    margin-inline: auto;
    text-wrap: balance;
}

.cjn-flow-shell--personal .cjn-preview-image {
    aspect-ratio: 1 / 1;
    min-height: min(74vw, 720px);
    background-position: center;
}

.cjn-flow-shell--personal .cjn-preview-image--has-text {
    padding: 10%;
}

.cjn-flow-shell--personal .cjn-preview-text-card,
.cjn-flow-shell--personal .cjn-preview-draft-card {
    width: min(72%, 30rem);
    max-width: none;
    margin: 0 auto;
    padding: clamp(1.1rem, 2.5vw, 1.7rem);
    border-radius: 1.3rem;
}

.cjn-flow-shell--personal .cjn-preview-draft-card {
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
}

.cjn-flow-shell--personal .cjn-personal-field textarea {
    min-height: 15rem;
}

.cjn-flow-shell--personal .cjn-personal-upload-preview {
    aspect-ratio: 1 / 1;
}

.cjn-library-area,
.cjn-flow-ref .cjn-library-area {
    max-width: none;
}

.site-footer {
    width: 100%;
    max-width: none;
    padding: 2rem 0 2.4rem;
}

.site-footer__inner {
    display: grid;
    gap: 1.75rem;
    justify-items: stretch;
    text-align: left;
}

.site-footer__brand-layout,
.site-footer__columns,
.site-footer__bottom {
    width: 100%;
}

.site-footer__brand-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 1.5rem;
    align-items: start;
}

.site-footer__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(193, 176, 162, 0.24);
}

.site-footer__menu,
.site-footer__quicklinks {
    justify-content: flex-start;
    gap: 0.75rem 1.25rem;
}

.site-footer__quicklinks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer__bottom {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem 2rem;
    align-items: start;
    padding-top: 1rem;
    border-top: 1px solid rgba(193, 176, 162, 0.18);
}

.site-footer__legal {
    margin: 0;
    text-align: right;
}

@media (max-width: 1080px) {
    .cjn-home-ref .section-intro-grid,
    .cjn-flow-ref .cjn-flow-layout,
    .site-footer__brand-layout,
    .site-footer__columns,
    .site-footer__bottom {
        grid-template-columns: 1fr;
    }

    .site-footer__legal {
        text-align: left;
    }
}

@media (max-width: 720px) {
    .site-main,
    body.home .site-main,
    body.cjn-flow-shell .site-main,
    .site-header__inner,
    .cjn-home-ref .container,
    .cjn-page-content .cjn-page-article,
    .site-footer__inner {
        width: min(calc(100% - 1rem), var(--cjn-shell-wide));
    }

    .cjn-home-ref .surface-card,
    .cjn-home-ref .secondary-surface,
    .cjn-flow-ref .cjn-text-entry,
    .cjn-flow-ref .cjn-refinement-section {
        padding: 1rem;
    }

    .cjn-home-ref .surface-card--continue .continue-card {
        grid-template-columns: 1fr;
    }

    .site-footer__quicklinks {
        grid-template-columns: 1fr;
    }
}

/* --- Mobile navigation --- */
.site-header__toggle {
    display: none;
}

@media (max-width: 920px) {
    .site-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.8rem 1rem;
    }

    .site-header__brand-wrap {
        justify-self: start;
    }

    .site-header__toggle {
        appearance: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.55rem;
        min-height: 2.55rem;
        padding: 0.62rem 0.82rem;
        border: 1px solid rgba(186, 165, 148, 0.62);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.94);
        color: rgba(80, 65, 55, 0.96);
        font: inherit;
        cursor: pointer;
        box-shadow: 0 8px 20px rgba(88, 67, 51, 0.06);
    }

    .site-header__toggle-lines,
    .site-header__toggle-lines::before,
    .site-header__toggle-lines::after {
        display: block;
        width: 1.05rem;
        height: 1.5px;
        border-radius: 999px;
        background: currentColor;
        transition: transform 0.16s ease, opacity 0.16s ease;
    }

    .site-header__toggle-lines {
        position: relative;
    }

    .site-header__toggle-lines::before,
    .site-header__toggle-lines::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .site-header__toggle-lines::before {
        top: -0.36rem;
    }

    .site-header__toggle-lines::after {
        top: 0.36rem;
    }

    .site-header--menu-open .site-header__toggle-lines {
        transform: rotate(45deg);
    }

    .site-header--menu-open .site-header__toggle-lines::before {
        opacity: 0;
        transform: translateY(0.36rem);
    }

    .site-header--menu-open .site-header__toggle-lines::after {
        transform: translateY(-0.36rem) rotate(90deg);
    }

    .site-header__nav,
    .site-header__actions {
        grid-column: 1 / -1;
        width: 100%;
        justify-self: stretch;
    }

    .site-header--menu-ready .site-header__nav,
    .site-header--menu-ready .site-header__actions {
        display: none;
    }

    .site-header--menu-ready.site-header--menu-open .site-header__nav {
        display: block;
    }

    .site-header--menu-ready.site-header--menu-open .site-header__actions {
        display: flex;
    }

    .site-header__menu {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 0.35rem;
        padding: 0.55rem;
        border: 1px solid rgba(186, 165, 148, 0.2);
        border-radius: 1.15rem;
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 14px 32px rgba(88, 67, 51, 0.08);
    }

    .site-header__menu a {
        display: block;
        padding: 0.82rem 0.9rem;
        border-radius: 0.85rem;
        text-align: left;
        font-size: 1rem;
    }

    .site-header__menu a:hover,
    .site-header__menu a:focus,
    .site-header__menu .current-menu-item > a,
    .site-header__menu .current_page_item > a {
        background: rgba(249, 242, 235, 0.78);
    }

    .site-header__actions {
        justify-content: stretch;
        padding-top: 0.15rem;
    }

    .site-header__cta {
        width: 100%;
        border-radius: 1rem;
    }
}

@media (max-width: 420px) {
    .site-header__toggle-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .site-header__toggle {
        width: 2.7rem;
        padding-inline: 0;
    }
}

@media (max-width: 720px) {
    .cjn-tarot-draw__actions a {
        width: 100%;
    }
}

/* ─── Contact Form 7 ─────────────────────────────────────────────── */

.wpcf7 {
    margin-top: 2rem;
}

.cjn-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.2rem;
}

.cjn-form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cjn-text);
    letter-spacing: 0.01em;
}

.cjn-required {
    color: var(--cjn-accent);
    margin-left: 2px;
}

.cjn-input,
.cjn-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--cjn-text);
    background: #fff;
    border: 1px solid var(--cjn-border);
    border-radius: var(--cjn-radius-md);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-shadow: var(--cjn-shadow);
}

.cjn-input:focus,
.cjn-textarea:focus {
    border-color: var(--cjn-accent);
    box-shadow: 0 0 0 3px var(--cjn-accent-soft);
}

.cjn-textarea {
    resize: vertical;
    min-height: 140px;
}

.cjn-form-group--privacy {
    margin-top: 0.4rem;
}

.cjn-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--cjn-muted);
    cursor: pointer;
    line-height: 1.5;
}

.cjn-acceptance input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: var(--cjn-accent);
    width: 16px;
    height: 16px;
}

.cjn-acceptance a {
    color: var(--cjn-accent);
}

.cjn-form-group--submit {
    margin-top: 0.8rem;
}

input.cjn-btn-surprise,
.cjn-form-group--submit input[type="submit"] {
    display: inline-flex;
    appearance: none;
    background: linear-gradient(160deg, #d4bf8c 0%, #cbb377 58%, #c3a967 100%);
    color: #3f3727;
    border: 1px solid rgba(171, 147, 91, 0.48);
    border-radius: var(--cjn-radius-pill);
    padding: 14px 34px;
    font-size: 0.99rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 252, 241, 0.62),
        inset 0 0 0 1px rgba(247, 233, 194, 0.4),
        0 3px 10px rgba(96, 90, 69, 0.16);
    transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
    letter-spacing: 0.018em;
}

input.cjn-btn-surprise:hover,
.cjn-form-group--submit input[type="submit"]:hover {
    background: linear-gradient(160deg, #cfba87 0%, #c5ad71 58%, #bfa460 100%);
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 253, 245, 0.64),
        inset 0 0 0 1px rgba(247, 233, 194, 0.44),
        0 4px 12px rgba(96, 90, 69, 0.18);
}

/* CF7 validatie en respons */
.wpcf7-not-valid-tip {
    font-size: 0.82rem;
    color: #c0392b;
    margin-top: 4px;
}

.wpcf7-response-output {
    margin-top: 1.2rem;
    padding: 12px 16px;
    border-radius: var(--cjn-radius-md);
    font-size: 0.9rem;
    border: none !important;
}

.wpcf7-mail-sent-ok {
    background: #edf7ed;
    color: #2e6b2e;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted,
.wpcf7-validation-errors,
.wpcf7-spam-blocked {
    background: #fdf0ef;
    color: #8b2615;
}

.wpcf7 input.wpcf7-not-valid {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}
