/* CultivoPro — Editorial Botanical Theme (Verdes y Blancos / Verdes Claros) */
:root {
  --bg: #f6fbf5;
  --bg2: #ecf7ea;
  --card: #ffffff;
  --card-border: #c8e6c3;
  --primary: #22c55e; /* Verde Claro Vibrante */
  --primary-glow: rgba(34, 197, 94, 0.25);
  --primary-dark: #15803d; /* Verde Botánico Intenso */
  --primary-light: #dcfce7; /* Verde Claro Menta */
  --dark-green: #14532d; /* Verde Oscuro Bosque Alto Contraste */
  --amber: #d97706;
  --blue: #2563eb;
  --red: #dc2626;
  --text: #0b2311;
  --text-muted: #2d5a36;
  --text-dim: #6b9c74;
  --nav-h: 74px;
  --radius: 14px;
  --radius-sm: 8px;
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 8% 8%, rgba(34, 197, 94, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 92% 92%, rgba(20, 83, 45, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================
   TOP NAVIGATION HEADER BAR (EDITORIAL VERDE Y BLANCO)
   ============================================ */
.top-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-h);
  background: #ffffff;
  border-bottom: 4px solid var(--dark-green);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 4px 20px rgba(20, 83, 45, 0.06);
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--dark-green);
  user-select: none;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.brand-title span.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #22c55e;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 900;
  box-shadow: 0 3px 10px rgba(34, 197, 94, 0.3);
}

.top-nav-items {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 9px 18px;
  border-radius: 10px;
  transition: all 0.2s ease;
}
.nav-item i { width: 18px; height: 18px; }
.nav-item:hover {
  background: var(--primary-light);
  color: var(--dark-green);
}
.nav-item.active {
  background: var(--dark-green);
  color: #ffffff;
  font-weight: 900;
  border-bottom: 3px solid #22c55e;
  box-shadow: 0 4px 14px rgba(20, 83, 45, 0.2);
}
.nav-item.active i {
  color: #22c55e;
}

/* ============================================
   CONTENT AREA & TABS
   ============================================ */
#content {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 40px;
}

.tab-panel {
  display: none;
  padding: 24px 0 8px;
  animation: fadeIn 0.25s ease;
}
.tab-panel.active { display: block; }

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

/* ============================================
   PAGE HEADER & SUB CONTROLS
   ============================================ */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 14px;
}
.header-left h1 {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--dark-green);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.header-sub-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.sub-pill {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: #ffffff;
  border: 1.5px solid var(--card-border);
  border-radius: 20px;
  padding: 6px 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.btn-control-sub {
  background: #ffffff;
  border: 2px solid var(--dark-green);
  border-radius: 8px;
  padding: 8px 16px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--dark-green);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.btn-control-sub:hover, .btn-control-sub.active {
  background: #22c55e;
  color: #ffffff;
  font-weight: 900;
  border-color: var(--dark-green);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}
.moon-clickable {
  cursor: pointer;
  transition: all 0.18s;
}
.moon-clickable:hover {
  background: #dcfce7;
  border-color: #22c55e;
}

.header-weather-card {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  background: #ffffff;
  border: 2px solid var(--dark-green);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.header-weather-card #weather-temp {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--dark-green);
  line-height: 1.1;
}
.weather-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
  text-transform: capitalize;
  max-width: 110px;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================
   CARDS & ACCORDIONS (EDITORIAL CARDS VERDE Y BLANCO)
   ============================================ */
.card {
  background: #ffffff;
  border: 1.5px solid var(--card-border);
  border-top: 4px solid var(--dark-green);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 18px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}
.card:hover {
  border-top-color: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.1);
}

.card-title {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--dark-green);
  margin-bottom: 14px;
}

.today-card {
  background: #ffffff;
  border: 2px solid var(--dark-green);
  border-top: 5px solid #22c55e;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.08);
}
.today-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #22c55e;
  color: #ffffff;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.today-title {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 4px;
  color: var(--dark-green);
  text-transform: uppercase;
}
.today-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
}

.recipe-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.recipe-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f6fbf5;
  border: 1px solid #c8e6c3;
  border-left: 4px solid var(--dark-green);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
}
.recipe-item .prod-name { color: var(--dark-green); font-weight: 700; }
.recipe-item .prod-dose {
  font-weight: 900;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.recipe-params {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.param-chip {
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 0.78rem;
  color: var(--dark-green);
  font-weight: 800;
}

.watering-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.watering-card {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border-left: 4px solid #22c55e;
  background: #ffffff;
  border-top: 1px solid #c8e6c3;
  border-right: 1px solid #c8e6c3;
  border-bottom: 1px solid #c8e6c3;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.watering-card-title {
  font-size: 0.88rem;
  font-weight: 900;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark-green);
}
.watering-recipe {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.watering-recipe li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 5px 0;
  border-bottom: 1px solid #ecf7ea;
}
.watering-recipe li:last-child { border-bottom: none; }
.watering-recipe .w-prod { color: var(--text-muted); font-weight: 600; }
.watering-recipe .w-dose { font-weight: 900; color: var(--primary-dark); }

/* Accordion Calendar */
.acc-item {
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  transition: all 0.18s ease;
}
.acc-item:hover { border-color: var(--dark-green); }
.acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  background: #ffffff;
  user-select: none;
  gap: 12px;
}
.acc-header:hover { background: #f0f7ef; }
.acc-header.open {
  background: var(--dark-green);
  color: #ffffff;
}
.acc-header.open .acc-title { color: #ffffff; }
.acc-header.open .acc-sub { color: #22c55e; }
.acc-body {
  display: none;
  padding: 18px;
  background: #ffffff;
  animation: fadeIn 0.2s ease;
}
.acc-body.open { display: block; }

/* ============================================
   INTERACTIVE SPREADSHEET TABLES (EDITORIAL VERDE Y BLANCO)
   ============================================ */
.interactive-table-container {
  overflow-x: auto;
  border-radius: 12px;
  border: 2px solid var(--dark-green);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  margin-bottom: 16px;
}
.interactive-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-family: var(--font);
}
.interactive-table th {
  background: var(--dark-green);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
  padding: 13px 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 3px solid #22c55e;
  white-space: nowrap;
}
.interactive-table td {
  padding: 9px 12px;
  border-bottom: 1px solid #ecf7ea;
  vertical-align: middle;
}
.interactive-table tr:hover td {
  background: #f0f7ef;
}
.table-input {
  background: #ffffff;
  border: 1.5px solid #a8d5a3;
  border-radius: 6px;
  padding: 7px 10px;
  color: var(--dark-green);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  width: 100%;
  outline: none;
  transition: all 0.15s ease;
}
.table-input:focus {
  background: #ffffff;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

/* ============================================
   HISTORIAL LOG CARDS (EDITORIAL VERDE Y BLANCO)
   ============================================ */
.log-item-card {
  background: #ffffff;
  border: 1.5px solid var(--card-border);
  border-left: 5px solid var(--dark-green);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 12px rgba(0,0,0,0.03);
}
.log-item-card:hover {
  border-left-color: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.08);
}
.log-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ecf7ea;
}
.log-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.btn-delete-log {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-delete-log:hover {
  background: var(--red);
  color: #ffffff;
  border-color: var(--red);
}

/* ============================================
   MODALS & INPUTS (EDITORIAL VERDE Y BLANCO)
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 83, 45, 0.55);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.2s ease;
}
.modal-box {
  background: #ffffff;
  border: 2px solid var(--dark-green);
  border-top: 5px solid #22c55e;
  border-radius: 18px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 15px 50px rgba(20, 83, 45, 0.2);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 24px 16px;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 1;
  border-bottom: 2px solid #ecf7ea;
}
.modal-header h3 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--dark-green);
  text-transform: uppercase;
}
.modal-body {
  padding: 22px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Form Elements */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.82rem; font-weight: 800; color: var(--dark-green); text-transform: uppercase; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.input-field {
  background: #ffffff;
  border: 1.5px solid #a8d5a3;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--dark-green);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
  width: 100%;
}
.input-field:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}
.input-select {
  background: #ffffff;
  border: 1.5px solid #a8d5a3;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--dark-green);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  outline: none;
  width: 100%;
  cursor: pointer;
}

/* ============================================
   BUTTONS & BADGES (VERDE Y BLANCO / VERDE CLARO)
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  user-select: none;
  white-space: nowrap;
}
.btn-primary {
  background: #22c55e;
  color: #ffffff;
  border: 2px solid var(--dark-green);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}
.btn-primary:hover {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.45);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: #ffffff;
  color: var(--dark-green);
  border: 2px solid var(--dark-green);
}
.btn-outline:hover {
  background: var(--dark-green);
  color: #ffffff;
}
.btn-danger { color: var(--red); border-color: #fecaca; background: #ffffff; }
.btn-danger:hover { background: var(--red); color: #ffffff; border-color: var(--red); }

.btn-sm { padding: 8px 16px; font-size: 0.82rem; border-radius: 8px; }
.btn-block { width: 100%; }

.btn-icon {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.btn-icon:hover { color: var(--dark-green); }
.btn-icon i { width: 20px; height: 20px; }

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-green { background: #dcfce7; color: var(--dark-green); border: 1px solid #bbf7d0; }
.badge-amber { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.badge-blue { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }
.badge-gray { background: #ecf7ea; color: var(--dark-green); border: 1px solid #c8e6c3; }
.badge-red { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

.empty-msg {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 40px 20px;
  line-height: 1.5;
}

/* ============================================
   WIZARD & STRAINS & PRODUCTS STYLING
   ============================================ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  text-align: center;
  gap: 16px;
  padding: 40px 20px;
  background: #ffffff;
  border: 2px solid var(--dark-green);
  border-top: 5px solid #22c55e;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(0,0,0,0.03);
}
.empty-state-icon { font-size: 3.5rem; }
.empty-state h2 { font-size: 1.3rem; font-weight: 900; color: var(--dark-green); text-transform: uppercase; }
.empty-state p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; max-width: 320px; }

.step-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--dark-green);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Strain Row in Wizard */
.strain-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 10px;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.strain-row input.strain-name {
  background: #ffffff;
  border: 1.5px solid #a8d5a3;
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--dark-green);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  outline: none;
  width: 100%;
}
.strain-row input.strain-name:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}
.strain-field-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.strain-field-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}
.strain-row .strain-count {
  width: 65px;
  text-align: center;
  background: #ffffff;
  border: 1.5px solid #a8d5a3;
  border-radius: 8px;
  padding: 8px 6px;
  color: var(--dark-green);
  font-weight: 800;
  font-size: 0.9rem;
  outline: none;
}
.strain-row .strain-weeks {
  width: 70px;
  text-align: center;
  background: #ffffff;
  border: 1.5px solid #fde68a;
  border-radius: 8px;
  padding: 8px 6px;
  color: #b45309;
  font-weight: 800;
  font-size: 0.9rem;
  outline: none;
}
.strain-row .btn-remove-strain {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--red);
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.85rem;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.strain-row .btn-remove-strain:hover {
  background: var(--red);
  color: #ffffff;
}

/* Product Grid Categories & Checkboxes */
.product-category {
  margin-bottom: 18px;
  background: #ffffff;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.product-category-title {
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark-green);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #ecf7ea;
}
.product-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f6fbf5;
  border: 1.5px solid #c8e6c3;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.product-check:hover {
  background: #ecf7ea;
  border-color: #22c55e;
}
.product-check.checked {
  border-color: #22c55e;
  background: #dcfce7;
}
.product-check input[type=checkbox] { display: none; }
.check-mark {
  width: 20px;
  height: 20px;
  border: 2px solid #a8d5a3;
  border-radius: 6px;
  flex-shrink: 0;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}
.product-check.checked .check-mark {
  background: #22c55e;
  border-color: #22c55e;
}
.product-check.checked .check-mark::after {
  content: '';
  width: 5px;
  height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}
.prod-info { flex: 1; min-width: 0; }
.prod-info-name { font-size: 0.9rem; font-weight: 800; color: var(--dark-green); }
.prod-info-brand { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }

/* ============================================
   MOBILE RESPONSIVE SYSTEM (< 768px)
   ============================================ */
@media (max-width: 768px) {
  #app {
    padding: 0 8px;
    overflow-x: hidden;
    width: 100vw;
    max-width: 100vw;
  }

  .top-nav-bar {
    flex-direction: column;
    height: auto;
    padding: 10px 12px;
    gap: 10px;
    border-radius: 0 0 14px 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .brand-title {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .brand-title .brand-subtitle {
    display: none;
  }

  .brand-title-text {
    font-size: 1rem !important;
    white-space: nowrap;
  }

  .top-nav-items {
    width: 100%;
    justify-content: space-around;
    overflow-x: auto;
    padding-bottom: 2px;
    gap: 4px;
  }

  .nav-item {
    padding: 6px 10px;
    font-size: 0.72rem;
    gap: 4px;
    flex-shrink: 0;
  }
  .nav-item i {
    width: 15px;
    height: 15px;
  }

  .page-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .header-weather-card {
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .weather-desc {
    max-width: 100%;
    text-align: center;
  }

  .today-title {
    font-size: 1.1rem;
  }

  .today-card, .card {
    padding: 14px;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
  }

  .recipe-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .modal-box {
    max-height: 94vh;
    border-radius: 16px;
    width: 95vw;
  }

  .modal-header {
    padding: 16px 18px 12px;
  }

  .modal-body {
    padding: 16px 18px 24px;
  }

  .interactive-table-container {
    max-width: 100%;
  }

  .strain-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .strain-row input.strain-name {
    grid-column: span 2;
  }

  .btn {
    padding: 10px 14px;
    font-size: 0.82rem;
    white-space: normal;
  }
}


