:root{--ca-green:#159b39;--ca-dark:#08772a;--ca-ink:#17251c;--ca-muted:#718078;--ca-bg:#f7f9f7;--ca-line:#e3e9e4;--ca-red:#c32642;--ca-shadow:0 8px 24px rgba(15,61,28,.08)}
@media(max-width:800px){
  *{box-sizing:border-box}html{background:var(--ca-bg);scroll-padding-bottom:88px}body{margin:0!important;color:var(--ca-ink)!important;background:var(--ca-bg)!important;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;-webkit-font-smoothing:antialiased}body:before,body:after{display:none!important}
  .page-chrome{min-height:100vh;padding:10px 10px calc(92px + env(safe-area-inset-bottom))!important}.content-layout,.shell{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.loading-skeleton{display:none!important}
  .customer-app-header{display:flex;align-items:center;justify-content:space-between;min-height:66px;margin-bottom:12px;padding:9px 11px;border-radius:19px;color:#fff;background:linear-gradient(135deg,var(--ca-dark),#1caf43);box-shadow:0 10px 26px rgba(8,119,42,.2)}
  .customer-app-brand{display:flex;align-items:center;min-width:0;gap:10px;color:#fff;text-decoration:none}.customer-app-brand img{width:46px;height:46px;padding:4px;object-fit:contain;border-radius:14px;background:#fff}.customer-app-brand span,.customer-app-brand strong,.customer-app-brand small{display:block;min-width:0}.customer-app-brand strong{overflow:hidden;max-width:150px;font-size:.95rem;white-space:nowrap;text-overflow:ellipsis}.customer-app-brand small{margin-top:1px;color:#d9f5df;font-size:.62rem}
  .customer-app-header-actions{display:flex;align-items:center;gap:8px}.customer-header-cart,.customer-avatar{position:relative;display:grid;place-items:center;width:42px;height:42px;color:var(--ca-dark);border-radius:13px;background:#fff;text-decoration:none}.customer-header-cart .icon{width:21px;height:21px}.customer-header-cart span,.customer-app-nav b{position:absolute;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;color:#fff;border:2px solid #fff;border-radius:10px;background:#ef334d;font-size:.6rem}.customer-header-cart span{right:-4px;top:-4px}.customer-avatar{font-weight:900}.customer-login{padding:11px 14px;color:#fff;border-radius:12px;background:var(--ca-red);font-size:.78rem;font-weight:850;text-decoration:none}
  .customer-app-nav{position:fixed;z-index:900;left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));display:grid;grid-auto-flow:column;grid-auto-columns:1fr;min-height:68px;padding:6px;border:1px solid rgba(255,255,255,.8);border-radius:21px;background:rgba(255,255,255,.97);box-shadow:0 14px 36px rgba(17,43,25,.18);backdrop-filter:blur(14px)}.customer-app-nav>a{position:relative;display:flex;min-width:0;align-items:center;justify-content:center;gap:3px;flex-direction:column;color:#718078;border-radius:15px;font-size:.61rem;font-weight:760;text-decoration:none}.customer-app-nav>a.active{color:var(--ca-green);background:#edf9ef}.customer-app-nav .icon{width:20px;height:20px}.customer-app-nav b{right:8px;top:2px}
  .toast-container{position:fixed;z-index:1300;left:10px;right:10px;top:82px}.alert{border-radius:13px!important}.button{min-height:44px!important;padding:10px 14px!important;border-radius:13px!important;font-size:.8rem!important;font-weight:850!important;box-shadow:none!important}.button.primary{color:#fff!important;border-color:var(--ca-green)!important;background:var(--ca-green)!important}.button.secondary,.button.light{color:#21402b!important;border-color:#dce6df!important;background:#fff!important}input,select,textarea{min-height:46px!important;border:1px solid #dce5df!important;border-radius:13px!important;background:#fff!important;font-size:16px!important;box-shadow:none!important}input:focus,select:focus,textarea:focus{border-color:var(--ca-green)!important;box-shadow:0 0 0 3px rgba(21,155,57,.13)!important;outline:0!important}
  .marketplace-welcome{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 46px;gap:12px;padding:20px 16px;overflow:hidden;color:#fff;border-radius:22px;background:linear-gradient(135deg,var(--ca-dark),#1caf43);box-shadow:0 14px 30px rgba(8,119,42,.18)}.marketplace-welcome-copy{min-width:0}.marketplace-overline{display:block;margin-bottom:5px;color:#c9f6d3;font-size:.62rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.marketplace-welcome h1{margin:0!important;color:#fff!important;font-size:1.48rem!important;line-height:1.15!important}.marketplace-welcome p{margin:6px 0 0;color:#e5f8e9;font-size:.8rem;line-height:1.4}.marketplace-cart-shortcut{position:relative;display:grid;place-items:center;width:44px;height:44px;color:var(--ca-green);border-radius:13px;background:#fff}.marketplace-cart-shortcut .icon{width:21px}.marketplace-cart-shortcut span{position:absolute;right:-5px;top:-5px;display:grid;place-items:center;min-width:19px;height:19px;color:#fff;border-radius:10px;background:#ef334d;font-size:.6rem}.marketplace-search{grid-column:1/-1;display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:5px;padding:5px 5px 5px 12px;border-radius:15px;background:#fff}.marketplace-search .icon{width:17px;color:#748078}.marketplace-search input{min-height:40px!important;padding:0 4px!important;border:0!important;box-shadow:none!important;font-size:.8rem!important}.marketplace-search button{height:40px;padding:0 12px;color:#fff;border:0;border-radius:11px;background:var(--ca-green);font-weight:850}
  .marketplace-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:10px 0 18px}.marketplace-benefits div{padding:10px 5px;text-align:center;border:1px solid var(--ca-line);border-radius:13px;background:#fff}.marketplace-benefits strong,.marketplace-benefits span{display:block}.marketplace-benefits strong{color:#166d2d;font-size:.67rem}.marketplace-benefits span{margin-top:2px;color:#849087;font-size:.57rem}
  .marketplace-section-heading{display:flex;align-items:end;justify-content:space-between;margin:0 2px 10px}.marketplace-section-heading span{color:var(--ca-green);font-size:.65rem;font-weight:900;text-transform:uppercase}.marketplace-section-heading h2{margin:2px 0 0!important;color:#173522!important;font-size:1.14rem!important}.marketplace-section-heading small{color:#839087;font-size:.67rem}.marketplace-store-grid{display:grid;gap:10px}.marketplace-store-card{display:grid;grid-template-columns:88px minmax(0,1fr);min-height:116px;overflow:hidden;color:inherit;border:1px solid var(--ca-line);border-radius:18px;background:#fff;box-shadow:var(--ca-shadow);text-decoration:none}.marketplace-store-logo{display:grid;place-items:center;padding:10px;background:#f1f8f2}.marketplace-store-logo img{width:68px;height:68px;object-fit:contain;border-radius:14px}.marketplace-store-info{min-width:0;padding:11px}.marketplace-store-status span{display:inline-flex;padding:3px 7px;color:#147630;border-radius:8px;background:#e5f8e9;font-size:.57rem;font-weight:900;text-transform:uppercase}.marketplace-store-info h3{margin:5px 0 2px!important;overflow:hidden;color:#173522!important;font-size:.93rem!important;white-space:nowrap;text-overflow:ellipsis}.marketplace-store-info p{margin:0;overflow:hidden;color:#7b887f;font-size:.65rem;white-space:nowrap;text-overflow:ellipsis}.marketplace-store-meta{display:flex;justify-content:space-between;margin-top:9px;color:#859188;font-size:.62rem}.marketplace-store-meta strong{color:var(--ca-green)}
  .delivery-hero{min-height:0!important;margin:0!important;padding:18px 15px!important;border:0!important;border-radius:21px!important;color:#fff!important;background:linear-gradient(135deg,var(--ca-dark),#1caf43)!important;box-shadow:0 12px 28px rgba(8,119,42,.17)!important}.delivery-hero-copy{width:100%!important}.delivery-hero h2{margin:0 0 7px!important;color:#fff!important;font-size:1.32rem!important}.delivery-hero p{margin:0 0 13px!important;color:#e5f8e9!important;font-size:.78rem!important}.delivery-search{display:grid!important;grid-template-columns:minmax(0,1fr) 48px!important;overflow:hidden;border-radius:14px!important;background:#fff!important}.delivery-search input{border:0!important;box-shadow:none!important}.delivery-search button{min-width:48px!important;padding:0!important;border:0!important;border-radius:0!important;background:var(--ca-green)!important}.delivery-search button span{display:none}.delivery-hero-visual{display:none!important}
  .category-rail{display:flex!important;gap:7px!important;margin:9px 0!important;padding:2px 0 5px!important;overflow-x:auto!important;scrollbar-width:none}.category-rail::-webkit-scrollbar{display:none}.category-chip{display:inline-flex!important;min-width:max-content!important;min-height:36px!important;align-items:center;gap:6px;padding:7px 12px!important;color:#294333!important;border:1px solid #dfe7e1!important;border-radius:18px!important;background:#fff!important;font-size:.72rem!important;font-weight:800!important;text-decoration:none}.category-chip.active{color:#fff!important;border-color:var(--ca-green)!important;background:var(--ca-green)!important}.category-chip img{width:26px!important;height:26px!important;border-radius:8px!important}
  .product-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}.product-card{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;min-height:112px!important;overflow:hidden!important;border:1px solid var(--ca-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 5px 15px rgba(15,61,28,.06)!important}.product-media{display:grid!important;place-items:center!important;min-height:112px!important;padding:8px!important;background:#f8faf8!important}.product-media>a{display:grid;place-items:center;width:100%;height:100%}.product-media img{width:80px!important;height:94px!important;object-fit:contain!important}.promo-badge{left:6px!important;top:6px!important}.product-card-body{display:flex!important;min-width:0!important;padding:9px 10px!important;flex-direction:column!important;justify-content:center!important}.product-category,.promo-chip{align-self:flex-start;padding:3px 7px!important;font-size:.56rem!important}.product-card h2{margin:4px 0!important;font-size:.85rem!important;line-height:1.15!important}.product-card h2 a{color:#173522;text-decoration:none}.product-card-body>p{display:-webkit-box;margin:0 0 5px;overflow:hidden;color:#79867d;font-size:.64rem;-webkit-box-orient:vertical;-webkit-line-clamp:1}.product-footer{display:grid!important;grid-template-columns:minmax(0,1fr) 38px!important;align-items:center!important;margin-top:auto!important}.product-footer>strong,.promo-price-wrap strong{color:#102b1a!important;font-size:.98rem!important}.product-footer .button{display:grid!important;width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;place-items:center;overflow:hidden;color:transparent!important;border-radius:50%!important}.product-footer .button:after{content:"+";color:#fff;font-size:1.35rem}.combo-grid{margin-bottom:10px}
  .marketplace-product-detail{overflow:hidden;border-radius:22px;background:#fff;box-shadow:var(--ca-shadow)}.marketplace-detail-back{display:block;padding:13px 15px;color:var(--ca-green);font-size:.76rem;font-weight:850;text-decoration:none}.marketplace-detail-media{position:relative;display:grid;min-height:300px;padding:18px;place-items:center;background:radial-gradient(circle at 50% 70%,#def4e3,#f8fcf8 65%)}.marketplace-detail-media img{width:100%;height:270px;object-fit:contain}.marketplace-detail-media>span{position:absolute;left:13px;top:13px;padding:5px 9px;color:#fff;border-radius:9px;background:#ef334d;font-weight:850}.marketplace-detail-content{padding:17px}.marketplace-detail-store{display:flex;align-items:center;gap:7px;color:#698071;font-size:.7rem}.marketplace-detail-store img{width:28px;height:28px;object-fit:contain;border-radius:7px}.marketplace-detail-content h1{margin:8px 0!important;color:#173522!important;font-size:1.4rem!important}.marketplace-detail-content>p{color:#718078;line-height:1.5}.marketplace-detail-price{display:flex;align-items:center;gap:9px;margin:16px 0}.marketplace-detail-price strong{color:var(--ca-green);font-size:1.55rem}.marketplace-detail-add{display:flex!important;width:100%!important;justify-content:center!important}
  .cart-form{display:block}.cart-checkout-shell{display:grid!important;gap:11px!important}.cart-summary-card,.checkout-card{overflow:hidden;border:1px solid var(--ca-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--ca-shadow)!important}.cart-summary-toolbar{padding:13px!important;background:#f2f9f3!important}.checkout-cart-table,.checkout-cart-table tbody{display:block!important;width:100%!important;min-width:0!important}.checkout-cart-table thead{display:none!important}.checkout-cart-table tbody{display:grid!important;gap:7px!important;padding:8px}.checkout-cart-table tr{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) 60px!important;gap:2px 8px;padding:11px!important;border:1px solid var(--ca-line)!important;border-radius:14px!important}.checkout-cart-table td{display:block!important;width:auto!important;padding:0!important;border:0!important}.checkout-cart-table td:before{display:none!important}.checkout-cart-table td[data-label="Nro"]{display:none!important}.checkout-cart-table td[data-label="Tienda"]{color:#728078;font-size:.61rem}.checkout-cart-table td[data-label="nombre"]{color:#173522;font-size:.82rem;font-weight:850}.checkout-cart-table td[data-label="Precio"]{color:#7a877f;font-size:.65rem}.checkout-cart-table td[data-label="Cantidad"]{grid-column:2;grid-row:1/4;align-self:center}.checkout-cart-table td[data-label="Cantidad"] input{width:55px!important;text-align:center}.checkout-cart-table td[data-label="Subtotal"]{color:var(--ca-green);font-weight:900}.checkout-cart-table td[data-label="Acciones"]{position:absolute;right:8px;bottom:8px}.checkout-cart-table td[data-label="Acciones"] .button{min-height:30px!important;padding:4px 7px!important;font-size:.6rem!important}.store-minimums,.cart-summary-footer,.checkout-grid{padding:12px!important}.checkout-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}.checkout-grid .checkout-field:nth-of-type(3),.checkout-grid .checkout-field:nth-of-type(4),.checkout-grid .checkout-field:nth-of-type(5){display:none!important}.marketplace-payment-methods{display:grid;gap:8px;margin:0 12px 12px;padding:0;border:0}.marketplace-payment-option{display:grid;grid-template-columns:22px 1fr;gap:9px;padding:11px;border:1px solid var(--ca-line);border-radius:13px}.marketplace-payment-option strong,.marketplace-payment-option small{display:block}.marketplace-payment-option small{color:#7a877f}.cart-form>.action-row{position:sticky;z-index:50;bottom:74px;display:grid!important;grid-template-columns:1fr 1fr!important;padding:8px;border-radius:16px;background:rgba(255,255,255,.96);box-shadow:0 -8px 24px rgba(15,61,28,.1)}
  .table-box{padding:0!important;overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}.data-table,.data-table tbody{display:block!important;width:100%!important;min-width:0!important}.data-table thead{display:none!important}.data-table tbody{display:grid!important;gap:9px!important}.data-table tr{display:block!important;padding:11px!important;border:1px solid var(--ca-line)!important;border-left:4px solid var(--ca-green)!important;border-radius:15px!important;background:#fff!important;box-shadow:var(--ca-shadow)!important}.data-table td{display:grid!important;grid-template-columns:90px minmax(0,1fr)!important;gap:8px;padding:7px 0!important;border:0!important;border-bottom:1px solid #eef2ef!important;white-space:normal!important}.data-table td:last-child{border-bottom:0!important}.data-table td:before{content:attr(data-label);color:#7b887f;font-size:.61rem;font-weight:850;text-transform:uppercase}.live-location-panel{padding:14px!important;border:1px solid var(--ca-line)!important;border-radius:17px!important;background:#fff!important;box-shadow:var(--ca-shadow)!important}.customer-order-status{display:inline-flex;padding:5px 8px;border-radius:9px;background:#fff0be;font-size:.67rem;font-weight:850}.status-entregado{color:#166534;background:#dcfce7}.status-en-camino{color:#075985;background:#e0f2fe}.status-cancelado{color:#991b1b;background:#fee2e2}
  .empty-state,.form-card,.work-panel{padding:16px!important;border:1px solid var(--ca-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--ca-shadow)!important}.form-card{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.push-device-prompt{right:8px!important;bottom:86px!important;width:calc(100% - 16px)!important;border-radius:17px!important}
}
@media(min-width:801px){
  .customer-app-header,.customer-app-nav{display:none}
  .marketplace-product-detail{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);grid-template-rows:auto 1fr;max-width:1180px;margin:26px auto;overflow:hidden;border:1px solid var(--ca-line);border-radius:22px;background:#fff;box-shadow:var(--ca-shadow)}
  .marketplace-detail-back{grid-column:1/-1;display:block;padding:15px 20px;color:var(--ca-green);border-bottom:1px solid var(--ca-line);font-weight:850;text-decoration:none}
  .marketplace-detail-media{position:relative;display:grid;min-width:0;min-height:520px;padding:32px;place-items:center;background:radial-gradient(circle at 50% 70%,#def4e3,#f8fcf8 65%)}
  .marketplace-detail-media img{display:block;width:100%;height:480px;max-width:100%;object-fit:contain}
  .marketplace-detail-media>span{position:absolute;left:20px;top:20px;padding:6px 11px;color:#fff;border-radius:9px;background:#ef334d;font-weight:850}
  .marketplace-detail-content{display:flex;min-width:0;padding:48px 42px;flex-direction:column;justify-content:center}
  .marketplace-detail-store{display:flex;align-items:center;gap:9px;color:#698071;font-size:.82rem}
  .marketplace-detail-store img{width:36px;height:36px;object-fit:contain;border-radius:9px}
  .marketplace-detail-content .product-category{align-self:flex-start;margin-top:24px}
  .marketplace-detail-content h1{margin:12px 0!important;color:#173522!important;font-size:clamp(2rem,3vw,3rem)!important;line-height:1.08!important}
  .marketplace-detail-content>p{max-width:48ch;margin:0;color:#718078;font-size:1rem;line-height:1.65}
  .marketplace-detail-price{display:flex;align-items:center;gap:12px;margin:28px 0 22px}
  .marketplace-detail-price strong{color:var(--ca-green);font-size:2rem}
  .marketplace-detail-add{display:flex!important;width:100%!important;max-width:360px;min-height:52px;align-items:center;justify-content:center!important}
}
.store-payment-list{display:grid;gap:12px;margin-top:14px}.store-payment-list[hidden]{display:none!important}.store-payment-card{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:12px;padding:14px;border:1px solid #dfe8e1;border-radius:16px;background:#fff}.store-payment-card>div strong,.store-payment-card>div span{display:block}.store-payment-card>div span{margin-top:4px;color:#65746b;font-size:.8rem}.store-payment-card>img{grid-row:span 3;width:130px;height:130px;object-fit:contain;border:1px solid #e4e9e5;border-radius:12px}.store-payment-card label{font-size:.75rem;font-weight:800}.store-payment-card input{display:block;width:100%;margin-top:5px}.payment-unavailable{color:#a33;font-weight:700}@media(max-width:480px){.store-payment-card{grid-template-columns:1fr}.store-payment-card>img{grid-row:auto;width:min(100%,240px);height:auto;margin:auto}}
.checkout-delivery-fees{margin-top:12px;padding:13px;border:1px solid #dfe8e1;border-radius:14px;background:#f7faf8}.checkout-delivery-fees>strong{display:block;margin-bottom:8px}.checkout-delivery-fees>div{display:flex;justify-content:space-between;gap:10px;padding:5px 0}.checkout-delivery-fees>small{display:block;margin-top:7px;color:#65746b;line-height:1.4}
