/* Customer navigation: one desktop/mobile boundary, no nested menus. */
@media(max-width:991.98px){
 .customer-account-menu .customer-profile-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 8px}
 .customer-account-menu .customer-profile-columns .customer-profile-customer,.customer-account-menu .customer-profile-columns .customer-profile-information{display:contents}
 .customer-account-menu .customer-profile-name{grid-column:1/-1;grid-row:1}
 .customer-profile-customer .customer-profile-destination{grid-column:1}
 .customer-profile-customer .customer-profile-destination:nth-child(2){grid-row:2}
 .customer-profile-customer .customer-profile-destination:nth-child(3){grid-row:3}
 .customer-profile-customer .customer-profile-destination:nth-child(4){grid-row:4}
 .customer-profile-customer .customer-profile-destination:nth-child(5){grid-row:5}
 .customer-profile-customer .customer-profile-destination:nth-child(6){grid-row:6}
 .customer-profile-information .customer-nav-link{grid-column:2}
 .customer-profile-information .customer-nav-link:nth-child(1){grid-row:2}
 .customer-profile-information .customer-nav-link:nth-child(2){grid-row:3}
 .customer-profile-information .customer-nav-link:nth-child(3){grid-row:4}
 .customer-profile-information .customer-nav-link:nth-child(4){grid-row:5}
 .customer-profile-information .customer-nav-link:nth-child(5){grid-row:6}
 .customer-account-menu .customer-nav-link{min-width:0;white-space:normal;overflow-wrap:anywhere;font-size:13px}
 .customer-account-menu .customer-nav-logout{display:flex;width:100%;margin-top:6px}
}
.customer-site-nav{background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--border,#d4e8dc);box-shadow:0 1px 3px rgba(0,0,0,.06);z-index:1025}
.customer-site-nav .customer-nav-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;padding-top:12px;padding-bottom:12px;position:relative}
.customer-site-nav .customer-brand{display:flex;justify-self:start;width:fit-content;align-items:center;gap:8px;min-width:0;max-width:100%;margin:0;color:#185a32;font-size:16px;font-weight:650;line-height:1.25;text-decoration:none}
.customer-brand img{width:40px;height:40px;object-fit:contain;flex:none}
.customer-brand-copy{min-width:0}
.customer-brand-subtitle{display:block;font-size:11px;font-weight:500;letter-spacing:.015em}
.customer-site-nav .customer-brand:hover{color:#1a7a42}
.customer-nav-panel{display:flex;align-items:center;justify-content:center;gap:2px}
.customer-nav-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 6px;border:0;border-radius:8px;background:transparent;color:#4a5550;font:600 14px/1.25 var(--customer-font,'Segoe UI',sans-serif);white-space:nowrap;text-decoration:none}
.customer-nav-link:hover,.customer-shop-link:hover{background:#edfaf3;color:#185a32}
.customer-nav-glyph{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px}
.customer-nav-label{min-width:0}
.customer-cart-badge{position:absolute;top:-5px;right:0;display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 4px;border-radius:999px;color:#fff;font-size:10px;line-height:1;background:#22a356;box-shadow:0 0 0 2px #fff;pointer-events:none}
.customer-cart-badge[hidden]{display:none}
.customer-account-area{display:flex;align-items:center;justify-self:end;gap:8px;position:relative}
.customer-shop-link{display:inline-flex;align-items:center;min-height:44px;padding:10px 6px;color:#185a32;font-size:14px;font-weight:600;text-decoration:none;border-radius:8px;white-space:nowrap}
.customer-notification-link{display:grid;place-items:center;width:44px;height:44px;flex:none;color:#185a32;border-radius:50%;font-size:22px;text-decoration:none}
.customer-notification-link:hover,.customer-account-toggle:hover{background:#edfaf3}
.customer-notification-link .customer-cart-badge{top:-7px;right:-8px;background:#a32929}
.customer-account-toggle{display:grid;place-items:center;width:44px;height:44px;flex:none;border:1px solid #d4e8dc;border-radius:50%;background:#edfaf3;color:#185a32;font-size:24px;cursor:pointer}
.customer-nav-toggle{display:none;width:44px;height:44px;flex:none;align-items:center;justify-content:center;border:1px solid #d4e8dc;border-radius:9px;background:#fff;color:#185a32;font-size:24px;cursor:pointer}
.customer-account-menu[hidden]{display:none}
.customer-account-menu{position:absolute;top:calc(100% + 12px);right:0;z-index:1045;box-sizing:border-box;width:min(280px,calc(100vw - 24px));max-height:calc(100vh - 110px);max-height:calc(100dvh - 110px);overflow:auto;overscroll-behavior:contain;padding:8px;background:#fff;border:1px solid #d4e8dc;border-radius:14px;box-shadow:0 12px 36px rgba(24,65,42,.18)}
/* Match navbar visibility below: compact desktop menus, both groups on mobile. */
.customer-profile-columns{display:block}
.customer-home-nav .customer-profile-information{display:none}
.customer-profile-columns>div{min-width:0}
.customer-account-menu .customer-nav-link{display:flex;box-sizing:border-box;width:100%;min-height:44px;padding:10px 8px;white-space:normal;text-align:left}
.customer-profile-columns .customer-nav-link + .customer-nav-link{border-top:1px solid #e4eee8;border-radius:0}
.customer-profile-customer .customer-nav-link:first-child{font-weight:700}
.customer-inner-nav .customer-profile-information .customer-nav-link:first-child{border-top:1px solid #e4eee8;border-radius:0}
.customer-account-menu .customer-nav-label{white-space:normal;overflow-wrap:anywhere}
.customer-account-menu .customer-cart-badge{top:-6px;right:-5px;background:#185a32}
.customer-account-menu .customer-nav-logout{margin-top:8px;border-top:1px solid #d4e8dc;border-radius:0 0 6px 6px;color:#9f2828}
.customer-site-nav .customer-profile-shop,.customer-inner-nav .customer-profile-destination{display:none}
.customer-site-nav :is(a,button):focus-visible{outline:3px solid #b77b09;outline-offset:2px}
.customer-site-nav a[aria-current]:not(.customer-brand){color:#185a32;background:#edfaf3}
@media(max-width:991.98px){
 .customer-site-nav .customer-nav-inner{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:8px 12px}
 .customer-site-nav .customer-brand{gap:6px}
 .customer-brand-copy,.customer-brand-subtitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .customer-account-area{gap:4px}
 .customer-site-nav .customer-home-shop{display:none}
 .customer-site-nav .customer-profile-destination{display:flex}
 .customer-home-nav .customer-profile-information{display:block}
 .customer-account-menu{width:min(520px,calc(100vw - 24px))}
 .customer-profile-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 .customer-inner-nav .customer-profile-information .customer-nav-link:first-child{border-top:0;border-radius:8px}
 .customer-nav-toggle{display:inline-flex}
 .customer-nav-panel{display:none;position:absolute;top:calc(100% + 8px);right:12px;z-index:1040;box-sizing:border-box;width:min(320px,calc(100vw - 24px));max-height:calc(100vh - 110px);max-height:calc(100dvh - 110px);overflow:auto;overscroll-behavior:contain;padding:8px;border:1px solid #d4e8dc;border-radius:14px;background:#fff;box-shadow:0 12px 36px rgba(24,65,42,.18)}
 .customer-nav-panel.is-open{display:grid;grid-template-columns:1fr}
 .customer-nav-panel .customer-nav-link{white-space:normal}
}
@media(max-width:575px){
 .customer-site-nav .customer-brand{font-size:14px}
 .customer-brand img{width:28px;height:28px}
 .customer-brand-subtitle{font-size:9px}
 .customer-site-nav .customer-nav-inner{gap:4px;padding:8px}
 .customer-account-area{gap:2px}
}
@media(max-width:359px){
 .customer-account-menu{width:calc(100vw - 24px)}
 .customer-profile-columns{display:block}
 .customer-profile-information .customer-nav-link:first-child{border-top:1px solid #e4eee8;border-radius:0}
 .customer-inner-nav .customer-profile-information .customer-nav-link:first-child{border-top:1px solid #e4eee8;border-radius:0}
 .customer-brand img{width:24px;height:24px}
 .customer-brand-subtitle{display:none}
 .customer-site-nav .customer-brand{font-size:13px}
}
    .customer-support-fab{position:fixed;right:20px;bottom:20px;z-index:1030;width:56px;height:56px;border:0;border-radius:50%;background:var(--green-mid,#22a356);color:#fff;display:flex;align-items:center;justify-content:center;font-size:23px;box-shadow:0 6px 20px rgba(0,0,0,.25)}
    .customer-support-fab:hover,.customer-support-fab:focus-visible{background:var(--green-dark,#1a7a42);color:#fff;outline:3px solid #f2b84b;outline-offset:3px}
    @media(max-width:430px){.customer-support-fab{right:12px;bottom:12px;width:48px;height:48px}}
    .support-modal[hidden]{display:none}.support-modal{position:fixed;right:20px;bottom:88px;z-index:1200;width:min(380px,calc(100vw - 40px));background:transparent}
    .support-modal-panel{display:flex;flex-direction:column;width:100%;height:min(560px,calc(100vh - 108px));height:min(560px,calc(100dvh - 108px));overflow:hidden;border:1px solid var(--border,#d4e8dc);border-radius:16px;background:#fff;box-shadow:0 12px 36px rgba(0,0,0,.2)}
    .support-modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--border,#d4e8dc)}
    .support-modal-title{margin:0;font:700 18px/1.2 'DM Sans',sans-serif;color:var(--text-dark,#1a1f1c)}
    .support-modal-close{width:40px;height:40px;border:0;border-radius:8px;background:#f3f6f4;color:var(--text-dark,#1a1f1c);font-size:22px}
    .support-modal-body{display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto}.support-modal-loading,.support-modal-error,.support-login-prompt{padding:36px 22px;text-align:center;color:var(--text-mid,#4a5550)}
    .support-fragment{display:flex;flex-direction:column;flex:1;min-height:0}.support-fragment .chat-area{flex:1;min-height:0;padding:18px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:12px;background:#fafffe}
    .support-fragment .bubble-wrap{display:flex;flex-shrink:0;flex-direction:column;max-width:82%}.support-fragment .bubble-wrap.user{align-self:flex-end;align-items:flex-end}.support-fragment .bubble-wrap.admin{align-self:flex-start}
    .support-fragment .bubble{padding:10px 13px;border-radius:13px;font-size:14px;line-height:1.45;overflow-wrap:anywhere}.support-fragment .bubble.user{background:var(--green-mid,#22a356);color:#fff}.support-fragment .bubble.admin{background:#eef1f4;color:#1a1f1c}.support-fragment .bubble-time{font-size:11px;color:#7b8d84;margin-top:3px}
    .support-fragment .empty-chat{padding:36px 18px;text-align:center;color:#7b8d84}.support-fragment .reply-area{flex-shrink:0;padding:14px 18px;border-top:1px solid var(--border,#d4e8dc)}.support-fragment form{display:flex;align-items:stretch;gap:8px}.support-fragment textarea{flex:1;min-width:0;max-height:96px;overflow-y:auto;border:1.5px solid var(--border,#d4e8dc);border-radius:9px;padding:10px 12px;resize:none}.support-fragment button[type=submit]{flex:0 0 44px;border:0;border-radius:9px;background:var(--green-mid,#22a356);color:#fff;padding:0}
    .customer-logout-modal[hidden]{display:none}.customer-logout-modal{position:fixed;inset:0;z-index:1250;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(17,28,22,.62)}
    .customer-logout-dialog{width:min(430px,100%);padding:28px;border:1px solid var(--border,#d4e8dc);border-radius:16px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.3)}
    .customer-logout-dialog h2{margin:0 0 10px;font:28px/1.2 'DM Serif Display',serif;color:var(--text-dark,#1a1f1c)}.customer-logout-dialog p{margin:0;color:var(--text-mid,#4a5550);line-height:1.6}
    .customer-logout-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.customer-logout-actions button{min-height:42px;padding:9px 18px;border-radius:9px;font:600 14px/1.2 'DM Sans',sans-serif;cursor:pointer}
    .customer-logout-cancel{border:1px solid var(--border,#d4e8dc);background:#fff;color:var(--green-dark,#1a7a42)}.customer-logout-confirm{border:0;background:#c0392b;color:#fff}.customer-logout-actions button:focus-visible{outline:3px solid #f2b84b;outline-offset:2px}
    body.customer-logout-open{overflow:hidden}
/* Batch 3: shared customer presentation only; admin pages do not get this scope. */
body.customer-ui { --customer-font:'Inter','Segoe UI',system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif; font-family:var(--customer-font); line-height:1.55; }
body.customer-ui img{max-width:100%}
body.customer-ui :is(input,select,textarea){max-width:100%;box-sizing:border-box}
body.customer-ui :is(.card-shell,.card-body,.modal-body,.page-content){min-width:0}
body.customer-ui :is(.table-responsive,.table-wrap){max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
body.customer-ui :is(dialog,.modal-box,.modal-content){box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}
body.customer-ui :is(.filter-bar,.page-header,.modal-footer){flex-wrap:wrap;gap:8px}
@media(max-width:575px){body.customer-ui :is(input,select,textarea){font-size:16px}body.customer-ui :is(.page-title,.section-title){overflow-wrap:anywhere}}
body.customer-ui :is(h1,h2,h3,h4,h5,h6,p,a,button,input,select,textarea,table,label,.product-name,.product-price,.section-title,.hero-title,.support-modal-title,.customer-brand) { font-family:var(--customer-font) !important; }
body.customer-ui :is(h1,h2,h3) { line-height:1.2; letter-spacing:-.025em; }
body.customer-ui :is(h1,h2) { font-weight:650; }
body.customer-ui :is(h3,h4) { font-weight:600; }
body.customer-ui :is(h4,h5,h6) { line-height:1.3; }
.support-modal-panel { position:relative; }
.support-modal-close { width:44px; height:44px; }
.support-modal-body { overflow:hidden; }
.support-fragment { position:relative; overflow:hidden; }
.support-fragment .live-hours-notice { flex-shrink:0; margin:0; padding:8px 14px; border:0; border-bottom:1px solid #d4e8dc; border-radius:0; font-size:12px; }
.support-fragment .live-hours-notice > p:first-child { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.support-fragment .live-hours-notice > p[data-live-hours] { margin:0 0 4px; }
.support-fragment .live-hours-notice details[open] { position:absolute; top:0; left:0; right:0; max-height:55%; overflow:auto; padding:12px 14px; border-bottom:1px solid #d4e8dc; background:#fff; box-shadow:0 8px 18px rgba(0,0,0,.14); z-index:2; }
.support-fragment .live-hours-notice summary { min-height:24px; color:#185a32; }
.support-fragment .live-connection { flex-shrink:0; margin:0; padding:0 14px; min-height:0; }
.support-fragment .live-connection:empty { display:none; }
.support-fragment .chat-area { padding:12px 14px; }
.support-fragment .reply-area { padding:10px 14px; background:#fff; }
.support-fragment textarea { min-height:44px; font-size:14px; line-height:1.4; }
.support-fragment button[type=submit] { min-height:44px; }
body.customer-ui :is(.customer-support-fab,#backToTopBtn) { right:calc(16px + env(safe-area-inset-right,0px)) !important; width:48px !important; height:48px !important; border-radius:50% !important; font-size:22px !important; box-shadow:0 5px 16px rgba(0,0,0,.2) !important; }
body.customer-ui .customer-support-fab { bottom:calc(16px + env(safe-area-inset-bottom,0px)) !important; }
body.customer-ui #backToTopBtn { bottom:calc(76px + env(safe-area-inset-bottom,0px)) !important; }
body.customer-ui #backToTopBtn:focus-visible { outline:3px solid #b77b09; outline-offset:3px; }
body.customer-ui .support-modal { right:calc(16px + env(safe-area-inset-right,0px)); bottom:calc(76px + env(safe-area-inset-bottom,0px)); width:min(400px,calc(100vw - 32px)); }
@media(max-width:420px){.support-modal{right:12px;bottom:72px;width:calc(100vw - 24px)}.support-modal-panel{height:min(560px,calc(100vh - 84px));height:min(560px,calc(100dvh - 84px))}.customer-support-fab{right:12px;bottom:12px}}
@media(max-width:1399px){
 body.customer-ui .location-bar > .container { justify-content:center; flex-wrap:wrap; text-align:center; }
 body.customer-ui .location-bar .location-strong { min-width:0; overflow-wrap:anywhere; }
}
/* Match the mobile brand inset without changing the desktop location row. */
@media(max-width:991.98px){
 body.customer-ui .location-bar > .container { justify-content:flex-start; flex-wrap:nowrap; text-align:left; padding-left:12px; padding-right:12px; }
 body.customer-ui .location-bar .bi { flex-shrink:0; }
 body.customer-ui .location-bar span:not(.location-strong) { white-space:nowrap; }
 body.customer-ui .location-bar .location-strong { flex:1; min-width:0; white-space:normal; overflow-wrap:anywhere; }
}
@media(max-width:575px){
 body.customer-ui .location-bar > .container { padding-left:8px; padding-right:8px; }
}

/* The name occupies a complete grid row, including its divider. */
.customer-account-menu .customer-profile-name{border-bottom:1px solid #d4e8dc;border-radius:0;width:100%;box-sizing:border-box}
.customer-profile-customer .customer-profile-name + .customer-nav-link{border-top:0}
@media(max-width:991.98px){.customer-inner-nav .customer-profile-information .customer-nav-link:first-child{border-top:0}}
.customer-notification-panel[hidden]{display:none}
.customer-notification-panel{position:absolute;top:calc(100% + 12px);right:0;z-index:1046;width:min(390px,calc(100vw - 24px));max-height:calc(100dvh - 110px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box;padding:16px;border:1px solid #d4e8dc;border-radius:14px;background:#fff;box-shadow:0 12px 36px #18412a2e;text-align:left}
.customer-notification-panel h2{font-size:18px;margin:0 0 12px}
.customer-notification-item{padding:12px 0;border-top:1px solid #e4eee8;overflow-wrap:anywhere}
.customer-notification-item.is-unread{border-left:3px solid #185a32;padding-left:10px}
.customer-notification-item h3{font-size:14px;margin:0 0 6px}
.customer-notification-item p{font-size:13px;white-space:pre-line;margin:0 0 6px}
.customer-notification-item small,.customer-notification-item>span{display:block;font-size:12px}
.customer-notification-actions,.customer-notification-footer{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:10px}
.customer-notification-panel :is(a,button){font:inherit;font-size:13px;max-width:100%;white-space:normal}
.customer-notification-panel button{border:1px solid #d4e8dc;border-radius:6px;background:#edfaf3;padding:6px 9px;color:#185a32;cursor:pointer}

/* Keep the header/footer fixed inside a compact, viewport-safe dropdown. */
.customer-notification-panel:not([hidden]){display:flex;flex-direction:column;max-height:min(480px,calc(100dvh - 110px));overflow:hidden;padding:12px;font-family:inherit}
.customer-notification-panel h2{flex:none;font-size:17px;margin:0 0 8px}
.customer-notification-panel [data-notification-items]{min-height:0;overflow-y:auto;overscroll-behavior:contain}
.customer-notification-item{padding:10px 8px;border-bottom:1px solid #d4e8dc;border-top:0}
.customer-notification-item.is-unread{background:#edfaf3;border-left:0;border-radius:8px;padding-left:8px}
.customer-notification-item h3{font-size:14px;color:#183f25;margin-bottom:3px}
.customer-notification-item p{font-size:13px;color:#476250;margin-bottom:5px}
.customer-notification-actions{justify-content:flex-end;align-items:center;gap:8px;margin-top:6px}
.customer-notification-footer{flex:none;border-top:1px solid #d4e8dc;padding-top:8px;margin-top:8px;align-items:center;justify-content:space-between;gap:6px}
.customer-notification-panel :is(.customer-notification-actions,.customer-notification-footer) :is(a,button){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:30px;border:1px solid #d4e8dc;border-radius:6px;padding:5px 8px;background:#fff;color:#185a32;font:inherit;font-size:12px;font-weight:600;text-decoration:none;white-space:normal}
.customer-notification-item>span{font-size:11px;color:#185a32}
