/* ==========================================================================
   xrprints brand layer (09-11-2026): the warm look. Loaded after ui.css.

   One file on purpose: remove its <link> in app/Views/header.php and the site is
   back to the neutral shadcn look of ui.css. Only tokens and a few overrides live
   here; components keep their markup and class names.

   - Colours: warm cream page, deep aubergine as the ink and primary button colour,
     coral as the accent (main calls to action, eyebrows, active states).
     Contrast checked: white on coral #cf3a47 4.8:1, coral text #c2343f on its soft
     tint 4.8:1, muted text on cream 5.6:1.
   - Type: Fraunces (a soft serif, Google Fonts, loaded in header.php) for headings,
     Inter for everything else.
   - Shapes: a little rounder, shadows tinted warm instead of grey.
   ========================================================================== */

:root {
    /* ui.css tokens */
    --ui-bg: #ffffff;
    --ui-page: #fbf7f2;
    --ui-fg: #24172f;
    --ui-muted: #f3ece4;
    --ui-muted-fg: #6b5f70;
    --ui-border: #ebe2d8;
    --ui-input: #e2d7cb;
    --ui-ring: #2b1a38;
    --ui-primary: #2b1a38;
    --ui-primary-hover: #432c56;
    --ui-primary-fg: #fffaf5;
    --ui-brand: #cf3a47;
    --ui-brand-hover: #b52f3b;
    --ui-brand-text: #c2343f;
    --ui-brand-soft: #fdecea;
    --ui-gold: #f2b84b;
    --ui-gold-soft: #fff3d9;
    --ui-radius: 10px;
    --ui-radius-lg: 18px;
    --ui-shadow-sm: 0 1px 2px 0 rgb(60 30 40 / .06);
    --ui-shadow: 0 1px 3px 0 rgb(60 30 40 / .08), 0 1px 2px -1px rgb(60 30 40 / .08);
    --ui-shadow-md: 0 8px 18px -6px rgb(60 30 40 / .16), 0 3px 6px -3px rgb(60 30 40 / .08);
    --ui-shadow-lg: 0 18px 40px -14px rgb(60 30 40 / .28);
    --ui-display: 'Fraunces', Georgia, 'Times New Roman', serif;

    /* styles.css tokens (homepage and landing pages) */
    --accent: #cf3a47; --accent-d: #b52f3b; --accent-primary: #cf3a47; --accent-soft: #fdecea;
    --ink: #24172f; --soft: #6b5f70; --line: #ebe2d8; --bg2: #f3ece4;
    --glass: #ffffff; --glass-brd: #ebe2d8;
    --text-main: #24172f; --text-muted: #6b5f70; --silica-border: #ebe2d8;
    --bg-grad: #fbf7f2;
    --display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --grad-coral: linear-gradient(140deg, #ff9a8b, #e5484f);
    --grad-sun: linear-gradient(140deg, #ffd27a, #f59e3b);
    --grad-mint: linear-gradient(140deg, #9be7c4, #34b38a);
    --grad-sky: linear-gradient(140deg, #9fd3ff, #4b8fe0);
    --grad-grape: linear-gradient(140deg, #c9a7ff, #7b4fd0);
    --grad-pink: linear-gradient(140deg, #ffb3cf, #e0558f);
    --grad-orange: linear-gradient(140deg, #ffc08a, #ef7d3c);
    --grad-night: linear-gradient(140deg, #4a2f63, #1d1228);
}

body { background: var(--ui-page); color: var(--ui-fg); }
::selection { background: #f9c9c4; color: var(--ui-fg); }

/* ---- type ------------------------------------------------------------------ */
h1, h2, .ui-title, .dsp, .sec-head h2, .ui-preview-info h1, .hero h1, .hero-title {
    font-family: var(--ui-display);
    font-weight: 650;
    letter-spacing: -.015em;
    font-variation-settings: 'SOFT' 100, 'opsz' 96;
}
h3 { font-family: var(--ui-display); font-weight: 600; letter-spacing: -.01em; font-variation-settings: 'SOFT' 100; }
.hero h1 { font-weight: 700; }
.hero h1 em, .ui-title em, .sec-head h2 em { font-style: italic; color: var(--ui-brand-text); font-weight: 600; }
/* the product tile names and small headings stay in Inter for legibility at small sizes */
.ui-product-head h3, .ui-card h3.ui-small, footer h6, .navbar h3 { font-family: inherit; font-variation-settings: normal; }
.ui-product-head h3 { font-family: var(--ui-display); font-size: 17px; font-weight: 600; }

/* ---- navbar and footer ------------------------------------------------------ */
.navbar { background: rgb(251 247 242 / .9); border-bottom-color: var(--ui-border); }
.navbar .nav-link:hover, .navbar .nav-link.active { background: var(--ui-muted); color: var(--ui-fg); }
.btn-primary-silica { background: var(--ui-brand); color: #fff; border-color: var(--ui-brand); }
.btn-primary-silica:hover, .btn-primary-silica:focus { background: var(--ui-brand-hover); border-color: var(--ui-brand-hover); color: #fff; }
footer { background: #f6efe7; border-top-color: var(--ui-border); }

/* ---- buttons, chips, eyebrows ---------------------------------------------- */
.ui-btn--brand { background: var(--ui-brand); color: #fff; }
.ui-btn--brand:hover { background: var(--ui-brand-hover); color: #fff; }
.ui-btn--brand:focus-visible { outline-color: var(--ui-brand); }
.ui-btn--outline:hover, .ui-btn--ghost:hover { background: var(--ui-muted); }
.btn.primary { background: var(--ui-brand); color: #fff; }
.btn.primary:hover { background: var(--ui-brand-hover); box-shadow: 0 14px 30px -12px rgb(207 58 71 / .6); }
.btn.dark { background: var(--ui-primary); }
.btn.dark:hover { background: var(--ui-primary-hover); }

.ui-eyebrow, .eyebrow { background: var(--ui-brand-soft); color: var(--ui-brand-text); }
.ui-chip--brand { background: var(--ui-brand-soft); color: var(--ui-brand-text); }

/* Menus (Bootstrap dropdowns: themes, language, account): the item you press and the chosen one in the soft red of
   the site, not Bootstrap's blue (24-11-2026). */
.dropdown-menu { --bs-dropdown-link-active-bg: var(--ui-brand-soft); --bs-dropdown-link-active-color: var(--ui-brand-text); }
.dropdown-item:active, .dropdown-item.active { background-color: var(--ui-brand-soft); color: var(--ui-brand-text); }
.ui-chip--gold { background: var(--ui-gold-soft); color: #7a5200; }
.ui-chip--btn.active, a.ui-chip--link:hover { background: var(--ui-primary); border-color: var(--ui-primary); color: var(--ui-primary-fg); }

/* ---- surfaces ------------------------------------------------------------------ */
.ui-card { border-color: var(--ui-border); }
.blob { background: radial-gradient(circle, rgb(255 154 139 / .22) 0%, rgb(255 255 255 / 0) 70%); }
.blob-2 { background: radial-gradient(circle, rgb(201 167 255 / .22) 0%, rgb(255 255 255 / 0) 70%); }
.band, .strip { background: rgb(255 255 255 / .55); }
.cta { background: linear-gradient(135deg, #fff4ee 0%, #fdeef6 55%, #f3edff 100%); border-color: var(--ui-border); }
.hero-tr .dot { background: #d9c9bd; }
.ui-search-wrap input:focus, .ui-input:focus { border-color: var(--ui-brand); box-shadow: 0 0 0 3px rgb(207 58 71 / .15); }

/* ---- product tiles --------------------------------------------------------------- */
.ui-product { border-radius: var(--ui-radius-lg); }
.ui-product-media { background: linear-gradient(160deg, color-mix(in srgb, var(--accent, #cf3a47) 14%, #fff8f2) 0%, #f3ece4 100%); border-bottom-color: var(--ui-border); }
.ui-product-tags .ui-chip { background: rgb(255 255 255 / .94); }
.ui-price { color: var(--ui-fg); }

/* ---- the preview page ------------------------------------------------------------- */
.ui-preview-box { background-image: radial-gradient(#e6d9cc 1px, transparent 1px), linear-gradient(160deg, color-mix(in srgb, var(--accent, #cf3a47) 12%, #fff8f2) 0%, #f3ece4 100%); }
.ui-preview-thumbs button.active { border-color: var(--ui-brand); box-shadow: 0 0 0 1px var(--ui-brand); }
.ui-seg button.active, .ui-seg a.active { color: var(--ui-fg); }

/* ---- phones: the homepage hero ---------------------------------------------------------
   The headline and the search come first (they say what xrprints is); the 3D card follows,
   smaller, so it no longer takes a whole screen before the first word. */
@media (max-width: 920px) {
    .hero .wrap { padding-top: 96px; padding-bottom: 48px; gap: 28px; }
    .hero-stage { order: 0; min-height: 0; }
    .hero3d { width: min(78%, 340px); }
    .hero .sub { font-size: 1.05rem; margin: 16px auto 22px; }
    .hero-search { margin-left: auto; margin-right: auto; }
}
@media (max-width: 520px) {
    .hero h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
    .hero-tr { gap: 10px; font-size: .85rem; }
}
.ar-badge .pulse { background: var(--ui-brand); animation-name: pulse-coral; }
@keyframes pulse-coral { 0% { box-shadow: 0 0 0 0 rgb(207 58 71 / .45); } 70% { box-shadow: 0 0 0 12px rgb(207 58 71 / 0); } 100% { box-shadow: 0 0 0 0 rgb(207 58 71 / 0); } }

/* the hidden toast peeked in at the bottom of short phone screens (it only moved 120px down) */
.toastx { visibility: hidden; opacity: 0; transform: translateX(-50%) translateY(calc(100% + 40px)); transition: transform .35s var(--ease, ease), opacity .25s, visibility 0s .35s; max-width: calc(100vw - 32px); background: var(--ui-primary); }
.toastx.show { visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0); transition: transform .35s var(--ease, ease), opacity .25s, visibility 0s; }

/* ---- the card overview (/cards) --------------------------------------------------------- */
.ui-filter-toggle { display: none; }
.ui-filter-toggle .ui-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ui-brand); color: #fff; font-size: 11.5px; font-weight: 700; }
.ui-filter-toggle .ui-count[hidden] { display: none; }
.lp-guides--below { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--ui-border); }
.ui-grid { gap: 22px; }

@media (max-width: 767px) {
    /* the filters fold away behind one button; the quick search words go too (the filters cover them) */
    .ui-filter-toggle { display: inline-flex; margin: 4px 0 14px; }
    .ui-filter-rows { display: none; }
    .ui-filter-rows.is-open { display: grid; margin-bottom: 20px; padding: 14px; background: var(--ui-bg); border: 1px solid var(--ui-border); border-radius: var(--ui-radius-lg); }
    [data-card-search="grid"] .ui-search-quick { display: none; }
    .ui-search-go { display: none; }
    .ui-search-input { text-overflow: ellipsis; }
}

@media (max-width: 575px) {
    /* phones: two tiles side by side, picture + name + price; a tap opens the card */
    .ui-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .ui-product { border-radius: 14px; }
    .ui-product .ui-card-body { padding: 10px 12px 12px; }
    .ui-product-media { aspect-ratio: 4 / 4.9; }
    .ui-product-media img { padding: 12px; }
    .ui-product-tags { top: 8px; left: 8px; right: 8px; }
    .ui-product-tags .ui-chip { height: 22px; padding: 0 8px; font-size: 11px; }
    .ui-product-tags .ui-chip:first-child { display: none; }
    .ui-product-head { flex-direction: column; gap: 2px; }
    .ui-product-head h3 { font-size: 15px; }
    .ui-price { font-size: 14px; }
    .ui-price small { display: inline; margin-left: 4px; }
    .ui-product-desc, .ui-product-actions { display: none; }
    .ui-page-head .ui-lead { font-size: .95rem; }
}

/* ---- the product page (/cards/preview/...) ---------------------------------------------- */
@media (min-width: 992px) { .ui-preview-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 44px; } }
.ui-preview-card { padding: 12px; border-radius: 22px; box-shadow: var(--ui-shadow-md); }
.ui-preview-box { border-radius: 14px; }
.ui-preview-box img { padding: 18px; }
.ui-preview-3dbtn {
    position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 3;
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px 0 14px;
    border: 0; border-radius: 999px; background: rgb(43 26 56 / .92); color: #fff; font-size: 14px; font-weight: 600;
    box-shadow: 0 10px 24px -8px rgb(43 26 56 / .55); cursor: pointer; backdrop-filter: blur(6px);
    transition: transform .2s, background .2s;
}
.ui-preview-3dbtn:hover { background: var(--ui-brand); transform: translateX(-50%) translateY(-2px); }
.ui-preview-3dbtn svg { width: 14px; height: 14px; }
.ui-preview-3dbtn[hidden] { display: none; }
.ui-preview-info h1 { font-size: clamp(2rem, 3.4vw, 2.7rem); }
.ui-pricebox .ui-amount { font-family: var(--ui-display); font-weight: 650; }
.ui-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 6px; padding: 0; font-size: 13.5px; color: var(--ui-muted-fg); }
.ui-trust li { display: inline-flex; align-items: center; gap: 7px; }
.ui-trust svg { width: 16px; height: 16px; color: var(--ui-brand); flex: none; }
.ui-check { background: var(--ui-brand-soft); color: var(--ui-brand-text); }

/* phones: an order bar at the bottom while the order button is out of view */
.ui-buybar { display: none; }
@media (max-width: 767px) {
    .ui-preview-grid { gap: 22px; }
    .ui-buybar {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        background: rgb(255 255 255 / .96); backdrop-filter: blur(10px); border-top: 1px solid var(--ui-border);
        box-shadow: 0 -8px 24px -12px rgb(60 30 40 / .25);
        transform: translateY(110%); transition: transform .3s cubic-bezier(.16,1,.3,1);
    }
    .ui-buybar.is-on { transform: none; }
    .ui-buybar-info { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
    .ui-buybar-info strong { font-family: var(--ui-display); font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ui-buybar-info span { font-size: 13px; color: var(--ui-muted-fg); }
    .ui-buybar .ui-btn { flex: none; height: 42px; }
    body:has(.ui-buybar) footer { padding-bottom: 76px; }
}

/* ---- homepage "Geen app nodig": the phone mockup (a real phone scanning a card) ----------- */
@media (min-width: 761px) { .noapp-grid { grid-template-columns: minmax(0, 340px) 1fr; gap: 56px; } }
.noapp-art img { display: block; width: 100%; max-width: 330px; height: auto; margin: 0 auto; filter: drop-shadow(0 34px 38px rgb(43 26 56 / .26)); animation: noappFloat 6s ease-in-out infinite; }
@keyframes noappFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(.6deg); } }
@media (max-width: 760px) { .noapp-art img { max-width: 250px; } }
@media (prefers-reduced-motion: reduce) { .noapp-art img { animation: none; } }
/* the step numbers: white on coral (a broader rule made them grey on the dark circle) */
.noapp-steps .noapp-n { background: var(--ui-brand); color: #fff; font-family: var(--ui-display); font-size: 15px; }

/* ---- homepage "Zo werkt xrprints": a real picture on every step (09-11-2026) -------------- */
.stepc { padding: 0 26px 30px; overflow: hidden; border-radius: var(--ui-radius-lg); background: #fff; }
.step-pic { height: 260px; margin: 0 -26px 0; display: grid; place-items: end center; overflow: hidden;
    background: radial-gradient(120% 90% at 50% 100%, #fdecea 0%, #f6efe7 60%, #f3ece4 100%); border-bottom: 1px solid var(--ui-border); }
.step-pic img { display: block; width: auto; height: auto; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.step-pic--phone img { max-height: 290px; margin-bottom: -46px; filter: drop-shadow(0 18px 22px rgb(43 26 56 / .22)); }
.step-pic--print { place-items: center; background: #b7895c; }
.step-pic--print img { width: 100%; height: 100%; object-fit: cover; }
.stepc:hover .step-pic--phone img { transform: translateY(-8px); }
.stepc:hover .step-pic--print img { transform: scale(1.04); }
.stepc .n { margin: -25px auto 14px; position: relative; z-index: 1; background: var(--ui-brand); box-shadow: 0 0 0 5px #fff; font-family: var(--ui-display); }

/* ---- homepage "Three ways to send" (#send) and the same three on the card page ----------------
   First made on 11-11-2026; that version of this file was lost in a copy between the computers,
   written again on 23-11-2026. */
.send-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.send-way { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 28px 26px 26px; background: #fff;
    border: 1px solid var(--ui-border); border-radius: var(--ui-radius-lg); box-shadow: var(--ui-shadow-sm); }
.send-way-e { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 8px; border-radius: 18px;
    background: var(--ui-brand-soft); font-size: 28px; line-height: 1; }
.send-way h3 { margin: 0; font-family: var(--ui-display); font-size: 1.4rem; font-weight: 600; line-height: 1.2; color: var(--ui-fg); }
.send-way p { flex: 1; margin: 0; font-size: 1rem; line-height: 1.55; color: var(--ui-muted-fg); }
.send-way-price { margin-top: 12px; padding: 6px 14px; border-radius: 999px; background: var(--ui-brand-soft); color: var(--ui-brand-text);
    font-size: .95rem; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
    .send-ways { grid-template-columns: 1fr; gap: 14px; }
    .send-way { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; row-gap: 4px; padding: 20px; }
    .send-way-e { grid-row: 1 / span 3; width: 52px; height: 52px; margin: 0; font-size: 25px; }
    .send-way h3 { font-size: 1.2rem; }
    .send-way p { font-size: .95rem; }
    .send-way-price { justify-self: start; margin-top: 8px; }
}

.ui-ways { margin: 16px 0 14px; border: 1px solid var(--ui-border); border-radius: var(--ui-radius); background: #fff; overflow: hidden; }
.ui-ways-title { display: block; margin: 0; padding: 9px 14px; background: var(--ui-muted); border-bottom: 1px solid var(--ui-border);
    color: var(--ui-fg); font-weight: 600; }
.ui-way { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.ui-way + .ui-way { border-top: 1px solid var(--ui-border); }
.ui-way-e { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--ui-brand-soft);
    font-size: 18px; line-height: 1; }
.ui-way-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.35; }
.ui-way-t b { font-size: 14px; font-weight: 600; color: var(--ui-fg); }
.ui-way-t small { font-size: 12.5px; color: var(--ui-muted-fg); }
.ui-way-p { flex: none; font-size: 14.5px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ui-fg); }
/* card page: the main button over the full width of the column, "try it in AR" under it (23-11-2026) */
.ui-actions--full .ui-btn { flex: 1 1 100%; }

/* ---- homepage "Effecten die verbazen": phones with the 3D coming out ----------------------- */
.pop-row { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 22px; margin: 0 auto 44px; max-width: calc(var(--cols, 4) * 25% + 60px); }
.pop-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; color: var(--ui-fg); text-decoration: none; }
.pop-pic picture { display: contents; }
.pop-pic { display: grid; place-items: center; width: 100%; height: 320px; margin-bottom: 10px; border-radius: 22px;
    background: radial-gradient(85% 75% at 50% 60%, #fdecea 0%, #f6efe7 55%, rgb(246 239 231 / 0) 100%); }
.pop-pic img { display: block; max-width: 100%; max-height: 300px; width: auto; height: auto; filter: drop-shadow(0 22px 24px rgb(43 26 56 / .22)); transition: transform .5s cubic-bezier(.16,1,.3,1); }
.pop-tile:hover .pop-pic img { transform: translateY(-8px) rotate(-1.5deg); }
.pop-tile b { font-family: var(--ui-display); font-size: 1.15rem; font-weight: 600; }
.pop-tile span:last-child { font-size: .92rem; color: var(--ui-muted-fg); max-width: 240px; }
.pop-tile:hover { color: var(--ui-fg); }
.pop-tile:hover b { color: var(--ui-brand-text); }
@media (max-width: 980px) { .pop-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; max-width: none; } .pop-tile:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 520px) { .pop-pic { height: 230px; } .pop-pic img { max-height: 215px; } .pop-tile b { font-size: 1.02rem; } .pop-tile span:last-child { font-size: .85rem; } }
@media (max-width: 920px) { .step-pic { height: 230px; } .step-pic--phone img { max-height: 260px; } }
@media (prefers-reduced-motion: reduce) { .step-pic img, .pop-pic img { transition: none; } }

/* ---- homepage closing call to action: the real 3D objects instead of emoji (09-11-2026) ---- */
.cta { overflow: hidden; }
.cta .em { position: absolute; opacity: 1; font-size: 0; pointer-events: none; animation: bobby 5s ease-in-out infinite; }
.cta .em img { display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 18px rgb(43 26 56 / .2)); }
.cta h2 { max-width: 620px; margin-left: auto; margin-right: auto; }
.cta .em.e1 { width: 82px; left: 5%; top: 9%; }
.cta .em.e2 { width: 80px; right: 6%; top: 10%; animation-delay: 1s; }
.cta .em.e3 { width: 88px; left: 11%; bottom: 9%; animation-delay: .6s; }
.cta .em.e4 { width: 100px; right: 10%; bottom: 7%; animation-delay: 1.4s; }
@media (max-width: 920px) {
    .cta .em.e1 { width: 64px; left: 3%; top: 6%; }
    .cta .em.e2 { width: 62px; right: 3%; top: 6%; }
    .cta .em.e3, .cta .em.e4 { display: none; }
}
@media (max-width: 520px) {
    .cta { padding-top: 96px; }
    .cta .em.e1 { width: 44px; left: 22%; top: 16px; }
    .cta .em.e2 { width: 46px; right: 22%; top: 18px; }
}
