/* =========================================================
   NOERP BRANDING / FEATURE PAGES
   Brand themes, marketing sections, supplier pages, and footer.
========================================================= */

/* =========================================================
   HORENTO BRANDING — concept styling
========================================================= */

/* =========================================================
   ANDRION — public company site
========================================================= */
body.brand-andrion {
    --andrion-navy: #071b3d;
    --andrion-blue: #176bff;
    --andrion-cyan: #5ce1ff;
    --andrion-sky: #eaf3ff;
    --andrion-muted: #60708b;
    background: #f5f9ff;
    color: var(--andrion-navy);
}
body.brand-andrion .page { max-width: none; padding: 0; }
body.brand-andrion .topbar { position: sticky; top: 0; z-index: 50; border-radius: 0; padding: 14px max(24px, calc((100vw - 1180px) / 2)); background: rgba(245,249,255,.9) !important; border-bottom: 1px solid rgba(23,107,255,.12); box-shadow: none; backdrop-filter: blur(18px); }
body.brand-andrion .logo-mark { height: 44px; padding: 7px; border-radius: 13px; background: var(--andrion-navy); }
body.brand-andrion .logo-title { color: var(--andrion-navy); letter-spacing: .08em; }
body.brand-andrion .logo-sub { color: #60708b; }
body.brand-andrion .top-nav-link { color: var(--andrion-navy); font-weight: 700; }
body.brand-andrion .top-nav-link:hover { color: var(--andrion-blue); background: #fff; }
body.brand-andrion .login-btn { color: #fff; background: var(--andrion-blue); }
.andrion-site { overflow: hidden; background: radial-gradient(circle at 80px 220px, rgba(92,225,255,.12), transparent 320px); }
.andrion-site h1, .andrion-site h2, .andrion-site h3 { color: var(--andrion-navy); }
.andrion-hero, .andrion-intro, .andrion-services, .andrion-erp, .andrion-about, .andrion-cta { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }
.andrion-hero { min-height: 680px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; padding: 54px 0 74px; }
.andrion-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px,6vw,76px); border: 1px solid rgba(23,107,255,.1); border-radius: 32px; background: rgba(255,255,255,.9); box-shadow: 0 24px 70px rgba(7,27,61,.09); }
.andrion-eyebrow { margin: 0 0 15px; color: var(--andrion-blue); font-size: .76rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.andrion-hero h1 { max-width: 790px; margin: 0; font-size: clamp(3rem,6vw,6.2rem); line-height: .91; letter-spacing: -.065em; }
.andrion-lead { max-width: 690px; margin: 28px 0 0; color: var(--andrion-muted); font-size: 1.08rem; line-height: 1.75; }
.andrion-actions { display: flex; flex-wrap: wrap; justify-content: inherit; gap: 12px; margin-top: 30px; }
.andrion-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 23px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.andrion-button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(23,107,255,.2); }
.andrion-button.primary { color: #fff; background: var(--andrion-blue); }
.andrion-button.secondary { color: var(--andrion-navy); border-color: rgba(23,107,255,.22); background: #fff; }
.andrion-brand-note { margin: 18px 0 0; color: #7a89a2; font-size: .85rem; }
.andrion-hero-panel { position: relative; overflow: hidden; align-self: start; box-sizing: border-box; height: 680px; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; border-radius: 32px; color: #fff; background: linear-gradient(145deg,#071b3d,#0b3f91); box-shadow: 0 25px 70px rgba(7,27,61,.24); }
.andrion-panel-number { position: relative; z-index: 2; color: var(--andrion-cyan); font-weight: 900; letter-spacing: .12em; }
.andrion-hero-panel > p { position: relative; z-index: 2; margin: auto 0 28px; font-size: clamp(1.5rem,2.4vw,2.35rem); font-weight: 700; line-height: 1.13; }
.andrion-system-map { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 7px; font-size: .62rem; font-weight: 900; letter-spacing: .08em; }
.andrion-system-map span { padding: 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; background: rgba(255,255,255,.08); }
.andrion-system-map i { flex: 1; height: 1px; background: var(--andrion-cyan); }
.andrion-orbit { position: absolute; width: 390px; height: 390px; right: -150px; top: 70px; border: 1px solid rgba(92,225,255,.24); border-radius: 50%; }
.andrion-orbit::before, .andrion-orbit::after { content: ''; position: absolute; inset: 55px; border: inherit; border-radius: inherit; }
.andrion-orbit::after { inset: 115px; }
.andrion-orbit i { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--andrion-cyan); box-shadow: 0 0 22px var(--andrion-cyan); }
.andrion-orbit i:nth-child(1) { left: 21px; top: 85px; } .andrion-orbit i:nth-child(2) { left: 125px; bottom: 15px; } .andrion-orbit i:nth-child(3) { left: 170px; top: 175px; background: #fff; }
.andrion-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 100px 0 48px; }
.andrion-intro h2, .andrion-erp h2, .andrion-about h2, .andrion-cta h2 { margin: 0; font-size: clamp(2.15rem,4vw,4.2rem); line-height: 1; letter-spacing: -.05em; }
.andrion-intro > p, .andrion-about-copy > p, .andrion-erp-heading > p:last-child { margin: 32px 0 0; color: var(--andrion-muted); font-size: 1.04rem; line-height: 1.8; }
.andrion-services { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; padding-bottom: 110px; }
.andrion-services article { padding: 30px; border: 1px solid rgba(23,107,255,.13); border-radius: 24px; background: rgba(255,255,255,.72); }
.andrion-services article > span { color: var(--andrion-blue); font-weight: 900; }
.andrion-services h3 { margin: 48px 0 12px; font-size: 1.35rem; }
.andrion-services p { margin: 0; color: var(--andrion-muted); line-height: 1.7; }
.andrion-erp { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; padding: clamp(36px,6vw,72px); border-radius: 34px; color: #fff; background: var(--andrion-navy); }
.andrion-erp h2 { color: #fff; }.andrion-erp-heading > p:last-child { color: #aebbd0; }
.andrion-erp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.andrion-erp-grid article { display: flex; flex-direction: column; justify-content: end; min-height: 145px; padding: 22px; border: 1px solid rgba(92,225,255,.17); border-radius: 20px; background: rgba(255,255,255,.06); }
.andrion-erp-grid strong { color: #fff; font-size: 1.2rem; }.andrion-erp-grid span { margin-top: 7px; color: #aebbd0; font-size: .88rem; }
.andrion-about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px,8vw,100px); align-items: center; padding: 110px 0; }
.andrion-founders { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.andrion-founders figure { overflow: hidden; margin: 0; border: 1px solid rgba(23,107,255,.12); border-radius: 24px; background: #fff; box-shadow: 0 18px 44px rgba(7,27,61,.08); }
.andrion-founders figure:nth-child(2) { transform: none; }
.andrion-founders img { width: 100%; aspect-ratio: .84; display: block; object-fit: cover; object-position: center top; }
.andrion-founders figcaption { display: flex; flex-direction: column; padding: 16px; }.andrion-founders figcaption span { margin-top: 3px; color: var(--andrion-muted); font-size: .8rem; }
.andrion-contact { width: min(1180px,calc(100% - 44px)); margin: 0 auto 70px; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px,7vw,90px); padding: clamp(38px,7vw,84px); border-radius: 34px; color: #fff; background: linear-gradient(135deg,#176bff,#063c9c); box-shadow: 0 28px 70px rgba(23,107,255,.2); }
.andrion-contact .andrion-eyebrow { color: var(--andrion-cyan); }.andrion-contact h2 { margin: 0; color: #fff; font-size: clamp(2.15rem,4vw,4.2rem); line-height: 1; letter-spacing: -.05em; }.andrion-contact-copy > p:last-child { max-width: 680px; margin: 25px 0 0; color: #d9e8ff; line-height: 1.75; }
.andrion-contact-details { display: grid; gap: 12px; }.andrion-contact-details > div { display: flex; flex-direction: column; justify-content: center; padding: 20px 22px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(255,255,255,.09); }.andrion-contact-details span { margin-bottom: 6px; color: var(--andrion-cyan); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }.andrion-contact-details a, .andrion-contact-details address { color: #fff; font-size: 1.05rem; font-style: normal; font-weight: 750; line-height: 1.5; text-decoration: none; }.andrion-contact-details a:hover { text-decoration: underline; }
.andrion-footer { padding: 50px max(24px,calc((100vw - 1180px)/2)); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; color: #fff; background: var(--andrion-navy); }.andrion-footer strong { font-size: 1.5rem; letter-spacing: .06em; }.andrion-footer h3 { margin: 0 0 10px; color: #fff; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }.andrion-footer p { margin: 9px 0 0; color: rgba(255,255,255,.68); line-height: 1.7; }.andrion-footer a { color: var(--andrion-cyan); font-weight: 800; text-decoration: none; }.andrion-footer a:hover { text-decoration: underline; }
@media (max-width: 800px) { .andrion-hero { min-height: auto; grid-template-columns: 1fr; padding-top: 24px; }.andrion-hero-panel { height: 360px; }.andrion-intro, .andrion-services, .andrion-erp, .andrion-about, .andrion-contact { grid-template-columns: 1fr; }.andrion-intro { gap: 10px; padding-top: 64px; }.andrion-services { padding-bottom: 70px; }.andrion-erp { gap: 34px; }.andrion-about { padding: 75px 0; }.andrion-contact { margin-top: 20px; }.andrion-footer { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 500px) { .andrion-hero, .andrion-intro, .andrion-services, .andrion-erp, .andrion-about, .andrion-contact { width: min(100% - 28px,1180px); }.andrion-hero-copy, .andrion-hero-panel { padding: 26px; border-radius: 24px; }.andrion-erp-grid { grid-template-columns: 1fr; } }

body:is(.brand-food, .brand-vanbeest) {
    --bg: #fbf6ec;
    --bg-alt: #ffffff;
    --primary: #005b4f;
    --primary-soft: #e6f2ef;
    --primary-dark: #004b3f;
    --accent: #005b4f;
    --text-main: #18312c;
    --text-muted: #6a7b77;
    --border: rgba(0, 102, 83, 0.16);
    --radius-lg: 24px;
    --radius-md: 18px;
    --shadow-soft: 0 18px 50px rgba(0, 49, 40, 0.14);
    --shadow-light: 0 10px 28px rgba(0, 49, 40, 0.07);
    --glass: rgba(251, 246, 236, 0.94);
    background: var(--bg);
}

body:is(.brand-food, .brand-vanbeest) .page {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 22px;
}

body:is(.brand-food, .brand-vanbeest) .topbar {
    top: 0;
    border-radius: 0;
    padding: 14px max(22px, calc((100vw - 1240px) / 2));
    background: rgba(251, 246, 236, 0.94) !important;
    color: var(--text-main) !important;
    border-bottom: 1px solid var(--border);
    box-shadow: none;
}

body:is(.brand-food, .brand-vanbeest) .logo-mark {
    height: 42px;
    background: var(--primary);
    border-radius: 18px;
    padding: 7px 13px;
    box-shadow: var(--shadow-soft);
}

body:is(.brand-food, .brand-vanbeest) .logo-sub,
body:is(.brand-food, .brand-vanbeest) .top-nav-link {
    color: var(--text-main);
}

body:is(.brand-food, .brand-vanbeest) .top-nav-link {
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
}

body:is(.brand-food, .brand-vanbeest) .top-nav-link:hover,
body:is(.brand-food, .brand-vanbeest) .top-nav-link.active {
    background: var(--primary-soft);
    color: var(--primary);
}

body:is(.brand-food, .brand-vanbeest) .login-btn,
body:is(.brand-food, .brand-vanbeest) .logout-btn,
body:is(.brand-food, .brand-vanbeest) .btn-primary,
body:is(.brand-food, .brand-vanbeest) .cart-count,
body:is(.brand-food, .brand-vanbeest) .mobile-cart-btn {
    background: var(--primary);
    color: var(--bg) !important;
    border-color: var(--primary);
}

body:is(.brand-food, .brand-vanbeest) .btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 12px 18px;
    cursor: pointer;
    font-weight: 900;
    background: white;
    color: var(--primary);
    text-decoration: none;
}

body:is(.brand-food, .brand-vanbeest) .full { width: 100%; }

body:is(.brand-food, .brand-vanbeest) .horento-hero {
    min-height: 610px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr);
    gap: 30px;
    padding: 72px 0 46px;
}

body:is(.brand-food, .brand-vanbeest) .horento-hero-content {
    background: radial-gradient(circle at 88% 12%, rgba(0, 102, 83, 0.16), transparent 32%), linear-gradient(135deg, white, #f2eadc);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(32px, 6vw, 74px);
    box-shadow: var(--shadow-soft);
}

body:is(.brand-food, .brand-vanbeest) .eyebrow {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .13em;
    font-weight: 900;
    font-size: .78rem;
    margin: 0 0 10px;
}

body:is(.brand-food, .brand-vanbeest) .horento-hero h1 {
    font-size: clamp(2.6rem, 6vw, 5.8rem);
    line-height: .93;
    letter-spacing: -0.07em;
    margin-bottom: 24px;
}

body:is(.brand-food, .brand-vanbeest) .horento-hero p,
body:is(.brand-food, .brand-vanbeest) .marketing-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

body:is(.brand-food, .brand-vanbeest) .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 34px;
}

body:is(.brand-food, .brand-vanbeest) .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
}

body:is(.brand-food, .brand-vanbeest) .hero-stats div,
body:is(.brand-food, .brand-vanbeest) .pretty-filters,
body:is(.brand-food, .brand-vanbeest) .product-card,
body:is(.brand-food, .brand-vanbeest) .marketing-section {
    background: rgba(255,255,255,.78);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-light);
}

body:is(.brand-food, .brand-vanbeest) .hero-stats div { padding: 16px; }
body:is(.brand-food, .brand-vanbeest) .hero-stats strong { display: block; color: var(--primary); font-size: 1.5rem; }
body:is(.brand-food, .brand-vanbeest) .hero-stats span { color: var(--text-muted); font-size: .9rem; }

body:is(.brand-food, .brand-vanbeest) .horento-hero-card {
    align-self: stretch;
    background: var(--primary);
    color: var(--bg);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 380px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

body:is(.brand-food, .brand-vanbeest) .badge {
    background: var(--bg);
    color: var(--primary);
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 900;
    width: fit-content;
    margin-bottom: 18px;
}

body:is(.brand-food, .brand-vanbeest) .marketing-section {
    padding: 34px;
}

body:is(.brand-food, .brand-vanbeest) .marketing-text h2,
body:is(.brand-food, .brand-vanbeest) .section-title {
    color: var(--text-main);
    letter-spacing: -0.045em;
}

body:is(.brand-food, .brand-vanbeest) .marketing-visual img,
body:is(.brand-food, .brand-vanbeest) .product-image-wrapper {
    border-radius: 18px;
    box-shadow: var(--shadow-light);
}

body:is(.brand-food, .brand-vanbeest) .product-card {
    background: white;
    padding: 18px;
}

body:is(.brand-food, .brand-vanbeest) .product-card:hover {
    border-color: var(--primary);
}

body:is(.brand-food, .brand-vanbeest) .product-name,
body:is(.brand-food, .brand-vanbeest) .product-price {
    color: var(--primary-dark);
}

@media (max-width: 900px) {
    body:is(.brand-food, .brand-vanbeest) .horento-hero {
        grid-template-columns: 1fr;
        padding: 40px 0 24px;
    }

    body:is(.brand-food, .brand-vanbeest) .hero-stats {
        grid-template-columns: 1fr;
    }

    body:is(.brand-food, .brand-vanbeest) .topbar {
        padding: 12px 18px;
    }
}

/* Horento concept navigation layout */
body:is(.brand-food, .brand-vanbeest) .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: block;
    background: rgba(251, 246, 236, 0.94) !important;
    color: var(--text-main) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: none;
    padding: 0;
}

body:is(.brand-food, .brand-vanbeest) .concept-topbar {
    background: var(--primary-dark);
    color: var(--bg);
    display: flex;
    justify-content: center;
    gap: 34px;
    padding: 9px 18px;
    font-size: 0.85rem;
}

body:is(.brand-food, .brand-vanbeest) .site-header .concept-navbar {
    max-width: 1240px;
    margin: 0 auto;
    min-height: 82px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 24px;
}

body:is(.brand-food, .brand-vanbeest) .site-header .topbar-left {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

body:is(.brand-food, .brand-vanbeest) .site-header .topbar-right {
    position: static;
    min-height: auto;
    margin-left: auto;
    flex: 0 0 auto;
}

body:is(.brand-food, .brand-vanbeest) .site-header .top-nav {
    gap: 22px;
}

body:is(.brand-food, .brand-vanbeest) .site-header .hamburger-btn {
    margin-left: auto;
    background: var(--primary);
    color: var(--bg);
    border-color: var(--primary);
}

@media (max-width: 900px) {
    body:is(.brand-food, .brand-vanbeest) .concept-topbar {
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    body:is(.brand-food, .brand-vanbeest) .site-header .concept-navbar {
        min-height: 74px;
        padding: 12px 18px;
    }

    body:is(.brand-food, .brand-vanbeest) .site-header .topbar-left {
        justify-content: space-between;
    }

    body:is(.brand-food, .brand-vanbeest) .site-header .topbar-right {
        display: none !important;
    }
}

/* Horento concept logo/product refinements */
body:is(.brand-food, .brand-vanbeest) .site-header .logo-area {
    flex-direction: row;
    align-items: center;
}

body:is(.brand-food, .brand-vanbeest) .site-header .logo-mark {
    height: auto;
    background: var(--primary);
    border-radius: 18px;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    box-shadow: var(--shadow-soft);
}

body:is(.brand-food, .brand-vanbeest) .site-header .logo-mark img {
    width: 178px !important;
    height: auto !important;
    display: block;
    object-fit: contain;
}

body:is(.brand-food, .brand-vanbeest) .site-header .logo-text {
    display: none;
}

/* Horento concept styling for supplier management pages. */
body:is(.brand-food, .brand-vanbeest) .supplier-concept-hero {
    position: relative;
    overflow: hidden;
    margin: 28px 0 26px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(0, 91, 79, 0.14);
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(244, 195, 109, 0.24), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(230, 242, 239, 0.76));
    box-shadow: var(--shadow-soft);
}

body:is(.brand-food, .brand-vanbeest) .supplier-concept-hero::after {
    content: "";
    position: absolute;
    right: -72px;
    bottom: -96px;
    width: 236px;
    height: 236px;
    border-radius: 999px;
    background: rgba(0, 91, 79, 0.09);
    pointer-events: none;
}

body:is(.brand-food, .brand-vanbeest) .supplier-concept-hero .eyebrow-label {
    position: relative;
    margin: 0 0 10px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .13em;
    font-weight: 900;
    font-size: .78rem;
    z-index: 1;
}

body:is(.brand-food, .brand-vanbeest) .supplier-concept-hero h1,
body:is(.brand-food, .brand-vanbeest) .supplier-concept-hero .page-title {
    position: relative;
    margin: 0 0 10px;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 950;
    z-index: 1;
}

body:is(.brand-food, .brand-vanbeest) .supplier-concept-hero p:not(.eyebrow-label) {
    position: relative;
    max-width: 720px;
    margin: 0;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.65;
    z-index: 1;
}

body:is(.brand-food, .brand-vanbeest) .products-concept-hero {
    flex: 1 1 520px;
    margin: 0;
}

body:is(.brand-food, .brand-vanbeest) .products-toolbar,
body:is(.brand-food, .brand-vanbeest) .card-block,
body:is(.brand-food, .brand-vanbeest) .pretty-filters,
body:is(.brand-food, .brand-vanbeest) .modal-card {
    border: 1px solid rgba(0, 91, 79, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

body:is(.brand-food, .brand-vanbeest) .products-toolbar {
    padding: clamp(16px, 2vw, 22px);
}

body:is(.brand-food, .brand-vanbeest) .products-meta,
body:is(.brand-food, .brand-vanbeest) .detail-chip,
body:is(.brand-food, .brand-vanbeest) .dealer-badge {
    border-color: rgba(0, 91, 79, 0.14);
    background: var(--primary-soft);
    color: var(--primary-dark);
}

body:is(.brand-food, .brand-vanbeest) .nice-table tr:hover {
    background: rgba(230, 242, 239, 0.72);
}

body:is(.brand-food, .brand-vanbeest) .form-input,
body:is(.brand-food, .brand-vanbeest) .search-input,
body:is(.brand-food, .brand-vanbeest) .modal-input,
body:is(.brand-food, .brand-vanbeest) .filter-input,
body:is(.brand-food, .brand-vanbeest) .filter-select {
    border-color: rgba(0, 91, 79, 0.16);
    border-radius: 16px;
    color: var(--text-main);
    box-shadow: var(--shadow-light);
}

body:is(.brand-food, .brand-vanbeest) .form-input:focus,
body:is(.brand-food, .brand-vanbeest) .search-input:focus,
body:is(.brand-food, .brand-vanbeest) .modal-input:focus,
body:is(.brand-food, .brand-vanbeest) .filter-input:focus,
body:is(.brand-food, .brand-vanbeest) .filter-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 91, 79, 0.12);
}

body:is(.brand-food, .brand-vanbeest) .btn-primary,
body:is(.brand-food, .brand-vanbeest) .btn-secondary,
body:is(.brand-food, .brand-vanbeest) .btn-warning,
body:is(.brand-food, .brand-vanbeest) .btn-danger,
body:is(.brand-food, .brand-vanbeest) .btn-info,
body:is(.brand-food, .brand-vanbeest) .orders-view-btn {
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
}

body:is(.brand-food, .brand-vanbeest) .btn-warning {
    background: #f4c36d;
    color: var(--primary-dark);
}

body:is(.brand-food, .brand-vanbeest) .btn-danger {
    background: #a83a32;
    color: var(--bg) !important;
}

@media (max-width: 760px) {
    body:is(.brand-food, .brand-vanbeest) .supplier-concept-hero {
        border-radius: 24px;
        margin-top: 18px;
    }
}

body:is(.brand-food, .brand-vanbeest) .site-footer {
    background: var(--primary-dark);
    color: var(--bg);
    margin: 40px 0 0;
    padding: 44px max(22px, calc((100vw - 1240px) / 2));
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr;
    gap: 30px;
}

body:is(.brand-food, .brand-vanbeest) .site-footer img {
    width: 190px;
    max-width: 100%;
    background: var(--primary);
    border-radius: 18px;
    padding: 8px 14px;
    box-shadow: none;
}

body:is(.brand-food, .brand-vanbeest) .site-footer h3 {
    color: var(--bg);
    font-size: 1rem;
    margin: 0 0 10px;
}

body:is(.brand-food, .brand-vanbeest) .site-footer p {
    color: rgba(251, 246, 236, 0.82);
    line-height: 1.65;
    margin: 14px 0 0;
}

body:is(.brand-food, .brand-vanbeest) .site-footer a {
    color: var(--bg);
    font-weight: 700;
    text-decoration: none;
}

body:is(.brand-food, .brand-vanbeest) .site-footer a:hover,
body:is(.brand-food, .brand-vanbeest) .site-footer a:focus {
    text-decoration: underline;
}

body:is(.brand-food, .brand-vanbeest) .site-footer > div:not(.site-footer-brand) p {
    margin-top: 0;
}

body:is(.brand-food, .brand-vanbeest) .site-footer .site-footer-note {
    margin-top: 14px;
}

@media (max-width: 760px) {
    body:is(.brand-food, .brand-vanbeest) .site-footer {
        grid-template-columns: 1fr;
        padding: 34px 22px;
    }
}

@media (max-width: 900px) {
  .marketing-section,
  .marketing-section.reverse {
    grid-template-columns: 1fr !important;
    gap: 30px;
    margin: 50px 0;
    padding: 0 20px;
  }

  .marketing-text,
  .marketing-visual {
    order: unset;
  }

  /* Force text first, image second on mobile */
  .marketing-section .marketing-text {
    order: 1;
  }

  .marketing-section .marketing-visual {
    order: 2;
  }

  .marketing-section.reverse .marketing-text {
    order: 1 !important;
  }

  .marketing-section.reverse .marketing-visual {
    order: 2 !important;
  }

  /* Center content on mobile */
  .marketing-text {
    text-align: center;
  }

  .marketing-text h2 {
    font-size: 24px;
  }

  .marketing-text p {
    font-size: 15px;
    max-width: 100%;
    margin: 0 auto;
  }

  .marketing-visual {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .marketing-visual img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}

.logo-sub {
  font-size: var(--subtitle-size);
}


/* ==============================
   SHARED ADDRESS FIELDS (DELIVERY + INVOICE)
============================== */

.address-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 10px;
}

.address-fields input,
.address-fields select {
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: white;
    font-size: 14px;
    box-shadow: var(--shadow-light);
    outline: none;
    transition: 0.15s ease;
}

.address-fields input:focus,
.address-fields select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

/* Full width fields */
.address-fields input[id$="_street"],
.address-fields select[id$="_country"] {
    grid-column: span 2;
}

/* Save address row */
.address-fields .save-address {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
    cursor: pointer;
}

.address-fields .save-address input {
    accent-color: var(--primary);
}

/* ==============================
   CHECKOUT CONFIG LIST – CLEAN
============================== */

.checkout-config-list {
    list-style: none;          /* ❌ bolletjes weg */
    margin: 6px 0 8px 0;
    padding-left: 0;           /* ❌ standaard indent weg */
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-muted);
}

.checkout-config-list li {
    display: flex;
    gap: 6px;
    align-items: baseline;
    padding: 2px 0;
}

/* subtiel scheidingsteken i.p.v. bullet */
.checkout-config-list li::before {
    content: "–";
    color: var(--border);
    font-weight: 600;
}

/* label iets sterker */
.checkout-config-list strong {
    font-weight: 600;
    color: var(--text-main);
}


.checkout-config-list strong {
    font-weight: 500;
    color: #444;
}

/* ==============================
   WEB CATEGORY ASSIGN MODAL
============================== */

.modal-section {
    margin-bottom: 22px;
}

.modal-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}

/* Product picker box */
.modal-product-picker {
    max-height: 260px;
    overflow-y: auto;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #f8faff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Individual selectable row */
.modal-product-picker .product-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    transition: 0.12s ease;
}

.modal-product-picker .product-item:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
}

/* Checkbox alignment */
.modal-product-picker input[type="checkbox"] {
    transform: scale(1.15);
    margin-right: 12px;
    accent-color: var(--primary);
}

/* Sticky footer feel */
.modal-footer {
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

/* Bulk category product states */
.product-item.has-category {
    opacity: 0.6;
    background: #f3f4f6;
}

.badge-muted {
    margin-left: auto;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e5e7eb;
    color: #6b7280;
    font-weight: 600;
}

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .category-sidebar {
    display: none;
  }
}

/* =========================
   CATEGORY SIDEBAR
========================= */

.category-sidebar {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 12px;
  padding: 16px;
  width: 260px;
  height: fit-content;
  position: sticky;
  top: 0;
}

.category-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-strong, #111);
}

/* Tree structure */
#categoryTree ul {
  list-style: none;
  padding-left: 14px;
  margin: 4px 0;
}

#categoryTree li {
  margin: 2px 0;
}

/* Category label */
.category-label {
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-normal, #333);
  transition: background 0.15s ease, color 0.15s ease;
}

.category-label:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* Active category */
.category-label.active {
  background: var(--primary-soft, rgba(59,130,246,0.12));
  color: var(--primary, #2563eb);
  font-weight: 500;
}

/* =========================
   COLLAPSIBLE CATEGORIES
========================= */

.category-parent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Arrow */
.category-parent::after {
  content: "›";
  font-size: 14px;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

/* Rotate arrow when open */
li.open > .category-parent::after {
  transform: rotate(90deg);
  opacity: 1;
}

/* Collapsible container */
.category-children {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  margin-left: 6px;
}

.actions-dropdown {
    position: relative;
    display: inline-block;
}

.actions-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    margin-top: 6px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    padding: 8px;
    min-width: 220px;
    z-index: 1000;
}

.actions-dropdown-menu.open {
    display: block;
}

.actions-dropdown-menu button {
    width: 100%;
    border: none;
    background: none;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
    border-radius: 6px;
}

.actions-dropdown-menu button:hover {
    background: #f3f4f6;
}

.actions-dropdown-menu .danger {
    color: #d11a2a;
}

.actions-dropdown-menu hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 6px 0;
}
.remove-line-btn {
    border: none;
    background: transparent;
    font-size: 14px;
    color: #dc2626;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 999px;
    padding: 2px 6px;
    transition: 0.15s ease;
}

.remove-line-btn:hover {
    background: #fee2e2;
    transform: scale(1.1);
}
/* Remove number input arrows (Chrome, Safari, Edge) */
.checkout-qty-input::-webkit-outer-spin-button,
.checkout-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.checkout-qty-input {
    -moz-appearance: textfield;
}



/* Open state */
li.open > .category-children {
  max-height: 600px; /* large enough */
}

/* Indentation polish */
.category-children .category-label {
  font-size: 12.5px;
  padding-left: 18px;
}

.pretty-filters {
  margin-bottom: 42px;
  position: relative;
}

.pretty-filters::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(148,163,184,0.35),
    transparent
  );
}
/* =========================
   MOBILE CATEGORY DRAWER
========================= */

.mobile-category-btn {
  display: none;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  cursor: pointer;
  box-shadow: var(--shadow-light);
}

@media (max-width: 900px) {
  .mobile-category-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
}

/* Overlay */
.category-drawer-overlay {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: flex-end;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(3px);
  z-index: 200;
}

.category-drawer-overlay.open {
  display: flex;
}

/* Drawer */
.category-drawer {
  width: 100%;
  max-height: 85vh;
  background: var(--glass);
  backdrop-filter: blur(18px);
  border-radius: 20px 20px 0 0;
  padding: 20px;
  box-shadow: 0 -20px 40px rgba(15,23,42,0.35);
  transform: translateY(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-ok {
  background: #dcfce7;
  color: #166534;
}

.badge-warning {
  background: #fff7d6;
  color: #92400e;
}

.supplier-block {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  background: #fff;
}

.supplier-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 12px;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
}

.checkout-total {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
  font-weight: 700;
  text-align: right;
}


.category-drawer-overlay.open .category-drawer {
  transform: translateY(0);
}

.modal.hidden { display: none; }

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    pointer-events: all;
}

.modal.hidden .modal-backdrop {
    pointer-events: none;
}

.modal-content {
    position: relative;
    max-width: 420px;
    margin: 10vh auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    z-index: 1;
}

.modal-content input,
.modal-content select {
    width: 100%;
    margin-bottom: 10px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

#addressModal .modal-content {
    background: var(--glass);
    backdrop-filter: blur(22px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 24px;
    max-width: 460px;
}

#addressModal h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
}

#addressModal input,
#addressModal select {
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    font-size: 14px;
    box-shadow: var(--shadow-light);
}

#addressModal input:focus,
#addressModal select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

#addressModal .modal-actions {
    margin-top: 18px;
}

#addressModal button {
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

#addressCancelBtn {
    background: var(--border);
}

#addressSaveBtn {
    background: var(--primary);
    color: white;
}

/* ==============================
   ADDRESS TOOLBAR (DELIVERY)
============================== */

.address-toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Make select not push buttons down */
.address-toolbar select {
    flex: 1;
    margin-bottom: 0;
}

/* Shared button style */
.address-toolbar button {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    box-shadow: var(--shadow-light);
    transition: all 0.15s ease;
    white-space: nowrap;
}

/* Hover polish */
.address-toolbar button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* New = subtle positive */
#deliveryNewBtn {
    background: var(--primary-soft);
    color: var(--primary-dark);
    border-color: transparent;
}

/* Edit = neutral glass */
#deliveryEditBtn {
    background: white;
}

/* Disabled (e.g. default address edit if you add later) */
.address-toolbar button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
#invoiceNewBtn {
    background: #f0f7ff;
    color: var(--primary-dark);
}

#invoiceEditBtn {
    background: white;
}

/* ==============================
   GLOBAL OVERLAY SAFETY FIX
============================== */

/* overlays blokkeren standaard GEEN clicks */
.cart-drawer-overlay,
.mobile-menu-overlay,
.category-drawer-overlay,
.product-modal-overlay {
    pointer-events: none;
}

/* alleen wanneer open mogen ze clicks pakken */
.cart-drawer-overlay.open,
.mobile-menu-overlay.open,
.category-drawer-overlay.open,
.product-modal-overlay.open {
    pointer-events: auto;
}

.final-checkout-btn {
    position: relative;
    z-index: 5;
}

/* Mobile stacking */
@media (max-width: 600px) {
    .address-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .address-toolbar button {
        width: 100%;
    }
}


@media (max-width: 900px) {
  #filterCategorie {
    font-size: 16px;          /* voorkomt iOS zoom */
    padding: 14px 16px;
  }

  .filter-item label {
    font-size: 13px;
  }
}

/* Mobile */
@media (max-width: 600px) {
    .address-fields {
        grid-template-columns: 1fr;
    }

    .address-fields input[id$="_street"],
    .address-fields select[id$="_country"] {
        grid-column: span 1;
    }
}

/* ==================================
   ORDERLIST POLISH (OPTIONAL)
================================== */

.order-category {
    background: #f8faff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
}

.order-category h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.order-items {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.order-items li {
    padding: 8px 10px;
    border-radius: 10px;
    background: white;
    margin-bottom: 6px;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-items li:hover {
    background: var(--primary-soft);
}

.favorite-btn {
  position: absolute;
  top: 8px;
  left: 8px;        /* ← dit is de fix */
  border: none;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  pointer-events: auto;
  width: 32px;
  height: 32px;
  font-size: 18px;
  cursor: pointer;
  color: #bbb;
  transition: .2s;
  z-index: 999999;
}

.favorite-btn.active {
  color: #e63946;
}

.favorite-btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.favorite-btn.is-pending {
  cursor: wait;
  opacity: .65;
  transform: none;
}

.favorite-btn:hover {
  transform:scale(1.15);
}

.favorite-btn:hover {
  transform: scale(1.15);
}

.favorite-btn.active {
  color: #e63946;
}

@media (hover: none) {
  .favorite-btn { width: 44px; height: 44px; }
  .favorite-btn:hover { transform: none; }
}

.product-image-wrapper {
  position: relative;
}


/* ==============================
   PRODUCT CATEGORY SELECT
============================== */

.table-category-select {

    margin-top: 6px;
    width: 100%;

    padding: 6px 10px;
    border-radius: 10px;

    border: 1px solid var(--border);
    background: white;

    font-size: 13px;
    font-weight: 500;

    box-shadow: var(--shadow-light);

    cursor: pointer;

    transition: 0.15s ease;
}

.table-category-select:hover {
    border-color: var(--primary);
}

.table-category-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-soft);
}

.web-category-badge {

    display: inline-block;

    background: var(--primary-soft);
    color: var(--primary-dark);

    font-size: 11px;
    font-weight: 600;

    padding: 4px 8px;
    border-radius: 999px;

    margin-bottom: 4px;
}

.top-nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: white;
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 1000;
}

.dropdown-menu a {
  display: block;
  padding: 10px;
  color: black;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: #f3f3f3;
}

.top-nav-dropdown:hover .dropdown-menu {
  display: block;
}

/* ==============================
   CHECKOUT MOBILE POLISH
============================== */
@media (max-width: 760px) {
    .checkout-page {
        width: min(100%, 560px);
        margin: 18px auto 96px;
        padding: 0 14px;
    }

    .checkout-title {
        font-size: 24px;
        line-height: 1.15;
        margin: 8px 0 18px;
    }

    .checkout-address,
    .supplier-block {
        border-radius: 20px;
        padding: 16px;
        margin-bottom: 16px;
        box-shadow: var(--shadow-light);
    }

    .checkout-address h3,
    .supplier-title {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .address-toolbar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        align-items: stretch;
    }

    .address-toolbar select {
        grid-column: 1 / -1;
        min-height: 48px;
        font-size: 16px;
    }

    .address-toolbar button {
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
    }

    .supplier-discount {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px;
        align-items: stretch;
        margin-bottom: 10px;
    }

    .supplier-discount-input {
        min-width: 0;
        min-height: 44px;
        font-size: 16px;
    }

    .supplier-discount-btn {
        min-height: 44px;
        padding-inline: 16px;
    }

    .supplier-discount-msg {
        grid-column: 1 / -1;
        font-size: 13px;
    }

    .supplier-block .order-line-header {
        display: none;
    }

    .supplier-block .order-line-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        padding: 14px 0;
    }

    .supplier-block .order-line-row .ol-col-name {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        align-items: start;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.3;
    }

    .supplier-block .checkout-config-list {
        grid-column: 1 / -1;
        margin-top: 6px;
        font-weight: 400;
    }

    .supplier-block .remove-line-btn {
        align-self: start;
        min-width: 34px;
        min-height: 34px;
        margin-left: 0;
        background: #fee2e2;
        font-size: 15px;
    }

    .supplier-block .order-line-row .ol-col-qty,
    .supplier-block .order-line-row .ol-col-unit,
    .supplier-block .order-line-row .ol-col-total {
        min-width: 0;
        padding: 10px;
        border: 1px solid rgba(148,163,184,0.28);
        border-radius: 14px;
        background: #f8faff;
    }

    .supplier-block .order-line-row .ol-col-qty {
        align-items: stretch;
    }

    .supplier-block .qty-control {
        width: 100%;
        min-height: 36px;
        justify-content: space-between;
        background: #fff;
    }

    .supplier-block .qty-control button {
        min-width: 34px;
        font-size: 16px;
    }

    .supplier-block .qty-control input {
        width: 42px;
        font-size: 16px;
    }

    .supplier-block .checkout-total {
        margin-top: 16px;
        padding: 14px;
        border: 1px solid rgba(148,163,184,0.28);
        border-radius: 16px;
        background: linear-gradient(135deg, #f8faff, #ffffff);
        text-align: left;
        line-height: 1.65;
    }

    .supplier-block .checkout-total strong {
        display: block;
        margin-top: 8px;
        font-size: 18px;
        color: var(--primary-dark);
    }

    .final-checkout-btn {
        position: sticky;
        bottom: 12px;
        min-height: 52px;
        margin-top: 18px;
        border-radius: 999px;
        box-shadow: 0 16px 34px rgba(21, 84, 192, 0.32);
    }

    #addressModal .modal-content {
        width: calc(100% - 28px);
        max-height: calc(100vh - 36px);
        margin: 18px auto;
        overflow-y: auto;
        padding: 18px;
    }

    #addressModal input,
    #addressModal select {
        min-height: 46px;
        font-size: 16px;
    }

    #addressModal .modal-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 420px) {
    .supplier-block .order-line-row {
        grid-template-columns: 1fr 1fr;
    }

    .supplier-block .order-line-row .ol-col-total {
        grid-column: 1 / -1;
    }
}

/* ==============================
   HORENTO SERVICES PAGE
============================== */
body:is(.brand-food, .brand-vanbeest) .horento-services-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  gap: 30px;
  padding: 72px 0 46px;
}

body:is(.brand-food, .brand-vanbeest) .horento-services-hero-content {
  background: radial-gradient(circle at 88% 12%, rgba(0, 102, 83, 0.16), transparent 32%), linear-gradient(135deg, #ffffff, #f2eadc);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 74px);
  box-shadow: var(--shadow-soft);
}

body:is(.brand-food, .brand-vanbeest) .horento-services-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: .93;
  letter-spacing: -0.07em;
  margin-bottom: 24px;
}

body:is(.brand-food, .brand-vanbeest) .horento-services-hero p,
body:is(.brand-food, .brand-vanbeest) .horento-service-copy p,
body:is(.brand-food, .brand-vanbeest) .horento-services-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

body:is(.brand-food, .brand-vanbeest) .horento-services-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

body:is(.brand-food, .brand-vanbeest) .horento-services-card {
  align-self: stretch;
  background: var(--primary);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 380px;
  box-shadow: var(--shadow-soft);
}

body:is(.brand-food, .brand-vanbeest) .horento-services-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}

body:is(.brand-food, .brand-vanbeest) .horento-services-card p {
  color: rgba(251, 246, 236, .86);
}

body:is(.brand-food, .brand-vanbeest) .horento-services-grid {
  display: grid;
  gap: 34px;
  margin-bottom: 70px;
}

body:is(.brand-food, .brand-vanbeest) .horento-service-tile {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-light);
  padding: 34px;
}

body:is(.brand-food, .brand-vanbeest) .horento-service-tile.reverse {
  grid-template-columns: .9fr 1.1fr;
}

body:is(.brand-food, .brand-vanbeest) .horento-service-tile.reverse .horento-service-copy {
  order: 2;
}

body:is(.brand-food, .brand-vanbeest) .horento-service-tile.reverse .horento-service-visual {
  order: 1;
}

body:is(.brand-food, .brand-vanbeest) .horento-service-copy h2 {
  color: var(--text-main);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}

body:is(.brand-food, .brand-vanbeest) .horento-service-visual img {
  width: 100%;
  min-height: 280px;
  max-height: 380px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-light);
}

@media (max-width: 900px) {
  body:is(.brand-food, .brand-vanbeest) .horento-services-hero,
  body:is(.brand-food, .brand-vanbeest) .horento-service-tile,
  body:is(.brand-food, .brand-vanbeest) .horento-service-tile.reverse {
    grid-template-columns: 1fr;
  }

  body:is(.brand-food, .brand-vanbeest) .horento-service-tile.reverse .horento-service-copy,
  body:is(.brand-food, .brand-vanbeest) .horento-service-tile.reverse .horento-service-visual {
    order: initial;
  }

  body:is(.brand-food, .brand-vanbeest) .horento-services-card {
    min-height: 280px;
  }
}

/* Horento language switcher: compact pill styling aligned with the concept header. */
body:is(.brand-food, .brand-vanbeest) .language-switcher {
    gap: 3px;
    padding: 3px;
    border: 1px solid rgba(0, 102, 83, 0.16);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 28px rgba(0, 49, 40, 0.08);
}

body:is(.brand-food, .brand-vanbeest) .language-link {
    min-width: 30px;
    padding: 5px 7px;
    font-size: 11px;
    color: var(--text-muted, #597169);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .04em;
}

body:is(.brand-food, .brand-vanbeest) .language-link:hover,
body:is(.brand-food, .brand-vanbeest) .language-link.active {
    background: var(--primary, #006653);
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 102, 83, 0.18);
}

@media (max-width: 900px) {
    body:is(.brand-food, .brand-vanbeest) .language-switcher {
        position: absolute;
        right: 68px;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Van Beest uses the Horento marketplace layout with its own brand palette. */
body.brand-vanbeest {
    min-height: 100vh;
    --bg: #f5f8f3;
    --primary: #287d32;
    --primary-dark: #1d6026;
    --primary-soft: #e8f2e6;
    --accent: #287d32;
    --text-main: #203424;
    --text-muted: #617565;
    --border: rgba(40, 125, 50, .18);
    --glass: rgba(245, 248, 243, .94);
    --shadow-soft: 0 18px 50px rgba(29, 96, 38, .12);
    --shadow-light: 0 10px 28px rgba(29, 96, 38, .06);
}

body.brand-vanbeest .site-header {
    background: var(--glass) !important;
}

body.brand-vanbeest .site-header .logo-mark {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: none;
}

body.brand-vanbeest .site-header .logo-text {
    display: block;
}

body.brand-vanbeest .supplier-concept-hero {
    background: linear-gradient(135deg, #fff, var(--primary-soft));
}

.vanbeest-footer {
    background: var(--primary-dark);
    color: #fff;
    margin-top: 40px;
    padding: 44px max(22px, calc((100vw - 1240px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.vanbeest-footer img {
    max-width: 100%;
    height: auto;
}

.vanbeest-footer a { color: inherit; }

@media (max-width: 600px) {
    body.brand-vanbeest .site-header .logo-mark img { width: 130px !important; }
    body.brand-vanbeest .site-header .logo-text { display: block; }
}

/* Keep branding readable when the optional logo files are not installed. */
body.brand-vanbeest .vanbeest-wordmark {
    color: var(--primary);
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -.04em;
    white-space: nowrap;
}

body.brand-vanbeest .vanbeest-wordmark sup { font-size: .55em; }
body.brand-vanbeest .vanbeest-footer-wordmark { color: #fff; }
body.brand-vanbeest .logo-mark img[hidden] { display: none; }
body.brand-vanbeest .vanbeest-wordmark[hidden] { display: none; }

/* Keep the attribution below the Green Pin logo at every screen size. */
body.brand-vanbeest .site-header .logo-area {
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
body.brand-vanbeest .site-header .logo-text { display: block; }
body.brand-vanbeest .site-header .logo-sub { text-align: center; }
body.brand-vanbeest .horento-services-hero-content {
    background: linear-gradient(135deg, #fff, var(--primary-soft));
}

body.brand-vanbeest section.horento-home-intro {
    background: linear-gradient(135deg, #fff, var(--primary-soft));
}

/* Long translated words must fit the mobile cards. */
body.brand-vanbeest .horento-services-hero > *,
body.brand-vanbeest .horento-service-tile > *,
body.brand-vanbeest .marketing-text {
    min-width: 0;
    overflow-wrap: anywhere;
}
