:root{--blue:#111;--line:#ddd;color:#111;background:#fff}body{background:#fff}.preview{background:#262626;font-size:.75rem;letter-spacing:.04em}.delivery-banner{background:#000;color:#fff;display:flex;justify-content:center;gap:35px;padding:15px;font-weight:700;font-size:.9rem}.delivery-banner a{background:#fff;color:#000;padding:7px 20px;border-radius:4px}header{background:#000;color:#fff;padding:18px 5%;border:0}.brand img{width:160px;height:80px;object-fit:contain}nav a.active{color:#fff;border-color:#fff}main:has(.home-hero){background:#000;color:#fff;max-width:none;padding:30px 5% 55px}.home-hero{max-width:1100px;margin:auto;text-align:center}.hero-promo{width:100%;height:auto;display:block}.home-hero h1{font-size:clamp(1.4rem,3vw,2.2rem);font-weight:500;letter-spacing:0;margin:30px 0 22px}.location-buttons{display:flex;justify-content:center;gap:25px;flex-wrap:wrap}.location-buttons button{background:white;color:black;border:1px solid #aaa;padding:18px 35px;min-width:230px;border-radius:5px;letter-spacing:.06em}.intro{text-align:center;max-width:850px;margin:60px auto 35px}.intro h2{font-size:2rem}.intro p{color:#ddd}.promo-gallery{max-width:1100px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:22px}.promo-gallery img{width:100%;height:auto;border-radius:6px}.promotion-note{text-align:center;font-size:.85rem;color:#aaa}.contact-row{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;margin:35px 0 0}.contact-row a{background:#fff;color:#000;padding:14px 22px;border-radius:5px;font-size:.85rem;font-weight:700}.eyebrow{color:#555}.product-top{background:#f1f1f1}.product-top span{color:#555}.quiet,.qty button{background:#eee;color:#111}.badge{background:#eee;color:#111}footer{background:#000;color:#fff;align-items:center}.staff-links{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.staff-links span{color:#aaa;font-size:.8rem}.public-copy{max-width:850px;margin:20px auto 60px}.public-copy h1{font-size:2.7rem}.public-copy .location-buttons{margin-top:30px}details{border-bottom:1px solid #ddd;padding:22px 0}summary{cursor:pointer;font-size:1.1rem;font-weight:650}dialog{border:0;border-radius:15px;padding:28px;max-width:520px;width:calc(100% - 40px);text-align:center}dialog::backdrop{background:#000}dialog img{width:85px;height:85px;object-fit:contain;border-radius:12px;margin-bottom:18px}dialog button{margin:5px 0}dialog p{font-size:.85rem}dialog h2{font-size:1.4rem}@media(max-width:760px){header{justify-content:center}.brand img{width:125px;height:65px}nav{margin:0}.delivery-banner{gap:18px;align-items:center;font-size:.8rem}.promo-gallery{grid-template-columns:1fr}.intro{margin-top:40px}.location-buttons{gap:14px}.location-buttons button{width:100%}.staff-links{gap:16px}main:has(.home-hero){padding-top:20px}}
.category-tabs{display:flex;gap:8px;overflow-x:auto;padding:0 0 18px;margin:20px 0;scrollbar-width:thin}.category-tabs button{background:#f3f3f3;color:#333;white-space:nowrap;border-radius:30px;padding:12px 18px;border:1px solid #ddd;font-size:.9rem}.category-tabs button.selected{background:#111;color:white;border-color:#111}.category-tabs span{margin-left:9px;opacity:.65}.menu-note{padding:14px 18px;border-left:3px solid #111;background:#f5f5f5;font-size:.85rem}.result-count{font-size:.9rem;margin-bottom:18px;color:#666}.product-top{min-height:100px;align-items:start;justify-content:center;flex-direction:column;gap:10px;padding:20px}.product-top strong{font-size:1.1rem}.product h3{min-height:48px;line-height:1.35}.reference-price{display:block;color:#777;font-size:.75rem;margin-top:4px}.source-link{display:inline-block;margin-top:18px;font-size:.8rem;color:#666;text-decoration:underline}.buy button{padding:10px 14px;font-size:.85rem}.empty button{display:block;margin-top:15px}.tools select{max-width:190px}@media(max-width:760px){.products{grid-template-columns:repeat(2,minmax(0,1fr))}.product h3{font-size:1rem;min-height:65px}.tools select{max-width:none;width:100%}.category-tabs{margin-top:15px}.menu-note{line-height:1.5}}
.product-photo{background:#fafafa;aspect-ratio:1;display:flex;align-items:center;justify-content:center;position:relative;padding:15px;overflow:hidden}.product-photo img{width:100%;height:100%;object-fit:contain;transition:transform .2s}.product:hover .product-photo img{transform:scale(1.035)}.product-photo.placeholder{background:#0b0b0b;flex-direction:column;padding:35px}.product-photo.placeholder img{max-height:160px;max-width:160px}.product-photo.placeholder span{position:absolute;bottom:14px;color:#aaa;font-size:.75rem}.product-top{min-height:65px;padding:12px 20px;gap:5px}.product-top strong{font-size:.95rem}.product-top span{font-size:.75rem}@media(max-width:760px){.product-photo{padding:10px}.product-photo.placeholder{padding:25px}.product-top{padding:12px 14px}.product-photo.placeholder span{font-size:.7rem;bottom:8px}}
.login-panel{max-width:500px;margin:25px auto}.login-panel h1{font-size:2rem}.employee-toolbar{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:16px 20px;background:#111;color:white;border-radius:10px;margin-bottom:30px;font-size:.9rem}.employee-toolbar span{color:#aaa}.employee-toolbar a{text-decoration:underline}.employee-toolbar button{margin-left:auto}.permission-list{display:flex;gap:10px;flex-wrap:wrap}.permission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.permission-grid label,.check-label{display:flex;gap:9px;align-items:center;font-weight:400;font-size:.9rem}.permission-grid input,.check-label input{width:18px;height:18px;margin:0}.employee-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.employee-list{display:grid;gap:20px;margin-top:25px}#login-error{color:#b21b1b}@media(max-width:760px){.permission-grid{grid-template-columns:1fr 1fr}.employee-fields{grid-template-columns:1fr}.employee-toolbar{gap:12px}.employee-toolbar button{margin:0}}
 .enrichment-field{display:block;padding:16px;border:1px solid #ddd;margin:12px 0}.enrichment-field img{display:block;object-fit:contain;margin:12px 0}.product-description{font-size:14px;line-height:1.5;color:#555}
 .product-photo.brand-fallback{background:#000;color:#fff;padding:40px;flex-direction:column}.product-photo.brand-fallback img{max-width:230px;max-height:180px;object-fit:contain;filter:brightness(0) invert(1)}.product-photo.brand-fallback span{position:absolute;bottom:14px;font-size:12px;color:#aaa}.brand-name-tile{text-align:center;display:flex;flex-direction:column;gap:18px;padding:25px}.brand-name-tile strong{font-size:clamp(22px,3vw,36px);font-weight:900;letter-spacing:1px;line-height:1.1}.brand-name-tile small{color:#aaa;font-size:12px}


.product-photo.brand-fallback img[src*="logo-eighthbrother"]{filter:none}
 .product{display:flex;flex-direction:column;height:100%}.product-photo{flex-shrink:0}.product-top{height:76px;min-height:76px;justify-content:center}.product-body{display:flex;flex-direction:column;flex:1;gap:10px}.product-body>.meta:first-child{min-height:36px;line-height:18px}.product h3{height:72px;min-height:72px;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.product-description{height:84px;min-height:84px;margin:0;line-height:21px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.product-body>.meta{min-height:20px}.buy{margin-top:auto;display:grid;grid-template-columns:1fr;gap:14px;padding-top:14px}.buy>div{min-height:44px}.buy button{width:100%;min-height:44px}.source-link{margin:0;min-height:20px}.intake-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}textarea{width:100%;font:inherit;border:1px solid #bfcce0;border-radius:8px;padding:12px;resize:vertical;margin-top:7px}.intake-grid hr{border:0;border-top:1px solid #ddd;margin:30px 0}@media(max-width:760px){.intake-grid{grid-template-columns:1fr}.product-top{height:80px;min-height:80px}.product-body{padding:14px}.product h3{height:81px;min-height:81px;line-height:27px}.product-description{font-size:13px}.buy button{padding:10px}}
.product-photo.brand-fallback img[data-logo-treatment="original"]{filter:none}

.customer-category{display:block;font-size:12px;font-weight:400;line-height:1.4;color:#52627a;margin-bottom:6px;overflow-wrap:anywhere}.tax-address-fields{margin:16px 0;padding:12px;border:1px solid #c8d0da;border-radius:8px}.tax-address-fields summary{font-weight:600;cursor:pointer}.tax-address-fields button{margin:8px 0;white-space:normal}
.customer-option-selector{display:block;font-size:13px;margin:8px 0}.customer-option-selector select{width:100%;min-height:44px;font-size:13px;border:1px solid #ddd;border-radius:4px;padding:6px;margin-top:4px}

/* Customer menu stays one card wide on phones. Staff tables keep their layout. */
@media(max-width:767px){body:not(.staff-page) #app .products{grid-template-columns:minmax(0,1fr)!important;min-width:0}body:not(.staff-page) #app .layout{grid-template-columns:minmax(0,1fr)}body:not(.staff-page) #app .products>*{min-width:0;max-width:100%}}

/* Mobile menu account actions and cart use the same checkout form as desktop. */
.mobile-menu-account,.mobile-cart-launcher{display:none}
@media(max-width:767px){
 body[data-page="shop"] #app{padding-bottom:100px}
 .mobile-menu-account:not([hidden]){display:flex;gap:12px;justify-content:flex-end;margin:0 0 18px}
 .mobile-menu-account button{min-height:44px;min-width:100px}
 .mobile-cart-launcher{display:block;position:fixed;bottom:max(12px,env(safe-area-inset-bottom));left:12px;right:12px;width:calc(100% - 24px);min-height:52px;z-index:60;background:#0953ff;color:#fff;border:1px solid #0953ff;box-shadow:0 4px 22px #12234444;border-radius:12px;font-weight:700}
 #mobile-cart{width:calc(100% - 24px);max-width:540px;max-height:calc(100dvh - 24px);padding:0;border:1px solid #c1d8f5;border-radius:16px;overflow:auto;text-align:left;color:#12203d;background:white}
 #mobile-cart::backdrop{background:#071a36b3}
 #mobile-cart .mobile-cart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;z-index:2;background:#eef6ff;padding:16px;border-bottom:1px solid #c1d8f5}
 #mobile-cart .mobile-cart-toolbar h2{font-size:1.3rem;margin:0;padding:0;background:none;color:#123f73}
 #mobile-cart .mobile-cart-toolbar button{min-height:44px;max-width:180px;padding:10px 12px;color:#123f73;background:#fff;border:1px solid #8eb9e6;font-size:.9rem}
 #mobile-cart .basket{position:static;max-width:none;width:100%;padding:20px;border:0;border-radius:0;box-shadow:none;min-width:0}
 #mobile-cart .basket>h2{display:none}
 #mobile-cart .line{gap:12px}
 #mobile-cart .line>div:first-child{min-width:0;overflow-wrap:anywhere}
 #mobile-cart .qty{flex-shrink:0}
 #mobile-cart .qty button{min-width:36px;min-height:40px}
 #mobile-cart .social-actions{display:flex;gap:10px;flex-wrap:wrap}
 #mobile-cart input,#mobile-cart select{font-size:16px}
}

@media(max-width:767px){body[data-page="shop"]:has(.mobile-cart-launcher) .bleu-assistant{bottom:calc(78px + env(safe-area-inset-bottom))}}

@media(max-width:767px){#mobile-menu-account [data-customer-signup],#mobile-cart [data-customer-signup]{background:#0953ff;color:#fff;border:1px solid #0953ff}#mobile-menu-account [data-customer-login],#mobile-cart [data-customer-login]{background:#eef6ff;color:#123f73;border:1px solid #8eb9e6}}

/* The white Bleu logo needs a dark surface inside the age confirmation. */
#age{max-width:420px;padding:28px;border:1px solid #bdd7f4;border-radius:18px;color:#12203d;background:#fff}
#age .age-brand{display:flex;align-items:center;justify-content:center;padding:16px 20px;min-height:90px;margin:0 0 24px;border-radius:12px;background:#07192d}
#age .age-brand img{display:block;width:100%;max-width:260px;height:auto;object-fit:contain;border-radius:0;margin:0}
#age::backdrop{background:#07192de6}
#age #age-yes{min-height:48px;background:#0953ff;color:#fff;border:1px solid #0953ff}
#age #age-no{min-height:44px;background:#eef6ff;color:#123f73;border:1px solid #8eb9e6}

.checkout-feedback{padding:14px;margin:16px 0;border:1px solid #e8a7a7;border-radius:10px;background:#fff4f4;color:#8b1f28;text-align:left;line-height:1.5;overflow-wrap:anywhere}
.checkout-feedback[hidden]{display:none}
.checkout-feedback[data-state="pending"]{border-color:#a8c7ef;background:#eef6ff;color:#123f73}
.checkout-confirmation{border-color:#8eb9e6;background:#eef6ff;margin-bottom:24px}
.checkout-confirmation h2{color:#123f73;font-size:1.5rem}
