/* Bread & Beyond: friendly modern storefront.
   Loaded after custom.css; it restyles the live layout (markup, ids and scripts are unchanged).
   Same brand colours as the live site: light green #4dae67 for actions and highlights, dark green #00472f
   for the top bar, headings accents and footer. Softly rounded corners (never square, never pills). */

:root {
    --bb-green: #4dae67;            /* the live site's light green: buttons, tags, highlights */
    --bb-green-hover: #3d9a56;
    --bb-action: #4dae67;           /* filled buttons, tags and green text: the live site's green again (owner 2026-11-24, "match
                                       with this color"); from 2026-11-22 it was the deeper 237a3e, for contrast */
    --bb-action-hover: #3d9a56;
    --bb-green-dark: #00472f;       /* top bar, footer, strong text accents */
    --bb-green-soft: #eef7f0;
    --bb-ink: #222622;
    --bb-muted: #6c726e;
    --bb-bg: #f6f8f5;
    --bb-card: #ffffff;
    --bb-line: #e8ece7;
    --bb-danger: #c0392b;           /* Oven Red: every remove, delete, cancel and close control, and errors */
    --bb-danger-hover: #a83226;
    --bb-r: 12px;                   /* cards, banners, windows */
    --bb-r-sm: 8px;                 /* buttons, inputs, tags */
    --bb-shadow: 0 2px 6px rgba(20, 50, 30, .06), 0 8px 24px rgba(20, 50, 30, .07);
    --bb-shadow-hover: 0 4px 10px rgba(20, 50, 30, .08), 0 16px 36px rgba(20, 50, 30, .14);
    --bb-ease: .2s ease;
}

body { background: var(--bb-bg); color: var(--bb-ink); -webkit-font-smoothing: antialiased; }
a { transition: color var(--bb-ease), background-color var(--bb-ease), border-color var(--bb-ease); }
::selection { background: var(--bb-action); color: #fff; }
:focus-visible { outline: 2px solid var(--bb-green); outline-offset: 2px; }

/* ---------- corners: softly rounded, never square, never a pill or circle ---------- */
.btn, .btn-product, .btn-cart, .btn-order, .btn-rounded, .btn-primary, .btn-dark, .btn-outline,
.form-control, select.form-control, textarea, input[type="text"], input[type="email"], input[type="tel"],
input[type="password"], input[type="number"], input[type="search"], select,
.product-label, .cart-count, .btn-product-icon, .input-wrapper-round .form-control,
.quantity-minus, .quantity-plus, .nav-link, .page-link, .alert, .badge, .tag { border-radius: var(--bb-r-sm) !important; }
.product, .banner, .banner-fixed, .modal-content, .dropdown-box, .minicart, .card, .widget, .icon-box,
.service-list, .page-header, .bb-cat, .qv-dialog { border-radius: var(--bb-r) !important; }
.owl-dot span, .owl-nav button { border-radius: 6px !important; }

/* ---------- header (live layout, cleaner) ---------- */
.header { background: #fff; box-shadow: 0 1px 0 var(--bb-line); }
.header-top { background: var(--bb-green-dark) !important; }
.header-middle { padding-top: 14px; padding-bottom: 14px; }
.header .input-wrapper .form-control, .header-search .form-control {
    border: 2px solid var(--bb-green) !important; background: #fff; height: 46px; padding-left: 16px;
}
.header .input-wrapper .form-control:focus, .header-search .form-control:focus {
    border-color: var(--bb-green-dark) !important; box-shadow: 0 0 0 3px rgba(77, 174, 103, .2);
}
.header .btn-search { color: var(--bb-green); }
.header .cart-count { background: var(--bb-action) !important; color: #fff; }
/* one row (2026-11-17): logo | menu | small search, phone and cart as icons. The row is the sticky bar on desktop. */
.header-middle .logo { margin-right: 1.8rem; }
.header-middle .header-left { flex: 0 0 auto; }
.header-middle .header-center { flex: 1 1 auto; min-width: 0; }
.header-middle .main-nav { margin-right: 1.2rem; }
.header-middle .menu > li { margin-right: 1.7rem; }
.header-middle .menu > li:last-child { margin-right: 0; }
.header-middle .menu > li > a { white-space: nowrap; }
/* a wider search where there is room, without crowding the row (owner, 2026-11-30) */
.header-middle .header-search.hs-simple { flex: 1 1 165px; max-width: 320px; margin-right: 1.2rem; }
@media (min-width: 768px) { .header-middle .header-right { flex: 1 1 auto; min-width: 0; justify-content: flex-end; } }
.header-middle .header-search .form-control { height: 40px !important; font-size: 1.3rem; padding: 0 3.8rem 0 1.1rem !important; }
.header-middle .header-search .btn-search { min-width: 38px; }
.header-middle .icon-box { margin-right: 1.2rem; }
.header-middle .header-right .divider { display: none; }
.header-middle .icon-box-content, .header-middle .cart-label { display: none !important; }   /* icons only: no room for the labels */
.header-middle.fixed { padding-top: 8px; padding-bottom: 8px; box-shadow: 0 6px 20px rgba(20, 50, 30, .1); }
.header-middle.fixed .logo img { width: auto; height: 50px; }
/* one row from 1280 px up, with Our Story and Contact Us in it (2026-11-19): a slightly smaller logo, tighter
   menu gaps and a narrower search keep the menu clear of the search box; the menu text keeps its size */
@media (min-width: 1280px) {
    .header-middle .logo { margin-right: 1.8rem; }
    .header-middle .logo img { width: auto; height: 60px; }
    .header-middle .header-center { flex: none; }
    .header-middle .main-nav { margin-right: 2rem; }
    .header-middle .menu > li { margin-right: 1.6rem; }
    .header-middle .menu > li > a { letter-spacing: 0; }
    .header-middle .header-search.hs-simple { flex-basis: 150px; max-width: 180px; margin-right: 1rem; }
    .header-middle .icon-box { margin-right: 1rem; }
    /* the header row is wider than the page (up to 1480 px; 1340 until 2026-11-30), so the
       logo sits further left and the search, call, location and cart further right (owner, 2026-11-19) */
    .header-middle > .container { max-width: min(1480px, 100%); }
    .header-middle .cart-dropdown { margin-right: 0 !important; }
}
/* the tightest one-row widths: less side padding and slightly smaller link gaps make room for the location icon */
@media (min-width: 1280px) and (max-width: 1359px) {
    .header-middle > .container { padding-left: 12px; padding-right: 12px; }
    .header-middle .main-nav { margin-right: 1.8rem; }
    .header-middle .menu > li { margin-right: 1.5rem; }
    .header-middle .header-search.hs-simple { max-width: 150px; }
}
/* with more room, the space goes between the links and the icons rather than into the search */
@media (min-width: 1400px) {
    .header-middle .menu > li { margin-right: 2rem; }
    .header-middle .header-search.hs-simple { max-width: 220px; margin-right: 1.4rem; }
    .header-middle .icon-box { margin-right: 1.4rem; }
}
/* small desktops: the menu does not fit beside the logo, so it drops to a second line inside the same bar */
@media (min-width: 992px) and (max-width: 1279px) {
    .header-middle > .container { flex-wrap: wrap; }
    .header-middle .header-center { order: 3; flex-basis: 100%; margin-top: 8px; border-top: 1px solid var(--bb-line); }
}
@media (max-width: 991px) { .header-middle .header-center { display: none; } }
/* header Location: a pin that opens the locations page (2026-11-30, owner) */
.header-middle .bb-location {
    display: grid; place-items: center; flex: none; width: 40px; height: 40px; margin: 0 1rem 0 -8px; padding: 0;
    border-radius: var(--bb-r-sm) !important; color: var(--bb-green);
}
.header-middle .bb-location .icon-box-icon { display: block; margin: 0; color: inherit; line-height: 1; }
.header-middle .bb-location:hover { background: var(--bb-green-soft); color: var(--bb-green-hover); }
@media (min-width: 1400px) { .header-middle .bb-location { margin-right: 1.4rem; } }
@media (max-width: 800px) { .header-middle .bb-location { display: none; } }      /* with the call icon */
/* hamburger and its left drawer (2026-11-30, owner): it holds what the header dropdowns held. On desktop only
   that (the rest is in the header); on phones the full menu, as before. */
/* a light green tile with white lines, so it reads as a button on the home page's glass header too */
.header-middle .bb-menu-btn {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 42px; height: 42px; margin: 0 1rem 0 0; padding: 0; border: 0; border-radius: var(--bb-r-sm);
    background: var(--bb-action); color: #fff; cursor: pointer; transition: background-color var(--bb-ease);
}
.bb-menu-btn svg { display: block; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.bb-nav-open { cursor: pointer; }
.header-middle .bb-menu-btn:hover, .header-middle .bb-menu-btn[aria-expanded="true"] { background: var(--bb-action-hover); color: #fff; }
@media (max-width: 991px) { .bb-drawer-desktop { display: none !important; } }
@media (min-width: 992px) {
    .bb-drawer-phone { display: none !important; }
    .mmenu-active .page-wrapper { margin-left: 0; margin-right: 0; }     /* the drawer slides over the page, no sideways push */
}
/* the drawer in the site's look (owner, 2026-11-30): white, the logo on top. Titles (top level) are mint rows in bold
   deep green, and the open one is solid light green (owner; was deep green); the current page's subtitle has a green outline on mint
   (the titles above it are not underlined: owner). Was the theme's dark grey with capitals. */
#bb-menu-drawer { --drawer-w: 296px; }
#bb-menu-drawer .mobile-menu-overlay { background: #082c20; }
.mmenu-active #bb-menu-drawer .mobile-menu-overlay { opacity: .6; }
#bb-menu-drawer .mobile-menu-container {
    position: relative; z-index: 1;      /* above the overlay */
    scroll-padding: 88px 0 16px;         /* keyboard focus stays clear of the sticky logo row */
    max-width: var(--drawer-w); padding: 0 0 24px; background: var(--bb-card); color: var(--bb-ink);
    border-radius: 0 18px 18px 0; box-shadow: none; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: #b9d8c1 transparent;
    transform: translateX(calc(-1 * var(--drawer-w) - 10px)); transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}
.mmenu-active #bb-menu-drawer .mobile-menu-container { transform: none; box-shadow: var(--bb-shadow-hover); }
#bb-menu-drawer .bb-drawer-head {
    position: sticky; top: 0; z-index: 2; display: flex; align-items: center; height: 72px; margin-bottom: 16px; padding: 0 16px;
    background: var(--bb-card); border-bottom: 1px solid var(--bb-line);
}
#bb-menu-drawer .bb-drawer-head img { display: block; width: auto; height: 48px; }
#bb-menu-drawer > .mobile-menu-close {
    display: grid; place-items: center; top: 16px; left: calc(var(--drawer-w) - 56px); width: 40px; height: 40px;
    border-radius: var(--bb-r-sm); color: var(--bb-danger);
}
#bb-menu-drawer > .mobile-menu-close:hover { background: var(--bb-danger); color: #fff; }
#bb-menu-drawer > .mobile-menu-close i { color: inherit; font-size: 2rem; line-height: 1; }
#bb-menu-drawer .input-wrapper { height: 44px; margin: 0 16px 14px; }
#bb-menu-drawer .input-wrapper .form-control {
    min-height: 44px; height: 44px; background: #fff; color: var(--bb-ink);
    border: 1px solid #8f978f; border-right: 0; border-radius: var(--bb-r-sm) 0 0 var(--bb-r-sm) !important;
}
#bb-menu-drawer .input-wrapper .form-control::placeholder { color: var(--bb-muted); opacity: 1; }
#bb-menu-drawer .input-wrapper .form-control:focus { border-color: var(--bb-green); box-shadow: 0 0 0 3px rgba(77, 174, 103, .18); }
#bb-menu-drawer .input-wrapper .btn-search {
    flex: none; width: 44px; background: var(--bb-action); border-color: var(--bb-action);
    border-radius: 0 var(--bb-r-sm) var(--bb-r-sm) 0 !important;
}

#bb-menu-drawer .mobile-menu {
    margin: 0; padding: 0 16px; background: none; color: var(--bb-ink);
    font-size: 1.4rem; font-weight: 400; line-height: 1.45; letter-spacing: 0; text-transform: none;
}
#bb-menu-drawer .mmenu-anim, #bb-menu-drawer .mmenu-anim > li { opacity: 1; transform: none; transition: none; }   /* the drawer's own slide is enough */
#bb-menu-drawer .mobile-menu li { border: 0; }
#bb-menu-drawer .mobile-menu > li { margin-bottom: 6px; padding: 0; }
#bb-menu-drawer .mobile-menu li a {
    display: flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: var(--bb-r-sm); color: inherit;
    transition: background-color var(--bb-ease), color var(--bb-ease);
}
/* titles */
#bb-menu-drawer .mobile-menu > li > a { background: var(--bb-green-soft); color: var(--bb-green-dark); font-size: 1.5rem; font-weight: 700; }
#bb-menu-drawer .mobile-menu > li > a:hover { background: #d6ecdc; }
#bb-menu-drawer .mobile-menu > li.show > a, #bb-menu-drawer .mobile-menu > li > a[aria-current] { background: var(--bb-action); color: #fff; }
#bb-menu-drawer .mobile-menu > li.show > a:hover, #bb-menu-drawer .mobile-menu > li > a[aria-current]:hover { background: var(--bb-action-hover); }
/* subtitles: groups inside Menus (bold), then the links */
#bb-menu-drawer .mobile-menu ul { padding: 6px 0 8px 12px; }
#bb-menu-drawer .mobile-menu ul ul { padding: 2px 0 6px 12px; }
#bb-menu-drawer .mobile-menu ul a { margin-bottom: 2px; }
#bb-menu-drawer .mobile-menu ul a:hover { background: var(--bb-green-soft); color: var(--bb-green-dark); }
#bb-menu-drawer .mobile-menu ul a:not([href]) { font-weight: 700; }
#bb-menu-drawer .mobile-menu ul li.show > a { color: var(--bb-green-dark); }
#bb-menu-drawer .mobile-menu ul a[aria-current] {
    background: #d6ecdc; color: var(--bb-green-dark); font-weight: 700; box-shadow: inset 0 0 0 2px var(--bb-green);
}
/* arrows: the whole row is the click area, the arrow sits at its right end and turns down when open */
#bb-menu-drawer .mobile-menu a:not([href]) { padding-right: 42px; }
#bb-menu-drawer .toggle-btn {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end;
    padding: 0 16px; transform: none; opacity: 1;
}
#bb-menu-drawer .toggle-btn::before { color: var(--bb-green); transition: transform .25s ease; }
#bb-menu-drawer .show > a .toggle-btn::before { transform: rotate(90deg); }
#bb-menu-drawer .mobile-menu > li.show > a .toggle-btn::before { color: #fff; }
#bb-menu-drawer a:focus-visible { outline: 2px solid var(--bb-green); outline-offset: 2px; }
/* phones (owner, 2026-12-01): all text is black; only what is selected is highlighted, step by step: the open title
   (solid green, above), then the open subtitle (mint), then the current page's link (mint with the green outline).
   The order matters: the selected rows come last. */
@media (max-width: 991px) {
    #bb-menu-drawer .mobile-menu, #bb-menu-drawer .mobile-menu > li > a, #bb-menu-drawer .mobile-menu ul a:hover { color: #000; }
    #bb-menu-drawer .mobile-menu ul li.show > a, #bb-menu-drawer .mobile-menu ul a[aria-current] { color: var(--bb-green-dark); }
    #bb-menu-drawer .mobile-menu ul li.show > a { background: #d6ecdc; }
}
@media (max-width: 991px) and (hover: none) {        /* a touch screen keeps :hover after a tap, which looked selected */
    #bb-menu-drawer .mobile-menu > li:not(.show) > a:not([aria-current]):hover { background: var(--bb-green-soft); }
    #bb-menu-drawer .mobile-menu ul li:not(.show) > a:not([aria-current]):hover { background: none; }
}
@media (min-width: 992px) { #bb-menu-drawer { --drawer-w: 340px; } }
@media (prefers-reduced-motion: reduce) {
    #bb-menu-drawer, #bb-menu-drawer .mobile-menu-container, #bb-menu-drawer .mobile-menu-overlay,
    #bb-menu-drawer .mobile-menu-close, #bb-menu-drawer .toggle-btn::before { transition: none; }
}
.menu > li > a {
    font-weight: 600; letter-spacing: .01em;
    background: linear-gradient(var(--bb-green), var(--bb-green)) no-repeat left calc(100% - 6px) / 0 3px;
    transition: background-size var(--bb-ease), color var(--bb-ease);
}
.menu > li:hover > a, .menu > li.active > a { background-size: 100% 3px; color: var(--bb-green-dark); }
.menu > li.is-current > a { background-size: 100% 3px; color: var(--bb-green); }   /* the one current item (common/responsive-footer) */
.menu ul, .menu .megamenu { border: 1px solid var(--bb-line); border-radius: var(--bb-r) !important; box-shadow: var(--bb-shadow-hover); }

/* ---------- buttons: the light green leads ---------- */
.btn, .btn-product, .btn-cart, .btn-order, .btn-primary, .btn-dark, .btn-outline {
    font-weight: 700; letter-spacing: .04em;
    transition: background-color var(--bb-ease), color var(--bb-ease), border-color var(--bb-ease), box-shadow var(--bb-ease), transform var(--bb-ease);
}
.btn-primary, .btn-primary.btn-rounded {
    background: var(--bb-action) !important; border: 1px solid var(--bb-action) !important; color: #fff !important;
}
.btn-primary:hover, .btn-primary:focus { background: var(--bb-action-hover) !important; border-color: var(--bb-action-hover) !important; }
.btn-link { color: var(--bb-green-dark); font-weight: 700; }
.btn-link:hover { color: var(--bb-action); }

/* ---------- section titles ---------- */
.title-wrapper { align-items: flex-end; margin-bottom: 22px !important; }
.title.title-underline {
    font-size: 1.9rem; font-weight: 800; letter-spacing: -.01em; color: var(--bb-ink);
    border-bottom: 4px solid var(--bb-green) !important; padding-bottom: 8px; margin-bottom: 0 !important;
}
.title-wrapper .btn-link { padding-bottom: 8px; }

/* ---------- home ---------- */
.intro-section { background: #eef0ec; }
.intro-slider .owl-nav button, .owl-nav-fade .owl-nav button {
    width: 46px; height: 46px; background: rgba(255, 255, 255, .95) !important; color: var(--bb-green-dark) !important;
    border: 0 !important; box-shadow: var(--bb-shadow);
}
.owl-nav-fade .owl-nav button:hover { background: var(--bb-action) !important; color: #fff !important; }
.owl-dots .owl-dot span { width: 24px !important; height: 5px !important; background: #cfd6cf !important; margin: 0 3px; }
.owl-dots .owl-dot.active span { background: var(--bb-green) !important; }

/* trust strip */
.service-list { background: #fff; border: 1px solid var(--bb-line); }
.icon-box-icon { color: var(--bb-green); }
.icon-box-title { font-weight: 800; color: var(--bb-ink); }

/* tabs */
.nav-tabs { border-bottom: 1px solid var(--bb-line); }
.tab-nav-simple .nav-link { font-size: 1.8rem; font-weight: 800; color: #98a09a; padding: 12px 22px; border-bottom: 4px solid transparent; }
.tab-nav-simple .nav-link:hover { color: var(--bb-green-dark); }
.tab-nav-simple .nav-link.active { color: var(--bb-ink); border-bottom-color: var(--bb-green) !important; background: transparent; }
.tab-content, .tab-pane, .products-wrapper, .owl-stage-outer { background: transparent !important; }

/* ---------- product cards ---------- */
.product.food-card, .product.product-with-qty {
    background: var(--bb-card); border: 1px solid var(--bb-line); box-shadow: none; overflow: hidden;
    transition: box-shadow var(--bb-ease), border-color var(--bb-ease), transform var(--bb-ease);
}
.product.food-card:hover, .product.product-with-qty:hover {
    border-color: #cfe6d5; box-shadow: var(--bb-shadow-hover); transform: translateY(-4px);
}
.product-media { position: relative; overflow: hidden; background: #f1f3f0; }
.product-media img { transition: transform .5s ease; width: 100%; }
.product:hover .product-media img { transform: scale(1.05); }
.product-media > p {                       /* the delivery tag keeps the live colours (inline) */
    position: absolute; left: 10px; bottom: 10px; right: auto; width: auto; margin: 0; z-index: 2;
    padding: 4px 11px; font-size: 1.05rem; font-weight: 400; letter-spacing: .03em; border-radius: 6px !important;
}
.product-label.label-new, .product-label { background: var(--bb-action) !important; color: #fff; font-weight: 700; padding: 3px 10px; }
.product-name, .product-name a { font-weight: 700; color: var(--bb-ink); }
.product-name a:hover { color: var(--bb-action); }
.product-details { padding-top: 14px; }
.new-price, .product-price ins { color: var(--bb-green-dark); font-weight: 800; font-size: 1.7rem; text-decoration: none; }
.old-price, .product-price del { color: #9aa09b; }

.product .product-action .btn-product.btn-cart,
.product:hover .product-action .btn-product.btn-cart,
.product .product-action .btn-cart.btn-order,
.product:hover .product-action .btn-cart.btn-order {
    background: var(--bb-action) !important; border: 1px solid var(--bb-action) !important; color: #fff !important;
    text-transform: uppercase; font-size: 1.2rem; padding: 1em 1.4em; min-height: 44px;
}
.product .product-action .btn-product.btn-cart:hover,
.product .product-action .btn-cart.btn-order:hover { background: var(--bb-action-hover) !important; border-color: var(--bb-action-hover) !important; box-shadow: 0 6px 14px rgba(77, 174, 103, .35); }
.product-action .btn-product span, .product-action .btn-cart span, .product-action .btn-order span { color: inherit !important; }
.product-action .btn-product i, .product-action .btn-cart i { display: none; }
.product-action .btn-product.out-of-stock { background: var(--bb-danger) !important; border-color: var(--bb-danger) !important; color: #fff !important; }
.product-action .btn-product.out-of-stock .stock-span { font-size: 1.1rem; white-space: nowrap; }
.product-list-sm .product-action .btn-product.out-of-stock { padding: .9em .5em; letter-spacing: 0; }
.product-list-sm .product-action .btn-product.out-of-stock .stock-span { font-size: 1rem; }
.product-quantity select, .product-quantity .quantity, .form-control, select.form-control { border: 1px solid #cfd6cf; background: #fff; }
.product-quantity select:focus, .form-control:focus { border-color: var(--bb-green); box-shadow: 0 0 0 3px rgba(77, 174, 103, .18); }
.quantity-minus, .quantity-plus { min-width: 34px; min-height: 34px; }
.btn-product-icon, .product-action-vertical .btn-product-icon { background: #fff; color: var(--bb-green-dark); border: 1px solid var(--bb-line); box-shadow: var(--bb-shadow); }
.btn-product-icon:hover { background: var(--bb-action); color: #fff; }

/* the three compact lists */
.widget-products .product-list-sm { margin-top: 14px !important; }

/* promo banners */
.banners-section .banner { overflow: hidden; box-shadow: var(--bb-shadow); transition: box-shadow var(--bb-ease), transform var(--bb-ease); }
.banners-section a:hover .banner { box-shadow: var(--bb-shadow-hover); transform: translateY(-4px); }

/* store banner */
.banner-big-section { background: var(--bb-green-dark) !important; border-radius: 0 !important; }
.banner-big-section .banner-title { font-weight: 800; }
.banner-big-section .banner-media img { border-radius: var(--bb-r) !important; }
.banner-big-section .btn-primary { background: var(--bb-action) !important; border-color: var(--bb-action) !important; }
.banner-big-section .btn-primary:hover { background: #fff !important; color: var(--bb-green-dark) !important; border-color: #fff !important; }

/* gallery: clean photo wall. An even grid (4 columns, 2 below 992 px) with white gaps and soft corners;
   each photo rises in when it first scrolls into view (script in home.blade.php) and lifts a little on hover. */
.gallery-section.bb-wall { padding-top: 24px; padding-bottom: 72px; }
.bb-wall-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.bb-wall-head .title-wrapper { flex: 1 1 auto; }
.bb-wall-head p { color: var(--bb-muted); font-size: 1.5rem; margin: 0; }
.bb-wall-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bb-wall-item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
    border-radius: 14px; background: #e6ebe6; box-shadow: 0 1px 3px rgba(20, 50, 30, .06);
    transition: transform .35s ease, box-shadow .35s ease; }
.bb-wall-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.bb-wall-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0, 40, 25, .25));
    opacity: 0; transition: opacity .35s ease; }
.bb-wall-item:hover { transform: translateY(-4px); box-shadow: var(--bb-shadow-hover); }
.bb-wall-item:hover img { transform: scale(1.04); }
.bb-wall-item:hover::after { opacity: 1; }
.is-armed .bb-wall-item:not(.is-in) { opacity: 0; transform: translateY(28px); }
.is-armed .bb-wall-item { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .25, 1), box-shadow .35s ease; }
.is-armed .bb-wall-item.is-in:hover { transform: translateY(-4px); transition-delay: 0s !important; }
@media (max-width: 991px) { .bb-wall-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) {
    .gallery-section.bb-wall { padding-bottom: 48px; }
    .bb-wall-grid { gap: 10px; }
    .bb-wall-item { border-radius: 10px; }
}

/* ---------- inner pages ---------- */
/* the inner page banners are a light sketch photo (story-banner.jpg) with black titles: the fill matches the photo, so nothing
   flashes before it loads (it was deep green, a green bar on every page load; fixed 2026-11-29) */
.page-header { background-color: #f7f5f1 !important; }
.breadcrumb a:hover { color: var(--bb-action); }
.page-title { font-weight: 800; }
.pagination .page-item .page-link { border: 1px solid var(--bb-line); }
.pagination .page-item.active .page-link, .pagination .page-link:hover { background: var(--bb-action); border-color: var(--bb-action); color: #fff; }
/* cart drawer: as tall as the window, and a long cart scrolls its items only (2026-11-30; it was 110vh with no
   scrolling, so from about six items the subtotal and the buttons were out of reach). On a very short window the
   whole body scrolls. The 14px side padding leaves room for the remove buttons and the scrollbar.
   ".header" in front: the cart, checkout, order complete and code pages load the theme's style.min.css after this
   file, and at equal weight its rules would win. */
.header .cart-dropdown.cart-offcanvas .dropdown-box { display: flex; flex-direction: column; height: 100vh; height: 100dvh; padding-bottom: 0; }
.header .cart-dropdown.cart-offcanvas .cart-header { flex: none; }
.header .cart-dropdown.cart-offcanvas .display-cart-product {
    display: flex; flex-direction: column; flex: 0 1 auto; min-height: 0; margin: 0 -14px; padding: 0 14px 20px;
    overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
}
.header .cart-dropdown .bb-cart-items {
    flex: 0 1 auto; min-height: 120px; margin-right: -14px; padding-right: 14px; overflow-x: hidden; overflow-y: auto;
    overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #b9d8c1 transparent;
}
.header .cart-dropdown .cart-total, .header .cart-dropdown .cart-action { flex: none; }
.header .cart-dropdown .display-cart-product > center { flex: none; }
/* cart drawer foot (2026-11-30, owner): the subtotal under a 2px ink rule, as on the checkout receipt, then a filled
   Go To Checkout and an outlined View Cart of the same size (View Cart was a small underlined link above it) */
.header .cart-dropdown .cart-total {
    align-items: center; justify-content: space-between; margin: 2.4rem 0 1.6rem; padding: 1.6rem 0 0;
    border-top: 2px solid var(--bb-ink); border-bottom: 0; line-height: 1.2;
}
.header .cart-dropdown .cart-total label { margin: 0; color: var(--bb-ink); font-size: 1.5rem; font-weight: 600; }
.header .cart-dropdown .cart-total .price { color: var(--bb-green-dark); font-size: 2.2rem; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.header .cart-dropdown .cart-action { display: grid; gap: 10px; }
.header .cart-dropdown.cart-offcanvas .cart-action .btn {
    align-items: center; gap: 8px; min-height: 48px; margin: 0; padding: 0 1.6rem; border-radius: var(--bb-r-sm);
    font-size: 1.3rem; font-weight: 700; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase;
}
.header .cart-dropdown .cart-action .btn i { margin: 0; font-size: 1.6rem; line-height: 1; transition: transform var(--bb-ease); }
.header .cart-dropdown .cart-action .btn:hover i { transform: translateX(4px); }
.header .cart-dropdown .cart-action .bb-view-cart { background: #fff; border: 1.5px solid var(--bb-action); color: var(--bb-action); }
.header .cart-dropdown .cart-action .bb-view-cart:hover, .header .cart-dropdown .cart-action .bb-view-cart:focus-visible { background: var(--bb-action); color: #fff; }
@media (prefers-reduced-motion: reduce) { .header .cart-dropdown .cart-action .btn i { transition: none; } .header .cart-dropdown .cart-action .btn:hover i { transform: none; } }
.modal-content, .minicart, .cart-dropdown .dropdown-box { border: 1px solid var(--bb-line); box-shadow: var(--bb-shadow-hover); }
.table th { background: var(--bb-green-soft); color: var(--bb-green-dark); }
.alert { border-left: 4px solid var(--bb-green); }
.product-single .btn-cart, .product-single .btn-product.btn-cart, .product-form .btn-cart {
    background: var(--bb-action) !important; border-color: var(--bb-action) !important; color: #fff !important;
    text-transform: uppercase; letter-spacing: .04em; font-weight: 700; min-height: 46px;
}
.product-single .btn-cart:hover, .product-form .btn-cart:hover { background: var(--bb-action-hover) !important; border-color: var(--bb-action-hover) !important; }
.product-single .product-price, .product-single .product-price ins, .product-single .new-price { color: var(--bb-green-dark) !important; font-weight: 800; }

/* ---------- footer ---------- */
.footer { background: #0d2b20; border-top: 4px solid var(--bb-green); }
.footer a:hover { color: var(--bb-green) !important; }
.footer .social-link { border-color: rgba(255, 255, 255, .45); color: #fff; border-radius: var(--bb-r-sm) !important; }
.footer .social-link:hover { background: var(--bb-action); border-color: var(--bb-action); color: #fff; }

/* ---------- scroll-to-top button: big, solid, easy to see ---------- */
.scroll-top {
    width: 56px !important; height: 56px !important; right: 24px !important; bottom: 24px !important;
    background: var(--bb-green-dark) !important; color: #fff !important; border: 2px solid #fff !important;
    border-radius: var(--bb-r) !important; box-shadow: 0 6px 20px rgba(0, 0, 0, .35) !important;
    display: flex !important; align-items: center; justify-content: center; font-size: 2.2rem; opacity: 1; z-index: 1040;
}
.scroll-top i { color: #fff !important; font-size: 2.2rem; font-weight: 700; line-height: 1; }
.scroll-top:hover { background: var(--bb-action) !important; transform: translateY(-3px); }
@media (max-width: 575px) { .scroll-top { width: 50px !important; height: 50px !important; right: 14px !important; bottom: 80px !important; } }

/* ---------- quick view (see quickview.js) ---------- */
.product .product-media .qv-trigger {
    position: absolute !important; left: 10px !important; right: 10px !important; bottom: 10px !important; top: auto !important;
    width: auto !important; height: auto !important; min-width: 0 !important; z-index: 3;
    display: flex !important; align-items: center; justify-content: center; gap: 8px;
    padding: 12px !important; margin: 0 !important; border: 0 !important; cursor: pointer; border-radius: var(--bb-r-sm) !important;
    background: var(--bb-action) !important; color: #fff !important; box-shadow: 0 6px 16px rgba(0, 0, 0, .25) !important;
    font-family: inherit; font-size: 1.2rem !important; font-weight: 700; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
    opacity: 0; transform: translateY(8px); transition: opacity .22s ease, transform .22s ease, background-color .2s ease, color .2s ease;
}
/* an inline eye: the theme's icon font has none, so touch screens, which hide the words, showed an empty square (2026-11-30) */
.product .product-media .qv-trigger svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.product .product-media .qv-trigger span { color: inherit; }
.product .product-media .qv-trigger:hover, .product .product-media .qv-trigger:focus-visible { background: rgba(0, 71, 47, .94) !important; color: #fff !important; }   /* the two greens swapped (owner, 2026-11-24): action green at rest, deep green on hover */
.product:hover .product-media .qv-trigger, .product:has(:focus-visible) .product-media .qv-trigger { opacity: 1; transform: translateY(0); }   /* focus-visible, not focus-within: the bar must not stay up after a mouse user closes the quick view (focus returns to it) */
.product:hover .product-media > p { opacity: 0; }            /* make room for the quick view bar */
@media (hover: none) {            /* touch screens have no hover: a small always-visible button, top right, clear of the delivery tag */
    .product .product-media .qv-trigger {
        top: 10px !important; bottom: auto !important; left: auto !important; right: 10px !important; width: 40px !important; height: 40px !important;
        padding: 0 !important; opacity: 1; transform: none; font-size: 0 !important;
    }
    .product .product-media .qv-trigger span { display: none; }
    .product:hover .product-media > p { opacity: 1; }
    .product .product-media .product-action-vertical { top: 58px; right: 12px; }   /* the heart sits under it */
    .product.product-list-sm .product-media .qv-trigger { top: 6px !important; right: 6px !important; }   /* small photos: clear of the New label */
    .product.product-list-sm .product-media .product-label-group { top: 6px; left: 6px; }
    .product.product-list-sm .product-media .product-action-vertical { top: 50px; right: 8px; }
}
.product-media > p { z-index: 2; }

.qv-overlay {
    position: fixed; inset: 0; z-index: 2000; display: none;
    background: rgba(8, 24, 17, .62); backdrop-filter: blur(2px);
    align-items: center; justify-content: center; padding: 16px;
}
.qv-overlay.is-open { display: flex; animation: qvFade .18s ease; }
@keyframes qvFade { from { opacity: 0; } to { opacity: 1; } }
.qv-dialog {
    position: relative; width: 100%; max-width: 880px; max-height: calc(100vh - 32px); overflow: auto;
    background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    display: grid; grid-template-columns: 1fr 1fr; animation: qvRise .22s ease;
}
@keyframes qvRise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.qv-close {
    position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px;
    border: 0; background: #fff; color: var(--bb-danger); font-size: 2.2rem; line-height: 1; cursor: pointer;
    border-radius: var(--bb-r-sm) !important; box-shadow: var(--bb-shadow);
}
.qv-close:hover { background: var(--bb-danger); color: #fff; }
.qv-media { background: #f1f3f0; min-height: 320px; display: flex; align-items: center; justify-content: center; }
.qv-media img { width: 100%; height: 100%; max-height: 540px; object-fit: cover; display: block; }
.qv-body { padding: 32px 28px 26px; display: flex; flex-direction: column; gap: 14px; }
.qv-delivery { align-self: flex-start; padding: 4px 12px; color: #fff; font-size: 1.1rem; font-weight: 400; letter-spacing: .04em; border-radius: 6px !important; }
.qv-name { margin: 0; font-size: 2.5rem; line-height: 1.2; font-weight: 800; color: var(--bb-ink); }
.qv-price { font-size: 2.4rem; font-weight: 800; color: var(--bb-green-dark); }
.qv-price del { font-size: 1.6rem; font-weight: 500; color: #9aa09b; margin-left: 8px; }
.qv-desc { color: var(--bb-muted); font-size: 1.4rem; line-height: 1.65; max-height: 150px; overflow: auto; margin: 0; }
.qv-desc.is-loading { min-height: 60px; border-radius: var(--bb-r-sm); background: linear-gradient(90deg, #f0f3ef 25%, #e4e9e3 50%, #f0f3ef 75%); background-size: 200% 100%; animation: qvShimmer 1.2s infinite; }
@keyframes qvShimmer { to { background-position: -200% 0; } }
.qv-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.qv-row label { font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--bb-muted); min-width: 66px; }
.qv-select { height: 44px; min-width: 150px; padding: 0 12px; border: 1px solid #cfd6cf; background: #fff; font: inherit; border-radius: var(--bb-r-sm); }
.qv-qty { display: inline-flex; border: 1px solid #cfd6cf; background: #fff; border-radius: var(--bb-r-sm); overflow: hidden; }
.qv-qty button { width: 44px; height: 44px; border: 0; background: #fff; font-size: 1.8rem; cursor: pointer; }
.qv-qty button:hover { background: var(--bb-green-soft); }
.qv-qty output { min-width: 46px; display: flex; align-items: center; justify-content: center; font-weight: 700; border-left: 1px solid #cfd6cf; border-right: 1px solid #cfd6cf; }
.qv-actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.qv-add, .qv-more {
    flex: 1 1 160px; padding: 15px 18px; text-align: center; font-weight: 800; font-size: 1.3rem; min-height: 48px;
    letter-spacing: .05em; text-transform: uppercase; cursor: pointer; text-decoration: none; border-radius: var(--bb-r-sm);
    transition: background-color var(--bb-ease), color var(--bb-ease), border-color var(--bb-ease);
}
.qv-add { background: var(--bb-action); color: #fff; border: 2px solid var(--bb-action); }
.qv-add:hover { background: var(--bb-action-hover); border-color: var(--bb-action-hover); }
.qv-add[disabled] { background: var(--bb-danger); border-color: var(--bb-danger); cursor: not-allowed; }
.qv-more { background: #fff; color: var(--bb-green-dark); border: 2px solid var(--bb-green-dark); }
.qv-more:hover { background: var(--bb-green-dark); color: #fff; }
@media (max-width: 700px) {
    .qv-dialog { grid-template-columns: 1fr; }
    .qv-media { min-height: 0; }
    .qv-media img { max-height: 280px; }
    .qv-body { padding: 20px 18px; }
    .qv-name { font-size: 2rem; }
}
body.qv-lock { overflow: hidden; }

/* compact lists: the button must fit its narrow column */
.product-list-sm .product-action .btn-product.btn-cart { padding: .9em .7em !important; font-size: 1.05rem !important; letter-spacing: 0; white-space: nowrap; }
.product-list-sm .product-action { flex-wrap: nowrap; gap: 6px; }

/* =====================================================================
   NEW LAYOUT (2026-11-15): framed hero, tinted section bands, label-below category tiles,
   custom-cake showcase with a side panel, store card. Same light green, soft corners.
   ===================================================================== */
:root { --bb-r-lg: 18px; }
.bb-hero .owl-nav button { width: 42px; height: 42px; }


/* the three compact lists sit on white panels */
.products-wrapper > .row > [class*="col-"] > .widget { background: #fff; border: 1px solid var(--bb-line); padding: 22px 20px 12px; }
.gallery-section { padding-top: 150px; }

/* =====================================================================
   HOME FIRST SCREEN (2026-11-17, owner)
   The offers slider fills the window from the top of the logo row (the section is pulled up behind it;
   the logo row is frosted glass over it) to the bottom of the window. Each slide shows its whole picture
   (contain) over a blurred copy of the same picture (cover), so the text and buttons baked into the
   pictures are never cut. Phones and portrait tablets: the picture at full width with a blurred band
   around it. The script after the section in home.blade.php sets --nh-head (logo row height) and
   --nh-top (where the logo row starts) and runs the opening intro, which covers the same area first.
   ===================================================================== */
/* 20: on phones and tablets the intro covers the sections below, so it must sit above their title underlines (1)
   and product buttons (10); the header, menus and pop-ups (1040 and up) stay above it */
.bb-hero.intro-section {
    position: relative; z-index: 20; padding: 0; background: #f4f2ea;
    margin-top: calc(-1 * var(--nh-head, 101px));
}
.bb-stage { position: relative; overflow: hidden; }                     /* also clips the slider while it slides in */
.bb-hero .intro-slider { border: 0; box-shadow: none; margin: 0; }                  /* full bleed: no frame, no corners */
.bb-hero .bb-slide {
    position: relative; overflow: hidden; background: #f4f2ea;
    height: calc(100vh - var(--nh-top, 72px)); min-height: 460px; padding-top: var(--nh-head, 101px);
}
@supports (height: 100svh) { .bb-hero .bb-slide { height: calc(100svh - var(--nh-top, 72px)); } }
.bb-hero .bb-slide-fill { position: absolute; inset: -40px; display: block; }
.bb-hero .owl-carousel .owl-item .bb-slide-fill img, .bb-hero .bb-slide-fill img {
    width: 100%; height: 100% !important; max-width: none; object-fit: cover; filter: blur(28px) saturate(1.15);
}
.bb-hero .bb-slide-pic { position: relative; display: flex; align-items: center; height: 100%; }
.bb-hero .owl-carousel .owl-item .bb-slide-pic img, .bb-hero .bb-slide-pic img {
    width: 100%; height: auto !important; max-height: 100%; object-fit: contain;
    /* top and bottom edges fade into the blurred copy instead of a hard cut */
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.bb-hero .owl-nav button { top: calc(50% + var(--nh-head, 101px) / 2) !important; }   /* centred on the picture, not the glass bar */

/* the logo row over the first screen: frosted glass (the slider or the intro shows through, blurred);
   solid white again when it sticks on scroll. The glass is drawn by ::before so the row itself gets no
   backdrop-filter, which would trap the fixed-position cart drawer inside the 100 px row. */
body:has(#bb-hero) .header-middle:not(.fixed) { position: relative; z-index: 1100; background-color: transparent; border-bottom-color: rgba(255, 255, 255, .6); }
body:has(#bb-hero) .header-middle:not(.fixed)::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: rgba(255, 255, 255, .55);
    -webkit-backdrop-filter: blur(14px) saturate(1.25); backdrop-filter: blur(14px) saturate(1.25);
}
body:has(#bb-hero) .header-middle:not(.fixed) .header-search .form-control { background: rgba(255, 255, 255, .85); }

/* opening intro: covers the first screen, then slides out to the left while the slider slides in */
.nh-intro {
    position: absolute; left: 0; right: 0; top: 0; z-index: 5; min-height: 100%;
    display: flex; align-items: center; padding-top: var(--nh-head, 101px); overflow: hidden;
    background: #f4f2ea;                                                     /* the photo's own left edge, until it loads */
}
.nh-intro-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.nh-intro-media img {
    display: block; width: 100%; height: 100%; max-width: none;
    object-fit: cover; object-position: 60% 35%;                             /* whole croissants; the cake top shows through the glass bar */
    animation: nhPop 1.3s cubic-bezier(.2, .8, .2, 1) backwards;
}
.nh-intro-media::after {                                                     /* light wash behind the text */
    content: ""; position: absolute; inset: 0; pointer-events: none; transition: opacity .35s ease;
    background: linear-gradient(90deg, rgba(245, 243, 236, .8) 0%, rgba(245, 243, 236, .5) 30%, rgba(245, 243, 236, 0) 52%);
}
.nh-intro > .container { width: 100%; }
.nh-intro .nh-hero-text { max-width: 560px; padding: 28px 0 40px; }
.nh-intro .nh-hero-text > * { animation: nhRise .7s cubic-bezier(.2, .8, .2, 1) backwards; transition: opacity .35s ease, transform .35s ease; }
.nh-intro .nh-hero-text > :nth-child(1) { animation-delay: .35s; }
.nh-intro .nh-hero-text > :nth-child(2) { animation-delay: .5s; }
.nh-intro .nh-hero-text > :nth-child(3) { animation-delay: .65s; }
.nh-intro .nh-hero-text > :nth-child(4) { animation-delay: .8s; }
.nh-intro.is-leaving .nh-hero-text > * { opacity: 0; transform: translateY(-12px); }
.nh-intro.is-leaving .nh-intro-media::after { opacity: 0; }
.nh-intro.is-sliding { transform: translateX(-100%); transition: transform .8s cubic-bezier(.65, 0, .35, 1); }
.bb-stage.is-handoff .intro-slider { animation: nhPushIn .8s cubic-bezier(.65, 0, .35, 1) both; }
/* phones and tablets, when the customer scrolls: the same hand-off, faster (home.blade.php) */
.bb-hero.is-quick .nh-intro { transition-duration: .4s; }
.bb-hero.is-quick .nh-hero-text > * { transition-duration: .2s; }
.bb-hero.is-quick .bb-stage .intro-slider { animation-duration: .4s; }
@keyframes nhPop { from { opacity: 0; transform: scale(1.1); } }
@keyframes nhRise { from { opacity: 0; transform: translateY(18px); } }
@keyframes nhPushIn { from { transform: translateX(100%); } }
/* the slider's ‹ › also bring the intro back (owner, 2026-11-19): the arrows sit above the intro and show
   whenever the first screen is pointed at; the intro parks off screen when away and slides back in */
.bb-hero .intro-slider.owl-carousel { z-index: auto; }
.bb-hero .intro-slider .owl-nav button { z-index: 6; }
.bb-hero .intro-slider .owl-nav button,
.bb-hero .intro-slider .owl-nav button:hover, .bb-hero .intro-slider .owl-nav button:focus {   /* no white tile: the arrow alone (owner, 2026-11-19) */
    background: transparent !important; box-shadow: none !important; color: var(--bb-green-dark) !important; font-size: 3.2rem;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, .9)) drop-shadow(0 2px 8px rgba(255, 255, 255, .6));
    transition: opacity .3s ease, margin .3s ease, color .2s ease, transform .2s ease;
}
.bb-hero .intro-slider .owl-nav button:hover { color: var(--bb-green) !important; }
.bb-hero .intro-slider .owl-nav .owl-prev:hover { transform: translate(-3px, -50%); }
.bb-hero .intro-slider .owl-nav .owl-next:hover { transform: translate(3px, -50%); }
.bb-hero .intro-slider .owl-nav button:focus-visible { outline: 2px solid var(--bb-green); outline-offset: 2px; }
.bb-hero:hover .owl-nav-fade .owl-nav .owl-prev { opacity: 1; margin-left: 0; }
.bb-hero:hover .owl-nav-fade .owl-nav .owl-next { opacity: 1; margin-right: 0; }
.nh-intro { transition: transform .8s cubic-bezier(.65, 0, .35, 1); }
.nh-intro.is-sliding-right { transform: translateX(100%); transition: transform .8s cubic-bezier(.65, 0, .35, 1); }
.nh-intro.is-away { visibility: hidden; pointer-events: none; transform: translateX(-100%); }
.nh-intro.is-parked { transition: none !important; }
.nh-intro.is-parked .nh-hero-text > * { animation: none; }
.bb-stage.is-handoff-back .intro-slider { animation: nhPushInBack .8s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes nhPushInBack { from { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .nh-intro { display: none; } }

.nh-kicker { display: inline-block; font-size: 1.3rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bb-green-dark); background: #fff; border: 1px solid #cfe6d5; border-radius: 8px; padding: 6px 12px; }
.nh-hero-text h1 { font-size: 4.2rem; line-height: 1.08; font-weight: 800; letter-spacing: -.02em; color: var(--bb-green-dark); margin: 18px 0 14px; }
.nh-hero-text p { font-size: 1.6rem; line-height: 1.6; color: var(--bb-muted); max-width: 40rem; margin: 0 0 24px; }
.nh-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.nh-hero-cta .btn { padding: 1.3em 2em; font-size: 1.35rem; min-height: 50px; }
.nh-btn-ghost { background: #fff !important; color: var(--bb-green-dark) !important; border: 2px solid var(--bb-green-dark) !important; }
.nh-btn-ghost:hover { background: var(--bb-green-dark) !important; color: #fff !important; }
/* small desktops */
@media (min-width: 992px) and (max-width: 1199px) {
    .nh-intro .nh-hero-text { max-width: 470px; }
    .nh-hero-text h1 { font-size: 3.6rem; }
    .nh-hero-text p { font-size: 1.5rem; max-width: 36rem; }
}
/* phones and portrait tablets: the slide picture at full width with a blurred band around it (a whole
   screen would leave tall blurred bands around a short picture); the intro still fills the screen,
   text on the cream top and the photo below it */
@media (max-width: 991px) {
    .bb-hero .bb-slide { height: auto; min-height: 0; padding-bottom: 22px; }
    .bb-hero .bb-slide-pic { height: auto; padding-top: 22px; }
    .bb-hero .owl-carousel .owl-item .bb-slide-pic img, .bb-hero .bb-slide-pic img { height: auto !important; }
    .nh-intro { flex-direction: column; align-items: stretch; min-height: max(100%, calc(100vh - var(--nh-top, 118px))); }
    .nh-intro .nh-hero-text { max-width: none; padding: 22px 0 18px; }
    .nh-intro-media { position: relative; inset: auto; z-index: 0; order: 2; flex: 1 1 auto; min-height: 58vw; }
    .nh-intro-media img { position: absolute; inset: 0; object-position: 100% 35%; }
    .nh-intro-media::after { display: none; }
    .nh-intro-media {
        -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%); mask-image: linear-gradient(180deg, transparent 0, #000 14%);
    }
    .nh-hero-text h1 { font-size: 3.4rem; }
}
@supports (height: 100svh) {
    @media (max-width: 991px) { .nh-intro { min-height: max(100%, calc(100svh - var(--nh-top, 118px))); } }
}
@media (max-width: 575px) {
    .nh-intro-media { min-height: 70vw; }
    .nh-hero-text h1 { font-size: 3rem; }
    .nh-hero-text p { font-size: 1.45rem; margin-bottom: 18px; }
    .nh-hero-cta { gap: 8px; }
    .nh-hero-cta .btn { padding: 1.1em 1.3em; font-size: 1.2rem; min-height: 46px; }
}


/* =====================================================================
   HOME LAYOUT V5 (2026-11-18, owner): V1's sections in V1's order, laid out as a premium bakery.
   The opening (intro + offers slider) above is unchanged. One section head, one spacing rhythm
   (--bb-sec), and surfaces that set the chapters apart: flour-white, mint band, deep green.
   ===================================================================== */
main.home { --bb-sec: 88px; --bb-r-lg: 18px; }
@media (max-width: 767px) { main.home { --bb-sec: 56px; } }

/* one section head: heavy title with the green underline on the left, its link or line on the right */
main.home .title-wrapper { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 30px !important; }
main.home .title.title-underline { font-size: clamp(2.1rem, 2.4vw, 2.7rem); line-height: 1.15; letter-spacing: -.015em; padding-bottom: 10px; text-wrap: balance; }

/* trust points: one slim white bar, the three promises split by hairlines */
main.home .bb-services { margin: 0 !important; padding-top: 40px; }
main.home .bb-services .service-list { background: #fff; border: 1px solid var(--bb-line); box-shadow: none; padding: 0; overflow: hidden; border-radius: var(--bb-r-lg) !important; }
main.home .bb-services .service-carousel { margin: 0; padding: 0 !important; }
main.home .bb-services .icon-box { position: relative; background: transparent; border: 0; box-shadow: none; margin: 0; padding: 22px 28px; gap: 4px; justify-content: center; }
main.home .bb-services .icon-box-icon { color: var(--bb-green); font-size: 3rem !important; margin-right: 14px; }
main.home .bb-services .icon-box-title { font-size: 1.5rem; font-weight: 800; color: var(--bb-ink); margin-bottom: 2px; }
main.home .bb-services .icon-box p { color: var(--bb-muted); font-size: 1.3rem; }
@media (max-width: 767px) {        /* phones: icon beside the words, not stacked */
    main.home .bb-services .icon-box { flex-direction: row; align-items: center; justify-content: flex-start; text-align: left; padding: 16px 20px; }
    main.home .bb-services .icon-box-content { text-align: left; }
    main.home .bb-services .icon-box-icon { margin: 0 14px 0 0 !important; }
}
@media (min-width: 768px) {
    main.home .bb-services .owl-item + .owl-item .icon-box::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--bb-line); }
}

/* shop by category (2026-11-19, owner: "small clean look"): compact white cards in one row, a small square photo
   beside the name; the arrow slides in on hover. 3 per row on tablets, 2 on phones (no swipe). */
main.home .bb-cats { padding-top: var(--bb-sec); }
main.home .bb-cats .title-wrapper { margin-bottom: 22px !important; }
main.home .bb-cats .title.title-underline { font-size: clamp(1.8rem, 2vw, 2.2rem); letter-spacing: -.01em; }   /* same size as the Daily Needs / Cakes / Cookies tabs */
main.home .bb-cats-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
main.home .bb-cat { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; background: #fff; border: 1px solid var(--bb-line);
    border-radius: var(--bb-r) !important; box-shadow: none; color: var(--bb-ink); text-decoration: none;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
main.home .bb-cat-pic { flex: none; display: block; width: 52px; height: 52px; overflow: hidden; border-radius: var(--bb-r-sm); background: #eef1ee; }
main.home .bb-cat-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2, .8, .25, 1); }
main.home .bb-cat-name { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 6px;
    font-size: 1.4rem; font-weight: 700; line-height: 1.25; }
main.home .bb-cat-name i { flex: none; color: var(--bb-green); font-size: 1.2rem; opacity: 0; transform: translateX(-4px); transition: opacity .25s ease, transform .25s ease; }
main.home .bb-cat:hover, main.home .bb-cat:focus-visible { border-color: #cfe6d5; transform: translateY(-2px); box-shadow: 0 2px 6px rgba(20, 50, 30, .06), 0 8px 24px rgba(20, 50, 30, .07); }
main.home .bb-cat:hover .bb-cat-pic img { transform: scale(1.08); }
main.home .bb-cat:hover .bb-cat-name, main.home .bb-cat:focus-visible .bb-cat-name { color: var(--bb-green-dark); }
main.home .bb-cat:hover .bb-cat-name i, main.home .bb-cat:focus-visible .bb-cat-name i { opacity: 1; transform: none; }
@media (max-width: 1199px) { main.home .bb-cat-name i { display: none; } }
@media (max-width: 991px) { main.home .bb-cats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575px) {
    main.home .bb-cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    main.home .bb-cat { gap: 10px; padding: 6px 10px 6px 6px; }
    main.home .bb-cat-pic { width: 44px; height: 44px; }
    main.home .bb-cat-name { font-size: 1.3rem; }
}

/* tinted bands: the daily shelves and the three small menus */
main.home .bb-band { background: var(--bb-green-soft); border-top: 1px solid #d6ecdc; border-bottom: 1px solid #d6ecdc; margin-top: var(--bb-sec); padding: 64px 0; }
@media (max-width: 767px) { main.home .bb-band { padding: 44px 0; } }
/* the compact category row sits closer to the shelves below it (owner, 2026-11-19) */
main.home .bb-cats + .bb-shelves { margin-top: 48px; }
@media (max-width: 767px) { main.home .bb-cats + .bb-shelves { margin-top: 32px; } }

/* Daily Needs / Cakes / Cookies: the tabs are the section head, left-aligned on a hairline */
main.home .bb-shelves-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-bottom: 1px solid #cfe3d5; }
main.home .bb-shelves .nav-tabs { flex: 0 1 auto; min-width: 0; justify-content: flex-start; border-bottom: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
main.home .bb-shelves .bb-shelves-all { flex: none; padding-bottom: 14px; white-space: nowrap; }      /* View All, top right (2026-11-30, owner); looks like the cake row's */
main.home .bb-shelves .tab-nav-simple .nav-link {
    font-size: clamp(1.8rem, 2vw, 2.2rem); letter-spacing: -.01em; padding: 0 0 12px; margin: 0 32px -1px 0;
    color: var(--bb-muted); border-bottom: 4px solid transparent; white-space: nowrap;
}
main.home .bb-shelves .tab-nav-simple .nav-link:hover { color: var(--bb-green-dark); }
main.home .bb-shelves .tab-nav-simple .nav-link { position: relative; border-bottom-color: transparent !important; }
main.home .bb-shelves .tab-nav-simple .nav-link.active { color: var(--bb-ink); }
main.home .bb-shelves .tab-nav-simple .nav-link::after {            /* the 4px underline as a bar, so the link's rounded corners never curl it */
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--bb-green);
    transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2, .8, .25, 1);
}
main.home .bb-shelves .tab-nav-simple .nav-link.active::after { transform: scaleX(1); }
main.home .bb-shelves .tab-content { padding-top: 30px; }
@media (max-width: 575px) {      /* all three tabs and View All fit on one line */
    main.home .bb-shelves-head { gap: 10px; }
    main.home .bb-shelves .tab-nav-simple .nav-link { margin-right: 14px; font-size: 1.5rem; }
    main.home .bb-shelves .nav-item:last-child .nav-link { margin-right: 0; }
    main.home .bb-shelves .bb-shelves-all { gap: 5px; padding-bottom: 12px; font-size: 1.3rem; }
}

/* "Made your way" bento cards, as in UI v1 (restored 2026-11-19, owner): wide first card, two half cards, a wide tinted last card */
.bb-bento { padding: 36px 0 40px; }
.bb-bento .title-wrapper { margin-bottom: 26px !important; }
.bb-bento-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.bb-bento-card {
    display: flex; background: var(--bb-card); border-radius: var(--bb-r-lg); overflow: hidden; color: var(--bb-ink);
    box-shadow: var(--bb-shadow); transition: transform .25s ease, box-shadow .25s ease; text-decoration: none !important;
}
.bb-bento-card:hover { transform: translateY(-4px); box-shadow: var(--bb-shadow-hover); }
.bb-bento-pic { margin: 0; overflow: hidden; background: #e3e1de; }
.bb-bento-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.bb-bento-card:hover .bb-bento-pic img { transform: scale(1.05); }
.bb-bento-text { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 22px 24px; }
.bb-bento-text h3 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--bb-ink); }
.bb-bento-text p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--bb-muted); }
.bb-bento-link { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--bb-action); }
.bb-bento-link i { font-style: normal; display: inline-block; transition: transform .2s ease; }
.bb-bento-card:hover .bb-bento-link i { transform: translateX(4px); }
/* 1: wide, text left and picture right */
.bb-bento-1 { grid-column: 1 / -1; flex-direction: row; }
.bb-bento-1 .bb-bento-text { flex: 0 0 38%; }
.bb-bento-1 .bb-bento-pic { flex: 1; min-height: 220px; margin: 12px 12px 12px 0; border-radius: 12px; }
/* 2 and 3: picture on top, text below */
.bb-bento-2, .bb-bento-3 { flex-direction: column; }
.bb-bento-2 .bb-bento-pic, .bb-bento-3 .bb-bento-pic { height: 190px; margin: 10px 10px 0; border-radius: 12px; }
/* 4: wide, tinted, picture left and text right */
.bb-bento-4 { grid-column: 1 / -1; flex-direction: row; background: var(--bb-green-soft); box-shadow: none; }
.bb-bento-4 .bb-bento-pic { flex: 0 0 58%; min-height: 220px; margin: 12px; border-radius: 12px; }
.bb-bento-4 .bb-bento-text { flex: 1; }
@media (max-width: 767px) {
    .bb-bento-grid { grid-template-columns: 1fr; gap: 14px; }
    .bb-bento-1, .bb-bento-4 { flex-direction: column; }
    .bb-bento-1 .bb-bento-pic, .bb-bento-4 .bb-bento-pic { flex: none; height: 170px; min-height: 0; margin: 10px 10px 0; }
    .bb-bento-1 .bb-bento-text { order: 2; flex: none; }
    .bb-bento-4 .bb-bento-text { flex: none; }
}

/* Best Selling Customized Cake: see the "clean row" block at the end at the end of the file */
main.home .bb-custom { padding-top: var(--bb-sec); }

/* Quick Bites / Tart & Muffin / Desserts: three white panels, the products as rows split by hairlines */
main.home .bb-lists .row > [class*="col-"] { display: flex; }
main.home .bb-lists .widget-products { flex: 1; background: #fff; border: 1px solid #d6ecdc; border-radius: var(--bb-r-lg) !important; padding: 26px 22px 14px; margin: 0; }
main.home .bb-lists .widget-products > .title-wrapper { flex-wrap: nowrap; margin-bottom: 8px !important; }
main.home .bb-lists .widget-products .title-wrapper .title-wrapper { margin: 0 !important; }
main.home .bb-lists .widget-products .title.title-underline { font-size: 1.8rem; white-space: nowrap; }
main.home .bb-lists .widget-products .btn-link { padding: 0 0 10px; font-size: 1.3rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
main.home .bb-lists .widget-products .btn-link .d-icon-arrow-left { display: none; }
main.home .bb-lists .widget-products .btn-link::after { content: "\e97f"; font-family: 'riode'; font-size: 1.2rem; color: var(--bb-green); transition: transform .25s ease; }
main.home .bb-lists .widget-products .btn-link:hover::after { transform: translateX(3px); }
main.home .bb-lists .product-list-sm { position: relative; margin-top: 0 !important; padding: 16px 0; background: transparent; border: 0; box-shadow: none; }
main.home .bb-lists .product-list-sm + .product-list-sm::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--bb-line); }
main.home .bb-lists .product-list-sm:hover { transform: none; box-shadow: none; }
main.home .bb-lists .product-list-sm .product-media { border-radius: var(--bb-r-sm); }
main.home .bb-lists .product-list-sm .product-action { flex-wrap: wrap; gap: 8px; }
main.home .bb-lists .product-list-sm .product-action .btn-product { flex: 1 1 100%; width: 100%; justify-content: center; padding: .85em 1em !important; font-size: 1.15rem !important; letter-spacing: .04em; min-height: 38px; }
@media (max-width: 991px) {        /* one panel under another: three across ran off the side of a tablet (2026-11-30) */
    main.home .bb-lists .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; margin-bottom: 16px !important; }
    main.home .bb-lists .row > [class*="col-"]:last-child { margin-bottom: 0 !important; }
    main.home .bb-lists .widget-products { min-width: 0; }      /* or the panel is wider than a narrow phone and the page scrolls sideways */
}

/* store (2026-11-19, owner picked "cinematic full photo"): the store photo fills a wide panel; a deep-green fade on the
   left carries the title, the hours and the light button; a frosted bar along the foot holds the live status and the
   link to all locations. The photo settles from a slight zoom and the words rise in once (not for "reduce motion"). */
main.home .bb-cine { padding-top: var(--bb-sec); padding-bottom: var(--bb-sec); }
main.home .bb-cine-frame { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 560px;
    overflow: hidden; border-radius: var(--bb-r-lg); background: #1d2a22; color: #fff; isolation: isolate; }
main.home .bb-cine-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.8s cubic-bezier(.16, 1, .3, 1); }
main.home .bb-cine-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 54, 36, .96) 0%, rgba(0, 60, 40, .86) 30%, rgba(6, 40, 28, .42) 58%, rgba(6, 40, 28, 0) 78%),
                linear-gradient(0deg, rgba(4, 30, 21, .55) 0%, rgba(4, 30, 21, 0) 30%); }
main.home .bb-cine-copy { display: flex; flex-direction: column; align-items: flex-start; max-width: 520px; padding: 64px 56px 32px; }
main.home .bb-cine-title { position: relative; margin: 0 0 30px; padding-bottom: 18px; color: #fff; font-size: clamp(2.8rem, 3.2vw, 4.2rem);
    font-weight: 800; line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
main.home .bb-cine-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 2px; background: var(--bb-green); }
main.home .bb-cine-hours { margin: 0 0 32px; }
main.home .bb-cine-label { display: inline-flex; align-items: center; gap: 10px; color: #b8e4c4; font-size: clamp(1.7rem, 1.6vw, 2rem); font-weight: 600; letter-spacing: .01em; }
main.home .bb-cine-label i { font-size: clamp(2.1rem, 2vw, 2.4rem); color: var(--bb-green); }
main.home .bb-cine-times { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; color: #fff;
    font-size: clamp(2.6rem, 2.6vw, 3.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
main.home .bb-cine-dash { display: block; width: 24px; height: 3px; border-radius: 2px; background: var(--bb-green); }
main.home .bb-cine-btn { margin: 0; background: #fff; border: 0; color: var(--bb-green-dark); border-radius: var(--bb-r-sm) !important; padding: 1.3em 2em;
    transition: background-color .25s ease, color .25s ease; }
main.home .bb-cine-btn i { margin-left: .8rem; transition: transform .25s ease; }
main.home .bb-cine-btn:hover, main.home .bb-cine-btn:focus-visible { background: var(--bb-action); color: #fff; }
main.home .bb-cine-btn:hover i { transform: translateX(4px); }
main.home .bb-cine-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

main.home .bb-cine-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin: 0 20px 20px; padding: 14px 16px 14px 22px;
    border-radius: var(--bb-r); border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
main.home .bb-cine-status { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: #fff; font-size: 1.45rem; font-weight: 600; }
main.home .bb-cine-status[hidden] { display: none; }
main.home .bb-cine-status svg { flex: none; fill: #6fd08b; }
main.home .bb-cine-status svg circle { animation: bb-cine-pulse 2.4s ease-in-out infinite; }
main.home .bb-cine-status.is-closed svg { fill: #c9d1cb; }
main.home .bb-cine-status.is-closed svg circle { animation: none; }
@keyframes bb-cine-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
main.home .bb-cine-places { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; padding: 10px 14px; border-radius: var(--bb-r-sm);
    color: #fff; font-size: 1.4rem; font-weight: 700; text-decoration: none; transition: background-color .25s ease; }
main.home .bb-cine-places i:first-child { color: #6fd08b; font-size: 1.8rem; }
main.home .bb-cine-places i:last-child { transition: transform .25s ease; }
main.home .bb-cine-places:hover, main.home .bb-cine-places:focus-visible { background: rgba(255, 255, 255, .14); color: #fff; }
main.home .bb-cine-places:hover i:last-child { transform: translateX(4px); }
main.home .bb-cine-places:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

main.home .bb-cine-frame.is-armed .bb-cine-img { transform: scale(1.08); }
main.home .bb-cine-frame.is-armed .bb-cine-copy > *, main.home .bb-cine-frame.is-armed .bb-cine-bar { opacity: 0; transform: translateY(18px);
    transition: opacity .8s ease, transform .9s cubic-bezier(.16, 1, .3, 1); }
main.home .bb-cine-frame.is-in .bb-cine-img { transform: scale(1); }
main.home .bb-cine-frame.is-in .bb-cine-copy > *, main.home .bb-cine-frame.is-in .bb-cine-bar { opacity: 1; transform: none; }
main.home .bb-cine-frame.is-in .bb-cine-copy > :nth-child(2) { transition-delay: .1s; }
main.home .bb-cine-frame.is-in .bb-cine-copy > :nth-child(3) { transition-delay: .2s; }
main.home .bb-cine-frame.is-in .bb-cine-bar { transition-delay: .32s; }

@media (max-width: 991px) {
    main.home .bb-cine-copy { padding: 48px 40px 28px; }
}
@media (max-width: 767px) {      /* the fade comes up from the foot; the words sit at the bottom over it */
    main.home .bb-cine-frame { justify-content: flex-end; min-height: 600px; }
    main.home .bb-cine-frame::before { background: linear-gradient(0deg, rgba(0, 54, 36, .97) 0%, rgba(0, 60, 40, .88) 45%, rgba(6, 40, 28, .2) 72%, rgba(6, 40, 28, 0) 88%); }
    main.home .bb-cine-copy { max-width: none; padding: 0 22px 22px; }
    main.home .bb-cine-title { margin-bottom: 22px; }
    main.home .bb-cine-hours { margin-bottom: 24px; }
    main.home .bb-cine-btn { width: 100%; text-align: center; }
    main.home .bb-cine-bar { margin: 0 12px 12px; padding: 10px 10px 10px 16px; }
}
@media (max-width: 575px) {
    main.home .bb-cine-frame { border-radius: var(--bb-r); }
    main.home .bb-cine-bar { flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; }
    main.home .bb-cine-places { margin-left: 0; justify-content: space-between; padding: 10px 4px 2px; }
    main.home .bb-cine-places i:last-child { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
    main.home .bb-cine-img { transition: none; }
    main.home .bb-cine-status svg circle { animation: none; }
}

/* V5 finish-review fixes */
/* customized cakes: the cake cards run the full height of the intro panel, so the row ends on one line */
/* keyboard focus mirrors the hover lift */
main.home .bb-cat:focus-visible, main.home .bb-bento-card:focus-visible, .bb-wall-item:focus-visible { outline: 2px solid var(--bb-green); outline-offset: 3px; }
main.home .bb-cat:focus-visible { outline: 2px solid var(--bb-green); outline-offset: 2px; }
main.home .bb-bento-card:focus-visible { transform: translateY(-4px); box-shadow: var(--bb-shadow-hover); }
.bb-wall-item:focus-visible { transform: translateY(-4px); box-shadow: var(--bb-shadow-hover); }   /* Our Gallery page */
/* small desktops and tablets: the counter and the cart button each get their own line */
@media (min-width: 768px) and (max-width: 1199px) {
    main.home .bb-shelves .product-action { flex-wrap: wrap; gap: 8px; }
    main.home .bb-shelves .product-action .btn-product { flex: 1 1 100%; width: 100%; justify-content: center; }
}
/* small desktops: the three menu panels are narrow, so the photos keep a fixed width and the tag one line */
@media (min-width: 768px) and (max-width: 1199px) {
    main.home .bb-lists .product-list-sm .product-media { flex: 0 0 112px; max-width: 112px; width: 112px; }
    main.home .bb-lists .product-list-sm .product-media > p { left: 6px; right: 6px; bottom: 6px; padding: 3px 6px; font-size: .95rem !important; white-space: nowrap; text-align: center; }
}

/* from "Made your way" down, the sections sit a little closer together (owner, 2026-11-19):
   56 px between them on desktop (was 88), 40 px on phones (was 56) */
main.home { --bb-sec-tight: 40px; }
@media (max-width: 767px) { main.home { --bb-sec-tight: 40px; } }
main.home .bb-bento, main.home .bb-cine { padding-top: var(--bb-sec-tight); }
main.home .bb-band.bb-lists { margin-top: var(--bb-sec-tight); }

/* "Best Selling Customized Cake": the space above it (after "Made your way"), on its own so it can change alone */
main.home .bb-custom { padding-top: 150px; }                                          /* desktop */
@media (max-width: 767px) { main.home .bb-custom { padding-top: 40px; } }            /* phones */

/* "Made your way" (owner, 2026-11-19): heading the same size as Shop by category and the Daily Needs / Cakes / Cookies tabs */
main.home .bb-bento .title.title-underline { font-size: clamp(1.8rem, 2vw, 2.2rem); letter-spacing: -.01em; }
/* on scroll: the heading, then each card appears one by one as it comes into view (--d staggers cards that enter
   together); the photo settles from a slight zoom and the words follow. .is-done drops the effect so hover is instant */
main.home .bb-bento.is-armed .title-wrapper:not(.is-done),
main.home .bb-bento.is-armed .bb-bento-card:not(.is-done) { opacity: 0; transform: translateY(48px) scale(.97);
    transition: opacity .8s ease, transform 1s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); }
main.home .bb-bento.is-armed .bb-bento-card:not(.is-done) .bb-bento-pic img { transform: scale(1.14);
    transition: transform 1.6s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); }
main.home .bb-bento.is-armed .bb-bento-card:not(.is-done) .bb-bento-text > * { opacity: 0; transform: translateY(14px);
    transition: opacity .6s ease, transform .7s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--d, 0s) + .25s); }
main.home .bb-bento.is-armed .bb-bento-card:not(.is-done) .bb-bento-text > :nth-child(2) { transition-delay: calc(var(--d, 0s) + .33s); }
main.home .bb-bento.is-armed .bb-bento-card:not(.is-done) .bb-bento-text > :nth-child(3) { transition-delay: calc(var(--d, 0s) + .41s); }
main.home .bb-bento.is-armed .bb-bento-card:not(.is-done) .bb-bento-text > :nth-child(4) { transition-delay: calc(var(--d, 0s) + .49s); }
main.home .bb-bento.is-armed .is-in:not(.is-done),
main.home .bb-bento.is-armed .bb-bento-card.is-in:not(.is-done) .bb-bento-text > * { opacity: 1; transform: none; }
main.home .bb-bento.is-armed .bb-bento-card.is-in:not(.is-done) .bb-bento-pic img { transform: scale(1); }

/* Best Selling Customized Cake (owner: "simple clean modern layout with animation", 2026-11-22): standard head, then
   four cakes in a clean row with no card boxes: rounded 4:5 photo with the delivery tag on it, name, outlined Order Now. */
main.home .bb-cakes-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
main.home .bb-cakes .title.title-underline { display: inline-block; font-size: clamp(1.8rem, 2vw, 2.2rem); letter-spacing: -.01em; }   /* inline-block: the underline ends with the words, not the lead below */
main.home .bb-cakes-head p { margin: 14px 0 0; max-width: 52ch; color: var(--bb-muted); font-size: 1.5rem; line-height: 1.6; }
main.home .bb-cakes-all { display: inline-flex; align-items: center; gap: 8px; padding: 8px 2px; color: var(--bb-green-dark); font-size: 1.4rem; font-weight: 700; text-decoration: none; }
main.home .bb-cakes-all i { transition: transform .25s ease; }
main.home .bb-cakes-all:hover { color: var(--bb-action); }
main.home .bb-cakes-all:hover i { transform: translateX(4px); }

main.home .bb-cakes-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
main.home .bb-cakes-item { display: flex; flex-direction: column; gap: 16px; color: var(--bb-ink); text-decoration: none !important; }
main.home .bb-cakes-pic { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--bb-r); background: #e3e1de; }
main.home .bb-cakes-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
main.home .bb-cakes-item:hover .bb-cakes-pic img { transform: scale(1.06); }
main.home .bb-cakes-text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
main.home .bb-cakes-when { position: absolute; left: 10px; bottom: 10px; z-index: 1; padding: 4px 11px; border-radius: 6px; background: #5e8167; color: #fff;
    font-size: 1.05rem; font-weight: 400; letter-spacing: .03em; line-height: 1.5; }      /* same tag as the shelves */
main.home .bb-cakes-when.is-same { background: var(--bb-green); }
main.home .bb-cakes-name { font-size: 1.7rem; font-weight: 700; line-height: 1.3; text-wrap: balance; transition: color .25s ease; }
main.home .bb-cakes-item:hover .bb-cakes-name { color: var(--bb-green-dark); }
main.home .bb-cakes-order { margin-top: 8px; padding: .85em 1.6em; border: 1.5px solid var(--bb-green); border-radius: var(--bb-r-sm); color: var(--bb-green-dark);
    font-size: 1.15rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; transition: background-color .25s ease, color .25s ease; }
main.home .bb-cakes-item:hover .bb-cakes-order { background: var(--bb-action); color: #fff; }
main.home .bb-cakes-item:focus-visible, main.home .bb-cakes-all:focus-visible { outline: 2px solid var(--bb-green); outline-offset: 4px; border-radius: var(--bb-r); }

/* the one moment: each photo wipes up into view, one after another, and its words follow */
main.home .bb-cakes.is-armed .bb-cakes-pic { clip-path: inset(100% 0 0 0 round var(--bb-r));
    transition: clip-path 1s cubic-bezier(.65, 0, .35, 1) calc(var(--i, 0) * .12s); }
main.home .bb-cakes.is-armed .bb-cakes-pic img { transform: scale(1.15); transition: transform 1.4s cubic-bezier(.16, 1, .3, 1) calc(var(--i, 0) * .12s); }
main.home .bb-cakes.is-armed .bb-cakes-text { opacity: 0; transform: translateY(14px);
    transition: opacity .6s ease calc(.45s + var(--i, 0) * .12s), transform .8s cubic-bezier(.16, 1, .3, 1) calc(.45s + var(--i, 0) * .12s); }
main.home .bb-cakes.is-in .bb-cakes-pic { clip-path: inset(0 0 0 0 round var(--bb-r)); }
main.home .bb-cakes.is-in .bb-cakes-pic img { transform: scale(1); }
main.home .bb-cakes.is-in .bb-cakes-text { opacity: 1; transform: none; }

@media (max-width: 991px) {
    main.home .bb-cakes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
}
@media (max-width: 575px) {
    main.home .bb-cakes-head { margin-bottom: 22px; }
    main.home .bb-cakes-grid { gap: 22px 12px; }
    main.home .bb-cakes-item { gap: 12px; }
    main.home .bb-cakes-name { font-size: 1.45rem; }
    main.home .bb-cakes-order { align-self: stretch; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    main.home .bb-cakes-pic img, main.home .bb-cakes-name, main.home .bb-cakes-order { transition: none; }
    main.home .bb-cakes-item:hover .bb-cakes-pic img { transform: none; }
}

/* delivery tags on product photos (owner, 2026-11-22: "make it more visible to every image"): the live light green
   (#4dae67, 2.8:1 with white) and sage (#5e8167) were hard to read on pale or busy photos. Every tag, site-wide, now
   uses a deeper shade of the same two greens (white text above 4.5:1) and a soft shadow on the text only (owner
   asked for no ring or shadow around the tag). Matched by the inline colour the templates and productsmt.js write (hex or rgb form), so no
   markup or script changes. */
p[style*="#4DAE67" i], p[style*="77, 174, 103"],
p[style*="#5e8167" i], p[style*="94, 129, 103"],
main.home .bb-cakes-when {
    background: #4a6a52 !important; color: #fff !important; box-shadow: none;
    font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
p[style*="#4DAE67" i], p[style*="77, 174, 103"],
main.home .bb-cakes-when.is-same { background: var(--bb-action) !important; }

/* filled buttons and active states from the Riode theme (demo-food.min.css) that put white text on the light green:
   the same deeper green, so their text reads clearly (owner, 2026-11-22). modern.css loads after the theme, so equal
   selectors win without !important and the theme's own state order is kept. */
.owl-theme .owl-nav .owl-prev:not(.disabled):hover,
.owl-theme .owl-nav .owl-next:not(.disabled):hover,
.social-link:hover,
.tab-nav-solid .nav-item.show .nav-link,
.tab-nav-solid .nav-item .nav-link.active,
.tab-nav-solid .nav-item:hover .nav-link,
.btn-primary,
.btn-primary.btn-solid:hover,
.btn-primary.btn-solid:active,
.btn-primary.btn-solid:focus,
.btn-primary.btn-outline:hover,
.btn-primary.btn-outline:active,
.btn-primary.btn-outline:focus,
.btn-white:hover,
.btn-white:active,
.btn-white:focus,
.btn-product-icon:hover,
.btn-product,
.product.cart-full .btn-cart:hover,
.product.cart-full .btn-cart:focus,
.product.cart-full .btn-cart:active,
.product.product-with-qty .product-details .btn-cart:hover,
.product.product-with-qty .product-details .btn-cart:focus,
.product.product-with-qty .product-details .btn-cart:active,
.product.product-with-qty button:hover,
.product-form .btn-cart {
    background-color: var(--bb-action); border-color: var(--bb-action);
}

/* Quick Bites / Tart & Muffin / Desserts rows (owner, 2026-11-22): a slightly bigger photo, a smaller delivery tag that
   fits inside it on one line, and the Add to cart label centred in its button (it sat low). */
main.home .bb-lists .product-list-sm .product-media > p { left: 6px; right: 6px; bottom: 6px; padding: 3px 6px; font-size: 1rem !important; line-height: 1.5;
    letter-spacing: .01em; white-space: nowrap; text-align: center; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 479px) {        /* phones: leave room for the name and the cart button */
    main.home .bb-lists .widget-products { padding-left: 16px; padding-right: 16px; }
    main.home .bb-lists .product-list-sm .product-media { flex: 0 0 124px; max-width: 124px; width: 124px; }
    main.home .bb-lists .product-list-sm .product-details { padding-right: 0; }
    main.home .bb-lists .product-list-sm .product-price { flex-wrap: wrap; overflow: visible; white-space: normal; }   /* the old price goes under the new one */
}
@media (min-width: 576px) and (max-width: 991px) {        /* one wide panel: not a button the width of the page */
    main.home .bb-lists .product-list-sm .product-action .btn-product { flex: 0 1 240px; }
    main.home .bb-lists .product-list-sm .product-action .product-quantity { flex: 1 0 100%; justify-content: flex-start; }
}
@media (min-width: 1200px) {
    main.home .bb-lists .product-list-sm .product-media { flex: 0 0 164px; max-width: 164px; width: 164px; }   /* was 150px */
}
main.home .bb-lists .product-list-sm .product-action .btn-product { display: inline-flex !important; align-items: center !important; justify-content: center;
    height: 40px; min-height: 40px; padding: 0 1em !important; line-height: 1 !important; }
main.home .bb-lists .product-list-sm .product-action .btn-product span { display: block; line-height: 1; margin: 0; padding: 0; }

/* Every Add to cart button, site-wide (owner, 2026-11-22 "too much green" for the home lists; all of them from 2026-11-24):
   outlined on white, green border and text, filling green on hover. Product cards (incl. search results and the gift box
   "Add to Box"), the regular and custom product pages and Cake Studio. "Order Now" (.btn-order) stays filled. */
.product .product-action .btn-product.btn-cart,
.product:hover .product-action .btn-product.btn-cart,
.product.cart-full .btn-cart,
.product.product-with-qty .product-details .btn-cart,
.product-single .btn-cart, .product-single .btn-product.btn-cart, .product-form .btn-cart,
.single-product-page .custom-popup,
.btn-cart-cake {
    background: #fff !important; border: 1.5px solid var(--bb-action) !important; color: var(--bb-action) !important; box-shadow: none !important;
    transition: background-color .2s ease, color .2s ease;
}
.product .product-action .btn-product.btn-cart:hover, .product .product-action .btn-product.btn-cart:focus-visible,
.product.cart-full .btn-cart:hover, .product.cart-full .btn-cart:focus, .product.cart-full .btn-cart:active,
.product.product-with-qty .product-details .btn-cart:hover, .product.product-with-qty .product-details .btn-cart:focus, .product.product-with-qty .product-details .btn-cart:active,
.product-single .btn-cart:hover, .product-single .btn-cart:focus-visible, .product-form .btn-cart:hover, .product-form .btn-cart:focus-visible,
.single-product-page .custom-popup:hover:not(:disabled), .single-product-page .custom-popup:focus-visible,
.btn-cart-cake:hover, .btn-cart-cake:focus-visible { background: var(--bb-action) !important; border-color: var(--bb-action) !important; color: #fff !important; }
.product-single .btn-cart i, .single-product-page .custom-popup i, .btn-cart-cake i { color: inherit !important; }
/* card buttons: the label centred in a 40px button (the theme set it low in a 44px one) */
.product .product-action .btn-product.btn-cart { display: inline-flex !important; align-items: center !important; justify-content: center;
    height: 40px; min-height: 40px; padding: 0 1.4em !important; line-height: 1 !important; }
.product .product-action .btn-product.btn-cart span { display: block; line-height: 1; margin: 0; padding: 0; }
/* phones and tablets: the cart button gets its own full-width line under the quantity or weight; beside it, the label was cut off
   (2026-11-30). Up to 479px the theme also squeezes every card .btn-cart to 4.2rem (its icon-only button): undone here
   for Add to cart and Order Now, and for the small home lists and the gift box builder, which keep their own layout. */
@media (max-width: 991px) {
    .product.product-with-qty:not(.product-list-sm, .bb-gb-products *) .product-action { flex-wrap: wrap; gap: 10px; padding: 0 10px; }   /* clear of the card's edges */
    .product.product-with-qty:not(.product-list-sm, .bb-gb-products *) .product-action .product-quantity { margin: 0; }
    .product.product-with-qty:not(.product-list-sm, .bb-gb-products *) .product-action :is(.btn-product, .btn-order) {
        flex: 1 1 100%; width: 100%; max-width: none; padding: 0 .4em !important; white-space: nowrap;
    }
    .product.product-with-qty:not(.product-list-sm, .bb-gb-products *) .product-action :is(.btn-product, .btn-order) i { display: none; }   /* as on desktop; the theme shows the bag on phones */
    main.home .bb-lists .product-list-sm .product-action .btn-product,
    main.bb-gb .bb-gb-products .product-action .btn-product { max-width: none; padding: 0 .4em !important; white-space: nowrap; }
    main.home .bb-lists .product-list-sm .product-action .btn-product i,
    main.bb-gb .bb-gb-products .product-action .btn-product i { display: none; }
}
/* very narrow phones: the delivery tag stays on one line, clear of the heart */
@media (max-width: 359px) {
    .product.product-with-qty:not(.product-list-sm) .product-media > p { left: 6px; bottom: 6px; padding: 3px 6px !important; font-size: 1rem !important; white-space: nowrap; }
}

/* =====================================================================
   CUSTOM GIFT BOX (2026-11-23, owner picked "builder layout"): the three steps (Box, Add Items, Add to Cart)
   in the home page's world: the home section head, a step bar, white 18px cards and panels flat at rest, and a
   frosted action bar along the foot. Step 2 is a builder: products left, a sticky "Your box" panel right with
   the box photo, the chosen items, the discount and the total. The page scripts and their ids are unchanged;
   the summary rows they write are laid out here.
   ===================================================================== */
main.bb-gb { --bb-r-lg: 18px; }
main.bb-gb .bb-gb-page { padding: 40px 0 0; }

/* steps: markers with 8px corners joined by a line that turns green behind a finished step */
main.bb-gb .bb-gb-steps { display: flex; align-items: center; list-style: none; margin: 0 0 44px; padding: 0; }
main.bb-gb .bb-gb-steps li { display: flex; align-items: center; gap: 12px; flex: 1 1 0; min-width: 0; color: var(--bb-muted); font-size: 1.4rem; font-weight: 600; }
main.bb-gb .bb-gb-steps li:last-child { flex: 0 0 auto; }
main.bb-gb .bb-gb-steps li:not(:last-child)::after { content: ""; flex: 1; height: 2px; margin: 0 18px; border-radius: 2px; background: #dfe5df; }
main.bb-gb .bb-gb-steps li.is-done::after { background: var(--bb-green); }
main.bb-gb .bb-gb-step-dot {
    flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid #cfd6cf; border-radius: 8px;
    background: #fff; font-size: 1.4rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
main.bb-gb .bb-gb-step-dot svg { width: 16px; height: 16px; }
main.bb-gb .bb-gb-steps li.is-done { color: var(--bb-green-dark); }
main.bb-gb .bb-gb-steps li.is-done .bb-gb-step-dot { background: var(--bb-action); border-color: var(--bb-action); color: #fff; }
main.bb-gb .bb-gb-steps li.is-current { color: var(--bb-ink); font-weight: 800; }
main.bb-gb .bb-gb-steps li.is-current .bb-gb-step-dot { border-color: var(--bb-green-dark); color: var(--bb-green-dark); }
main.bb-gb .bb-gb-step-name { white-space: nowrap; }

/* the home section head */
main.bb-gb .bb-gb-head { margin-bottom: 30px; }
main.bb-gb .bb-gb-head .title.title-underline {
    display: inline-block; margin: 0; padding-bottom: 10px; font-size: clamp(2.1rem, 2.4vw, 2.7rem); line-height: 1.15; letter-spacing: -.015em; text-wrap: balance;
}
main.bb-gb .bb-gb-lead { margin: 16px 0 0; max-width: 64ch; color: var(--bb-muted); font-size: 1.5rem; line-height: 1.6; }
main.bb-gb .bb-gb-lead p { margin: 0 0 .5em; }
main.bb-gb .bb-gb-lead p:last-child { margin-bottom: 0; }
main.bb-gb .bb-gb-lead strong, main.bb-gb .bb-gb-lead b { color: var(--bb-ink); }

/* step 1: the boxes are big choice cards; the chosen one turns mint with a green edge and a tick */
main.bb-gb .bb-gb-boxes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
main.bb-gb .bb-gb-box { position: relative; }
main.bb-gb .bb-gb-box input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
main.bb-gb .bb-gb-box input ~ label::before, main.bb-gb .bb-gb-box input ~ label::after { display: none !important; }
main.bb-gb .bb-gb-box label {
    position: relative; display: flex; flex-direction: column; height: 100%; margin: 0; padding: 10px 10px 20px; cursor: pointer;
    background: #fff; border: 1px solid var(--bb-line); border-radius: var(--bb-r-lg);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease, background-color .25s ease;
}
main.bb-gb .bb-gb-box label:hover { border-color: #cfe6d5; box-shadow: var(--bb-shadow-hover); transform: translateY(-4px); }
main.bb-gb .bb-gb-box input:focus-visible + label { outline: 2px solid var(--bb-green); outline-offset: 3px; }
main.bb-gb .bb-gb-box input:checked + label { background: var(--bb-green-soft); border-color: var(--bb-green); box-shadow: inset 0 0 0 1px var(--bb-green); }
main.bb-gb .bb-gb-box-pic { position: relative; display: block; aspect-ratio: 300 / 338; overflow: hidden; border-radius: var(--bb-r); background: #eef0ec; }
main.bb-gb .bb-gb-box-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
main.bb-gb .bb-gb-box label:hover .bb-gb-box-pic img { transform: scale(1.05); }
main.bb-gb .bb-gb-box-pic .delivery_time {
    position: absolute; left: 10px; bottom: 10px; z-index: 1; width: auto; margin: 0; padding: 4px 11px; border-radius: 6px;
    font-size: 1.05rem; letter-spacing: .03em; line-height: 1.5; white-space: nowrap;
}
main.bb-gb .bb-gb-box-check {
    position: absolute; top: 20px; right: 20px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px;
    background: var(--bb-action); color: #fff; opacity: 0; transform: scale(.6);
    transition: opacity .2s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
main.bb-gb .bb-gb-box-check svg { width: 18px; height: 18px; }
main.bb-gb .bb-gb-box input:checked + label .bb-gb-box-check { opacity: 1; transform: none; }
main.bb-gb .bb-gb-box-name { margin: 16px 6px 4px; color: var(--bb-ink); font-size: 1.7rem; font-weight: 700; line-height: 1.3; text-wrap: balance; }
main.bb-gb .bb-gb-box-size { margin: 0 6px; color: var(--bb-green-dark); font-size: 1.4rem; font-weight: 700; }

main.bb-gb .bb-gb-empty { padding: 72px 24px; background: #fff; border: 1px solid var(--bb-line); border-radius: var(--bb-r-lg); text-align: center; }
main.bb-gb .bb-gb-empty p { margin: 0; color: var(--bb-danger); font-size: 1.8rem; font-weight: 700; }

/* step 2: the builder */
main.bb-gb .bb-gb-builder { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
main.bb-gb .bb-gb-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
main.bb-gb .bb-gb-products > .product { width: auto; max-width: none; margin: 0; padding: 0 0 16px; border-radius: var(--bb-r); }
main.bb-gb .bb-gb-products .product-details { padding-left: 12px; padding-right: 12px; }
/* "Gift Box Full" takes Add to Box's place: same 40px size, Oven Red (owner kept the red), the whole label shown
   (it was cut to "GIFT B…"). It stays clickable: a click shows the "box is full" notice. width: auto undoes the theme's
   24px for every button on these cards (its − / +), which squeezed this one beside the counter instead of wrapping. */
main.bb-gb .invisible-btn {
    display: inline-flex; align-items: center; justify-content: center; flex: 1 1 auto; width: auto; min-width: 0; height: 40px; margin: 0; padding: 0 1em;
    border: 1px solid var(--bb-danger); border-radius: var(--bb-r-sm); background: var(--bb-danger); color: #fff; cursor: pointer;
    font-family: inherit; font-size: 1.1rem; font-weight: 700; letter-spacing: .02em; line-height: 1; text-transform: uppercase; white-space: nowrap;
}
@media (min-width: 992px) { main.bb-gb .invisible-btn { max-width: 12.3rem; } }   /* as the theme caps Add to Box */
main.bb-gb .invisible-btn:hover { background: #a83226; border-color: #a83226; color: #fff; }
main.bb-gb .invisible-btn:focus-visible { outline: 2px solid var(--bb-green); outline-offset: 2px; }
/* the site-wide card button rule (display: inline-flex !important) beat .d-none, so Add to Box stayed on screen
   beside "Gift Box Full" once the box was full */
.product .product-action .btn-product.d-none, main.bb-gb .invisible-btn.d-none { display: none !important; }

/* top-right notice (owner 2026-11-25): one clean dark-red style for every message (the box just filled, the box is
   full, an add or change refused). Compact, no buttons but ×; slides in from the right and back out. Full width less
   16px on phones; closes by itself after 5 s (held while the pointer is on it).
   Just a touch of gloss (owner: "dont that much glossy"): dark red at 88% over a lightly blurred page, a faint sheen
   fading down, a barely-there light edge. Browsers without backdrop blur get a nearly solid red. */
main.bb-gb .bb-gb-notice-region { position: fixed; top: 16px; right: 16px; z-index: 10050; width: min(360px, calc(100vw - 32px)); pointer-events: none; }
main.bb-gb .bb-gb-notice {
    display: flex; align-items: center; gap: 12px; padding: 10px 8px 10px 14px; pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--bb-r-sm); color: #fff;
    background: linear-gradient(180deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 60%), rgba(142, 31, 23, .88);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 8px 24px rgba(60, 10, 6, .28);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    main.bb-gb .bb-gb-notice { background: linear-gradient(180deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 52%), rgba(142, 31, 23, .96); }
}
main.bb-gb .bb-gb-notice[hidden] { display: none; }
main.bb-gb .bb-gb-notice.is-in { animation: bb-gb-notice-in .45s cubic-bezier(.22, 1, .36, 1) both; }
main.bb-gb .bb-gb-notice.is-out { animation: bb-gb-notice-out .32s cubic-bezier(.55, 0, .75, .2) both; }
@keyframes bb-gb-notice-in { from { opacity: 0; transform: translateX(calc(100% + 16px)); } to { opacity: 1; transform: none; } }
@keyframes bb-gb-notice-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(calc(100% + 16px)); } }
main.bb-gb .bb-gb-notice-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: var(--bb-r-sm); background: rgba(255, 255, 255, .14); color: #fff; }
main.bb-gb .bb-gb-notice-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
main.bb-gb .bb-gb-notice-body { flex: 1 1 auto; min-width: 0; }
main.bb-gb .bb-gb-notice-body strong { display: block; color: #fff; font-size: 1.4rem; font-weight: 700; line-height: 1.3; }
main.bb-gb .bb-gb-notice-body p { margin: 1px 0 0; color: rgba(255, 255, 255, .85); font-size: 1.25rem; line-height: 1.4; }
main.bb-gb .bb-gb-notice-close {
    flex: none; align-self: flex-start; width: 26px; height: 26px; padding: 0; border: 0; border-radius: var(--bb-r-sm);
    background: none; color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; opacity: .75;
}
main.bb-gb .bb-gb-notice-close:hover { background: rgba(255, 255, 255, .14); opacity: 1; }
main.bb-gb .bb-gb-notice-close:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) { main.bb-gb .bb-gb-notice.is-in, main.bb-gb .bb-gb-notice.is-out, main.bb-gb .bb-gb-builder #summary > div:first-child img { animation: none; } }

/* the "Your box" panel: white, 18px, sticky beside the products */
/* the panel stands out from the page: a firmer green-grey edge, a green cap and the card shadow (owner) */
main.bb-gb .bb-gb-panel { position: sticky; top: 112px; padding: 22px 22px 24px; background: #fff; border: 1px solid #d3e2d6; border-top: 3px solid var(--bb-green); border-radius: var(--bb-r-lg); box-shadow: var(--bb-shadow); }
/* the panel is as tall as its rows, one row taller with each item (owner, 2026-12-01), but never taller than the
   window: past that the rows scroll inside it and the total stays in view */
main.bb-gb .bb-gb-builder .bb-gb-panel { display: flex; flex-direction: column; max-height: calc(100vh - 112px - 104px); }
main.bb-gb .bb-gb-builder #listOfProducts {
    flex: 0 1 auto; min-height: 0; margin-top: 10px; padding-bottom: 12px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #cfd6cf transparent;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 22px), transparent);
}
/* the photos are one row (owner, 2026-12-01: more rows left the list no room on laptops), always the same size so the
   gaps stay even as items go in; past the panel's width the row slides sideways */
main.bb-gb .bb-gb-builder #summary {
    flex: 0 0 auto; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 34px; gap: 6px; margin: 14px 0 0;
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none;
}
main.bb-gb .bb-gb-builder #summary::-webkit-scrollbar { display: none; }
main.bb-gb .bb-gb-panel-foot { flex: none; }
/* the row of the item that just went in */
main.bb-gb .bb-gb-builder #listOfProducts > .is-added { animation: bb-gb-added 2s ease-out; }
@keyframes bb-gb-added { 0%, 45% { background-color: #d5efdc; } }
/* step 2 shows only the items' thumbnails, no box photo (owner 2026-11-24): the first thumbnail is an ordinary one */
main.bb-gb .bb-gb-builder #summary:empty { display: none; }
main.bb-gb .bb-gb-builder #summary:empty + #listOfProducts > :first-child { border-top: 0; }   /* no line right under the meter */
main.bb-gb .bb-gb-builder #summary > div:first-child { grid-column: auto; }
main.bb-gb .bb-gb-builder #summary > div:first-child img { aspect-ratio: 1; border-radius: var(--bb-r-sm); animation: bb-gb-in .5s cubic-bezier(.16, 1, .3, 1) both; }
main.bb-gb .bb-gb-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
main.bb-gb .bb-gb-panel-head h3 { margin: 0; min-width: 0; color: var(--bb-ink); font-size: 2rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }   /* the box name: long ones wrap beside the count */
main.bb-gb .bb-gb-count { color: var(--bb-muted); font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .25s ease; }
main.bb-gb .bb-gb-count.is-ok { color: var(--bb-action); }
main.bb-gb .bb-gb-meter { flex: none; height: 6px; margin-top: 12px; overflow: hidden; border-radius: 6px; background: #e6ece6; }
main.bb-gb .bb-gb-meter span { display: block; width: 0; height: 100%; border-radius: 6px; background: #b9d9c2; transition: width .6s cubic-bezier(.16, 1, .3, 1), background-color .3s ease; }
main.bb-gb .bb-gb-meter.is-ok span { background: var(--bb-green); }

/* the photos the page script writes: the box large, the chosen items as small squares */
main.bb-gb #summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 16px 0 6px; }
main.bb-gb #summary > div { width: auto; max-width: none; flex: none; margin: 0 !important; padding: 0; }
main.bb-gb #summary > div:first-child { grid-column: 1 / -1; }
main.bb-gb #summary img {
    display: block; width: 100% !important; margin: 0; padding: 0; aspect-ratio: 1; object-fit: cover; border-radius: var(--bb-r-sm); background: #eef0ec;
    animation: bb-gb-in .5s cubic-bezier(.16, 1, .3, 1) both;
}
main.bb-gb #summary > div:first-child img { aspect-ratio: 16 / 10; border-radius: var(--bb-r); animation: none; }
@keyframes bb-gb-in { from { opacity: 0; transform: scale(.85); } }

/* the rows the page script writes: quantity x name, price, Remove beneath the name */
main.bb-gb #listOfProducts, main.bb-gb #giftDiscount { display: block; margin: 0; }
main.bb-gb #listOfProducts > div, main.bb-gb #giftDiscount > div { padding: 11px 0 !important; border-top: 1px solid var(--bb-line); }
main.bb-gb #listOfProducts .flex, main.bb-gb #giftDiscount .flex {
    display: grid !important; grid-template-columns: 2.6em minmax(0, 1fr) auto; column-gap: 10px; row-gap: 2px; align-items: baseline;
}
main.bb-gb #listOfProducts .flex > div, main.bb-gb #giftDiscount .flex > div { width: auto !important; margin: 0 !important; }
main.bb-gb #listOfProducts .flex > div:nth-child(1) { color: var(--bb-muted); font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
main.bb-gb #listOfProducts .flex > div:nth-child(1):not(:empty)::after { content: "\00d7"; margin-left: 1px; }
main.bb-gb #listOfProducts .flex > div:nth-child(2), main.bb-gb #giftDiscount .flex > div:nth-child(2) { color: var(--bb-ink); font-size: 1.4rem; font-weight: 600; line-height: 1.4; }
main.bb-gb #listOfProducts .flex > div:nth-child(3), main.bb-gb #giftDiscount .flex > div:nth-child(3) {
    color: var(--bb-ink); font-size: 1.4rem; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap;
}
main.bb-gb #listOfProducts .flex > div:nth-child(4) { grid-column: 2 / -1; }
main.bb-gb #listOfProducts .flex > div:nth-child(4):empty, main.bb-gb #giftDiscount .flex > div:nth-child(4) { display: none; }
main.bb-gb #giftDiscount .flex > div:nth-child(2) { color: var(--bb-muted); }
/* steps 2 and 3 (owner 2026-11-24): a serial number first, then name, quantity, price; Remove under the name.
   Done in CSS so the script's rows stay as they are: a counter numbers the item rows (id="list…", so a paid
   box's "Box" line isn't counted) and renumbers itself when one is removed; the grid moves quantity before price. */
main.bb-gb :is(.bb-gb-builder, .bb-gb-review) #listOfProducts { counter-reset: bb-gb-item; }
main.bb-gb :is(.bb-gb-builder, .bb-gb-review) #listOfProducts > div[id^="list"] { counter-increment: bb-gb-item; }
main.bb-gb :is(.bb-gb-builder, .bb-gb-review) #listOfProducts .flex { grid-template-columns: 1.8em minmax(0, 1fr) auto auto; }
main.bb-gb :is(.bb-gb-builder, .bb-gb-review) #listOfProducts > div[id^="list"] .flex::before {
    content: counter(bb-gb-item) "."; grid-column: 1; grid-row: 1;
    color: var(--bb-muted); font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
main.bb-gb :is(.bb-gb-builder, .bb-gb-review) #listOfProducts .flex > div:nth-child(2) { grid-column: 2; grid-row: 1; }
main.bb-gb :is(.bb-gb-builder, .bb-gb-review) #listOfProducts .flex > div:nth-child(1) { grid-column: 3; grid-row: 1; text-align: right; }
main.bb-gb :is(.bb-gb-builder, .bb-gb-review) #listOfProducts .flex > div:nth-child(3) { grid-column: 4; grid-row: 1; }
main.bb-gb :is(.bb-gb-builder, .bb-gb-review) #listOfProducts .flex > div:nth-child(4) { grid-column: 2 / -1; grid-row: 2; }
main.bb-gb :is(.bb-gb-builder, .bb-gb-review) #giftDiscount .flex { grid-template-columns: 1.8em minmax(0, 1fr) auto; }
/* step 2 (owner 2026-11-25): − quantity + in each row instead of "2×"; − stops at 1, + is off while the box is full */
main.bb-gb .bb-gb-builder #listOfProducts .flex > .bb-gb-qty { display: inline-flex; align-items: center; gap: 2px; align-self: center; }
main.bb-gb .bb-gb-builder #listOfProducts .flex > .bb-gb-qty::after { content: none; }
/* step 2: one short line per item, so as many as possible show at once (owner, 2026-12-01: "see all products all
   time"): number, name, − n +, price, and Remove as the cart's red cross (its text stays for screen readers) */
main.bb-gb .bb-gb-builder #listOfProducts > div { padding: 6px 0 !important; }
main.bb-gb .bb-gb-builder #listOfProducts .flex { grid-template-columns: 1.6em minmax(0, 1fr) auto auto 26px; column-gap: 7px; align-items: center; }
main.bb-gb .bb-gb-builder #listOfProducts .flex > div:nth-child(2) { font-size: 1.3rem; line-height: 1.25; overflow-wrap: anywhere; }
main.bb-gb .bb-gb-builder #listOfProducts .flex > div:nth-child(3) { font-size: 1.3rem; }
main.bb-gb .bb-gb-builder #listOfProducts .flex > div:nth-child(4) { grid-column: 5; grid-row: 1; }
main.bb-gb .bb-gb-builder #listOfProducts .flex > .bb-gb-qty:nth-child(1):not(:empty)::after { content: none; }   /* no "×" after the + */
main.bb-gb .bb-gb-builder .remove-product {
    display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid #e6b5af;
    border-radius: var(--bb-r-sm); background: #fff !important; font-size: 0; text-decoration: none;
}
main.bb-gb .bb-gb-builder .remove-product::before { content: "\00d7" / ""; font-size: 1.8rem; line-height: 1; }
main.bb-gb .bb-gb-builder .remove-product:hover { border-color: var(--bb-danger); background: #fdecea !important; }
main.bb-gb .bb-gb-qty .data-quantity { min-width: 1.6em; color: var(--bb-ink); font-size: 1.3rem; font-weight: 700; text-align: center; }
main.bb-gb .bb-gb-qty-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0;
    border: 1px solid var(--bb-line); border-radius: var(--bb-r-sm); background: #fff; color: var(--bb-ink);
    font-family: inherit; font-size: 1.5rem; font-weight: 600; line-height: 1; cursor: pointer;
}
main.bb-gb .bb-gb-qty-btn:hover:not(:disabled) { border-color: var(--bb-action); color: var(--bb-action); }
main.bb-gb .bb-gb-qty-btn:focus-visible { outline: 2px solid var(--bb-green); outline-offset: 1px; }
main.bb-gb .bb-gb-qty-btn:disabled { opacity: .4; cursor: not-allowed; }
/* step 2, product cards (owner 2026-11-25): − n + beside Add to Box, as the card had before, in the theme's own
   quantity look; n is how many of the item are in the box. Weighted cards: the weight list on its own line above. */
main.bb-gb .bb-gb-products .product-action { flex-wrap: wrap; gap: 8px; }
main.bb-gb .bb-gb-products .product-action .product-quantity:has(select) { flex: 1 1 100%; margin: 0; }
main.bb-gb .bb-gb-products .product-action .product-quantity:has(select) select { width: 100%; }
main.bb-gb .bb-gb-card-qty { flex: none; margin: 0; }
main.bb-gb .bb-gb-card-count {
    display: inline-block; width: 3.2rem; color: var(--bb-ink); font-size: 1.2rem; font-weight: 700;
    font-variant-numeric: tabular-nums; text-align: center;
}
main.bb-gb .bb-gb-card-qty button:disabled { opacity: .4; filter: grayscale(1); cursor: not-allowed; }
main.bb-gb .bb-gb-products .product-action .btn-product, main.bb-gb .bb-gb-products .product-action .invisible-btn { flex: 1 1 auto; }
main.bb-gb #giftDiscount .flex > div:nth-child(3) { color: var(--bb-action); }
main.bb-gb .remove-product {
    padding: 0 !important; border: 0; background: none !important; color: var(--bb-muted) !important; cursor: pointer;
    font-size: 1.2rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #c9cfca;
}
main.bb-gb .remove-product:hover { color: var(--bb-danger) !important; text-decoration-color: currentColor; }
/* steps 2 and 3: Remove is always Oven Red (owner 2026-11-24), a darker red on hover */
main.bb-gb :is(.bb-gb-builder, .bb-gb-review) .remove-product { color: var(--bb-danger) !important; text-decoration-color: rgba(192, 57, 43, .35); }
main.bb-gb :is(.bb-gb-builder, .bb-gb-review) .remove-product:hover { color: var(--bb-danger-hover) !important; text-decoration-color: currentColor; }
main.bb-gb :is(.bb-gb-builder, .bb-gb-review) .remove-product:focus-visible { outline: 2px solid var(--bb-danger); outline-offset: 2px; border-radius: 2px; }
main.bb-gb .bb-gb-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 2px solid var(--bb-ink); }
main.bb-gb .bb-gb-total span { color: var(--bb-ink); font-size: 1.4rem; font-weight: 700; }
main.bb-gb .bb-gb-total strong { color: var(--bb-green-dark); font-size: 2.4rem; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }

/* step 3: the box's photos large on the left, the summary panel on the right */
/* final review: a smaller box photo on the left (no item photos, owner 2026-11-25), the list on the right */
main.bb-gb .bb-gb-review { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: start; }
main.bb-gb .bb-gb-review #summary { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
main.bb-gb .bb-gb-review #summary img { border-radius: var(--bb-r); }
main.bb-gb .bb-gb-review #summary > div:first-child img { aspect-ratio: 4 / 3; border-radius: var(--bb-r-lg); }
main.bb-gb .bb-gb-review .bb-gb-panel { position: static; }
main.bb-gb .bb-gb-review .bb-gb-panel-head { margin-bottom: 14px; }

/* the action bar: frosted white along the foot of the window while the steps scroll under it */
main.bb-gb .bb-gb-bar {
    position: sticky; bottom: 0; z-index: 30; margin-top: 56px; padding: 14px 0;
    background: rgba(255, 255, 255, .86); border-top: 1px solid var(--bb-line);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
main.bb-gb .bb-gb-bar.d-none { display: none !important; }
main.bb-gb .bb-gb-bar-in { display: flex; align-items: center; gap: 16px; }
main.bb-gb .bb-gb-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 2.2em; cursor: pointer;
    border: 2px solid var(--bb-action); border-radius: var(--bb-r-sm); background: var(--bb-action); color: #fff;
    font-family: inherit; font-size: 1.3rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
main.bb-gb .bb-gb-btn i { font-size: 1.6rem; transition: transform .25s ease; }
main.bb-gb .bb-gb-btn-next { margin-left: auto; }
main.bb-gb .bb-gb-btn-next:hover { background: var(--bb-action-hover); border-color: var(--bb-action-hover); box-shadow: 0 6px 14px rgba(77, 174, 103, .35); }
main.bb-gb .bb-gb-btn-next:hover i { transform: translateX(4px); }
main.bb-gb .bb-gb-btn-back { background: #fff; border-color: var(--bb-green-dark); color: var(--bb-green-dark); }
main.bb-gb .bb-gb-btn-back:hover { background: var(--bb-green-dark); color: #fff; }
main.bb-gb .bb-gb-btn-back:hover i { transform: translateX(-4px); }
main.bb-gb .bb-gb-btn:focus-visible { outline: 2px solid var(--bb-green); outline-offset: 3px; }
main.bb-gb .bb-gb-btn[disabled] { opacity: .7; cursor: progress; }

/* the sticky header has two rows (115px) at these widths: the panel starts below it */
@media (min-width: 992px) and (max-width: 1279px) {
    main.bb-gb .bb-gb-builder .bb-gb-panel { top: 122px; max-height: calc(100vh - 122px - 91px); }
}
/* short laptop windows: a tighter panel, so the list keeps a few rows */
@media (min-width: 1280px) and (max-height: 760px) {
    main.bb-gb .bb-gb-builder .bb-gb-panel { top: 80px; max-height: calc(100vh - 80px - 91px); }
}
@media (min-width: 992px) and (max-height: 760px) {
    main.bb-gb .bb-gb-builder .bb-gb-panel { padding: 14px 20px; }
    main.bb-gb .bb-gb-builder #summary { margin-top: 10px; grid-auto-columns: 30px; }
    main.bb-gb .bb-gb-builder #listOfProducts { margin-top: 6px; }
    main.bb-gb .bb-gb-builder #giftDiscount > div { padding: 7px 0 !important; }
    main.bb-gb .bb-gb-builder .bb-gb-total { padding-top: 8px; }
}
@media (max-width: 1199px) {
    main.bb-gb .bb-gb-builder { grid-template-columns: minmax(0, 1fr) 350px; gap: 24px; }
    main.bb-gb .bb-gb-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    main.bb-gb .bb-gb-boxes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    main.bb-gb .bb-gb-review { grid-template-columns: minmax(0, 1fr); }
    main.bb-gb .bb-gb-review #summary { max-width: 300px; }   /* stacked: the box photo stays modest */
    /* Add your items: the panel stays beside the products on tablets too, always whole (owner, 2026-12-01).
       --gb-foot is the height of the bars at the bottom of the window. */
    main.bb-gb .bb-gb-builder { grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; --gb-foot: 79px; }
    main.bb-gb .bb-gb-builder .bb-gb-panel { top: 8px; z-index: 31; max-height: calc(100vh - var(--gb-foot) - 16px); padding: 14px 14px 16px; }
    main.bb-gb .bb-gb-builder .bb-gb-panel-head h3 { overflow: hidden; font-size: 1.5rem; white-space: nowrap; text-overflow: ellipsis; }
    @supports (height: 100svh) {
        main.bb-gb .bb-gb-builder .bb-gb-panel { max-height: calc(100svh - var(--gb-foot) - 16px); }
    }
    main.bb-gb #summary { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    main.bb-gb .bb-gb-bar { bottom: 68px; }      /* above the phone menu bar */
    main.bb-gb .bb-gb-builder { --gb-foot: 147px; }
}
@media (max-width: 767px) {
    main.bb-gb .bb-gb-page { padding-top: 28px; }
    main.bb-gb .bb-gb-steps { margin-bottom: 32px; }
    main.bb-gb .bb-gb-boxes, main.bb-gb .bb-gb-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    main.bb-gb .bb-gb-box label { padding: 8px 8px 16px; }
    main.bb-gb .bb-gb-box-check { top: 16px; right: 16px; }
    main.bb-gb .bb-gb-box-name { margin: 12px 4px 2px; font-size: 1.5rem; }
    main.bb-gb .bb-gb-box-size { margin: 0 4px; font-size: 1.3rem; }
    main.bb-gb .bb-gb-products .product-details { padding-left: 8px; padding-right: 8px; }
    main.bb-gb .bb-gb-review .bb-gb-panel { padding: 18px 16px 20px; }
    main.bb-gb .bb-gb-review #summary { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    main.bb-gb .bb-gb-bar { margin-top: 40px; padding: 10px 0; }
    main.bb-gb .bb-gb-bar-in { gap: 10px; }
    main.bb-gb .bb-gb-btn { min-height: 46px; padding: 0 1.3em; }
}
/* phones, Add your items (owner, 2026-12-01: never minimised): the whole panel stays at the top of the window and the
   products scroll under it. It grows with its rows up to 58% of the free height, then the rows scroll inside it, so the
   products can still be reached (the page script keeps them still while it grows). Flex, not grid: in one column a grid would keep the panel inside its own
   row, so it couldn't stay in view. A phone on its side keeps the panel beside the products (below). */
@media (max-width: 599px), (max-width: 767px) and (min-height: 481px) {
    main.bb-gb .bb-gb-builder { display: flex; flex-direction: column; align-items: stretch; --gb-panel-max: max(210px, calc((100vh - var(--gb-foot)) * .58)); }
    @supports (height: 100svh) {
        main.bb-gb .bb-gb-builder { --gb-panel-max: max(210px, calc((100svh - var(--gb-foot)) * .58)); }
    }
    main.bb-gb .bb-gb-builder .bb-gb-panel { order: -1; max-height: var(--gb-panel-max); padding: 8px 12px 10px; }
    main.bb-gb .bb-gb-builder .bb-gb-meter { height: 4px; margin-top: 6px; }
    main.bb-gb .bb-gb-builder #summary { grid-auto-columns: 29px; gap: 4px; margin-top: 8px; }
    main.bb-gb .bb-gb-builder #listOfProducts { margin-top: 6px; padding-bottom: 8px; }
    main.bb-gb .bb-gb-builder #listOfProducts > div { padding: 4px 0 !important; }
    /* the discount and the total share one line */
    main.bb-gb .bb-gb-panel-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 6px; border-top: 2px solid var(--bb-ink); }
    main.bb-gb .bb-gb-builder #giftDiscount > div { padding: 0 !important; border-top: 0; }
    main.bb-gb .bb-gb-builder #giftDiscount .flex { grid-template-columns: auto auto; column-gap: 6px; }
    main.bb-gb .bb-gb-builder #giftDiscount .flex > div:nth-child(1) { display: none; }
    main.bb-gb .bb-gb-builder #giftDiscount .flex > div:nth-child(n) { font-size: 1.2rem; }
    main.bb-gb .bb-gb-builder .bb-gb-total { gap: 8px; padding-top: 0; border-top: 0; }
    main.bb-gb .bb-gb-builder .bb-gb-total span { font-size: 1.2rem; }
    main.bb-gb .bb-gb-builder .bb-gb-total strong { font-size: 1.7rem; }
}
@media (min-width: 600px) and (max-width: 767px) and (max-height: 480px) {
    main.bb-gb .bb-gb-builder { grid-template-columns: minmax(0, 1fr) 300px; }
    main.bb-gb .bb-gb-products { grid-template-columns: minmax(0, 1fr); }
}
/* short windows: the list needs the photos' room (it names every item) */
@media (max-width: 767px) and (max-height: 620px), (max-width: 991px) and (max-height: 480px) {
    main.bb-gb .bb-gb-builder #summary { display: none; }
}
@media (max-width: 991px) and (max-height: 480px) {
    main.bb-gb .bb-gb-builder .bb-gb-panel { padding: 8px 12px; }
    main.bb-gb .bb-gb-builder #giftDiscount > div { padding: 3px 0 !important; }
    main.bb-gb .bb-gb-builder .bb-gb-total { padding-top: 3px; }
    main.bb-gb .bb-gb-builder .bb-gb-total strong { font-size: 1.8rem; }
}
@media (max-width: 575px) {
    main.bb-gb .bb-gb-steps li { gap: 8px; font-size: 1.3rem; }
    main.bb-gb .bb-gb-steps li:not(:last-child)::after { margin: 0 10px; }
    main.bb-gb .bb-gb-step-dot { width: 30px; height: 30px; font-size: 1.3rem; }
    main.bb-gb .bb-gb-steps li:not(.is-current) .bb-gb-step-name {     /* phones: only the current step is named */
        position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
    }
    main.bb-gb .bb-gb-btn-back { padding: 0 1em; }
    main.bb-gb .bb-gb-btn-next { padding: 0 1.1em; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    main.bb-gb .bb-gb-box label, main.bb-gb .bb-gb-box-pic img, main.bb-gb .bb-gb-box-check, main.bb-gb .bb-gb-meter span, main.bb-gb .bb-gb-btn i { transition: none; }
    main.bb-gb .bb-gb-box label:hover, main.bb-gb .bb-gb-box label:hover .bb-gb-box-pic img { transform: none; }
    main.bb-gb #summary img { animation: none; }
    main.bb-gb .bb-gb-builder #listOfProducts > .is-added { animation-timing-function: steps(1, end); }
}

/* =====================================================================
   NOT AVAILABLE (2026-11-24): one look everywhere. Oven Red, white label centred, no pointer and no hover change.
   Cards: 40px like Add to cart. Product pages and Cake Studio: the Add to cart size (flex 1, 13 to 20.7rem wide, 4.5rem tall).
   !important beats the inline background:#bd5353 the views still carry.
   ===================================================================== */
.out-of-stock, .btn-product.out-of-stock, .product .product-action .btn-product.out-of-stock {
    display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 6px;
    background: var(--bb-danger) !important; border: 1.5px solid var(--bb-danger) !important; color: #fff !important;
    box-shadow: none !important; cursor: not-allowed !important; line-height: 1 !important; text-transform: uppercase; letter-spacing: .04em; font-weight: 700;
}
.out-of-stock:hover, .out-of-stock:focus, .out-of-stock:active { background: var(--bb-danger) !important; border-color: var(--bb-danger) !important; color: #fff !important; box-shadow: none !important; transform: none !important; }
.out-of-stock i { display: none !important; }
.out-of-stock span, .out-of-stock .stock-span { display: block; color: #fff !important; line-height: 1; margin: 0; padding: 0; white-space: nowrap; }
.product .product-action .btn-product.out-of-stock { height: 40px; min-height: 40px; padding: 0 1em !important; }
.product .product-action .btn-product.out-of-stock .stock-span { font-size: 1.1rem; }
.product-single .out-of-stock, .single-product-page .out-of-stock {
    flex: 1; min-width: 13rem; max-width: 20.7rem; height: 4.5rem; padding: 0 1.4em !important; border-radius: var(--bb-r-sm) !important; font-size: 1.3rem;
}
.product-single .out-of-stock .stock-span, .single-product-page .out-of-stock .stock-span { font-size: 1.3rem; }

/* The quantity control beside a Not Available button looks and acts disabled (2026-11-24): cards, search results,
   gift box items, the regular product page and the custom cake page. The weight picker stays usable (it shows prices). */
.product-action:has(.out-of-stock) .product-quantity:not(:has(select)),
.product-form-group:has(.out-of-stock) .input-group,
.order-toolbar:has(.out-of-stock) .quantity-group { opacity: .45; filter: grayscale(1); cursor: not-allowed; user-select: none; }
.product-action:has(.out-of-stock) .product-quantity button,
.product-form-group:has(.out-of-stock) .input-group button,
.order-toolbar:has(.out-of-stock) .quantity-group a,
.product-action:has(.out-of-stock) .product-quantity input,
.product-form-group:has(.out-of-stock) .input-group input,
.order-toolbar:has(.out-of-stock) .quantity-group input { pointer-events: none; }

/* =====================================================================
   EDITORIAL GRID (every category and tag page; owner picked it 2026-11-24 on /bread, then asked for all): borderless cards, a big 4:5 photo with 18px corners,
   name and price left-aligned under it, the quantity and Add to cart below. The photo zooms gently on hover and the
   quick view bar slides up over it; cards rise in one after another as they scroll into view.
   Scoped to main.bb-ed (group-products view); the card markup, ids and JS hooks are unchanged.
   ===================================================================== */
main.bb-ed .bb-ed-grid { row-gap: 40px; }
main.bb-ed .bb-ed-grid > .col { margin-bottom: 0 !important; }
main.bb-ed .product.food-card {
    height: 100%; display: flex; flex-direction: column; background: transparent; box-shadow: none; border: 0; border-radius: 0;
    overflow: visible; transform: none; text-align: left;
}
main.bb-ed .product.food-card:hover { transform: none; box-shadow: none; }
main.bb-ed .product-media {
    position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: #ece9e4;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
    transition: box-shadow .4s ease;
}
main.bb-ed .product:hover .product-media { box-shadow: 0 18px 36px -18px rgba(0, 54, 36, .45); }
main.bb-ed .product-media > a { display: block; width: 100%; height: 100%; }
main.bb-ed .product-media img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .9s cubic-bezier(.16, 1, .3, 1), opacity .4s ease; }
main.bb-ed .product:hover .product-media img { transform: scale(1.06); }
main.bb-ed .product-media > p { left: 12px; bottom: 12px; }
main.bb-ed .product-label-group { left: 12px; top: 12px; }
main.bb-ed .product-details { display: flex; flex-direction: column; align-items: stretch; flex: 1; padding: 16px 2px 0 !important; background: transparent; text-align: left; }
main.bb-ed .product-name { margin: 0 0 6px !important; padding: 0 !important; font-size: 1.6rem; font-weight: 700; line-height: 1.3; text-wrap: balance; }
main.bb-ed .product-name a { color: var(--bb-ink); transition: color .25s ease; }
main.bb-ed .product:hover .product-name a { color: var(--bb-green-dark); }
main.bb-ed .product-price { justify-content: flex-start; margin: 0 0 14px; }
main.bb-ed .product-price .new-price, main.bb-ed .product-price ins, main.bb-ed .product-price .price { font-size: 1.8rem; }
main.bb-ed .product-action { margin: auto 0 0 !important; justify-content: flex-start !important; align-items: center; gap: 10px; padding: 0 !important; width: 100%; }
main.bb-ed .product-action .product-quantity { margin: 0 !important; }
main.bb-ed .product-action .btn-product { flex: 1 1 auto; max-width: none !important; gap: 6px; }

/* scroll-in: armed by the page script, so without it (or with reduce motion) the cards simply show */
main.bb-ed .bb-ed-grid.is-armed > .col { opacity: 0; transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.16, 1, .3, 1) calc(var(--i, 0) * .09s), transform .9s cubic-bezier(.16, 1, .3, 1) calc(var(--i, 0) * .09s); }
main.bb-ed .bb-ed-grid.is-armed > .col.is-in { opacity: 1; transform: none; }
main.bb-ed .bb-ed-grid.is-armed > .col .product-media img { transform: scale(1.12); }
main.bb-ed .bb-ed-grid.is-armed > .col.is-in .product-media img { transform: scale(1); }
main.bb-ed .bb-ed-grid.is-armed > .col.is-in .product:hover .product-media img { transform: scale(1.06); }

@media (max-width: 991px) { main.bb-ed .product-action { flex-wrap: wrap; } main.bb-ed .product-action .btn-product { flex: 1 1 100%; } }
@media (max-width: 575px) {
    main.bb-ed .bb-ed-grid { row-gap: 28px; }
    main.bb-ed .product-media { border-radius: 14px; }
    main.bb-ed .product-name { font-size: 1.4rem; }
    main.bb-ed .product-price .new-price, main.bb-ed .product-price ins, main.bb-ed .product-price .price { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
    main.bb-ed .product-media img, main.bb-ed .product-media { transition: none; }
    main.bb-ed .product:hover .product-media img { transform: none; }
}

/* Order Now (2026-11-24): the same as Add to cart everywhere it is a card button (custom cake listings, search results,
   related cakes): outlined on white, the label centred in a 40px button, filling Action Green on hover and focus.
   Beats the filled .btn-order rule near the top and the pages' own phone rule (max-width 12.3rem, padding 0). */
.product .product-action .btn-cart.btn-order, .product:hover .product-action .btn-cart.btn-order {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    height: 40px; min-height: 40px; padding: 0 1.6em !important; line-height: 1 !important;
    background: #fff !important; border: 1.5px solid var(--bb-action) !important; color: var(--bb-action) !important; box-shadow: none !important;
    text-transform: uppercase; font-size: 1.2rem; font-weight: 700; letter-spacing: .04em; transition: background-color .2s ease, color .2s ease;
}
.product .product-action .btn-cart.btn-order span { display: block; line-height: 1; margin: 0; padding: 0; color: inherit !important; }
.product .product-action .btn-cart.btn-order:hover, .product .product-action .btn-cart.btn-order:focus-visible {
    background: var(--bb-action) !important; border-color: var(--bb-action) !important; color: #fff !important; box-shadow: none !important;
}
/* in the editorial grid it runs the card's full width, like Add to cart */
main.bb-ed .product-action .btn-cart.btn-order { flex: 1 1 100%; width: 100%; max-width: none !important; }

/* Delivery tags (Same Day / Next Day) in regular weight everywhere, not bold (owner, 2026-11-24): beats the theme and
   any page style that sets them bold. */
.product-media > p, main.home .bb-cakes-when, .qv-delivery, main.bb-gb .bb-gb-box-pic .delivery_time { font-weight: 400 !important; }
/* ...and a little bigger to read easily (owner, 2026-11-24): 12px on photos (was 10.5px), 11px in the small
   Quick Bites / Tart & Muffin / Desserts rows (was 10px), 13px in quick view. */
.product-media > p, main.home .bb-cakes-when, main.bb-gb .bb-gb-box-pic .delivery_time { font-size: 1.2rem !important; padding: 5px 12px !important; line-height: 1.4 !important; }
main.home .bb-lists .product-list-sm .product-media > p { font-size: 1.1rem !important; padding: 3px 6px !important; }
.qv-delivery { font-size: 1.3rem !important; padding: 5px 13px !important; }
@media (max-width: 575px) { .product-media > p, main.home .bb-cakes-when { font-size: 1.1rem !important; padding: 4px 9px !important; } }
@media (max-width: 1199px) {       /* small list photos: the whole tag, not "Same Day Deliv..." */
    main.home .bb-lists .product-list-sm .product-media > p { left: 4px; right: 4px; padding: 3px 1px !important; font-size: 1rem !important; letter-spacing: 0; }
}

/* =====================================================================
   CHECKOUT (2026-11-25, owner picked "numbered cards + white receipt"): a mint band with the title and the
   Cart / Checkout / Order Complete steps; then three numbered white cards (Your details, Delivery, Payment)
   beside a sticky white "Your order" receipt, the gift box builder's grammar. Home delivery / Pick up is a
   two-button switch over the checkboxes the scripts read; date and time are chips over the date input and
   the time select, which stay the form's fields. Phones and tablets: one column and a frosted foot bar with
   the total and Place Order. Scoped to main.bb-co; ids, names and endpoints are the live page's.
   ===================================================================== */
main.bb-co { --co-r-lg: 18px; --co-stroke: #8f978f; border-top: 0; padding-bottom: 0; }
main.bb-co .co-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the band: title left, steps right */
main.bb-co .co-band { background: var(--bb-green-soft); border-bottom: 1px solid #d6ecdc; }
main.bb-co .co-band-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
main.bb-co .co-title {
    position: relative; margin: 0; padding-bottom: 10px; color: var(--bb-ink);
    font-size: clamp(2.4rem, 2.6vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -.015em;
}
main.bb-co .co-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--bb-green); }
main.bb-co .co-steps { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
main.bb-co .co-steps li { display: flex; align-items: center; color: var(--bb-muted); font-size: 1.35rem; font-weight: 600; white-space: nowrap; }
main.bb-co .co-steps li:not(:last-child)::after { content: ""; width: 40px; height: 2px; margin: 0 14px; border-radius: 2px; background: #cfd6cf; }
main.bb-co .co-steps li.is-done::after { background: var(--bb-green); }
main.bb-co .co-steps li > a, main.bb-co .co-steps li { gap: 10px; }
main.bb-co .co-steps a { display: flex; align-items: center; color: var(--bb-green-dark); }
main.bb-co .co-steps a:hover .co-step-name { text-decoration: underline; text-underline-offset: 3px; }
main.bb-co .co-step-dot {
    display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 2px solid #cfd6cf; border-radius: 8px;
    background: #fff; font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
main.bb-co .co-step-dot svg { width: 15px; height: 15px; }
main.bb-co .co-steps li.is-done .co-step-dot { background: var(--bb-action); border-color: var(--bb-action); color: #fff; }
main.bb-co .co-steps li.is-current { color: var(--bb-ink); font-weight: 800; }
main.bb-co .co-steps li.is-current .co-step-dot { border-color: var(--bb-green-dark); color: var(--bb-green-dark); }

main.bb-co .co-page { padding-top: 32px; padding-bottom: 72px; }

/* returning customer: one slim white row that opens the login */
main.bb-co .co-login { margin-bottom: 20px; background: #fff; border: 1px solid var(--bb-line); border-radius: var(--bb-r); }
main.bb-co .co-login summary {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 14px 20px; cursor: pointer; list-style: none;
    color: var(--bb-ink); font-size: 1.4rem; font-weight: 700;
}
main.bb-co .co-login summary::-webkit-details-marker { display: none; }
main.bb-co .co-link { color: var(--bb-green-dark); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(0, 71, 47, .35); text-underline-offset: 3px; }
main.bb-co .co-login summary:hover .co-link { text-decoration-color: currentColor; }
main.bb-co .co-login summary:focus-visible { outline: 2px solid var(--bb-green); outline-offset: -2px; border-radius: var(--bb-r); }
main.bb-co .co-login-form { display: block !important; padding: 4px 20px 20px; border-top: 1px solid var(--bb-line); }
main.bb-co .co-login-form .alert_message:not(:empty) { margin-top: 14px; font-size: 1.3rem; }
main.bb-co .co-login-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }

/* layout */
main.bb-co .co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 28px; align-items: start; }
main.bb-co .co-main { min-width: 0; }

/* the numbered cards */
main.bb-co .co-card { margin-bottom: 16px; padding: 24px 26px 26px; background: #fff; border: 1px solid var(--bb-line); border-radius: var(--co-r-lg); }
main.bb-co .co-card-head { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--bb-ink); font-size: 1.9rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
main.bb-co .co-num {
    display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px;
    background: var(--bb-green-soft); color: var(--bb-green-dark); font-size: 1.4rem; font-weight: 800; font-variant-numeric: tabular-nums;
}

/* fields */
main.bb-co .co-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
main.bb-co .co-fields-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
main.bb-co .co-fields:last-child { margin-bottom: 0; }
main.bb-co .co-span { grid-column: 1 / -1; }
main.bb-co .co-field { min-width: 0; margin: 0; }
main.bb-co .co-field + .co-field:not(.co-fields > *) { margin-top: 18px; }
main.bb-co .co-field label, main.bb-co .co-label {
    display: block; margin: 0 0 6px; color: var(--bb-ink); font-size: 1.3rem; font-weight: 700; line-height: 1.4;
}
main.bb-co .co-opt { color: var(--bb-muted); font-weight: 400; }
main.bb-co .form-control {
    width: 100%; height: 46px; min-height: 0; margin: 0; padding: 0 14px; background: #fff; border: 1px solid var(--co-stroke);
    color: var(--bb-ink); font-family: inherit; font-size: 1.4rem; line-height: 1.4; box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
main.bb-co textarea.form-control { height: auto; min-height: 84px; padding: 11px 14px; resize: vertical; }
main.bb-co select.form-control {
    -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer; text-overflow: ellipsis;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2300472f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
}
main.bb-co .form-control::placeholder { color: #7d837f; opacity: 1; }
main.bb-co .form-control:hover:not([readonly]):not(:focus) { border-color: #5f675f; }
main.bb-co .form-control:focus { border-color: var(--bb-green); box-shadow: 0 0 0 3px rgba(77, 174, 103, .18); outline: 0; }
main.bb-co .form-control[readonly] { background: var(--bb-bg); color: var(--bb-muted); cursor: default; }
main.bb-co .form-control:disabled { background: var(--bb-bg); color: #8a908c; cursor: not-allowed; }
main.bb-co input[type="number"]::-webkit-outer-spin-button, main.bb-co input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
main.bb-co input[type="number"] { -moz-appearance: textfield; }
main.bb-co .co-hint { display: block; margin-top: 6px; color: var(--bb-muted); font-size: 1.25rem; line-height: 1.5; }
main.bb-co .co-hint-block { margin: 12px 0 0; }
main.bb-co .co-err:not(:empty) { display: block; margin-top: 6px; color: var(--bb-danger); font-size: 1.25rem; font-weight: 600; }
main.bb-co .co-msg { margin: 8px 0 0; padding: 9px 12px; border-radius: var(--bb-r-sm); background: #fbeceb; color: #a3301f; font-size: 1.3rem; font-weight: 600; line-height: 1.5; }
main.bb-co .co-msg[hidden] { display: none; }

/* checkboxes: native, in the brand green */
main.bb-co .co-toggles { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 18px 0 0; }
main.bb-co .co-toggles + .co-fields { margin-top: 16px; }
main.bb-co .co-check { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--bb-ink); font-size: 1.4rem; font-weight: 600; cursor: pointer; }
main.bb-co .co-check input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--bb-action); cursor: pointer; }
main.bb-co .co-reveal { padding: 16px; margin-top: 14px; margin-bottom: 0; background: var(--bb-bg); border-radius: var(--bb-r); }

/* Home delivery / Pick up, and the payment choices: big choice buttons, the chosen one mint with a green edge */
main.bb-co .co-ico { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
main.bb-co .co-methods, main.bb-co .co-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
main.bb-co .co-choices { margin-bottom: 0; }
main.bb-co .co-choices:has(> .co-choice:only-child) { grid-template-columns: minmax(0, 1fr); max-width: calc(50% - 6px); }
main.bb-co .co-method, main.bb-co .co-choice-body {
    display: flex; align-items: center; gap: 14px; width: 100%; min-height: 68px; margin: 0; padding: 12px 16px; text-align: left; cursor: pointer;
    background: #fff; border: 1px solid var(--co-stroke); border-radius: var(--bb-r); color: var(--bb-green-dark);
    font-family: inherit; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
main.bb-co .co-method strong, main.bb-co .co-choice-body strong { display: block; color: var(--bb-ink); font-size: 1.45rem; font-weight: 700; line-height: 1.35; }
main.bb-co .co-method small, main.bb-co .co-choice-body small { display: block; color: var(--bb-muted); font-size: 1.25rem; line-height: 1.4; }
main.bb-co .co-method:hover, main.bb-co .co-choice:hover .co-choice-body { border-color: #9fcfac; }
main.bb-co .co-method.is-on, main.bb-co .co-choice input:checked + .co-choice-body {
    background: var(--bb-green-soft); border-color: var(--bb-green); box-shadow: inset 0 0 0 1px var(--bb-green);
}
main.bb-co .co-method:focus-visible { outline: 2px solid var(--bb-green); outline-offset: 2px; }
main.bb-co .co-choice { position: relative; display: block; margin: 0; }
main.bb-co .co-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
main.bb-co .co-choice input:focus-visible + .co-choice-body { outline: 2px solid var(--bb-green); outline-offset: 2px; }
main.bb-co .co-choice-body::after {     /* the radio mark, right */
    content: ""; flex: none; width: 20px; height: 20px; margin-left: auto; border: 2px solid #b8c1b9; border-radius: 6px; background: #fff;
    transition: border-color .2s ease, background-color .2s ease;
}
main.bb-co .co-choice input:checked + .co-choice-body::after {
    border-color: var(--bb-action);
    background: var(--bb-action) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23fff'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / 14px;
}

/* date and time chips */
main.bb-co .co-dates, main.bb-co .co-slots { display: flex; flex-wrap: wrap; gap: 8px; }
main.bb-co .co-date, main.bb-co .co-slot {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; margin: 0; cursor: pointer;
    background: #fff; border: 1px solid var(--co-stroke); border-radius: var(--bb-r-sm); color: var(--bb-ink);
    font-family: inherit; line-height: 1.3; font-variant-numeric: tabular-nums;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
main.bb-co .co-date { min-width: 78px; padding: 8px 10px; }
main.bb-co .co-date span { color: var(--bb-muted); font-size: 1.15rem; font-weight: 600; }
main.bb-co .co-date strong { font-size: 1.35rem; font-weight: 700; }
main.bb-co .co-slot { min-height: 46px; padding: 8px 16px; font-size: 1.35rem; font-weight: 700; }
main.bb-co .co-slot small { color: inherit; font-size: 1.1rem; font-weight: 600; }
main.bb-co .co-date:hover:not(:disabled), main.bb-co .co-slot:hover:not(:disabled) { border-color: var(--bb-green); }
main.bb-co .co-date.is-on, main.bb-co .co-slot.is-on { background: var(--bb-action); border-color: var(--bb-action); color: #fff; }
main.bb-co .co-date.is-on span { color: #fff; }
main.bb-co .co-date:disabled, main.bb-co .co-slot:disabled { background: var(--bb-bg); border-style: dashed; color: #8a908c; cursor: not-allowed; }
main.bb-co .co-date:disabled strong { text-decoration: line-through; }
main.bb-co .co-date:focus-visible, main.bb-co .co-slot:focus-visible { outline: 2px solid var(--bb-green); outline-offset: 2px; }
main.bb-co .co-date-other { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
main.bb-co .co-date-other label { margin: 0; color: var(--bb-muted); font-weight: 600; white-space: nowrap; }
main.bb-co .co-date-other .form-control { width: auto; min-width: 180px; height: 42px; cursor: pointer; }
main.bb-co .co-date-other.is-on .form-control { border-color: var(--bb-green); box-shadow: inset 0 0 0 1px var(--bb-green); background: var(--bb-green-soft); }
/* with the script running the chips stand in for the time list (it stays the form's field) */
main.bb-co.co-js .co-slot-select { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; opacity: 0; pointer-events: none; }
main.bb-co:not(.co-js) .co-dates, main.bb-co:not(.co-js) .co-slots { display: none; }
main.bb-co .co-notes { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--bb-line); }

/* the receipt */
main.bb-co .co-aside { position: sticky; top: 112px; }
main.bb-co .co-receipt {
    padding: 22px 22px 22px; background: #fff; border: 1px solid #d3e2d6; border-top: 3px solid var(--bb-green);
    border-radius: var(--co-r-lg); box-shadow: var(--bb-shadow);
}
main.bb-co .co-receipt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
main.bb-co .co-receipt-head h2 { margin: 0; color: var(--bb-ink); font-size: 2rem; font-weight: 800; letter-spacing: -.01em; }
main.bb-co .co-count { color: var(--bb-muted); font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
main.bb-co .co-lines {
    max-height: min(40vh, 360px); margin: 0; padding: 0 4px 0 0; overflow-y: auto; list-style: none;
    overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #cfd6cf transparent;
}
main.bb-co .co-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--bb-line); }
main.bb-co .co-line-pic { display: block; width: 56px; height: 56px; object-fit: cover; border-radius: var(--bb-r-sm); background: #eef0ec; }
main.bb-co .co-line-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.4; }
main.bb-co .co-line-name { color: var(--bb-ink); font-size: 1.4rem; font-weight: 700; }
main.bb-co .co-line-weight { color: var(--bb-muted); font-weight: 600; }
main.bb-co .co-line-qty { color: var(--bb-muted); font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
main.bb-co .co-line-note { color: var(--bb-ink); font-size: 1.25rem; }
main.bb-co .co-line-box { margin: 4px 0 0; padding: 0; list-style: none; color: var(--bb-muted); font-size: 1.25rem; }
main.bb-co .co-line-price { color: var(--bb-green-dark); font-size: 1.45rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* coupon and reward points */
main.bb-co .co-promo { border-bottom: 1px solid var(--bb-line); }
main.bb-co .co-promo summary {
    display: flex; align-items: center; gap: 10px; padding: 14px 0; cursor: pointer; list-style: none;
    color: var(--bb-green-dark); font-size: 1.35rem; font-weight: 700;
}
main.bb-co .co-promo summary::-webkit-details-marker { display: none; }
main.bb-co .co-promo summary .co-ico { width: 20px; height: 20px; color: var(--bb-action); }
main.bb-co .co-promo summary::after {
    content: ""; width: 9px; height: 9px; margin-left: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-3px) rotate(45deg); transition: transform .2s ease;
}
main.bb-co .co-promo[open] summary::after { transform: translateY(2px) rotate(-135deg); }
main.bb-co .co-promo summary:focus-visible { outline: 2px solid var(--bb-green); outline-offset: 2px; border-radius: 4px; }
main.bb-co .co-promo-body { padding: 0 0 16px; }
main.bb-co .co-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 12px; padding: 3px; background: var(--bb-bg); border-radius: var(--bb-r-sm); }
main.bb-co .co-tab {
    min-height: 36px; padding: 0 10px; border: 0; border-radius: 6px; background: none; color: var(--bb-muted); cursor: pointer;
    font-family: inherit; font-size: 1.3rem; font-weight: 700;
}
main.bb-co .co-tab.is-on { background: #fff; color: var(--bb-ink); box-shadow: 0 1px 3px rgba(20, 50, 30, .12); }
main.bb-co .co-tab:focus-visible { outline: 2px solid var(--bb-green); outline-offset: 1px; }
main.bb-co .co-apply { display: flex; gap: 8px; }
main.bb-co .co-apply .form-control { flex: 1 1 auto; height: 44px; }
main.bb-co .co-apply .co-btn { flex: none; min-height: 44px; }
main.bb-co .co-promo-msg:not(:empty), main.bb-co .point_error:not(:empty) { margin: 10px 0 0; font-size: 1.3rem; font-weight: 600; line-height: 1.5; }
main.bb-co .co-promo-msg.is-ok { color: var(--bb-green-dark); }
main.bb-co .co-promo-msg.is-error { color: var(--bb-danger); }
main.bb-co .co-points-hint { margin: 8px 0 0; }
main.bb-co .co-points-hint[hidden] { display: none; }
main.bb-co .co-promo-body p:empty { display: none; }

/* sums and total */
main.bb-co .co-sums { margin: 14px 0 0; }
main.bb-co .co-sums > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 1.4rem; }
main.bb-co .co-sums dt { color: var(--bb-muted); font-weight: 600; }
main.bb-co .co-sums dd { margin: 0; color: var(--bb-ink); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
main.bb-co .co-sum-discount dd { color: var(--bb-green-dark); }
main.bb-co .co-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 14px; border-top: 2px solid var(--bb-ink); }
main.bb-co .co-total span { color: var(--bb-ink); font-size: 1.5rem; font-weight: 700; }
main.bb-co .co-total strong { color: var(--bb-green-dark); font-size: 2.8rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; font-variant-numeric: tabular-nums; }

/* buttons */
main.bb-co .co-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 1.6em; cursor: pointer;
    border: 1.5px solid var(--bb-action); border-radius: var(--bb-r-sm); background: #fff; color: var(--bb-green-dark);
    font-family: inherit; font-size: 1.3rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
main.bb-co .co-btn-ghost:hover:not(:disabled) { background: var(--bb-action); color: #fff; }
main.bb-co .co-btn:disabled { opacity: .5; cursor: not-allowed; }
main.bb-co .co-btn:focus-visible { outline: 2px solid var(--bb-green); outline-offset: 3px; }
main.bb-co .co-btn-order { width: 100%; min-height: 54px; margin-top: 18px; background: var(--bb-action); border-color: var(--bb-action); color: #fff; font-size: 1.4rem; }
main.bb-co .co-btn-order:hover:not(:disabled) { background: var(--bb-action-hover); border-color: var(--bb-action-hover); box-shadow: 0 6px 14px rgba(77, 174, 103, .35); }
main.bb-co .loading-btn { cursor: wait; }
main.bb-co .load-div1 { width: 6px; height: 16px; border-radius: 2px; background: #fff; animation: co-bar-load .9s infinite alternate; }
main.bb-co .load-div1:nth-of-type(2) { animation-delay: -.3s; }
main.bb-co .load-div1:nth-of-type(3) { animation-delay: -.6s; }
@keyframes co-bar-load { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
main.bb-co .co-terms { margin: 12px 0 0; color: var(--bb-muted); font-size: 1.2rem; line-height: 1.5; text-align: center; }
main.bb-co .co-terms a { color: var(--bb-green-dark); text-decoration: underline; text-underline-offset: 2px; }

/* errors from the server */
main.bb-co .co-alert {
    display: flex; gap: 12px; margin-bottom: 16px; padding: 14px 16px; border: 1px solid #f0c9c4; border-radius: var(--bb-r);
    background: #fbeceb; color: #8e2317; font-size: 1.4rem; line-height: 1.5;
}
main.bb-co .co-alert-icon svg, .checkout-toast-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
main.bb-co .co-alert ul { margin: 0; padding-left: 18px; }
main.bb-co .co-alert p { margin: 0; }

/* the foot bar (phones and tablets) */
main.bb-co .co-bar { display: none; }

/* the notice the checks raise: a compact dark-red bar at the top right, as on the gift box pages */
.checkout-toast {
    position: fixed; top: 16px; right: 16px; z-index: 10050; display: none; width: min(380px, calc(100vw - 32px)); padding: 12px 16px 12px 52px;
    border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--bb-r-sm); color: #fff;
    background: rgba(142, 31, 23, .94); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 8px 24px rgba(60, 10, 6, .28);
}
.checkout-toast-icon { position: absolute; left: 12px; top: 50%; display: grid; place-items: center; width: 30px; height: 30px; margin-top: -15px; border-radius: var(--bb-r-sm); background: rgba(255, 255, 255, .14); }
.checkout-toast-icon svg { width: 18px; height: 18px; }
.checkout-toast-body { font-size: 1.4rem; font-weight: 600; line-height: 1.45; }

@media (max-width: 1199px) {
    main.bb-co .co-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; }
    main.bb-co .co-fields-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    main.bb-co .co-fields-3 > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 991px) {
    main.bb-co .co-grid { grid-template-columns: minmax(0, 1fr); }
    main.bb-co .co-aside { position: static; }
    main.bb-co .co-lines { max-height: none; overflow: visible; }
    main.bb-co .co-bar {
        position: sticky; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 16px; margin: 24px -15px 0; padding: 10px 15px;
        background: rgba(255, 255, 255, .88); border-top: 1px solid var(--bb-line);
        -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
        transition: transform .3s cubic-bezier(.22, 1, .36, 1), opacity .2s ease;
    }
    main.bb-co .co-bar.is-away { transform: translateY(110%); opacity: 0; pointer-events: none; }
    main.bb-co .co-bar-sum { display: flex; flex-direction: column; line-height: 1.2; }
    main.bb-co .co-bar-sum span { color: var(--bb-muted); font-size: 1.2rem; font-weight: 600; }
    main.bb-co .co-bar-sum strong { color: var(--bb-green-dark); font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
    main.bb-co .co-bar-btn { flex: 1 1 auto; width: auto; max-width: 320px; min-height: 50px; margin: 0 0 0 auto; }
}
@media (max-width: 768px) {
    main.bb-co .co-bar { bottom: 68px; }      /* above the phone menu bar */
}
@media (max-width: 767px) {
    main.bb-co .co-band-in { padding-top: 20px; padding-bottom: 20px; gap: 16px; }
    main.bb-co .co-page { padding-top: 20px; padding-bottom: 40px; }
    main.bb-co .co-card { padding: 20px 16px 20px; border-radius: var(--bb-r); }
    main.bb-co .co-receipt { padding: 18px 16px; }
    main.bb-co .co-fields, main.bb-co .co-fields-3 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    main.bb-co .co-methods, main.bb-co .co-choices { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    main.bb-co .co-choices:has(> .co-choice:only-child) { max-width: none; }
    main.bb-co .co-dates { flex-wrap: nowrap; margin: 0 -16px; padding: 2px 16px 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
    main.bb-co .co-dates::-webkit-scrollbar { display: none; }
    main.bb-co .co-date { flex: none; scroll-snap-align: start; }
    main.bb-co .co-slot { flex: 1 1 calc(50% - 4px); }
    main.bb-co .co-date-other .form-control { flex: 1 1 auto; min-width: 0; }
    main.bb-co .form-control { font-size: 1.6rem; }     /* no zoom on focus in iOS */
}
@media (max-width: 575px) {
    main.bb-co .co-steps li:not(.is-current) .co-step-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    main.bb-co .co-steps li:not(:last-child)::after { width: 24px; margin: 0 10px; }
    main.bb-co .co-login-foot { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
    main.bb-co .co-bar, main.bb-co .co-method, main.bb-co .co-choice-body, main.bb-co .co-date, main.bb-co .co-slot, main.bb-co .co-promo summary::after { transition: none; }
    main.bb-co .load-div1 { animation: none; }
}
/* fixes after the first look: the theme hides native checkboxes and draws an arrow before inputs; the total's digits inherit its size */
main.bb-co .co-check input[type="checkbox"] {
    position: static !important; display: inline-block !important; opacity: 1 !important; visibility: visible !important;
    -webkit-appearance: auto !important; appearance: auto !important; width: 18px !important; height: 18px !important;
}
main.bb-co .co-check input[type="checkbox"]::before, main.bb-co .co-check input[type="checkbox"]::after,
main.bb-co input.form-control::before, main.bb-co input.form-control::after { content: none !important; display: none !important; }
main.bb-co .co-total strong span, main.bb-co .co-bar-sum strong span, main.bb-co .co-sums dd span { font: inherit !important; color: inherit !important; letter-spacing: inherit !important; }
main.bb-co .co-date-other .form-control { font-family: inherit; font-size: 1.4rem; }
@media (max-width: 767px) {
    main.bb-co .co-slot { flex: 1 1 100%; }
    main.bb-co .co-toggles { flex-direction: column; }
}
/* finish review (2026-11-25): the login row lives in the left column, so the receipt starts under the band and its
   total and Place Order fit a 1440x900 window; the receipt head takes the 4px underline instead of a top cap; the
   chosen choice card carries the tick tile (no empty box on the other); chosen chips are mint with a green edge, so
   the only filled green is Place Order; the foot bar sits on the window edge until the phone menu bar is fixed. */
main.bb-co .co-login { margin-bottom: 16px; }
main.bb-co .co-login-form .co-fields { margin-top: 16px; }
main.bb-co .co-receipt { border-top: 1px solid #d3e2d6; padding-top: 20px; }
main.bb-co .co-receipt-head { margin-bottom: 8px; }
main.bb-co .co-receipt-head h2 { position: relative; padding-bottom: 10px; }
main.bb-co .co-receipt-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 4px; border-radius: 2px; background: var(--bb-green); }
main.bb-co .co-line { grid-template-columns: 48px minmax(0, 1fr) auto; padding: 9px 0; }
main.bb-co .co-line-pic { width: 48px; height: 48px; }
main.bb-co .co-sums { margin-top: 10px; }
main.bb-co .co-sums > div { padding: 4px 0; }
main.bb-co .co-btn-order { margin-top: 14px; }
main.bb-co .co-pending { color: var(--bb-muted); font-weight: 600; }
main.bb-co .form-control::placeholder { color: var(--bb-muted); }

main.bb-co .co-choice-body::after, main.bb-co .co-method::after {
    content: ""; flex: none; width: 24px; height: 24px; margin-left: auto; border: 0; border-radius: 6px;
    background: var(--bb-action) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23fff'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / 15px;
    opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
}
main.bb-co .co-method.is-on::after, main.bb-co .co-choice input:checked + .co-choice-body::after { opacity: 1; transform: none; border: 0; }

main.bb-co .co-date.is-on, main.bb-co .co-slot.is-on { background: var(--bb-green-soft); border-color: var(--bb-green); box-shadow: inset 0 0 0 1px var(--bb-green); color: var(--bb-green-dark); }
main.bb-co .co-date.is-on span { color: var(--bb-green-dark); }

main.bb-co .co-total strong { display: inline-block; transform-origin: right center; }
main.bb-co .co-total strong.is-bump { animation: co-bump .5s cubic-bezier(.22, 1, .36, 1); }
@keyframes co-bump { 0% { color: var(--bb-action); transform: scale(1.06); } 100% { color: var(--bb-green-dark); transform: none; } }

@media (max-width: 768px) {
    main.bb-co .co-bar { bottom: 0; }
    body:has(.sticky-footer.fixed) main.bb-co .co-bar { bottom: 68px; }
}
@media (max-width: 767px) {
    main.bb-co .co-dates { scroll-padding-inline: 16px; }
    main.bb-co .co-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    main.bb-co .co-slot { min-height: 52px; padding: 6px 6px; font-size: 1.2rem; line-height: 1.3; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    main.bb-co .co-total strong.is-bump { animation: none; }
    main.bb-co .co-choice-body::after, main.bb-co .co-method::after { transition: none; }
}
/* time slot labels: each time stays whole; on phones the two halves stack ("10:00 AM" over "– 1:00 PM") */
main.bb-co .co-slot-t { white-space: nowrap; }
@media (max-width: 767px) { main.bb-co .co-slot-t { display: block; } }

/* ===== "Successfully Added" popup (the theme's bottom-left Riode minipopup), site-wide =====
   owner 2026-11-29: it blended into the white product cards. Now a green-edged card with a deep shadow,
   and above everything (the gift box action bar, the phone menu bar). */
.minipopup-area { z-index: 100001; }
.minipopup-box {
    width: 330px; padding: 18px 20px 20px;
    background: #fff; border: 1px solid #cfe6d5; border-left: 5px solid var(--bb-green);
    border-radius: 12px !important;
    box-shadow: 0 18px 48px rgba(20, 50, 30, .30), 0 4px 12px rgba(20, 50, 30, .16);
}
.minipopup-title {
    display: flex; align-items: center; justify-content: flex-start; gap: 10px;
    margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--bb-line);
    color: var(--bb-green-dark); font-size: 1.6rem; font-weight: 800; text-align: left; letter-spacing: -.01em;
}
.minipopup-box img { border-radius: 8px; object-fit: cover; }
.minipopup-box .product.product-cart .product-name { color: var(--bb-ink, #1d2a22); font-weight: 600; margin-bottom: 8px; }
.minipopup-box .product.product-cart .product-quantity { color: var(--bb-ink, #1d2a22); }
.minipopup-box .product-price { color: var(--bb-green-dark); font-weight: 800; font-size: 1.5rem !important; }
/* the gift box steps keep a sticky action bar along the foot: the popup sits above it */
body:has(main.bb-gb .bb-gb-bar:not(.d-none)) .minipopup-area { bottom: 100px; }
@media (max-width: 479px) { .minipopup-box { width: calc(100vw - 18px); } }

/* =====================================================================
   CONTACT (2026-11-29, owner picked "deep-green panel + form"): a mint band with the page head, then a deep-green
   "ways to reach us" panel beside one white message card. A sent message turns the card into a thank-you state.
   Scoped to main.bb-ct.
   ===================================================================== */
main.bb-ct { --ct-stroke: #8f978f; padding-bottom: 0; }
main.bb-ct .ct-band { background: var(--bb-green-soft); border-top: 1px solid #d6ecdc; border-bottom: 1px solid #d6ecdc; padding: 28px 0 72px; }
main.bb-ct .ct-title {
    position: relative; margin: 0; padding-bottom: 12px; color: var(--bb-ink);
    font-size: clamp(2.6rem, 2.8vw, 3.2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.015em;
}
main.bb-ct .ct-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--bb-green); }
main.bb-ct .ct-lead { margin: 10px 0 22px; max-width: 72ch; color: var(--bb-muted); font-size: 1.6rem; line-height: 1.6; }
main.bb-ct .ct-grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 24px; align-items: stretch; }

/* the deep panel */
main.bb-ct .ct-panel {
    display: flex; flex-direction: column; padding: 18px 32px 30px; border-radius: 18px; color: #fff;
    background: linear-gradient(135deg, var(--bb-green-dark), #082c20);
}
main.bb-ct .ct-list { margin: 0; padding: 0; list-style: none; }
main.bb-ct .ct-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
main.bb-ct .ct-list > .ct-item:last-child { border-bottom: 0; }
main.bb-ct .ct-ico {
    display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 8px;
    background: rgba(77, 174, 103, .22); color: #8fd6a3;
}
main.bb-ct .ct-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
main.bb-ct .ct-label { display: block; margin: 1px 0 4px; color: #bfe3c9; font-size: 1.2rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
main.bb-ct .ct-value { display: block; margin: 0; color: #fff; font-size: 1.5rem; font-style: normal; line-height: 1.55; overflow-wrap: anywhere; }
main.bb-ct a.ct-value { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px; }
main.bb-ct a.ct-value:hover { color: #fff; text-decoration-color: var(--bb-green); }
main.bb-ct .ct-phone { font-size: 2.4rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; font-variant-numeric: tabular-nums; white-space: nowrap; }
main.bb-ct a.ct-value:focus-visible, main.bb-ct .ct-go:focus-visible { outline: 2px solid var(--bb-green); outline-offset: 3px; border-radius: 4px; }
main.bb-ct .ct-go {
    display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); color: #fff;
    font-size: 1.3rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
main.bb-ct .ct-go i { color: var(--bb-green); font-size: 1.5rem; transition: transform .2s ease; }
main.bb-ct .ct-go:hover { color: #fff; }
main.bb-ct .ct-go:hover i { transform: translateX(4px); }

/* the message card */
main.bb-ct .ct-card { min-width: 0; padding: 28px 38px 32px; background: #fff; border: 1px solid #d6ecdc; border-radius: 18px; }
main.bb-ct .ct-card-head { margin: 0; color: var(--bb-ink); font-size: 2.2rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
main.bb-ct .ct-note { margin: 8px 0 18px; color: var(--bb-muted); font-size: 1.4rem; line-height: 1.6; }
main.bb-ct .ct-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
main.bb-ct .ct-span { grid-column: 1 / -1; }
main.bb-ct .ct-field { min-width: 0; margin: 0; }
main.bb-ct .ct-field label { display: block; margin: 0 0 6px; color: var(--bb-ink); font-size: 1.3rem; font-weight: 700; line-height: 1.4; }
main.bb-ct .form-control {
    width: 100%; height: 48px; min-height: 0; margin: 0; padding: 0 14px; background: #fff; border: 1px solid var(--ct-stroke);
    border-radius: var(--bb-r-sm); color: var(--bb-ink); font-family: inherit; font-size: 1.4rem; line-height: 1.4; box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
main.bb-ct textarea.form-control { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
main.bb-ct .form-control::placeholder { color: #6c726e; opacity: 1; }
main.bb-ct .form-control:hover:not(:focus) { border-color: #5f675f; }
main.bb-ct .form-control:focus { border-color: var(--bb-green); box-shadow: 0 0 0 3px rgba(77, 174, 103, .18); outline: 0; }
main.bb-ct .form-control[aria-invalid="true"] { border-color: var(--bb-danger); }
main.bb-ct .form-control[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(192, 57, 43, .15); }
main.bb-ct input.form-control::before, main.bb-ct input.form-control::after { content: none !important; display: none !important; }
main.bb-ct .ct-err:not(:empty) { display: block; margin-top: 6px; color: var(--bb-danger); font-size: 1.25rem; font-weight: 600; line-height: 1.45; }

main.bb-ct .ct-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 22px; }
main.bb-ct .ct-captcha { min-height: 78px; }
main.bb-ct .ct-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 210px; min-height: 52px; padding: 0 1.8em;
    border: 1.5px solid var(--bb-action); border-radius: var(--bb-r-sm); background: var(--bb-action); color: #fff; cursor: pointer;
    font-family: inherit; font-size: 1.3rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
main.bb-ct .ct-btn[hidden] { display: none; }
main.bb-ct .ct-btn i { font-size: 1.5rem; transition: transform .2s ease; }
main.bb-ct .ct-btn:hover:not(:disabled) { background: var(--bb-action-hover); border-color: var(--bb-action-hover); box-shadow: 0 6px 14px rgba(77, 174, 103, .35); }
main.bb-ct .ct-btn:hover:not(:disabled) i { transform: translateX(3px); }
main.bb-ct .ct-btn:focus-visible { outline: 2px solid var(--bb-green); outline-offset: 3px; }
main.bb-ct .loading-btn { gap: 5px; cursor: wait; }
main.bb-ct .load-div1 { width: 6px; height: 18px; border-radius: 2px; background: #fff; animation: ct-bar-load .9s infinite alternate; }
main.bb-ct .load-div1:nth-child(2) { animation-delay: -.3s; }
main.bb-ct .load-div1:nth-child(3) { animation-delay: -.6s; }
@keyframes ct-bar-load { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
main.bb-ct .ct-alert { margin: 16px 0 0; padding: 11px 14px; border: 1px solid #f0c9c4; border-radius: var(--bb-r-sm); background: #fbeceb; color: #8e2317; font-size: 1.35rem; font-weight: 600; line-height: 1.5; }

/* the thank-you state: the card settles in and the tick draws itself */
main.bb-ct .ct-done { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 100%; padding: 20px 0; outline: 0; }
main.bb-ct .ct-done[hidden] { display: none; }
main.bb-ct .ct-done-tick { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 12px; background: var(--bb-action); color: #fff; }
main.bb-ct .ct-done-tick svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; }
main.bb-ct .ct-done .ct-note { max-width: 46ch; margin-bottom: 26px; font-size: 1.5rem; }
main.bb-ct .ct-btn-ghost { background: #fff; color: var(--bb-green-dark); }
main.bb-ct .ct-btn-ghost:hover:not(:disabled) { background: var(--bb-action); color: #fff; box-shadow: none; }
main.bb-ct .ct-done.is-in { animation: ct-rise .5s cubic-bezier(.22, 1, .36, 1) both; }
main.bb-ct .ct-done.is-in .ct-done-tick { animation: ct-pop .45s cubic-bezier(.22, 1, .36, 1) .08s both; }
main.bb-ct .ct-done.is-in .ct-done-tick svg { animation: ct-draw .45s cubic-bezier(.22, 1, .36, 1) .3s both; }
@keyframes ct-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes ct-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ct-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }

@media (max-width: 1199px) {
    main.bb-ct .ct-grid { grid-template-columns: 340px minmax(0, 1fr); }
    main.bb-ct .ct-panel { padding: 14px 24px 26px; }
    main.bb-ct .ct-phone { font-size: 2.1rem; }
}
@media (max-width: 991px) {
    main.bb-ct .ct-grid { grid-template-columns: minmax(0, 1fr); }
    main.bb-ct .ct-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
}
@media (max-width: 767px) {
    main.bb-ct .ct-band { padding: 28px 0 44px; }
    main.bb-ct .ct-lead { margin: 12px 0 22px; font-size: 1.5rem; }
    main.bb-ct .ct-list { grid-template-columns: minmax(0, 1fr); }
    main.bb-ct .ct-panel { padding: 8px 20px 22px; border-radius: var(--bb-r); }
    main.bb-ct .ct-item { padding: 16px 0; }
    main.bb-ct .ct-card { padding: 24px 18px 24px; border-radius: var(--bb-r); }
    main.bb-ct .ct-fields { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    main.bb-ct .form-control { font-size: 1.6rem; }     /* no zoom on focus in iOS */
    main.bb-ct .ct-foot { flex-direction: column; align-items: stretch; }
    main.bb-ct .ct-btn { width: 100%; }
}
@media (max-width: 359px) {
    main.bb-ct .ct-captcha { transform: scale(.9); transform-origin: left top; }
}
@media (prefers-reduced-motion: reduce) {
    main.bb-ct .ct-done.is-in, main.bb-ct .ct-done.is-in .ct-done-tick, main.bb-ct .ct-done.is-in .ct-done-tick svg, main.bb-ct .load-div1 { animation: none; }
    main.bb-ct .ct-btn i, main.bb-ct .ct-go i { transition: none; }
}
main.bb-ct form[hidden] { display: none; }

/* Contact Us, entrance (owner 2026-11-29: "add animation"): one load sequence. The head's underline grows from the
   left, the lead and the two columns rise in, the panel's rows follow one by one; then a small reply on hover.
   Everything ends where it would sit without animation, and all of it is off for "reduce motion". */
@keyframes ct-in-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ct-in-left { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@keyframes ct-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
main.bb-ct .ct-title { animation: ct-in-up .6s cubic-bezier(.22, 1, .36, 1) both; }
main.bb-ct .ct-title::after { transform-origin: left center; animation: ct-line .7s cubic-bezier(.22, 1, .36, 1) .25s both; }
main.bb-ct .ct-lead { animation: ct-in-up .6s cubic-bezier(.22, 1, .36, 1) .08s both; }
main.bb-ct .ct-panel { animation: ct-in-up .7s cubic-bezier(.22, 1, .36, 1) .16s both; }
main.bb-ct .ct-card { animation: ct-in-up .7s cubic-bezier(.22, 1, .36, 1) .26s both; }
main.bb-ct .ct-item, main.bb-ct .ct-go { animation: ct-in-left .55s cubic-bezier(.22, 1, .36, 1) both; }
main.bb-ct .ct-item:nth-child(1) { animation-delay: .34s; }
main.bb-ct .ct-item:nth-child(2) { animation-delay: .42s; }
main.bb-ct .ct-item:nth-child(3) { animation-delay: .50s; }
main.bb-ct .ct-item:nth-child(4) { animation-delay: .58s; }
main.bb-ct .ct-go { animation-delay: .66s; }
/* hover: the row's icon tile brightens and lifts a little */
main.bb-ct .ct-ico { transition: background-color .25s ease, color .25s ease, transform .25s cubic-bezier(.22, 1, .36, 1); }
main.bb-ct .ct-item:hover .ct-ico, main.bb-ct .ct-item:focus-within .ct-ico { background: var(--bb-green); color: #fff; transform: translateY(-2px); }
/* fields: the label turns deep green while its field has focus */
main.bb-ct .ct-field label { transition: color .2s ease; }
main.bb-ct .ct-field:focus-within label { color: var(--bb-green-dark); }
@media (prefers-reduced-motion: reduce) {
    main.bb-ct .ct-title, main.bb-ct .ct-title::after, main.bb-ct .ct-lead, main.bb-ct .ct-panel, main.bb-ct .ct-card,
    main.bb-ct .ct-item, main.bb-ct .ct-go { animation: none; }
    main.bb-ct .ct-ico { transition: none; }
    main.bb-ct .ct-item:hover .ct-ico, main.bb-ct .ct-item:focus-within .ct-ico { transform: none; }
}
/* ===== Site-wide scroll reveal (owner 2026-11-29: "add animation in all pages"; see frontend/common/reveal-script) =====
   A block waits 22px low and transparent, then rises in with the house ease-out; blocks arriving together follow
   one another 70ms apart. The script removes both classes once the block has arrived. */
main.main .bb-rv { opacity: 0; transform: translateY(22px); }
/* a keyframe animation, not a transition: the theme switches every transition off until window.onload
   (body:not(.loaded) * { transition: all 0s !important }), which made the opening blocks jump into place */
main.main .bb-rv.bb-rv-in { animation: bb-rv-rise .7s cubic-bezier(.22, 1, .36, 1) var(--rv-d, 0ms) both; }
@keyframes bb-rv-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { main.main .bb-rv { opacity: 1; transform: none; transition: none; } }
@media print { main.main .bb-rv { opacity: 1 !important; transform: none !important; } }
/* The theme hid every .appear-animate block (visibility hidden, opacity 0) until window.onload, which waits for every
   image and the store maps, so FAQ, Location, Our Story, order tracking, search and the home page's trust points and
   product lists filled in late (2026-11-29 fix). They show at once now; the site-wide reveal above animates the ones
   below the window instead, and the theme's own fade (added on appear) is switched off so nothing plays twice. */
.appear-animate:not(.bb-rv-in), .appear-animate.appear-animation-visible:not(.bb-rv-in) { visibility: visible !important; opacity: 1 !important; animation: none !important; }
.appear-animate.bb-rv-in { visibility: visible !important; }
main.main .appear-animate.bb-rv:not(.bb-rv-in) { opacity: 0 !important; }

/* site-wide reveal, first paint (2026-11-29, owner: the Custom Gift Box and Our Story pages lost their opening animation):
   with bb-rv-on (set in <head> before anything is drawn) the candidate blocks start transparent, so the reveal can play
   the ones on screen in without first showing them. reveal-script marks every candidate bb-rv-ok as it starts; the ones
   it animates keep their own waiting state (.bb-rv), and bb-rv-on is then removed so later content shows. Keep these lists in step with reveal-script. */
html.bb-rv-on main.main:not(.home):not(.bb-ct) :is(.product, .post, .card, .co-band, .co-login, .co-card, .co-receipt, .bb-gb-panel, .bb-gb-box, .widget, .banner, .icon-box, .table, table, .alert, .page-header, .page-title, .title, h1, h2, h3, p, form, img, iframe, .btn-wrap):not(.bb-rv-ok) { opacity: 0; }
html.bb-rv-on main.main.home .appear-animate:not(.bb-rv-ok) { opacity: 0 !important; }
@media print { html.bb-rv-on main.main :not(.bb-rv-ok) { opacity: 1 !important; } }

/* =====================================================================
   REMOVE, DELETE, CANCEL, CLOSE: one red everywhere (owner, 2026-11-30), Oven Red --bb-danger, darker on hover.
   Remove crosses in the cart (drawer and cart page): a white rounded square with a red cross and a soft red edge, pale
   red on hover, never solid (owner). The wishlist's is solid red with a white cross. Close crosses: a red cross on white (solid red on hover), or a red
   tile with a white cross on dark, where red alone is hard to see. The menu drawer and quick view have theirs above,
   and the admin panel in admin/inc/header.
   Some selectors are longer than they need to be, to beat style.min.css, which four pages load after this file.
   Not these: the app bars' plain white cross (desktop and phone, in common/menubar; owner), and the fa-times in order lists, which means "times" (2 x).
   ===================================================================== */
.header .product.product-cart .product-remove-btn, .shop-table.cart-table .product-remove, .bb-remove-x {
    display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer;
}
.header .product.product-cart .product-remove-btn, .shop-table.cart-table .product-remove {
    background: #fff; border: 1px solid #e6b5af; border-radius: var(--bb-r-sm); color: var(--bb-danger);
    transition: background-color var(--bb-ease), border-color var(--bb-ease), color var(--bb-ease);
}
.header .product.product-cart .product-remove-btn:hover, .header .product.product-cart .product-remove-btn:focus,
.shop-table.cart-table .product-remove:hover {
    background: #fdecea; border-color: var(--bb-danger); color: var(--bb-danger-hover);
}
.shop-table.cart-table .product-remove { width: 2.6rem; height: 2.6rem; }
.header .product.product-cart .product-remove-btn i, .shop-table.cart-table .product-remove i { margin: 0; color: inherit; line-height: 1; }
.bb-remove-x { background: var(--bb-danger); border: 1px solid var(--bb-danger); color: #fff; }
.bb-remove-x:hover { background: var(--bb-danger-hover); border-color: var(--bb-danger-hover); color: #fff; }
.bb-remove-x { width: 2.6rem; height: 2.6rem; margin: 0 auto; border-radius: 6px; font-size: 1.8rem; line-height: 1; }
.bb-remove-text, .alert .btn-close, .header .cart-dropdown .cart-header .btn-close { color: var(--bb-danger); }
.bb-remove-text:hover, .bb-remove-text:focus, .alert .btn-close:hover, .header .cart-dropdown .cart-header .btn-close:hover,
.header .cart-dropdown .cart-header .btn-close:focus { color: var(--bb-danger-hover); }
/* keyboard focus on the red controls */
:is(.product-remove-btn, .product-remove, .bb-remove-x, .bb-remove-text, .qv-close, .sidebar-close, .mfp-close):focus-visible,
#bb-menu-drawer > .mobile-menu-close:focus-visible { outline: 2px solid var(--bb-danger); outline-offset: 2px; }

/* on the dark backdrops: the category filter panel, the popups (login, video) and the photo viewer */
.sidebar-close {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--bb-r-sm);
    background: var(--bb-danger); color: #fff; font-size: 2rem;
}
.sidebar-close:hover { background: var(--bb-danger-hover); color: #fff; }
.mfp-wrap .mfp-close, .mfp-wrap .mfp-close:hover, .mfp-wrap .mfp-close:focus {
    width: 32px; height: 32px; border-radius: var(--bb-r-sm); background: var(--bb-danger); transform: none;
}
.mfp-wrap .mfp-close:hover { background: var(--bb-danger-hover); }
.mfp-wrap .mfp-content .mfp-close { top: -38px; }
.mfp-wrap .mfp-close::before, .mfp-wrap .mfp-close::after {
    top: 50%; left: 50%; width: 16px; height: 2px; background: #fff; transform: translate(-50%, -50%) rotate(45deg);
}
.mfp-wrap .mfp-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.fancybox-container .fancybox-button--close { background: var(--bb-danger); color: #fff; }
.fancybox-container .fancybox-button--close:hover { background: var(--bb-danger-hover); color: #fff; }
