/* Botánica 360 — Guía / Consulta v3.16 */
:root {
  --guide-primary: #16a34a;
  --guide-primary-dark: color-mix(in srgb, var(--guide-primary) 75%, #000);
  --guide-primary-soft: color-mix(in srgb, var(--guide-primary) 12%, #fff);
  --guide-primary-glow: color-mix(in srgb, var(--guide-primary) 25%, transparent);
  --guide-bg: #f7f6f3;
  --guide-surface: #ffffff;
  --guide-text: #0f172a;
  --guide-muted: #64748b;
  --guide-border: #e8ece8;
  --guide-radius: 18px;
  --guide-radius-sm: 12px;
  --guide-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --guide-shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.1);
  --guide-font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

.guide-body {
  margin: 0;
  font-family: var(--guide-font);
  background: var(--guide-bg);
  color: var(--guide-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.guide-body--public {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--guide-primary-glow), transparent 60%),
    var(--guide-bg);
}

.muted { color: var(--guide-muted); }

/* ===== Header ===== */
.guide-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(145deg, var(--guide-primary-dark), var(--guide-primary));
  padding: 16px 20px 18px;
  padding-top: calc(16px + env(safe-area-inset-top));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.guide-body--public .guide-header {
  padding-bottom: 20px;
}
.guide-body--staff .guide-header {
  background: linear-gradient(145deg, #0f172a, #1e293b);
  padding-bottom: 16px;
}
.guide-header-staff {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.guide-header-pos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--guide-primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.12s, filter 0.12s;
}
.guide-header-pos:hover { filter: brightness(1.08); transform: translateY(-1px); }
.guide-header-out {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1.15rem;
  transition: background 0.12s;
}
.guide-header-out:hover { background: rgba(255, 255, 255, 0.18); }
.guide-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 16px;
}
.guide-body--public .guide-header-inner { padding-bottom: 12px; }
.guide-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.guide-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.guide-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.guide-logo-fallback { font-size: 1.75rem; }
.guide-brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.guide-brand-text strong {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.guide-brand-text span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  font-weight: 600;
}
.guide-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.guide-header-wave { display: none; }

.guide-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 40px;
  width: 100%;
  flex: 1;
}
.guide-body--public .guide-main { padding-top: 16px; }

/* ===== Footer ===== */
.guide-footer {
  text-align: center;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  font-size: 0.78rem;
  color: var(--guide-muted);
  border-top: 1px solid var(--guide-border);
  background: var(--guide-surface);
}
.guide-footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  margin-bottom: 12px;
  color: #334155;
  font-weight: 600;
  font-size: 0.84rem;
}
.guide-footer-contact i { color: var(--guide-primary); margin-right: 4px; }
.guide-footer-legal { margin: 0 0 8px; line-height: 1.5; max-width: 520px; margin-inline: auto; }
.guide-footer-brand { margin: 0; font-weight: 800; color: var(--guide-primary); font-size: 0.9rem; }

/* ===== Buscador fijo ===== */
.guide-search-dock {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 76px);
  z-index: 35;
  background: color-mix(in srgb, var(--guide-bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0 10px;
  margin: 0 -4px;
}
.guide-dock-title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--guide-text);
}
.guide-dock-sub {
  margin: -4px 0 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--guide-muted);
}
.guide-search-dock.is-compact .guide-dock-title,
.guide-search-dock.is-compact .guide-dock-sub,
.guide-search-dock.is-compact .guide-quick-row { display: none; }
.guide-search-dock.is-compact { padding-bottom: 6px; }

/* Categorías horizontales */
.guide-cat-strip-wrap {
  margin-bottom: 16px;
  margin-left: -20px;
  margin-right: -20px;
  padding: 0 20px;
}
.guide-cat-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.guide-cat-strip::-webkit-scrollbar { display: none; }
.guide-cat-pill {
  flex-shrink: 0;
  border: 1.5px solid var(--guide-border);
  background: var(--guide-surface);
  border-radius: 999px;
  padding: 9px 16px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.guide-cat-pill:hover {
  border-color: var(--guide-primary);
  color: var(--guide-primary-dark);
}
.guide-cat-pill.is-active {
  background: var(--guide-primary);
  border-color: var(--guide-primary);
  color: #fff;
  box-shadow: 0 4px 14px var(--guide-primary-glow);
}

/* Confianza / consulta pública */
.guide-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 0 14px;
  padding: 0 2px;
}
.guide-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--guide-surface);
  border: 1px solid var(--guide-border);
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
}
.guide-trust-item i { color: var(--guide-primary); font-size: 0.95rem; }
.guide-trust-wa {
  text-decoration: none;
  color: #15803d;
  border-color: color-mix(in srgb, var(--guide-primary) 30%, #fff);
  background: var(--guide-primary-soft);
}
.guide-trust-wa:hover { filter: brightness(0.98); }

/* Destacados home */
.guide-featured-wrap {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--guide-border);
}
.guide-featured-head { margin-bottom: 14px; }
.guide-featured-title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.guide-featured-sub { margin: 0; font-size: 0.82rem; }
.guide-featured {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.guide-featured::-webkit-scrollbar { display: none; }
.guide-featured-loading {
  display: flex;
  gap: 12px;
  width: 100%;
}
.guide-featured-loading span {
  flex: 0 0 140px;
  height: 190px;
  border-radius: 16px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: guideShimmer 1.2s infinite;
}
.guide-featured-card {
  flex: 0 0 148px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--guide-border);
  border-radius: 16px;
  background: var(--guide-surface);
  box-shadow: var(--guide-shadow);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.guide-featured-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--guide-primary) 35%, #fff);
  box-shadow: var(--guide-shadow-lg);
}
.guide-featured-img {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.guide-featured-name {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-featured-teaser {
  font-size: 0.68rem;
  color: var(--guide-muted);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-featured-price {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--guide-primary-dark);
  margin-top: auto;
}

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

/* ===== Buscador input ===== */
.guide-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--guide-surface);
  border: 2px solid var(--guide-border);
  border-radius: 999px;
  padding: 14px 20px;
  box-shadow: var(--guide-shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.guide-search-box--top {
  margin: 0;
  position: relative;
  z-index: 2;
}
.guide-search-box:focus-within {
  border-color: var(--guide-primary);
  box-shadow: 0 8px 32px var(--guide-primary-glow);
}
.guide-search-box > i:first-child {
  color: var(--guide-primary);
  font-size: 1.35rem;
  flex-shrink: 0;
}
.guide-search-box input {
  flex: 1;
  border: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  background: transparent;
  min-width: 0;
  color: var(--guide-text);
}
.guide-search-box input::placeholder { color: #94a3b8; font-weight: 400; }
.guide-clear {
  border: 0;
  background: #f1f5f9;
  color: var(--guide-muted);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.guide-clear:hover { background: #e2e8f0; }

.guide-scan-btn {
  border: 0;
  background: linear-gradient(135deg, var(--guide-primary), var(--guide-primary-dark, #15803d));
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--guide-primary-glow, rgba(22, 163, 74, 0.35));
  transition: transform 0.15s, box-shadow 0.15s;
}
.guide-scan-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 18px var(--guide-primary-glow, rgba(22, 163, 74, 0.45));
}
.guide-scan-btn:active { transform: scale(0.97); }

.guide-scan-modal[hidden] { display: none !important; }
.guide-scan-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 540px) {
  .guide-scan-modal { align-items: center; padding: 24px; }
}
.guide-scan-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}
.guide-scan-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: var(--guide-surface, #fff);
  border-radius: 20px 20px 0 0;
  padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 40px rgba(15, 23, 42, 0.18);
  animation: guideFadeUp 0.25s ease;
}
@media (min-width: 540px) {
  .guide-scan-sheet { border-radius: 20px; padding-bottom: 20px; }
}
.guide-scan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.guide-scan-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.guide-scan-head h2 i { color: var(--guide-primary); }
.guide-scan-close {
  border: 0;
  background: #f1f5f9;
  color: var(--guide-muted);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.guide-scan-hint {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--guide-muted);
  line-height: 1.4;
}
.guide-scan-reader {
  width: 100%;
  min-height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
}
.guide-scan-reader video {
  border-radius: 14px;
  object-fit: cover;
}
.guide-scan-status {
  margin: 12px 0 0;
  font-size: 0.82rem;
  text-align: center;
  line-height: 1.35;
}
.guide-scan-status.is-error { color: #dc2626; }
.guide-scan-manual {
  display: block;
  width: 100%;
  margin-top: 14px;
  border: 2px solid var(--guide-border);
  background: transparent;
  color: var(--guide-text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
}
.guide-scan-manual:hover { border-color: var(--guide-primary); color: var(--guide-primary); }

/* Quick chips */
.guide-quick-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.guide-quick-row::-webkit-scrollbar { display: none; }
.guide-quick-chip {
  flex-shrink: 0;
  border: 0;
  background: var(--guide-surface);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  border: 1px solid var(--guide-border);
}
.guide-quick-chip:hover,
.guide-quick-chip:active {
  background: var(--guide-primary-soft);
  border-color: var(--guide-primary);
  color: var(--guide-primary-dark);
}

/* ===== Layout tienda ===== */
.guide-shop {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

/* Filtros sidebar */
.guide-filters {
  position: sticky;
  top: 16px;
  background: var(--guide-surface);
  border: 1px solid var(--guide-border);
  border-radius: var(--guide-radius);
  padding: 16px;
  box-shadow: var(--guide-shadow);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.guide-filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.guide-filters-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--guide-text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.guide-filters-title i { color: var(--guide-primary); }
.guide-filters-close {
  display: none;
  border: 0;
  background: #f1f5f9;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--guide-muted);
}
.guide-filter-block {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.guide-filter-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.guide-filter-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--guide-muted);
  cursor: pointer;
  list-style: none;
  padding: 4px 0 8px;
  user-select: none;
}
.guide-filter-label::-webkit-details-marker { display: none; }
.guide-filter-label::after {
  content: '▾';
  font-size: 0.8rem;
  color: #cbd5e1;
  transition: transform 0.15s;
}
.guide-filter-block[open] .guide-filter-label::after { transform: rotate(180deg); }
.guide-filter-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 220px;
  overflow-y: auto;
}
.guide-filter-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 6px;
  font-size: 0.86rem;
  color: #334155;
  cursor: pointer;
  line-height: 1.35;
  border-radius: 10px;
  transition: background 0.12s;
}
.guide-filter-item:hover { background: #f8fafc; }
.guide-filter-item input { margin-top: 3px; accent-color: var(--guide-primary); flex-shrink: 0; }
.guide-filter-item em { font-style: normal; color: #94a3b8; font-size: 0.78rem; }
.guide-filter-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--guide-border);
  border-radius: 10px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  background: #fff;
  color: var(--guide-text);
}
.guide-symptom-list { max-height: none; gap: 6px; }
.guide-symptom {
  text-align: left;
  border: 1px solid var(--guide-border);
  background: #fafafa;
  border-radius: 10px;
  padding: 9px 12px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.12s;
}
.guide-symptom:hover {
  border-color: var(--guide-primary);
  background: var(--guide-primary-soft);
  color: var(--guide-primary-dark);
}
.guide-filters-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 45;
}

/* Catálogo */
.guide-catalog { min-width: 0; }
.guide-catalog-bar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.guide-filter-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid var(--guide-border);
  border-radius: 999px;
  background: var(--guide-surface);
  font: inherit;
  font-weight: 700;
  font-size: 0.86rem;
  color: #334155;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--guide-shadow);
}
.guide-catalog-meta { flex: 1; min-width: 0; }
.guide-count {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--guide-text);
  letter-spacing: -0.02em;
}
.guide-context { margin: 4px 0 0; font-size: 0.82rem; }

/* Home / welcome */
.guide-welcome { animation: guideFadeUp 0.4s ease; }
.guide-welcome-staff {
  text-align: center;
  padding: 40px 24px;
  background: var(--guide-surface);
  border: 1px dashed #cbd5e1;
  border-radius: var(--guide-radius);
}
.guide-welcome-staff > i {
  font-size: 2.5rem;
  color: var(--guide-primary);
  display: block;
  margin-bottom: 12px;
}
.guide-welcome-title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
}
.guide-welcome-text { margin: 0; font-size: 0.9rem; }

.guide-home-section { margin-bottom: 8px; }
.guide-home-head { margin-bottom: 16px; }
.guide-home-title {
  margin: 0 0 4px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.guide-home-sub { margin: 0; font-size: 0.88rem; }
.guide-home-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.guide-home-cats-loading {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.guide-home-cats-loading span {
  height: 88px;
  border-radius: var(--guide-radius-sm);
  background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%);
  background-size: 200% 100%;
  animation: guideShimmer 1.2s infinite;
}
.guide-home-cat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--guide-border);
  border-radius: var(--guide-radius-sm);
  background: var(--guide-surface);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: all 0.18s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  width: 100%;
}
.guide-home-cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--cat-color, var(--guide-primary)) 14%, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.guide-home-cat-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.guide-home-cat-arrow { color: #cbd5e1; font-size: 1.2rem; flex-shrink: 0; }
.guide-home-cat:hover {
  transform: translateY(-1px);
  box-shadow: var(--guide-shadow);
  border-color: color-mix(in srgb, var(--cat-color, var(--guide-primary)) 35%, #fff);
}
.guide-home-cat:hover .guide-home-cat-arrow { color: var(--guide-primary); }
.guide-home-cat-name {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--guide-text);
}
.guide-home-cat-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--guide-muted);
}

@media (min-width: 640px) {
  .guide-home-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-home-cats-loading { grid-template-columns: repeat(3, 1fr); }
}

/* Grid productos */
.guide-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.guide-prod-grid--in .guide-prod { animation: guideCardIn 0.35s ease backwards; }
.guide-prod-grid--in .guide-prod:nth-child(2) { animation-delay: 0.04s; }
.guide-prod-grid--in .guide-prod:nth-child(3) { animation-delay: 0.08s; }
.guide-prod-grid--in .guide-prod:nth-child(4) { animation-delay: 0.12s; }
@keyframes guideCardIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.guide-prod {
  position: relative;
  background: var(--guide-surface);
  border-radius: var(--guide-radius-sm);
  border: 1px solid var(--guide-border);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.guide-prod:hover {
  box-shadow: var(--guide-shadow-lg);
  transform: translateY(-3px);
}
.guide-prod-open {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.guide-prod-img {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #f8fafc, #f1f5f9);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.guide-prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.guide-prod:hover .guide-prod-img img { transform: scale(1.04); }
.guide-prod-ph { font-size: 3rem; opacity: 0.65; }
.guide-prod-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
}
.guide-prod-cat {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--guide-primary);
  background: var(--guide-primary-soft);
  padding: 3px 8px;
  border-radius: 6px;
  align-self: flex-start;
}
.guide-prod-name {
  margin: 4px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--guide-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-prod-teaser {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--guide-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-prod-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.guide-prod-price {
  margin: 0;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--guide-primary);
  letter-spacing: -0.02em;
}
.guide-prod-stock {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: #ecfdf5;
  color: #047857;
  white-space: nowrap;
}
.guide-prod-stock.is-out { background: #fef3c7; color: #b45309; }
.guide-prod-detail {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--guide-muted);
  transition: color 0.15s;
}
.guide-prod:hover .guide-prod-detail { color: var(--guide-primary); }
.guide-prod-add {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--guide-primary);
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--guide-primary-glow);
  transition: transform 0.12s;
  z-index: 2;
}
.guide-prod-add:active { transform: scale(0.92); }
.guide-prod-add.is-in {
  background: #fff;
  color: var(--guide-primary);
  border: 2px solid var(--guide-primary);
  box-shadow: var(--guide-shadow);
}
.guide-prod-add.is-in i::before { content: '✓'; font-family: inherit; }
.guide-prod-add.is-in i { font-size: 0; }

/* Skeleton */
.guide-skeleton .guide-prod--skel .guide-prod-img,
.guide-skeleton .guide-prod--skel .guide-prod-body span {
  background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%);
  background-size: 200% 100%;
  animation: guideShimmer 1.2s infinite;
  border-radius: 8px;
}
.guide-skeleton .guide-prod--skel .guide-prod-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}
.guide-skeleton .guide-prod--skel .guide-prod-body span:nth-child(1) { height: 14px; width: 50%; }
.guide-skeleton .guide-prod--skel .guide-prod-body span:nth-child(2) { height: 16px; width: 85%; }
.guide-skeleton .guide-prod--skel .guide-prod-body span:nth-child(3) { height: 14px; width: 35%; }
@keyframes guideShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Empty */
.guide-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  background: var(--guide-surface);
  border-radius: var(--guide-radius);
  border: 1px dashed #cbd5e1;
}
.guide-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #94a3b8;
}
.guide-empty-title { margin: 0 0 8px; font-weight: 800; font-size: 1.1rem; }
.guide-empty-msg { margin: 0; font-size: 0.9rem; line-height: 1.5; max-width: 360px; margin-inline: auto; }
.guide-retry {
  margin-top: 12px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--guide-primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

/* Paginación */
.guide-pager { grid-column: 1 / -1; margin-top: 12px; padding: 16px 0 8px; }
.guide-page-range { margin: 0 0 10px; font-size: 0.82rem; color: var(--guide-muted); text-align: center; }
.guide-page-nav { display: flex; align-items: center; justify-content: center; gap: 14px; }
.guide-page-info { font-size: 0.9rem; font-weight: 700; color: #334155; }
.guide-page-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--guide-border);
  background: var(--guide-surface);
  color: #334155;
  font-size: 1.2rem;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.guide-page-btn:hover { border-color: var(--guide-primary); color: var(--guide-primary); }
.guide-page-btn-primary {
  background: var(--guide-primary);
  border-color: var(--guide-primary);
  color: #fff;
}
.guide-page-btn-primary:hover { filter: brightness(1.05); color: #fff; }

/* PDP */
.guide-pdp { padding-top: 8px; animation: guideFadeUp 0.3s ease; }
.guide-pdp-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--guide-muted);
  margin-bottom: 20px;
}
.guide-pdp-crumb-link {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--guide-primary);
  font-weight: 700;
  cursor: pointer;
}
.guide-pdp-crumb-sep { color: #cbd5e1; }
.guide-pdp-crumb-current {
  color: #334155;
  font-weight: 600;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.guide-pdp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 36px;
}
.guide-pdp-photo {
  background: var(--guide-surface);
  border: 1px solid var(--guide-border);
  border-radius: var(--guide-radius);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--guide-shadow);
}
.guide-pdp-photo img { width: 100%; height: 100%; object-fit: cover; }
.guide-pdp-photo .guide-prod-ph { font-size: 5rem; opacity: 0.7; }
.guide-pdp-cat {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--guide-primary);
}
.guide-pdp-title {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.guide-pdp-price {
  margin: 0 0 14px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--guide-primary);
}
.guide-pdp-desc { margin: 0 0 18px; font-size: 0.95rem; line-height: 1.55; color: #475569; }
.guide-pdp-field { margin-bottom: 16px; }
.guide-pdp-field-label {
  margin: 0 0 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--guide-muted);
}
.guide-pdp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.guide-pdp-chip {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--guide-border);
  border-radius: 999px;
  background: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
}
.guide-pdp-chip.is-on {
  border-color: var(--guide-primary);
  background: var(--guide-primary-soft);
  color: var(--guide-primary-dark);
}
.guide-pdp-stockline { margin: 0 0 18px; font-size: 0.9rem; font-weight: 700; color: #475569; }
.guide-pdp-add {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  border: 0;
  border-radius: 14px;
  background: var(--guide-primary);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--guide-primary-glow);
  margin-bottom: 10px;
  transition: transform 0.12s;
}
.guide-pdp-add:active { transform: scale(0.98); }
.guide-pdp-add.is-in {
  background: #fff;
  color: var(--guide-primary);
  border: 2px solid var(--guide-primary);
  box-shadow: none;
}
.guide-pdp-back {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--guide-border);
  border-radius: 14px;
  background: #fff;
  color: #475569;
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  margin-bottom: 18px;
}
.guide-pdp-back:hover { background: #f8fafc; }
.guide-pdp-extra {
  margin-bottom: 14px;
  padding: 14px 16px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 3px solid var(--guide-primary);
}
.guide-pdp-extra strong {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--guide-primary);
  margin-bottom: 6px;
}
.guide-pdp-extra p { margin: 0; font-size: 0.88rem; line-height: 1.5; color: #334155; }
.guide-pdp-legal { font-size: 0.72rem; color: #94a3b8; margin: 0 0 12px; }
.guide-pdp-staff {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  border-radius: 12px;
  background: #f1f5f9;
  color: var(--guide-text);
  font-weight: 700;
  text-decoration: none;
}
.guide-pdp-related-wrap {
  padding-top: 28px;
  border-top: 1px solid var(--guide-border);
}
.guide-pdp-related-title {
  margin: 0 0 18px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.guide-pdp-no-related { margin: 0; font-size: 0.9rem; }

/* Staff panel v3.15 */
.guide-staff-bar {
  margin: 0 0 12px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.guide-staff-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid var(--guide-border);
  border-radius: var(--guide-radius);
  box-shadow: var(--guide-shadow);
}
.guide-staff-intro { flex: 1; min-width: 220px; }
.guide-staff-kicker {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--guide-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.guide-staff-hello {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--guide-text);
}
.guide-staff-lead {
  margin: 0;
  font-size: 0.88rem;
  color: var(--guide-muted);
  line-height: 1.45;
  max-width: 42ch;
}
.guide-staff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}
.guide-staff-action {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 108px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--guide-border);
  color: #334155;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.12s;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.guide-staff-action i { font-size: 1.2rem; color: #64748b; margin-bottom: 2px; }
.guide-staff-action kbd {
  margin-top: 4px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #f1f5f9;
  font-size: 0.65rem;
  font-weight: 800;
  color: #94a3b8;
}
.guide-staff-action:hover {
  border-color: color-mix(in srgb, var(--guide-primary) 40%, #fff);
  background: var(--guide-primary-soft);
  color: var(--guide-primary-dark);
}
.guide-staff-action:hover i { color: var(--guide-primary); }
.guide-staff-action--primary {
  background: linear-gradient(145deg, var(--guide-primary), var(--guide-primary-dark));
  border-color: transparent;
  color: #fff;
  min-width: 120px;
}
.guide-staff-action--primary i { color: rgba(255, 255, 255, 0.92); }
.guide-staff-action--primary kbd { background: rgba(255, 255, 255, 0.15); color: rgba(255, 255, 255, 0.85); }
.guide-staff-action--primary:hover {
  filter: brightness(1.05);
  color: #fff;
  border-color: transparent;
}
.guide-staff-action--scan {
  border-color: var(--guide-primary);
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.12), rgba(22, 163, 74, 0.06));
  color: var(--guide-primary-dark, #15803d);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.guide-staff-action--scan i { color: var(--guide-primary); }
.guide-staff-action--scan:hover {
  background: var(--guide-primary);
  border-color: var(--guide-primary);
  color: #fff;
}
.guide-staff-action--scan:hover i { color: #fff; }
.guide-staff-tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--guide-border);
}
.guide-staff-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--guide-border);
  border-radius: var(--guide-radius-sm);
}
.guide-staff-tip i {
  font-size: 1.25rem;
  color: var(--guide-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.guide-staff-tip p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #475569;
  font-weight: 600;
}
.guide-home-section--staff { margin-top: 0; }
.guide-body--staff .guide-dock-title { display: block; }
.guide-body--staff .guide-prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-prod--staff { position: relative; }
.guide-prod-staff-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px 10px;
  border-top: 1px solid #f1f5f9;
  background: #fafbfc;
}
.guide-prod-bc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  font-family: ui-monospace, monospace;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.guide-prod-bc i { font-size: 0.9rem; flex-shrink: 0; }
.guide-prod-staff-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--guide-border);
  color: #475569;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.12s;
}
.guide-prod-staff-btn:hover {
  border-color: var(--guide-primary);
  color: var(--guide-primary-dark);
  background: var(--guide-primary-soft);
}
.guide-pdp-barcode {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f8fafc;
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
}
.guide-pdp-pos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--guide-primary), var(--guide-primary-dark));
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 20px var(--guide-primary-glow);
  transition: filter 0.12s;
}
.guide-pdp-pos:hover { filter: brightness(1.06); }
.guide-body--staff .guide-prod-stock {
  font-size: 0.72rem;
  padding: 4px 8px;
}
.guide-body--staff .guide-prod-stock.is-out {
  background: #fef2f2;
  color: #b91c1c;
}

/* Carrito */
.guide-cart-bar {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 480px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--guide-primary);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 16px 22px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.guide-cart-bar.pulse { animation: gcbPulse 0.4s ease; }
@keyframes gcbPulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.03); }
}
.gcb-icon { position: relative; font-size: 1.4rem; display: inline-flex; }
.gcb-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #fff;
  color: var(--guide-primary);
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gcb-label { flex: 1; text-align: left; }
.gcb-total { font-weight: 800; font-size: 1.05rem; }

.guide-cart-panel { position: fixed; inset: 0; z-index: 70; }
.gcp-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.55); backdrop-filter: blur(4px); }
.gcp-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 24px 24px 0 0;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  max-width: 640px;
  margin: 0 auto;
  animation: gcpUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes gcpUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.gcp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--guide-border);
}
.gcp-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gcp-head h2 i { color: var(--guide-primary); }
.gcp-close {
  border: 0;
  background: #f1f5f9;
  color: #475569;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.gcp-items { overflow-y: auto; padding: 8px 20px; flex: 1; }
.gcp-empty { padding: 32px 20px; text-align: center; }
.gcp-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
}
.gcp-item-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gcp-item-name { font-weight: 700; font-size: 0.95rem; line-height: 1.25; }
.gcp-item-price { font-size: 0.78rem; color: var(--guide-muted); }
.gcp-qty { display: flex; align-items: center; gap: 8px; }
.gcp-qbtn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  font-weight: 700;
}
.gcp-qval { min-width: 22px; text-align: center; font-weight: 800; }
.gcp-item-sub { font-weight: 800; color: var(--guide-primary); min-width: 64px; text-align: right; }
.gcp-foot {
  padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--guide-border);
}
.gcp-total-row { display: flex; justify-content: space-between; align-items: baseline; }
.gcp-total-row strong { font-size: 1.5rem; color: var(--guide-primary); }
.gcp-note { font-size: 0.75rem; margin: 6px 0 14px; }
.gcp-name-field { display: block; font-size: 0.82rem; color: #475569; font-weight: 600; margin-bottom: 12px; }
.gcp-name-field input {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 2px solid var(--guide-border);
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
}
.gcp-name-field input:focus { outline: none; border-color: var(--guide-primary); }
.gcp-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
.gcp-clear {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  background: none;
  border: 0;
  color: #94a3b8;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.guide-search-wrap[data-cart="1"] .guide-catalog { padding-bottom: 88px; }
.guide-search-wrap[data-cart="1"] .guide-pdp { padding-bottom: 96px; }

/* ===== Consulta pública v3.14 ===== */
.guide-body--public .guide-shop { grid-template-columns: 1fr; gap: 0; }
.guide-body--public .guide-filters {
  position: fixed;
  right: 0;
  left: auto;
  top: 0;
  bottom: 0;
  width: min(320px, 90vw);
  z-index: 50;
  max-height: none;
  border-radius: 20px 0 0 20px;
  transform: translateX(105%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
}
.guide-body--public .guide-filters.is-open { transform: translateX(0); }
.guide-body--public .guide-filters-close { display: flex; align-items: center; justify-content: center; }
.guide-body--public .guide-filters-backdrop:not([hidden]) { display: block; }
.guide-body--public .guide-filter-toggle { display: inline-flex; }
.guide-body--public .guide-catalog-bar {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin-bottom: 0;
  transition: opacity 0.2s, max-height 0.25s;
}
.guide-body--public .guide-catalog-bar.is-active {
  opacity: 1;
  max-height: 80px;
  margin-bottom: 14px;
}
.guide-back-home {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border: 1px solid var(--guide-border);
  border-radius: 999px;
  background: var(--guide-surface);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--guide-primary);
  cursor: pointer;
}
.guide-howto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--guide-border);
}
.guide-howto-step { text-align: center; padding: 12px 8px; }
.guide-howto-step span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--guide-primary-soft);
  color: var(--guide-primary);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.guide-howto-step p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--guide-muted);
  line-height: 1.3;
}
.guide-body--staff .guide-cat-strip-wrap {
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 860px) {
  .guide-prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 720px) {
  .guide-staff-bar-inner { flex-direction: column; }
  .guide-staff-actions { width: 100%; }
  .guide-staff-action { flex: 1; min-width: calc(50% - 4px); }
  .guide-staff-tips { grid-template-columns: 1fr; }
  .guide-body--staff .guide-shop { grid-template-columns: 1fr; }
  .guide-body--staff .guide-filter-toggle { display: inline-flex; }
  .guide-body--staff .guide-filters {
    position: fixed;
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: min(320px, 88vw);
    z-index: 50;
    max-height: none;
    border-radius: 0 20px 20px 0;
    transform: translateX(-105%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.15);
  }
  .guide-body--staff .guide-filters.is-open { transform: translateX(0); }
  .guide-body--staff .guide-filters-close { display: flex; align-items: center; justify-content: center; }
  .guide-body--staff .guide-filters-backdrop:not([hidden]) { display: block; }
  .guide-pdp-layout { grid-template-columns: 1fr; gap: 20px; }
  .guide-pdp-photo { max-height: 360px; }
  .guide-header-contact { display: none; }
}
@media (max-width: 640px) {
  .guide-body--staff .guide-prod-grid { grid-template-columns: 1fr; }
  .guide-body--staff .guide-prod { display: flex; flex-direction: row; align-items: stretch; }
  .guide-body--staff .guide-prod-open { flex: 1; flex-direction: row; align-items: center; }
  .guide-body--staff .guide-prod-img {
    width: 96px;
    min-width: 96px;
    height: 96px;
    aspect-ratio: auto;
    border-radius: 12px;
    margin: 10px 0 10px 10px;
  }
  .guide-body--staff .guide-prod-body { padding: 10px 12px 10px 10px; justify-content: center; }
  .guide-body--staff .guide-prod-staff-bar {
    flex-direction: column;
    align-items: stretch;
    border-top: 0;
    border-left: 1px solid #f1f5f9;
    padding: 10px 8px;
    justify-content: center;
  }
  .guide-body--public .guide-prod-grid { grid-template-columns: 1fr; gap: 10px; }
  .guide-body--public .guide-prod { display: flex; flex-direction: row; align-items: stretch; }
  .guide-body--public .guide-prod-open { flex-direction: row; align-items: center; }
  .guide-body--public .guide-prod-img {
    width: 96px;
    min-width: 96px;
    height: 96px;
    aspect-ratio: auto;
    border-radius: 12px;
    margin: 10px 0 10px 10px;
  }
  .guide-body--public .guide-prod-body { padding: 10px 12px 10px 10px; justify-content: center; }
  .guide-body--public .guide-prod-add {
    top: auto;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .guide-body--public .guide-prod-detail { display: none; }
  .guide-body--public .guide-home-cats { grid-template-columns: 1fr; }
  .guide-body--public .guide-howto { grid-template-columns: 1fr; gap: 6px; }
  .guide-body--public .guide-howto-step {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 8px 0;
  }
  .guide-body--public .guide-howto-step span { margin-bottom: 0; flex-shrink: 0; }
}
@media (min-width: 641px) {
  .guide-body--public .guide-home-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .guide-main { padding-inline: 16px; }
  .guide-cat-strip-wrap { margin-left: -16px; margin-right: -16px; padding-inline: 16px; }
  .guide-prod-name { font-size: 0.84rem; }
  .guide-dock-title { font-size: 1.2rem; }
}

[hidden] { display: none !important; }
