/**
 * Archivo: assets/css/store.css
 *
 * Para qué sirve: define toda la apariencia responsive de la tienda: medidas,
 * colores, tipografía, menú, tarjetas, carrito, pedidos, direcciones y checkout.
 * Las variables --lpc-* reciben los colores configurados en WooCommerce. Este
 * archivo no cambia productos ni datos; solamente controla presentación.
 */

/* Base, variables de marca y carcasa general. */
:root{--lpc-primary:#D71920;--lpc-button-text:#FFFFFF;--lpc-ink:#242424;--lpc-paragraph:#555555;--lpc-bg:#FFFFFF;--lpc-featured:#FFF8F6;--lpc-alternate:#F3E9E2;--lpc-rose:#F9DCDD;--lpc-accent:var(--lpc-rose);--lpc-cream:var(--lpc-featured);--lpc-muted:#777;--lpc-line:#eee5e1;--lpc-white:#fff;--lpc-radius:22px;--lpc-shadow:0 12px 36px rgba(36,36,36,.12)}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--lpc-bg)}
body.lpc-app-page{margin:0!important;background:var(--lpc-bg)!important;color:var(--lpc-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.4;-webkit-font-smoothing:antialiased}
.lpc-app-page :where(h1,h2,h3,h4){color:var(--lpc-ink)}
.lpc-app-page :where(p){color:var(--lpc-paragraph)}
.lpc-app-page :where(button,input,select,textarea){font:inherit}
.lpc-app-page :where(button,a){-webkit-tap-highlight-color:transparent}
.lpc-app-page a{text-decoration:none;color:inherit}
.lpc-app-page button{border:0;cursor:pointer}
.lpc-app{width:100%;max-width:1180px;min-height:100vh;margin:0 auto;background:var(--lpc-white);padding-bottom:calc(96px + env(safe-area-inset-bottom))}
.lpc-icon{display:block;width:24px;height:24px}
.lpc-topbar{position:sticky;z-index:40;top:0;display:flex;align-items:center;justify-content:space-between;height:76px;padding:env(safe-area-inset-top) 18px 0;background:rgba(255,255,255,.96);border-bottom:1px solid rgba(0,0,0,.035);backdrop-filter:blur(16px)}
.lpc-topbar h1{margin:0;font-size:20px;font-weight:750;letter-spacing:-.02em;text-align:center}
.lpc-brand{display:flex;align-items:center;min-width:0;height:54px}
.lpc-logo{display:block;width:auto;max-width:176px;max-height:48px;object-fit:contain}
.lpc-wordmark{font-size:23px;font-weight:850;letter-spacing:-.04em;color:var(--lpc-primary)}
.lpc-icon-button{display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;background:#fff;color:var(--lpc-ink);box-shadow:0 2px 10px rgba(0,0,0,.08)}
.lpc-topbar-spacer{width:44px}
.lpc-search-panel{position:sticky;z-index:39;top:76px;display:flex;gap:10px;align-items:center;padding:10px 16px;background:#fff;border-bottom:1px solid var(--lpc-line)}
.lpc-search-panel[hidden]{display:none}
.lpc-search-panel input{width:100%;height:46px;padding:0 44px 0 44px;border:1px solid var(--lpc-line);border-radius:23px;background:var(--lpc-bg);outline:none;font-size:15px}
.lpc-search-panel>.lpc-icon{position:absolute;left:30px;color:var(--lpc-muted)}
.lpc-search-close{position:absolute;right:25px;width:32px;height:32px;border-radius:50%;background:transparent;color:#777;font-size:25px}
.lpc-order-mode{display:flex;gap:4px;padding:16px 18px 10px;background:#fff}
.lpc-order-mode button{padding:7px 2px;margin-right:18px;background:transparent;color:#aaa;font-size:18px;font-weight:650;border-bottom:3px solid transparent}
.lpc-order-mode button.is-active{color:var(--lpc-ink);border-color:var(--lpc-primary)}
.lpc-location-strip{display:flex;align-items:center;gap:11px;min-height:64px;padding:9px 18px 14px;background:#fff;border-bottom:1px solid var(--lpc-line)}
.lpc-location-strip>.lpc-icon:first-child{flex:0 0 25px;width:25px;height:25px;color:var(--lpc-primary)}
.lpc-location-strip>span{display:flex;min-width:0;flex:1;flex-direction:column}
.lpc-location-strip small{color:var(--lpc-muted);font-size:12px}
.lpc-location-strip strong{overflow:hidden;font-size:16px;white-space:nowrap;text-overflow:ellipsis}
.lpc-location-strip>.lpc-icon:last-child{width:20px;color:#a0a0a0}
.lpc-restaurant-context{display:grid;gap:8px;padding:13px 18px;background:var(--lpc-featured);border-bottom:1px solid var(--lpc-line)}
.lpc-restaurant-select-wrap{display:flex;align-items:center;gap:10px}.lpc-restaurant-select-wrap>.lpc-icon{flex:0 0 24px;color:var(--lpc-primary)}.lpc-restaurant-select-wrap label{display:flex;min-width:0;flex:1;flex-direction:column}.lpc-restaurant-select-wrap small{color:var(--lpc-paragraph);font-size:11px}.lpc-restaurant-select-wrap select{width:100%;padding:0 28px 0 0;border:0;background:transparent;color:var(--lpc-ink);font-size:17px;font-weight:800;outline:0}
.lpc-store-status{display:flex;align-items:center;gap:7px;min-height:26px}.lpc-store-status>span{width:9px;height:9px;border-radius:50%;background:var(--lpc-primary)}.lpc-store-status.is-open>span{background:#2f8f4e}.lpc-store-status strong{font-size:12px}.lpc-store-status small{margin-left:auto;color:var(--lpc-paragraph);font-size:11px}.lpc-restaurant-context>p{margin:0 0 0 34px;font-size:12px}
.lpc-menu-layout{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:start;background:var(--lpc-alternate)}
.lpc-category-rail{position:sticky;z-index:20;top:76px;display:flex;overflow-y:auto;max-height:calc(100vh - 76px - 82px - env(safe-area-inset-bottom));flex-direction:column;background:var(--lpc-alternate);scrollbar-width:none}
.lpc-category-rail::-webkit-scrollbar{display:none}
.lpc-category-rail a{position:relative;display:grid;place-items:center;min-height:69px;padding:10px 7px;color:#6d6d6d;font-size:14px;font-weight:560;line-height:1.18;text-align:center}
.lpc-category-rail a.is-active{background:#fff;color:var(--lpc-ink);font-weight:750}
.lpc-category-rail a.is-active:before{position:absolute;left:0;width:4px;height:34px;border-radius:0 4px 4px 0;background:var(--lpc-primary);content:""}
.lpc-products-column{min-width:0;padding:12px 10px 140px;background:#fff}
.lpc-category-section{scroll-margin-top:90px;padding:5px 0 17px}
.lpc-category-section>header{padding:5px 7px 10px}
.lpc-category-section>header h2{margin:0;font-size:20px;font-weight:800;letter-spacing:-.02em}
.lpc-category-section>header p{margin:3px 0 0;color:#999;font-size:12px}
.lpc-product-card{position:relative;display:grid;grid-template-columns:88px minmax(0,1fr) 36px;gap:11px;min-height:128px;padding:9px 4px;border-bottom:1px solid #f3f3f2;background:#fff}
.lpc-product-image{align-self:center;width:88px;height:88px;border-radius:50%;overflow:hidden;background:var(--lpc-cream)}
.lpc-product-image img{display:block;width:100%;height:100%;margin:0;object-fit:cover}
.lpc-product-copy{align-self:center;min-width:0;padding:2px 0 3px}
.lpc-product-copy h3{margin:0 0 5px;font-size:17px;font-weight:760;letter-spacing:-.025em;line-height:1.2}
.lpc-tags{display:flex;overflow:hidden;gap:4px;white-space:nowrap}
.lpc-tags span{overflow:hidden;max-width:110px;padding:2px 5px;border:1px solid color-mix(in srgb,var(--lpc-accent),#fff 45%);border-radius:3px;color:#9b6a28;font-size:10px;text-overflow:ellipsis}
.lpc-product-copy p{display:-webkit-box;overflow:hidden;margin:6px 0;color:#969696;font-size:12px;line-height:1.3;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.lpc-product-price{margin-top:7px;color:var(--lpc-primary);font-size:17px;font-weight:800}
.lpc-product-price del{margin-left:3px;color:#aaa;font-size:12px;font-weight:550}.lpc-product-price ins{text-decoration:none}
.lpc-add-button{position:relative;align-self:end;display:grid;place-items:center;width:34px;height:34px;margin:0 1px 13px 0;padding:0;border-radius:11px;background:var(--lpc-primary);color:var(--lpc-button-text);box-shadow:0 4px 12px color-mix(in srgb,var(--lpc-primary),transparent 65%)}
.lpc-add-button .lpc-icon{width:20px;height:20px}
.lpc-card-qty-badge{position:absolute;right:-9px;top:-11px;display:grid;place-items:center;min-width:23px;height:23px;padding:0 5px;border:2px solid #fff;border-radius:50%;background:var(--lpc-rose);color:var(--lpc-primary);font-size:11px;font-weight:850;box-shadow:0 2px 6px rgba(36,36,36,.12)}.lpc-card-qty-badge[hidden]{display:none}
.lpc-add-button.is-loading{opacity:.55;pointer-events:none}.lpc-add-button.is-loading .lpc-icon{animation:lpc-spin .7s linear infinite}
.lpc-sold-out{align-self:end;margin-bottom:17px;color:#aaa;font-size:11px}
.lpc-search-results .lpc-product-card{display:grid}.lpc-search-results[hidden]{display:none}
.lpc-empty{display:grid;place-items:center;min-height:60vh;padding:40px 24px;text-align:center}.lpc-empty h2{margin:0 0 8px;font-size:24px}.lpc-empty p{margin:0;color:var(--lpc-muted)}.lpc-empty .lpc-primary-button{margin-top:22px}

/* Carrito persistente: fondo, panel desplazable, productos y barra inferior. */
.lpc-overlay{position:fixed;z-index:69;inset:0;background:rgba(10,10,10,.58);backdrop-filter:blur(2px)}.lpc-overlay[hidden]{display:none}
.lpc-cart-drawer{position:fixed;z-index:70;right:0;bottom:calc(151px + env(safe-area-inset-bottom));left:0;display:flex;overflow:hidden;width:100%;max-width:760px;height:65vh;height:min(65dvh,700px);max-height:calc(100vh - 245px);max-height:calc(100dvh - 245px - env(safe-area-inset-bottom));flex-direction:column;margin:auto;border-radius:22px 22px 0 0;background:#fff;box-shadow:var(--lpc-shadow);transform:translateY(calc(100% + 170px));transition:transform .28s cubic-bezier(.22,.85,.35,1)}
.lpc-cart-drawer.is-open{transform:translateY(0)}
.lpc-cart-drawer>header{display:flex;flex:0 0 62px;align-items:center;justify-content:space-between;height:62px;padding:0 18px;border-bottom:1px solid var(--lpc-line)}
.lpc-cart-drawer>header>div{display:flex;align-items:center;gap:10px}.lpc-cart-check{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--lpc-rose);color:var(--lpc-primary)}.lpc-cart-check .lpc-icon{width:17px}
.lpc-clear-cart{display:flex;align-items:center;gap:5px;background:transparent;color:#999;font-size:13px}.lpc-clear-cart .lpc-icon{width:19px}
.lpc-cart-items{overflow-x:hidden;overflow-y:auto;min-height:0;flex:1 1 auto;padding:4px 14px 22px;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}
.lpc-cart-item{display:grid;grid-template-columns:66px minmax(0,1fr) auto;gap:11px;align-items:center;padding:14px 0;border-bottom:1px solid var(--lpc-line)}
.lpc-cart-item img{width:66px;height:66px;border-radius:50%;object-fit:cover;background:var(--lpc-cream)}
.lpc-cart-item h3{margin:0;font-size:15px;line-height:1.2}.lpc-cart-item p{overflow:hidden;margin:4px 0;color:#929292;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.lpc-cart-item .price{color:var(--lpc-primary);font-weight:800}
.lpc-item-controls{display:flex;align-items:center;gap:9px}.lpc-item-controls button,.lpc-quantity button{display:grid;place-items:center;width:31px;height:31px;padding:0;border:1px solid #d7d7d7;border-radius:10px;background:#fff;color:#777}.lpc-item-controls button:last-child,.lpc-quantity button:last-child{border-color:var(--lpc-primary);background:var(--lpc-primary);color:#fff}.lpc-item-controls .lpc-icon,.lpc-quantity .lpc-icon{width:17px}
.lpc-cart-bar{position:fixed;z-index:75;right:12px;bottom:calc(76px + env(safe-area-inset-bottom));left:12px;display:flex;overflow:hidden;max-width:760px;height:67px;margin:auto;border-radius:34px;background:#fff;box-shadow:0 8px 36px rgba(20,20,20,.18)}.lpc-cart-bar[hidden]{display:none}
.lpc-cart-summary{display:flex;min-width:0;flex:1;align-items:center;gap:11px;padding:7px 9px 7px 18px;background:#fff;text-align:left}
.lpc-bag-wrap{position:relative;color:var(--lpc-primary)}.lpc-bag-wrap>.lpc-icon{width:34px;height:34px}.lpc-bag-wrap b{position:absolute;top:-8px;right:-9px;display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border:2px solid #fff;border-radius:12px;background:var(--lpc-rose);color:var(--lpc-primary);font-size:11px}
.lpc-cart-summary>span:last-child{display:flex;min-width:0;flex-direction:column}.lpc-cart-summary small{color:#999;font-size:11px}.lpc-cart-summary strong{overflow:hidden;font-size:18px;white-space:nowrap;text-overflow:ellipsis}.lpc-cart-summary strong .woocommerce-Price-amount{color:var(--lpc-primary)}
.lpc-cart-checkout{display:grid;place-items:center;width:42%;max-width:240px;background:var(--lpc-primary);color:var(--lpc-button-text)!important;font-size:18px;font-weight:780}
.lpc-bottom-nav{position:fixed;z-index:60;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(4,1fr);height:calc(72px + env(safe-area-inset-bottom));padding:6px 8px env(safe-area-inset-bottom);background:rgba(255,255,255,.97);border-top:1px solid var(--lpc-line);backdrop-filter:blur(16px)}
.lpc-bottom-nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;color:#a9a9a9;font-size:11px}.lpc-bottom-nav a.is-active{color:var(--lpc-primary);font-weight:700}.lpc-bottom-nav .lpc-icon{width:23px;height:23px}

/* Seguimiento: barra independiente, panel de estado y página de historial. */
.lpc-order-overlay{position:fixed;z-index:76;inset:0;background:rgba(10,10,10,.58);backdrop-filter:blur(2px)}.lpc-order-overlay[hidden]{display:none}
.lpc-order-bar{position:fixed;z-index:74;right:12px;bottom:calc(76px + env(safe-area-inset-bottom));left:12px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;max-width:760px;height:67px;margin:auto;padding:7px 18px;border:1px solid color-mix(in srgb,var(--lpc-primary),#fff 74%);border-radius:34px;background:var(--lpc-featured);color:var(--lpc-ink);box-shadow:0 8px 30px rgba(36,36,36,.16);text-align:left}.lpc-order-bar[hidden]{display:none}.lpc-order-clock{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--lpc-rose);color:var(--lpc-primary)}.lpc-order-clock .lpc-icon{width:20px}.lpc-order-bar>span:nth-child(2){display:flex;min-width:0;flex-direction:column}.lpc-order-bar small{color:var(--lpc-paragraph);font-size:11px}.lpc-order-bar strong{overflow:hidden;font-size:16px;white-space:nowrap;text-overflow:ellipsis}.lpc-order-number{color:var(--lpc-primary);font-size:14px;font-weight:850}
body.lpc-has-cart .lpc-order-bar{bottom:calc(151px + env(safe-area-inset-bottom))}
.lpc-order-drawer{position:fixed;z-index:77;right:0;bottom:calc(151px + env(safe-area-inset-bottom));left:0;display:flex;overflow:hidden;width:100%;max-width:760px;max-height:calc(100dvh - 245px);flex-direction:column;margin:auto;border-radius:22px 22px 0 0;background:#fff;box-shadow:var(--lpc-shadow);transform:translateY(calc(100% + 180px));transition:transform .28s cubic-bezier(.22,.85,.35,1)}.lpc-order-drawer.is-open{transform:translateY(0)}body.lpc-has-cart .lpc-order-drawer{bottom:calc(226px + env(safe-area-inset-bottom));max-height:calc(100dvh - 320px)}
.lpc-order-drawer>header{display:flex;flex:0 0 62px;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid var(--lpc-line)}.lpc-order-drawer>header>div{display:flex;align-items:center;gap:10px}.lpc-order-drawer>header button{width:34px;height:34px;border-radius:50%;background:var(--lpc-featured);color:var(--lpc-ink);font-size:24px}.lpc-order-drawer-content{overflow-y:auto;min-height:0;padding:14px;overscroll-behavior:contain}.lpc-order-history-link{display:grid;place-items:center;min-height:52px;margin:0 14px 14px;border:1.5px solid var(--lpc-primary);border-radius:16px;background:#fff;color:var(--lpc-primary)!important;font-weight:780}
.lpc-orders-page{min-height:calc(100vh - 76px);padding:16px 14px 100px;background:var(--lpc-featured)}.lpc-order-history{display:grid;gap:13px;max-width:760px;margin:auto}.lpc-order-card-item{padding:17px;border:1px solid var(--lpc-line);border-radius:20px;background:#fff;box-shadow:0 4px 16px rgba(36,36,36,.04)}.lpc-order-card-item.is-active{border-color:color-mix(in srgb,var(--lpc-primary),#fff 68%)}.lpc-order-card-item>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.lpc-order-card-item h3{margin:3px 0 0;font-size:18px}.lpc-order-card-item header small{color:#888;font-size:11px}.lpc-order-card-item header>strong{color:var(--lpc-primary);font-size:17px}.lpc-order-card-item>p{margin:7px 0;color:var(--lpc-paragraph);font-size:12px}.lpc-order-card-item ul{display:grid;gap:6px;margin:13px 0;padding:11px 0;border-top:1px solid var(--lpc-line);border-bottom:1px solid var(--lpc-line);list-style:none}.lpc-order-card-item li{display:flex;justify-content:space-between;gap:10px;font-size:13px}.lpc-order-card-item li strong{white-space:nowrap}.lpc-order-finished{display:inline-flex;padding:4px 8px;border-radius:8px;background:var(--lpc-rose);color:var(--lpc-primary);font-size:10px;font-weight:800}.lpc-order-receipt{display:grid;place-items:center;min-height:48px;margin-top:12px;border:1.5px dashed var(--lpc-primary);border-radius:14px;background:var(--lpc-featured);color:var(--lpc-primary);font-weight:750}.lpc-order-receipt input{position:absolute;width:1px;height:1px;opacity:0}.lpc-order-receipt-ok{color:#2f7c46!important;font-weight:750}

/* Detalle de producto: imagen, variaciones, cantidad y acciones. */
.lpc-product-page{padding-bottom:186px;background:#fff}.lpc-hero-image{display:grid;place-items:center;overflow:hidden;width:100%;height:min(58vw,420px);min-height:290px;background:linear-gradient(150deg,var(--lpc-cream),color-mix(in srgb,var(--lpc-accent),#fff 83%))}.lpc-hero-image img{width:100%;height:100%;object-fit:cover}
.lpc-product-detail{position:relative;margin-top:-24px;padding:29px 20px 30px;border-radius:28px 28px 0 0;background:#fff}.lpc-product-detail>h1{margin:0 0 8px;font-size:27px;font-weight:850;letter-spacing:-.04em}.lpc-description{color:#777;font-size:14px}.lpc-description p{margin:0}
.lpc-option-group{margin:27px 0 0;padding:0;border:0}.lpc-option-group legend{display:flex;width:100%;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:16px;font-weight:760}.lpc-option-group legend em{color:var(--lpc-primary);font-size:11px;font-style:normal;font-weight:600}
.lpc-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lpc-option-grid label{min-width:0}.lpc-option-grid input{position:absolute;opacity:0;pointer-events:none}.lpc-option-grid span{display:grid;place-items:center;min-height:55px;padding:9px;border:1.5px solid #e4e4e4;border-radius:15px;background:#fff;font-size:14px;text-align:center;transition:.15s}.lpc-option-grid input:checked+span{border-color:var(--lpc-primary);background:color-mix(in srgb,var(--lpc-primary),#fff 94%);color:var(--lpc-primary);font-weight:720}.lpc-option-grid input:disabled+span{opacity:.4;text-decoration:line-through}
.lpc-long-description{margin-top:27px;padding:16px;border-radius:15px;background:var(--lpc-cream);color:#756b5d;font-size:13px}.lpc-long-description p{margin:0 0 8px}.lpc-long-description p:last-child{margin:0}
.lpc-product-actionbar{position:fixed;z-index:55;right:0;bottom:0;left:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;max-width:1180px;margin:auto;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:rgba(255,255,255,.98);border-top:1px solid var(--lpc-line);box-shadow:0 -8px 25px rgba(0,0,0,.07);backdrop-filter:blur(16px)}
.lpc-detail-price{align-self:center;color:var(--lpc-primary);font-size:22px;font-weight:850}.lpc-detail-price del{color:#aaa;font-size:13px}.lpc-detail-price ins{text-decoration:none}
.lpc-quantity{display:flex;align-items:center;gap:10px}.lpc-quantity strong{min-width:18px;text-align:center}.lpc-product-buttons{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.5fr;gap:10px}
.lpc-primary-button,.lpc-secondary-button{display:grid;place-items:center;min-height:52px;padding:0 20px;border-radius:17px;font-weight:780}.lpc-primary-button{background:var(--lpc-primary);color:var(--lpc-button-text)!important}.lpc-secondary-button{border:1.5px solid var(--lpc-primary);background:#fff;color:var(--lpc-primary)}.lpc-primary-button:disabled,.lpc-secondary-button:disabled{opacity:.45;cursor:not-allowed}

/* Libreta y formulario de direcciones. */
.lpc-address-page{min-height:calc(100vh - 76px);padding:18px 15px 50px;background:var(--lpc-featured)}
.lpc-address-list{display:grid;gap:12px}.lpc-address-card{position:relative;padding:18px 45px 18px 18px;border:1.5px solid transparent;border-radius:19px;background:#fff;box-shadow:0 3px 12px rgba(0,0,0,.035)}.lpc-address-card.is-selected,.lpc-address-card.is-default{border-color:var(--lpc-primary)}.lpc-address-card h3{display:flex;align-items:center;gap:7px;margin:0 0 6px;font-size:17px}.lpc-address-card h3 span{padding:3px 7px;border-radius:6px;background:var(--lpc-cream);color:#8a6836;font-size:10px}.lpc-address-card p{margin:3px 0;color:#6f6f6f;font-size:13px}.lpc-address-card .lpc-address-actions{position:absolute;top:12px;right:10px;display:flex;flex-direction:column}.lpc-address-card .lpc-address-actions button{padding:4px;background:transparent;color:#888;font-size:12px}.lpc-address-card .lpc-select-address{position:absolute;inset:0;width:100%;background:transparent}.lpc-address-card .lpc-address-actions{z-index:2}
.lpc-add-address-card{display:flex;width:100%;align-items:center;justify-content:center;gap:9px;min-height:66px;margin-top:12px;border:1.5px solid var(--lpc-primary);border-radius:19px;background:#fff;color:var(--lpc-primary);font-weight:720}.lpc-add-address-card span{font-size:25px;font-weight:400}
.lpc-address-form{margin-top:14px;padding:18px;border-radius:20px;background:#fff}.lpc-address-form[hidden]{display:none}.lpc-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 10px}.lpc-field{display:flex;min-width:0;flex-direction:column;gap:6px}.lpc-field-wide{grid-column:1/-1}.lpc-field>span{color:#747474;font-size:12px;font-weight:650}.lpc-field :where(input,select,textarea){width:100%;min-height:48px;padding:11px 13px;border:1px solid #e1e1e1;border-radius:12px;background:#fff;color:var(--lpc-ink);outline:none}.lpc-field textarea{resize:vertical}.lpc-field :where(input,select,textarea):focus{border-color:var(--lpc-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--lpc-primary),transparent 88%)}
.lpc-switch-field{grid-column:1/-1;display:flex;align-items:center;gap:9px;margin:4px 0}.lpc-switch-field input{position:absolute;opacity:0}.lpc-switch-field span{position:relative;width:44px;height:25px;border-radius:13px;background:#d1d1d1;transition:.2s}.lpc-switch-field span:after{position:absolute;top:3px;left:3px;width:19px;height:19px;border-radius:50%;background:#fff;box-shadow:0 1px 5px rgba(0,0,0,.2);content:"";transition:.2s}.lpc-switch-field input:checked+span{background:var(--lpc-primary)}.lpc-switch-field input:checked+span:after{transform:translateX(19px)}
.lpc-form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.lpc-form-actions .lpc-primary-button{min-height:48px}.lpc-text-button{padding:8px 11px;background:transparent;color:var(--lpc-primary);font-weight:700}

/* Checkout: tarjetas, pedido, pago y selector modal de dirección. */
.lpc-checkout-form{min-height:100vh;padding:14px 12px 104px;background:var(--lpc-featured)}
.lpc-checkout-card{margin-bottom:12px;padding:18px;border-radius:22px;background:#fff}.lpc-checkout-card h2{margin:0 0 15px;font-size:18px;font-weight:800}.lpc-segmented-control{display:grid;grid-template-columns:repeat(2,1fr);margin:-18px -18px 17px;padding:3px;border-radius:22px 22px 15px 15px;background:var(--lpc-alternate)}.lpc-segmented-control button{height:49px;border-radius:18px;background:transparent;color:var(--lpc-paragraph);font-weight:750}.lpc-segmented-control button.is-active{background:#fff;color:var(--lpc-primary);box-shadow:0 2px 7px rgba(0,0,0,.06)}
.lpc-checkout-address{display:flex;align-items:center;justify-content:space-between;gap:12px}.lpc-checkout-address>div,.lpc-pickup-info{min-width:0}.lpc-checkout-address small,.lpc-pickup-info small{display:block;color:#999;font-size:11px}.lpc-checkout-address strong,.lpc-pickup-info strong{display:block;margin:2px 0;font-size:17px}.lpc-checkout-address p,.lpc-pickup-info p{overflow:hidden;margin:0;color:#777;font-size:12px;white-space:nowrap;text-overflow:ellipsis}
.lpc-order-card{padding-bottom:5px}.woocommerce-checkout-review-order-table{width:100%;border:0!important;border-collapse:collapse}.woocommerce-checkout-review-order-table th,.woocommerce-checkout-review-order-table td{padding:11px 0!important;border:0!important;border-bottom:1px solid var(--lpc-line)!important;background:transparent!important;text-align:left}.woocommerce-checkout-review-order-table td:last-child,.woocommerce-checkout-review-order-table th:last-child{text-align:right}.woocommerce-checkout-review-order-table thead{display:none}.woocommerce-checkout-review-order-table .product-name{font-size:14px}.woocommerce-checkout-review-order-table .product-total{font-weight:750}.woocommerce-checkout-review-order-table tfoot th{font-size:13px}.woocommerce-checkout-review-order-table .order-total :where(th,td){padding-top:15px!important;border-bottom:0!important;font-size:18px}.woocommerce-checkout-review-order-table .order-total td{color:var(--lpc-primary);font-weight:850}
.lpc-payment-card #payment{background:transparent!important}.lpc-payment-card #payment ul.payment_methods{padding:0!important;border:0!important}.lpc-payment-card #payment li{padding:10px 0;list-style:none}.lpc-payment-card #payment label{font-weight:700}.lpc-payment-card #payment .payment_box{margin:8px 0!important;padding:12px!important;border-radius:10px;background:var(--lpc-bg)!important;color:#666!important;font-size:12px}.lpc-payment-card #payment .payment_box:before{display:none!important}.lpc-payment-card #payment .place-order{position:fixed;z-index:45;right:0;bottom:0;left:0;max-width:1180px;margin:auto!important;padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important;background:#fff;border-top:1px solid var(--lpc-line);box-shadow:0 -7px 24px rgba(0,0,0,.07)}.lpc-payment-card #place_order{float:none!important;width:100%;height:58px;border:0;border-radius:18px;background:var(--lpc-primary)!important;color:#fff!important;font-size:18px;font-weight:800}.lpc-payment-card .woocommerce-privacy-policy-text{font-size:11px;color:#888}.woocommerce-error{margin:0 12px 12px!important;padding:14px 15px 14px 42px!important;border-top-color:var(--lpc-primary)!important;border-radius:12px;background:#fff!important;font-size:13px}.woocommerce-error:before{color:var(--lpc-primary)!important}
.lpc-bank-details{margin-top:10px}.lpc-bank-details>p{margin:0 0 12px!important}.lpc-bank-details dl{display:grid;gap:6px;margin:0}.lpc-bank-details dl>div{display:grid;grid-template-columns:minmax(110px,auto) 1fr;gap:8px}.lpc-bank-details dt{color:var(--lpc-paragraph);font-weight:600}.lpc-bank-details dd{margin:0;color:var(--lpc-ink);font-weight:800;word-break:break-word}
.lpc-checkout-receipt{margin-top:14px;padding:14px;border:1px solid var(--lpc-line);border-radius:15px;background:var(--lpc-featured)}.lpc-checkout-receipt[hidden]{display:none}.lpc-checkout-receipt h3{margin:0 0 5px;font-size:15px}.lpc-checkout-receipt p{margin:5px 0;font-size:12px}.lpc-receipt-select{display:grid;place-items:center;min-height:46px;margin-top:11px;border:1.5px dashed var(--lpc-primary);border-radius:13px;background:#fff;color:var(--lpc-primary);font-weight:750}.lpc-receipt-select input{position:absolute;width:1px;height:1px;opacity:0}
.lpc-order-bar{text-decoration:none}.lpc-order-receipt{text-decoration:none}.lpc-scheduling{margin-top:16px;padding-top:15px;border-top:1px solid var(--lpc-line)}.lpc-schedule-choice{display:flex;gap:18px;margin-top:10px}.lpc-schedule-choice label{display:flex;align-items:center;gap:6px;color:var(--lpc-paragraph);font-size:13px;font-weight:700}.lpc-schedule-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.lpc-schedule-fields[hidden]{display:none}
.lpc-address-picker{position:fixed;z-index:100;inset:0}.lpc-address-picker[hidden]{display:none}.lpc-picker-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}.lpc-picker-sheet{position:absolute;right:0;bottom:0;left:0;overflow-y:auto;max-height:78vh;padding:0 14px calc(18px + env(safe-area-inset-bottom));border-radius:25px 25px 0 0;background:var(--lpc-bg)}.lpc-picker-sheet>header{position:sticky;z-index:2;top:0;display:flex;align-items:center;justify-content:space-between;padding:19px 4px 13px;background:var(--lpc-bg)}.lpc-picker-sheet h2{margin:0;font-size:20px}.lpc-picker-sheet>header button{width:34px;height:34px;border-radius:50%;background:#fff;color:#555;font-size:24px}.lpc-picker-sheet .lpc-address-card{margin-bottom:10px}
.lpc-picker-address-form[hidden]{display:none}.lpc-picker-address-form .lpc-address-form{margin:0;padding:16px}.lpc-picker-address-form .lpc-form-actions{position:sticky;bottom:0;padding-top:10px;background:#fff}.lpc-picker-sheet [data-picker-addresses][hidden],.lpc-picker-sheet [data-picker-new-address][hidden]{display:none}
.lpc-toast{position:fixed;z-index:150;right:20px;bottom:105px;left:20px;max-width:450px;margin:auto;padding:12px 16px;border-radius:12px;background:#222;color:#fff;box-shadow:var(--lpc-shadow);font-size:13px;text-align:center}.lpc-toast.is-error{background:#8f241f}.lpc-toast[hidden]{display:none}
body.lpc-cart-open{overflow:hidden}
body.lpc-order-open{overflow:hidden}
.lpc-app-product .lpc-cart-bar{bottom:calc(146px + env(safe-area-inset-bottom))}.lpc-app-product .lpc-cart-drawer{bottom:calc(218px + env(safe-area-inset-bottom));max-height:calc(100dvh - 300px)}
.lpc-app-product .lpc-order-bar{bottom:calc(146px + env(safe-area-inset-bottom))}.lpc-app-product.lpc-has-cart .lpc-order-bar{bottom:calc(221px + env(safe-area-inset-bottom))}.lpc-app-product .lpc-order-drawer{bottom:calc(218px + env(safe-area-inset-bottom));max-height:calc(100dvh - 300px)}.lpc-app-product.lpc-has-cart .lpc-order-drawer{bottom:calc(293px + env(safe-area-inset-bottom));max-height:calc(100dvh - 375px)}
@keyframes lpc-spin{to{transform:rotate(360deg)}}

/* Ajustes para tablet y escritorio. */
@media (min-width:760px){
 .lpc-app{box-shadow:0 0 45px rgba(0,0,0,.06)}.lpc-topbar{padding-right:28px;padding-left:28px}.lpc-order-mode,.lpc-location-strip{padding-right:30px;padding-left:30px}.lpc-menu-layout{grid-template-columns:180px 1fr}.lpc-category-rail a{min-height:60px;padding:10px 18px;font-size:15px;text-align:left;place-items:center start}.lpc-products-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;padding:18px 28px 150px}.lpc-category-section{display:contents}.lpc-category-section>header{grid-column:1/-1;margin-top:12px}.lpc-product-card{grid-template-columns:108px minmax(0,1fr) 40px;min-height:150px}.lpc-product-image{width:108px;height:108px}.lpc-product-copy h3{font-size:19px}.lpc-add-button{width:38px;height:38px}.lpc-hero-image{height:440px}.lpc-product-detail{max-width:780px;margin:-28px auto 0;padding:35px 38px}.lpc-option-grid{grid-template-columns:repeat(3,1fr)}.lpc-product-actionbar{grid-template-columns:1fr auto auto;padding-right:30px;padding-left:30px}.lpc-product-buttons{grid-column:auto;display:flex}.lpc-product-buttons button{min-width:190px}.lpc-address-page,.lpc-checkout-form{padding-right:max(28px,calc((100% - 760px)/2));padding-left:max(28px,calc((100% - 760px)/2))}.lpc-cart-drawer{bottom:100px;max-height:calc(100dvh - 145px)}.lpc-cart-bar{bottom:20px}.lpc-order-bar{bottom:20px}.lpc-has-cart .lpc-order-bar{bottom:95px}.lpc-order-drawer{bottom:95px;max-height:calc(100dvh - 140px)}.lpc-has-cart .lpc-order-drawer{bottom:170px;max-height:calc(100dvh - 215px)}.lpc-app-product .lpc-cart-bar{bottom:108px}.lpc-app-product .lpc-order-bar{bottom:108px}.lpc-app-product.lpc-has-cart .lpc-order-bar{bottom:183px}.lpc-bottom-nav{display:none}.lpc-app{padding-bottom:30px}.lpc-products-column{padding-bottom:110px}
}
