/* ==========================================================================
   MAKEPAN PRO - DESIGN SYSTEM & STYLESHEET (SIDEBAR LAYOUT)
   ========================================================================== */

:root {
  color-scheme: light;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --bg: #faf5ef;
  --card: #ffffff;
  --text: #2c2520;
  --muted: #6e645c;
  --muted-light: #9c9186;
  
  --accent: #d97706; /* Warm Amber */
  --accent-hover: #b45309;
  --accent-2: #78350f; /* Deep Crust Brown */
  --gold: #f59e0b; /* Bakery Gold */
  --gold-light: #fef3c7;
  
  --sidebar-bg: linear-gradient(185deg, #2c221a, #1e1611);
  --sidebar-text: #fdfaf7;
  --sidebar-muted: #a39587;

  --border: rgba(217, 119, 6, 0.15);
  --shadow-sm: 0 2px 8px rgba(44, 37, 32, 0.04);
  --shadow-md: 0 10px 25px rgba(44, 37, 32, 0.07);
  --shadow-lg: 0 20px 40px rgba(44, 37, 32, 0.12);

  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;
  --success-text: #065f46;

  --warning-bg: #fffbeb;
  --warning-border: #fde68a;
  --warning-text: #92400e;

  --danger-bg: #fef2f2;
  --danger-border: #fecaca;
  --danger-text: #991b1b;

  --info-bg: #eff6ff;
  --info-border: #bfdbfe;
  --info-text: #1e40af;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: linear-gradient(135deg, #fdfbf7, #f7efe4);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   APP LAYOUT & SIDEBAR NAVEGACIÓN LATERAL
   ========================================================================== */
.app-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 270px;
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 120;
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo-title-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.01em;
}

.badge-pro {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: white;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.08em;
  width: fit-content;
}

.btn-close-sidebar {
  display: none;
  background: transparent;
  color: white;
  font-size: 1.6rem;
  padding: 0 6px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.sidebar-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--sidebar-muted);
  letter-spacing: 0.12em;
  margin: 16px 0 6px 12px;
  padding-right: 12px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-nav .nav-tab {
  background: transparent;
  border: none;
  color: #e5ded7;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.93rem;
  cursor: pointer;
  transition: all 0.22s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  width: 100%;
}

.sidebar-nav .nav-tab:hover {
  background: rgba(217, 119, 6, 0.15);
  color: white;
  transform: translateX(4px);
}

.sidebar-nav .nav-tab.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35);
}

.tab-icon {
  font-size: 1.15rem;
}

.tab-text {
  flex: 1;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: var(--sidebar-muted);
  text-align: center;
}

.sidebar-version {
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 2px;
}

/* CONTENEDOR PRINCIPAL DERECHO */
.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mobile-topbar {
  display: none;
  background: rgba(253, 248, 242, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 110;
  justify-content: space-between;
  align-items: center;
}

.btn-menu-toggle {
  background: #f3efe9;
  border: 1px solid var(--border);
  color: var(--accent-2);
  font-size: 1.3rem;
  padding: 6px 12px;
  border-radius: 10px;
}

.mobile-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent-2);
  font-size: 1.1rem;
}

.mobile-logo-img {
  height: 32px;
  width: 32px;
  border-radius: 50%;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 115;
}

@media (max-width: 880px) {
  .sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    transform: translateX(-100%);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay.active {
    display: block;
  }

  .btn-close-sidebar {
    display: block;
  }

  .mobile-topbar {
    display: flex;
  }
}

/* ==========================================================================
   ESTRUCTURA DE CONTENIDOS SPA
   ========================================================================== */
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 28px 24px;
  width: 100%;
  flex: 1;
}

.tab-content {
  display: none;
  flex-direction: column;
  gap: 24px;
  animation: tabFadeIn 0.35s ease;
}

.tab-content.active {
  display: flex;
}

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

.card {
  background: var(--card);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(217, 119, 6, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero {
  background: linear-gradient(125deg, var(--accent-2), #92400e, var(--accent));
  color: white;
  border: none;
  box-shadow: var(--shadow-lg);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0 0 8px;
  opacity: 0.85;
}

.eyebrow-accent {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  margin: 0 0 10px;
  line-height: 1.25;
}

h1 { font-size: 2rem; font-weight: 800; }
h2 { font-size: 1.4rem; font-weight: 700; color: var(--accent-2); }
h3 { font-size: 1.15rem; font-weight: 600; }

.subtitle {
  margin: 0;
  font-size: 1.05rem;
  opacity: 0.92;
  max-width: 750px;
  line-height: 1.5;
}

.card-subtitle-sm {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: -6px;
  margin-bottom: 18px;
}

/* ==========================================================================
   KPIS DE INVENTARIO Y CONTROL DE STOCK
   ========================================================================== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.margin-v { margin: 16px 0; }
.margin-top-lg { margin-top: 28px; }

.kpi-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  background: white;
  border-left: 5px solid var(--accent);
}

.kpi-card.alert-kpi { border-left-color: #ef4444; }

.kpi-title {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kpi-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  margin: 4px 0;
  line-height: 1.1;
}

.kpi-value.accent { color: var(--accent); }
.kpi-value.warning { color: #dc2626; }

.kpi-subtitle {
  font-size: 0.8rem;
  color: var(--muted-light);
}

/* TOOLBAR Y FILTROS DE STOCK */
.stock-section-card {
  padding: 24px;
}

.stock-header-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.stock-header-toolbar h2 { margin: 0; }

.stock-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.stock-filters input, .stock-filters select {
  font-size: 0.88rem;
  padding: 8px 12px;
}

/* TABLA DE CONTROL DE STOCK */
.stock-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
}

.stock-table th, .stock-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.9rem;
}

.stock-table th {
  background: #fdfaf5;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.row-stock-danger { background-color: rgba(254, 242, 242, 0.6); }
.row-stock-warning { background-color: rgba(255, 251, 235, 0.6); }

.stock-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  padding: 4px 8px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.btn-stock-adjust {
  padding: 3px 8px;
  font-size: 0.78rem;
  border-radius: 6px;
  background: #f3f4f6;
  color: var(--text);
}

.btn-stock-adjust:hover {
  background: var(--accent);
  color: white;
}

.stock-num-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-2);
  min-width: 70px;
  text-align: center;
}

.stock-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-success { background: var(--success-bg); color: var(--success-text); border: 1px solid var(--success-border); }
.badge-warning { background: var(--warning-bg); color: var(--warning-text); border: 1px solid var(--warning-border); }
.badge-danger { background: var(--danger-bg); color: var(--danger-text); border: 1px solid var(--danger-border); }

/* ==========================================================================
   MARKETPLACE B2B MULTI-PROVEEDOR
   ========================================================================== */
.store-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 14px;
}

.product-header-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.rating-badge {
  background: #fffbebf9;
  color: #b45309;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  border: 1px solid #fde68a;
}

.supplier-tag {
  font-size: 0.82rem;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 8px;
  background: #fdfaf5;
  padding: 4px 8px;
  border-radius: 8px;
  display: inline-block;
  border: 1px solid rgba(217, 119, 6, 0.12);
}

.marketplace-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

@media (max-width: 860px) {
  .marketplace-container {
    grid-template-columns: 1fr;
  }
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.product-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 20px;
}

.product-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}

.product-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.product-title {
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 10px;
}

.product-stock {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.stock-normal { color: #059669; }
.stock-bajo { color: #dc2626; }

.product-order-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.qty-selector button {
  padding: 6px 12px;
  border-radius: 0;
  background: #f3f4f6;
  color: var(--text);
}

.qty-selector input {
  width: 100%;
  text-align: center;
  border: none;
  border-radius: 0;
  padding: 6px;
}

.cart-section {
  position: sticky;
  top: 90px;
  height: fit-content;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cart-count {
  background: var(--accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 12px;
}

.cart-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 16px;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  padding: 12px 0;
}

.cart-empty-msg {
  color: var(--muted);
  font-size: 0.88rem;
  font-style: italic;
  text-align: center;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
}

.cart-item-details small {
  color: var(--muted);
}

.cart-item-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-subtotal {
  font-weight: 700;
  color: var(--accent-2);
}

.btn-remove-cart {
  background: transparent;
  color: #ef4444;
  padding: 2px 6px;
  font-size: 1rem;
}

.cart-totals {
  margin-bottom: 16px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
}

.cart-total-row strong {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 1.3rem;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   GRIDS Y FORMULARIOS
   ========================================================================== */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 820px) {
  .grid-2col {
    grid-template-columns: 1fr;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.grid-span-full {
  grid-column: 1 / -1;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

input, select, textarea {
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid #e5e7eb;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #fcfbf9;
  color: var(--text);
  transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

button {
  padding: 12px 22px;
  border-radius: 14px;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}

.btn-secondary-accent {
  background: var(--gold-light);
  color: var(--accent-2);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.btn-secondary-accent:hover {
  background: var(--gold);
  color: white;
}

button.secondary {
  background: #f3f4f6;
  color: var(--muted);
}

button.secondary:hover {
  background: #e5e7eb;
  color: var(--text);
}

.btn-block {
  width: 100%;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   TARJETA RESULTADO DE LEVADURA & TDM
   ========================================================================== */
.result-card {
  background: linear-gradient(135deg, #fffbf5, #fff8f0);
  border: 2px solid rgba(217, 119, 6, 0.25);
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.tipo-levadura-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tipo-levadura-selector select {
  font-weight: 600;
  background: white;
  border-color: var(--accent);
  color: var(--accent-2);
}

.result-main-container {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 10px 0;
}

.result-main {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.result-badge {
  background: var(--gold-light);
  color: var(--accent-2);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
}

.result-caption {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 20px;
}

/* Tabla rápida de conversión */
.quick-conversion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: white;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(217, 119, 6, 0.15);
  margin-bottom: 20px;
}

.conv-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.conv-title {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.conv-item strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-2);
  margin-top: 4px;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  background: white;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(217, 119, 6, 0.12);
}

.metrics div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metrics span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
}

.metrics strong {
  font-size: 0.95rem;
  color: var(--text);
}

/* TDM Result Box */
.tdm-result-box {
  background: white;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid rgba(217, 119, 6, 0.15);
  margin-top: 14px;
  text-align: center;
}

.tdm-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.tdm-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-2);
  margin: 6px 0;
}

.tdm-status {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 8px;
}

.alert-success { background: var(--success-bg); color: var(--success-text); border: 1px solid var(--success-border); }
.alert-warning { background: var(--warning-bg); color: var(--warning-text); border: 1px solid var(--warning-border); }
.alert-danger { background: var(--danger-bg); color: var(--danger-text); border: 1px solid var(--danger-border); }
.alert-info { background: var(--info-bg); color: var(--info-text); border: 1px solid var(--info-border); }

/* Field info box */
.field-info-box {
  background: #f9f6f0;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px dashed rgba(217, 119, 6, 0.25);
}

.info-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.info-value {
  font-size: 1.1rem;
  color: var(--accent-2);
}

/* ==========================================================================
   RECETAS & PORCENTAJE PANADERO
   ========================================================================== */
.recipe-simulator-card {
  background: #ffffff;
  border: 2px solid rgba(217, 119, 6, 0.2);
}

.simulator-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.sim-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: -6px;
  margin-bottom: 20px;
}

.sim-controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  background: #fdfaf5;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(217, 119, 6, 0.15);
  margin-bottom: 20px;
}

.sim-metric-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #f3f4f6;
}

.sim-metric-box span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.sim-metric-box strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-2);
}

.sim-metric-box.cost-box strong {
  color: var(--accent);
}

.sim-metric-box small {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Tabla Panadera */
.table-responsive {
  overflow-x: auto;
}

.baker-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.baker-table th, .baker-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
}

.baker-table th {
  background: #fcf9f4;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.pct-badge {
  background: var(--gold-light);
  color: var(--accent-2);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 0.85rem;
}

/* Cards de Receta en Catálogo */
.recetas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.receta-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #f3f4f6;
}

.receta-card.active-recipe {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.15);
}

.receta-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.receta-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.receta-badge {
  background: #fef3c7;
  color: #b45309;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.receta-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
  margin: 0 0 14px;
}

.receta-metrics {
  display: flex;
  gap: 16px;
  background: #fdfbf7;
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.receta-metrics div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.receta-metrics span {
  font-size: 0.72rem;
  color: var(--muted);
}

.receta-metrics strong {
  font-size: 0.92rem;
  color: var(--text);
}

.receta-actions {
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   PANEL LOGIN & PIE DE PÁGINA
   ========================================================================== */
.login-card-container {
  max-width: 480px;
  margin: 40px auto;
}

.login-header {
  text-align: center;
  margin-bottom: 24px;
}

/* Botón Oficial de Google Sign-In */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 20px;
  background-color: #ffffff;
  color: #1f2937;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease-in-out;
}

.btn-google:hover {
  background-color: #f9fafb;
  border-color: #d1d5db;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.btn-google:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-google svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.login-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.login-divider:not(:empty)::before {
  margin-right: 12px;
}

.login-divider:not(:empty)::after {
  margin-left: 12px;
}

.google-user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 10px 14px;
  border-radius: 12px;
  margin: 14px 0;
  color: #166534;
  font-weight: 600;
  font-size: 0.9rem;
}

.google-user-badge img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #22c55e;
}

/* Opciones Modal Cuentas Google */
.google-account-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.google-account-option:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateX(2px);
}

.account-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #22c55e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.account-info {
  display: flex;
  flex-direction: column;
}

.account-info strong {
  font-size: 0.92rem;
  color: #1e293b;
}

.account-info small {
  font-size: 0.78rem;
  color: #64748b;
}

.login-tip {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
}

.logged-profile {
  text-align: center;
}

.profile-avatar {
  font-size: 3.5rem;
  margin-bottom: 12px;
}

.hidden {
  display: none !important;
}

.footer {
  background: rgba(253, 248, 242, 0.9);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  margin-top: auto;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ==========================================================================
   ESTILOS PLANILLA EXCEL COSTEO Y RENTABILIDAD
   ========================================================================== */
.excel-preset-bar {
  padding: 18px 24px;
  background: #ffffff;
}

.preset-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.select-preset {
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent-2);
  border: 2px solid var(--accent);
  background: #fffdfa;
  min-width: 300px;
}

.preset-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.excel-sheet-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

@media (max-width: 990px) {
  .excel-sheet-grid {
    grid-template-columns: 1fr;
  }
}

.excel-banner {
  padding: 10px 16px;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 16px;
}

.banner-blue {
  background: #0000ff;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 255, 0.25);
}

.banner-green {
  background: #00a859;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 168, 89, 0.25);
}

.excel-banner h2 {
  color: white;
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.excel-recipe-title-box {
  margin-bottom: 14px;
}

.excel-title-input {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #000080;
  text-transform: uppercase;
  border-bottom: 2px solid #000080;
  border-top: none; border-left: none; border-right: none;
  border-radius: 0;
  background: transparent;
  padding: 4px 8px;
}

/* Tabla Excel */
.excel-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #000000;
  background: #ffffff;
}

.excel-table th {
  background: #ffffff;
  color: #000000;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 8px;
  border: 1px solid #000000;
  text-align: center;
}

.excel-table td {
  border: 1px solid #000000;
  padding: 4px 6px;
  font-size: 0.88rem;
  vertical-align: middle;
}

.excel-input-code, .excel-select-ing, .excel-input-num {
  width: 100%;
  padding: 4px 6px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  font-size: 0.85rem;
  background: #ffffcc; /* Excel yellow highlight */
  font-weight: 600;
}

.excel-input-code { text-align: center; font-weight: 700; }
.excel-input-num { text-align: right; }

.row-bg-yellow { background-color: #ffffcc; }
.row-bg-blue-light { background-color: #d9e1f2; }

.btn-remove-row {
  background: transparent;
  color: #dc2626;
  border: none;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  padding: 2px 6px;
}

.btn-remove-row:hover {
  background: #fee2e2;
  border-radius: 4px;
}

/* Resumen Totales Excel */
.excel-totals-summary {
  margin-top: 14px;
  border: 2px solid #000000;
  background: #ffffff;
}

.excel-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #000000;
  font-size: 0.95rem;
}

.subtotal-row {
  background: #e2e8f0;
  font-weight: 800;
}

.profit-highlight-row {
  background: #92d050; /* Bright Excel Green */
  color: #000000;
  font-weight: 800;
}

.pct-input-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.input-pct-sm {
  width: 55px;
  text-align: center;
  padding: 2px 4px;
  font-weight: 800;
  background: #ffff00; /* Bright yellow */
  border: 1px solid #000000;
  border-radius: 4px;
}

/* Columna Derecha Result Blocks */
.excel-results-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.excel-result-block {
  border: 2px solid #000000;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
}

.flex-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
}

.flex-2col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.excel-field-item {
  padding: 10px;
  border-right: 1px solid #000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.excel-field-item:last-child {
  border-right: none;
}

.excel-field-item span {
  font-size: 0.78rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 4px;
}

.yellow-bg { background-color: #ffff00; }
.green-bg { background-color: #92d050; }

.excel-input-highlight {
  background: #ffffff;
  border: 1px solid #000000;
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
  padding: 4px;
  border-radius: 4px;
}

.field-val-lg {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #000000;
}

.field-val-xl {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #000000;
}

/* Rentabilidad */
.rentabilidad-block {
  background: #ffffff;
  text-align: center;
  padding: 8px 14px;
}

.rentabilidad-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 6px;
}

.rentabilidad-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #92d050;
  padding: 8px 14px;
  border: 1px solid #000000;
  border-radius: 4px;
}

/* Costos Añadidos */
.costos-anadidos-block {
  padding: 10px;
}

.excel-added-costs-table {
  width: 100%;
  border-collapse: collapse;
}

.excel-added-costs-table td {
  padding: 6px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.9rem;
}

.input-cost-num {
  width: 100%;
  text-align: right;
  padding: 4px 6px;
  background: #ffffcc;
  border: 1px solid #000000;
  font-weight: 700;
  border-radius: 4px;
}

.costs-added-total-row {
  border-top: 2px solid #000000;
  border-bottom: none !important;
}

.servicios-breakdown-box {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #cbd5e1;
  justify-content: flex-end;
}

.serv-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
}

.input-cost-sm {
  width: 75px;
  padding: 2px 4px;
  text-align: right;
  background: #ffffcc;
  border: 1px solid #94a3b8;
  font-weight: 700;
  border-radius: 4px;
}

@media print {
  .sidebar, .mobile-topbar, .excel-preset-bar, .actions {
    display: none !important;
  }
  .main-wrapper, .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
  .excel-sheet-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
}

/* ==========================================================================
   SUSCRIPCIONES & PLANES (MAKEPAN BASIC, PRO, PLATFORM)
   ========================================================================== */
.sidebar-plan-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.sidebar-plan-label {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 6px;
  font-weight: 600;
}

.sidebar-plan-select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  background: #1e293b;
  color: #f8fafc;
  border: 1px solid #334155;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.sidebar-plan-select:focus {
  border-color: var(--accent);
}

.plan-badge-tag {
  margin-left: auto;
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 99px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.basic-tag {
  background: #e2e8f0;
  color: #475569;
}

.pro-tag {
  background: #dbeafe;
  color: #1e40af;
}

.full-tag {
  background: #fef3c7;
  color: #92400e;
}

.platform-tag {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: white;
}

.nav-tab.tab-locked {
  opacity: 0.6;
}

.nav-tab.tab-locked .tab-text::after {
  content: " 🔒";
  font-size: 0.75rem;
}

/* Badge de Suscripción Activa en Sidebar */
.active-plan-display-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px 12px;
  margin-top: 6px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #f8fafc;
  font-size: 0.88rem;
}

.plan-status-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-status-pill.free {
  background: rgba(100, 116, 139, 0.3);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.plan-status-pill.pro {
  background: rgba(59, 130, 246, 0.3);
  color: #bfdbfe;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.plan-status-pill.platform {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(99, 102, 241, 0.4));
  color: #f3e8ff;
  border: 1px solid rgba(168, 85, 247, 0.5);
}

.btn-upgrade-plan-sidebar {
  width: 100%;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
  transition: all 0.2s ease;
}

.btn-upgrade-plan-sidebar:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.45);
  filter: brightness(1.05);
}

/* Modal de Bloqueo de Plan */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal-card {
  background: white;
  width: 100%;
  max-width: 440px;
  padding: 30px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.modal-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.modal-card h2 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.modal-card p {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 20px;

}

.plan-upgrade-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 16px;
  border-radius: 14px;
  margin-bottom: 20px;
  text-align: left;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* ==========================================================================
   ESTILOS MÓDULO GESTIÓN DE PERSONAL (MAKEPAN PLATFORM)
   ========================================================================== */
.hierarchy-info-card {
  background: linear-gradient(135deg, #faf5ff, #f3e8ff);
  border: 1px solid #e9d5ff;
}

.hierarchy-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.hierarchy-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #f0abfc;
  box-shadow: 0 2px 6px rgba(168, 85, 247, 0.08);
}

.stars-gold {
  font-size: 1.2rem;
  letter-spacing: -2px;
}

.h-info {
  display: flex;
  flex-direction: column;
}

.h-info strong {
  font-size: 0.88rem;
  color: #581c87;
}

.h-info span {
  font-size: 0.78rem;
  color: #7e22ce;
}

.stars-cell {
  font-size: 1.05rem;
  letter-spacing: -1px;
}

/* ==========================================================================
   ESTILOS TIENDA B2B & MICRO BANNERS INSTITUCIONALES (JAMBO, ZALLA, LA SERENÍSIMA)
   ========================================================================== */
.provider-micro-banner {
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 24px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.provider-micro-banner.banner-jambo {
  background: linear-gradient(135deg, #422313 0%, #7c3a1d 50%, #9a481e 100%);
  border: 1px solid rgba(254, 243, 199, 0.25);
}

.provider-micro-banner.banner-zalla {
  background: linear-gradient(135deg, #de5400 0%, #b84100 50%, #852a00 100%);
  border: 1px solid rgba(255, 237, 213, 0.25);
}

.provider-micro-banner.banner-serenisima {
  background: linear-gradient(135deg, #00458a 0%, #0055a5 50%, #008b47 100%);
  border: 1px solid rgba(224, 242, 254, 0.25);
}

.provider-micro-banner.banner-todos {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.banner-content-box h2 {
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 4px 0;
}

.banner-content-box p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.9rem;
  margin: 0;
}

.banner-tag-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

/* CARDS DE PRODUCTOS SIN PRECIOS (A COTIZAR) Y TIRA DE COLOR */
.brand-card-stripe {
  height: 6px;
  border-radius: 12px 12px 0 0;
  margin: -1.5rem -1.5rem 1rem -1.5rem;
}
.stripe-jambo { background: linear-gradient(90deg, #7c3a1d, #d97706); }
.stripe-zalla { background: linear-gradient(90deg, #de5400, #f59e0b); }
.stripe-serenisima { background: linear-gradient(90deg, #0055a5, #008b47); }

.supplier-tag-pill {
  background: #f1f5f9;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.product-presentation {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.badge-price-quote {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 14px;
  border: 1px solid #fde68a;
}

/* JAMBO OFFICIAL BRANDING & PRODUCT CARDS */
.jambo-hero-banner {
  background: linear-gradient(135deg, #ffe600 0%, #ffd000 100%);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 10px 25px rgba(255, 214, 0, 0.35);
  border: 1px solid #ecc900;
}

.jambo-brand-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.jambo-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.jambo-hero-title-box h2 {
  color: #422313 !important;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 4px 0;
}

.jambo-hero-title-box p {
  color: #5d331c !important;
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0;
}

.jambo-tag-badge {
  background: #422313;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.jambo-product-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid #eef2f6;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jambo-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.jambo-img-container {
  height: 145px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px;
  border: 1px solid #f1f5f9;
}

.jambo-img-container img {
  max-height: 130px;
  max-width: 100%;
  object-fit: contain;
}

.jambo-category-label {
  color: #d97706;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.jambo-product-name {
  color: #422313;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
  min-height: 2.6rem;
}

.jambo-weight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.margin-top-auto {
  margin-top: auto;
}



