/* =========================================================
   DREAMS COSMETIC
   tienda.css

   Diseño:
   - Mobile First
   - Beauty / Cosmetic Premium
   - Inspirado en los colores del logo
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

  /* Marca */
  --rosa: #f06fa8;
  --rosa-fuerte: #e84f94;
  --rosa-claro: #fff0f7;

  --lila: #c9a7e8;
  --lila-claro: #f3eafd;
  --lila-profundo: #a77bd4;

  --amarillo: #f6cc48;

  /* Neutros */
  --blanco: #ffffff;
  --fondo: #fffafd;
  --fondo-suave: #faf7fc;

  --texto: #252027;
  --texto-secundario: #777078;
  --texto-suave: #aaa3aa;

  --borde: #eee8ef;

  /* Estados */
  --verde: #37a46d;
  --rojo: #dc5353;

  /* Sombras */
  --shadow-sm:
    0 4px 15px rgba(76, 51, 72, 0.06);

  --shadow-md:
    0 8px 25px rgba(76, 51, 72, 0.10);

  --shadow-lg:
    0 15px 40px rgba(76, 51, 72, 0.14);

  /* Radios */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  /* Transiciones */
  --transition:
    0.25s ease;

}


/* =========================================================
   RESET
========================================================= */

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


html {
  scroll-behavior: smooth;
}


body {

  font-family:
    "DM Sans",
    sans-serif;

  background:
    var(--fondo);

  color:
    var(--texto);

  min-height:
    100vh;

  padding-bottom:
    95px;

  overflow-x:
    hidden;

}


button,
input,
select {
  font: inherit;
}


button {
  cursor: pointer;
}


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


img {
  display: block;
  max-width: 100%;
}



/* =========================================================
   TOP BANNER
========================================================= */

.top-banner {

  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(
      90deg,
      var(--lila),
      #e4b8e9,
      #f3b7d5
    );

  color:
    white;

  font-size:
    11px;

  font-weight:
    600;

  letter-spacing:
    0.5px;

}



/* =========================================================
   HEADER
========================================================= */

.header {

  position:
    sticky;

  top:
    0;

  z-index:
    100;

  background:
    rgba(255, 255, 255, 0.96);

  backdrop-filter:
    blur(18px);

  border-bottom:
    1px solid rgba(238, 232, 239, 0.7);

}


.header-main {

  height:
    70px;

  padding:
    0 16px;

  display:
    grid;

  grid-template-columns:
    44px 1fr 44px;

  align-items:
    center;

  max-width:
    1300px;

  margin:
    auto;

}



/* =========================================================
   BOTONES ICONOS
========================================================= */

.icon-button {

  width:
    42px;

  height:
    42px;

  border:
    none;

  border-radius:
    50%;

  background:
    transparent;

  color:
    var(--texto);

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  font-size:
    19px;

  transition:
    var(--transition);

}


.icon-button:active {

  background:
    var(--rosa-claro);

  transform:
    scale(0.94);

}



/* =========================================================
   LOGO / MARCA
========================================================= */

.brand {

  display:
    flex;

  justify-content:
    center;

  align-items:
    center;

  gap:
    9px;

  min-width:
    0;

}


.brand-logo {

  width:
    43px;

  height:
    43px;

  object-fit:
    cover;

  border-radius:
    50%;

  box-shadow:
    0 3px 10px rgba(201, 167, 232, 0.25);

}


.brand-text {

  display:
    flex;

  flex-direction:
    column;

  line-height:
    1;

}


.brand-name {

  font-family:
    "Playfair Display",
    serif;

  font-size:
    20px;

  font-weight:
    700;

  color:
    var(--rosa-fuerte);

}


.brand-subtitle {

  font-size:
    7px;

  letter-spacing:
    3px;

  font-weight:
    700;

  color:
    var(--lila-profundo);

  margin-top:
    4px;

}



/* =========================================================
   CARRITO HEADER
========================================================= */

.cart-header {
  position: relative;
}


.cart-counter {

  position:
    absolute;

  top:
    2px;

  right:
    0;

  min-width:
    18px;

  height:
    18px;

  padding:
    0 4px;

  border-radius:
    50px;

  background:
    var(--rosa-fuerte);

  color:
    white;

  font-size:
    10px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  border:
    2px solid white;

}



/* =========================================================
   BUSCADOR
========================================================= */

.search-container {

  margin:
    0 15px 13px;

  height:
    46px;

  display:
    flex;

  align-items:
    center;

  gap:
    10px;

  padding:
    0 14px;

  background:
    var(--fondo-suave);

  border:
    1px solid var(--borde);

  border-radius:
    50px;

  transition:
    var(--transition);

}


.search-container:focus-within {

  background:
    white;

  border-color:
    var(--lila);

  box-shadow:
    0 0 0 3px rgba(201, 167, 232, 0.13);

}


.search-container > i {

  color:
    var(--texto-secundario);

  font-size:
    14px;

}


.search-container input {

  flex:
    1;

  border:
    none;

  outline:
    none;

  background:
    transparent;

  font-size:
    14px;

  min-width:
    0;

  color:
    var(--texto);

}


.search-container input::placeholder {
  color: var(--texto-suave);
}


.clear-search {

  border:
    none;

  background:
    transparent;

  color:
    var(--texto-suave);

  width:
    26px;

  height:
    26px;

  display:
    none;

  align-items:
    center;

  justify-content:
    center;

}



/* =========================================================
   CATEGORÍAS
========================================================= */

.categories-section {

  padding:
    14px 0 8px;

}


.categories-scroll {

  display:
    flex;

  gap:
    9px;

  overflow-x:
    auto;

  padding:
    0 15px 7px;

  scrollbar-width:
    none;

}


.categories-scroll::-webkit-scrollbar {
  display: none;
}


.category-pill {

  flex:
    0 0 auto;

  border:
    1px solid var(--borde);

  background:
    white;

  color:
    var(--texto-secundario);

  padding:
    9px 16px;

  border-radius:
    50px;

  font-size:
    12px;

  font-weight:
    600;

  transition:
    var(--transition);

}


.category-pill.active {

  border-color:
    var(--rosa-fuerte);

  background:
    var(--rosa-fuerte);

  color:
    white;

  box-shadow:
    0 5px 12px rgba(232, 79, 148, 0.20);

}



/* =========================================================
   HERO
========================================================= */

.hero {

  position:
    relative;

  overflow:
    hidden;

  margin:
    10px 15px 25px;

  padding:
    29px 23px;

  min-height:
    185px;

  border-radius:
    var(--radius-lg);

  background:
    linear-gradient(
      135deg,
      #f0dafa,
      #fbd9e8 55%,
      #fff0d8
    );

}


.hero-content {

  position:
    relative;

  z-index:
    2;

  max-width:
    70%;

}


.hero-label {

  display:
    inline-block;

  font-size:
    9px;

  letter-spacing:
    2px;

  font-weight:
    800;

  color:
    var(--lila-profundo);

  margin-bottom:
    8px;

}


.hero h1 {

  font-family:
    "Playfair Display",
    serif;

  font-size:
    clamp(26px, 8vw, 39px);

  line-height:
    1;

  letter-spacing:
    -1px;

}


.hero h1 span {

  color:
    var(--rosa-fuerte);

}


.hero p {

  margin-top:
    10px;

  font-size:
    11px;

  line-height:
    1.5;

  color:
    var(--texto-secundario);

}


.hero-button {

  display:
    inline-flex;

  margin-top:
    16px;

  background:
    var(--texto);

  color:
    white;

  padding:
    10px 17px;

  border-radius:
    50px;

  font-size:
    11px;

  font-weight:
    700;

}


.hero-decoration {

  position:
    absolute;

  right:
    -20px;

  top:
    0;

  width:
    45%;

  height:
    100%;

}


.circle {

  position:
    absolute;

  border-radius:
    50%;

}


.circle-one {

  width:
    120px;

  height:
    120px;

  right:
    -5px;

  top:
    17px;

  background:
    rgba(255, 255, 255, 0.36);

  border:
    1px solid rgba(255, 255, 255, 0.65);

}


.circle-two {

  width:
    55px;

  height:
    55px;

  right:
    67px;

  bottom:
    15px;

  background:
    rgba(246, 204, 72, 0.24);

}



/* =========================================================
   ENCABEZADOS DE SECCIÓN
========================================================= */

.section-heading {

  padding:
    0 15px;

  display:
    flex;

  align-items:
    flex-end;

  justify-content:
    space-between;

  gap:
    10px;

}


.section-eyebrow {

  display:
    block;

  font-size:
    8px;

  letter-spacing:
    1.7px;

  font-weight:
    800;

  color:
    var(--lila-profundo);

  margin-bottom:
    4px;

}


.section-heading h2 {

  font-family:
    "Playfair Display",
    serif;

  font-size:
    24px;

  line-height:
    1.1;

}


.text-button {

  border:
    none;

  background:
    transparent;

  color:
    var(--rosa-fuerte);

  font-size:
    12px;

  font-weight:
    700;

}



/* =========================================================
   OFERTAS
========================================================= */

.offers-section {

  margin-bottom:
    30px;

}


.offers-scroll {

  display:
    flex;

  gap:
    13px;

  overflow-x:
    auto;

  padding:
    15px;

  scrollbar-width:
    none;

}


.offers-scroll::-webkit-scrollbar {
  display: none;
}



/* =========================================================
   SECCIÓN PRODUCTOS
========================================================= */

.products-section {

  padding-bottom:
    35px;

}


.filter-button {

  border:
    1px solid var(--borde);

  background:
    white;

  border-radius:
    50px;

  padding:
    8px 12px;

  display:
    flex;

  align-items:
    center;

  gap:
    6px;

  color:
    var(--texto-secundario);

  font-size:
    11px;

  font-weight:
    600;

}


.results-info {

  padding:
    12px 15px 5px;

  font-size:
    10px;

  color:
    var(--texto-suave);

}



/* =========================================================
   GRID PRODUCTOS

   MUY IMPORTANTE:
   2 productos por fila en celular.
========================================================= */

.products-grid {

  display:
    grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  column-gap:
    10px;

  row-gap:
    22px;

  padding:
    10px 15px;

}



/* =========================================================
   TARJETA PRODUCTO
========================================================= */

.product-card {

  position:
    relative;

  min-width:
    0;

}


.product-image-container {

  position:
    relative;

  width:
    100%;

  aspect-ratio:
    1 / 1.15;

  overflow:
    hidden;

  border-radius:
    16px;

  background:
    #f5f1f5;

}


.product-image-container img {

  width:
    100%;

  height:
    100%;

  object-fit:
    cover;

  transition:
    transform 0.35s ease;

}


.product-card:active
.product-image-container img {

  transform:
    scale(1.03);

}



/* =========================================================
   ETIQUETAS PRODUCTOS
========================================================= */

.product-badge {

  position:
    absolute;

  top:
    8px;

  left:
    8px;

  z-index:
    2;

  padding:
    5px 8px;

  border-radius:
    50px;

  font-size:
    8px;

  font-weight:
    800;

  letter-spacing:
    0.4px;

}


.product-badge.offer {

  color:
    white;

  background:
    var(--rosa-fuerte);

}


.product-badge.sold-out {

  color:
    white;

  background:
    rgba(37, 32, 39, 0.82);

}



/* =========================================================
   BOTÓN AGREGAR PRODUCTO
========================================================= */

.add-product-button {

  position:
    absolute;

  right:
    8px;

  bottom:
    8px;

  width:
    35px;

  height:
    35px;

  border:
    none;

  border-radius:
    50%;

  background:
    rgba(255, 255, 255, 0.95);

  color:
    var(--rosa-fuerte);

  display:
    flex;

  justify-content:
    center;

  align-items:
    center;

  box-shadow:
    var(--shadow-sm);

  font-size:
    14px;

  transition:
    var(--transition);

}


.add-product-button:active {

  transform:
    scale(0.88);

}


.add-product-button:disabled {

  background:
    rgba(235, 235, 235, 0.95);

  color:
    #aaa;

}



/* =========================================================
   INFORMACIÓN PRODUCTO
========================================================= */

.product-info {

  padding:
    9px 3px 0;

}


.product-category {

  font-size:
    8px;

  font-weight:
    700;

  text-transform:
    uppercase;

  letter-spacing:
    0.8px;

  color:
    var(--lila-profundo);

  margin-bottom:
    4px;

}


.product-name {

  font-size:
    13px;

  font-weight:
    600;

  line-height:
    1.3;

  display:
    -webkit-box;

  -webkit-line-clamp:
    2;

  -webkit-box-orient:
    vertical;

  overflow:
    hidden;

}


.product-price-row {

  display:
    flex;

  align-items:
    center;

  flex-wrap:
    wrap;

  gap:
    6px;

  margin-top:
    6px;

}


.product-price {

  font-size:
    14px;

  font-weight:
    800;

  color:
    var(--texto);

}


.product-old-price {

  font-size:
    10px;

  color:
    var(--texto-suave);

  text-decoration:
    line-through;

}


.product-stock {

  margin-top:
    4px;

  font-size:
    9px;

  color:
    var(--verde);

  font-weight:
    600;

}


.product-stock.out {

  color:
    var(--rojo);

}



/* =========================================================
   PRODUCTO AGOTADO
========================================================= */

.product-card.is-sold-out
.product-image-container img {

  filter:
    grayscale(25%);

  opacity:
    0.58;

}



/* =========================================================
   SKELETON CARGA
========================================================= */

.product-skeleton {

  width:
    100%;

}


.skeleton-image {

  width:
    100%;

  aspect-ratio:
    1 / 1.15;

  border-radius:
    16px;

  background:
    linear-gradient(
      90deg,
      #f1edf2 25%,
      #f8f6f8 50%,
      #f1edf2 75%
    );

  background-size:
    200% 100%;

  animation:
    skeleton 1.4s infinite;

}


.skeleton-line {

  width:
    60%;

  height:
    9px;

  margin-top:
    7px;

  border-radius:
    20px;

  background:
    #eee9ef;

}


.skeleton-line.large {
  width: 85%;
}


@keyframes skeleton {

  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }

}



/* =========================================================
   SIN RESULTADOS
========================================================= */

.empty-state {

  text-align:
    center;

  padding:
    45px 25px;

}


.empty-icon {

  width:
    65px;

  height:
    65px;

  margin:
    auto;

  border-radius:
    50%;

  background:
    var(--lila-claro);

  display:
    flex;

  justify-content:
    center;

  align-items:
    center;

  color:
    var(--lila-profundo);

  font-size:
    22px;

}


.empty-state h3 {

  margin-top:
    14px;

  font-size:
    17px;

}


.empty-state p {

  margin-top:
    5px;

  color:
    var(--texto-secundario);

  font-size:
    12px;

}



/* =========================================================
   CARRITO FLOTANTE
========================================================= */

.floating-cart {

  position:
    fixed;

  left:
    50%;

  bottom:
    80px;

  transform:
    translateX(-50%);

  z-index:
    150;

  width:
    calc(100% - 30px);

  max-width:
    430px;

  min-height:
    53px;

  padding:
    7px 14px;

  border:
    none;

  border-radius:
    50px;

  background:
    var(--texto);

  color:
    white;

  display:
    none;

  align-items:
    center;

  justify-content:
    space-between;

  box-shadow:
    0 12px 30px rgba(37, 32, 39, 0.28);

}


.floating-cart.visible {
  display: flex;
}


.floating-cart-icon {

  position:
    relative;

  width:
    37px;

  height:
    37px;

  border-radius:
    50%;

  background:
    rgba(255, 255, 255, 0.12);

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

}


.floating-counter {

  position:
    absolute;

  top:
    -5px;

  right:
    -6px;

  min-width:
    17px;

  height:
    17px;

  padding:
    0 4px;

  border-radius:
    50px;

  background:
    var(--rosa-fuerte);

  font-size:
    9px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

}


.floating-cart-info {

  display:
    flex;

  flex-direction:
    column;

  align-items:
    flex-end;

}


.floating-cart-info span {

  font-size:
    9px;

  color:
    rgba(255, 255, 255, 0.7);

}


.floating-cart-info strong {

  font-size:
    13px;

}



/* =========================================================
   BOTTOM NAVIGATION
========================================================= */

.bottom-navigation {

  position:
    fixed;

  left:
    0;

  right:
    0;

  bottom:
    0;

  height:
    68px;

  background:
    rgba(255, 255, 255, 0.97);

  backdrop-filter:
    blur(20px);

  border-top:
    1px solid var(--borde);

  display:
    grid;

  grid-template-columns:
    repeat(4, 1fr);

  z-index:
    200;

  padding-bottom:
    env(safe-area-inset-bottom);

}


.nav-item {

  border:
    none;

  background:
    transparent;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  justify-content:
    center;

  gap:
    5px;

  color:
    var(--texto-suave);

  font-size:
    9px;

  font-weight:
    600;

}


.nav-item i {

  font-size:
    17px;

}


.nav-item.active {

  color:
    var(--rosa-fuerte);

}


.nav-cart-icon {

  position:
    relative;

}


.nav-cart-counter {

  position:
    absolute;

  top:
    -7px;

  right:
    -11px;

  min-width:
    16px;

  height:
    16px;

  padding:
    0 3px;

  background:
    var(--rosa-fuerte);

  color:
    white;

  border-radius:
    20px;

  font-size:
    8px;

  display:
    flex;

  justify-content:
    center;

  align-items:
    center;

}



/* =========================================================
   OVERLAY
========================================================= */

.overlay {

  position:
    fixed;

  inset:
    0;

  z-index:
    400;

  background:
    rgba(30, 22, 29, 0.44);

  backdrop-filter:
    blur(2px);

  opacity:
    0;

  visibility:
    hidden;

  transition:
    var(--transition);

}


.overlay.active {

  opacity:
    1;

  visibility:
    visible;

}



/* =========================================================
   PANEL FILTROS
========================================================= */

.filter-panel {

  position:
    fixed;

  left:
    0;

  right:
    0;

  bottom:
    0;

  z-index:
    500;

  max-height:
    83vh;

  background:
    white;

  border-radius:
    25px 25px 0 0;

  transform:
    translateY(105%);

  transition:
    transform 0.3s ease;

}


.filter-panel.active {
  transform: translateY(0);
}


.filter-panel-header {

  padding:
    20px;

  border-bottom:
    1px solid var(--borde);

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

}


.filter-panel-header h2 {

  font-family:
    "Playfair Display",
    serif;

  font-size:
    24px;

}


.close-button {

  width:
    38px;

  height:
    38px;

  border:
    none;

  border-radius:
    50%;

  background:
    var(--fondo-suave);

  display:
    flex;

  justify-content:
    center;

  align-items:
    center;

  color:
    var(--texto);

}


.filter-content {

  padding:
    20px;

  max-height:
    55vh;

  overflow-y:
    auto;

}


.filter-group {

  margin-bottom:
    26px;

}


.filter-group h3 {

  margin-bottom:
    12px;

  font-size:
    13px;

}


.filter-option {

  min-height:
    42px;

  display:
    flex;

  align-items:
    center;

  gap:
    10px;

  font-size:
    13px;

  border-bottom:
    1px solid var(--borde);

}


.filter-option input {
  accent-color: var(--rosa-fuerte);
}


.filter-group select {

  width:
    100%;

  padding:
    12px;

  border:
    1px solid var(--borde);

  border-radius:
    12px;

  outline:
    none;

  background:
    white;

}


.filter-footer {

  padding:
    14px 20px 20px;

  display:
    grid;

  grid-template-columns:
    1fr 1.6fr;

  gap:
    10px;

  border-top:
    1px solid var(--borde);

}


.primary-button,
.secondary-button {

  min-height:
    45px;

  border-radius:
    50px;

  font-weight:
    700;

  font-size:
    12px;

}


.primary-button {

  border:
    none;

  background:
    var(--rosa-fuerte);

  color:
    white;

}


.secondary-button {

  border:
    1px solid var(--borde);

  background:
    white;

  color:
    var(--texto);

}



/* =========================================================
   MENÚ MÓVIL
========================================================= */

.mobile-menu {

  position:
    fixed;

  top:
    0;

  left:
    0;

  bottom:
    0;

  width:
    min(85%, 340px);

  z-index:
    510;

  background:
    white;

  transform:
    translateX(-105%);

  transition:
    transform 0.3s ease;

  display:
    flex;

  flex-direction:
    column;

}


.mobile-menu.active {
  transform: translateX(0);
}


.mobile-menu-header {

  height:
    82px;

  padding:
    0 17px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  border-bottom:
    1px solid var(--borde);

}


.menu-brand {

  display:
    flex;

  align-items:
    center;

  gap:
    9px;

  font-family:
    "Playfair Display",
    serif;

  font-weight:
    700;

}


.menu-brand img {

  width:
    43px;

  height:
    43px;

  border-radius:
    50%;

  object-fit:
    cover;

}


.mobile-menu-content {

  flex:
    1;

  padding:
    17px;

}


.mobile-menu-content a,
.mobile-menu-content button {

  width:
    100%;

  min-height:
    52px;

  border:
    none;

  border-bottom:
    1px solid var(--borde);

  background:
    white;

  display:
    flex;

  align-items:
    center;

  gap:
    14px;

  color:
    var(--texto);

  font-size:
    13px;

  text-align:
    left;

}


.mobile-menu-content i {

  width:
    20px;

  color:
    var(--rosa-fuerte);

  font-size:
    16px;

}


.mobile-menu-footer {

  margin:
    15px;

  padding:
    17px;

  border-radius:
    16px;

  background:
    linear-gradient(
      135deg,
      var(--lila-claro),
      var(--rosa-claro)
    );

}


.mobile-menu-footer p {

  font-family:
    "Playfair Display",
    serif;

  font-weight:
    700;

  color:
    var(--rosa-fuerte);

}


.mobile-menu-footer span {

  display:
    block;

  margin-top:
    4px;

  font-size:
    10px;

  color:
    var(--texto-secundario);

}



/* =========================================================
   CELULARES MUY PEQUEÑOS
========================================================= */

@media (max-width: 350px) {

  .products-grid {

    column-gap:
      8px;

    padding-left:
      10px;

    padding-right:
      10px;

  }


  .product-name {
    font-size: 12px;
  }


  .brand-name {
    font-size: 17px;
  }


  .brand-logo {

    width:
      38px;

    height:
      38px;

  }

}



/* =========================================================
   TABLETS
========================================================= */

@media (min-width: 600px) {

  .products-grid {

    grid-template-columns:
      repeat(3, minmax(0, 1fr));

  }


  .hero {

    min-height:
      230px;

  }


  .hero-content {
    max-width: 55%;
  }

}



/* =========================================================
   COMPUTADORA

   No es prioridad para clientes, pero tampoco permitiremos
   que la tienda se vea mal si alguien entra desde PC.
========================================================= */

@media (min-width: 900px) {

  body {
    padding-bottom: 30px;
  }


  .header-main {

    height:
      80px;

    padding:
      0 30px;

  }


  .search-container {

    max-width:
      800px;

    margin-left:
      auto;

    margin-right:
      auto;

  }


  main {

    max-width:
      1250px;

    margin:
      auto;

  }


  .products-grid {

    grid-template-columns:
      repeat(4, minmax(0, 1fr));

    gap:
      25px;

  }


  .hero {

    min-height:
      310px;

    padding:
      50px;

  }


  .hero h1 {
    font-size: 50px;
  }


  .hero p {
    font-size: 14px;
  }


  .bottom-navigation {
    display: none;
  }


  .floating-cart {
    bottom: 25px;
  }


  .product-image-container {
    border-radius: 20px;
  }


  .product-name {
    font-size: 15px;
  }


  .product-price {
    font-size: 16px;
  }


  .filter-panel {

    left:
      auto;

    top:
      0;

    width:
      400px;

    max-height:
      100%;

    border-radius:
      0;

    transform:
      translateX(105%);

  }


  .filter-panel.active {
    transform: translateX(0);
  }

}



/* =========================================================
   PANTALLAS GRANDES
========================================================= */

@media (min-width: 1200px) {

  .products-grid {

    grid-template-columns:
      repeat(5, minmax(0, 1fr));

  }

}

.offer-card {
  flex: 0 0 135px;
  min-width: 0;
  cursor: pointer;
}

.offer-card-image {
  position: relative;
  width: 135px;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  border-radius: 17px;
  background: var(--fondo-suave);
}

.offer-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-card-image span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border-radius: 50px;
  background: var(--rosa-fuerte);
  color: white;
  font-size: 8px;
  font-weight: 800;
}

.offer-card-info {
  padding: 8px 2px 0;
}

.offer-card-info p {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offer-card-info strong {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

@media (min-width: 600px) {
  .offer-card {
    flex-basis: 165px;
  }

  .offer-card-image {
    width: 165px;
  }

  .offer-card-info p {
    font-size: 12px;
  }

  .offer-card-info strong {
    font-size: 14px;
  }
}

@media (min-width: 900px) {
  .offer-card {
    flex-basis: 185px;
  }

  .offer-card-image {
    width: 185px;
  }
}

.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 145px;
  transform: translate(-50%, 20px);
  width: calc(100% - 40px);
  max-width: 380px;
  padding: 12px 16px;
  border-radius: 50px;
  background: rgba(37, 32, 39, 0.96);
  color: white;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  z-index: 900;
  box-shadow: 0 12px 30px rgba(37, 32, 39, 0.25);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.cart-toast.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (min-width: 600px) {
  .cart-toast {
    font-size: 12px;
  }
}

@media (min-width: 900px) {
  .cart-toast {
    bottom: 90px;
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background:
    radial-gradient(
      circle at 50% 38%,
      rgba(240, 111, 168, 0.12),
      transparent 32%
    ),
    radial-gradient(
      circle at 25% 75%,
      rgba(201, 167, 232, 0.18),
      transparent 28%
    ),
    #fffafd;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.55s ease,
    visibility 0.55s ease;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  width: min(100%, 320px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.loader-logo-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  position: relative;
  z-index: 4;
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  background: white;
  box-shadow:
    0 10px 30px rgba(167, 123, 212, 0.16),
    0 0 0 7px rgba(255, 255, 255, 0.8);
  animation:
    loaderLogoEnter 0.8s cubic-bezier(.22, 1, .36, 1) both,
    loaderLogoFloat 2.4s ease-in-out 0.8s infinite;
}

.loader-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.loader-ring-one {
  width: 112px;
  height: 112px;
  border: 1px solid rgba(232, 79, 148, 0.26);
  animation: loaderPulse 1.8s ease-out infinite;
}

.loader-ring-two {
  width: 128px;
  height: 128px;
  border: 1px solid rgba(167, 123, 212, 0.18);
  animation: loaderPulse 1.8s ease-out 0.45s infinite;
}

.loader-spark {
  position: absolute;
  z-index: 5;
  color: var(--amarillo);
  font-size: 13px;
  opacity: 0;
  animation: loaderSpark 1.7s ease-in-out infinite;
}

.spark-one {
  right: 11px;
  top: 22px;
}

.spark-two {
  left: 8px;
  bottom: 29px;
  animation-delay: 0.4s;
}

.spark-three {
  right: 20px;
  bottom: 7px;
  font-size: 9px;
  animation-delay: 0.8s;
}

.loader-brand {
  margin-top: 12px;
  font-family: "Playfair Display", serif;
  color: var(--rosa-fuerte);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  transform: translateY(10px);
  animation: loaderTextEnter 0.6s ease 0.28s forwards;
}

.loader-brand span {
  display: block;
  margin-top: 6px;
  color: var(--lila-profundo);
  font-family: "DM Sans", sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.loader-content p {
  margin-top: 16px;
  color: var(--texto-secundario);
  font-size: 10px;
  opacity: 0;
  animation: loaderTextEnter 0.6s ease 0.46s forwards;
}

.loader-progress {
  width: 115px;
  height: 3px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 50px;
  background: rgba(201, 167, 232, 0.18);
}

.loader-progress span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      var(--lila),
      var(--rosa-fuerte)
    );
  animation: loaderProgress 1.1s ease-in-out infinite;
}

@keyframes loaderLogoEnter {
  0% {
    opacity: 0;
    transform: scale(0.65) rotate(-8deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes loaderLogoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes loaderPulse {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.75);
  }

  45% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.18);
  }
}

@keyframes loaderSpark {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.5) rotate(0);
  }

  50% {
    opacity: 1;
    transform: scale(1.15) rotate(35deg);
  }
}

@keyframes loaderTextEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderProgress {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(245%);
  }
}

@media (min-width: 600px) {
  .loader-logo-wrap {
    width: 150px;
    height: 150px;
  }

  .loader-logo {
    width: 100px;
    height: 100px;
  }

  .loader-ring-one {
    width: 126px;
    height: 126px;
  }

  .loader-ring-two {
    width: 145px;
    height: 145px;
  }

  .loader-brand {
    font-size: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader-logo,
  .loader-ring,
  .loader-spark,
  .loader-progress span {
    animation: none;
  }

  .loader-logo {
    opacity: 1;
  }

  .loader-brand,
  .loader-content p {
    opacity: 1;
    transform: none;
    animation: none;
  }
}