/* Shared geometry for the catalogue, packages and real branch selection. */
:root{--control-height:48px;--card-radius:10px}
.catalog-main,.product-card,.product-details,.club-copy,.club-plan,.box-intro,.box-builder,.cart-item-info{min-width:0}
.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.product-card{display:flex;flex-direction:column}
.product-image{flex:none}
.product-details{display:flex;flex:1;flex-direction:column}
.product-details h3{min-height:2.4em}
.product-description{min-height:0;flex:1;margin-bottom:18px}
.product-bottom{margin-top:auto;flex-wrap:nowrap;min-height:66px}
.product-bottom .price,.subtotal-row>span:last-child,.quantity-row>strong{white-space:nowrap}
.add-button{flex-shrink:0;min-height:var(--control-height);justify-content:space-between}
.view-list{grid-template-columns:1fr}
.view-list .product-card{display:grid;grid-template-columns:180px minmax(0,1fr)}
.view-list .product-details h3{min-height:0}
.club{align-items:start;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.club-plan,.box-builder{max-width:none;justify-self:stretch;border-radius:var(--card-radius)}
.club-plan{border:1px solid var(--line)}
.weekly-box{align-items:start;gap:56px}
.box-builder{padding:28px}
.bread-select-row{display:block;margin:20px 0}
.bread-select-row .field{margin:0}
.field-caption{display:flex;align-items:center;gap:8px;line-height:1.4}
.selection-number{position:static;margin:0;width:23px;height:23px;min-width:23px;font-size:11px;background:white;flex-shrink:0}
.field input,.field select,.box-builder select{min-height:var(--control-height);font-size:16px;border-radius:6px;width:100%;max-width:100%;min-width:0}
.box-builder select{padding:11px 28px 11px 12px}
.box-day-field{margin:20px 0 0}
.choice-detail{display:block;font-size:12px;line-height:1.45;font-weight:400;color:var(--muted);overflow-wrap:anywhere}
.box-builder .box-small{margin-top:12px}
.box-price-row{border-top:1px solid var(--line);padding-top:19px}
.box-breakdown{line-height:1.65}
.box-builder>.button,.club-plan>.button{border-radius:6px;min-height:50px}
.icon-button{flex-shrink:0;min-width:44px;min-height:44px;display:grid;place-items:center;padding:0}
.quantity-row{flex-wrap:wrap;row-gap:10px}
.quantity{flex-shrink:0}
.quantity button{width:36px;height:40px}
.cart-pickup>span:nth-child(2){min-width:0;flex:1;overflow-wrap:anywhere}
.cart-pickup .change-label{flex-shrink:0}
.checkout-row{gap:16px}
.checkout-pickup p,.checkout-pickup small{overflow-wrap:anywhere}
.checkout-pickup small{display:block;line-height:1.7;margin-top:8px}
.checkout-directions{display:inline-block;text-decoration:underline;text-underline-offset:3px;margin-top:10px}
.location-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.location-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-top:4px solid var(--blue);border-radius:var(--card-radius);padding:28px;background:#fff}
.location-card-heading h3{font-size:34px;line-height:1.1;margin:14px 0 18px;min-height:2.2em}
.location-number{display:block;line-height:1.6;font-size:12px;letter-spacing:1.2px}
.location-card address{font-style:normal;font-size:15px;line-height:1.75;color:var(--muted);max-width:48ch;flex:1;overflow-wrap:anywhere}
.location-service{font-size:13px;color:var(--blue);margin:20px 0}
.location-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:18px;border-top:1px solid var(--line)}
.location-actions .button{font-size:14px;gap:20px;border-radius:6px}
.directions-link{font-size:14px;text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center;gap:8px}
.collection-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px;padding:28px;background:#edf6fc;border-radius:var(--card-radius)}
.collection-notes>div{min-width:0}.collection-notes h3{font-size:28px;margin:10px 0}.collection-notes p:not(.eyebrow){font-size:14px;line-height:1.7;color:var(--muted);max-width:48ch}.collection-notes small{display:block;margin-top:12px;color:var(--muted);font-size:12px;line-height:1.6}.collection-notes .text-button{margin-top:8px;display:inline-flex}
.pickup-modal{width:min(560px,calc(100% - 32px))}
.pickup-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.pickup-field-grid .field{min-width:0}
.selected-location{margin-top:14px;padding:17px;background:#edf6fc;border:1px solid var(--line);border-radius:8px}
.selected-location strong{font-size:14px;display:block;line-height:1.5}
.selected-location address{font-style:normal;font-size:13px;line-height:1.65;margin:8px 0;overflow-wrap:anywhere}
.selected-location a{font-size:13px;display:inline-block;text-decoration:underline;text-underline-offset:3px;min-height:32px}
.selected-location small{display:block;font-size:12px;color:var(--muted);line-height:1.5;margin-top:6px}
.floating-cart{bottom:calc(20px + env(safe-area-inset-bottom,0px))}
.cart-footer{padding-bottom:calc(22px + env(safe-area-inset-bottom,0px))}
.modal{overscroll-behavior:contain}
@media(min-width:761px) and (max-width:1100px){
  .product-grid:not(.view-list){grid-template-columns:repeat(2,minmax(0,1fr))}
  .catalog-layout{grid-template-columns:160px minmax(0,1fr);gap:24px}
  .product-details h3{font-size:25px}
  .location-actions{flex-wrap:wrap}
}
@media(max-width:900px){
  .club,.weekly-box{grid-template-columns:minmax(0,1fr);gap:28px}
  .club-copy>p:not(.eyebrow),.club-copy p.club-note,.box-intro>p:not(.eyebrow){max-width:60ch}
  .club-plan{justify-self:stretch}
  .box-photo-strip{max-width:390px}
}
@media(max-width:760px){
  html{scroll-padding-top:122px}
  .wrap{width:calc(100% - 32px)}
  .site-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;min-height:0;padding:12px 0 8px;height:auto}
  .site-header .brand{font-size:26px;gap:8px;min-width:0}.brand-logo{height:42px;width:34px}.brand small{font-size:10px;letter-spacing:3.5px;margin-top:7px}
  .site-header nav{grid-column:1/-1;order:initial;gap:0;justify-content:space-between;padding-top:0;font-size:13px}
  .site-header nav a{min-height:40px;display:flex;align-items:center;justify-content:center;padding:8px 2px;flex:1}
  .site-header .bag-button{grid-column:2;grid-row:1;margin:0;padding:0 3px;min-height:44px}
  .hero-copy{padding:28px 20px;min-height:0}.hero-copy h1{font-size:44px;letter-spacing:0}.hero-foot{gap:8px 16px;line-height:1.5}.hero-foot span+span:before{display:none}
  .section-space{padding-top:38px;padding-bottom:38px}
  .catalog-layout{gap:20px}.catalog-sidebar .filters{flex-wrap:wrap;overflow:visible;gap:8px;padding-bottom:0}.catalog-sidebar .filters button{font-size:13px;padding:10px 11px;min-height:42px}
  .product-grid{grid-template-columns:1fr;gap:32px}
  .product-details h3{min-height:0;font-size:29px}.product-description{margin-bottom:17px}.product-meta{align-items:center;gap:8px;letter-spacing:0}
  .view-list .product-card{grid-template-columns:88px minmax(0,1fr);gap:14px}.view-list .product-details h3{font-size:24px}.view-list .product-bottom{flex-wrap:wrap;gap:12px}.view-list .product-description{font-size:14px}.view-list .product-image{border-radius:7px}
  .club{padding:22px 16px;gap:24px;border-radius:var(--card-radius)}.club h2,.box-intro h2{font-size:42px}.club-plan{padding:22px 16px}.club-lineup li{gap:10px}.club-lineup img{width:43px;height:43px;flex-shrink:0}.club-lineup b{font-size:12px}.club-lineup strong{font-size:13px}
  .club-plan .plan-price{gap:6px 12px}.club-plan .button{font-size:14px;padding-inline:15px}
  .weekly-box{gap:24px}.box-builder{padding:24px 16px}.bread-select-row{margin:18px 0}.box-builder-heading>p{margin-bottom:20px}.box-builder-heading h3{font-size:32px}.box-features{gap:7px}.box-features span{font-size:12px;padding:6px 9px}.box-photo-strip{max-width:none;gap:10px;margin:24px 0}.box-photo-strip img{width:calc((100% - 20px)/3)}
  .location-grid,.collection-notes{grid-template-columns:1fr;gap:18px}.location-card{padding:23px 18px}.location-card-heading h3{font-size:31px;min-height:0;margin:12px 0 15px}.location-card address{font-size:14px}.location-actions{gap:12px;flex-wrap:wrap}.location-actions .button{padding-inline:14px;gap:16px}.location-service{margin:18px 0}.collection-notes{padding:23px 18px;gap:25px}.collection-notes>div+div{border-top:1px solid var(--line);padding-top:23px}
  .modal{padding:20px 16px;max-height:calc(100dvh - 24px);margin-block:auto;border-radius:10px}.dialog-header{gap:14px}.modal .dialog-header h2{font-size:29px}.pickup-field-grid{grid-template-columns:1fr;gap:0}
  .cart-dialog{border-radius:0}.cart-dialog .dialog-header{padding:18px 16px}.cart-scroll{padding:18px 16px 0}.cart-item{grid-template-columns:62px minmax(0,1fr);gap:12px}.cart-item>img{width:62px;height:76px}.plan-thumbnails{width:62px}.plan-thumbnails img{width:47px;height:47px}.plan-thumbnails img:nth-child(2){left:7px}.plan-thumbnails img:nth-child(3){left:14px}.cart-item h3{font-size:15px}.quantity-row>strong{font-size:14px}
  .cart-pickup{display:grid;grid-template-columns:27px minmax(0,1fr) auto;gap:9px;padding:12px}.pickup-pin{width:27px;height:27px}.cart-pickup .change-label{font-size:11px}
  .cart-footer{padding:15px 16px calc(16px + env(safe-area-inset-bottom,0px))}.cart-footer .total-row{gap:12px}.cart-footer .total-row strong{font-size:22px}.subtotal-row{gap:12px}.subtotal-row>span:first-child{min-width:0}
  .floating-cart{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));padding:11px 13px;gap:9px;min-height:52px}.floating-cart strong{font-size:14px}.floating-cart>span:nth-child(2){font-size:13px}.contact-float{display:grid;right:16px;bottom:calc(20px + env(safe-area-inset-bottom,0px));width:48px;height:48px}body:has(.floating-cart:not([hidden])) .contact-float{bottom:calc(84px + env(safe-area-inset-bottom,0px))}.toast{bottom:calc(80px + env(safe-area-inset-bottom,0px))}
  .footer-bottom{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:360px){
  .site-header .brand{font-size:24px}.site-header nav{font-size:12px}.hero-copy h1{font-size:39px}.hero-copy{padding:27px 18px}.menu-note{letter-spacing:0;font-size:11px}.cart-dialog h2{font-size:29px}
  .club{padding:20px 12px}.club-plan{padding:20px 12px}.club-lineup img{width:35px;height:35px}.club-lineup li{gap:7px}.club-lineup strong{font-size:12px}.club-plan .plan-price strong{font-size:26px}
  .view-list .product-card{grid-template-columns:74px minmax(0,1fr);gap:12px}.view-list .product-bottom .add-button{min-width:76px}
}
@media(max-height:600px){
  .cart-dialog[open]{overflow-y:auto;display:block}
  .cart-dialog .dialog-header{position:sticky;top:0;z-index:2}
  .cart-scroll{overflow:visible;min-height:auto}
  .cart-footer{max-height:none;overflow:visible}
}
