/* BOXE storefront refresh. Kept separate for a reversible release. */
:root{--muted:#716157}
.category-about{margin:12px 0 20px}.category-about summary{font-size:14px;cursor:pointer;padding:8px 0;color:#69564b}.category-about p{font-size:15px;line-height:1.6;margin-top:12px}
.filter-disclosure{margin:20px 0}.filter-disclosure>summary{padding:14px;border:1px solid #d6c6b8;border-radius:10px;cursor:pointer;font-size:14px;font-weight:600}.field-error{color:#9d302a;font-size:14px;margin:6px 0 12px}[aria-invalid=true]{border-color:#9d302a!important}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{overflow-wrap:break-word}
img{max-width:100%}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:3px solid #b85c35;outline-offset:4px}
.skip-link{position:fixed;top:-100px;left:16px;z-index:10000;background:#fff;padding:12px}.skip-link:focus{top:12px}
.field-label{font-size:14px!important;color:#5d493e!important;letter-spacing:0!important;text-transform:none!important;font-weight:600}
.field-input,.catalog-filters input,.catalog-filters select{min-height:46px;font-size:16px;max-width:100%;border:1px solid #b9a79a;border-radius:8px;background:var(--surface-soft);padding:10px 12px;color:#362320}
.field-input::placeholder{color:#77685e;opacity:1}
.field-input:focus{border-color:#89543e}
.form-help,.checkout-note,.product-detail__note{font-size:14px;line-height:1.6;color:#69564b}
.form-help a,.text-link{text-decoration:underline;text-underline-offset:4px}
.btn{min-height:44px;white-space:normal;text-align:center}
.mobile-menu__cta,.mobile-menu-panel .btn--primary{background:#362320!important;color:#fff!important}
.mobile-menu-panel__inner a.mobile-menu-panel__cta{color:#fff!important;background:#362320!important}
.home-categories{padding:42px 0}.home-categories .catalog-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
.catalog-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:8px;padding:22px;background:var(--surface-card);border:1px solid var(--line);border-radius:14px;transition:transform .15s,border-color .15s}
.catalog-tile:hover{transform:translateY(-3px);border-color:#a56e50}
.catalog-tile__image{width:100%;height:150px;object-fit:contain;margin-bottom:8px}
.catalog-tile__name{font-size:20px;line-height:1.25}.catalog-tile__count{color:#69564b;font-size:14px}.catalog-tile__arrow{position:absolute;right:20px;bottom:20px}
.category-disclosure>summary{font-weight:600;cursor:pointer;padding:12px 0;min-height:44px}.category-sidebar__title{display:none}
.category-main,.checkout-form,.checkout-summary,.product-detail__info,.cart-row__body{min-width:0}
.catalog-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;background:var(--surface-soft);border:1px solid #dfd1c3;padding:18px;border-radius:12px;margin:24px 0}
.catalog-filters label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}.catalog-filters input,.catalog-filters select{width:100%}.filter-search{grid-column:span 2}.filter-actions{display:flex;align-items:center;gap:16px}.filter-count{grid-column:1/-1;font-size:13px;color:#69564b;margin:0}
.product-card__name{font-size:16px;line-height:1.4}.product-card__pack,.price-per-unit{color:#69564b!important;font-size:14px!important}.product-card__photo img{object-fit:contain}
.btn-add{width:auto!important;min-width:100px;height:42px!important;padding:8px 12px!important;border-radius:8px!important;font-size:14px!important}
.product-card__row{flex-direction:column;align-items:stretch;gap:12px}.product-card__price{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline}.product-card__price .price-per-unit{width:100%;margin:0}.card-add .btn-add{width:100%!important}.qty-stepper--card{height:44px!important;justify-content:space-between}.qty-stepper--card .qty-stepper__value{height:auto!important}.product-card__name{min-height:0;height:auto;overflow:visible}
.qty-stepper__value{min-width:60px!important;font-size:14px}.qty-stepper__btn{min-height:44px;min-width:40px}.qty-stepper--card{width:auto!important}
.product-article{font-size:13px;color:#69564b}.order-terms{padding:18px;background:var(--surface-soft);border-radius:10px;margin:22px 0;font-size:14px;line-height:1.75}.spec-table{display:grid;grid-template-columns:1fr 1fr;gap:0;font-size:14px}.spec-table dt,.spec-table dd{padding:12px 0;border-bottom:1px solid #e2d7cc;margin:0}.spec-table dt{color:#69564b}.spec-table dd{font-weight:600}.mobile-buy-bar{display:none}
.brief-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.brief-grid label{display:block}.brief-grid input{width:100%}
.cart-summary__warning{font-size:14px;line-height:1.6;color:#61432f;background:#fff0da}.cart-undo{padding:16px;background:#efe5d7;margin:16px 0;border-radius:8px}.cart-undo button{margin-left:12px;text-decoration:underline;min-height:44px}.empty-state{padding:32px;border:1px solid #dacaba;border-radius:12px;line-height:1.7}.empty-state .btn{margin:12px 8px 0 0}.cart-row__price{font-size:14px!important;color:#69564b!important}.cart-row__total{white-space:nowrap}
.checkout-summary__qty{font-size:13px;color:#69564b}.checkout-errors:focus{outline:3px solid #b85c35}.checkout-errors{line-height:1.7}.checkout-section{scroll-margin-top:100px}
.product-gallery__img{cursor:zoom-in}.photo-dialog{border:0;padding:16px;border-radius:12px;max-width:94vw;max-height:94vh;background:#fff}.photo-dialog::backdrop{background:#231b16bf}.photo-dialog img{max-height:78vh;object-fit:contain}.photo-dialog button{display:block;margin-left:auto;min-height:44px;min-width:90px}
.footer a{min-height:32px;display:inline-flex;align-items:center}.footer__muted{color:#716157}
@media(max-width:900px){.catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.home-categories .catalog-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.custom-banner{flex-direction:column;align-items:flex-start}.category-layout{grid-template-columns:1fr}.category-sidebar{position:static;width:auto!important}.category-tree__sub{display:none}.category-disclosure{border:1px solid #d6c6b8;border-radius:10px;padding:0 14px}.category-disclosure>summary{list-style-position:inside}.steps-grid{gap:18px}}
@media(max-width:600px){
 .header .logo{min-width:0;flex:1}.header .logo__img{width:110px!important;height:auto!important;max-width:100%}.catalog-toggle,.mobile-menu-toggle{flex-shrink:0}.cart-pill{gap:5px!important;padding:9px 8px!important}.cart-pill__count{font-size:11px!important;padding:3px 6px!important}.header .cart-wrap{margin-left:0!important}.section-head{flex-wrap:wrap}.section-head__link{white-space:normal!important}.topbar__hours{font-size:10px}
 .wrap{width:auto!important;max-width:100%!important;margin-left:16px!important;margin-right:16px!important;padding-left:0!important;padding-right:0!important}
 .hero{padding:28px 0!important}.hero__inner{display:flex!important;flex-direction:column!important;gap:20px}.hero__text{order:0!important}.hero__art{order:1!important;width:100%;max-height:210px}.hero__box-photo{height:210px!important}.hero h1{font-size:32px!important;line-height:1.13}.hero__lead{font-size:15px;margin-top:16px}.hero__cta{display:flex!important;flex-wrap:wrap;margin-top:18px}.hero__cta .btn{width:auto!important;flex:1 1 auto;font-size:14px;padding:12px 14px}.hero-facts{gap:6px;font-size:12px;margin-top:14px}.hero-facts span{padding:6px 10px}
 .home-categories{padding:28px 0}.catalog-tiles,.home-categories .catalog-tiles{gap:12px}.catalog-tile{padding:14px}.catalog-tile__image{height:110px}.catalog-tile__name{font-size:16px}.catalog-tile__count{font-size:12px}.catalog-tile__arrow{display:none}
 .section-head{align-items:flex-start;gap:12px}.section-head h2{font-size:25px}.section-head__link{font-size:13px}
 .steps-grid{grid-template-columns:1fr}.steps-section{padding:30px 0}.custom-banner{padding:22px;margin:28px 16px!important}.custom-banner h2{font-size:25px}
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.product-card{min-width:0}.product-card__body{padding:12px!important}.product-card__name{font-size:14px!important;overflow-wrap:anywhere}.product-card__bottom{flex-wrap:wrap;gap:10px}.product-card .price-now{font-size:19px}.product-card__pack,.product-card .price-per-unit{font-size:12px!important}.card-add{width:100%}.card-add .btn-add{width:100%!important}.qty-stepper--card{justify-content:space-between;width:100%!important}.qty-stepper--card .qty-stepper__btn{min-width:30px;width:30px}.qty-stepper--card .qty-stepper__value{min-width:38px!important;font-size:12px}
 .catalog-filters{padding:12px;gap:10px}.filter-search,.filter-actions{grid-column:1/-1}.filter-actions .btn{flex:1}.category-page{padding-top:22px}.subcat-chips{gap:8px}.subcat-chip{font-size:13px;min-height:40px}
 .product-detail{gap:22px}.product-detail__info h1{font-size:27px}.product-detail__buy{display:flex;flex-wrap:wrap;gap:12px}.product-detail__add{flex:1;min-width:180px}.mobile-buy-bar{display:block;position:fixed;bottom:12px;left:16px;right:16px;background:#362320;color:white;padding:15px 12px;text-align:center;border-radius:10px;z-index:80;font-size:14px;box-shadow:0 4px 20px #36232030}.product-detail-page{padding-bottom:80px}
 .checkout-grid,.checkout-row,.brief-grid{grid-template-columns:1fr!important}.checkout-summary{position:static!important;padding:18px!important}.checkout-section{padding:18px!important}.type-toggle{display:flex;flex-wrap:wrap}.type-toggle__btn{flex:1;min-height:44px;padding:10px!important;font-size:13px!important}.radio-cards{grid-template-columns:1fr!important}.radio-card{min-width:0;white-space:normal}
 .cart-row{grid-template-columns:56px minmax(0,1fr)!important;gap:12px!important}.cart-row__photo{width:56px!important;height:64px!important}.cart-row__qty-group{grid-column:2;justify-content:flex-start;flex-wrap:wrap}.cart-row__total{grid-column:2;font-size:18px}.cart-summary{padding:18px!important;min-width:0}.checkout-page h1,.cart-page h1{font-size:30px}.breadcrumb{font-size:12px;flex-wrap:wrap}
 .search-panel{left:0!important;right:0!important;width:auto!important;max-width:calc(100vw - 32px);margin:auto}.search-result{min-width:0;grid-template-columns:40px minmax(0,1fr)!important}.search-result__price{grid-column:2}.search-result__name{overflow-wrap:anywhere}.header__inner{gap:8px!important}.cart-preview{max-width:calc(100vw - 32px)}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}

/* V2: keep original brand, add only approved sections. */
.footer__col{min-width:0;overflow-wrap:anywhere}.footer__inner{min-width:0}
#qtySubtotal{white-space:nowrap;flex-shrink:0}
@media(max-width:600px){.product-detail__buy{flex-wrap:wrap;scroll-margin-top:85px}.product-detail__add{width:100%;flex-basis:100%;justify-content:center}}
.mobile-buy-bar button{border:1px solid var(--line);border-radius:var(--radius-s);background:var(--surface-card);color:var(--ink);padding:10px 14px;font:inherit;font-weight:700;min-height:44px;cursor:pointer}.mobile-buy-bar a{padding:8px 0}
@media(max-width:600px){.mobile-buy-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px}}
.hero-terms{font-size:13px;margin:18px 0 0;color:var(--ink-soft)}
.home-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.home-category{display:flex;flex-direction:column;gap:10px;padding:18px;background:var(--surface-card);border:1px solid var(--line);border-radius:var(--radius-m);box-shadow:var(--shadow-card)}
.home-category img{width:100%;height:165px;object-fit:contain}.home-category span{font-weight:700;line-height:1.4}.home-category small{color:var(--accent-dark);margin-top:auto}.home-category:hover{border-color:var(--accent)}
.catalog-tile{background:var(--surface-card)!important}.product-detail__price .price-now small{font-family:var(--font-body);font-size:14px;font-weight:500}
.cart-continue{margin:10px 0 16px}#cartSuggestions{margin-top:48px}#cartUndo{padding:12px;background:var(--surface-card);border:1px solid var(--line);border-radius:var(--radius-s);margin:16px 0}.order-success__items{text-align:left;font-size:14px;line-height:1.8}
.product-card__row .card-add{width:100%;flex-grow:0}.product-card__row .qty-stepper--card{width:100%!important}
@media(min-width:601px){.product-card__name{font-size:14.5px}.product-card__pack{font-size:11.5px!important}.price-per-unit{font-size:13px!important}}
@media(max-width:900px){.home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hero__text{display:flex;flex-direction:column}.hero__text .eyebrow{order:0}.hero__text h1{order:1}.hero__cta{order:2}.hero-terms{order:3;margin:12px 0;font-size:12px}.hero__lead{order:4;font-size:14px;line-height:1.55;margin-top:10px}.hero__cta .btn{font-size:12px}.home-category-grid{gap:12px}.home-category{padding:12px;gap:8px}.home-category img{height:115px}.home-category span{font-size:14px}.home-category small{font-size:12px}.home-categories h2{font-size:27px}.cart-continue{width:100%;font-size:13px}.product-detail__price{flex-wrap:wrap}.card-add .btn-add{font-size:12px!important}}

/* Visible customer account access in the main sticky header. */
.header__inner{gap:14px}.header__links{gap:12px}
.account-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid #362320;border-radius:5px;background:#f2e2c5;color:#362320;font-size:13px;font-weight:700;white-space:nowrap;flex-shrink:0}
.account-button:hover{background:#e8d1aa}.account-button svg{flex-shrink:0}
@media(min-width:1081px) and (max-width:1280px){.header .logo__img{height:40px}.header__links{font-size:12px;gap:10px}.quick-request-toggle{font-size:12px;padding:10px}.header__inner{gap:10px}.account-button{padding:10px;font-size:12px}}
@media(max-width:600px){.header__inner{flex-wrap:wrap}.account-button{order:10;width:100%;min-height:40px;padding:8px 14px}}

/* Keep catalog and search controls separated at every desktop width. */
.header .search-wrap{margin-left:0;flex-shrink:0}
.header .catalog-toggle{flex-shrink:0}

/* Reserve room for all header actions; use the menu before controls become crowded. */
@media(min-width:1081px){.header .logo__img{height:40px}.header__links{font-size:12px;gap:10px}.quick-request-toggle{font-size:12px;padding:10px}.header__inner{gap:10px}.account-button{padding:10px;font-size:12px}}
@media(min-width:1081px) and (max-width:1150px){.header__links,.quick-request-toggle,.search-wrap{display:none}.mobile-menu-toggle{display:flex}}

/* Separate white packaging from its backdrop without recoloring product images. */
.product-card__photo,.product-detail__photo,.photo-dialog{background:#d8c3a5}
