:root {
  --bg-deep: #0d0a0e;
  --bg-surface: #161018;
  --glass-bg: rgba(255, 255, 255, 0.065);
  --glass-bg-strong: rgba(28, 20, 31, 0.82);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-highlight: rgba(255, 255, 255, 0.28);
  --accent: #e11d48;
  --accent-hover: #f43f5e;
  --accent-soft: rgba(225, 29, 72, 0.18);
  --gold: #f59e0b;
  --green: #10b981;
  --whatsapp: #25d366;
  --text-main: #fcf7f8;
  --text-muted: #cbbec5;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-crystal: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1240px, 92%);
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

/* Ambient Crystal Background */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(circle at 15% 15%, #261119 0%, #0d0a0e 58%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.42;
}

.orb-1 {
  width: 480px;
  height: 480px;
  background: #be123c;
  top: -120px;
  right: -80px;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: #9f1239;
  bottom: 12%;
  left: -140px;
}

.orb-3 {
  width: 320px;
  height: 320px;
  background: #b45309;
  top: 48%;
  right: 18%;
  opacity: 0.22;
}

/* Crystal Glass Surfaces */
.glass-panel {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  border-bottom: 1px solid var(--glass-border);
}

.glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-crystal);
}

/* Topbar */
.topbar {
  background: rgba(225, 29, 72, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  padding: 0.45rem 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-pill-link {
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  transition: 0.2s;
}

.admin-pill-link:hover {
  background: var(--accent);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  padding: 0.85rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), #9f1239);
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.4);
}

.brand-title {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
}

.brand-sub {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--glass-border);
  color: #fff;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  font-size: 1.2rem;
  cursor: pointer;
}

.btn-cart {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--glass-highlight);
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.35), rgba(255, 255, 255, 0.08));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.35);
}

.cart-badge {
  background: #fff;
  color: #9f1239;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 0.72rem 1.3rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  font-size: 0.94rem;
}

.btn-lg {
  padding: 0.9rem 1.55rem;
  font-size: 0.98rem;
}

.btn-sm {
  padding: 0.48rem 0.9rem;
  font-size: 0.84rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 26px rgba(225, 29, 72, 0.36);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  transform: translateY(-2px);
}

.btn-crystal {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: var(--glass-highlight);
  backdrop-filter: blur(12px);
}

.btn-crystal:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.18);
  color: #86efac;
  border-color: rgba(37, 211, 102, 0.45);
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.3);
  color: #fff;
}

/* Hero */
.hero-section {
  padding: 3.6rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2.5rem;
  align-items: center;
}

.crystal-badge {
  display: inline-block;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid rgba(251, 113, 133, 0.35);
  color: #fecdd3;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4.3vw, 3.55rem);
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #ffffff 30%, #fecdd3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.06rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 58ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.highlight-card {
  padding: 0.85rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: var(--radius-md);
}

.hl-icon {
  font-size: 1.45rem;
}

.highlight-card strong {
  display: block;
  font-size: 0.86rem;
}

.highlight-card small {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.hero-image-frame {
  position: relative;
  padding: 0.75rem;
  overflow: visible;
}

.hero-img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.floating-crystal-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  background: rgba(18, 12, 20, 0.84);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-highlight);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.floating-crystal-tag strong {
  display: block;
  font-size: 0.85rem;
}

.floating-crystal-tag small {
  color: var(--text-muted);
  font-size: 0.74rem;
}

.tag-top {
  top: 22px;
  left: -18px;
}

.tag-bottom {
  bottom: 24px;
  right: -14px;
}

.dot-live {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

/* Sections */
.section {
  padding: 4.2rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(225, 29, 72, 0.04) 50%, rgba(255, 255, 255, 0.01) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.section-header.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 800;
  color: #fb7185;
  margin-bottom: 0.45rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  margin-bottom: 0.45rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 64ch;
}

/* Inputs & Pills */
.glass-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--glass-border);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  min-width: 270px;
}

.glass-input-wrap input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  width: 100%;
  font-family: inherit;
}

.glass-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(15, 11, 18, 0.72);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
}

.glass-input:focus {
  border-color: #fb7185;
}

.filter-pills {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.pill {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  transition: 0.2s;
}

.pill.active, .pill:hover {
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* Product Crystal Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 113, 133, 0.45);
}

.prod-img-wrap {
  position: relative;
  height: 195px;
  overflow: hidden;
}

.prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .prod-img-wrap img {
  transform: scale(1.05);
}

.prod-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(15, 10, 16, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.stock-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.stock-ok {
  background: rgba(16, 185, 129, 0.24);
  color: #a7f3d0;
  border: 1px solid rgba(16, 185, 129, 0.45);
}

.stock-low {
  background: rgba(245, 158, 11, 0.26);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.stock-out {
  background: rgba(239, 68, 68, 0.3);
  color: #fecaca;
  border: 1px solid rgba(239, 68, 68, 0.5);
}

.prod-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.prod-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.prod-title-row h3 {
  font-size: 1.2rem;
}

.prod-price {
  text-align: right;
  white-space: nowrap;
}

.prod-price strong {
  font-size: 1.22rem;
  color: #fda4af;
}

.prod-price small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.prod-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.how-to-ask-tip {
  font-size: 0.79rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #fb7185;
  padding: 0.5rem 0.65rem;
  border-radius: 0 8px 8px 0;
  color: #ffe4e6;
}

/* Unit Selector (Gramos / Kilos / Piezas) */
.unit-selector-box {
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 0.7rem;
  margin-top: auto;
}

.unit-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.6rem;
}

.unit-tab {
  padding: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  cursor: pointer;
}

.unit-tab.active {
  background: var(--accent);
  color: #fff;
}

.qty-Quick-row {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}

.qty-chip {
  padding: 0.24rem 0.55rem;
  font-size: 0.75rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
}

.qty-chip:hover {
  background: rgba(244, 63, 94, 0.35);
}

.qty-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.qty-input-row input {
  width: 95px;
  padding: 0.42rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
}

.qty-unit-lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cut-select {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 12, 20, 0.9);
  color: #fff;
  font-size: 0.8rem;
  margin-bottom: 0.65rem;
}

/* Interactive Pig Anatomy Section */
.anatomy-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 1.8rem;
  align-items: stretch;
}

.anatomy-stage {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.anatomy-hint {
  text-align: center;
  font-size: 0.85rem;
  color: #fda4af;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pig-svg-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.pig-svg {
  width: 100%;
  max-width: 680px;
  height: auto;
  filter: url(#crystalGlow);
}

.pig-zone path {
  fill: rgba(251, 113, 133, 0.16);
  stroke: rgba(255, 228, 230, 0.65);
  stroke-width: 2.2;
  stroke-dasharray: 5 3;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pig-zone .pig-detail {
  stroke-dasharray: none;
  fill: rgba(244, 63, 94, 0.28);
}

.pig-zone .rib-lines {
  fill: none;
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 2;
  stroke-dasharray: none;
}

.pig-zone:hover path {
  fill: rgba(244, 63, 94, 0.42);
  stroke: #fff;
  stroke-dasharray: none;
}

.pig-zone.active path {
  fill: rgba(225, 29, 72, 0.68);
  stroke: #fff;
  stroke-width: 3;
  stroke-dasharray: none;
}

.pig-label, .pig-label-sm, .pig-label-xs, .pig-sublabel {
  pointer-events: none;
  text-anchor: middle;
  fill: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.pig-label {
  font-size: 13.5px;
  font-weight: 800;
}

.pig-label-sm {
  font-size: 11.5px;
  font-weight: 800;
}

.pig-label-xs {
  font-size: 10.5px;
  font-weight: 700;
}

.pig-sublabel {
  font-size: 10px;
  fill: #ffe4e6;
  opacity: 0.9;
}

.zone-quick-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 0.9rem;
}

.zone-btn {
  padding: 0.36rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  cursor: pointer;
  transition: 0.2s;
}

.zone-btn.active, .zone-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: #fff;
}

.anatomy-detail {
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.anatomy-cuts-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cut-tag {
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid rgba(251, 113, 133, 0.32);
  font-size: 0.8rem;
  color: #ffe4e6;
}

.anatomy-info-block {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.anatomy-matched-prods {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
}

.mini-prod-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Recipes Grid */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 1.4rem;
}

.recipe-card {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.recipe-meta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: #fda4af;
  font-weight: 700;
}

.recipe-tip-box {
  background: rgba(225, 29, 72, 0.14);
  border: 1px solid rgba(251, 113, 133, 0.3);
  border-radius: 12px;
  padding: 0.75rem;
  font-size: 0.84rem;
}

.recipe-steps {
  padding-left: 1.15rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Calculator */
.calculator-shell {
  padding: 2.2rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.2rem;
  align-items: center;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.2rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffe4e6;
  margin-bottom: 0.35rem;
}

.calc-right {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 1.5rem;
}

.calc-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.calc-kpi {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.85rem;
  border-radius: 12px;
  text-align: center;
}

.calc-kpi strong {
  display: block;
  font-size: 1.5rem;
  color: #fda4af;
}

.calc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

/* Locations & Leaflet Map */
.locations-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 1.5rem;
}

.branches-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.branch-card {
  padding: 1.2rem;
  cursor: pointer;
  transition: 0.2s;
}

.branch-card:hover, .branch-card.active {
  border-color: #fb7185;
  background: rgba(225, 29, 72, 0.14);
}

.branch-type-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.badge-matriz {
  background: rgba(245, 158, 11, 0.24);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.badge-sucursal {
  background: rgba(59, 130, 246, 0.22);
  color: #bfdbfe;
  border: 1px solid rgba(59, 130, 246, 0.45);
}

.map-card {
  padding: 0.65rem;
  min-height: 410px;
}

.leaflet-map-box {
  width: 100%;
  height: 100%;
  min-height: 395px;
  border-radius: 16px;
  z-index: 1;
}

/* Footer */
.footer {
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-desc {
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer h4 {
  margin-bottom: 0.85rem;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fda4af;
}

.footer-bottom {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: var(--text-muted);
}

/* Cart Drawer & Checkout */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(490px, 100%);
  height: 100vh;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  border-left: 1px solid var(--glass-border);
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
}

.drawer-body {
  padding: 1.25rem 1.4rem 2.5rem;
  overflow-y: auto;
  flex: 1;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.65rem;
}

.cart-item-title {
  font-weight: 700;
  font-size: 0.92rem;
}

.cart-item-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.btn-remove-item {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: none;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  cursor: pointer;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.divider-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fda4af;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.delivery-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.radio-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.radio-card input {
  display: none;
}

.radio-card.active {
  background: rgba(225, 29, 72, 0.28);
  border-color: #fb7185;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pay-option {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.pay-option.active {
  border-color: #fb7185;
  background: rgba(225, 29, 72, 0.18);
}

.pay-option strong {
  display: block;
  font-size: 0.88rem;
}

.pay-option small {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.bank-deposit-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  padding: 0.85rem;
}

.bank-details-card {
  margin-top: 0.65rem;
  font-size: 0.83rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.totals-box {
  padding: 1rem;
}

.tot-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.tot-final {
  font-size: 1.15rem;
  color: #fda4af;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 0.5rem;
  margin-top: 0.4rem;
}

.order-success-box {
  padding: 1.2rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Floating Assistant & WhatsApp */
.floating-widgets {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.fab-whatsapp, .fab-assistant {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.fab-whatsapp {
  background: #16a34a;
  color: #fff;
}

.fab-assistant {
  background: linear-gradient(135deg, #e11d48, #881337);
  color: #fff;
}

.chat-widget {
  position: fixed;
  bottom: 130px;
  right: 20px;
  width: min(370px, calc(100vw - 32px));
  z-index: 1000;
  border-radius: 20px;
  border: 1px solid var(--glass-highlight);
  box-shadow: var(--shadow-crystal);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chat-header {
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.5), rgba(15, 10, 18, 0.9));
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header small {
  display: block;
  font-size: 0.72rem;
  color: #ffe4e6;
}

.chat-messages {
  padding: 0.9rem;
  max-height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.msg {
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  max-width: 88%;
}

.msg.bot {
  background: rgba(255, 255, 255, 0.09);
  align-self: flex-start;
}

.msg.user {
  background: var(--accent);
  align-self: flex-end;
}

.chat-quick-chips {
  padding: 0.4rem 0.75rem;
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
}

.chip-q {
  white-space: nowrap;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.73rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
}

.chat-input-row {
  display: flex;
  gap: 0.45rem;
  padding: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input-row input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  color: #fff;
  outline: none;
}

/* Toasts */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  background: rgba(20, 14, 24, 0.94);
  border: 1px solid #fb7185;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .anatomy-layout,
  .calculator-shell,
  .locations-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-img {
    height: 320px;
  }

  .tag-top { left: 10px; }
  .tag-bottom { right: 10px; }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(18, 12, 20, 0.97);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links.open {
    display: flex;
  }

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

  .topbar-inner {
    justify-content: center;
    text-align: center;
  }
}

/* Ajustes de cabecera en teléfonos */
@media (max-width: 520px) {
  .brand-sub { display: none; }
  .topbar { font-size: 0.78rem; }
  .topbar-inner { gap: 6px; }
  .hero h1, #heroTitle { font-size: clamp(1.8rem, 8vw, 2.4rem); }
}
