:root {
  --sasa-pink-bg: #ffc4d6;
  --sasa-pink-card: #ffe8ef;
  --sasa-pink-strong: #e8a0b4;
  --sasa-rosado: #D23C6E;
  --sasa-rosado-oscuro: #941212;
  --sasa-red-title: #cc3333;
  --sasa-cyan-top: #c3f0f8;
  --sasa-yellow: #ffb703;
  --sasa-green: #10b981;
  --celeste-logo: #D23C6E;
  --celeste-light: #f0fafd;
  --gold: #d4af37;
  --white: #ffffff;
  --text-main: #333333;
  --text-muted: #6e5873;
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 14px 35px rgba(210, 60, 110, 0.07);
  --shadow-hover: 0 22px 45px rgba(210, 60, 110, 0.15);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--sasa-pink-bg);
  background-image: 
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.85) 0%, transparent 45%),
    radial-gradient(circle at 88% 85%, rgba(195, 240, 248, 0.3) 0%, transparent 40%),
    radial-gradient(rgba(255, 255, 255, 0.5) 2px, transparent 2px);
  background-size: 100% 100%, 100% 100%, 28px 28px;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 375px) {
  body {
    font-size: 14px;
  }
}

.topbar {
  background: linear-gradient(90deg, #c3f0f8 0%, #d8f3fc 100%);
  color: #1a5663;
  padding: 9px 6%;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 2px solid #a3e4f0;
}

.topbar-badge {
  background: #ffffff;
  color: var(--sasa-rosado);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.topbar-socials {
  display: flex;
  gap: 8px;
}

.topbar-socials a {
  width: 28px;
  height: 28px;
  background: white;
  color: #555;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.topbar-socials a:hover {
  background: var(--sasa-rosado-oscuro);
  color: white;
  transform: translateY(-2px) scale(1.1);
}

@media (max-width: 768px) {
  .topbar {
    padding: 8px 4%;
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 8px 3%;
    font-size: 0.68rem;
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
  .topbar-socials a {
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
  }
}

.header-wrapper {
  padding: 16px 6%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-pill);
  padding: 10px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 14px 35px rgba(210, 60, 110, 0.08);
  border: 2.5px solid white;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--sasa-yellow);
  box-shadow: 0 4px 14px rgba(210, 60, 110, 0.3);
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: white;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-logo:hover .logo-circle {
  transform: scale(1.08) rotate(-5deg);
}

.logo-title {
  font-family: 'Fredoka', cursive;
  font-size: 1.55rem;
  color: var(--sasa-rosado);
  line-height: 1;
}

.logo-subtitle {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--sasa-red-title);
  text-transform: uppercase;
}

.search-box {
  flex: 1;
  max-width: 340px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 11px 44px 11px 20px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--sasa-pink-card);
  background: #fff8fb;
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  background: white;
  border-color: var(--sasa-rosado);
  box-shadow: 0 0 0 4px rgba(210, 60, 110, 0.1);
}

.search-box button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sasa-pink-strong);
  border: none;
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

.search-box button:hover {
  background: var(--sasa-rosado);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

button.nav-link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-link i {
  color: var(--sasa-rosado);
}

.nav-link:hover,
.nav-link.active {
  background: var(--sasa-pink-card);
  color: var(--sasa-rosado);
}

.btn-order {
  background: var(--sasa-rosado);
  color: white !important;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 16px rgba(210, 60, 110, 0.25);
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-order:hover {
  background: var(--sasa-rosado-oscuro);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(210, 60, 110, 0.35);
}

@media (max-width: 900px) {
  header {
    flex-wrap: wrap;
    padding: 10px 16px;
    gap: 10px;
  }

  .search-box {
    order: 3;
    max-width: 100%;
    flex-basis: 100%;
  }

  .header-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 600px) {
  .header-wrapper {
    padding: 10px 3%;
  }

  header {
    padding: 8px 10px;
    border-radius: 22px;
    gap: 6px;
    flex-wrap: nowrap;
  }

  .brand-logo > div:last-child {
    display: none;
  }

  .logo-circle {
    width: 36px;
    height: 36px;
  }

  .brand-logo {
    gap: 0;
  }

  .search-box {
    order: unset;
    flex: 1;
    max-width: none;
    flex-basis: auto;
  }

  .search-box input {
    padding: 9px 38px 9px 14px;
    font-size: 0.8rem;
  }

  .nav-link span,
  .btn-order span,
  .nav-link .nav-text,
  .btn-order .nav-text {
    display: none;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 0;
  }

  .nav-link i {
    font-size: 1rem;
    margin: 0;
  }

  .btn-order {
    padding: 8px 10px;
    font-size: 0;
  }

  .btn-order i {
    font-size: 1rem;
    margin: 0;
  }

  .header-nav {
    gap: 3px;
  }
}

@media (max-width: 400px) {
  header {
    padding: 6px 8px;
    border-radius: 18px;
    gap: 4px;
  }

  .logo-circle {
    width: 30px;
    height: 30px;
  }

  .search-box input {
    padding: 7px 30px 7px 10px;
    font-size: 0.72rem;
  }

  .search-box button {
    width: 24px;
    height: 24px;
  }

  .nav-link {
    padding: 6px 7px;
  }

  .nav-link i {
    font-size: 0.9rem;
  }

  .btn-order {
    padding: 6px 7px;
  }

  .btn-order i {
    font-size: 0.9rem;
  }
}

.resultados-busqueda {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: white;
  border-radius: 16px;
  z-index: 1100;
  max-height: 360px;
  overflow-y: auto;
  display: none;
  box-shadow: 0 12px 35px rgba(210, 60, 110, 0.15);
  border: 2px solid var(--sasa-pink-card);
  padding: 8px 0;
}

.resultado-item {
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 2px 8px;
  border-radius: 12px;
}

.resultado-item:hover {
  background: #fff5f7;
}

.resultado-item:not(:last-child) {
  border-bottom: 1px solid #fef0f5;
}

@media (max-width: 480px) {
  .resultados-busqueda {
    max-height: 280px;
    border-radius: 12px;
  }
  .resultado-item {
    padding: 10px 12px;
    margin: 1px 6px;
  }
}

.sidebar-categorias {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: #fff5f7;
  box-shadow: 5px 0 20px rgba(0, 0, 0, 0.08);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-right: 2px solid var(--sasa-pink-card);
}

.sidebar-categorias.visible {
  transform: translateX(0);
}

.contenido-sidebar {
  padding: 20px;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cerrar-sidebar {
  position: fixed;
  top: 20px;
  left: 320px;
  background: var(--sasa-rosado);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.cerrar-sidebar:hover {
  background: var(--sasa-rosado-oscuro);
  transform: scale(1.1);
}

.lista-categorias {
  padding: 5px 0;
}

.categoria-item {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s ease;
  cursor: pointer;
  font-size: 0.93rem;
  color: #555;
  border-radius: 10px;
  margin: 3px 0;
  font-weight: 500;
}

.categoria-item i {
  color: var(--sasa-rosado);
  font-size: 1rem;
  min-width: 20px;
  text-align: center;
}

.categoria-item:hover {
  background: rgba(210, 60, 110, 0.06);
  color: var(--sasa-rosado);
}

.categoria-item.activa {
  background: var(--sasa-rosado);
  color: white;
}

.categoria-item.activa i {
  color: white;
}

.menu-seccion {
  margin-bottom: 20px;
}

.titulo-seccion-sidebar {
  font-size: 1rem;
  color: var(--sasa-rosado);
  margin: 15px 0 10px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(210, 60, 110, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
}

.lista-secciones {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.seccion-item {
  padding: 10px 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.93rem;
  color: #555;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.seccion-item i {
  width: 20px;
  text-align: center;
  color: var(--sasa-rosado);
}

.seccion-item:hover,
.seccion-item.activo {
  background: rgba(210, 60, 110, 0.06);
  color: var(--sasa-rosado);
  border-color: var(--sasa-pink-strong);
}

.overlay-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay-sidebar.visible {
  opacity: 1;
  pointer-events: all;
}

.oculto {
  display: none !important;
}

@media (max-width: 480px) {
  .sidebar-categorias {
    width: 85%;
    max-width: 280px;
  }
  .cerrar-sidebar {
    left: calc(85% - 20px);
    top: 15px;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
  .categoria-item {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}

.hero-container {
  padding: 24px 6%;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 55px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-card);
  border: 3px solid rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sasa-pink-card);
  color: var(--sasa-rosado);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(210, 60, 110, 0.08);
  border: 1px solid rgba(210, 60, 110, 0.1);
}

.hero-title {
  font-family: 'Fredoka', cursive;
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--text-main);
}

.hero-title span {
  color: var(--sasa-red-title);
}

.hero-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-main {
  background: var(--sasa-rosado);
  color: white;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(210, 60, 110, 0.25);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-main:hover {
  background: var(--sasa-rosado-oscuro);
  transform: translateY(-3px);
}

.hero-graphic-box {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-circle-art {
  width: 280px;
  height: 280px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 45px rgba(210, 60, 110, 0.3);
  border: 6px solid white;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.hero-circle-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

@media (max-width: 900px) {
  .hero-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 22px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-description {
    max-width: 100%;
  }
  .hero-graphic-box {
    order: -1;
  }
  .hero-circle-art {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .hero-container {
    padding: 14px 3%;
  }
  .hero-card {
    padding: 28px 14px;
    border-radius: 24px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-circle-art {
    width: 170px;
    height: 170px;
  }
  .hero-description {
    font-size: 0.85rem;
  }
  .btn-main {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
}

button.nav-link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.trust-section {
  padding: 0 6%;
  margin-top: 14px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.trust-card {
  background: white;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-card);
  border: 2px solid white;
  transition: var(--transition);
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--sasa-pink-strong);
}

.trust-icon {
  width: 44px;
  height: 44px;
  background: var(--sasa-pink-card);
  color: var(--sasa-rosado);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.trust-card:hover .trust-icon {
  background: var(--sasa-rosado);
  color: white;
  transform: rotate(10deg);
}

.trust-info h4 {
  font-size: 0.85rem;
  font-weight: 800;
}

.trust-info p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .trust-section {
    padding: 0 3%;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .trust-card {
    padding: 12px 14px;
    gap: 10px;
  }
  .trust-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    border-radius: 10px;
  }
  .trust-info h4 {
    font-size: 0.75rem;
  }
  .trust-info p {
    font-size: 0.65rem;
  }
}

.section-container {
  background: var(--sasa-pink-card);
  border-radius: var(--radius-xl);
  margin: 40px 6%;
  padding: 50px 5%;
  box-shadow: var(--shadow-card);
  border: 3px solid white;
}

.section-title {
  font-family: 'Fredoka', cursive;
  font-size: 2.2rem;
  color: var(--sasa-red-title);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title i {
  color: var(--sasa-rosado);
}

.section-subtitle {
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 35px;
}

@media (max-width: 768px) {
  .section-container {
    margin: 30px 4%;
    padding: 35px 4%;
  }
  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .section-container {
    margin: 20px 2%;
    padding: 25px 3%;
    border-radius: 24px;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .section-subtitle {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }
}

.carousel-wrapper {
  overflow: hidden;
  position: relative;
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.carousel-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: scrollTape 32s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scrollTape {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.category-card {
  width: 185px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 26px 18px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  box-shadow: 0 6px 16px rgba(210, 60, 110, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-card:hover {
  border-color: var(--sasa-rosado);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.category-icon {
  width: 70px;
  height: 70px;
  background: var(--sasa-pink-bg);
  border-radius: 20px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: var(--transition);
}

.category-card:hover .category-icon {
  background: var(--sasa-rosado);
  transform: scale(1.08) rotate(-5deg);
}

.category-icon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.category-card h4 {
  font-family: 'Fredoka', cursive;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.category-card .boton-explorar {
  background: linear-gradient(135deg, var(--sasa-rosado) 0%, #b8355a 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  margin-top: 10px;
}

.category-card:hover .boton-explorar {
  background: var(--sasa-rosado-oscuro);
  transform: scale(1.05);
}

.category-card .boton-explorar i {
  font-size: 0.65rem;
  transition: transform 0.3s ease;
}

.category-card:hover .boton-explorar i {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .carousel-track {
    gap: 16px;
  }
  .category-card {
    width: 160px;
    padding: 20px 14px;
  }
  .category-icon {
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 480px) {
  .carousel-track {
    gap: 12px;
  }
  .category-card {
    width: 140px;
    padding: 16px 10px;
  }
  .category-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }
  .category-card h4 {
    font-size: 0.9rem;
  }
  .category-card .boton-explorar {
    padding: 6px 12px;
    font-size: 0.7rem;
  }
}

.products-grid,
.contenedor-destacados,
.contenedor-ofertas,
.contenedor-especiales,
.resultados-grid,
.contenedor-productos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
  padding: 10px 0;
  align-items: stretch;
}

.tarjeta-producto,
.producto-destacado,
.producto-resultado {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid white;
  box-shadow: 0 8px 24px rgba(210, 60, 110, 0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

.tarjeta-producto:hover,
.producto-destacado:hover,
.producto-resultado:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--sasa-pink-strong);
}

.tarjeta-producto img,
.producto-destacado img,
.producto-resultado img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  padding: 15px;
  background: linear-gradient(135deg, #fff8fa 0%, #fef0f5 100%);
  transition: transform 0.5s ease;
}

.tarjeta-producto:hover img,
.producto-destacado:hover img,
.producto-resultado:hover img {
  transform: scale(1.06);
}

.info-producto,
.info-resultado {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--sasa-red-title);
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.nombre-producto,
.info-resultado h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 8px 0;
  line-height: 1.4;
  display: block;
  overflow: visible;
  word-wrap: break-word;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 2px dashed var(--sasa-pink-bg);
}

.precio-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.precio-producto,
.precio-resultado {
  font-family: 'Fredoka', cursive;
  font-size: 1.35rem;
  color: var(--sasa-rosado);
  font-weight: 600;
}

.precio-original {
  text-decoration: line-through;
  color: #bbb;
  font-size: 0.85rem;
  font-weight: 500;
}

.precio-oferta {
  font-family: 'Fredoka', cursive;
  color: #e74c3c;
  font-weight: 700;
  font-size: 1.35rem;
}

.badge-descuento {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--sasa-yellow);
  color: var(--text-main);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  z-index: 2;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.badge-destacado {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--sasa-pink-strong);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  z-index: 2;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.badge-unidad {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--sasa-rosado);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .products-grid,
  .contenedor-destacados,
  .contenedor-ofertas,
  .contenedor-especiales,
  .resultados-grid,
  .contenedor-productos {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
    align-items: stretch;
  }
  .tarjeta-producto img {
    height: 160px;
  }
  .info-producto {
    padding: 16px;
  }
  .precio-producto,
  .precio-oferta {
    font-size: 1.15rem;
  }
}

@media (max-width: 480px) {
  .products-grid,
  .contenedor-destacados,
  .contenedor-ofertas,
  .contenedor-especiales,
  .resultados-grid,
  .contenedor-productos {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    align-items: stretch;
  }
  .tarjeta-producto img {
    height: 130px;
    padding: 10px;
  }
  .info-producto {
    padding: 12px;
  }
  .nombre-producto {
    font-size: 0.8rem;
  }
  .product-category {
    font-size: 0.6rem;
  }
  .precio-producto,
  .precio-oferta {
    font-size: 1rem;
  }
  .badge-descuento,
  .badge-destacado,
  .badge-unidad {
    top: 8px;
    padding: 3px 8px;
    font-size: 0.6rem;
  }
  .badge-descuento,
  .badge-destacado {
    right: 8px;
  }
  .badge-unidad {
    left: 8px;
  }
}

.promo-container {
  background: white;
  border-radius: var(--radius-xl);
  margin: 40px 6%;
  padding: 45px;
  border: 3px solid var(--sasa-pink-card);
  box-shadow: var(--shadow-card);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.promo-card {
  background: var(--sasa-pink-card);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 22px rgba(210, 60, 110, 0.06);
  transition: var(--transition);
  border: 2px solid white;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.promo-card:hover {
  transform: translateY(-6px);
  border-color: var(--sasa-rosado);
  box-shadow: var(--shadow-hover);
}

.promo-title {
  font-family: 'Fredoka', cursive;
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.btn-promo {
  background: var(--sasa-pink-strong);
  color: white;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  box-shadow: 0 4px 12px rgba(210, 60, 110, 0.2);
  transition: var(--transition);
}

.btn-promo:hover {
  background: var(--sasa-rosado);
  transform: translateX(3px);
}

.promo-icon {
  font-size: 3.2rem;
  color: var(--sasa-rosado);
  transition: var(--transition);
}

.promo-card:hover .promo-icon {
  transform: scale(1.15) rotate(-8deg);
}

@media (max-width: 768px) {
  .promo-container {
    margin: 30px 4%;
    padding: 30px;
  }
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .promo-container {
    margin: 20px 2%;
    padding: 20px;
  }
  .promo-card {
    padding: 20px;
  }
  .promo-title {
    font-size: 1.15rem;
  }
}

footer {
  background: var(--sasa-pink-card);
  padding: 60px 6% 35px;
  margin-top: 60px;
  border-top: 4px solid var(--sasa-pink-strong);
  color: var(--text-main);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 35px;
  margin-bottom: 35px;
}

.footer-col h4 {
  font-family: 'Fredoka', cursive;
  font-size: 1.7rem;
  color: var(--sasa-rosado);
  margin-bottom: 12px;
}

.footer-col h5 {
  font-family: 'Fredoka', cursive;
  font-size: 1.15rem;
  color: var(--sasa-rosado-oscuro);
  margin-bottom: 14px;
}

.footer-col p,
.footer-col li {
  font-size: 0.85rem;
  color: var(--text-main);
  opacity: 0.9;
  margin-bottom: 10px;
  list-style: none;
  line-height: 1.6;
}

.footer-col a {
  color: var(--text-main);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--sasa-rosado);
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  background: white;
  color: var(--sasa-rosado);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--sasa-rosado);
  color: white;
  transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(210,60,110,0.12);
  font-size: 0.82rem;
  color: var(--text-main);
}

.footer-bottom .footer-heart {
  display: block;
  font-family: 'Fredoka', cursive;
  font-size: 1.5rem;
  color: var(--sasa-rosado);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.footer-bottom .footer-heart i {
  color: var(--sasa-rosado);
  margin: 0 6px;
  animation: pulseHeart 1.5s ease-in-out infinite;
}

@keyframes pulseHeart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.footer-bottom span {
  font-family: 'Fredoka', cursive;
  color: var(--sasa-rosado);
  font-size: 1.15rem;
}

@media (max-width: 768px) {
  footer {
    padding: 45px 4% 25px;
  }
  .footer-grid {
    gap: 25px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 35px 3% 20px;
    margin-top: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-bottom .footer-heart {
    font-size: 1.2rem;
  }
}

.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  z-index: 1000;
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid white;
}

.whatsapp-btn:hover {
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.45);
}

@media (max-width: 480px) {
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
    bottom: 20px;
    right: 16px;
  }
}

.pantalla-carga {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8cbda 0%, #ffebee 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  overflow: hidden;
}

.pantalla-carga.oculto {
  opacity: 0;
  pointer-events: none;
}

.logo-carga {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: contain;
  animation: scaleIn 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, floatCarga 3s ease-in-out infinite 1.2s;
  transform: scale(0);
  filter: drop-shadow(0 10px 20px rgba(210, 60, 110, 0.3));
  position: relative;
  z-index: 2;
}

@keyframes scaleIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes floatCarga {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.03); }
}

@media (max-width: 768px) {
  .logo-carga {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .logo-carga {
    width: 160px;
    height: 160px;
  }
}

.boton-subir {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sasa-rosado);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 2px solid white;
  box-shadow: 0 4px 14px rgba(210, 60, 110, 0.3);
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(20px);
}

.boton-subir.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.boton-subir:hover {
  background: var(--sasa-rosado-oscuro);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(210, 60, 110, 0.4);
}

@media (max-width: 480px) {
  .boton-subir {
    bottom: 80px;
    right: 16px;
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}

.contenedor-boton-vermas {
  text-align: center;
  margin-top: 30px;
}

.boton-ver-mas {
  background: var(--sasa-rosado);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(210, 60, 110, 0.2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.boton-ver-mas:hover {
  background: var(--sasa-rosado-oscuro);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(210, 60, 110, 0.3);
}

.contenedor-ordenar {
  display: inline-flex;
  align-items: center;
  background: #fff5f7;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  gap: 10px;
  border: 2px solid var(--sasa-pink-card);
}

.contenedor-ordenar label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.select-ordenar {
  padding: 8px 14px;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  cursor: pointer;
  background: white;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-weight: 600;
  color: var(--text-main);
  min-width: 140px;
}

.sin-productos {
  text-align: center;
  color: var(--text-muted);
  grid-column: 1 / -1;
  padding: 40px;
  font-size: 1.1rem;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fade-in {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.contenedor-categoria-productos {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 6%;
  gap: 30px;
  align-items: flex-start;
}

.sidebar-categoria {
  position: sticky;
  top: 120px;
  width: 240px;
  flex-shrink: 0;
  background: white;
  box-shadow: var(--shadow-card);
  z-index: 100;
  overflow-y: auto;
  max-height: calc(100vh - 140px);
  border: 2px solid var(--sasa-pink-card);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.contenido-principal {
  flex: 1;
  min-width: 0;
}

.titulo-sidebar {
  font-size: 1.3rem;
  color: var(--sasa-rosado);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sasa-pink-card);
  font-family: 'Fredoka', cursive;
}

.filtro-seccion {
  margin-bottom: 20px;
}

.titulo-filtro {
  font-size: 0.9rem;
  color: var(--sasa-rosado-oscuro);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--sasa-pink-bg);
  font-weight: 700;
}

.lista-filtro-formas label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.85rem;
  color: #555;
  cursor: pointer;
}

.lista-filtro-formas input[type="checkbox"] {
  accent-color: var(--sasa-rosado);
  width: 16px;
  height: 16px;
}

.rango-precio-slider {
  padding: 10px 5px;
}

.slider-container {
  margin: 15px 0;
}

.valores-precio {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  font-size: 0.85rem;
  color: #555;
  font-weight: 600;
}

.noUi-target {
  background: #f0f0f0;
  border: none;
  box-shadow: none;
  height: 4px;
  border-radius: 2px;
}

.noUi-connect {
  background: var(--sasa-rosado);
}

.noUi-handle {
  width: 18px;
  height: 18px;
  top: -7px;
  right: -9px;
  border-radius: 50%;
  background: var(--sasa-rosado);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  border: 2px solid white;
  cursor: pointer;
}

.noUi-handle:hover {
  background: var(--sasa-rosado-oscuro);
  transform: scale(1.1);
}

.boton-filtro {
  width: 100%;
  padding: 10px;
  background: var(--sasa-rosado);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 5px;
}

.boton-filtro:hover {
  background: var(--sasa-rosado-oscuro);
}

.cabecera-productos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.cabecera-productos h1,
#titulo-categoria {
  font-size: 1.8rem;
  color: var(--sasa-red-title);
  font-family: 'Fredoka', cursive;
  margin: 0;
}

#contenedor-forma-movil {
  display: none;
  margin-top: 10px;
  padding: 10px;
  background: #fff5f7;
  border: 2px solid var(--sasa-pink-card);
  border-radius: 12px;
}

#contenedor-forma-movil label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--sasa-rosado);
  font-size: 0.85rem;
}

.select-forma-movil {
  padding: 6px 12px;
  font-size: 0.8rem;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-pill);
  background: white;
  font-family: inherit;
  font-weight: 600;
}

@media (max-width: 768px) {
  .contenedor-categoria-productos {
    padding: 15px 4%;
    gap: 20px;
  }
  .sidebar-categoria {
    width: 200px;
  }
}

@media (max-width: 720px) {
  .sidebar-categoria {
    display: none;
  }
  .contenedor-categoria-productos {
    padding: 15px 3%;
  }
  #contenedor-forma-movil {
    display: block;
  }
}

@media (max-width: 480px) {
  .contenedor-categoria-productos {
    flex-direction: column;
    padding: 10px 2%;
  }
  .cabecera-productos {
    flex-direction: column;
    align-items: flex-start;
  }
  .cabecera-productos h1 {
    font-size: 1.4rem;
  }
}

.cabecera-resultados {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 10px;
}

#titulo-busqueda {
  font-size: 1.8rem;
  color: var(--sasa-red-title);
  font-family: 'Fredoka', cursive;
}

#contador-resultados {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 480px) {
  .cabecera-resultados {
    flex-direction: column;
    align-items: flex-start;
  }
  #titulo-busqueda {
    font-size: 1.4rem;
  }
  #contador-resultados {
    font-size: 0.85rem;
  }
}

body.todos-productos {
  background-color: var(--sasa-pink-bg);
}
