/* Módulo Carta de Productos / Barra */
.tk-insumos .tk-hero{background:linear-gradient(135deg,#111827,#1d4ed8);color:#fff;border-radius:28px;padding:30px;margin:18px 0;box-shadow:0 24px 60px rgba(15,23,42,.18)}
.tk-insumos .tk-hero h1{font-size:clamp(1.8rem,3vw,3rem);font-weight:950;letter-spacing:-.05em;margin:8px 0}.tk-insumos .tk-hero p{margin:0;color:#dbeafe;font-weight:700;max-width:900px}.tk-hero-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.tk-hero-kicker{display:inline-flex;align-items:center;gap:8px;font-weight:950;color:#bfdbfe;text-transform:uppercase;font-size:.78rem;letter-spacing:.1em}.tk-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.tk-insumos .tk-card{background:#fff;border:1px solid #e5e7eb;border-radius:24px;box-shadow:0 16px 40px rgba(15,23,42,.08);padding:22px;margin-bottom:18px}.tk-insumos .tk-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.tk-insumos .tk-title{margin:0;font-weight:950;letter-spacing:-.04em;color:#0f172a}.tk-insumos .tk-subtitle{margin:5px 0 0;color:#64748b;font-weight:700}.tk-insumos .tk-grid{display:grid;grid-template-columns:390px minmax(0,1fr);gap:18px}.tk-insumos .tk-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tk-insumos .tk-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.tk-field{display:grid;gap:7px;margin-bottom:12px}.tk-field.full{grid-column:1/-1}.tk-label{font-size:.82rem;text-transform:uppercase;letter-spacing:.06em;color:#475569;font-weight:950}.tk-input,.tk-select,.tk-textarea{width:100%;border:1px solid #dbe3ef;border-radius:16px;background:#fff;min-height:44px;padding:10px 13px;color:#0f172a;font-weight:750;outline:none}.tk-textarea{min-height:92px;resize:vertical}.tk-input:focus,.tk-select:focus,.tk-textarea:focus{border-color:#3366ff;box-shadow:0 0 0 4px rgba(51,102,255,.12)}.tk-help{font-size:.79rem;color:#64748b;font-weight:650}.tk-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.tk-btn{border:none;border-radius:999px;padding:11px 16px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:950;cursor:pointer;text-decoration:none}.tk-btn.primary{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;box-shadow:0 14px 26px rgba(37,99,235,.22)}.tk-btn.success{background:linear-gradient(135deg,#059669,#047857);color:#fff}.tk-btn.warn{background:linear-gradient(135deg,#f59e0b,#d97706);color:#111827}.tk-btn.danger{background:linear-gradient(135deg,#ef4444,#b91c1c);color:#fff}.tk-btn.light{background:#f1f5f9;color:#0f172a;border:1px solid #e2e8f0}.tk-btn.small{min-height:34px;padding:8px 12px;font-size:.83rem}.tk-alert{border-radius:18px;padding:13px 16px;font-weight:850;margin:14px 0;border:1px solid}.tk-alert.ok{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}.tk-alert.err{background:#fef2f2;border-color:#fecaca;color:#991b1b}.tk-table-wrap{overflow:auto;border-radius:20px;border:1px solid #e5e7eb}.tk-table{width:100%;border-collapse:collapse;background:#fff}.tk-table th{background:#f8fafc;color:#475569;text-transform:uppercase;letter-spacing:.06em;font-size:.76rem;text-align:left;padding:12px;border-bottom:1px solid #e5e7eb}.tk-table td{padding:13px;border-bottom:1px solid #eef2f7;vertical-align:top}.tk-table td strong{display:block;color:#0f172a}.tk-muted{display:block;color:#64748b;font-size:.86rem;font-weight:700}.tk-badge{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;font-weight:950;font-size:.78rem;background:#e0f2fe;color:#075985}.tk-badge.ok{background:#dcfce7;color:#166534}.tk-badge.warn{background:#fef3c7;color:#92400e}.tk-badge.err{background:#fee2e2;color:#991b1b}.tk-empty{border:1px dashed #cbd5e1;border-radius:22px;background:#f8fafc;padding:24px;text-align:center;color:#64748b;font-weight:800}.tk-product-card{display:grid;grid-template-columns:110px 1fr auto;gap:14px;align-items:center;padding:14px;border:1px solid #e5e7eb;border-radius:22px;background:#fff;margin-bottom:12px}.tk-product-img{width:110px;height:88px;border-radius:18px;background:#eff6ff;object-fit:cover}.tk-price{font-weight:950;font-size:1.15rem;color:#1d4ed8}.tk-cart-total{position:sticky;bottom:14px;background:#0f172a;color:#fff;border-radius:22px;padding:16px;box-shadow:0 18px 48px rgba(15,23,42,.26)}.tk-qr-box{display:flex;gap:16px;align-items:center;border:1px solid #e5e7eb;border-radius:22px;padding:14px;background:#f8fafc}.tk-qr-box img{width:120px;height:120px;border-radius:16px;background:#fff;border:1px solid #e5e7eb;padding:8px}.tk-status-flow{display:flex;gap:8px;flex-wrap:wrap}.tk-command-card{border:1px solid #e5e7eb;border-radius:24px;background:#fff;padding:18px;margin-bottom:14px;box-shadow:0 12px 30px rgba(15,23,42,.06)}.tk-command-head{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.tk-command-products{margin:12px 0 0;padding:12px;border-radius:16px;background:#f8fafc;color:#334155;font-weight:750}.tk-camera-box{border:1px solid #e5e7eb;border-radius:24px;padding:14px;background:#f8fafc}.tk-camera-box video{width:100%;max-height:320px;background:#020617;border-radius:18px}.tk-checklist ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}.tk-checklist li{padding:10px 12px;border:1px solid #e5e7eb;border-radius:14px;background:#f8fafc;font-weight:800}.tk-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.tk-kpi{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:18px}.tk-kpi span{color:#64748b;font-weight:850;font-size:.82rem}.tk-kpi strong{display:block;margin-top:6px;font-size:1.55rem;font-weight:950;color:#0f172a}.tk-carta-stack{display:grid;grid-template-columns:1fr;gap:18px}.tk-carta-productos,.tk-carta-retiro{width:100%}.tk-retiro-fields{margin-bottom:12px}.tk-retiro-resumen{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center}.tk-cart-total-static{position:relative;bottom:auto;box-shadow:0 14px 34px rgba(15,23,42,.16)}.tk-retiro-submit{display:flex;justify-content:flex-end;align-items:center}.tk-retiro-submit .tk-btn{min-width:230px}
@media(max-width:1000px){.tk-insumos .tk-grid{grid-template-columns:1fr}.tk-kpis{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.tk-retiro-resumen{grid-template-columns:1fr}.tk-retiro-submit{justify-content:stretch}.tk-retiro-submit .tk-btn{width:100%;min-width:0}.tk-insumos .tk-grid-2,.tk-insumos .tk-grid-3,.tk-kpis{grid-template-columns:1fr}.tk-product-card{grid-template-columns:82px 1fr}.tk-product-img{width:82px;height:74px}.tk-product-card .tk-actions{grid-column:1/-1}.tk-hero-row{display:block}.tk-hero-actions{margin-top:16px}.tk-table{min-width:760px}}

/* Carta pública PRO - checkout de productos */
.tk-carta-publica-pro{padding-bottom:44px}.tk-carta-publica-pro .tk-carta-publica-hero{background:radial-gradient(circle at 15% 15%,rgba(59,130,246,.45),transparent 28%),linear-gradient(135deg,#08111f 0%,#0f1b33 48%,#1d4ed8 100%);overflow:hidden;position:relative}.tk-carta-publica-pro .tk-carta-publica-hero:after{content:"";position:absolute;right:-90px;top:-90px;width:260px;height:260px;border-radius:999px;background:rgba(255,255,255,.12);filter:blur(3px)}.tk-carta-publica-pro .tk-hero-copy{position:relative;z-index:1}.tk-carta-publica-steps{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.tk-carta-publica-steps span{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.16);color:#eff6ff;font-weight:900;font-size:.82rem}.tk-carta-publica-layout{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:18px;align-items:start}.tk-carta-publica-sidebar{position:sticky;top:18px}.tk-card-head-publica{border-bottom:1px solid #eef2f7;padding-bottom:14px}.tk-section-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:.76rem;text-transform:uppercase;letter-spacing:.07em;font-weight:950;margin-bottom:8px}.tk-public-product{display:grid;grid-template-columns:116px minmax(0,1fr) 154px;gap:16px;align-items:center;padding:14px;border:1px solid #e5e7eb;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);margin-bottom:12px;transition:.18s ease;box-shadow:0 10px 24px rgba(15,23,42,.045)}.tk-public-product:hover{border-color:#bfdbfe;box-shadow:0 18px 40px rgba(15,23,42,.09);transform:translateY(-1px)}.tk-public-product.is-selected{border-color:#2563eb;background:linear-gradient(180deg,#ffffff 0%,#eff6ff 100%);box-shadow:0 18px 42px rgba(37,99,235,.13)}.tk-public-product-img{width:116px;height:100px;border-radius:20px;object-fit:cover;background:#eff6ff;border:1px solid #e2e8f0}.tk-public-product-info{min-width:0}.tk-public-product-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.tk-public-category{display:block;color:#64748b;text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;font-weight:950;margin-bottom:4px}.tk-public-product h3{margin:0;color:#0f172a;font-size:1.04rem;font-weight:1000;letter-spacing:-.02em}.tk-public-price{white-space:nowrap;color:#1d4ed8;font-size:1.08rem;font-weight:1000;background:#eff6ff;border:1px solid #dbeafe;border-radius:999px;padding:7px 10px}.tk-public-description{margin:7px 0 10px;color:#64748b;font-weight:700;line-height:1.45;font-size:.9rem}.tk-public-tags{display:flex;flex-wrap:wrap;gap:7px}.tk-public-tags span{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border-radius:999px;background:#f1f5f9;color:#334155;font-weight:850;font-size:.76rem}.tk-public-qty{display:grid;gap:7px;justify-items:end}.tk-public-qty label{font-size:.75rem;color:#64748b;text-transform:uppercase;letter-spacing:.08em;font-weight:950}.tk-qty-control{display:flex;align-items:center;gap:6px;background:#f8fafc;border:1px solid #dbe3ef;border-radius:999px;padding:6px}.tk-qty-btn{border:0;width:34px;height:34px;border-radius:999px;background:#e2e8f0;color:#0f172a;font-weight:950;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:.15s ease}.tk-qty-btn:hover{background:#2563eb;color:#fff}.tk-qty-input{width:58px!important;min-height:34px!important;text-align:center;border:0!important;background:#fff!important;border-radius:999px!important;padding:6px!important;font-weight:1000!important;box-shadow:none!important}.tk-qty-input::-webkit-outer-spin-button,.tk-qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.tk-qty-input[type=number]{-moz-appearance:textfield}.tk-carta-publica-retiro{padding:20px}.tk-carta-publica-retiro .tk-field{margin-bottom:11px}.tk-carta-publica-retiro .tk-input{min-height:50px}.tk-label-soft{text-transform:none;letter-spacing:0;color:#94a3b8;font-weight:850}.tk-public-summary{border:1px solid #e2e8f0;border-radius:22px;background:linear-gradient(180deg,#f8fafc,#fff);padding:14px;margin:8px 0 14px}.tk-public-summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0}.tk-public-summary-row+ .tk-public-summary-row{border-top:1px solid #e5e7eb}.tk-public-summary-row span{color:#64748b;font-weight:850}.tk-public-summary-row strong{color:#0f172a;font-size:1.12rem;font-weight:1000}.tk-public-summary-row #tkCartTotal{color:#1d4ed8;font-size:1.35rem}.tk-public-summary-note{margin-top:8px;border-radius:16px;background:#ecfdf5;color:#166534;padding:10px 11px;font-size:.82rem;font-weight:800;line-height:1.45;display:flex;gap:8px}.tk-pay-btn{width:100%;min-height:52px;font-size:.96rem;box-shadow:0 18px 34px rgba(37,99,235,.26)}.tk-pay-btn.is-loading{opacity:.72;cursor:wait;pointer-events:none}.tk-pay-help{margin:12px 0 0;color:#64748b;font-weight:800;font-size:.84rem;line-height:1.5;display:flex;gap:8px}.tk-carta-publica-pro .tk-alert{display:flex;align-items:flex-start;gap:10px}.tk-carta-publica-pro .tk-alert i{margin-top:2px}.tk-carta-publica-pro .tk-empty i{font-size:1.6rem;color:#94a3b8;margin-bottom:8px}@media(max-width:1120px){.tk-carta-publica-layout{grid-template-columns:1fr}.tk-carta-publica-sidebar{position:relative;top:auto}.tk-carta-publica-retiro{max-width:none}}@media(max-width:760px){.tk-public-product{grid-template-columns:88px 1fr;gap:12px}.tk-public-product-img{width:88px;height:82px;border-radius:18px}.tk-public-product-top{display:block}.tk-public-price{display:inline-flex;margin-top:8px}.tk-public-qty{grid-column:1/-1;justify-items:stretch}.tk-qty-control{justify-content:space-between}.tk-qty-input{width:100%!important}.tk-carta-publica-steps span{width:100%;justify-content:center}.tk-carta-publica-pro .tk-card{padding:16px;border-radius:22px}}
