@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');
:root{--bg:#f4ece3;--card:#fffaf4;--ink:#241711;--muted:#7d6c61;--line:rgba(36,23,17,.10);--brown:#4d2d1e;--brown2:#7c5139;--cream:#efe3d6;--soft:#f8f0e8;--green:#83a95c;--shadow:0 22px 60px rgba(55,31,20,.16)}
[data-theme="dark"]{--bg:#100b08;--card:#1c130f;--ink:#fff7ef;--muted:#c9b8aa;--line:rgba(255,247,239,.12);--brown:#d3a17a;--brown2:#8c6047;--cream:#2a1d17;--soft:#241814;--shadow:0 22px 60px rgba(0,0,0,.45)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,sans-serif;background:linear-gradient(180deg,#eee1d4 0%,var(--bg) 34%,#fff8f0 100%);color:var(--ink);min-height:100vh}body:before{content:"";position:fixed;inset:0;background:radial-gradient(circle at 85% 10%,rgba(120,73,47,.18),transparent 28%),radial-gradient(circle at 0% 0%,rgba(255,255,255,.65),transparent 25%);pointer-events:none}button,input,select{font:inherit}button{cursor:pointer;color:inherit}.app-shell{position:relative;width:min(100%,430px);margin:0 auto;padding:16px 14px 110px}.app-header{height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;z-index:8;backdrop-filter:blur(20px)}.wordmark{text-align:center;line-height:1}.wordmark span{font-size:31px;letter-spacing:.2em;font-weight:900}.wordmark small{display:block;margin-top:5px;font-size:9px;letter-spacing:.25em;font-weight:800}.icon-btn{border:1px solid var(--line);background:rgba(255,250,244,.82);color:var(--ink);width:48px;height:48px;border-radius:19px;display:grid;place-items:center;box-shadow:0 10px 28px rgba(55,31,20,.08);backdrop-filter:blur(18px)}[data-theme="dark"] .icon-btn{background:rgba(28,19,15,.78)}.cart-btn{position:relative}.cart-btn #cartCount{position:absolute;right:-5px;top:-7px;min-width:22px;height:22px;border-radius:999px;background:var(--brown2);color:white;font-size:12px;display:grid;place-items:center;font-weight:900}.bag-icon{font-size:23px;transform:rotate(-8deg)}.hero{position:relative;min-height:460px;border-radius:32px;overflow:hidden;background:linear-gradient(150deg,#22140d 0%,#4a2d1f 45%,#e5d4c3 100%);box-shadow:var(--shadow);padding:28px 22px;margin:10px 0 14px}.hero:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 72% 45%,rgba(255,255,255,.18),transparent 23%),linear-gradient(180deg,transparent 55%,rgba(255,250,244,.22));pointer-events:none}.hero-copy{position:relative;z-index:2;color:white;width:58%}.mini-pill{display:inline-flex;border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:7px 10px;font-size:10px;font-weight:900;letter-spacing:.08em;background:rgba(0,0,0,.22);backdrop-filter:blur(8px)}.hero h1{font-family:"Playfair Display",serif;font-size:50px;line-height:.9;margin:16px 0 12px;letter-spacing:-.05em}.hero h1 em{color:#d0a179}.hero p{font-size:14px;line-height:1.45;margin-bottom:18px}.hero-btn{border:0;background:white;color:var(--brown);border-radius:999px;padding:13px 18px;font-weight:900;box-shadow:0 16px 30px rgba(0,0,0,.18)}.hero-visual{position:absolute;right:-12px;bottom:22px;width:230px;height:330px;z-index:1}.drink-can{position:absolute;width:145px;height:255px;border-radius:42px 42px 34px 34px;background:linear-gradient(180deg,#f8ead8,#c78950 42%,#3b1d12 74%,#f6dfbd);box-shadow:inset 10px 0 22px rgba(255,255,255,.42),inset -16px 0 24px rgba(45,20,10,.22),0 25px 45px rgba(0,0,0,.28);overflow:hidden}.drink-can:before{content:"";position:absolute;inset:22px 10px auto;height:42px;border-radius:50%;background:radial-gradient(circle,#fff7e7,#b8794b 60%,#5c2d1c)}.drink-can:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.38),transparent 18%,transparent 75%,rgba(255,255,255,.18)),radial-gradient(circle at 55% 36%,rgba(255,255,255,.45),transparent 8%)}.hero-can{right:30px;bottom:0;transform:rotate(1deg) scale(1.1)}.can-logo{position:absolute;z-index:2;left:0;right:0;top:122px;text-align:center;color:#21140e;font-size:35px;letter-spacing:.12em;font-weight:800}.drink-can small{position:absolute;z-index:2;left:0;right:0;top:165px;text-align:center;color:#21140e;font-size:8px;letter-spacing:.28em;font-weight:900}.drink-can i{position:absolute;border-radius:50%;background:rgba(70,33,17,.42);filter:blur(6px);z-index:1}.drink-can i:nth-child(1){width:72px;height:110px;left:10px;top:72px}.drink-can i:nth-child(2){width:95px;height:130px;right:-20px;top:58px;background:rgba(255,238,210,.45)}.drink-can i:nth-child(3){width:100px;height:90px;left:18px;bottom:26px;background:rgba(89,43,23,.58)}.ice,.bean{position:absolute;z-index:0}.ice{width:34px;height:34px;border-radius:8px;background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.5);transform:rotate(18deg)}.ice-1{left:6px;bottom:22px}.ice-2{right:0;bottom:72px}.bean{width:18px;height:13px;border-radius:50%;background:#2b170f}.bean:after{content:"";position:absolute;left:8px;top:1px;width:2px;height:11px;border-radius:99px;background:#9c6a4b;transform:rotate(25deg)}.bean-1{left:35px;bottom:62px}.bean-2{right:20px;top:70px}.feature-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;background:rgba(255,250,244,.82);border:1px solid var(--line);border-radius:26px;padding:12px;margin-top:-58px;position:relative;z-index:3;box-shadow:0 18px 40px rgba(55,31,20,.10);backdrop-filter:blur(18px)}.feature-strip article{display:grid;gap:6px;place-items:center;text-align:center}.feature-strip span{font-size:22px}.feature-strip small{font-size:10px;color:var(--ink)}.section-title{display:flex;align-items:center;gap:8px;margin:28px 0 10px;text-transform:uppercase;letter-spacing:.12em}.section-title h2{font-size:17px;margin:0}.quick-actions{display:flex;gap:8px;overflow:auto;padding:4px 0 14px;scrollbar-width:none}.chip{white-space:nowrap;border:1px solid var(--line);background:rgba(255,250,244,.75);border-radius:999px;padding:11px 15px;font-size:12px}.chip.active{background:var(--brown);color:white}.menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.product-card{position:relative;min-height:172px;background:rgba(255,250,244,.84);border:1px solid var(--line);border-radius:22px;padding:10px;box-shadow:0 14px 32px rgba(55,31,20,.08);overflow:hidden}.product-img{height:92px;position:relative}.product-img .drink-can{width:54px;height:94px;border-radius:18px 18px 13px 13px;left:12px;top:0;transform:none;box-shadow:inset 4px 0 10px rgba(255,255,255,.4),inset -8px 0 10px rgba(45,20,10,.15),0 10px 18px rgba(0,0,0,.14)}.product-img .drink-can:before{height:17px;inset:8px 4px auto}.product-img .can-logo{font-size:12px;top:47px}.product-img .drink-can small{font-size:3px;top:65px}.product-img .drink-can i{display:none}.product-card h3{font-size:13px;margin:0 0 5px 70px;min-height:30px}.product-card p{font-size:10px;color:var(--muted);line-height:1.35;margin:0 0 0 70px}.product-foot{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.price{font-size:17px;font-weight:900}.add-round{border:0;background:var(--brown);color:white;width:31px;height:31px;border-radius:50%;font-size:22px;display:grid;place-items:center}.matcha .drink-can{background:linear-gradient(180deg,#f8ead8,#99b65a 45%,#4e6c2d 76%,#e9d3b4)}.strawberry .drink-can{background:linear-gradient(180deg,#f8ead8,#e8a9a1 38%,#8bae47 70%,#f0dac1)}.taro .drink-can{background:linear-gradient(180deg,#f8ead8,#c8a2d8 50%,#77558c 80%,#f0dac1)}.mocha .drink-can{background:linear-gradient(180deg,#f8ead8,#9a5b36 38%,#3a1a10 74%,#d9ae84)}.promo-card{margin-top:18px;border-radius:26px;background:linear-gradient(135deg,#21150f,#6f452d);color:white;min-height:145px;padding:22px;display:flex;justify-content:space-between;overflow:hidden;box-shadow:var(--shadow)}.promo-card h3{text-transform:uppercase;font-size:22px;margin:0 0 8px}.promo-card p{font-size:13px;line-height:1.45}.mini-can{width:86px;height:130px;border-radius:28px;background:linear-gradient(180deg,#f8ead8,#a96235,#2b140c);transform:rotate(10deg);display:grid;place-items:center;font-size:20px;letter-spacing:.08em;font-weight:900;color:#231711;box-shadow:0 20px 30px rgba(0,0,0,.3)}.drawer,.product-sheet,.admin-panel{position:fixed;inset:0;z-index:25;pointer-events:none}.drawer.open,.product-sheet.open{pointer-events:auto}.drawer-backdrop,.sheet-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.35);opacity:0;transition:.25s}.drawer.open .drawer-backdrop,.product-sheet.open .sheet-backdrop{opacity:1}.drawer-panel,.product-panel{position:absolute;left:50%;bottom:0;transform:translate(-50%,105%);width:min(100%,430px);max-height:94vh;overflow:auto;border-radius:34px 34px 0 0;background:var(--card);box-shadow:0 -20px 60px rgba(0,0,0,.28);padding:18px 14px calc(96px + env(safe-area-inset-bottom));transition:.32s cubic-bezier(.2,.8,.2,1)}.drawer.open .drawer-panel,.product-sheet.open .product-panel{transform:translate(-50%,0)}.product-panel{padding:0 14px calc(100px + env(safe-area-inset-bottom));background:linear-gradient(180deg,#3b2418 0,#3b2418 330px,var(--card) 331px);border-radius:0;max-height:100vh}.sheet-close{position:sticky;top:14px;z-index:4;border:0;background:rgba(255,255,255,.2);color:white;width:42px;height:42px;border-radius:50%;backdrop-filter:blur(12px);margin-top:14px}.product-hero{height:315px;position:relative;display:grid;place-items:center;color:white}.product-hero .drink-can{position:relative;left:auto;top:auto;width:150px;height:260px;transform:scale(1.04)}.product-hero:after{content:"";position:absolute;inset:auto 0 18px;text-align:center}.product-config{background:var(--card);border-radius:30px 30px 0 0;padding:20px 0 0;margin:0 -14px}.product-config>h3,.product-config>p{padding:0 18px;text-align:center}.product-config h3{font-family:"Playfair Display",serif;font-size:30px;margin:0 0 8px}.product-config>p{color:var(--muted);font-size:14px;line-height:1.45;margin:0 0 16px}.config-card{margin:12px 14px;padding:16px;border:1px solid var(--line);border-radius:22px;background:rgba(255,250,244,.78);box-shadow:0 12px 30px rgba(55,31,20,.06)}.config-card strong{display:block;margin-bottom:10px}.config-card small{display:block;color:var(--muted);font-size:12px;margin-top:-6px;margin-bottom:10px}.size-grid,.sweet-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.size-option,.sweet{border:1px solid var(--line);border-radius:16px;background:var(--soft);padding:14px}.size-option.active,.sweet.active{background:var(--brown);color:white}.sweet-grid{grid-template-columns:repeat(3,1fr)}.sweet{font-size:12px}.sheet-extras{display:grid;gap:12px}.extra-line{display:flex;align-items:center;justify-content:space-between;gap:10px}.extra-line label{display:flex;align-items:center;gap:10px}.extra-line input{width:18px;height:18px}.qty-card{display:flex;align-items:center;justify-content:space-between}.qty-picker{display:flex;align-items:center;gap:18px}.qty-picker button,.qty button{border:1px solid var(--line);background:var(--soft);border-radius:50%;width:34px;height:34px}.qty-picker span{font-size:24px;font-weight:800}.add-big{position:sticky;bottom:16px;z-index:6;margin:16px 14px 0;width:calc(100% - 28px);border:0;border-radius:18px;padding:18px;background:linear-gradient(135deg,var(--brown),#2c180f);color:white;display:flex;justify-content:space-between;font-weight:900;font-size:16px;box-shadow:0 18px 35px rgba(77,45,30,.28)}.milk-note{margin:14px;padding:16px;border-radius:20px;background:var(--soft);font-size:12px;color:var(--muted);text-align:center}.drawer-head,.admin-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.drawer-head h3{margin:0;font-size:18px}.cart-items{display:grid;gap:10px;max-height:310px;overflow:auto}.cart-row{background:rgba(255,250,244,.86);border:1px solid var(--line);border-radius:22px;padding:12px;display:grid;grid-template-columns:68px 1fr;gap:12px}.cart-thumb{width:68px;height:76px;border-radius:15px;background:var(--soft);position:relative;overflow:hidden}.cart-thumb .drink-can{width:39px;height:68px;border-radius:13px;left:15px;top:4px}.cart-thumb .can-logo{font-size:9px;top:34px}.cart-thumb small,.cart-thumb i,.cart-thumb .drink-can:after{display:none}.cart-row-info strong{font-size:14px}.cart-row-info p{font-size:12px;color:var(--muted);margin:4px 0 8px;line-height:1.3}.cart-actions{display:flex;align-items:center;justify-content:space-between}.qty{display:flex;align-items:center;gap:10px}.remove{border:0;background:transparent;color:#9a3b2d;font-weight:900}.order-form{display:grid;gap:11px;margin:14px 0}.order-form label{display:grid;gap:7px;font-size:13px;font-weight:800}.hint{color:var(--muted);margin-top:-8px}input,select{width:100%;border:1px solid var(--line);background:var(--soft);color:var(--ink);border-radius:16px;padding:14px;outline:none}.delivery-title{font-weight:900;margin-top:4px}.delivery-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.delivery-card{text-align:left;border:1px solid var(--line);background:var(--soft);border-radius:18px;padding:14px;display:grid;gap:4px}.delivery-card.active{border-color:var(--brown);box-shadow:inset 0 0 0 1px var(--brown)}.delivery-card small{font-size:11px;color:var(--muted)}.delivery-fields{display:none;gap:11px;background:rgba(255,250,244,.72);border:1px solid var(--line);border-radius:20px;padding:12px}.delivery-fields.show{display:grid}textarea{width:100%;border:1px solid var(--line);background:var(--soft);color:var(--ink);border-radius:16px;padding:14px;outline:none;resize:vertical;font:inherit}
.payment-title{font-weight:900;margin-top:4px}.payment-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.payment-card{text-align:left;border:1px solid var(--line);background:var(--soft);border-radius:18px;padding:14px;display:grid;gap:6px;min-height:112px}.payment-card.active{border-color:var(--brown);box-shadow:inset 0 0 0 1px var(--brown)}.payment-card span{font-size:28px}.payment-card small{font-size:11px;color:var(--muted)}.transfer-msg{display:none;font-size:12px;line-height:1.35;color:var(--muted);background:var(--soft);padding:12px;border-radius:16px}.summary,.ticket-info{background:rgba(255,250,244,.86);border:1px solid var(--line);border-radius:22px;padding:16px;display:grid;gap:11px}.summary h4{margin:0 0 4px}.summary div{display:flex;justify-content:space-between}.summary .total{border-top:1px solid var(--line);padding-top:13px;font-size:20px;font-weight:900}.primary-btn,.secondary-btn{width:100%;border:0;border-radius:18px;padding:17px;margin-top:14px;background:linear-gradient(135deg,var(--brown),#2d180f);color:white;font-weight:900;box-shadow:0 16px 35px rgba(77,45,30,.26)}.secondary-btn{background:var(--soft);color:var(--ink);box-shadow:none}.ticket-info{margin-top:14px;font-size:13px;color:var(--muted)}.ticket-info p{margin:0}.admin-panel{left:auto;width:min(100%,430px);right:0;background:var(--card);padding:20px 14px 100px;transform:translateX(105%);transition:.3s;box-shadow:-18px 0 55px rgba(0,0,0,.22);overflow:auto}.admin-panel.open{transform:none;pointer-events:auto}.stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stats article{background:var(--soft);padding:14px;border-radius:20px}.stats article:last-child{grid-column:1/-1}.stats span,.overline{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;font-weight:900;letter-spacing:.1em}.stats strong{display:block;margin-top:6px;font-size:20px}.orders-list{display:grid;gap:10px;margin-top:14px}.order-card{border:1px solid var(--line);border-radius:20px;padding:13px;background:var(--soft);font-size:13px;line-height:1.45}.bottom-nav{position:fixed;left:50%;bottom:12px;transform:translateX(-50%);width:min(calc(100% - 28px),402px);z-index:18;background:rgba(255,250,244,.9);border:1px solid var(--line);border-radius:24px;padding:8px;display:grid;grid-template-columns:repeat(4,1fr);box-shadow:0 18px 40px rgba(55,31,20,.18);backdrop-filter:blur(18px)}.bottom-nav button{border:0;background:transparent;border-radius:16px;padding:8px 4px;display:grid;gap:3px;place-items:center;font-weight:900}.bottom-nav button.active{background:var(--soft);color:var(--brown)}.bottom-nav small{font-size:10px}.toast{position:fixed;left:50%;bottom:92px;transform:translate(-50%,20px);opacity:0;pointer-events:none;width:min(calc(100% - 32px),400px);background:var(--ink);color:var(--bg);padding:14px;border-radius:18px;transition:.25s;z-index:40;text-align:center;font-weight:800}.toast.show{opacity:1;transform:translate(-50%,0)}@media (min-width:700px){.app-shell{padding-top:18px}.hero{min-height:500px}}


/* v3: imágenes reales de producto */
.hero{min-height:510px;background:linear-gradient(160deg,#1d120d,#5e3a28 50%,#e9d7c4)}
.photo-hero{right:-38px;bottom:0;width:290px;height:510px;display:block}
.photo-hero img{width:100%;height:100%;object-fit:cover;border-radius:0 0 32px 0;filter:drop-shadow(0 20px 30px rgba(0,0,0,.28))}
.hero-copy{width:56%;text-shadow:0 2px 18px rgba(0,0,0,.25)}
.feature-strip{margin-top:-66px}
.product-img{height:118px;display:grid;place-items:center}
.product-img img{height:116px;max-width:100%;object-fit:contain;filter:drop-shadow(0 12px 14px rgba(55,31,20,.16))}
.product-card{min-height:218px;padding:10px}
.product-card h3{margin:2px 0 5px;min-height:auto;font-size:13px}
.product-card p{margin:0;min-height:42px;font-size:10.5px}
.product-foot{margin-top:8px}
.product-hero{height:315px}
.product-hero img{height:295px;max-width:90%;object-fit:contain;filter:drop-shadow(0 26px 38px rgba(0,0,0,.34))}
.cart-thumb{display:grid;place-items:center}
.cart-thumb img{height:72px;max-width:100%;object-fit:contain}
.single-size{border:1px solid var(--line);border-radius:16px;background:var(--brown);color:white;padding:16px;display:flex;justify-content:space-between;align-items:center}
.single-size b{font-size:20px}
.single-size span{font-size:12px;opacity:.86}
.sheet-extras small{margin:0;color:var(--muted)}
@media (max-width:390px){
  .hero h1{font-size:44px}
  .photo-hero{right:-62px;width:270px}
  .hero-copy{width:60%}
}


/* v4: selección de leche tipo app + solo tapioca */
.notice-card{background:#fff8f0;border-color:#e8d8c8;box-shadow:none}
.notice-card p{margin:0;font-size:18px;line-height:1.35;color:var(--ink)}
.notice-card span{margin-right:10px}
.notice-card b{font-weight:900}
.option-section{padding:8px 14px 6px}
.option-section h4{text-transform:uppercase;letter-spacing:.14em;color:#8a6137;font-size:14px;margin:18px 0 10px;font-weight:900}
.milk-options{display:grid;gap:10px}
.choice-row{width:100%;min-height:58px;border:1.5px solid #e5d7c7;background:#fffdf9;border-radius:18px;padding:15px 14px;display:flex;align-items:center;justify-content:space-between;text-align:left}
.choice-row.active{border-color:#b28350;background:#fff8ef}
.choice-left{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:600}
.radio-dot,.check-box{width:22px;height:22px;border:2px solid #c8b8a7;border-radius:50%;display:inline-grid;place-items:center;flex:0 0 auto}
.radio-dot::after{content:"";width:10px;height:10px;border-radius:50%;background:transparent}
.choice-row.active .radio-dot::after{background:var(--ink)}
.check-box{border-radius:7px}
.choice-row.active .check-box::after{content:"✓";font-size:14px;font-weight:900}
.choice-price{font-size:16px;font-weight:900}
.choice-price.included{font-size:15px}
.qty-wide{width:142px;background:#fffdf9;border:1.5px solid #e5d7c7;border-radius:999px;padding:8px 10px;justify-content:space-between}
.qty-wide button{border:0;background:transparent;font-size:24px}
.qty-wide span{font-size:22px}
.product-config{padding-bottom:10px}
.product-config>p{margin-bottom:8px}
.ticket-info p:nth-child(2){border-top:1px solid var(--line);padding-top:10px}


/* v5: promo con imagen real + íconos premium */
.svg-ico{width:24px;height:24px;display:inline-block;background:currentColor;vertical-align:middle;mask-repeat:no-repeat;mask-position:center;mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain}
.svg-ico.small{width:20px;height:20px}
.cart-ico{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8h12l-1 11H7L6 8Z'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 0'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8h12l-1 11H7L6 8Z'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 0'/%3E%3C/svg%3E")}
.trash-ico{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M6 6l1 15h10l1-15'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M6 6l1 15h10l1-15'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3C/svg%3E")}
.cash-ico{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M6 10v4M18 10v4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M6 10v4M18 10v4'/%3E%3C/svg%3E")}
.transfer-ico{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M9 7h6M9 11h6M9 15h3'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M9 7h6M9 11h6M9 15h3'/%3E%3C/svg%3E")}
.send-ico{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m22 2-7 20-4-9-9-4 20-7Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m22 2-7 20-4-9-9-4 20-7Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E")}
.ice-ico{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2v20M4.9 4.9l14.2 14.2M2 12h20M4.9 19.1 19.1 4.9'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2v20M4.9 4.9l14.2 14.2M2 12h20M4.9 19.1 19.1 4.9'/%3E%3C/svg%3E")}
.milk-ico{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 2h8l-1 5v14H9V7L8 2Z'/%3E%3Cpath d='M9 7h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 2h8l-1 5v14H9V7L8 2Z'/%3E%3Cpath d='M9 7h6'/%3E%3C/svg%3E")}
.bag-ico{mask-image:var(--bag);-webkit-mask-image:var(--bag)}
.heart-ico{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 1 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 1 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E")}
.home-ico{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3 10 9-7 9 7v10a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1V10Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3 10 9-7 9 7v10a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1V10Z'/%3E%3C/svg%3E")}
.menu-ico{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E")}
.ticket-ico{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5h16v5a2 2 0 0 0 0 4v5H4v-5a2 2 0 0 0 0-4V5Z'/%3E%3Cpath d='M9 9h6M9 15h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5h16v5a2 2 0 0 0 0 4v5H4v-5a2 2 0 0 0 0-4V5Z'/%3E%3Cpath d='M9 9h6M9 15h6'/%3E%3C/svg%3E")}
:root{--bag:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8h12l-1 11H7L6 8Z'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 0'/%3E%3C/svg%3E")}
.feature-strip .svg-ico{color:var(--brown);width:26px;height:26px}
.payment-card .svg-ico{width:34px;height:34px;color:var(--brown)}
.primary-btn{display:flex;align-items:center;justify-content:center;gap:10px}
.primary-btn .svg-ico{width:22px;height:22px;color:white}
.image-promo{padding:0;min-height:0;background:none;border-radius:26px;overflow:hidden;box-shadow:var(--shadow)}
.image-promo img{width:100%;display:block;border-radius:26px;aspect-ratio:auto;object-fit:contain;background:var(--card)}
@media (max-width:430px){
  .image-promo img{aspect-ratio:auto;object-position:center}
}


/* v6 final: imágenes enviadas + banner inferior exacto + hora de recolección */
.product-img img{height:128px;max-width:112%;object-fit:contain;filter:drop-shadow(0 14px 16px rgba(55,31,20,.18))}
.product-card{min-height:228px}
.product-hero img{height:310px;max-width:92%;object-fit:contain;filter:drop-shadow(0 26px 38px rgba(0,0,0,.34))}
.cart-thumb img{height:76px;object-fit:contain}
.image-promo{padding:0;min-height:0;background:#2b1710;border-radius:26px;overflow:hidden;box-shadow:var(--shadow);cursor:pointer}
.image-promo img{width:100%;display:block;border-radius:26px;aspect-ratio:2048/720;object-fit:cover;object-position:center}
.pickup-label{margin-top:4px;font-size:15px!important;color:var(--ink)!important;font-weight:900!important}
.pickup-label select{margin-top:8px;font-size:16px;font-weight:800;background:#f7eee6;border:1.5px solid #e3d5c8;border-radius:22px;padding:18px 16px}
.pickup-hint{font-size:14px;color:var(--muted);margin-top:-6px}
.ticket-info p:nth-child(2),.ticket-info p:nth-child(3){border-top:1px solid var(--line);padding-top:10px}
@media (max-width:430px){
  .image-promo img{aspect-ratio:2048/760}
  .product-img img{height:120px}
}


/* v7 final cliente: sin panel admin, carrito con hora y hero sin corte */
.bottom-nav{grid-template-columns:repeat(3,1fr)}
.hero{min-height:560px;background:#2b1710;padding:28px 20px;display:flex;align-items:stretch}
.hero:after{background:linear-gradient(90deg,rgba(43,23,16,.96) 0%,rgba(43,23,16,.78) 38%,rgba(43,23,16,.18) 68%,transparent 100%)}
.hero-copy{width:58%;z-index:3}
.photo-hero{position:absolute;inset:0!important;width:100%!important;height:100%!important;right:auto!important;bottom:auto!important}
.photo-hero img{width:100%;height:100%;object-fit:contain!important;object-position:right center!important;border-radius:32px;opacity:.98}
.pickup-label{margin-top:6px;font-size:15px!important;color:var(--ink)!important;font-weight:900!important}
.pickup-label select{margin-top:8px;font-size:16px;font-weight:800;background:#f7eee6;border:1.5px solid #e3d5c8;border-radius:22px;padding:18px 16px}
.pickup-hint{font-size:14px;color:var(--muted);margin-top:-6px}
.ticket-info p:nth-child(2),.ticket-info p:nth-child(3){border-top:1px solid var(--line);padding-top:10px}
.admin-panel{display:none!important}
@media (max-width:430px){
  .hero{min-height:565px}
  .hero h1{font-size:48px}
  .hero-copy{width:62%}
  .photo-hero img{object-position:80% center!important}
}


/* v8: notas opcionales en carrito */
.notes-label{margin-top:8px;font-size:15px!important;color:var(--ink)!important;font-weight:900!important}
.notes-label span{font-weight:700;color:var(--muted);font-size:12px}
.notes-label textarea{margin-top:8px;width:100%;resize:vertical;min-height:88px;border:1.5px solid #e3d5c8;background:#f7eee6;color:var(--ink);border-radius:22px;padding:15px 16px;outline:none;line-height:1.35}
.notes-label textarea:focus,.pickup-label select:focus{border-color:#b28350;box-shadow:0 0 0 3px rgba(178,131,80,.12)}
.quick-notes{display:flex;gap:8px;overflow:auto;padding:0 0 2px;scrollbar-width:none}
.quick-notes button{white-space:nowrap;border:1px solid var(--line);background:#fffaf4;color:var(--brown);border-radius:999px;padding:10px 12px;font-size:12px;font-weight:900}
.ticket-info p:nth-child(2),.ticket-info p:nth-child(3),.ticket-info p:nth-child(4){border-top:1px solid var(--line);padding-top:10px}


/* v10 final: hero imagen completa + 16 oz solo en menú */
.hero{
  min-height: 640px;
  background: #2b1710;
  padding: 28px 20px;
  overflow: hidden;
}
.hero:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(43,23,16,.88) 0%, rgba(43,23,16,.58) 32%, rgba(43,23,16,.16) 62%, rgba(43,23,16,.72) 100%),
    linear-gradient(90deg, rgba(43,23,16,.78) 0%, rgba(43,23,16,.28) 50%, rgba(43,23,16,.08) 100%);
  z-index:1;
  pointer-events:none;
}
.hero-copy{
  position:relative;
  z-index:3;
  width:72%;
}
.photo-hero{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  right:auto!important;
  bottom:auto!important;
}
.photo-hero img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  border-radius:32px!important;
  filter:none!important;
  opacity:1;
}
.feature-strip{
  margin-top:-72px;
}
.menu-size-note{
  margin: -2px 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.size-mini{
  display:inline-flex;
  vertical-align:middle;
  margin-left:6px;
  padding:4px 7px;
  border-radius:999px;
  background:#f1e4d7;
  color:#6c4630;
  font-size:9px;
  font-weight:900;
  letter-spacing:.02em;
  white-space:nowrap;
}
.sheet-size-mini{
  display:inline-flex;
  vertical-align:middle;
  margin-left:8px;
  padding:5px 9px;
  border-radius:999px;
  background:#f1e4d7;
  color:#6c4630;
  font-family:Inter,system-ui,sans-serif;
  font-size:12px;
  font-weight:900;
}
.product-card h3{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
}
.product-config h3{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  flex-wrap:wrap;
}
@media (max-width:430px){
  .hero{
    min-height:640px;
  }
  .hero-copy{
    width:76%;
  }
  .hero h1{
    font-size:52px;
  }
  .photo-hero img{
    object-position:center center!important;
  }
}

/* v15: mapa de entrega y tarifa por distancia */
.image-promo img{
  width:100%!important;
  height:auto!important;
  object-fit:contain!important;
  object-position:center center!important;
  display:block;
}
.image-promo{
  min-height:auto!important;
  padding:0!important;
  background:transparent!important;
}
.distance-box{
  display:grid;
  gap:9px;
  border:1px solid var(--line);
  background:var(--soft);
  border-radius:20px;
  padding:12px;
}
.distance-box b{font-size:14px}.distance-box small{color:var(--muted);font-size:12px;line-height:1.35}
.delivery-map{
  width:100%;
  height:230px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#eee1d4;
}
.map-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.map-actions button{
  border:1px solid var(--line);
  background:rgba(255,250,244,.9);
  border-radius:14px;
  padding:11px 10px;
  font-size:12px;
  font-weight:900;
}
.distance-result{
  margin:0;
  font-size:12px;
  font-weight:900;
  color:var(--brown);
  line-height:1.35;
}
[data-theme="dark"] .leaflet-tile{filter:brightness(.78) contrast(1.08)}

/* V23: se conserva el diseño original de inicio/menú; solo se mejora el carrito */
.delivery-card{display:flex!important;align-items:center;gap:12px;min-height:76px}.delivery-card>span:last-child{display:grid;gap:4px}.delivery-card b{font-size:14px}.delivery-card small{font-size:11px}.delivery-icon{width:38px;height:38px;border-radius:14px;background:rgba(84,41,22,.10);position:relative;flex:0 0 38px}.delivery-icon:before{content:"";position:absolute;inset:8px;background:var(--brown);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}.pickup-icon:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8h12l-1 11H7L6 8Z'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 0'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8h12l-1 11H7L6 8Z'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 0'/%3E%3C/svg%3E")}.delivery-icon-bike:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 16h10V7H3v9Z'/%3E%3Cpath d='M13 10h4l3 3v3h-7v-6Z'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 16h10V7H3v9Z'/%3E%3Cpath d='M13 10h4l3 3v3h-7v-6Z'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E")}.delivery-card.active .delivery-icon{background:var(--brown)}.delivery-card.active .delivery-icon:before{background:#fffaf4}.address-search-row{display:grid;grid-template-columns:1fr 46px;gap:8px}.address-search-row button{border:0;border-radius:16px;background:var(--brown);color:white;display:grid;place-items:center}.search-ico{-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E")}.delivery-map{height:310px;border-radius:18px;overflow:hidden}.distance-result{display:grid;gap:3px;margin:0;background:var(--soft);border:1px solid var(--line);border-radius:16px;padding:12px}.distance-result .shipping-label{font-size:11px;color:var(--muted);font-weight:900;text-transform:uppercase;letter-spacing:.08em}.distance-result b{font-size:16px;color:var(--brown);line-height:1.1}.distance-result small{font-size:11px;color:var(--muted)}.summary .total{font-size:16px}.summary .total strong{font-size:18px}.drawer-panel{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
/* Botón normal dentro del flujo del carrito: no tapa notas ni campos */
#confirmOrder.confirm-fixed{position:static;width:100%;margin:16px 0 8px;transform:none;z-index:auto;box-shadow:0 12px 26px rgba(77,45,30,.22)}
.ticket-info{margin-bottom:12px}.leaflet-control-attribution{display:none!important}

/* V26: pines profesionales en el mapa */
.thea-marker{
  width:44px!important;height:44px!important;border-radius:50% 50% 50% 10px;
  transform:rotate(-45deg);background:#542916;color:#fefaf0;border:3px solid #fffaf4;
  display:grid!important;place-items:center;font-family:Georgia,serif;font-weight:700;font-size:25px;
  box-shadow:0 12px 24px rgba(84,41,22,.28);line-height:1;
}
.thea-marker span{display:block;transform:rotate(45deg);margin-top:1px}
.client-marker{
  width:38px!important;height:38px!important;border-radius:50% 50% 50% 9px;
  transform:rotate(-45deg);background:#a13a1e;border:3px solid #fff;
  display:grid!important;place-items:center;box-shadow:0 10px 20px rgba(84,41,22,.25);
}
.client-marker span{width:10px;height:10px;border-radius:999px;background:#fff;display:block}
.leaflet-marker-icon.thea-marker,.leaflet-marker-icon.client-marker{margin-left:0!important;margin-top:0!important}

/* v29: corregir botón de agregar al carrito en producto
   Ahora el botón ya no es sticky ni se encima sobre opciones de leche/adicionales. */
.add-big{
  position: static !important;
  bottom: auto !important;
  z-index: 1 !important;
  margin: 18px 14px 22px !important;
}
.product-config{
  padding-bottom: 24px !important;
}
.choice-row,.extra-choice,.milk-choice{
  position: relative;
  z-index: 2;
}


/* v30: dos pines profesionales: local + ubicación exacta del cliente */
.store-thea-marker{
  width:40px!important;height:40px!important;border-radius:50% 50% 50% 10px;
  transform:rotate(-45deg);background:#542916;color:#fefaf0;border:3px solid #fffaf4;
  display:grid!important;place-items:center;font-family:Georgia,serif;font-weight:700;font-size:24px;
  box-shadow:0 10px 20px rgba(84,41,22,.26);line-height:1;
}
.store-thea-marker span{display:block;transform:rotate(45deg);margin-top:1px}
.client-location-marker{
  width:58px!important;height:58px!important;display:grid!important;place-items:center;
  filter:drop-shadow(0 10px 18px rgba(84,41,22,.24));
}
.client-location-marker .client-pin-icon{
  width:38px;height:38px;border-radius:50% 50% 50% 10px;transform:rotate(-45deg);
  background:#a13a1e;color:#fffaf4;border:3px solid #fffaf4;display:grid;place-items:center;
}
.client-location-marker .client-pin-icon svg{transform:rotate(45deg)}
.client-location-marker small{
  margin-top:-2px;background:#fffaf4;color:#542916;border:1px solid rgba(84,41,22,.16);
  border-radius:999px;padding:2px 7px;font-size:9px;font-weight:900;white-space:nowrap;letter-spacing:.01em;
}


/* Mejoras carrito v32 */
.wait-notice{margin:0;padding:12px 13px;border:1px solid var(--line);border-radius:16px;background:rgba(255,250,244,.78);font-size:12px;line-height:1.35;color:var(--muted);font-weight:800}
.schedule-box{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:18px;background:rgba(255,250,244,.72)}
.toggle-line{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:10px;font-weight:900}
.toggle-line input{width:20px;height:20px;padding:0;accent-color:var(--brown)}
.preorder-date-label{display:none!important}
.preorder-date-label.show{display:grid!important}
.address-search-row{position:relative}
#addressSuggestions{font-size:12px}
.choice-left{display:flex;align-items:center;gap:10px}
.choice-price.included{color:var(--muted);font-size:12px}
.cart-row-info p{line-height:1.45}


/* Mejoras THĒA v36 */
.header-actions{display:flex;align-items:center;gap:8px}.checkout-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:2px 0 14px}.checkout-progress span{border:1px solid var(--line);border-radius:999px;padding:8px 6px;text-align:center;font-size:10px;font-weight:900;color:var(--muted);background:var(--soft)}.checkout-progress span.done{background:var(--brown);border-color:var(--brown);color:#fffaf4}.prep-estimate{border:1px solid var(--line);background:var(--soft);border-radius:16px;padding:12px;font-size:12px;font-weight:900;color:var(--brown);line-height:1.35}.product-card{position:relative;overflow:hidden}.product-badge{position:absolute;top:10px;left:10px;z-index:2;border:1px solid rgba(84,41,22,.12);background:rgba(255,250,244,.9);color:var(--brown);border-radius:999px;padding:6px 8px;font-size:10px;font-weight:900;box-shadow:0 8px 22px rgba(77,45,30,.10);backdrop-filter:blur(10px)}.card-qty{display:flex;align-items:center;gap:7px}.card-qty button{border:0;background:var(--brown);color:#fffaf4;border-radius:999px;width:30px;height:30px;font-weight:900}.card-qty b{min-width:16px;text-align:center}.floating-cart{grid-template-columns:auto 1fr auto;min-width:190px}.floating-cart b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.summary{position:relative}.toast.show{box-shadow:0 18px 38px rgba(40,22,12,.22)}@media(max-width:420px){.checkout-progress span{font-size:9px;padding:7px 4px}.floating-cart{min-width:170px}.product-badge{font-size:9px}}

/* Configurador con imagen visible de la bebida seleccionada. */
.product-sheet .product-hero{display:grid!important}
.product-config{padding-top:18px}
.required-note{font-size:11px;color:var(--muted);font-weight:800}

/* v37 disponibilidad y pedido anticipado */
.product-card.sold-out {
  opacity: .62;
  filter: grayscale(.25);
}
.product-card.sold-out .product-img img {
  transform: none;
}
.product-badge.sold-badge {
  background: rgba(72, 54, 43, .9);
  color: #fff;
}
.add-round.disabled,
.choice-row.disabled {
  cursor: not-allowed;
  opacity: .65;
}
.choice-row.disabled .radio-dot {
  opacity: .35;
}

.admin-notice-bar{
  position: sticky;
  top: 0;
  z-index: 9999;
  padding: 10px 16px;
  text-align: center;
  font-weight: 700;
  background: #3a241b;
  color: #fff8ef;
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}

/* Estado seguro al confirmar pedido: evita dobles clics y correos duplicados */
.primary-btn:disabled,
.confirm-fixed:disabled,
.add-big:disabled{
  opacity: .72;
  cursor: not-allowed;
  pointer-events: none;
}
.confirm-fixed.is-loading{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-spinner{
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  display: inline-block;
  animation: thea-spin .75s linear infinite;
}
@keyframes thea-spin{to{transform:rotate(360deg)}}

/* Actualizaciones: notas, descuentos, transferencia */
.old-price{text-decoration:line-through;opacity:.55;font-size:.78em;margin-right:4px}.price em{font-style:normal;font-size:.68em;background:#efe2d9;padding:3px 6px;border-radius:999px}.optional-label,.notes-label span,.discount-code-box span{font-weight:400;opacity:.65;font-size:.85em}.item-note{width:100%;box-sizing:border-box;resize:vertical;border:1px solid var(--line,#ddd);border-radius:14px;padding:12px;background:var(--card,#fff);color:inherit;font:inherit}.choice-row.disabled{opacity:.48;cursor:not-allowed}.transfer-details{display:grid;gap:7px;margin:10px 0}.transfer-details div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(0,0,0,.08);padding-bottom:6px}.transfer-details span{opacity:.7}.discount-code-box{margin-top:16px;padding:14px;border:1px dashed var(--line,#d8cbc3);border-radius:16px}.discount-code-box>div{display:flex;gap:8px;margin-top:8px}.discount-code-box input{min-width:0;flex:1;text-transform:uppercase}.discount-code-box button{border:0;border-radius:12px;padding:10px 14px;font-weight:700}.discount-code-box p{min-height:18px;margin:7px 0 0;font-size:.85rem}.remove-code{background:transparent!important;padding:4px 0!important;text-decoration:underline;opacity:.7}#discountTotal{color:#48724b}.admin-notice-bar{white-space:pre-wrap}
.company-info{margin:28px 0 100px;padding:24px;border-radius:24px;background:var(--card,#fff);box-shadow:0 12px 34px rgba(61,47,40,.08)}.company-info h2{margin-top:0}.company-links{display:flex;flex-wrap:wrap;gap:10px}.company-links a{padding:11px 15px;border-radius:999px;background:#3d2f28;color:#fff;text-decoration:none;font-weight:800}.date-quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0}.date-quick{border:1px solid #d9c9bc;background:#fff;color:#3d2f28;border-radius:999px;padding:10px;font-weight:800}.date-quick.active{background:#3d2f28;color:#fff}.sold-badge{max-width:120px;text-align:center}@media(max-width:560px){.company-links{display:grid}.date-quick-grid{grid-template-columns:1fr 1fr 1fr}}

/* v50 — navegación tipo app sobre el hero original de v44. No modifica imágenes ni catálogo. */
.app-header-v50{
  min-height:106px;
  padding:18px 18px 12px;
  align-items:flex-start;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.wordmark-v50{
  display:flex!important;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  width:auto!important;
  min-width:150px;
  line-height:1;
  color:var(--ink);
  text-align:left;
  padding-top:2px;
}
.wordmark-v50 span{
  font-family:Georgia,'Times New Roman',serif;
  font-size:42px!important;
  font-weight:400!important;
  letter-spacing:.20em!important;
  line-height:.95;
  white-space:nowrap;
}
.wordmark-v50 small{
  margin-top:9px;
  padding-left:3px;
  font-size:10px!important;
  font-weight:800;
  letter-spacing:.42em!important;
  color:#c68b57;
  white-space:nowrap;
}
.header-actions-v50{display:flex;gap:8px;align-items:center;margin-left:auto}
.header-island{
  position:relative;
  border:1px solid rgba(93,67,51,.12);
  background:rgba(255,250,244,.88);
  color:var(--brown);
  box-shadow:0 9px 24px rgba(68,42,28,.10);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  height:44px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-weight:900;
  padding:0 14px;
}
.cart-island{width:48px;padding:0}
.cart-island .svg-ico{width:22px;height:22px}
.island-count{
  position:absolute;
  right:-5px;
  top:-7px;
  width:21px;
  height:21px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--brown);
  color:#fff;
  font-size:10px;
  line-height:1;
  border:2px solid var(--bg);
}
.info-island{padding:0 13px 0 11px;font-size:14px}
.info-symbol{
  width:21px;height:21px;border:2px solid currentColor;border-radius:50%;display:grid;place-items:center;
  font-family:Georgia,serif;font-size:13px;font-weight:900;line-height:1;
}
.company-info{display:none!important}
.feature-strip{position:relative;z-index:4}

.info-drawer{position:fixed;inset:0;z-index:80;pointer-events:none;visibility:hidden}
.info-drawer.open{pointer-events:auto;visibility:visible}
.info-backdrop{position:absolute;inset:0;background:rgba(38,24,17,.28);opacity:0;transition:opacity .25s ease;backdrop-filter:blur(3px)}
.info-drawer.open .info-backdrop{opacity:1}
.info-panel{
  position:absolute;top:0;right:0;height:100%;width:min(86vw,360px);padding:22px 16px calc(30px + env(safe-area-inset-bottom));
  overflow:auto;background:rgba(255,250,244,.97);border-radius:30px 0 0 30px;box-shadow:-22px 0 55px rgba(50,30,20,.20);
  transform:translateX(105%);transition:transform .28s cubic-bezier(.2,.8,.2,1);
}
.info-drawer.open .info-panel{transform:none}
.info-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding:0 4px}
.info-head h2{margin:0;font-family:Georgia,'Times New Roman',serif;font-size:30px;color:var(--ink)}
.info-close{border:0;background:transparent;color:var(--ink);font-size:36px;line-height:1;padding:4px 6px}
.info-accordion{border-top:1px solid var(--line)}
.info-accordion:last-child{border-bottom:1px solid var(--line)}
.info-accordion summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:11px;padding:16px 4px;font-size:15px;color:var(--ink)}
.info-accordion summary::-webkit-details-marker{display:none}
.info-accordion summary::after{content:'⌄';margin-left:auto;font-size:20px;transition:transform .2s}
.info-accordion[open] summary::after{transform:rotate(180deg)}
.info-round{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#f1dfcf;color:var(--brown);font-size:18px;font-weight:900;flex:0 0 38px}
.info-content{padding:0 4px 17px 53px;color:var(--muted);font-size:13px;line-height:1.45}
.steps-info{display:grid;gap:10px}
.steps-info article{display:grid;grid-template-columns:28px 1fr;gap:9px;align-items:start}
.steps-info article strong{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#c88d59;color:#fff}
.steps-info p,.schedule-info p,.location-info p{margin:0}
.info-primary{border:0;border-radius:15px;padding:13px 14px;background:var(--brown);color:#fff;font-weight:900;margin-top:3px;width:100%}
.info-links{display:grid;gap:8px}
.info-links a{display:grid;gap:2px;text-decoration:none;color:var(--ink);padding:11px 12px;border:1px solid var(--line);border-radius:15px;background:rgba(255,255,255,.55)}
.info-links small{color:var(--muted)}
.schedule-info{display:grid;gap:12px}.schedule-info b,.location-info b{color:var(--ink)}
.map-link{display:inline-flex;margin-top:11px;border:1px solid var(--brown);border-radius:999px;padding:10px 14px;text-decoration:none;color:var(--brown);font-weight:900}
.info-open{overflow:hidden}

@media(max-width:430px){
  .app-header-v50{min-height:96px;padding:16px 15px 10px}
  .wordmark-v50{min-width:142px}
  .wordmark-v50 span{font-size:38px!important;letter-spacing:.18em!important}
  .wordmark-v50 small{font-size:9px!important;letter-spacing:.38em!important}
  .header-island{height:41px;border-radius:15px}
  .cart-island{width:45px}
  .info-island{font-size:13px;padding:0 12px 0 10px}
}
@media(max-width:360px){
  .wordmark-v50{min-width:126px}
  .wordmark-v50 span{font-size:33px!important}
  .wordmark-v50 small{font-size:8px!important}
  .header-actions-v50{gap:6px}
  .info-island{padding:0 10px}.info-island span:last-child{display:none}
}


/* v51 — iconografía oficial y comportamiento móvil. Conserva hero, catálogo y backend. */
.benefit-icon{
  width:34px;height:34px;object-fit:contain;display:block;
  filter:none;opacity:.96;
}
.feature-strip article{min-width:0}
.feature-strip article small{line-height:1.18}
.info-round{overflow:hidden}
.info-round img{width:23px;height:23px;object-fit:contain;display:block}
.info-links a{
  grid-template-columns:32px 1fr;align-items:center;gap:10px;
}
.info-links a>img{width:29px;height:29px;object-fit:contain}
.info-links a>span{display:grid;gap:1px}
.info-links a b{font-size:13px;color:var(--ink)}
.info-links a small{display:block}
.bottom-nav{grid-template-columns:repeat(3,1fr);transition:transform .24s ease,opacity .2s ease,visibility .2s}
.bottom-nav-icon{width:24px;height:24px;display:block;object-fit:contain}
.bottom-nav button.active .bottom-nav-icon{filter:sepia(.65) saturate(1.7) hue-rotate(336deg) brightness(.92)}
.bottom-cart-wrap{position:relative;display:block}
.bottom-cart-count{position:absolute;right:-10px;top:-8px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:var(--brown);color:#fff;display:grid;place-items:center;font-size:9px;font-weight:900;border:2px solid rgba(255,250,244,.94)}
.bottom-nav.is-hidden{transform:translate(-50%,calc(100% + 34px));opacity:0;visibility:hidden;pointer-events:none}
.wordmark-v50{transition:opacity .22s ease,transform .24s ease,visibility .22s}
.app-header.logo-scrolled .wordmark-v50{opacity:0;transform:translateY(-12px);visibility:hidden}
.app-header-v50{transition:min-height .24s ease,padding .24s ease}
.app-header.logo-scrolled{min-height:58px;padding-top:9px;padding-bottom:6px}
.app-header.logo-scrolled .header-actions-v50{margin-left:auto}
@media(max-width:390px){
  .benefit-icon{width:30px;height:30px}
  .feature-strip{padding:10px 8px;gap:4px}
  .feature-strip small{font-size:9px}
  .bottom-nav-icon{width:23px;height:23px}
}
@media(prefers-reduced-motion:reduce){
  .bottom-nav,.wordmark-v50,.app-header-v50{transition:none!important}
}

#theaOrderDiagnostic{
  display:none;
  margin:10px 0 12px;
  padding:11px 13px;
  border-radius:12px;
  font-size:13px;
  line-height:1.35;
  background:#f7eee5;
  color:#3b2419;
  border:1px solid rgba(59,36,25,.18);
}
#theaOrderDiagnostic[data-type="success"]{
  background:#edf5ed;
  color:#244626;
}
#theaOrderDiagnostic[data-type="error"]{
  background:#fff0ed;
  color:#7a241c;
}
.thea-required-error{
  outline:3px solid #b94a2f!important;
  outline-offset:2px!important;
}
