/* ==========================================================================
   GUAYAIA - VENTANAS NUEVAS: TRANSPORTE & COMIDA
   Estilos visuales de alto impacto, responsivos y con identidad Guayaquil
   ========================================================================== */

/* Contenedores principales de las vistas */
#guayaiaTransportView,
#guayaiaFoodView {
  display: none;
  padding: 16px 0 90px;
  animation: fadeInView 0.25s ease-out;
}

body[data-app-view="transporte"] #guayaiaTransportView,
body[data-app-view="comida"] #guayaiaFoodView {
  display: block !important;
}

@keyframes fadeInView {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tf-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Hero Banner Superior */
.tf-hero {
  position: relative;
  background: linear-gradient(135deg, #0b3856 0%, #087a55 50%, #087fa7 100%);
  border-radius: 20px;
  padding: 28px 24px;
  color: #ffffff;
  margin-bottom: 22px;
  box-shadow: 0 8px 28px rgba(6, 63, 89, 0.15);
  overflow: hidden;
}

.tf-hero.food-theme {
  background: linear-gradient(135deg, #421808 0%, #a83d11 40%, #087a55 100%);
}

.tf-hero::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(32, 191, 228, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.tf-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
}

.tf-hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 0 8px #25d366;
  animation: pulseBeacon 1.8s infinite;
}

@keyframes pulseBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.tf-hero h1 {
  font-size: 26px;
  font-weight: 900;
  margin: 0 0 6px;
  line-height: 1.2;
}

.tf-hero p {
  font-size: 13.5px;
  opacity: 0.9;
  margin: 0 0 16px;
  max-width: 620px;
  line-height: 1.4;
}

/* Selector de Zona / Sector de Guayaquil */
.tf-zone-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tf-zone-picker span {
  font-size: 12px;
  opacity: 0.85;
}

.tf-zone-select {
  background: rgba(255, 255, 255, 0.95);
  color: #0b3856;
  border: 0;
  border-radius: 12px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  outline: none;
}

/* Cotizador Rápido de Transporte */
.tf-calculator-card {
  background: #ffffff;
  border: 1.5px solid #dce8ef;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(11, 56, 86, 0.05);
}

.tf-calc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tf-calc-header h2 {
  font-size: 16px;
  font-weight: 850;
  color: #0b3856;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tf-vehicle-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.tf-vehicle-option {
  border: 2px solid #e2ecf0;
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  background: #f8fbfd;
  transition: all 0.18s ease;
}

.tf-vehicle-option:hover {
  border-color: #087fa7;
  background: #f0f8fb;
}

.tf-vehicle-option.selected {
  border-color: #087a55;
  background: #eef8f4;
  box-shadow: 0 3px 12px rgba(8, 122, 85, 0.15);
}

.tf-vehicle-icon {
  font-size: 24px;
  margin-bottom: 4px;
  display: block;
}

.tf-vehicle-name {
  font-size: 12px;
  font-weight: 800;
  color: #0b3856;
  display: block;
}

.tf-vehicle-sub {
  font-size: 10px;
  color: #627b87;
  display: block;
  margin-top: 2px;
}

.tf-calc-routes {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: center;
}

@media (max-width: 720px) {
  .tf-calc-routes {
    grid-template-columns: 1fr;
  }
}

.tf-route-field label {
  display: block;
  font-size: 11px;
  font-weight: 750;
  color: #557280;
  margin-bottom: 4px;
}

.tf-route-field select,
.tf-route-field input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cde0e7;
  border-radius: 10px;
  font-size: 13px;
  color: #0b3856;
  background: #ffffff;
  box-sizing: border-box;
}

.tf-calc-action {
  padding-top: 18px;
}

.tf-calc-btn {
  background: #087a55;
  color: #ffffff;
  border: 0;
  border-radius: 12px;
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 850;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(8, 122, 85, 0.25);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.tf-calc-btn:hover {
  background: #066646;
  transform: translateY(-1px);
}

/* Filtros por Categoría (Chips Horizontales) */
.tf-chips-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scrollbar-width: none;
  margin-bottom: 12px;
}

.tf-chips-bar::-webkit-scrollbar {
  display: none;
}

.tf-chip {
  padding: 7px 16px;
  border-radius: 24px;
  font-size: 12.5px;
  font-weight: 750;
  border: 1.5px solid #dbe7ec;
  background: #ffffff;
  color: #4b6875;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.tf-chip:hover {
  border-color: #087fa7;
  color: #087fa7;
}

.tf-chip.active {
  background: #087fa7;
  border-color: #087fa7;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(8, 127, 167, 0.2);
}

.tf-chip.food-active {
  background: #a83d11;
  border-color: #a83d11;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(168, 61, 17, 0.25);
}

/* Grilla de Tarjetas (Transportistas / Platos & Huecas) */
.tf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.tf-card {
  background: #ffffff;
  border: 1px solid #dce8ef;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(6, 63, 89, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}

.tf-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(6, 63, 89, 0.12);
  border-color: #b9d8e3;
}

.tf-card-img {
  position: relative;
  height: 145px;
  width: 100%;
  background: #eef5f8;
  overflow: hidden;
}

.tf-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tf-card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(8, 122, 85, 0.92);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 850;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.tf-card-time {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(11, 56, 86, 0.88);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tf-card-body {
  padding: 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tf-card-title {
  font-size: 14.5px;
  font-weight: 850;
  color: #0b3856;
  margin: 0 0 3px;
  line-height: 1.25;
}

.tf-card-sub {
  font-size: 11px;
  color: #637e8c;
  margin-bottom: 6px;
}

.tf-card-specs {
  display: flex;
  gap: 8px;
  font-size: 11px;
  color: #385966;
  margin: 4px 0 8px;
  flex-wrap: wrap;
}

.tf-card-specs span {
  background: #f0f6f9;
  padding: 2px 7px;
  border-radius: 6px;
}

.tf-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #edf4f7;
}

.tf-card-price {
  font-size: 16px;
  font-weight: 900;
  color: #087fa7;
}

.tf-card-price.food-price {
  color: #a83d11;
}

.tf-card-btn {
  background: #087a55;
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tf-card-btn:hover {
  background: #066646;
}

.tf-card-btn.food-btn {
  background: #a83d11;
}

.tf-card-btn.food-btn:hover {
  background: #88310c;
}

/* Modal Interactivo de Solicitud / Pedido */
.tf-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 40, 58, 0.6);
  backdrop-filter: blur(5px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.tf-modal-backdrop.open {
  display: flex;
}

.tf-modal-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  animation: modalPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.tf-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #edf4f7;
  border: 0;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #436371;
}

.tf-modal-title {
  font-size: 18px;
  font-weight: 850;
  color: #0b3856;
  margin: 0 0 12px;
}

.tf-modal-field {
  margin-bottom: 12px;
}

.tf-modal-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 750;
  color: #4b6775;
  margin-bottom: 4px;
}

.tf-modal-field input,
.tf-modal-field select,
.tf-modal-field textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cce0e8;
  border-radius: 10px;
  font-size: 13px;
  color: #0b3856;
  box-sizing: border-box;
}

.tf-modal-submit {
  width: 100%;
  background: #087a55;
  color: #ffffff;
  border: 0;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  margin-top: 12px;
  box-shadow: 0 4px 14px rgba(8, 122, 85, 0.25);
}

.tf-modal-submit.food-submit {
  background: #a83d11;
  box-shadow: 0 4px 14px rgba(168, 61, 17, 0.25);
}
\n
/* ==========================================================================
   ESTILOS PRÉMIUM: MÓDULO COMIDA & HUECAS GUAYACAS (GUAYAIA DESIGN SYSTEM)
   ========================================================================== */

/* Hero Banner Gastronomía Criolla */
.tf-hero.food-theme {
  position: relative;
  background: linear-gradient(135deg, #180903 0%, #68230b 45%, #087a55 100%);
  border-radius: 24px;
  padding: 34px 30px;
  color: #ffffff;
  margin-bottom: 24px;
  box-shadow: 0 12px 36px rgba(104, 35, 11, 0.22);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tf-hero.food-theme::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -50px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.35) 0%, rgba(8, 122, 85, 0.2) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.tf-hero.food-theme .tf-hero-title {
  font-family: var(--g-font-display, 'Outfit', sans-serif);
  font-size: 30px;
  font-weight: 900;
  margin: 0 0 10px;
  line-height: 1.22;
  letter-spacing: -0.4px;
  color: #ffffff;
}

.tf-hero.food-theme .tf-hero-subtitle {
  font-size: 14.5px;
  color: #fed7aa;
  margin: 0 0 20px;
  max-width: 660px;
  line-height: 1.5;
}

.tf-hero.food-theme .tf-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.tf-hero.food-theme .tf-stat-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 12px 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tf-hero.food-theme .tf-stat-item b {
  display: block;
  font-family: var(--g-font-display, 'Outfit', sans-serif);
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 3px;
}

.tf-hero.food-theme .tf-stat-item small {
  display: block;
  font-size: 11.5px;
  color: #fed7aa;
  line-height: 1.25;
  font-weight: 600;
}

/* Barra de Filtros de Comida */
.tf-food-filter-bar {
  margin-bottom: 24px;
  padding: 6px 0;
  position: sticky;
  top: 68px;
  z-index: 15;
  background: rgba(246, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
}

.tf-food-chips-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 4px 10px;
  scrollbar-width: none;
}

.tf-food-chips-scroll::-webkit-scrollbar {
  display: none;
}

.tf-pill {
  background: #ffffff;
  border: 1.5px solid #dce8ef;
  border-radius: 99px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 750;
  color: #436371;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(6, 63, 89, 0.04);
  white-space: nowrap;
}

.tf-pill span {
  font-size: 15px;
}

.tf-pill:hover {
  border-color: #ea580c;
  color: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.15);
}

.tf-pill.active {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(194, 65, 12, 0.35);
  transform: translateY(-1px);
}

/* Grilla de Restaurantes */
.tf-food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

/* Tarjeta de Restaurante / Hueca */
.tf-rest-card {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid #e2edf2;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(6, 63, 89, 0.07);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.tf-rest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(6, 63, 89, 0.14);
  border-color: #b8dbe8;
}

/* Portada del Restaurante */
.tf-rest-cover {
  position: relative;
  height: 185px;
  width: 100%;
  background: linear-gradient(135deg, #0b3856, #087a55);
  overflow: hidden;
}

.tf-rest-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.tf-rest-card:hover .tf-rest-cover-img {
  transform: scale(1.06);
}

.tf-rest-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 56, 86, 0.9) 0%, rgba(11, 56, 86, 0.3) 50%, rgba(0, 0, 0, 0.35) 100%);
}

.tf-rest-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(8, 122, 85, 0.95);
  color: #ffffff;
  font-size: 11px;
  font-weight: 850;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
}

.tf-rest-avatar-bubble {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 2.5px solid #ffffff;
}

.tf-rest-quick-stats {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tf-stat-pill {
  background: rgba(255, 255, 255, 0.94);
  color: #0b3856;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tf-stat-pill.direct {
  background: rgba(8, 122, 85, 0.95);
  color: #ffffff;
}

/* Cuerpo de la Tarjeta */
.tf-rest-content {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tf-rest-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.tf-rest-title-row h3 {
  font-family: var(--g-font-display, 'Outfit', sans-serif);
  font-size: 18.5px;
  font-weight: 850;
  color: #0b3856;
  margin: 0;
  line-height: 1.3;
}

.tf-rest-score {
  background: #fef3c7;
  color: #92400e;
  padding: 3px 9px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  border: 1px solid #fde68a;
}

.tf-rest-sector {
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Platos Destacados */
.tf-rest-dishes-list {
  background: #f8fafc;
  border-radius: 16px;
  padding: 10px;
  border: 1px solid #eef2f6;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.tf-rest-dish-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.18s ease;
  cursor: pointer;
}

.tf-rest-dish-item:hover {
  border-color: #087a55;
  background: #f0fdf4;
  transform: translateX(3px);
  box-shadow: 0 3px 10px rgba(8, 122, 85, 0.08);
}

.tf-rest-dish-item .d-icon {
  font-size: 20px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff7ed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #ffedd5;
}

.tf-rest-dish-item .d-info {
  flex: 1;
  min-width: 0;
}

.tf-rest-dish-item .d-info b {
  display: block;
  font-size: 13px;
  font-weight: 750;
  color: #0f172a;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tf-rest-dish-item .d-info small {
  display: block;
  font-size: 11px;
  color: #64748b;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tf-rest-dish-item .d-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.tf-rest-dish-item .d-price b {
  font-size: 14.5px;
  font-weight: 900;
  color: #087a55;
}

.tf-btn-add-mini {
  background: #eef8f5;
  color: #087a55;
  border: 1.5px solid #a3ddcb;
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.tf-btn-add-mini:hover,
.tf-rest-dish-item:hover .tf-btn-add-mini {
  background: #087a55;
  color: #ffffff;
  border-color: #087a55;
  transform: scale(1.06);
}

/* Pie de la Tarjeta */
.tf-rest-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.tf-rest-min {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.tf-rest-min b {
  color: #0b3856;
}

.tf-btn-primary {
  background: linear-gradient(135deg, #087a55 0%, #087fa7 100%);
  color: #ffffff;
  border: 0;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(8, 122, 85, 0.25);
}

.tf-btn-primary:hover {
  box-shadow: 0 6px 20px rgba(8, 122, 85, 0.4);
  transform: translateY(-2px);
}

/* Barra flotante de carrito */
.tf-floating-cart {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #0b3856;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 12px 35px rgba(11, 56, 86, 0.35);
  z-index: 9999;
  border: 1.5px solid rgba(32, 191, 228, 0.4);
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.tf-cart-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tf-cart-badge {
  background: #20bfe4;
  color: #0b3856;
  font-size: 13px;
  font-weight: 900;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tf-cart-info b {
  display: block;
  font-size: 13.5px;
  line-height: 1.2;
}

.tf-cart-info small {
  display: block;
  font-size: 11.5px;
  color: #a5f3fc;
}

.tf-btn-cart-view {
  background: linear-gradient(135deg, #087a55, #20bfe4);
  color: #ffffff;
  border: 0;
  border-radius: 99px;
  padding: 8px 18px;
  font-size: 12.5px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(8, 122, 85, 0.3);
  transition: transform 0.15s ease;
}

.tf-btn-cart-view:hover {
  transform: scale(1.05);
}

/* Banner de Afiliar Mi Hueca */
.tf-partner-banner {
  background: linear-gradient(135deg, #0b3856 0%, #087a55 100%);
  border-radius: 20px;
  padding: 24px 28px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(11, 56, 86, 0.15);
  margin-top: 36px;
}

.tf-pbanner-icon {
  font-size: 38px;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  flex-shrink: 0;
}

.tf-pbanner-info h4 {
  font-family: var(--g-font-display, 'Outfit', sans-serif);
  font-size: 19px;
  font-weight: 850;
  margin: 0 0 6px;
  color: #ffffff;
}

.tf-pbanner-info p {
  font-size: 13.5px;
  opacity: 0.92;
  margin: 0;
  max-width: 600px;
  line-height: 1.4;
  color: #e2e8f0;
}

.tf-btn-sec {
  background: #ffffff;
  color: #087a55;
  border: 0;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 13.5px;
  font-weight: 850;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.tf-btn-sec:hover {
  background: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
}

/* Modal de Pedido */
.tf-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tf-modal-badge {
  background: #eef8f5;
  color: #087a55;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 800;
  border: 1px solid #bce4d8;
}

.tf-modal-confirm-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #087a55, #20bfe4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 12px;
  box-shadow: 0 6px 18px rgba(8, 122, 85, 0.3);
}

.tf-pulsing-check {
  font-weight: 900;
}

.tf-modal-desc {
  font-size: 13px;
  color: #64748b;
  text-align: center;
  margin: 0 0 16px;
  line-height: 1.4;
}

.tf-modal-summary {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  max-height: 200px;
  overflow-y: auto;
}

.tf-msum-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
  color: #334155;
}

.tf-msum-row.total-row {
  border-top: 1.5px dashed #cbd5e1;
  margin-top: 8px;
  padding-top: 8px;
  font-weight: 850;
  color: #0b3856;
  font-size: 14.5px;
}

.tf-btn-action {
  background: linear-gradient(135deg, #087a55 0%, #087fa7 100%);
  color: #ffffff;
  border: 0;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 13.5px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(8, 122, 85, 0.3);
  transition: all 0.2s ease;
}

.tf-btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 122, 85, 0.45);
}

/* Responsividad móvil */
@media (max-width: 768px) {
  .tf-hero.food-theme {
    padding: 24px 20px;
  }
  .tf-hero.food-theme .tf-hero-title {
    font-size: 22px;
  }
  .tf-hero.food-theme .tf-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .tf-food-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .tf-partner-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .tf-floating-cart {
    width: 90%;
    bottom: 16px;
    padding: 10px 16px;
    justify-content: space-between;
  }
}
