/* =============================================
   NL VIP NUTRITION – SHARED DESIGN SYSTEM
   Black + Electric Blue Premium Theme
   ============================================= */

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Bebas+Neue&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --blue: #0057FF;
  --blue-mid: #2979FF;
  --blue-light: #36AAFF;
  --blue-glow: rgba(0, 87, 255, 0.35);
  --blue-subtle: rgba(0, 87, 255, 0.08);
  --black: #000000;
  --black-2: #050510;
  --black-3: #0a0a1a;
  --surface: #0f0f22;
  --surface-2: #161630;
  --surface-3: #1e1e42;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --white: #ffffff;
  --text: #ffffff;
  --text-2: #b0bedd;
  --text-3: #5a6a8a;
  --border: rgba(0, 87, 255, 0.18);
  --border-2: rgba(0, 87, 255, 0.08);
  --green: #25D366;
  --red: #ef4444;
  --img-bg: transparent;
  --grad: linear-gradient(135deg, #0057FF 0%, #2979FF 60%, #36AAFF 100%);
  --grad-text: linear-gradient(135deg, #2979FF, #36AAFF, #00C8FF);
  --shadow-blue: 0 8px 32px rgba(0, 87, 255, 0.35);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5);
  --r: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --t: 0.28s;
  --navbar-h: 76px;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--black-2);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 3px;
}

/* ===== AMBIENT BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 87, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-h);
  z-index: 500;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.97);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.6);
}

.navbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.nav-logo {
  flex-shrink: 0;
}

.nav-logo svg {
  height: 44px;
  width: auto;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
  transition: all var(--t) var(--ease);
  white-space: nowrap;
  position: relative;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link.active {
  color: var(--white);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-search {
  display: flex;
  align-items: center;
}

.nav-search input {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 8px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  width: 200px;
  outline: none;
  transition: all var(--t) var(--ease);
}

.nav-search input:focus {
  border-color: var(--blue);
  width: 260px;
  box-shadow: 0 0 0 3px rgba(0, 87, 255, 0.1);
}

.nav-search input::placeholder {
  color: var(--text-3);
}

.btn-wa-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: #fff;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--t) var(--ease);
}

.btn-wa-nav:hover {
  background: #1db954;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.lang-select {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text-2);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  margin-right: 12px;
}

.lang-select:hover {
  border-color: var(--blue-light);
}

.lang-select:focus {
  outline: none;
  border-color: var(--blue);
}

.btn-cart {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all var(--t) var(--ease);
}

.btn-cart:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-subtle);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--blue);
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  border: 2px solid var(--black);
}

.btn-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1.5px solid var(--border);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--text);
  font-size: 1.1rem;
}

/* ===== TOP STRIP ===== */
.top-strip {
  position: fixed;
  top: var(--navbar-h);
  left: 0;
  right: 0;
  z-index: 490;
  background: var(--blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: 7px 16px;
  letter-spacing: 0.01em;
}

.top-strip a {
  text-decoration: underline;
}

/* ===== PAGE WRAPPER ===== */
.page {
  padding-top: calc(var(--navbar-h) + 38px);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  box-shadow: var(--shadow-blue);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 87, 255, 0.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue-light);
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1.5px solid var(--blue);
  cursor: pointer;
  transition: all var(--t) var(--ease);
}

.btn-ghost:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all var(--t) var(--ease);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
  background: #1db954;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

/* ===== SECTION LABELS ===== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-subtle);
  border: 1px solid var(--border);
  color: var(--blue-light);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 8px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.section-title .highlight {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

/* ===== GRID LAYOUTS ===== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* ===== GLASS CARD ===== */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r);
  transition: all var(--t) var(--ease);
}

.glass-card:hover {
  border-color: var(--border);
  box-shadow: 0 12px 40px rgba(0, 87, 255, 0.12);
  transform: translateY(-4px);
}

/* ===== DIVIDER ===== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ===== STAT NUMBERS ===== */
.stat-row {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}

.stat-item strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
}

.stat-item span {
  font-size: 0.82rem;
  color: var(--text-3);
  font-weight: 500;
  margin-top: 3px;
  display: block;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  overflow: hidden;
  transition: all var(--t) var(--ease);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  border-color: var(--blue);
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 48px rgba(0, 87, 255, 0.3);
}

.product-card:active {
  transform: translateY(-4px) scale(0.97);
  box-shadow: 0 10px 24px rgba(0, 87, 255, 0.2);
  transition: transform 0.1s ease;
}

.product-img {
  height: 220px;
  background: #ffffff;
  /* Fondo blanco sólido para uniformidad */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  /* Eliminar bordes duros si los hubiera y dar efecto difuminado suave */
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.02);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.45s var(--ease), filter 0.3s ease;
  /* Blend mode para que productos con fondo blanco se integren perfectamente */
  mix-blend-mode: multiply;
}

.product-card:hover .product-img img {
  transform: scale(1.12) rotate(2deg);
  filter: brightness(1.05);
}

.product-status {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 1;
}

.status-in {
  background: rgba(37, 211, 102, 0.15);
  color: #4ade80;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.status-out {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.product-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-brand-tag {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.product-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 4px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-flavor {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-bottom: 14px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--blue-light);
}

.btn-add {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t) var(--ease);
  flex-shrink: 0;
  border: none;
  cursor: pointer;
}

.btn-add:hover {
  background: var(--blue-mid);
  transform: scale(1.1);
  box-shadow: var(--shadow-blue);
}

.btn-add:disabled {
  background: var(--surface-3);
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

/* ===== CATEGORY CARD ===== */
.cat-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  border: 1px solid var(--border-2);
  transition: all var(--t) var(--ease);
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: 0 16px 40px rgba(0, 87, 255, 0.2);
}

.cat-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--surface-2);
  transition: transform 0.45s var(--ease);
}

.cat-card:hover .cat-card-bg {
  transform: scale(1.06);
}

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 20, 0.88) 0%, rgba(0, 0, 20, 0.3) 50%, transparent 100%);
}

.cat-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
}

.cat-card-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 2px;
}

.cat-card-count {
  font-size: 0.78rem;
  color: var(--blue-light);
  font-weight: 600;
}

/* ===== CART SIDEBAR ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t) var(--ease);
  backdrop-filter: blur(4px);
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  background: var(--black-3);
  border-left: 1px solid var(--border);
  z-index: 800;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  box-shadow: -16px 0 60px rgba(0, 0, 0, 0.7);
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}

.cart-panel-head h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

.btn-cart-close {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t) var(--ease);
}

.btn-cart-close:hover {
  background: var(--surface-2);
  color: var(--white);
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cart-empty-msg {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-3);
  font-size: 0.95rem;
}

.cart-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  margin-bottom: 10px;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  background: var(--img-bg);
  border-radius: 10px;
  padding: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-light);
}

.btn-remove {
  color: var(--text-3);
  font-size: 1rem;
  padding: 4px;
  border-radius: 6px;
  transition: all var(--t) var(--ease);
}

.btn-remove:hover {
  color: var(--red);
  background: rgba(239, 68, 68, 0.1);
}

.cart-panel-foot {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-2);
  margin-bottom: 14px;
}

.cart-total-row strong {
  font-size: 1.2rem;
  color: var(--white);
}

.btn-checkout {
  width: 100%;
  background: var(--green);
  color: #fff;
  padding: 14px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--t) var(--ease);
}

.btn-checkout:hover {
  background: #1db954;
}

/* ===== PRODUCT MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t) var(--ease);
  backdrop-filter: blur(10px);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.94);
  transition: transform var(--t) var(--ease);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 87, 255, 0.1);
}

.modal-overlay.open .modal-box {
  transform: scale(1);
}

.btn-modal-close {
  position: sticky;
  top: 16px;
  left: 100%;
  z-index: 1;
  float: right;
  margin: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  font-size: 1rem;
}

.btn-modal-close:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.modal-inner {
  padding: 40px;
  clear: both;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.modal-img-box {
  background: var(--img-bg);
  border-radius: var(--r);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.modal-img-box img {
  max-height: 280px;
  object-fit: contain;
  width: 100%;
}

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-brand {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.modal-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
}

.modal-flavor {
  color: var(--text-2);
  font-size: 0.9rem;
}

.modal-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue-light);
}

.modal-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
}

.modal-desc {
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.75;
  border-top: 1px solid var(--border-2);
  padding-top: 14px;
  max-height: 130px;
  overflow-y: auto;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-btn-add {
  background: var(--grad);
  color: #fff;
  padding: 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  transition: all var(--t) var(--ease);
  text-align: center;
}

.modal-btn-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(0, 87, 255, 0.4);
}

.modal-btn-wa {
  background: var(--green);
  color: #fff;
  padding: 13px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  text-align: center;
  display: block;
}

.modal-btn-wa:hover {
  background: #1db954;
}

/* ===== FLOATING WA ===== */
.fab-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 600;
  width: 58px;
  height: 58px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: all 0.3s var(--ease);
  overflow: hidden;
  color: #fff;
}

.fab-wa:hover {
  width: 130px;
  border-radius: 50px;
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5);
}

.fab-wa-label {
  font-size: 0;
  font-weight: 700;
  white-space: nowrap;
  transition: font-size 0.2s ease;
  margin-left: 0;
}

.fab-wa:hover .fab-wa-label {
  font-size: 0.82rem;
  margin-left: 6px;
}

.fab-wa::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--green);
  opacity: 0;
  animation: ring 2.5s ease infinite;
}

@keyframes ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black-2);
  border-top: 1px solid var(--border-2);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-desc {
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.75;
  margin-top: 14px;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  transition: all var(--t) var(--ease);
}

.footer-social-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--text-3);
  font-size: 0.88rem;
  transition: color var(--t);
}

.footer-link:hover {
  color: var(--blue-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact-item p {
  color: var(--text-3);
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-contact-item a {
  color: var(--text-3);
  transition: color var(--t);
}

.footer-contact-item a:hover {
  color: var(--blue-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-2);
  padding: 20px 0;
  text-align: center;
  color: var(--text-3);
  font-size: 0.8rem;
}

/* ===== NOTICE BANNER ===== */
.notice-wa {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(37, 211, 102, 0.06);
  border: 1.5px solid rgba(37, 211, 102, 0.2);
  border-radius: var(--r);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.notice-wa-dot {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.notice-wa-text strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.notice-wa-text p {
  color: var(--text-2);
  font-size: 0.85rem;
  margin: 0;
}

.notice-wa-text a {
  color: var(--green);
  font-weight: 700;
}

.notice-wa-text a:hover {
  text-decoration: underline;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-18px);
  }
}

.animate-up {
  animation: fadeUp 0.7s var(--ease) both;
}

.animate-up-1 {
  animation: fadeUp 0.7s 0.1s var(--ease) both;
}

.animate-up-2 {
  animation: fadeUp 0.7s 0.2s var(--ease) both;
}

.animate-up-3 {
  animation: fadeUp 0.7s 0.3s var(--ease) both;
}

.float-anim {
  animation: float 6s ease-in-out infinite;
}

/* ===== PRODUCTS PAGE LAYOUT ===== */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: calc(var(--navbar-h) + 60px);
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  padding: 24px;
}

.sidebar-section {
  margin-bottom: 28px;
}

.sidebar-section:last-child {
  margin-bottom: 0;
}

.sidebar-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sidebar-cats {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--t) var(--ease);
  border: 1px solid transparent;
}

.sidebar-cat:hover {
  background: var(--blue-subtle);
  color: var(--white);
}

.sidebar-cat.active {
  background: var(--blue-subtle);
  border-color: var(--border);
  color: var(--white);
}

.sidebar-cat span {
  font-size: 0.75rem;
  color: var(--text-3);
  background: var(--surface-2);
  padding: 2px 7px;
  border-radius: 50px;
}

.sidebar-cat.active span {
  background: var(--blue);
  color: #fff;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.shop-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.shop-count {
  font-size: 0.88rem;
  color: var(--text-3);
}

.select-styled {
  background: var(--surface);
  border: 1.5px solid var(--border-2);
  color: var(--text);
  padding: 9px 16px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
  transition: border-color var(--t);
}

.select-styled:focus {
  border-color: var(--blue);
}

.toggle-stock {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--text-2);
  cursor: pointer;
}

.toggle-stock input {
  accent-color: var(--blue);
  cursor: pointer;
}

/* ===== BREADCRUMBS ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-3);
  margin-bottom: 32px;
}

.breadcrumb a {
  color: var(--text-3);
  transition: color var(--t);
}

.breadcrumb a:hover {
  color: var(--blue-light);
}

.breadcrumb-sep {
  opacity: 0.4;
}

/* ===== PAGE HERO (internal pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--black-3) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--border-2);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 87, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 12px;
}

.page-hero-sub {
  color: var(--text-2);
  font-size: 1rem;
  max-width: 540px;
  line-height: 1.7;
}

/* ===== WA CTA SECTION ===== */
.wa-cta-section {
  background: linear-gradient(135deg, rgba(0, 87, 255, 0.08) 0%, rgba(37, 211, 102, 0.06) 100%);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  padding: 64px 0;
}

.wa-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.wa-cta-text h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}

.wa-cta-text p {
  color: var(--text-2);
  font-size: 0.95rem;
  max-width: 500px;
}

.wa-cta-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shop-layout {
    grid-template-columns: 220px 1fr;
  }
}

@media (max-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .grid-2 > div {
    width: 100%;
  }

  .grid-2 .stat-row {
    justify-content: center;
  }

  .grid-2 .section-tag,
  .grid-2 .btn-primary,
  .grid-2 .btn-ghost,
  .grid-2 .btn-wa {
    align-self: center;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --navbar-h: 68px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    gap: 20px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s var(--ease);
    z-index: 499;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .nav-search {
    display: none;
  }

  .btn-wa-nav {
    display: none;
  }

  .btn-hamburger {
    display: flex;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .container {
    padding: 0 20px;
  }

  .wa-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .wa-cta-btns {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  /* Centrado de textos en secciones de dos columnas en móvil */
  .grid-2 {
    text-align: center;
  }

  .grid-2 .stat-row {
    justify-content: center;
    gap: 28px;
  }

  .section-title {
    font-size: clamp(1.5rem, 7vw, 2.4rem);
  }

  .section-sub {
    font-size: 0.92rem;
  }

  .page-hero-title {
    font-size: clamp(1.8rem, 8vw, 3rem);
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .page-hero-sub {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-auto {
    grid-template-columns: 1fr 1fr;
  }

  .hero-btns {
    flex-direction: column;
  }
}

/* ===== PRICE + ADD-TO-CART BUTTON (TARJETA) ===== */
.product-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.btn-add-cart {
  flex: 1;
  padding: 9px 12px;
  border-radius: 50px;
  background: var(--grad);
  color: #fff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  box-shadow: 0 4px 16px rgba(0, 87, 255, 0.3);
  white-space: nowrap;
}

.btn-add-cart:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 87, 255, 0.45);
}

.btn-add-cart:disabled {
  background: var(--surface-3);
  color: var(--text-3);
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.65;
}

.btn-wa-card {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  border: 1.5px solid rgba(37, 211, 102, 0.35) !important;
  color: var(--green) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  padding: 0 !important;
  transition: all var(--t) var(--ease);
}

.btn-wa-card:hover {
  background: var(--green) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

/* ===== MODAL PRICE + MODAL ADD-TO-CART ===== */
.modal-price {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--blue-light);
  margin-top: 14px;
  letter-spacing: -0.02em;
}

.modal-btn-add {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border-radius: 50px;
  background: var(--grad);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  box-shadow: var(--shadow-blue);
  margin-bottom: 10px;
  text-align: center;
}

.modal-btn-add:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 87, 255, 0.45);
}

.modal-btn-add:disabled {
  background: var(--surface-3);
  color: var(--text-3);
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.65;
  transform: none;
}
/* ===== DISCOUNT / COUPON SECTION ===== */
.discount-section {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.discount-section label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
}

.discount-input-row {
  display: flex;
  gap: 6px;
}

.discount-input-row input {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 12px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--t) var(--ease);
}

.discount-input-row input::placeholder {
  color: var(--text-3);
  opacity: 0.7;
}

.discount-input-row input:focus {
  border-color: var(--blue-light);
}

.btn-apply-discount {
  background: var(--grad);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 9px 14px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--t) var(--ease);
}

.btn-apply-discount:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.discount-msg {
  font-size: 0.78rem;
  margin-top: 5px;
  min-height: 16px;
  transition: color 0.2s;
}

.discount-msg.success { color: var(--green); }
.discount-msg.error   { color: #ff5d5d; }

.discount-applied-badge {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.8rem;
  color: var(--green);
}

.discount-applied-badge .badge-code {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.btn-remove-discount {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0;
  line-height: 1;
  transition: color var(--t) var(--ease);
}

.btn-remove-discount:hover { color: #ff5d5d; }

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 5px;
}

.cart-discount-row {
  display: none;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--green);
  margin-bottom: 5px;
}

.btn-checkout:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ===== NXT BEEF SHOWCASE ===== */
.nxt-showcase {
  position: relative;
  background: linear-gradient(135deg, #030614 0%, #060d20 50%, #040b18 100%);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  overflow: hidden;
  padding: 80px 0;
}

.nxt-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(0, 87, 255, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(37, 211, 102, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.nxt-showcase-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.nxt-showcase-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nxt-showcase-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.nxt-highlight {
  background: linear-gradient(135deg, #4d8aff 0%, #25d366 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nxt-showcase-desc {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 440px;
}

.nxt-showcase-desc strong {
  color: var(--white);
}

.nxt-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nxt-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 600;
}

.nxt-feat-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #25d366);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 87, 255, 0.5);
}

.nxt-showcase-btns {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.nxt-showcase-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nxt-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.nxt-glow-blue {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 87, 255, 0.3) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: nxtPulse 4s ease-in-out infinite;
}

.nxt-glow-green {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.2) 0%, transparent 70%);
  bottom: 10%;
  right: 10%;
  animation: nxtPulse 4s 2s ease-in-out infinite;
}

@keyframes nxtPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.1); }
}

.nxt-glow-green {
  transform: none;
  animation: nxtPulseGreen 4s 2s ease-in-out infinite;
}

@keyframes nxtPulseGreen {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 0.9; transform: scale(1.12); }
}

.nxt-showcase-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0, 87, 255, 0.35));
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

/* ===== NXT SHOWCASE RESPONSIVE ===== */
@media (max-width: 900px) {
  .nxt-showcase-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .nxt-features {
    align-items: center;
  }

  .nxt-showcase-btns {
    justify-content: center;
  }

  .nxt-showcase-img {
    max-width: 360px;
  }
}

@media (max-width: 480px) {
  .nxt-showcase {
    padding: 60px 0;
  }

  .nxt-showcase-inner {
    padding: 0 20px;
  }

  .nxt-showcase-img {
    max-width: 280px;
  }
}

