.tc-dialog{border:0;border-radius:24px 24px 0 0;padding:24px;width:min(100%,480px);max-height:90dvh;position:fixed;inset:auto 0 0;margin:0 auto;color:#16253c;background:#fff;overflow:auto;box-sizing:border-box;font-family:'Plus Jakarta Sans',sans-serif}.tc-dialog::backdrop{background:#0009}.tc-dialog h2{font-size:24px;font-weight:800;margin:12px 0}.tc-dialog p{font-size:14px;line-height:1.6;margin:10px 0}.tc-dialog button{cursor:pointer;min-height:44px}.tc-close{position:sticky;top:0;float:right;width:44px;border:0;border-radius:50%;background:#edf0f4;font-size:28px;z-index:2}.tc-photo{width:100%;max-height:260px;object-fit:cover;border-radius:16px}.tc-primary,.tc-secondary{display:block;width:100%;padding:14px;border-radius:12px;border:0;font-weight:800;margin-top:16px;font-size:15px}.tc-primary{background:#b94410;color:#fff}.tc-primary:disabled{opacity:.5;cursor:not-allowed}.tc-secondary{background:#f1f4f8;color:#16253c}.tc-option{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:52px;border:1px solid #e4e8ee;padding:10px 14px;border-radius:12px;margin:10px 0}.tc-option input{width:20px;height:20px}.tc-dialog fieldset{border:0;padding:0;margin-top:20px}.tc-dialog legend{font-weight:800;font-size:15px}.tc-quantity{display:flex;align-items:center;gap:16px;margin:16px 0}.tc-quantity button{width:44px;background:#f1f4f8;border:1px solid #e4e8ee;border-radius:10px;font-size:22px}.tc-line{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #e4e8ee;padding:16px 0}.tc-total{display:flex;justify-content:space-between;font-size:17px!important}.tc-field{display:grid;gap:8px;margin:18px 0;font-size:14px;font-weight:700}.tc-field input,.tc-field textarea{width:100%;box-sizing:border-box;border:1px solid #bcc5d1;border-radius:10px;padding:12px;font:400 16px inherit;min-height:48px}.tc-field[hidden]{display:none}.tc-consent{display:flex;gap:12px;font-size:13px;line-height:1.6}.tc-consent input{flex:none;width:20px;height:20px}.tc-message{white-space:pre-wrap;overflow-wrap:anywhere;background:#f1f4f8;padding:16px;border-radius:12px;font:14px/1.7 sans-serif}.tc-cartbar{position:fixed;bottom:16px;left:16px;right:16px;z-index:35;max-width:500px;margin:auto;display:flex;justify-content:space-between;gap:12px;padding:18px 22px;background:#b94410;color:#fff;border:0;border-radius:16px;font-weight:800;min-height:56px;box-shadow:0 6px 18px #0003}.tc-cartbar[hidden]{display:none}.tc-has-cart .volver{bottom:92px!important}.tc-search{width:100%;min-width:0;border:0;background:transparent;font:inherit;font-size:16px;outline-offset:4px}.tc-empty{padding:24px;font-size:16px}.tc-dialog :focus-visible,.tc-cartbar:focus-visible,[data-tarjetas-preview] [role=button]:focus-visible{outline:3px solid #176b58;outline-offset:3px}[data-tarjetas-preview] [hidden]{display:none!important}[data-tarjetas-preview] nav a.tc-category-active{background:#f9e8df!important;color:#ad421b!important;border:1px solid #edc5b0}[data-tarjetas-preview] nav a:not(.tc-category-active){background:#f1f4f8!important;color:#4a5a6e!important;border-color:transparent!important}@media(min-width:640px){.tc-dialog{inset:0;margin:auto;border-radius:24px}}
/* Ported motion and compact navigation from the 4788 prototype. */
[data-tarjetas-preview] .tc-cover{--collapse:0;position:sticky;top:-340px;height:340px;min-height:340px;z-index:25;overflow:hidden}
.tc-cover-expanded{opacity:calc(1 - var(--collapse));transform:translateY(calc(var(--collapse)*40px))}
.tc-tools{--collapse:0;position:sticky;top:0;z-index:30;background:var(--t-canvas);border-bottom:1px solid var(--t-line);box-shadow:0 5px 12px rgb(0 0 0 / calc(var(--collapse)*.045));padding-top:calc(12px - var(--collapse)*8px)}
.tc-search-row{position:relative;display:flex;align-items:center;gap:8px;width:min(900px,calc(100% - 32px));margin:auto;height:44px;border-radius:14px;background:var(--t-panel);padding:0 12px;box-sizing:border-box}
.tc-search-row>span{background:transparent!important;color:var(--t-fg-mute)!important;width:20px;height:20px;flex:none}.tc-search-row>span svg{width:18px;height:18px}
.tc-search-row input{height:44px;padding-right:30px;transition:background 160ms,border-color 160ms}
.tc-clear-search{position:absolute;right:2px;top:0;width:44px;height:44px;border:0;background:transparent;color:var(--t-fg-soft);font-size:24px;cursor:pointer}.tc-clear-search[hidden]{display:none}
[data-tarjetas-preview] nav.tc-categories{position:static;top:auto;margin-top:calc(8px - var(--collapse)*6px);border:0;background:transparent;backdrop-filter:none}
.tc-categories>div{padding-block:calc(4px - var(--collapse)*2px);gap:6px}
[data-tarjetas-preview] nav.tc-categories a{position:relative;min-height:44px;border-radius:9px;font-size:13px;font-weight:700;padding-inline:16px}
.tc-search-logo{display:none}
.tc-tools[data-compact=true] .tc-search-logo{display:flex;align-items:center;justify-content:center;position:absolute;top:10px;left:max(16px,calc((100% - 900px)/2));width:32px;height:32px;border-radius:9px;overflow:hidden;background:var(--t-panel);font-weight:800}.tc-search-logo img{width:100%;height:100%;object-fit:cover}
.tc-tools[data-compact=true] .tc-search-row{width:min(852px,calc(100% - 80px));margin-left:max(64px,calc((100% - 900px)/2 + 48px));margin-right:16px}
.tc-tools[data-compact=true] .tc-categories{margin-top:0}
.tc-tools[data-compact=true] .tc-categories>div{padding-block:2px;gap:4px}
[data-tarjetas-preview] .tc-tools[data-compact=true] nav a{background:transparent!important;border-color:transparent!important}
.tc-tools[data-compact=true] .tc-category-active::after{content:'';position:absolute;bottom:3px;left:16px;width:calc(100% - 32px);height:2px;background:currentColor;border-radius:2px}
[data-tarjetas-preview] main>section{scroll-margin-top:112px}
@keyframes tc-sheet-enter{from{transform:translateY(60px);opacity:0}to{transform:translateY(0);opacity:1}}
@keyframes tc-backdrop-enter{from{opacity:0}to{opacity:1}}
@keyframes tc-shake{0%,100%{transform:none}20%{transform:translateX(-6px)}40%{transform:translateX(6px)}60%{transform:translateX(-4px)}80%{transform:translateX(3px)}}
.tc-dialog[open]{display:flex;flex-direction:column;max-height:90svh;padding:0;overflow:hidden;animation:tc-sheet-enter 280ms cubic-bezier(.22,1,.36,1) both}
.tc-dialog[open]::backdrop{animation:tc-backdrop-enter 220ms ease-out both}
.tc-sheet-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 20px;flex:none}.tc-sheet-header h2{font-size:21px;font-weight:800;letter-spacing:-.04em}.tc-close{position:static;float:none;border-radius:12px;flex:none}
.tc-sheet-content{overflow:auto;padding:0 20px 20px;min-height:0}.tc-photo{height:148px;max-height:24dvh;border-radius:16px}.tc-sheet-content>strong{display:block;margin-top:6px;font-size:20px;color:#b94410}
.tc-order-footer{display:flex;align-items:center;gap:12px;padding:12px 16px max(12px,env(safe-area-inset-bottom));box-shadow:0 -6px 20px #00000009;flex:none;background:#fff}.tc-order-footer .tc-quantity{gap:0;margin:0;border-radius:12px;background:#f1f4f8;border:1px solid #e4e8ee}.tc-order-footer .tc-quantity button{border:0;background:transparent;width:44px;height:44px}.tc-order-footer output{min-width:24px;text-align:center}.tc-order-footer .tc-primary{margin:0;min-height:48px;flex:1;width:auto;font-size:14px}
.tc-option{transition:background 160ms,border-color 160ms}.tc-option:has(input:checked){background:#fcf0e9;border-color:#b94410;box-shadow:inset 0 0 0 1px #b94410}.tc-shake{animation:tc-shake 450ms ease-in-out}
@media(min-width:640px){[data-tarjetas-preview] .tc-cover{height:390px;min-height:390px;top:-390px}.tc-photo{height:190px}}
@media(prefers-reduced-motion:reduce){.tc-cover-expanded{transform:none}.tc-tools *,.tc-option{transition:none!important}.tc-dialog[open],.tc-dialog[open]::backdrop,.tc-shake{animation:none}}
/* Product/cart sheet visual parity with prototype-product-sheet. */
.tc-dialog{max-width:520px;background:#fff;color:#16253c;font-family:'Plus Jakarta Sans',sans-serif}
.tc-sheet-header{padding:10px 20px}.tc-sheet-header h2{font-size:21px;line-height:1.3;margin:8px 0;font-weight:800;letter-spacing:-.04em}
.tc-close{width:44px;height:44px;display:grid;place-items:center;background:#f1f4f8;color:#53647a;border-radius:12px}
.tc-sheet-content{padding:0 20px 12px}.tc-sheet-content>.tc-photo{height:148px;max-height:24dvh;object-fit:cover;margin:0 0 12px}
.tc-sheet-content>p{font-size:15px;line-height:1.5;color:#4a5a6e;margin:12px 0 6px}.tc-sheet-content>strong{font-size:20px;font-weight:800;color:#c45521;line-height:1.5;margin:0 0 16px}
.tc-sheet-content fieldset{border:0;border-top:1px solid #e4e8ee;margin:0;padding:12px 0 0;min-width:0}
.tc-option-heading{float:left;display:flex;width:100%;align-items:flex-start;justify-content:space-between;margin:0 0 12px;padding:0;font-size:15px;font-weight:700}.tc-option-heading>span:first-child{display:grid;gap:2px}.tc-option-heading small{font-size:13px;color:#53647a;font-weight:400}.tc-required{font-size:12px;line-height:1.3;color:#16253c;background:#f7e5dc;border-radius:999px;padding:6px 10px;font-weight:600}
.tc-option{clear:both;box-sizing:border-box;min-height:52px;padding:12px;border:1px solid #e0e5ec;border-radius:12px;gap:12px;margin:10px 0;font-size:15px;cursor:pointer}.tc-option input{order:0;margin:0;appearance:none;width:24px;height:24px;border:2px solid #708198;border-radius:50%;flex:none}.tc-option input:checked{border-color:#c45521;background:radial-gradient(#c45521 0 45%,transparent 49%)}.tc-option-name{flex:1}.tc-option-cost{font-size:12px;color:#53647a}.tc-option:has(input:checked){background:#fbf0ea;border-color:#c45521;box-shadow:inset 0 0 0 1px #c45521}
.tc-order-footer{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px 12px;padding:12px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid #e4e8ee;box-shadow:0 -6px 20px #00000009}.tc-missing{grid-column:1/-1;color:#708198;font-size:13px!important;margin:0!important;line-height:1.4!important}.tc-missing strong{font-weight:600;color:#16253c}.tc-order-footer .tc-quantity{border-radius:13px}.tc-order-footer .tc-quantity button{color:#c45521;height:46px}.tc-order-footer .tc-primary{border-radius:13px;min-height:48px;font-weight:700;background:#c45521;font-size:14px;box-shadow:none;padding-inline:10px}.tc-order-footer .tc-primary.tc-incomplete{background:#fff;color:#a64017;border:1px solid #c45521}
.tc-cart-photo{width:56px;height:56px;object-fit:cover;border-radius:12px;background:#f1f4f8}.tc-line{display:grid;grid-template-columns:56px minmax(0,1fr) 110px;gap:10px;padding:16px 0;align-items:center}.tc-cart-info{min-width:0;display:flex;flex-direction:column;gap:3px}.tc-cart-info strong{font-size:14px;line-height:1.35}.tc-cart-info p{font-size:12px;margin:0;line-height:1.4}.tc-cart-info p:last-child{font-size:15px;font-weight:800;margin-top:3px}.tc-line .tc-quantity{gap:0;border-radius:999px;background:#fff;border:1px solid #e4e8ee;box-shadow:0 2px 5px #0000000a;margin:0}.tc-line .tc-quantity button{width:44px;height:44px;flex:none;border:0;border-radius:50%;background:transparent;color:#c45521}.tc-line .tc-quantity output{width:20px;text-align:center;font-size:14px}.tc-lines+.tc-secondary{background:transparent;color:#a64017;font-weight:600;text-align:left;padding-left:0;margin:4px 0}.tc-cart-footer{flex:none;padding:12px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid #e4e8ee}.tc-cart-footer .tc-primary{background:#c45521;border-radius:13px;min-height:48px;margin:8px 0 0}.tc-cart-footer .tc-total{margin:0;padding:8px 2px 4px;font-size:14px!important}.tc-cart-footer .tc-total strong{font-size:22px}
@media(min-width:640px){.tc-dialog{max-width:520px;border-radius:24px}.tc-sheet-content>.tc-photo{height:190px}}
.tc-order-footer .tc-primary.tc-incomplete{background:#c45521;color:#fff;border-color:#c45521}

/* Delivery form follows the reference cart sheet. */
.tc-checkout{display:grid;gap:16px}.tc-checkout-back{display:flex;align-items:center;background:none;border:0;color:#53647a;font:500 13px inherit;padding:0;text-align:left;min-height:44px}.tc-checkout .tc-methods{border:0;padding:0;margin:0}.tc-methods legend{font-size:13px;font-weight:500;color:#53647a;margin-bottom:8px}.tc-method-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tc-method{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:16px;border:2px solid #e4e8ee;border-radius:16px;cursor:pointer;color:#53647a}.tc-method:has(input:checked){border-color:#c45521;background:#fbf0ea;color:#c45521}.tc-method input{position:absolute;opacity:0;width:1px;height:1px}.tc-method:has(input:focus-visible){outline:2px solid #c45521;outline-offset:3px}.tc-method svg{width:28px;height:28px}.tc-method strong{font-size:14px;color:#16253c;font-weight:600}.tc-method small{font-size:12px;color:#708198}.tc-checkout .tc-field{margin:0;gap:4px;font-size:13px;color:#53647a;font-weight:600}.tc-checkout .tc-field input{font-family:inherit;font-size:16px;font-weight:400;min-height:48px;border-radius:12px;border-color:#e0e5ec}.tc-checkout .tc-field input::placeholder{color:#708198}.tc-checkout .tc-consent{font-size:12.5px;line-height:1.4;color:#53647a;min-height:44px;padding:4px 0}.tc-consent[hidden]{display:none}.tc-checkout input[type=checkbox]{accent-color:#c45521}.tc-checkout-totals{border-top:1px solid #e4e8ee;padding-top:12px}.tc-checkout-totals .tc-total{font-size:14px!important;margin:4px 0;color:#53647a}.tc-checkout-totals .tc-checkout-total{font-size:16px!important;font-weight:600;color:#16253c}.tc-checkout-notice{display:flex;align-items:flex-start;gap:10px;background:#fbf0ea;border-radius:12px;padding:10px 12px;font-size:12.5px;line-height:1.4}.tc-checkout-notice>svg{width:16px;height:16px;flex:none;color:#c45521;margin-top:2px}.tc-checkout-notice strong{font-weight:600}.tc-checkout-notice p{font-size:12.5px;line-height:1.4;color:#53647a;margin:4px 0 0}.tc-checkout-submit{margin:0!important}
