@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Fraunces:opsz,wght,SOFT@9..144,600,65;9..144,750,65&display=swap');
:root{--bg:#F8F4E8;--paper:#FFFCF5;--ink:#164A47;--green:#164A47;--muted:#55635b;--line:#DDD3BE;--orange:#ef7849;--yellow:#F5BD4F;--shadow:0 8px 24px #283c2110}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px 'DM Sans',system-ui,sans-serif}h1,h2,h3,p{margin:0}h1,h2{font-family:Fraunces,Georgia,serif}h1{font-size:clamp(2.5rem,6vw,5.2rem);line-height:.98;letter-spacing:-.05em}h2{font-size:clamp(1.7rem,4vw,3rem);letter-spacing:-.04em;line-height:1.04}h3{font-size:1.08rem}p{line-height:1.5}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #d3602c;outline-offset:3px}button:disabled{opacity:.46;cursor:not-allowed}button{color:inherit}.wrap{width:min(1190px,calc(100% - 56px));margin:auto}.top{border-bottom:1px solid var(--line);background:var(--paper)}.top-inner{min-height:80px;display:flex;justify-content:space-between;align-items:center;gap:12px}.brand,nav button{border:0;background:none}.brand{display:flex;align-items:center;gap:10px;font-family:Fraunces,Georgia,serif;font-size:1.35rem;text-align:left;padding:0;line-height:1}.brand small{font:800 .55rem 'DM Sans',sans-serif;letter-spacing:.19em;display:block;margin-top:5px}.mark{width:43px;height:43px;border-radius:14px;display:grid;place-items:center;background:var(--green);color:var(--yellow);font:2rem Georgia}.top nav{display:flex;gap:8px}.top nav button{padding:9px 13px;border-radius:99px;font-weight:700;color:var(--muted)}.top nav button.active{background:#eaeedf;color:var(--green)}.bag,.btn{background:var(--green);color:white;padding:11px 17px;border-radius:11px;border:1px solid transparent;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px}.bag b{background:var(--yellow);color:var(--ink);padding:1px 7px;border-radius:99px}.btn.alt,.small{background:var(--paper);color:var(--ink);border:1px solid var(--line)}.btn.warm{background:var(--yellow);color:var(--ink)}.small{border-radius:8px;padding:7px 11px;font-weight:700}.text{background:none;border:none;padding:0;font-weight:800;text-decoration:underline;text-underline-offset:3px}.hero{display:grid;grid-template-columns:1fr 1fr;margin:32px 0 36px;overflow:hidden;border-radius:25px;background:var(--green);color:#fff8e7;min-height:365px}.hero-copy{padding:clamp(26px,5vw,65px);align-self:center}.hero h1 em{font-weight:600;color:var(--yellow);font-style:normal}.hero p{max-width:390px;margin:18px 0 23px;color:#e5ecdd}.eyebrow{display:block;font-size:.72rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase;margin-bottom:14px;color:inherit}.hero .eyebrow{color:var(--yellow)}.hero-image{background:#385d43 url(hero.webp) center/cover no-repeat;min-height:220px}.section{margin:34px 0 46px}.heading{display:flex;justify-content:space-between;align-items:end;gap:14px;margin-bottom:18px}.heading p,.muted{color:var(--muted)}.heading p{margin-top:7px}.controls,.pills,.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.controls{justify-content:space-between;margin-bottom:18px}.pills button,.tag{border:1px solid var(--line);border-radius:99px;padding:7px 12px;background:var(--paper);font-weight:700;font-size:.83rem}.pills button.active,.tag.green{background:#e5eddc;color:var(--green);border-color:#d4e0cc}.tag{display:inline-block;white-space:nowrap}.tag.orange{background:#fff0db;border-color:#f0d7b7}.search{width:min(100%,280px)}input:not([type=checkbox]),select{border-radius:9px;border:1px solid #c9cec0;background:var(--paper);color:var(--ink);padding:10px 11px;width:100%;min-height:42px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.card,.panel,.empty{background:var(--paper);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.card{overflow:hidden}.card-body,.panel,.empty{padding:19px}.card-body p{margin:5px 0 12px}.shop-top,.product-top{background:var(--tone,#e8eddb);display:flex;align-items:center;justify-content:space-between;min-height:102px;padding:16px 19px}.product-top{min-height:120px;justify-content:center;font-size:3.5rem}.shop-icon{font-size:2.65rem}.spread{display:flex;justify-content:space-between;align-items:center;gap:9px}.price{font-size:1.18rem;font-weight:800}.page-head{padding:31px 0 21px}.page-head h1{font-size:clamp(2.35rem,5vw,4rem);margin:5px 0 9px}.layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,1fr);gap:18px;margin:15px 0 42px;align-items:start}.panel h2{font-size:1.7rem;margin-bottom:12px}.rows>.row{border-top:1px solid var(--line);padding:13px 0}.rows>.row:first-child{border-top:0}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.stack{display:grid;gap:15px}.form{display:grid;gap:13px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}label{font-weight:700;font-size:.88rem;display:grid;gap:5px}label.check{display:flex;align-items:center;gap:8px}label.check input{width:17px;height:17px;accent-color:var(--green)}.note{background:#f4edda;color:#52442c;border-radius:9px;padding:10px 12px;font-size:.86rem}.footer{border-top:1px solid var(--line);padding:22px 0 28px;display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:.85rem}.qty{display:inline-flex;align-items:center;gap:7px}.qty button{min-width:33px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.stat b{font:700 2rem Fraunces,Georgia,serif;display:block}#toast{position:fixed;right:20px;bottom:20px;max-width:calc(100% - 40px);border-radius:12px;background:var(--green);color:white;box-shadow:var(--shadow);padding:12px 16px;z-index:9}#toast:empty{display:none}.subtle{font-size:.83rem}.panel .note{margin-top:9px}.switcher{margin-bottom:16px}.switcher select{width:min(340px,100%)}.grow{flex:1}.order-id{font-weight:800}.top a{color:inherit}
@media(max-width:800px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.layout{grid-template-columns:1fr}.hero{min-height:310px}.wrap{width:calc(100% - 32px)}}
@media(max-width:570px){.hero{grid-template-columns:1fr;margin-top:18px}.hero-image{min-height:170px;grid-row:1}.top-inner{display:grid;grid-template-columns:1fr auto;padding:10px 0 0}.top nav{grid-row:2;grid-column:span 2;justify-content:space-between}.top nav button{font-size:.85rem;padding:8px 9px}.brand{font-size:1.12rem}.mark{width:35px;height:35px}.grid{gap:10px}.card-body,.panel,.empty{padding:13px}.shop-top,.product-top{padding:10px;min-height:83px}.card-body .btn{padding:8px;font-size:.83rem}.card-body .tag{white-space:normal}.shop-icon{font-size:2rem}.footer{flex-direction:column}.search{width:100%}.stats .panel{font-size:.8rem}.stat b{font-size:1.5rem}}
[hidden]{display:none!important}a.btn{text-decoration:none}#app:focus{outline:none}.page-head+.section{margin-top:12px}.layout .heading h2{margin-bottom:0}.card .eyebrow{margin-bottom:6px;font-size:.65rem}.tag{max-width:100%}
#account{font-size:.78rem;white-space:nowrap}
@media(max-width:570px){.top-inner>.actions{gap:5px;justify-content:end}.top-inner>.actions .bag{padding:7px 9px}.top-inner #account{font-size:.68rem}.top nav{grid-column:1/-1}}
.order-lines{list-style:none;padding:0;margin:0;display:grid;gap:8px}.order-lines li{display:flex;gap:12px;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:6px}.order-card details{font-size:.87rem}.order-card details summary{cursor:pointer}.order-card details li{padding:3px 0}
.image-preview,.store-logo{width:80px;height:80px;object-fit:cover;border-radius:12px}.image-preview{border:1px solid var(--line)}.product-top:has(.product-photo){padding:0}.product-photo{width:100%;height:170px;object-fit:cover}.order-card input,.order-card select{max-width:480px}#product-editor form+form{margin-top:20px;padding-top:15px;border-top:1px solid var(--line)}
#pilot-dialog{width:min(94vw,520px);padding:22px;border-radius:16px;border:1px solid var(--line);background:var(--paper);color:var(--ink);box-shadow:var(--shadow)}#pilot-dialog::backdrop{background:#164A4790}#pilot-dialog .form{margin-top:15px}#pilot-dialog video{width:100%;max-height:260px;border-radius:12px}.qr{text-align:center;margin-top:14px}.qr svg{max-width:100%;height:auto}.qr-code{text-align:center;font-size:1.7rem;font-weight:800;letter-spacing:.13em;color:var(--green)}#print-output{display:none}
@media print{body>*:not(#print-output){display:none!important}body{background:white;color:black}#print-output{display:block;color:black}#print-output .receipt{max-width:72mm;font:11pt system-ui}#print-output h1{font:700 18pt system-ui}#print-output h2{font:700 14pt system-ui}#print-output li{padding-block:2px}}
.order-highlight{outline:3px solid var(--accent,#efba64);scroll-margin-top:125px}#session-name:empty{display:none}#session-name{max-width:15rem;font-weight:700}.rows details{padding:8px 0}
.cart-weight{display:flex;gap:8px;align-items:end;min-width:0}.cart-weight input{width:110px;min-height:44px}.cart-weight .small{min-height:44px}
@media(max-width:570px){.cart-weight{flex-wrap:wrap}.cart-weight label{white-space:nowrap}.cart-weight input{font-size:16px;width:100%}#place-order{min-height:48px;width:100%}}

.cart-line{padding-block:12px;border-bottom:1px solid var(--line,#ddd8cd)}
.cart-line>.row{border-bottom:0}
.cart-weight select{max-width:125px}
.order-lines li small{display:block}
.order-highlight{outline:3px solid #1c795b;scroll-margin:1rem}
fieldset.stack{min-width:0;border:1px solid var(--line,#ddd8cd);border-radius:10px;padding:0.75rem}
@media (min-width:720px) and (max-width:1180px){
  .layout{grid-template-columns:minmax(0,1fr) minmax(260px,.8fr)}
  .order-card .btn{min-height:44px}
}

.order-card.needs-attention{border:2px solid #91661c}
.order-attention{padding:12px 14px;border-radius:8px;background:#fff0d3;color:#5e4116}
.order-attention p{margin:.45rem 0 0}
.order-attention li small{display:block}

.shop-card-closed { position:relative; border-color:#cb827a; background:#fff0ed; }
.shop-card-closed .shop-top { background:#f0c4bd; position:relative; overflow:hidden; }
.closed-stamp { position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%) rotate(-16deg); z-index:1; text-transform:uppercase; padding:.18em .52em; border:.09em solid; color:#8d2824; background:#fff1eeec; border-radius:.18em; font-size:clamp(1.45rem,4vw,2.7rem); font-weight:900; line-height:1.05; letter-spacing:.06em; pointer-events:none; }
.clabe-row { display:flex; flex-wrap:wrap; align-items:center; gap:.55rem 1rem; }
.clabe-row b { font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.copy-clabe { padding:.38rem .7rem; min-height:36px; }
.copy-fallback { position:fixed; left:-10000px; }
.delivery-picture, .delivery-video { max-inline-size:100%; max-block-size:60vh; object-fit:contain; }

.history-order > summary { cursor:pointer; line-height:1.5; overflow-wrap:anywhere; }
.history-order[open] > summary { margin-bottom:1rem; }
.history-order .order-card { box-shadow:none; }
.form textarea { width:100%; border:1px solid #c9cec0; border-radius:9px; background:var(--paper); color:var(--ink); font:inherit; padding:10px 11px; resize:vertical; }

.nav-panel > summary { cursor:pointer; font-weight:750; font-size:1.1rem; padding:4px 0; }
.nav-panel[open] > summary { margin-bottom:1rem; }
.nav-panel > .stack { min-width:0; }
.nav-panel .nav-panel { box-shadow:none; }
#pick-quantity fieldset { border:1px solid var(--line); border-radius:9px; padding:12px; }
#pick-quantity input[type="radio"] { accent-color:var(--green); min-height:auto; width:auto; }
[data-pick-card] { cursor:pointer; }
[data-arrival-count] { font-variant-numeric:tabular-nums; }

.creator-footer { flex-direction:row; align-items:center; gap:12px 24px; flex-wrap:wrap; font-size:.85rem; }
.creator-footer strong { color:var(--ink); }
.creator-credit { display:inline-flex; align-items:center; gap:9px; }
.creator-credit img { object-fit:contain; }
.map-link-label { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px; }
.map-link-label label { font-weight:700; }
.map-link-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.map-help > summary { list-style:none; cursor:pointer; width:1.65rem; height:1.65rem; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; font-weight:750; background:var(--paper); }
.map-help > summary::-webkit-details-marker { display:none; }
.map-help > p { margin-top:.45rem; }
.share-mark { width:1em; height:1em; vertical-align:-.12em; }
.spei-receipt-preview { display:block; max-width:100%; max-height:65vh; object-fit:contain; }

.auth-password { display:grid; gap:6px; }
.auth-password-control { display:grid; grid-template-columns:minmax(0,1fr) 44px; align-items:center; gap:6px; }
.auth-password-control button { display:grid; place-items:center; min-height:44px; padding:0; }
.auth-password-control [data-eye-slash][hidden] { display:none; }

.push-welcome-card { margin-block-start:16px; }

.coverage-map { width:100%; min-height:340px; height:52vh; max-height:550px; z-index:0; }

.address-photo{display:block;max-width:min(100%,360px);max-height:260px;object-fit:contain;border-radius:10px;margin:.5rem 0}

#incoming-order{position:fixed;top:max(.75rem,env(safe-area-inset-top));left:50%;transform:translateX(-50%);
  z-index:70;width:min(94vw,32rem);display:flex;align-items:center;gap:.75rem;justify-content:space-between;
  background:#ffe08a;color:#23321d;border:2px solid #745000;border-radius:1rem;padding:.8rem;
  box-shadow:0 8px 24px #1527194a}
#incoming-order strong{font-size:clamp(1rem,4vw,1.4rem)}
#incoming-order-edge{position:fixed;inset:0;z-index:69;pointer-events:none;border:6px solid #efb42e;
  animation:incoming-order-edge 1.45s ease-out both}
#incoming-order[hidden],#incoming-order-edge[hidden]{display:none}
@keyframes incoming-order-edge{0%{opacity:0}24%{opacity:1}46%{opacity:.25}66%{opacity:1}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){#incoming-order-edge{display:none}}

.hero-visual{position:relative;min-width:0;display:grid}
.hero-promotions{position:absolute;inset:0;display:grid;overflow:hidden;background:#194234}
.promotion-slides{display:flex;min-width:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none}
.promotion-slides::-webkit-scrollbar{display:none}
.promotion-slide{position:relative;flex:0 0 100%;min-width:0;min-height:100%;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:flex-end;isolation:isolate}
.promotion-slide img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;z-index:-2}
.promotion-slide::before{content:"";position:absolute;inset:25% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.86));z-index:-1}
.promotion-copy{width:100%;padding:20px 6% 22px;color:white;background:linear-gradient(transparent,rgba(0,0,0,.45))}
.promotion-copy p{font-weight:700;margin-bottom:3px}
.promotion-copy h2{font-size:clamp(1.15rem,2.6vw,2rem);margin-bottom:10px;overflow-wrap:anywhere}
.promotion-controls{position:absolute;display:flex;gap:6px;top:12px;right:12px}
.promotion-controls button{width:42px;height:42px;border:1px solid #fff9;border-radius:50%;background:#15362c;color:white;cursor:pointer;font-size:1.6rem}
.promotion-controls button:focus-visible,.promotion-slides:focus-visible{outline:3px solid #ffcf6d;outline-offset:-3px}
.promotion-preview{max-width:100%;max-height:160px;object-fit:contain;justify-self:start}
@media(max-width:570px){.hero-visual{grid-row:1;min-height:170px}.hero-visual:has(.hero-promotions){min-height:224px}.promotion-copy{padding-bottom:12px}}

.brand img{display:block;object-fit:contain;flex:none}
.mobile-bar{display:none}
.cart-product{display:flex;align-items:center;gap:.75rem;min-width:0;overflow-wrap:anywhere}
.cart-thumbnail{width:56px;height:56px;object-fit:cover;border-radius:9px;flex:none}
.order-card .tag.delivery-status{background:var(--yellow);color:var(--ink)}
#delivery-notice{width:min(92vw,490px);max-height:calc(100dvh - 32px);overflow:auto;padding:25px;border:1px solid var(--line);border-radius:20px;background:var(--paper);color:var(--ink);box-shadow:var(--shadow)}
#delivery-notice::backdrop{background:#12322db3}
#delivery-notice h2{font-size:clamp(1.65rem,5vw,2.25rem)}
#delivery-notice p{margin-top:.75rem}
#delivery-notice form{margin-top:1.1rem}
#delivery-notice form .btn{width:100%}
#delivery-notice [role=status]:empty{display:none}
@media screen and (max-width:760px){
  body.buyer-navigation{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
  .buyer-navigation .top [data-go=buy]:not(.brand),.buyer-navigation .top [data-go=orders],.buyer-navigation .top .bag{display:none}
  .buyer-navigation .top-inner{padding-block:10px;align-items:center}
  .buyer-navigation .top nav{order:3}
  .buyer-navigation #session-name{display:none}
  .buyer-navigation #toast{bottom:calc(84px + env(safe-area-inset-bottom,0px))}
  .buyer-navigation .mobile-bar:not([hidden]){
    position:fixed;inset:auto 0 0;z-index:7;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
    gap:5px;padding:7px max(8px,env(safe-area-inset-right,0px)) calc(7px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));
    border-top:1px solid var(--line);background:var(--paper);
  }
  .mobile-bar button{display:grid;place-content:center;align-items:center;justify-items:center;gap:3px;min-height:52px;padding:4px 2px;border-radius:12px;color:var(--ink);font-weight:800;font-size:clamp(.68rem,3.4vw,.91rem);white-space:nowrap}
  .mobile-bar button.active{background:var(--yellow)}
  .mobile-bar button:focus-visible{outline:2px solid var(--green);outline-offset:-2px}
  .mobile-bar b{margin-left:2px;padding:1px 4px;border-radius:8px;background:var(--green);color:var(--paper);font-variant-numeric:tabular-nums}
  .tab-icon{width:23px;height:23px;background:center/contain no-repeat}
  .tab-shop{background-image:url(/ui/comprar.png)}
  .tab-cart{background-image:url(/ui/carrito.png)}
  .tab-orders{background-image:url(/ui/pedidos.png)}
  .hero h1{font-family:'DM Sans',system-ui,sans-serif;font-size:clamp(2rem,7vw,3.15rem);letter-spacing:-.045em}
}
@media screen and (max-width:570px){
  .buyer-navigation .top-inner>.actions{grid-column:2;grid-row:1}
  .buyer-navigation .top nav{grid-row:2;justify-content:flex-end}
  .buyer-navigation .top nav button{padding-block:4px}
  .hero:has(.hero-image){grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);min-height:0;border-radius:19px}
  .hero:has(.hero-image) .hero-copy{grid-column:1;grid-row:1;padding:22px 12px 22px 17px;z-index:1}
  .hero:has(.hero-image) .hero-visual{grid-column:2;align-self:stretch}
  .hero:has(.hero-image) .hero-image{min-height:100%;background-position:58% center}
}
