/* Carrito y pago en línea — Vital & Co. Paleta del sitio: azul #152C47, rosa #D48A9C / #E2A5B4, crema #F3EEE3 */
:root { --vc-navy: #152C47; --vc-navy2: #1d3a5c; --vc-pink: #D48A9C; --vc-pinkd: #c47a8c; --vc-pinkl: #E2A5B4; --vc-cream: #F3EEE3; --vc-card: #FDFCF9; --vc-line: #EAE2D2; --vc-ink: #20242b; --vc-mute: #6b7078; --vc-err: #b3261e; }
.vc-ic { display: inline-flex; flex: none; line-height: 0; }
.vc-drawer [hidden], .vc-modal [hidden] { display: none !important; }
.vc-drawer button, .vc-modal button, .vc-fab, .vc-add, .vc-pill button { font-family: 'DM Sans', sans-serif; }

/* ---------- Botón "+" y contador en el menú ---------- */
.vc-ctl { flex: none; margin-left: 6px; display: inline-flex; align-items: center; }
.vc-add { position: relative; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--vc-pink); color: #fff; font-size: 1.35rem; font-weight: 700; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 18px -8px rgba(212,138,156,.95); transition: transform .2s ease, background .2s ease; }
.vc-add:hover { background: var(--vc-pinkd); transform: scale(1.09); }
.vc-add:active { transform: scale(.92); }
.vc-badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--vc-navy); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--vc-card); }
.vc-pill { display: inline-flex; align-items: center; background: var(--vc-navy); color: #fff; border-radius: 99px; box-shadow: 0 10px 18px -8px rgba(21,44,71,.7); }
.vc-pill button { width: 34px; height: 36px; border: 0; background: transparent; color: #fff; font-size: 1.25rem; font-weight: 700; cursor: pointer; border-radius: 99px; }
.vc-pill button:hover { background: rgba(255,255,255,.14); }
.vc-pill span { min-width: 20px; text-align: center; font-weight: 800; font-size: .92rem; }
.vc-add:focus-visible, .vc-pill button:focus-visible, .vc-fab:focus-visible, .vc-close:focus-visible, .vc-btn:focus-visible, .vc-chip:focus-visible, .vc-opt:focus-visible, .vc-step button:focus-visible { outline: 3px solid var(--vc-navy); outline-offset: 2px; }
.vc-on .acc-rows { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.vc-note { text-align: center; margin: 14px auto 0; max-width: 520px; color: #5a5f67; font-size: .95rem; }

/* ---------- Barra flotante ---------- */
.vc-fab { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 900; transform: translate(-50%, 160%); display: flex; align-items: center; gap: 12px; width: min(420px, calc(100vw - 24px)); padding: 10px 18px 10px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 100px; background: rgba(21,44,71,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; font-size: .98rem; font-weight: 700; cursor: pointer; box-shadow: 0 22px 44px -14px rgba(21,44,71,.8); transition: transform .5s cubic-bezier(.2,.9,.3,1.15); }
.vc-fab[data-show="1"] { transform: translate(-50%, 0); }
.vc-fab-bag { position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--vc-pinkl); color: var(--vc-navy); display: grid; place-items: center; flex: none; }
.vc-fab-count { position: absolute; top: -5px; right: -5px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 99px; background: #fff; color: var(--vc-navy); font-size: .72rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--vc-navy); }
.vc-fab-label { flex: 1; text-align: left; }
.vc-fab-total { font-size: 1.05rem; }
.vc-fab .vc-ic { opacity: .85; }
.vc-fab.bump { animation: vcBump .38s ease; }
@keyframes vcBump { 0% { transform: translate(-50%, 0) scale(1); } 45% { transform: translate(-50%, -4px) scale(1.05); } 100% { transform: translate(-50%, 0) scale(1); } }

/* ---------- Hoja del pedido ---------- */
.vc-scrim { position: fixed; inset: 0; z-index: 1000; background: rgba(9,16,26,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
.vc-scrim[data-open="1"] { opacity: 1; visibility: visible; }
.vc-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001; width: min(460px, 100vw); background: var(--vc-cream); color: var(--vc-ink); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .42s cubic-bezier(.2,.8,.2,1); box-shadow: -24px 0 60px -20px rgba(0,0,0,.4); font-family: 'DM Sans', sans-serif; }
.vc-drawer[data-open="1"] { transform: none; }
.vc-handle { display: none; }
.vc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 14px; background: var(--vc-navy); color: #fff; }
.vc-head h2 { margin: 0; font: 600 1.4rem Fraunces, Georgia, serif; }
.vc-sub { display: block; margin-top: 2px; font-size: .8rem; color: rgba(255,255,255,.7); }
.vc-close { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.vc-close:hover { background: rgba(255,255,255,.14); }
.vc-body { flex: 1; overflow-y: auto; padding: 6px 20px 12px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.vc-foot { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); background: var(--vc-card); border-top: 1px solid var(--vc-line); box-shadow: 0 -18px 30px -24px rgba(21,44,71,.45); }

.vc-test { margin: 14px 0 0; padding: 9px 12px; border-radius: 10px; background: #fff3cd; color: #6b5200; font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.vc-sec { display: flex; align-items: center; gap: 10px; margin: 22px 0 10px; font: 600 1.08rem Fraunces, Georgia, serif; color: var(--vc-navy); }
.vc-sec i { width: 24px; height: 24px; border-radius: 50%; background: var(--vc-navy); color: #fff; font: 700 .75rem 'DM Sans', sans-serif; display: grid; place-items: center; font-style: normal; }
.vc-empty { text-align: center; color: var(--vc-mute); padding: 26px 0 8px; }
.vc-empty p { margin: 0 0 6px; }
.vc-link { border: 0; background: none; color: var(--vc-navy); font-weight: 700; text-decoration: underline; cursor: pointer; font-size: .95rem; }

.vc-lines { background: var(--vc-card); border-radius: 16px; padding: 4px 14px; box-shadow: 0 12px 26px -22px rgba(21,44,71,.5); }
.vc-lines:has(.vc-empty) { box-shadow: none; background: transparent; }
.vc-line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--vc-line); }
.vc-line:last-child { border-bottom: 0; }
.vc-line img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; background: #fff; flex: none; }
.vc-line-t { flex: 1; min-width: 0; }
.vc-line-t b { display: block; font-size: .93rem; color: var(--vc-navy); line-height: 1.25; }
.vc-line-t small { display: block; color: var(--vc-mute); font-size: .78rem; margin-top: 2px; line-height: 1.35; }
.vc-line-p { font-weight: 800; color: var(--vc-navy); font-size: .92rem; white-space: nowrap; align-self: flex-start; padding-top: 2px; }
.vc-step { display: inline-flex; align-items: center; margin-top: 7px; background: var(--vc-cream); border-radius: 99px; }
.vc-step button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: var(--vc-navy); font-size: 1.1rem; font-weight: 700; cursor: pointer; line-height: 1; }
.vc-step button:hover { background: rgba(21,44,71,.1); }
.vc-step span { min-width: 24px; text-align: center; font-weight: 800; font-size: .9rem; color: var(--vc-navy); }
.vc-rm { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; border: 0; background: none; color: #8a4b5c; font-size: .78rem; font-weight: 600; cursor: pointer; padding: 2px 0; }
.vc-rm:hover { text-decoration: underline; }

.vc-suggest-wrap { margin-top: 14px; }
.vc-suggest-t { margin: 0 0 8px; font-size: .8rem; font-weight: 700; color: var(--vc-mute); letter-spacing: .04em; text-transform: uppercase; }
.vc-suggest { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px; scrollbar-width: none; scroll-snap-type: x proximity; }
.vc-suggest::-webkit-scrollbar { display: none; }
.vc-chip { flex: none; scroll-snap-align: start; display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border: 1.5px solid var(--vc-line); border-radius: 16px; background: var(--vc-card); cursor: pointer; text-align: left; transition: border-color .2s, transform .2s; }
.vc-chip:hover { border-color: var(--vc-pink); transform: translateY(-2px); }
.vc-chip img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.vc-chip b { display: block; font-size: .8rem; color: var(--vc-navy); max-width: 118px; line-height: 1.2; }
.vc-chip small { display: block; color: var(--vc-pink); font-weight: 800; font-size: .78rem; margin-top: 2px; }
.vc-chip i { width: 26px; height: 26px; border-radius: 50%; background: var(--vc-pink); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; }

.vc-method { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vc-method.single { grid-template-columns: 1fr; }
.vc-method label { display: block; cursor: pointer; }
.vc-method input { position: absolute; opacity: 0; pointer-events: none; }
.vc-method label > span { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 12px; border: 2px solid var(--vc-line); border-radius: 14px; background: var(--vc-card); color: var(--vc-navy); transition: border-color .2s, background .2s, color .2s; }
.vc-method label > span .vc-ic { grid-row: 1 / 3; }
.vc-method b { font-size: .92rem; line-height: 1.2; }
.vc-method small { font-size: .75rem; color: var(--vc-mute); line-height: 1.25; }
.vc-method input:checked + span { border-color: var(--vc-navy); background: var(--vc-navy); color: #fff; }
.vc-method input:checked + span small { color: rgba(255,255,255,.75); }
.vc-method input:focus-visible + span { outline: 3px solid var(--vc-pink); outline-offset: 2px; }

.vc-fields { display: grid; gap: 10px; margin-top: 10px; }
.vc-method + .vc-fields { margin-top: 12px; }
.vc-field label { display: block; font-size: .76rem; font-weight: 700; color: #4b5058; margin-bottom: 4px; }
.vc-field input[type=text], .vc-field input[type=tel], .vc-field input[type=email], .vc-field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid #dcd3c0; border-radius: 14px; background: #fff; font: 500 1rem 'DM Sans', sans-serif; color: var(--vc-ink); transition: border-color .2s, box-shadow .2s; }
.vc-field input:focus, .vc-field textarea:focus { outline: none; border-color: var(--vc-navy); box-shadow: 0 0 0 4px rgba(21,44,71,.1); }
.vc-field input[aria-invalid="true"] { border-color: var(--vc-err); box-shadow: 0 0 0 4px rgba(179,38,30,.12); }
.vc-field textarea { resize: vertical; min-height: 62px; }
.vc-more { margin-top: 10px; }
.vc-more summary { cursor: pointer; font-size: .85rem; font-weight: 700; color: var(--vc-navy); padding: 6px 0; }
.vc-hours { margin: 14px 0 0; font-size: .78rem; color: var(--vc-mute); }
.vc-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: .78rem; color: #4b5058; line-height: 1.4; cursor: pointer; }
.vc-check input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--vc-navy); }
.vc-check input[aria-invalid="true"] { outline: 2px solid var(--vc-err); outline-offset: 2px; }

.vc-tot { margin-bottom: 10px; }
.vc-tot-main { display: flex; justify-content: space-between; align-items: baseline; color: var(--vc-mute); font-size: .9rem; font-weight: 600; }
.vc-tot-main strong { font-size: 1.5rem; color: var(--vc-navy); letter-spacing: -.01em; }
.vc-tot-sub { font-size: .76rem; color: var(--vc-mute); text-align: right; }
.vc-btn { width: 100%; padding: 16px 20px; border: 0; border-radius: 100px; background: var(--vc-navy); color: #fff; font-weight: 800; font-size: 1.02rem; cursor: pointer; box-shadow: 0 16px 28px -14px rgba(21,44,71,.8); transition: background .2s ease, transform .2s ease, opacity .2s; }
.vc-btn:hover:not(:disabled) { background: var(--vc-navy2); transform: translateY(-1px); }
.vc-btn:active:not(:disabled) { transform: none; }
.vc-btn:disabled { opacity: .5; cursor: not-allowed; }
.vc-btn.pink { background: var(--vc-pink); box-shadow: 0 16px 28px -14px rgba(212,138,156,.95); }
.vc-btn.pink:hover:not(:disabled) { background: var(--vc-pinkd); }
.vc-pay { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.vc-err { min-height: 1.1em; margin: 0 0 8px; color: var(--vc-err); font-size: .82rem; font-weight: 700; }
.vc-err:empty { min-height: 0; margin: 0; }
.vc-safe { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; font-size: .72rem; color: var(--vc-mute); text-align: center; }

/* ---------- Selector de opciones / sabores ---------- */
.vc-modal { position: fixed; left: 50%; top: 50%; z-index: 1002; width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 40px); overflow: auto; background: var(--vc-card); border-radius: 22px; padding: 22px 20px 18px; transform: translate(-50%, -46%) scale(.96); opacity: 0; visibility: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .25s ease, visibility .25s; font-family: 'DM Sans', sans-serif; box-shadow: 0 40px 80px -24px rgba(0,0,0,.5); }
.vc-modal[data-open="1"] { transform: translate(-50%, -50%); opacity: 1; visibility: visible; }
.vc-modal h3 { margin: 0; font: 600 1.4rem Fraunces, Georgia, serif; color: var(--vc-navy); }
.vc-modal p { margin: 4px 0 14px; color: var(--vc-mute); font-size: .88rem; }
.vc-opt { display: block; width: 100%; text-align: left; padding: 14px; margin-bottom: 8px; border: 2px solid var(--vc-line); border-radius: 14px; background: #fff; font: 700 .95rem 'DM Sans', sans-serif; color: var(--vc-navy); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.vc-opt[aria-pressed="true"] { border-color: var(--vc-navy); background: var(--vc-navy); color: #fff; }
.vc-progress { display: flex; justify-content: space-between; margin: 4px 0 6px; font-weight: 800; color: var(--vc-navy); font-size: .88rem; }
.vc-bar { height: 6px; border-radius: 99px; background: var(--vc-line); overflow: hidden; margin-bottom: 4px; }
.vc-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--vc-pink); transition: width .25s ease; }
.vc-flv { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--vc-line); }
.vc-flv img { height: 44px; width: auto; }
.vc-flv b { flex: 1; font-size: .95rem; color: var(--vc-navy); }
.vc-modal .vc-btn { margin-top: 14px; }
.vc-cancel { display: block; margin: 10px auto 0; border: 0; background: none; color: var(--vc-mute); text-decoration: underline; cursor: pointer; font-size: .85rem; }

.vc-toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 950; transform: translate(-50%, 16px); opacity: 0; background: #0F2136; color: #fff; padding: 9px 18px; border-radius: 100px; font: 700 .82rem 'DM Sans', sans-serif; transition: opacity .25s ease, transform .25s ease; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.vc-toast[data-show="1"] { opacity: 1; transform: translate(-50%, 0); }
.vc-preview { position: fixed; top: 10px; left: 10px; z-index: 960; padding: 6px 12px; border-radius: 99px; background: #fff3cd; color: #6b5200; font: 700 .72rem 'DM Sans', sans-serif; box-shadow: 0 8px 18px -10px rgba(0,0,0,.4); }
.vc-preview a { color: #6b5200; }

/* ---------- Celular: hoja que sube desde abajo ---------- */
@media (max-width: 640px) {
  .vc-drawer { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: min(92dvh, 780px); border-radius: 26px 26px 0 0; transform: translateY(105%); box-shadow: 0 -24px 60px -20px rgba(0,0,0,.5); overflow: hidden; }
  .vc-drawer[data-open="1"] { transform: none; }
  .vc-handle { display: block; position: absolute; top: 8px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 99px; background: rgba(255,255,255,.35); z-index: 2; }
  .vc-head { padding-top: 24px; }
  .vc-modal { top: auto; bottom: 0; left: 0; width: 100%; max-height: 88dvh; border-radius: 26px 26px 0 0; transform: translateY(105%); padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .vc-modal[data-open="1"] { transform: none; }
  .vc-toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .vc-fab, .vc-drawer, .vc-modal, .vc-scrim, .vc-toast, .vc-bar i { transition: none; }
  .vc-fab.bump { animation: none; }
}

/* ---------- Pre-lanzamiento: "Próximamente" + envío por WhatsApp ---------- */
.vc-soon { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: #FBEFF2; border: 1.5px solid var(--vc-pinkl); color: #6b2d3e; font-size: .84rem; line-height: 1.45; }
.vc-soon b { color: #a3475d; letter-spacing: .02em; }
.vc-soon-chip { display: inline-block; padding: 3px 11px; margin-right: 4px; border-radius: 99px; background: var(--vc-pink); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; }
.vc-btn.wa { background: #25D366; color: #06381b; box-shadow: 0 16px 28px -14px rgba(37,211,102,.9); text-decoration: none; display: block; text-align: center; }
.vc-btn.wa:hover:not(:disabled) { background: #20bd5a; }
.vc-sent { display: none; flex: 1; overflow-y: auto; padding: 34px 26px 30px; text-align: center; background: var(--vc-cream); }
.vc-drawer[data-view="sent"] .vc-body, .vc-drawer[data-view="sent"] .vc-foot { display: none; }
.vc-drawer[data-view="sent"] .vc-sent { display: block; }
.vc-sent-ic { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; background: #E6F4EA; color: #1D7A3D; display: grid; place-items: center; }
.vc-sent h3 { margin: 0; font: 600 1.6rem Fraunces, Georgia, serif; color: var(--vc-navy); }
.vc-sent p { margin: 10px auto 0; max-width: 34ch; color: #4b5058; font-size: .95rem; line-height: 1.5; }
.vc-sent .vc-sent-ref { display: inline-block; padding: 6px 16px; border-radius: 99px; background: #fff; color: var(--vc-navy); font-weight: 800; }
.vc-sent .vc-btn { margin-top: 22px; }
