@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap");

:root {
  --necty-orange: #ff8c00;
  --necty-orange-light: #ffb347;
  --necty-orange-dim: rgba(255, 140, 0, 0.38);
  --necty-cream: #e8d2bf;
  --necty-dark: #1a1a1c;
  --necty-surface: #faf7f3;
  --necty-text: #121212;
  --necty-muted: #5c534c;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius: 14px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --rail-bg: #070708;
  --rail-bg-mid: #0c0c0e;
  --transition-nav: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Evita scroll horizontal leve por full-bleed con 100vw (barra scroll ≠ ancho útil) */
html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--necty-surface);
  color: var(--necty-text);
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/*
 * Franja naranja: el alto del contenido (fila logo | indicador) es FIJO = imagen 2.85rem + padding bajo el wrap.
 * El logo usa height:100% de esa fila → máximo alto posible sin cambiar el alto de la franja.
 */
/* Bootstrap .navbar añade padding/borde/min-height extra → huecos o “marco” alrededor del contenido */
nav.navbar.store-navbar {
  --bs-navbar-padding-y: 0;
  --bs-navbar-padding-x: 0;
  --bs-navbar-border-width: 0;
  border: 0;
  min-height: 0;
}

.store-navbar {
  --store-nav-row-h: calc(2.85rem + 5px);
  background: linear-gradient(135deg, var(--necty-orange-light) 0%, var(--necty-orange) 100%);
  box-shadow: var(--shadow-md);
  padding: 0.65rem 0;
  margin-bottom: 0;
  overflow: visible !important;
  max-height: none;
}

.store-navbar > .container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.35rem 0.75rem;
  overflow: visible;
  min-height: var(--store-nav-row-h);
}

.store-navbar > .container > div:first-child {
  min-width: 0;
  flex: 1 1 auto;
}

.store-brand-stack {
  min-width: 0;
  flex: 1 1 auto;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: var(--store-nav-row-h);
  min-height: var(--store-nav-row-h);
  max-height: var(--store-nav-row-h);
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  line-height: 0;
}

/* Con logo: indicador arriba; sin logo (texto visible): fila nombre|estado */
.store-brand-stack .store-brand-motion-slot {
  order: 1;
}

.store-brand-stack .store-brand-text-block {
  order: 2;
}

.store-brand-stack.store-brand-stack--no-logo-nav {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.5rem 0.85rem;
  line-height: normal;
  height: auto;
  min-height: var(--store-nav-row-h);
  max-height: none;
}

.store-brand-stack.store-brand-stack--no-logo-nav .store-brand-text-block {
  order: 1;
  flex: 1 1 auto;
  min-width: 0;
  align-self: center;
}

.store-brand-stack.store-brand-stack--no-logo-nav .store-brand-motion-slot {
  order: 2;
  margin-left: auto;
  align-self: center;
  flex-shrink: 0;
  min-height: 0;
}

.store-brand-stack.store-brand-stack--no-logo-nav .store-web-status-wrap {
  min-height: 0;
  align-self: center;
  padding-bottom: 4px;
}

.store-brand-stack:not(.store-brand-stack--no-logo-nav):not(.store-brand-stack--logo-open-row)
  .store-brand-motion-slot {
  margin-left: 0;
  align-self: flex-start;
}

/* Abierto + logo: fila logo | solo nombre (sin dirección en barra) */
.store-brand-stack.store-brand-stack--logo-open-row {
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5rem 0.75rem;
  line-height: normal;
  height: auto;
  min-height: var(--store-nav-row-h);
  max-height: none;
}

.store-brand-stack.store-brand-stack--logo-open-row .store-brand-motion-slot {
  order: 1;
  flex-shrink: 0;
  align-self: center;
  margin-left: 0;
}

.store-brand-stack.store-brand-stack--logo-open-row .store-brand-text-block {
  order: 2;
  flex: 1 1 auto;
  min-width: 0;
  align-self: center;
}

.store-brand-stack.store-brand-stack--logo-open-row .store-web-status-wrap {
  min-height: 0;
  padding-bottom: 4px;
  align-self: center;
}

/*
 * Logo (1:1) y cerrado.png (16:9) comparten el mismo “cajón” que cerrado:
 * max-height, object-position bottom, bloque + z-index. Así el wrap, el ::before (sombra)
 * y el rebote JS quedan iguales para ambos.
 */
.store-web-status-wrap .store-web-status-bounce img {
  position: relative;
  display: block;
  box-sizing: border-box;
  height: auto;
  width: auto;
  max-height: 2.85rem;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  box-shadow: none;
  filter: none;
  mix-blend-mode: normal;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  line-height: 0;
  vertical-align: top;
  z-index: 3;
  -webkit-tap-highlight-color: transparent;
}

.store-web-status-img {
  max-width: min(calc(2.85rem * 16 / 9), 42vw);
  aspect-ratio: 16 / 9;
}

.store-brand-logo {
  max-width: min(2.85rem, 42vw);
  aspect-ratio: 1 / 1;
}

.store-brand-logo:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: 2px;
}

.store-brand-text-block {
  min-width: 0;
  line-height: normal;
}

.store-brand-text-block--home {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.store-brand-text-block--home:focus,
.store-brand-text-block--home:focus-visible {
  outline: none;
  box-shadow: none;
}

.store-brand-text-block--home:active {
  opacity: 0.92;
}

.store-navbar .navbar-brand {
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.38rem;
  color: #111 !important;
  letter-spacing: -0.015em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.store-navbar .nav-sub {
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.72);
  font-weight: 600;
}

/*
 * Indicador 16:9 + rebote: la imagen sube/baja y la sombra bajo la “caja” late en vertical (ilusión de bote).
 */
.store-web-status-wrap {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  flex: 0 0 auto;
  align-self: stretch;
  min-height: var(--store-nav-row-h);
  margin-left: 0;
  line-height: 0;
  border-radius: 6px;
  overflow: visible;
  padding-bottom: 5px;
  box-sizing: border-box;
}

/* Sombra: variables por JS en escritorio (.store-web-status--js-motion); en móvil animación CSS en ::before */
.store-web-status-wrap::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 78%;
  max-width: 5.5rem;
  height: 9px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 100% 100% at center, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 72%);
  transform-origin: center bottom;
  -webkit-transform-origin: center bottom;
  -webkit-transform: translate3d(-50%, 0, 0) scale(var(--status-shadow-scale, 1), var(--status-shadow-scale, 1));
  transform: translate3d(-50%, 0, 0) scale(var(--status-shadow-scale, 1), var(--status-shadow-scale, 1));
  opacity: var(--status-shadow-opacity, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@keyframes store-status-shadow-cart-pulse {
  0%,
  100% {
    opacity: var(--status-shadow-opacity, 1);
    -webkit-transform: translate3d(-50%, 0, 0) scale(var(--status-shadow-scale, 1), var(--status-shadow-scale, 1));
    transform: translate3d(-50%, 0, 0) scale(var(--status-shadow-scale, 1), var(--status-shadow-scale, 1));
    filter: blur(0px);
  }

  40% {
    opacity: 0.95;
    -webkit-transform: translate3d(-50%, 0, 0)
      scale(calc(var(--status-shadow-scale, 1) * 1.55), calc(var(--status-shadow-scale, 1) * 1.55));
    transform: translate3d(-50%, 0, 0)
      scale(calc(var(--status-shadow-scale, 1) * 1.55), calc(var(--status-shadow-scale, 1) * 1.55));
    filter: blur(1.2px);
  }
}

.store-web-status-wrap--cart-pulse::before {
  -webkit-animation: store-status-shadow-cart-pulse 650ms ease-out 1;
  animation: store-status-shadow-cart-pulse 650ms ease-out 1;
  will-change: transform, opacity, filter;
}

/* Brillos extra SOLO móvil (se activan por media query) */
.store-web-status-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Encima de la imagen para que el brillo se vea */
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  border-radius: 6px;
  /* Brillo robusto: un solo gradiente que barre */
  background-image: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 25%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0) 75%
  );
  background-repeat: no-repeat;
  background-size: 180% 100%;
  background-position: 50% 0;
  /* Mejora comp. en algunos WebKit */
  transform: translateZ(0);
  filter: blur(0.4px);
}

/* Rebote: en escritorio mueve la <img> con margin (store.js); en móvil translate en la img vía CSS */
.store-web-status-bounce {
  position: relative;
  z-index: 1;
  display: inline-block;
  line-height: 0;
  vertical-align: bottom;
  overflow: visible;
}

/* Móvil: animación nativa (misma duración/curva que el JS en escritorio) — más fiable que setInterval en WebKit */
@keyframes store-status-mobile-img {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -14px, 0);
  }
}

@keyframes store-status-mobile-shadow {
  0%,
  100% {
    opacity: 1;
    -webkit-transform: translate3d(-50%, 0, 0) scale(1, 1);
    transform: translate3d(-50%, 0, 0) scale(1, 1);
  }
  50% {
    opacity: 0.22;
    -webkit-transform: translate3d(-50%, 0, 0) scale(0.45, 0.45);
    transform: translate3d(-50%, 0, 0) scale(0.45, 0.45);
  }
}

@keyframes store-status-mobile-sparkles-flicker {
  0%,
  100% {
    opacity: 0.18;
  }
  35% {
    opacity: 0.95;
  }
  70% {
    opacity: 0.35;
  }
}

@keyframes store-status-mobile-sparkles-sweep {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 100% 0;
  }
}

@media (max-width: 767.98px) {
  .store-navbar {
    --store-nav-row-h: calc(2.85rem + 14px);
    padding-top: 0.8rem;
    padding-bottom: 1.15rem;
  }

  .store-web-status-wrap {
    padding-bottom: 14px;
    min-height: var(--store-nav-row-h);
    /* Sombra estática (en móvil no usamos la animación anterior) */
    --status-shadow-scale: 0.45;
    --status-shadow-opacity: 0.22;
  }

  .store-web-status-wrap::before {
    width: 90%;
    max-width: none;
    height: 13px;
    background: radial-gradient(ellipse 100% 100% at center, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.18) 48%, transparent 76%);
  }

  /* En móvil: quitamos rebote/sombra animados anteriores */
  .store-web-status-wrap .store-web-status-bounce img {
    -webkit-animation: none !important;
    animation: none !important;
  }

  .store-web-status-wrap::before {
    -webkit-animation: none !important;
    animation: none !important;
  }

  /* Activar brillos en móvil (chispitas + barrido diagonal) */
  .store-web-status-wrap::after {
    opacity: 0 !important;
    -webkit-animation: none !important;
    animation: none !important;
  }

  .store-web-status-wrap.store-web-status--motion-paused .store-web-status-bounce img {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
  }

  .store-web-status-wrap.store-web-status--motion-paused::before {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
  }

  .store-web-status-wrap.store-web-status--motion-paused::after {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
  }
}

@media (hover: none) and (pointer: coarse) and (max-width: 1024px) {
  .store-web-status-wrap {
    padding-bottom: max(11px, env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 576px) {
  .store-web-status-wrap {
    margin-left: 0;
  }

  .store-web-status-img {
    max-width: min(calc(2.85rem * 16 / 9), 55vw);
  }

  .store-brand-logo {
    max-width: min(2.85rem, 55vw);
  }
}

@media (min-width: 768px) {
  .store-web-status-img {
    max-width: min(calc(2.85rem * 16 / 9), 72vw);
  }

  .store-brand-logo {
    max-width: min(2.85rem, 72vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-web-status-bounce {
    -webkit-transform: none !important;
    transform: none !important;
    will-change: auto;
  }

  .store-web-status-wrap .store-web-status-bounce img,
  .store-web-status-wrap::before {
    -webkit-animation: none !important;
    animation: none !important;
  }

  .store-web-status-wrap {
    --status-shadow-scale: 1;
    --status-shadow-opacity: 0.5;
  }

  .store-web-status-wrap::before {
    opacity: 0.5;
    -webkit-transform: translate3d(-50%, 0, 0) scale(1, 1);
    transform: translate3d(-50%, 0, 0) scale(1, 1);
  }

  .store-web-status-wrap::after {
    opacity: 0;
    -webkit-animation: none !important;
    animation: none !important;
  }

  .cart-fab--glow {
    -webkit-animation: none !important;
    animation: none !important;
  }
}

/* Search (pegado casi a la franja naranja; sticky bajo) */
.store-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  padding-top: 0.4rem;
  margin-bottom: 0.12rem;
}

.store-social-btn {
  --social-glow: rgba(255, 255, 255, 0.42);
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.42);
  transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s ease;
}

.store-social-btn::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  pointer-events: none;
  border: 1.6px solid var(--social-glow);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--social-glow) 40%, transparent),
    0 0 10px color-mix(in srgb, var(--social-glow) 65%, transparent);
  opacity: 0.72;
  animation: social-waterline-glow 2.2s ease-in-out infinite;
}

.store-social-btn i {
  font-size: 1.04rem;
  line-height: 1;
}

.store-social-btn.is-whatsapp {
  --social-glow: rgba(37, 211, 102, 0.9);
  background: linear-gradient(145deg, #25d366 0%, #128c7e 100%);
}

.store-social-btn.is-instagram {
  --social-glow: rgba(214, 41, 118, 0.85);
  background: linear-gradient(145deg, #feda75 0%, #fa7e1e 30%, #d62976 62%, #962fbf 100%);
}

.store-social-btn.is-facebook {
  --social-glow: rgba(24, 119, 242, 0.9);
  background: linear-gradient(145deg, #1877f2 0%, #0f5dc8 100%);
}

/* Pin solo trazo rojo, sin relleno de fondo; halo ::after igual que los demás */
.store-social-btn.is-location {
  --social-glow: rgba(220, 38, 38, 0.78);
  background: transparent;
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.28);
  box-shadow: none;
}

.store-social-btn.is-location .store-social-location-svg {
  display: block;
  width: 1.22rem;
  height: 1.22rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 2px rgba(220, 38, 38, 0.4));
}

.store-social-btn:hover {
  transform: translateY(-1px) scale(1.04);
  filter: brightness(1.06);
}

.store-social-btn:active {
  transform: translateY(0) scale(0.98);
}

.store-social-btn.is-disabled {
  opacity: 0.68;
  filter: grayscale(0.2) saturate(0.85);
  cursor: default;
}

.store-social-btn.is-disabled::after {
  animation: none;
  opacity: 0.32;
}

@keyframes social-waterline-glow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--social-glow) 35%, transparent),
      0 0 8px color-mix(in srgb, var(--social-glow) 55%, transparent);
  }
  50% {
    transform: scale(1.045);
    opacity: 0.92;
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--social-glow) 55%, transparent),
      0 0 14px color-mix(in srgb, var(--social-glow) 78%, transparent);
  }
}

.search-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(to bottom, var(--necty-surface) 72%, rgba(250, 247, 243, 0.97) 90%, transparent);
  padding: 0.15rem 0 0.25rem;
  margin-top: 0;
}

.search-input-group .search-input-group-text {
  padding: 0.35rem 0.65rem 0.35rem 0.85rem;
  font-size: 0.95rem;
}

.search-input-group .form-control {
  min-height: 0;
  font-size: 0.9rem;
  line-height: 1.3;
}

.search-input {
  border-radius: 999px !important;
  border: 2px solid #e0d8cf !important;
  padding: 0.38rem 0.85rem 0.38rem 0.5rem !important;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-input:focus {
  border-color: var(--necty-orange) !important;
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2) !important;
}

.store-category-title {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--necty-dark);
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  padding-bottom: 0.28rem;
  border-bottom: 2px solid var(--necty-orange-light);
}

.store-category-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.7rem;
}

.store-category-title-action {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 36%),
    linear-gradient(145deg, #fb923c 0%, #ea580c 54%, #c2410c 100%);
  color: #fff7ed;
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateY(0);
  box-shadow:
    0 2px 0 #7c2d12,
    0 10px 20px rgba(194, 65, 12, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transition: transform 0.15s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.store-category-title-action:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 3px 0 #7c2d12,
    0 14px 24px rgba(194, 65, 12, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.store-category-title-action:active {
  transform: translateY(1px);
  box-shadow:
    0 1px 0 #7c2d12,
    0 6px 12px rgba(194, 65, 12, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.store-category-title-action i {
  color: #fff7ed;
  font-size: 0.82rem;
  text-shadow: 0 1px 1px rgba(124, 45, 18, 0.55);
}

.store-category-title-action--compact {
  padding: 0.34rem 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow:
    0 2px 0 #7c2d12,
    0 8px 16px rgba(194, 65, 12, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.store-category-title-action--compact i {
  font-size: 0.78rem;
}

.store-see-more-card {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background:
    radial-gradient(140% 100% at 100% 0%, rgba(251, 146, 60, 0.3), transparent 64%),
    radial-gradient(100% 80% at 0% 100%, rgba(253, 186, 116, 0.26), transparent 62%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 245, 234, 0.92) 48%, rgba(255, 255, 255, 0.96) 100%);
  backdrop-filter: blur(9px) saturate(1.05);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    inset 0 -24px 50px rgba(251, 146, 60, 0.12);
  cursor: pointer;
  transform: perspective(900px) rotateX(1.3deg) translateZ(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, filter 0.2s ease;
}

.store-see-more-card:hover {
  transform: perspective(900px) rotateX(0deg) translateY(-4px) scale(1.012);
  border-color: rgba(251, 146, 60, 0.56);
  filter: saturate(1.08);
  box-shadow:
    0 28px 46px rgba(15, 23, 42, 0.17),
    0 0 0 1px rgba(251, 146, 60, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 -28px 56px rgba(251, 146, 60, 0.16);
}

.store-see-more-body {
  height: 100%;
  min-height: 340px;
  display: grid;
  place-items: center;
  gap: 0.5rem;
  padding: 1.15rem 1.15rem;
  text-align: center;
  align-content: center;
}

.store-see-more-plus {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: #fb923c;
  text-shadow:
    0 12px 28px rgba(234, 88, 12, 0.26),
    0 1px 0 rgba(255, 255, 255, 0.55);
  margin-bottom: 0.25rem;
}

.store-see-more-kicker {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #7c2d12;
  margin-bottom: 0.18rem;
}

.store-see-more-copy {
  font-size: 1.03rem;
  font-weight: 800;
  color: #7c2d12;
  max-width: 14.6rem;
  line-height: 1.3;
  margin-top: 0.28rem;
}

.store-category-page-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 999px;
  background: rgba(255, 237, 213, 0.62);
  color: #9a3412;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.34rem 0.75rem;
}

.store-all-products-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 0 0.2rem;
}

.store-all-products-pager button {
  border: 1px solid rgba(255, 140, 0, 0.35);
  background: #fff;
  color: #7c3f00;
  border-radius: 10px;
  padding: 0.35rem 0.62rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.store-all-products-pager button[aria-current="page"] {
  background: var(--necty-orange);
  color: #111;
  border-color: rgba(0, 0, 0, 0.15);
}

/* Ancla de sección: offset para sticky (búsqueda + franja categorías) */
.store-category-section {
  scroll-margin-top: var(--store-sticky-offset, 104px);
}

/* Franja categorías — editorial / premium: solo tipografía naranja, sin “pastillas” */
/* Full-bleed: el scroll horizontal de página se evita con html/body overflow-x (100vw vs barra vertical) */
.store-category-rail {
  --rail-fade: 48px;
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0.4rem;
  padding: 0;
  background: linear-gradient(180deg, var(--rail-bg-mid) 0%, var(--rail-bg) 48%, #050506 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.store-category-rail::before,
.store-category-rail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--rail-fade);
  z-index: 2;
  pointer-events: none;
}

.store-category-rail::before {
  left: 0;
  background: linear-gradient(90deg, var(--rail-bg) 0%, transparent 100%);
}

.store-category-rail::after {
  right: 0;
  background: linear-gradient(270deg, var(--rail-bg) 0%, transparent 100%);
}

@media (min-width: 768px) {
  .store-category-rail {
    --rail-fade: 72px;
  }
}

.store-category-rail-inner {
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: clamp(0.35rem, 1.5vw, 1.35rem);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.65rem max(1rem, env(safe-area-inset-left)) 0.7rem max(1rem, env(safe-area-inset-right));
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.store-category-rail-inner::-webkit-scrollbar {
  display: none;
  height: 0;
}

.store-category-rail__chip {
  flex: 0 0 auto;
  scroll-snap-align: center;
  appearance: none;
  border: none;
  background: transparent;
  color: var(--necty-orange-dim);
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(0.8rem, 2.75vw, 0.9375rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.65rem 0.55rem;
  margin: 0;
  border-radius: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition:
    color var(--transition-nav),
    opacity var(--transition-nav),
    transform 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.store-category-rail__chip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.28rem;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 0.5rem);
  max-width: 3.25rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--necty-orange) 20%, var(--necty-orange-light) 80%, transparent);
  opacity: 0;
  transition:
    transform var(--transition-nav),
    opacity var(--transition-nav);
}

.store-category-rail__chip:hover {
  color: rgba(255, 179, 71, 0.92);
}

.store-category-rail__chip:active {
  transform: scale(0.98);
}

.store-category-rail__chip:focus-visible {
  outline: none;
  color: var(--necty-orange-light);
  box-shadow: inset 0 0 0 1px rgba(255, 140, 0, 0.35);
  border-radius: 4px;
}

.store-category-rail__chip--active {
  color: var(--necty-orange-light);
  font-weight: 700;
  text-shadow: 0 0 28px rgba(255, 140, 0, 0.22);
}

.store-category-rail__chip--active::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

@media (min-width: 768px) {
  .store-category-rail-inner {
    padding-top: 0.75rem;
    padding-bottom: 0.8rem;
    gap: 1.25rem;
  }

  .store-category-rail__chip {
    font-size: 0.875rem;
    letter-spacing: 0.14em;
    padding: 0.6rem 0.9rem 0.65rem;
    min-height: 48px;
  }

  .store-category-rail__chip::after {
    max-width: 4rem;
    bottom: 0.32rem;
  }
}

@media (min-width: 1200px) {
  .store-category-rail-inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-category-rail__chip,
  .store-category-rail__chip::after {
    transition: none;
  }

  .store-category-rail__chip:active {
    transform: none;
  }
}

/* Modo deslizar: misma anchura visual que rejilla Bootstrap (col-6 / md-4 / lg-3) + flechas */
.store-cat-scroll-wrap {
  padding-left: 0;
  padding-right: 0;
}

.store-cat-scroll-viewport {
  position: relative;
  width: 100%;
}

.store-cat-scroll-inner {
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.35rem 0 0.55rem;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  /* Contiene el “rebote” horizontal sin bloquear el scroll vertical de la página */
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  /* pan-x solo impedía arrastrar hacia abajo si el toque empezaba en la fila; pan-y permite ambos ejes */
  touch-action: pan-x pan-y;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

.store-cat-scroll-inner:focus {
  outline: 2px solid rgba(255, 140, 0, 0.45);
  outline-offset: 2px;
}

.store-scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  color: #111;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.store-scroll-arrow:hover:not(:disabled) {
  background: #fff;
}

.store-scroll-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.store-scroll-arrow.store-scroll-hidden {
  visibility: hidden;
  pointer-events: none;
}

.store-scroll-prev {
  left: 0.2rem;
}

.store-scroll-next {
  right: 0.2rem;
}

.store-scroll-arrow i {
  font-size: 1.35rem;
  line-height: 1;
}

@media (min-width: 768px) {
  .store-scroll-arrow {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
  }
}

/* Misma proporción que .row.g-3: 2 / 3 / 4 columnas */
.store-slide-item {
  flex: 0 0 calc((100% - 1rem) / 2);
  width: calc((100% - 1rem) / 2);
  max-width: calc((100% - 1rem) / 2);
  min-width: 0;
}

@media (min-width: 768px) {
  .store-slide-item {
    flex: 0 0 calc((100% - 2rem) / 3);
    width: calc((100% - 2rem) / 3);
    max-width: calc((100% - 2rem) / 3);
  }
}

@media (min-width: 992px) {
  .store-slide-item {
    flex: 0 0 calc((100% - 3rem) / 4);
    width: calc((100% - 3rem) / 4);
    max-width: calc((100% - 3rem) / 4);
  }
}

.store-slide-item .product-card {
  height: 100%;
}

/* Product cards */
.product-card {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card .card-img-wrap {
  aspect-ratio: 1;
  background: var(--necty-cream);
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card .product-image {
  opacity: 0;
  filter: blur(4px);
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.45s ease;
}

.product-card .product-image.loaded {
  opacity: 1;
  filter: blur(0);
}

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

.reveal-card {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.44s ease,
    transform 0.44s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--necty-text);
  line-height: 1.3;
}

.product-card .price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--necty-orange);
}

.price-normal {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--necty-muted);
}

.price-normal-only {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--necty-orange);
}

.promo-price-wrap {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 0.35rem;
}

.promo-badge {
  background: linear-gradient(135deg, #111, #2b2b2b);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.agotado-badge {
  position: absolute;
  top: 18px;
  left: -52px;
  transform: rotate(-45deg);
  z-index: 5;

  background: linear-gradient(135deg, #ff2a2a 0%, #a70000 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 8px 58px;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(167, 0, 0, 0.28);

  animation: agotadoRibbonPulse 1.35s ease-in-out infinite;
}

@keyframes agotadoRibbonPulse {
  0%, 100% {
    opacity: 0.95;
    filter: saturate(1);
  }
  50% {
    opacity: 0.78;
    filter: saturate(1.25);
  }
}

.oferta-badge {
  position: absolute;
  top: 18px;
  left: -52px;
  transform: rotate(-45deg);
  z-index: 5;
  overflow: hidden;

  background: linear-gradient(
    135deg,
    #fff9c4 0%,
    #fde047 22%,
    #fbbf24 48%,
    #fb923c 78%,
    #f97316 100%
  );
  color: #7c2d12;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 58px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75),
    0 1px 4px rgba(124, 45, 18, 0.22);
  box-shadow:
    0 4px 16px rgba(251, 191, 36, 0.5),
    0 10px 28px rgba(249, 115, 22, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -2px 8px rgba(194, 65, 12, 0.22);

  animation: ofertaRibbonGlow 2.2s ease-in-out infinite;
}

.oferta-badge::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -130%;
  width: 55%;
  height: 220%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  transform: skewX(-22deg);
  pointer-events: none;
  animation: ofertaRibbonShine 3.2s ease-in-out infinite;
}

@keyframes ofertaRibbonGlow {
  0%, 100% {
    filter: brightness(1.08) saturate(1.2);
  }
  50% {
    filter: brightness(1.22) saturate(1.4);
  }
}

@keyframes ofertaRibbonShine {
  0%, 72%, 100% {
    left: -130%;
  }
  88% {
    left: 185%;
  }
}

.product-card .desc {
  font-size: 0.82rem;
  color: var(--necty-muted);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  min-height: 1.25rem;
}

.product-card .desc .desc-track {
  display: inline-flex;
  align-items: center;
  gap: 4ch;
  min-width: max-content;
  will-change: transform;
}

.product-card .desc .desc-text {
  display: inline-block;
  white-space: nowrap;
}

.product-card .desc.desc-marquee .desc-track {
  animation-name: descCarousel;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: var(--desc-marquee-duration, 9s);
}

@keyframes descCarousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * var(--desc-shift, 50%)));
  }
}

.btn-add-cart {
  border-radius: 10px;
  font-weight: 600;
  background: var(--necty-orange);
  border: none;
  color: #000;
  transition: transform 0.15s ease, filter var(--transition);
}

.btn-add-cart:hover {
  background: #e67e00;
  color: #000;
  filter: brightness(1.05);
}

.btn-add-cart:disabled {
  background: #d9d9d9;
  color: #5a5a5a;
  filter: none;
  cursor: not-allowed;
}

.btn-add-cart:active {
  transform: scale(0.96);
}

/* FAB cart */
.cart-fab {
  --social-glow: rgba(255, 140, 0, 0.9);
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 1040;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--necty-orange) 0%, #e67e00 100%);
  color: #000;
  border: none;
  box-shadow: 0 6px 24px rgba(255, 140, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform 0.2s ease, box-shadow var(--transition);
}

.cart-fab:hover {
  transform: scale(1.06);
  color: #000;
}

/* Glow cuando el carrito tiene productos */
.cart-fab--glow {
  animation: cartFabGlow 1.1s ease-in-out infinite;
}

.cart-fab--glow::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  border: 1.2px solid var(--social-glow);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--social-glow) 24%, transparent),
    0 0 5px color-mix(in srgb, var(--social-glow) 40%, transparent);
  opacity: 0.48;
  animation: social-waterline-glow 3.6s ease-in-out infinite;
}

@keyframes cartFabGlow {
  0%,
  100% {
    box-shadow: 0 6px 24px rgba(255, 140, 0, 0.45), 0 0 0 rgba(255, 140, 0, 0.0);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.55), 0 0 18px rgba(255, 140, 0, 0.65),
      0 0 42px rgba(255, 140, 0, 0.25);
    filter: brightness(1.08);
  }
}

.cart-fab .badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  font-size: 0.7rem;
  font-weight: 700;
  background: #000;
  color: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popIn 0.35s ease;
}

@keyframes popIn {
  0% {
    transform: scale(0);
  }
  70% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

.cart-fab.pulse {
  /* Pulso corto SIN animación para no chocar con el glow infinito */
  transform: scale(1.14);
}

@keyframes fabPulse {
  0%,
  100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.12);
  }
}

/* Offcanvas cart */
.offcanvas-cart .offcanvas-header {
  background: linear-gradient(135deg, var(--necty-orange-light), var(--necty-orange));
  color: #000;
}

.offcanvas-cart .cart-line {
  border-bottom: 1px solid #eee;
  padding: 0.75rem 0;
  animation: slideIn 0.35s ease both;
}

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

/* Reutilizado también en tarjetas del grid (inline en JS) */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cart-line .qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 2px solid var(--necty-cream);
  background: #fff;
  font-weight: 700;
  line-height: 1;
  transition: background var(--transition), border-color var(--transition);
}

.cart-line .qty-btn:hover {
  background: var(--necty-cream);
  border-color: var(--necty-orange);
}

.totals-box {
  background: #fff;
  border-radius: var(--radius);
  border: 2px solid var(--necty-cream);
  padding: 1rem;
}

.totals-box .row-total {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--necty-text);
}

/* Toast */
.toast-added {
  position: fixed;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 1050;
  background: #000;
  color: #fff;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  box-shadow: var(--shadow-md);
}

.toast-added.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Empty & loading */
.skeleton {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Modal checkout */
.modal-header-gradient {
  background: linear-gradient(135deg, var(--necty-orange-light), var(--necty-orange));
  color: #000;
}

.modal-header-gradient .btn-close {
  filter: invert(1);
}

/* Carrito: "Realizar pedido" siempre activo con ítems; abierto vs cerrado (solo matiz visual) */
.btn-checkout-cart {
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.btn-checkout-cart:active {
  transform: scale(0.98);
}

.btn-checkout-cart:not(.btn-checkout--store-open) {
  background: linear-gradient(145deg, #4a4a4f 0%, #2e2e32 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.btn-checkout-cart.btn-checkout--store-open {
  background: linear-gradient(145deg, #2a2a2e 0%, #111 100%) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

/* Modal: local cerrado (pedidos web no disponibles) */
.modal-store-closed .modal-dialog {
  max-width: 400px;
}

.modal-store-closed .store-closed-sheet {
  border-radius: 1.25rem;
  position: relative;
}

.modal-store-closed .store-closed-accent {
  height: 5px;
  background: linear-gradient(90deg, var(--necty-orange-light), var(--necty-orange), #ff6b35);
  background-size: 200% 100%;
  animation: storeClosedAccentShift 4s ease-in-out infinite;
}

@keyframes storeClosedAccentShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.modal-store-closed .store-closed-dismiss {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  opacity: 0.55;
}

.modal-store-closed .store-closed-dismiss:hover {
  opacity: 1;
}

.modal-store-closed .store-closed-icon-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--necty-orange-light), var(--necty-orange));
  animation: storeClosedRingPulse 2.8s ease-in-out infinite;
}

@keyframes storeClosedRingPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.35);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 0 10px rgba(255, 140, 0, 0);
  }
}

.modal-store-closed .store-closed-icon-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff8f0 0%, #ffe8d2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-store-closed .store-closed-icon {
  font-size: 2.1rem;
  color: var(--necty-orange);
  animation: storeClosedIconFloat 2.2s ease-in-out infinite;
}

@keyframes storeClosedIconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.modal-store-closed .store-closed-lead {
  font-size: 0.98rem;
  animation: storeClosedTextIn 0.5s ease 0.08s both;
}

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

.modal-store-closed.modal.show .store-closed-sheet {
  animation: storeClosedSheetIn 0.42s cubic-bezier(0.34, 1.2, 0.64, 1) both;
}

@keyframes storeClosedSheetIn {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(18px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-store-closed .btn-store-closed-ok {
  background: linear-gradient(135deg, var(--necty-dark) 0%, #2d2d35 100%);
  color: #fff;
  border: none;
  max-width: 280px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-store-closed .btn-store-closed-ok:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Footer */
.store-footer {
  margin-top: 3rem;
  padding: 2rem 0;
  background: var(--necty-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.store-footer a {
  color: var(--necty-orange-light);
}

@media (max-width: 576px) {
  .cart-fab {
    bottom: 1rem;
    right: 1rem;
    width: 54px;
    height: 54px;
  }
}

/* ---------- Ficha de producto (detalle) ---------- */
.store-product-detail {
  animation: storeProductFadeIn 0.35s ease both;
}

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

.store-product-back {
  color: var(--necty-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.store-product-back:hover {
  color: var(--necty-orange);
}

.store-product-carousel-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--store-radius, 16px);
}
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--necty-cream) 100%);
  box-shadow: var(--shadow-md);
}

/* Flechas: visibles con 2+ imágenes (solo CSS; sin atributo hidden para no chocar con Bootstrap Reboot) */
.store-product-carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 12;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--necty-dark);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.store-product-carousel-nav:hover:not(:disabled) {
  background: #fff;
  color: var(--necty-orange);
}

.store-product-carousel-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.store-product-carousel-nav--prev {
  left: 0.5rem;
}

.store-product-carousel-nav--next {
  right: 0.5rem;
}

.store-product-carousel-nav .bi {
  font-size: 1.35rem;
  line-height: 1;
}

.store-product-carousel-wrap.is-multi-slide .store-product-carousel-nav {
  display: flex !important;
}

.store-product-carousel {
  position: relative;
  z-index: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  gap: 0;
}

.store-product-carousel::-webkit-scrollbar {
  height: 6px;
}

.store-product-carousel::-webkit-scrollbar-thumb {
  background: rgba(255, 140, 0, 0.35);
  border-radius: 99px;
}

.store-product-carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.store-product-carousel-slide img {
  max-width: 100%;
  max-height: min(72vh, 520px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
}

.store-product-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 0 0;
}

.store-product-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(18, 18, 20, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.store-product-dot[aria-selected="true"] {
  background: var(--necty-orange);
  transform: scale(1.25);
}

.store-product-info-panel {
  padding: 0.25rem 0;
}

.store-product-title {
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--necty-dark);
  line-height: 1.25;
}

.store-product-price-row {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--necty-dark);
}

.store-product-price-row .price-was {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: line-through;
  color: var(--necty-muted);
  margin-right: 0.5rem;
}

.store-product-promo-row {
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 179, 71, 0.22), rgba(255, 140, 0, 0.18));
  border: 1px solid rgba(255, 140, 0, 0.35);
  font-weight: 700;
  color: var(--necty-dark);
}

.store-product-stock {
  color: var(--necty-muted);
  margin-bottom: 0;
}

.store-product-stock strong {
  color: var(--necty-dark);
}

.store-product-desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #2d2a28;
  white-space: pre-wrap;
}

.store-product-meta {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(232, 210, 191, 0.9);
}

.store-product-meta dt {
  font-weight: 700;
  color: var(--necty-muted);
  margin-bottom: 0.15rem;
}

.store-product-meta dd {
  margin-bottom: 0.65rem;
}

.store-product-meta dd:last-child {
  margin-bottom: 0;
}

.btn-store-add {
  background: linear-gradient(135deg, var(--necty-orange-light) 0%, var(--necty-orange) 55%, #e67300 100%);
  border: none;
  color: #fff;
  letter-spacing: 0.02em;
}

.btn-store-add:hover:not(:disabled) {
  color: #fff;
  filter: brightness(1.05);
}

.btn-store-add:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Tarjeta catálogo: ir a ficha */
.product-card.product-card--detail-nav {
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card.product-card--detail-nav:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(255, 140, 0, 0.18);
}

.product-card.product-card--detail-nav:focus-visible {
  outline: 3px solid var(--necty-orange);
  outline-offset: 2px;
}

.btn-product-detail-go {
  font-weight: 700;
  font-size: 0.88rem;
}
