/* Site-wide furniture: fixed header (utility strip + gold navbar with the overhanging logo
   card), footer, cart drawer, gift band. Adapted from bcb-pipeline library
   navbar/ticker-utility-bar + footer/multi-column @ 2026-10-26. */

/* --- Fixed header --------------------------------------------------------- */
html { scroll-padding-top: calc(var(--jf-header-h, 124px) + 16px); }
#jf-fixed-header { background: var(--jf-accent); z-index: 1030; }
.admin-bar #jf-fixed-header.fixed-top { top: 32px; }
@media (max-width: 782px) { .admin-bar #jf-fixed-header.fixed-top { top: 46px; } }

/* Utility strip (burgundy, 26px) */
#jf-utility { font-size: 12px; font-weight: 700; min-height: 26px; line-height: 26px; }
#jf-utility a, #jf-utility button { color: #fff; background: none; border: 0; padding: 0 2px; font: inherit; display: inline-flex; align-items: center; gap: 6px; min-height: 26px; }
#jf-utility a:hover, #jf-utility button:hover { color: var(--jf-accent-soft); }
#jf-utility .jf-utility-social a { font-size: 12px; }
.jf-cart-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #fff; color: var(--jf-primary); font-variant-numeric: tabular-nums; line-height: 1; }
.jf-cart-count.bump { animation: jf-bump .4s; }
@keyframes jf-bump { 40% { transform: scale(1.5); } }

/* Gold navbar */
.jf-navbar { background: var(--jf-accent); position: relative; z-index: 1030; min-height: 72px; }
.jf-navbar .nav-link {
    font-family: var(--jf-font);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #fff; /* Carlos 2026-11-10 (R1-33): white labels on gold, 2.36:1, below WCAG AA 4.5:1 (was ink, 7:1+); soft shadow for legibility */
    text-shadow: 0 1px 2px rgba(45, 35, 30, 0.35);
    padding: 1.2rem 0.75rem;
    white-space: nowrap;
}
.jf-navbar .nav-link:hover, .jf-navbar .nav-link:focus-visible { color: var(--jf-primary-deep); text-shadow: none; }
.jf-navbar .current-menu-item > .nav-link, .jf-navbar .current-menu-ancestor > .nav-link { text-decoration: underline; text-decoration-color: #fff; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.jf-navbar .dropdown-toggle::after { margin-left: 0.3em; vertical-align: 0.15em; }
.jf-navbar .dropdown-menu { border: 0; border-radius: var(--jf-radius-sm); box-shadow: var(--jf-shadow-lg); padding: 0.5rem; margin-top: 0; background: var(--bcb-menu-surface); }
.jf-navbar .dropdown-menu .nav-link { padding: 0.55rem 0.9rem; border-radius: 10px; font-size: 12.5px; color: var(--jf-ink); text-shadow: none; }
.jf-navbar .dropdown-menu .nav-link:hover, .jf-navbar .dropdown-menu .nav-link:focus-visible { background: var(--jf-surface); color: var(--jf-primary); }
.jf-nav-pill .btn-sm { padding: 0.5rem 1.9rem; font-size: 12px; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35); }

/* Logo badge: the raster logo already carries its own white circle and burgundy ring, so no card
   around it (Carlos, review R1-03, 2026-10-30: background, padding, radius, shadow and the negative
   margin removed to match the comp). It overhangs the gold bar top and bottom by its own height. */
.jf-logo-card,
.jf-logo-card.navbar-brand {
    display: block;
    width: 220px;
    height: 112px;          /* the bar's height; the badge is taller and overhangs it top and bottom */
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}
.jf-logo-card img { position: absolute; top: 50%; left: 0; width: 100%; height: auto; transform: translateY(-50%); display: block; }
/* Carlos's cropped badge (media 1447, 289×147) is used as the logo: its flat top/bottom edges sit on the bar edges */
#jf-utility { position: relative; z-index: 1031; } /* the burgundy strip covers the badge's top arc, as in the comp */

/* Desktop: grid 1fr auto 1fr — left menu, logo, right menu */
@media (min-width: 1200px) {
    #bcb-main-navbar .jf-navbar-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 16px; }
    #bcb-main-navbar .jf-navbar-inner > .navbar-collapse { display: contents !important; }
    .jf-logo-card { order: 2; margin-bottom: 0; justify-self: center; }
    .jf-nav-left { order: 1; justify-content: flex-start; align-items: center; }
    .jf-nav-right { order: 3; justify-content: flex-end; align-items: center; }
    .jf-navbar .navbar-toggler { display: none; }
    .jf-navbar .nav-item { white-space: nowrap; }
    .jf-nav-pill { margin-left: 0.6rem; }
    /* Adam via Carlos, 2026-11-10: the link row is contained to the page's 1288px content width (the
       gold bar stays full-bleed) and the cart/login strip follows it, so both end on the SHOP pill's
       right edge as in the comp. 3rem = the two 1.5rem side gutters (px-lg-4). */
    #bcb-main-navbar .jf-navbar-inner,
    #jf-utility > .container-fluid { max-width: calc(1288px + 3rem); margin-left: auto; margin-right: auto; }
    /* A bit more air between links: 40px between labels (was 24px). The first label sits on the content edge. */
    .jf-navbar .navbar-nav > .nav-item > .nav-link { padding-left: 1.25rem; padding-right: 1.25rem; }
    .jf-navbar .jf-nav-left > .nav-item:first-child > .nav-link { padding-left: 0; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .jf-navbar .nav-link { font-size: 12px; }
    .jf-navbar .navbar-nav > .nav-item > .nav-link { padding-left: 0.9rem; padding-right: 0.9rem; } /* 29px between labels (was 16px) */
    .jf-logo-card, .jf-logo-card.navbar-brand { width: 190px; height: 100px; }
}

/* Mobile / tablet (below 1200px), second pass (Adam via Carlos 2026-11-18, R1-69).
   Bar: logo left; Shop pill, cart bag with its count and the menu button right. The burgundy strip above it carries
   only the announcement (its cart, login and social links are hidden here and live in the bar and the panel).
   Panel: opens under the bar on cream with ink labels (the white-on-gold desktop labels are too faint at this
   size), 52px rows with rules, Shop as a full-width button, then Login and the social links. The page behind
   dims and stops scrolling (template-parts/js/nav.js). */
@media (max-width: 1199.98px) {
    /* Carlos 2026-12-02 (R1-111): at 150px wide the badge was 76px tall on a 64px bar and hung 6px over the hero.
       The badge is as tall as the bar again (142px wide = 72px tall at its 300:152 shape), as on desktop. */
    .jf-navbar { min-height: 72px; }
    .jf-logo-card, .jf-logo-card.navbar-brand { width: 142px; height: 72px; margin-bottom: 0; }
    .jf-nav-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
    .jf-nav-shop.btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1.15rem; font-size: 12.5px; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35); }
    .jf-nav-cart { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--jf-ink); font-size: 21px; display: inline-grid; place-items: center; }
    .jf-nav-cart .jf-cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; font-size: 11px; font-weight: 800; background: var(--jf-primary); color: #fff; box-shadow: 0 0 0 2px var(--jf-accent); }
    .jf-nav-cart .jf-cart-count[data-n="0"] { display: none; } /* no badge on an empty cart */
    .jf-navbar .navbar-toggler { min-width: 44px; min-height: 44px; padding: 0; color: var(--jf-ink); display: inline-grid; place-items: center; }
    /* Three bars drawn here so they can fold into a cross while the panel is open. */
    .jf-navbar .navbar-toggler-icon { position: relative; width: 26px; height: 20px; filter: none; background: linear-gradient(currentColor, currentColor) center / 100% 2.5px no-repeat; transition: background-size 0.18s ease; }
    .jf-navbar .navbar-toggler-icon::before, .jf-navbar .navbar-toggler-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform 0.18s ease, top 0.18s ease; }
    .jf-navbar .navbar-toggler-icon::before { top: 0; }
    .jf-navbar .navbar-toggler-icon::after { top: calc(100% - 2.5px); }
    .jf-navbar .navbar-toggler:not(.collapsed) .navbar-toggler-icon { background-size: 0 2.5px; }
    .jf-navbar .navbar-toggler:not(.collapsed) .navbar-toggler-icon::before { top: calc(50% - 1.25px); transform: rotate(45deg); }
    .jf-navbar .navbar-toggler:not(.collapsed) .navbar-toggler-icon::after { top: calc(50% - 1.25px); transform: rotate(-45deg); }

    /* Burgundy strip: the announcement alone, centred; with no announcement it is a thin band that still covers the badge's top arc. */
    #jf-utility .jf-utility-social, #jf-utility .jf-cart-open, #jf-utility a.bcb-utility { display: none !important; }
    #jf-utility:not(.jf-utility--announce) { min-height: 8px; }
    #jf-utility:not(.jf-utility--announce) > .container-fluid { display: none !important; }

    /* Panel */
    #navbar-main-menu { margin: 0 -1rem; padding: 0; background: var(--jf-bg); max-height: calc(100vh - var(--jf-header-h, 100px)); max-height: calc(100dvh - var(--jf-header-h, 100px)); overflow-y: auto; overscroll-behavior: contain; }
    #navbar-main-menu .navbar-nav { padding: 0 1rem; }
    #navbar-main-menu .jf-nav-left { padding-top: 12px; } /* clears the badge, which overhangs the bar */
    .jf-navbar .navbar-nav > .nav-item { border-bottom: 1px solid var(--jf-surface); }
    .jf-navbar .nav-link { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0.5rem 0.25rem; font-size: 15px; letter-spacing: 0.03em; color: var(--jf-ink); text-shadow: none; white-space: normal; }
    .jf-navbar .nav-link:hover, .jf-navbar .nav-link:focus-visible { color: var(--jf-primary); }
    .jf-navbar .current-menu-item > .nav-link, .jf-navbar .current-menu-ancestor > .nav-link { color: var(--jf-primary); text-decoration: none; }
    .jf-navbar .dropdown-toggle::after { margin-left: 0.75rem; border-top-width: 0.4em; border-left-width: 0.4em; border-right-width: 0.4em; transition: transform 0.18s ease; }
    .jf-navbar .dropdown-toggle.show::after { transform: rotate(180deg); }
    .jf-navbar .dropdown-menu { position: static; box-shadow: none; background: transparent; padding: 0 0 10px 14px; margin: 0; border-left: 3px solid var(--jf-surface); border-radius: 0; }
    .jf-navbar .dropdown-menu .nav-link { min-height: 44px; padding: 0.4rem 0.25rem; font-size: 14px; font-weight: 700; text-transform: none; letter-spacing: 0; }
    .jf-navbar .navbar-nav > .jf-nav-pill { border-bottom: 0; margin: 16px 0 4px; }
    .jf-nav-pill .btn-sm { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; font-size: 14px; box-shadow: none; }
    .jf-nav-extra { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 1rem 16px; }
    .jf-nav-account { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 800; font-size: 15px; color: var(--jf-ink); text-decoration: none; }
    .jf-nav-account:hover, .jf-nav-account:focus-visible { color: var(--jf-primary); }
    .jf-nav-social { display: inline-flex; gap: 2px; }
    .jf-nav-social a { display: inline-grid; place-items: center; width: 44px; height: 44px; font-size: 20px; color: var(--jf-secondary); }
    .jf-nav-social a:hover, .jf-nav-social a:focus-visible { color: var(--jf-primary); }

    /* Page behind the open panel: dimmed, tap to close, no scroll. */
    #jf-fixed-header::after { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(45, 35, 30, 0.5); opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
    body.jf-menu-open { overflow: hidden; }
    body.jf-menu-open #jf-fixed-header::after { opacity: 1; pointer-events: auto; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    #navbar-main-menu { margin: 0 -1.5rem; }
    #navbar-main-menu .navbar-nav, .jf-nav-extra { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (max-width: 359.98px) { .jf-nav-shop.btn { display: none; } } /* very narrow phones: the Shop button is still first-reach in the panel */
@media (prefers-reduced-motion: reduce) { .jf-navbar .navbar-toggler-icon, .jf-navbar .navbar-toggler-icon::before, .jf-navbar .navbar-toggler-icon::after, #jf-fixed-header::after { transition: none; } }
/* Toggler: no persistent pointer focus box; keyboard ring stays (parent bcb-ui-v1 handles data-bcb-input) */
.jf-navbar .navbar-toggler:focus:not(:focus-visible) { box-shadow: none; outline: none; }

/* --- Gift band --------------------------------------------------------------- */
/* Gift band to the comps (review R1-14): thick burgundy ribbon into gold (traced 1920×126), light serif
   headline with the pill beside its second line, carriage facing right. */
.jf-giftband-ribbon { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 126; }
.jf-giftband { padding: 0 0 clamp(32px, 3.2vw, 60px); margin-top: -1px; color: #fff; }
.jf-giftband-h { display: inline; color: #fff; font-weight: 400; font-size: clamp(24px, 2.35vw, 45px); line-height: 1.35; margin: 0; }
.jf-giftband-copy .btn { margin-left: clamp(20px, 2.6vw, 50px); vertical-align: 0.25em; font-size: 13px; padding: 0.4rem 2.6rem; }
.jf-giftband-carriage { width: clamp(220px, 17vw, 330px); height: auto; transform: scaleX(-1); opacity: 0.9; }
@media (max-width: 991.98px) {
  .jf-giftband-h { display: block; }
  .jf-giftband-copy .btn { margin: 16px 0 0; }
}

/* --- Footer ------------------------------------------------------------------ */
/* Footer (comp screen-1; review R1-12). Grid areas follow the comp: logo + marks on the left, three link
   groups on two rows, Contact Us spanning both rows on the right. */
#jf-footer { color: #fff; border-top: 16px solid var(--jf-primary); }
#jf-footer a { color: #fff; text-decoration: none; }
#jf-footer a:hover, #jf-footer a:focus-visible { color: var(--jf-accent); }
.jf-footer-grid { display: grid; gap: 28px 24px; padding: 64px 0 48px;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "logo logo" "marks marks" "sweets shop" "favors story" "faqs blog" "contact contact"; }
.jf-f-logo { grid-area: logo; } .jf-f-marks { grid-area: marks; } .jf-f-sweets { grid-area: sweets; } .jf-f-shop { grid-area: shop; }
.jf-f-favors { grid-area: favors; } .jf-f-story { grid-area: story; } .jf-f-faqs { grid-area: faqs; } .jf-f-blog { grid-area: blog; } .jf-f-contact { grid-area: contact; }
@media (min-width: 768px) {
  .jf-footer-grid { grid-template-columns: repeat(3, 1fr);
    grid-template-areas: "logo logo contact" "marks marks contact" "sweets shop favors" "story faqs blog"; }
}
@media (min-width: 1200px) {
  .jf-footer-grid { padding: 80px 0 72px; column-gap: 32px; row-gap: 44px; align-items: start;
    grid-template-columns: 1.15fr 1fr 1fr 1fr 1.25fr;
    grid-template-areas: "logo sweets shop favors contact" "marks story faqs blog contact"; }
  .jf-f-marks { align-self: center; }
}
.jf-f-logo { text-align: center; }
.jf-footer-logo img { width: 190px; max-width: 100%; height: auto; }
.jf-f-marks { display: flex; align-items: center; justify-content: center; gap: 12px; }
.jf-footer-pm { width: 150px; height: auto; }
.jf-footer-badge { width: 42px; height: auto; }
@media (min-width: 1200px) { .jf-footer-logo img { width: 200px; } .jf-footer-pm { width: 160px; } .jf-footer-badge { width: 46px; } }
.jf-footer-heading { font-family: var(--jf-font-header); font-weight: 700; font-size: 17px; color: #fff; margin: 0 0 14px; letter-spacing: 0; }
.jf-footer-heading a { color: #fff; }
.jf-footer-links { list-style: none; margin: 0; padding: 0; }
.jf-footer-links li { margin: 0 0 4px; line-height: 1.55; }
.jf-footer-links a { font-weight: 400; font-size: 14px; display: inline-block; padding: 2px 0; }
#jf-footer .jf-footer-phone { color: var(--jf-accent); }
#jf-footer .jf-footer-phone:hover, #jf-footer .jf-footer-phone:focus-visible { color: #fff; }
.jf-footer-hours { font-size: 14px; color: rgba(255, 255, 255, 0.85); }
/* Signup: white pill field, gold full-width SUBMIT (WPForms markup) */
.jf-footer-signup { margin: 16px 0 18px; max-width: 340px; }
.jf-footer-signup .wpforms-container { margin: 0 !important; padding: 0 !important; }
.jf-footer-signup .wpforms-field { padding: 0 !important; margin: 0 0 10px !important; }
.jf-footer-signup input[type=email] { width: 100% !important; max-width: none !important; height: 34px !important; border-radius: 999px !important; border: 0 !important; background: #fff !important; color: var(--jf-ink) !important; padding: 0 16px !important; font-size: 14px !important; }
#jf-footer .jf-footer-signup input[type=email]::placeholder { color: var(--jf-ink) !important; opacity: 1 !important; }
.jf-footer-signup .wpforms-submit-container { padding: 0 !important; margin: 0 !important; }
.jf-footer-signup button[type=submit] { width: 100% !important; height: 34px !important; border-radius: 999px !important; border: 0 !important; background: var(--jf-accent) !important; color: var(--jf-ink) !important; font-weight: 800 !important; font-size: 13px !important; letter-spacing: 0.04em; text-transform: uppercase; padding: 0 !important; }
.jf-footer-signup button[type=submit]:hover, .jf-footer-signup button[type=submit]:focus-visible { background: var(--jf-accent-deep) !important; color: #fff !important; } /* comp shows white on gold (2.36:1, fails AA); ink on gold is 6.5:1 per brand-kit */
.jf-footer-signup .wpforms-confirmation-container-full { background: transparent !important; border: 1px solid var(--jf-accent) !important; color: #fff !important; padding: 8px 14px !important; border-radius: 12px; font-size: 14px; }
.jf-footer-signup .wpforms-confirmation-container-full p { color: #fff !important; margin: 0 !important; font-size: 14px; }
.jf-footer-signup label.wpforms-error { color: #ffd7df !important; font-size: 13px !important; }
/* Newsletter app signup (preview, R1-146): same field and button, its own spacing and message line. */
.jf-footer-signup--app input[type=email] { display: block; margin: 0 0 10px; }
.jf-footer-signup--app input[type=email][hidden], .jf-footer-signup--app button[hidden] { display: none; }
.jf-footer-signup--app button[disabled] { opacity: 0.6; cursor: default; }
.jf-footer-signup--app .jf-newsletter-note { margin: 8px 0 0; font-size: 13px; color: #ffd7df; }
.jf-footer-signup--app .jf-newsletter-note.is-ok { margin: 0; border: 1px solid var(--jf-accent); border-radius: 12px; padding: 8px 14px; font-size: 14px; color: #fff; }
.jf-footer-social { display: flex; gap: 20px; padding-left: 12px; }
.jf-footer-social a { font-size: 22px; line-height: 1; display: inline-flex; min-width: 32px; min-height: 32px; align-items: center; justify-content: center; }
/* Slim legal + copyright line (not in the comp; kept so store policies stay linked) */
.jf-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 16px 0 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; font-size: 12px; }
.jf-footer-bottom .site-info { color: rgba(255, 255, 255, 0.65); }
.jf-footer-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
#jf-footer .jf-footer-legal a { color: rgba(255, 255, 255, 0.65); font-weight: 400; }

/* --- Cart drawer ------------------------------------------------------------- */
.jf-scrim { position: fixed; inset: 0; background: rgba(43, 33, 29, 0.45); opacity: 0; transition: opacity 0.2s; z-index: 1060; }
.jf-scrim.on { opacity: 1; }
.jf-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
    background: #fff; z-index: 1061; transform: translateX(100%); transition: transform 0.25s ease;
    display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px;
    padding: 18px 20px calc(18px + env(safe-area-inset-bottom, 0px));
}
/* Shadow only while open: closed, the drawer sits just off-screen and its shadow would reach back in
   as a grey strip down the right edge (audit 2026-11-09, A1). */
.jf-drawer.on { transform: none; box-shadow: -18px 0 40px -24px rgba(45, 35, 30, 0.5); }
/* Pin each part to its row: when the status line is empty (display: none) the later children would shift up
   and the footer would land in the 1fr row, stretching the buttons (review R1-19). */
.jf-drawer-header { grid-row: 1; }
.jf-drawer-status { grid-row: 2; }
.jf-drawer-lines { grid-row: 3; min-height: 0; }
.jf-drawer-footer { grid-row: 4; }
.jf-drawer.busy { opacity: 0.7; pointer-events: none; }
.jf-drawer-header { display: flex; justify-content: space-between; align-items: center; }
.jf-drawer-title { font-size: 24px; font-weight: 700; margin: 0; }
.jf-drawer-close { border: 0; background: var(--jf-surface); width: 36px; height: 36px; border-radius: 50%; font-size: 20px; line-height: 1; color: var(--jf-ink); }
.jf-drawer-close:hover { background: var(--jf-primary); color: #fff; }
.jf-drawer-status { background: #EEF6EF; color: var(--jf-ok); border-radius: 10px; padding: 9px 12px; font-weight: 700; font-size: 14px; }
.jf-drawer-status:empty { display: none; }
.jf-drawer-lines { overflow: auto; display: grid; gap: 14px; align-content: start; }
.jf-drawer-empty { color: var(--jf-muted); text-align: center; padding: 40px 0; margin: 0; }
.jf-drawer-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--jf-surface); }
.jf-drawer-thumb img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; display: block; }
.jf-drawer-name { font-weight: 700; line-height: 1.25; }
.jf-drawer-meta { font-size: 12.5px; color: var(--jf-muted); margin-top: 2px; }
.jf-drawer-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.jf-drawer-actions .jf-stepper button { width: 26px; height: 24px; font-size: 15px; }
.jf-drawer-price { font-size: 16px; }
.jf-drawer-footer { display: grid; gap: 10px; border-top: 2px solid var(--jf-surface); padding-top: 14px; }
.jf-drawer-sum { display: flex; justify-content: space-between; font-weight: 800; font-size: 17px; }
.jf-drawer-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.jf-drawer-btns .btn { padding: 12px; }
.jf-drawer-fine { font-size: 12px; color: var(--jf-muted); text-align: center; }
body.jf-drawer-open { overflow: hidden; }

/* --- Shared hero (photo overlay or type-led fallback) -------------------------- */
.jf-hero { position: relative; overflow: hidden; color: #fff; text-align: center; background: var(--jf-secondary); }
.jf-hero-media { position: absolute; inset: 0; }
.jf-hero-media img, .jf-hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.jf-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 22, 14, 0.3), rgba(40, 22, 14, 0.6)); }
.jf-hero > .container { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 84px; }
.jf-hero-h1 { font-weight: 800; font-size: clamp(38px, 7vw, 76px); line-height: 1; margin: 0; }
.jf-hero-sub { font-family: var(--jf-font-header); font-size: clamp(18px, 2.6vw, 28px); margin: 12px 0 0; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); }
.jf-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.jf-hero > .jf-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; }
/* Type-led fallback until the hero photos arrive (D8): sand band, carriage watermark, burgundy type */
.jf-hero--typeled { background: var(--jf-surface); color: var(--jf-ink); }
.jf-hero--typeled .jf-hero-h1 { color: var(--jf-primary); -webkit-text-stroke: 0; text-shadow: none; }
.jf-hero--typeled .jf-hero-sub { color: var(--jf-ink); text-shadow: none; }
.jf-hero--typeled .jf-watermark { opacity: 0.45; }

/* --- Form pages (common-form.php → .jf-form-card: contact, corporate, favor request, employment) ----------
   Brand values go in through WPForms' own modern-markup variables, so its focus, error and choice states
   follow; every field spans the card whatever size it has in the builder (review R1-15). The footer
   signup has its own rules above. */
.jf-form-card { background: #fff; border-radius: var(--jf-radius); padding: clamp(20px, 3.2vw, 40px); box-shadow: 0 0 0 10px var(--jf-surface); }
.jf-form-card .wpforms-container {
  --wpforms-field-border-radius: 12px;
  --wpforms-field-border-size: 2px;
  --wpforms-field-border-color: var(--jf-surface);
  --wpforms-field-border-color-spare: var(--jf-surface);
  --wpforms-field-background-color: #fff;
  --wpforms-field-text-color: var(--jf-ink);
  --wpforms-field-menu-color: #fff;
  --wpforms-field-size-input-height: 48px;
  --wpforms-field-size-font-size: 16px;
  --wpforms-field-size-padding-h: 16px;
  --wpforms-label-color: var(--jf-secondary);
  --wpforms-label-sublabel-color: var(--jf-muted);
  --wpforms-label-error-color: var(--jf-primary);
  --wpforms-label-size-font-size: 15px;
  --wpforms-button-border-radius: 999px;
  --wpforms-button-border-size: 2px;
  --wpforms-button-border-style: solid;
  --wpforms-button-background-color: var(--jf-cta);
  --wpforms-button-border-color: var(--jf-cta);
  --wpforms-button-text-color: #fff;
  --wpforms-button-size-height: 48px;
  --wpforms-button-size-padding-h: 34px;
  --wpforms-button-size-font-size: 14px;
  --wpforms-page-break-color: var(--jf-primary);
  margin: 0;
  font-family: var(--jf-font);
}
/* One class deeper than WPForms' `.wpforms-container .wpforms-field-row.wpforms-field-medium { max-width: 60% }` */
.jf-form-card .wpforms-container .wpforms-field .wpforms-field-small,
.jf-form-card .wpforms-container .wpforms-field .wpforms-field-medium,
.jf-form-card .wpforms-container .wpforms-field .wpforms-field-large,
.jf-form-card .wpforms-container .wpforms-field .iti { width: 100%; max-width: 100%; }
.jf-form-card .wpforms-container .wpforms-field-label { font-weight: 700; }
.jf-form-card .wpforms-container .wpforms-required-label { color: var(--jf-primary); }
.jf-form-card .wpforms-container .wpforms-field-html h3 { color: var(--jf-primary); font-size: 1.15rem; margin: 1rem 0 0.25rem; }
.jf-form-card .wpforms-container .wpforms-field-description { color: var(--jf-muted); }
.jf-form-card div.wpforms-container-full .wpforms-form textarea { min-height: 140px; }
.jf-form-card div.wpforms-container-full .wpforms-form ::placeholder { color: #A3958C; }
/* Submit as the site's primary pill (WPForms' own rule is div.wpforms-container-full button[type=submit]…) */
.jf-form-card div.wpforms-container-full .wpforms-form button[type=submit] { font-family: var(--jf-font); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.jf-form-card div.wpforms-container-full .wpforms-form button[type=submit]:hover,
.jf-form-card div.wpforms-container-full .wpforms-form button[type=submit]:focus-visible { background-color: var(--jf-cta-deep); border-color: var(--jf-cta-deep); color: #fff; }
.jf-form-card .wpforms-submit-container { padding-top: 8px; }
/* Multi-step forms (Employment wizard, review R1-21): step title + "Step X of Y" above a full-width bar,
   Back as an outline pill on the left, Next / Submit filled on the right. */
.jf-form-card .wpforms-page-indicator.progress { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 22px; padding: 0 0 18px; border-bottom: 1px solid var(--jf-surface); }
.jf-form-card .wpforms-page-indicator-page-title { font-family: var(--jf-font-header); font-weight: 700; font-size: clamp(20px, 2.2vw, 26px); color: var(--jf-primary); line-height: 1.2; }
.jf-form-card .wpforms-page-indicator-page-title-sep { display: none !important; } /* WPForms sets an inline display on page change */
.jf-form-card .wpforms-page-indicator-steps { margin-left: auto; font-size: 0.85rem; font-weight: 700; color: var(--jf-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.jf-form-card .wpforms-page-indicator-page-progress-wrap { flex-basis: 100%; height: 8px; border-radius: 99px; background: var(--jf-surface); overflow: hidden; margin-top: 8px; }
.jf-form-card .wpforms-page-indicator-page-progress { height: 100%; border-radius: 99px; background-color: var(--jf-primary) !important; transition: width 0.3s ease; }
.jf-form-card .wpforms-field-pagebreak { padding-top: 12px; }
.jf-form-card .wpforms-pagebreak-split { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.jf-form-card .wpforms-pagebreak-split .wpforms-page-next { margin-left: auto; }
.jf-form-card div.wpforms-container-full .wpforms-form .wpforms-page-button { font-family: var(--jf-font); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; min-width: 140px; }
.jf-form-card div.wpforms-container-full .wpforms-form .wpforms-page-next:hover { background-color: var(--jf-cta-deep); border-color: var(--jf-cta-deep); color: #fff; }
.jf-form-card div.wpforms-container-full .wpforms-form .wpforms-page-prev:not(:hover):not(:active),
.jf-form-card div.wpforms-container-full .wpforms-form .wpforms-page-prev { background-color: #fff; color: var(--jf-cta); border: 2px solid var(--jf-cta); }
.jf-form-card div.wpforms-container-full .wpforms-form .wpforms-page-prev:hover { background-color: var(--jf-cta); color: #fff; }
/* Last step: WPForms renders Back inside the last page and Submit in its own container below; from 576 px up,
   Back is pinned to the form's bottom-left so the two share one row. */
@media (min-width: 576px) {
  .jf-form-card .wpforms-form:has(.wpforms-page) { position: relative; }
  .jf-form-card .wpforms-page.last .wpforms-field-pagebreak { position: absolute; left: 0; bottom: 0; padding: 0; }
  .jf-form-card .wpforms-form:has(.wpforms-page) .wpforms-submit-container { display: flex; justify-content: flex-end; }
}
@media (max-width: 575.98px) { .jf-form-card div.wpforms-container-full .wpforms-form button[type=submit] { width: 100%; } }
@media (max-width: 575.98px) {
  .jf-form-card .wpforms-page-indicator-steps { margin-left: 0; flex-basis: 100%; order: -1; }
  .jf-form-card .wpforms-page-button-group { display: flex; gap: 10px; width: 100%; }
  .jf-form-card div.wpforms-container-full .wpforms-form .wpforms-page-button { min-width: 0; flex: 1; margin: 0; }
}

/* Interior header band (b): burgundy with white serif H1 and a gold rule */
.jf-page-header { background: var(--jf-primary); color: #fff; text-align: center; padding: 40px 0; }
.jf-page-header h1 { color: #fff; font-size: clamp(30px, 4.6vw, 52px); font-weight: 700; margin: 0; }
.jf-page-header .jf-rule { width: 72px; height: 4px; background: var(--jf-accent); margin: 16px auto 0; border-radius: 2px; }
.jf-page-header .jf-page-lead { max-width: 60ch; margin: 14px auto 0; color: rgba(255, 255, 255, 0.92); font-size: 1.05rem; }
/* Interior header band (a): sand, type-led. Chocolate drips off the gold header bar (Carlos 2026-11-03, idea C;
   review R1-16): a 420×64 SVG tile repeated across, so drips keep their shape at any width (traced as liquid:
   rounded ends, filleted where they leave the bar, a faint gloss on the long ones). Carriage silhouette bottom-right,
   facing right as in the comps (replaces the swirl-divider watermark whose white top showed as a pale box). */
/* Drips are switched off for now (Carlos 2026-11-10, R1-35): they render only with .jf-page-header--drips, which the
   partial adds while jf_header_drips_enabled() is true. Without them the band is evenly padded. */
.jf-page-header--sand { position: relative; overflow: hidden; background: var(--jf-surface); color: var(--jf-ink); padding-top: 44px; padding-bottom: 44px; }
.jf-page-header--sand.jf-page-header--drips { padding-top: 92px; }
.jf-page-header--sand.jf-page-header--drips::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 80px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1260' height='80' viewBox='0 0 1260 80'%3E%3Cg fill='%235A3A2C'%3E%3Cpath d='M0,0 H1260 V10.3 Q1227.5,11.7 1195.0,10.2 Q1161.0,12.2 1127.0,11.2 Q1096.0,13.6 1065.0,12.9 Q1033.5,13.6 1002.0,11.3 Q954.0,13.6 906.0,12.8 Q857.5,13.7 809.0,11.5 Q772.0,12.0 735.0,9.5 Q687.0,11.6 639.0,10.7 Q591.5,11.8 544.0,10.0 Q512.0,11.8 480.0,10.7 Q447.5,11.8 415.0,9.9 Q369.0,11.0 323.0,9.2 Q274.5,10.8 226.0,9.4 Q179.0,10.8 132.0,9.3 Q100.5,11.4 69.0,10.6 Q34.5,11.9 0.0,10.3 Z'/%3E%3Cpath d='M11.0,6.4 L11.0,10.4 Q19.0,10.4 19.0,18.4 V29.0 A11,11 0 0 0 41.0,29.0 V18.4 Q41.0,10.4 49.0,10.4 L49.0,6.4 Z'/%3E%3Cpath d='M97.5,5.7 L97.5,9.7 Q104.2,9.7 104.2,16.5 V18.5 A5.5,5.5 0 0 0 115.2,18.5 V16.5 Q115.2,9.7 122.0,9.7 L122.0,5.7 Z'/%3E%3Cpath d='M175.3,5.3 L175.3,9.3 Q183.3,9.3 183.3,17.3 V44.0 A8,8 0 0 0 199.3,44.0 V17.3 Q199.3,9.3 207.3,9.3 L207.3,5.3 Z'/%3E%3Cpath d='M263.5,5.3 L263.5,9.3 Q267.7,9.3 267.7,13.5 V15.5 A4.5,4.5 0 0 0 276.7,15.5 V13.5 Q276.7,9.3 280.9,9.3 L280.9,5.3 Z'/%3E%3Cpath d='M346.1,5.5 L346.1,9.5 Q354.1,9.5 354.1,17.5 V27.5 A6.5,6.5 0 0 0 367.1,27.5 V17.5 Q367.1,9.5 375.1,9.5 L375.1,5.5 Z'/%3E%3Cpath d='M395.3,5.8 L395.3,9.8 Q403.3,9.8 403.3,17.8 V58.0 A10,10 0 0 0 423.3,58.0 V17.8 Q423.3,9.8 431.3,9.8 L431.3,5.8 Z'/%3E%3Cpath d='M481.9,6.6 L481.9,10.6 Q489.9,10.6 489.9,18.6 V21.0 A5,5 0 0 0 499.9,21.0 V18.6 Q499.9,10.6 507.9,10.6 L507.9,6.6 Z'/%3E%3Cpath d='M537.3,6.0 L537.3,10.0 Q545.3,10.0 545.3,18.0 V36.5 A7.5,7.5 0 0 0 560.3,36.5 V18.0 Q560.3,10.0 568.3,10.0 L568.3,6.0 Z'/%3E%3Cpath d='M595.6,6.4 L595.6,10.4 Q600.6,10.4 600.6,15.5 V17.5 A4.5,4.5 0 0 0 609.6,17.5 V15.5 Q609.6,10.4 614.7,10.4 L614.7,6.4 Z'/%3E%3Cpath d='M678.4,6.0 L678.4,10.0 Q686.4,10.0 686.4,18.0 V49.0 A9,9 0 0 0 704.4,49.0 V18.0 Q704.4,10.0 712.4,10.0 L712.4,6.0 Z'/%3E%3Cpath d='M762.6,6.6 L762.6,10.6 Q770.6,10.6 770.6,18.6 V24.0 A6,6 0 0 0 782.6,24.0 V18.6 Q782.6,10.6 790.6,10.6 L790.6,6.6 Z'/%3E%3Cpath d='M853.2,8.2 L853.2,12.2 Q856.2,12.2 856.2,15.2 V17.0 A5,5 0 0 0 866.2,17.0 V15.2 Q866.2,12.2 869.2,12.2 L869.2,8.2 Z'/%3E%3Cpath d='M921.6,8.3 L921.6,12.3 Q929.6,12.3 929.6,20.3 V39.5 A8.5,8.5 0 0 0 946.6,39.5 V20.3 Q946.6,12.3 954.6,12.3 L954.6,8.3 Z'/%3E%3Cpath d='M1002.8,7.7 L1002.8,11.7 Q1010.8,11.7 1010.8,19.7 V29.5 A6.5,6.5 0 0 0 1023.8,29.5 V19.7 Q1023.8,11.7 1031.8,11.7 L1031.8,7.7 Z'/%3E%3Cpath d='M1093.1,7.6 L1093.1,11.6 Q1101.1,11.6 1101.1,19.6 V53.5 A10.5,10.5 0 0 0 1122.1,53.5 V19.6 Q1122.1,11.6 1130.1,11.6 L1130.1,7.6 Z'/%3E%3Cpath d='M1174.9,6.3 L1174.9,10.3 Q1182.2,10.3 1182.2,17.5 V19.5 A4.5,4.5 0 0 0 1191.2,19.5 V17.5 Q1191.2,10.3 1198.4,10.3 L1198.4,6.3 Z'/%3E%3Cpath d='M413.3,73.0 a6.0,6.0 0 1 0 0.1,0 Z M1111.6,69.0 a6.3,6.3 0 1 0 0.1,0 Z'/%3E%3C/g%3E%3C/svg%3E") repeat-x 0 0 / 1260px 80px; pointer-events: none; }
.jf-page-header--sand > .container { position: relative; z-index: 1; }
/* Keep titles clear of the carriage: centred block narrower than the container on desktop. */
@media (min-width: 992px) { .jf-page-header--sand h1 { max-width: 960px; margin-inline: auto; } }
/* Larger on wide screens (Carlos 2026-11-16, R1-66): from about 1300px up it grows to 240px and sits nearer the edge,
   so it stays clear of a title that fills its 960px measure. Narrower screens keep the earlier size, where a long
   title already reaches it. */
.jf-page-header-carriage { position: absolute; right: clamp(16px, calc((100vw - 1320px) / 4), 96px); bottom: 12px; width: clamp(130px, max(11vw, calc(38vw - 350px)), 240px); height: auto; transform: scaleX(-1); filter: brightness(0) invert(1); opacity: 0.75; pointer-events: none; }
@media (max-width: 767.98px) {
  .jf-page-header--sand { padding-top: 32px; padding-bottom: 32px; }
  .jf-page-header--sand.jf-page-header--drips { padding-top: 64px; }
  .jf-page-header--sand.jf-page-header--drips::before { height: 56px; background-size: 882px 56px; }
  .jf-page-header-carriage { display: none; }
}
/* Holiday toppings sit on the drip bar (icing, drizzle): hidden with it; the scatter behind the title starts at the top. */
.jf-page-header--sand:not(.jf-page-header--drips) .jf-season-layer--page-header::before { display: none; }
.jf-page-header--sand:not(.jf-page-header--drips) .jf-season-layer--page-header::after { top: 0; }
.jf-page-header--sand h1 { color: var(--jf-primary); }
.jf-page-header--sand .jf-page-lead { color: var(--jf-ink); }
@media (max-width: 767.98px) {
  .jf-footer-links li { margin: 0; }
  .jf-footer-links a { padding: 10px 0; }
  .jf-footer-heading a { display: inline-block; padding: 10px 0; }
  #jf-footer .jf-footer-legal a { padding: 12px 0; }
  /* Touch sizes, second mobile pass (R1-70) */
  .jf-footer-signup { max-width: none; }
  .jf-footer-signup input[type=email], .jf-footer-signup button[type=submit] { height: 46px !important; }
  .jf-footer-signup input[type=email] { font-size: 16px !important; padding: 0 18px !important; }
  .jf-footer-signup button[type=submit] { font-size: 14px !important; }
  .jf-footer-social { gap: 8px; padding-left: 0; }
  .jf-footer-social a { min-width: 44px; min-height: 44px; }
  .jf-drawer-close { width: 44px; height: 44px; }
  .jf-drawer-actions .jf-stepper button { width: 36px; height: 34px; font-size: 17px; }
  .jf-giftband-copy .btn { font-size: 14px; padding: 0.68rem 2.2rem; }
}

/* Holiday Themes (inc/season.php). Announcement line on the left of the burgundy strip; on phones
   it takes its own centred line above the account links. Theme decorations live in season-*.css. */
#jf-utility .jf-announce { margin: 0 auto 0 0; line-height: 1.35; padding: 5px 0; max-width: calc(50% - 130px); }
#jf-utility .jf-announce a { color: #fff; display: inline; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: rgba(255, 255, 255, 0.5); }
#jf-utility .jf-announce a:hover, #jf-utility .jf-announce a:focus-visible { color: #fff; text-decoration-color: #fff; }
#jf-utility .jf-announce .fa-solid { font-size: 10px; margin-left: 2px; }
/* Second bar (Holiday Themes → Announcement bar → Second bar): under the burgundy strip, above the gold nav, in the
   theme's button colour (brown when the theme sets none). Like the strip, it covers the logo badge's top arc. */
#jf-season-bar { position: relative; z-index: 1031; background: var(--jf-season-bar, var(--jf-secondary)); text-align: center; font-size: 12.5px; font-weight: 700; line-height: 1.35; padding: 6px 16px; }
#jf-season-bar a { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: rgba(255, 255, 255, 0.5); }
#jf-season-bar a:hover, #jf-season-bar a:focus-visible { color: #fff; text-decoration-color: #fff; }
#jf-season-bar .fa-solid { font-size: 10px; margin-left: 2px; }
@media (max-width: 1199.98px) {
  .jf-utility--announce .container-fluid { flex-wrap: wrap; row-gap: 0 !important; }
  #jf-utility .jf-announce { flex: 0 0 100%; max-width: none; margin: 0; text-align: center; padding: 6px 0; } /* alone in the strip below 1200px (R1-69) */
}
/* Editor-only preview notice (never shown to visitors). */
.jf-theme-preview { position: fixed; left: 16px; bottom: 16px; z-index: 2000; max-width: calc(100vw - 32px); background: var(--jf-ink); color: #fff; font-size: 13px; padding: 10px 14px; border-radius: 10px; box-shadow: var(--jf-shadow-lg); }
.jf-theme-preview a { color: var(--jf-accent); font-weight: 700; margin-left: 6px; }
