/* Lavalle: a clear shop counter, with the existing leaf-green identity. */
/* Retain catalog hooks without displaying the removed heading/filter controls. */
.fresh-store .products-heading[hidden]{display:none!important}
.fresh-store{--shop-green:#426c0b;--shop-ink:#263b1c;--shop-border:#dde5d5}
.fresh-store :is(button,a,input,select):focus-visible{outline:3px solid #426c0b;outline-offset:4px}
.fresh-store .hero-content h1{font-weight:900;font-size:clamp(28px,3.4vw,44px);letter-spacing:-.045em}
.fresh-store .hero-market{height:248px;min-height:248px;border:1px solid #dce8ce}
.fresh-store .hero-content{height:248px;min-height:248px}
.fresh-store .hero-copy{max-width:360px;font-size:14px;line-height:1.6;color:#4b6040}
.fresh-store .hero-cta{background:#426c0b;color:#fff;border-radius:12px}
.fresh-store .search-control{border-color:#d9e3ce;background:#fff;border-radius:14px}
.fresh-store .search-control:focus-within{border-color:#52820d;box-shadow:0 0 0 3px #76ab181a}
.fresh-store .products-heading{align-items:end;gap:18px;flex-wrap:wrap}
.fresh-store .products-tools{display:flex;align-items:end;flex-wrap:wrap;gap:12px;max-width:100%}
.catalog-sort{display:grid;gap:5px;font-size:11px;font-weight:700;color:#5a684e}
.catalog-sort select{font:inherit;font-size:13px;color:#263b1c;background:#fff;border:1px solid #dde5d5;border-radius:12px;min-height:44px;padding:10px 30px 10px 12px;max-width:100%}
.fresh-store .product-card{border-radius:16px;overflow:hidden}
.fresh-store .product-info h3{min-height:40px}
.fresh-store .product-photo{aspect-ratio:1/1!important;padding:0;overflow:hidden;background:#fcfdfa}
/* Fill photo frames without stretching the uploaded originals. */
.fresh-store .product-photo>img{display:block;width:100%!important;height:100%!important;padding:0!important;object-fit:cover!important;object-position:center!important;transform:none}
.fresh-store .product-card:hover .product-photo>img{transform:none}
.fresh-store .product-buy{gap:8px;flex-wrap:wrap}
.fresh-store .add-button,.fresh-store .quantity button{background:#426c0b}
.fresh-store .product-info>p{color:#536744;font-size:11px}
.fresh-store .floating-cart button{background:#426c0b}
.catalog-cart-open{overflow:hidden}
.catalog-cart-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(480px,100%);height:100dvh;max-height:100dvh;max-width:100%;padding:0;border:0;border-radius:24px 0 0 24px;color:#263b1c;background:#fff;box-shadow:-16px 0 60px #18220c22}
.catalog-cart-drawer[open]{display:flex;flex-direction:column}
.catalog-cart-drawer::backdrop{background:#14200c70;backdrop-filter:blur(3px)}
.catalog-cart-drawer .cart-drawer-heading{position:static;display:flex;justify-content:space-between;align-items:center;flex-shrink:0;padding:24px;border-bottom:1px solid #dde5d5;background:#f7faf3}
.cart-drawer-heading p{margin:0 0 4px;font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#597443}
.cart-drawer-heading h2{margin:0;font-size:26px;letter-spacing:-.03em}
.cart-drawer-close{width:44px;height:44px;font-size:26px;border:1px solid #dde5d5;background:#fff;border-radius:50%;color:#263b1c;cursor:pointer}
.cart-drawer-lines{overflow:auto;flex:1;min-height:0;padding:0 24px;overscroll-behavior:contain}
.cart-drawer-line{display:grid;grid-template-columns:1fr auto;gap:10px;padding:22px 0;border-bottom:1px solid #e7eae3}
.cart-drawer-line h3{grid-column:1/-1;margin:0;font-size:16px}
.cart-drawer-line p{grid-column:1/-1;margin:0;font-size:12px;color:#687165}
.cart-drawer-controls{display:flex;align-items:center;gap:10px}
.cart-drawer-controls button{min-width:44px;min-height:44px;border:1px solid #dce6d1;border-radius:10px;background:#f3f7ed;color:#426c0b;font:700 21px system-ui;cursor:pointer}
.cart-drawer-controls span{min-width:60px;text-align:center;font-size:13px;font-weight:700}
.cart-drawer-line-total{align-self:center;font-variant-numeric:tabular-nums}
.cart-drawer-remove{justify-self:start;padding:4px 0;min-height:32px;border:0;background:transparent;font:inherit;font-size:12px;color:#6a4435;text-decoration:underline;cursor:pointer}
.catalog-cart-drawer .cart-drawer-footer{flex-shrink:0;margin:0;padding:22px 24px max(22px,env(safe-area-inset-bottom));background:#f7faf3;border-top:1px solid #dde5d5;color:#263b1c}
.cart-drawer-footer>div{display:flex;justify-content:space-between;gap:16px;font-size:13px;align-items:center}
.cart-drawer-total{font-size:25px;font-variant-numeric:tabular-nums}
.cart-drawer-footer .cart-drawer-note{margin:10px 0 18px;color:#64745a;line-height:1.5;font-size:12px}
.cart-drawer-checkout,.cart-drawer-keep{display:block;min-height:48px;width:100%;font:800 14px Nunito,system-ui,sans-serif;cursor:pointer;border:0;border-radius:12px}
.cart-drawer-checkout{background:#426c0b;color:#fff}
.cart-drawer-keep{margin-top:8px;background:transparent;color:#426c0b}
.catalog-cart-drawer button:disabled{opacity:.45;cursor:not-allowed}
.cart-drawer-empty{padding:32px 0;color:#687165;line-height:1.7}
.fresh-store .floating-cart{bottom:calc(16px + env(safe-area-inset-bottom,0px))}
.weight-picker{width:min(440px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid #dde5d5;border-radius:24px;padding:28px;color:#263b1c;background:#fff;box-shadow:0 20px 80px #14200c30}
.weight-picker::backdrop{background:#14200c70;backdrop-filter:blur(3px)}
.weight-close{float:right;width:40px;height:40px;border:0;border-radius:50%;background:#f0f5e9;color:#426c0b;font-size:24px;cursor:pointer}
.weight-eyebrow{margin:0 0 8px;color:#597443;font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.weight-picker h2{margin:0;font-size:25px;letter-spacing:-.03em;line-height:1.2;clear:both}
.weight-product{font-size:13px;line-height:1.5;color:#687165}
.weight-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:20px 0}
.weight-presets button{min-height:44px;padding:8px 4px;border:1px solid #dde5d5;border-radius:12px;background:#f7faf3;color:#426c0b;font:700 14px Nunito,system-ui;cursor:pointer}
.weight-presets button[aria-pressed=true]{background:#426c0b;color:#fff;border-color:#426c0b}
.weight-picker button:disabled{opacity:.4;cursor:not-allowed}
.weight-picker label{display:block;font-size:13px;font-weight:700;margin-bottom:8px}
.weight-custom{display:grid;grid-template-columns:1fr 110px;gap:8px}
.weight-custom input,.weight-custom select{width:100%;min-width:0;min-height:48px;padding:10px 12px;border:1px solid #cbd8be;border-radius:12px;font:16px Nunito,system-ui;color:#263b1c;background:#fff}
#weightHelp{font-size:11px;color:#687165}
#weightError{font-size:12px;color:#a02f21;min-height:18px}
.weight-subtotal{display:block;font-size:20px;font-weight:800;min-height:30px;margin:14px 0}
.weight-confirm{width:100%;min-height:48px;border:0;border-radius:12px;background:#426c0b;color:#fff;font:800 15px Nunito,system-ui;cursor:pointer}
@media(max-width:780px){
 .fresh-store .hero-market,.fresh-store .hero-content{height:190px;min-height:190px}
 .fresh-store .hero-content{width:85%;padding:20px}
 .fresh-store .hero-content h1{font-size:29px}
 .fresh-store .hero-copy{display:none}
 .fresh-store .products-heading>div:first-child{width:100%}
 .fresh-store .products-tools{display:grid;grid-template-columns:1fr 1fr;width:100%;align-items:end;gap:8px}
 .fresh-store .category-picker-toggle{min-height:44px;font-size:12px;padding:10px;max-width:100%;border-radius:12px}
 .catalog-sort select{width:100%;font-size:12px}
 .fresh-store .product-info h3{min-height:36px}
 .fresh-store .product-buy strong{font-size:20px}
 .catalog-cart-drawer{border-radius:0}
}

/* Fade only the edges into the page; keep the façade at full opacity. */
.fresh-store .storefront-photo {
  display: block;
  width: 100%;
  height: auto;
  --storefront-fade: linear-gradient(to bottom, transparent, #000 clamp(24px, 4vw, 52px), #000 calc(100% - clamp(42px, 7vw, 86px)), transparent);
  -webkit-mask-image: var(--storefront-fade);
  mask-image: var(--storefront-fade);
}
@media (max-width: 780px) {
  .fresh-store .storefront-photo {
    min-height: clamp(280px, 46svh, 410px);
    object-fit: cover;
    object-position: 52% center;
  }
}
.fresh-store .storefront-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
