
/* =====================================================
   THE BABOO TEAM
   DECORACIONES DE TEMPORADA V1
   BABOO AFTER DARK - HALLOWEEN 2026
   ===================================================== */

.baboo-season-banner {
  position: sticky;
  top: 0;
  z-index: 120;
  width: 100%;
  box-sizing: border-box;
  background: #111;
  color: #fff;
  border-bottom: 2px solid #f58020;
}

.baboo-season-banner a {
  min-height: 42px;
  padding: 5px 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(9px, 2vw, 28px);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
}

.baboo-season-banner a:hover {
  background: #1c1c1c;
}

.baboo-season-title {
  color: #ff892b;
  font-size: 16px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: .025em;
}

.baboo-season-edition {
  color: #ededed;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.baboo-season-offer {
  color: #ff892b;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.baboo-season-note {
  color: #eee;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
}

.baboo-season-date {
  color: #ff892b;
  font-size: 11px;
  font-weight: 800;
}

.baboo-season-cta {
  border: 1px solid #f58020;
  color: #fff;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .03em;
}

html.baboo-season-on .retail-header {
  top: var(--baboo-season-height, 42px) !important;
}

/* Ajuste para navegación al catálogo */

html.baboo-season-on #catalogo {
  scroll-margin-top: 115px;
}

/* =====================================================
   MURCIÉLAGOS EN LAS TARJETAS DE PRODUCTOS
   No se modifican imágenes, precios ni etiquetas.
   ===================================================== */

html.baboo-season-on .product-card .product-image {
  position: relative;
}

html.baboo-season-on .product-card .product-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 43px;
  background: #ff861f;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 4;
  pointer-events: none;
}

html.baboo-season-on .product-card .product-image::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 26px;
  height: 19px;
  z-index: 5;
  pointer-events: none;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Cpath fill='%23141414' d='M32 8C29 2 24 2 22 9 15 3 8 2 1 5c5 3 7 6 7 9-4 2-6 5-5 10 5-2 9-1 13 2 1-4 3-6 7-6 2 5 5 8 9 11 4-3 7-6 9-11 4 0 6 2 7 6 4-3 8-4 13-2 1-5-1-8-5-10 0-3 2-6 7-9-7-3-14-2-21 4-2-7-7-7-10-1z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {

  .baboo-season-banner a {
    min-height: 36px;
    gap: 13px;
    padding: 5px 10px;
  }

  .baboo-season-title {
    font-size: 12px;
  }

  .baboo-season-offer {
    font-size: 17px;
  }

  .baboo-season-edition,
  .baboo-season-note,
  .baboo-season-date {
    display: none;
  }

  .baboo-season-cta {
    font-size: 9px;
    padding: 4px 9px;
  }

  html.baboo-season-on .product-card .product-image::before {
    width: 39px;
    height: 35px;
  }

  html.baboo-season-on .product-card .product-image::after {
    width: 22px;
    height: 16px;
    top: 4px;
    left: 4px;
  }
}

@media (max-width: 360px) {
  .baboo-season-banner a {
    gap: 8px;
  }

  .baboo-season-title {
    font-size: 11px;
  }

  .baboo-season-offer {
    font-size: 15px;
  }

  .baboo-season-cta {
    padding: 4px 6px;
  }
}


/* =====================================================
   BABOO HALLOWEEN - AJUSTES V1.1
   THE BABOO TEAM

   - Murciélagos a la esquina superior derecha
   - Murciélagos ligeramente más grandes
   - Fantasma y calabaza en los extremos del banner
   - Sin modificar la altura de la cinta
   ===================================================== */


/* -----------------------------------------------
   1. TARJETAS DE PRODUCTOS
   ----------------------------------------------- */

html.baboo-season-on
.product-card .product-image::before {

  left: auto;
  right: 0;

  width: 56px;
  height: 49px;

  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%
  );

}

html.baboo-season-on
.product-card .product-image::after {

  left: auto;
  right: 3px;

  top: 4px;

  width: 31px;
  height: 23px;

  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

}


/* -----------------------------------------------
   2. DECORACIÓN DE LOS EXTREMOS DEL BANNER
   ----------------------------------------------- */

html.baboo-season-on
.baboo-season-banner::before {

  content: "";

  position: absolute;

  left: clamp(18px, 4vw, 85px);
  top: 50%;

  transform: translateY(-50%);

  width: 30px;
  height: 30px;

  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0AviewBox%3D%220%200%2040%2040%22%3E%0A%3Cpath%20d%3D%22M9%2031V18a11%2011%200%200%201%2022%200v13%0Al-6-3-5%204-5-4-6%203Z%22%0Afill%3D%22%23ffffff%22%0Astroke%3D%22%23ff892b%22%0Astroke-width%3D%221.4%22%0Astroke-linejoin%3D%22round%22%2F%3E%0A%3Ccircle%20cx%3D%2216%22%20cy%3D%2219%22%20r%3D%222%22%20fill%3D%22%23191919%22%2F%3E%0A%3Ccircle%20cx%3D%2224%22%20cy%3D%2219%22%20r%3D%222%22%20fill%3D%22%23191919%22%2F%3E%0A%3Cpath%20d%3D%22M18%2025q2%202%204%200%22%0Astroke%3D%22%23191919%22%0Astroke-width%3D%221.5%22%0Astroke-linecap%3D%22round%22%0Afill%3D%22none%22%2F%3E%0A%3C%2Fsvg%3E");

  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  opacity: .95;

  pointer-events: none;

}

html.baboo-season-on
.baboo-season-banner::after {

  content: "";

  position: absolute;

  right: clamp(18px, 4vw, 85px);
  top: 50%;

  transform: translateY(-50%);

  width: 32px;
  height: 32px;

  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0AviewBox%3D%220%200%2040%2040%22%3E%0A%3Cpath%20d%3D%22M20%2012c0-5%202-7%206-7%22%0Afill%3D%22none%22%0Astroke%3D%22%2377a342%22%0Astroke-width%3D%223%22%0Astroke-linecap%3D%22round%22%2F%3E%0A%3Cpath%20d%3D%22M20%2012C13%208%207%2013%207%2021%0Ac0%209%206%2013%2013%2013s13-4%2013-13%0Ac0-8-6-13-13-9Z%22%0Afill%3D%22%23ff892b%22%0Astroke%3D%22%23c45a14%22%0Astroke-width%3D%221.5%22%2F%3E%0A%3Cpath%20d%3D%22M20%2012v21%22%0Afill%3D%22none%22%0Astroke%3D%22%23d86a19%22%0Astroke-width%3D%221.5%22%2F%3E%0A%3Cpath%20d%3D%22M14%2019l-3%205h6z%0AM26%2019l-3%205h6z%22%0Afill%3D%22%23191919%22%2F%3E%0A%3Cpath%20d%3D%22M14%2027q6%205%2012%200%22%0Afill%3D%22none%22%0Astroke%3D%22%23191919%22%0Astroke-width%3D%222.2%22%0Astroke-linecap%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E");

  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  opacity: .95;

  pointer-events: none;

}


/* -----------------------------------------------
   3. TABLET Y CELULAR
   ----------------------------------------------- */

/*
 * Ocultar adornos laterales cuando el espacio
 * sea reducido. Se conserva el contenido central.
 */

@media (max-width: 1350px) {

  html.baboo-season-on
  .baboo-season-banner::before,

  html.baboo-season-on
  .baboo-season-banner::after {

    display: none;

  }

}

@media (max-width: 900px) {

  html.baboo-season-on
  .product-card .product-image::before {

    left: auto;
    right: 0;

    width: 45px;
    height: 40px;

  }

  html.baboo-season-on
  .product-card .product-image::after {

    left: auto;
    right: 3px;

    top: 3px;

    width: 26px;
    height: 19px;

  }

}


/* =====================================================
   BABOO AFTER DARK - AJUSTES V1.2
   THE BABOO TEAM

   Murciélago del encabezado más visible.
   Mismo murciélago en tarjetas de productos.
   Fantasma eliminado.
   Calabaza junto a VER OFERTAS.
   ===================================================== */


/* 1. ELIMINAR ADORNOS DE LOS EXTREMOS */

html.baboo-season-on
.baboo-season-banner::before,

html.baboo-season-on
.baboo-season-banner::after {

  content: none !important;
  display: none !important;

}


/* 2. MURCIÉLAGO DEL ENCABEZADO */

html.baboo-season-on
.baboo-season-bat {

  display: inline-block;

  font-family:
    "Segoe UI Emoji",
    "Apple Color Emoji",
    "Noto Color Emoji",
    sans-serif;

  font-size: 25px;
  font-style: normal;
  font-weight: normal;

  line-height: 1;

  vertical-align: -0.15em;

  margin-right: 3px;

}


/* 3. CALABAZA JUNTO AL BOTÓN VER OFERTAS */

html.baboo-season-on
.baboo-season-cta-group {

  display: inline-flex;
  align-items: center;

  gap: 5px;

  flex-shrink: 0;

}

html.baboo-season-on
.baboo-season-pumpkin {

  display: inline-block;

  font-family:
    "Segoe UI Emoji",
    "Apple Color Emoji",
    "Noto Color Emoji",
    sans-serif;

  font-size: 23px;
  font-style: normal;

  line-height: 1;

}


/* 4. MURCIÉLAGOS EN TARJETAS DE PRODUCTOS */

/*
 * Conservamos la esquina naranja superior derecha.
 * Sustituimos el murciélago negro por el emoji
 * utilizado en el encabezado.
 */

html.baboo-season-on
.product-card .product-image::after {

  content: "🦇";

  background: none !important;
  background-image: none !important;

  display: flex;

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

  position: absolute;

  top: 3px;
  right: 2px;
  left: auto;

  width: 38px;
  height: 31px;

  font-family:
    "Segoe UI Emoji",
    "Apple Color Emoji",
    "Noto Color Emoji",
    sans-serif;

  font-size: 26px;
  font-style: normal;
  font-weight: normal;

  line-height: 1;

  z-index: 5;

  pointer-events: none;

}


/* 5. TABLET Y CELULAR */

@media (max-width: 900px) {

  html.baboo-season-on
  .baboo-season-bat {

    font-size: 19px;

    margin-right: 1px;

  }

  html.baboo-season-on
  .baboo-season-pumpkin {

    font-size: 19px;

  }

  html.baboo-season-on
  .product-card .product-image::after {

    top: 2px;
    right: 1px;
    left: auto;

    width: 31px;
    height: 26px;

    font-size: 22px;

  }

}

/*
 * En pantallas muy estrechas ocultamos
 * únicamente la calabaza del botón
 * para evitar desbordamiento horizontal.
 */

@media (max-width: 600px) {

  html.baboo-season-on
  .baboo-season-pumpkin {

    display: none;

  }

}



/* =====================================================
   BABOO MOBILE BANNER V1.3

   PRUEBA TEMPORAL DE DOS LINEAS

   Solo celulares.
   Escritorio permanece sin modificaciones.
   ===================================================== */

@media (max-width: 600px) {

  html.baboo-season-on
  .baboo-season-banner > a {

    display: grid;

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

    grid-template-rows:
      auto
      auto;

    align-items: center;

    column-gap: 6px;
    row-gap: 4px;

    min-height: 57px;

    padding: 6px 10px;

    white-space: normal;

    overflow: hidden;

  }

  /* PRIMERA LINEA */

  html.baboo-season-on
  .baboo-season-title {

    grid-column: 1 / 3;
    grid-row: 1;

    justify-self: start;

    font-size: 12px;

    white-space: nowrap;

  }

  html.baboo-season-on
  .baboo-season-offer {

    grid-column: 3;
    grid-row: 1;

    justify-self: end;

    font-size: 19px;

    white-space: nowrap;

  }

  /* SEGUNDA LINEA */

  html.baboo-season-on
  .baboo-season-banner .baboo-season-note {

    display: inline;

    grid-column: 1;
    grid-row: 2;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 0;

    white-space: nowrap;

  }

  html.baboo-season-on
  .baboo-season-banner .baboo-season-date {

    display: inline;

    grid-column: 2;
    grid-row: 2;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 0;

    white-space: nowrap;

  }

  html.baboo-season-on
  .baboo-season-cta-group {

    grid-column: 3;
    grid-row: 2;

    justify-self: end;

    gap: 0;

  }

  html.baboo-season-on
  .baboo-season-cta {

    font-size: 8px;

    padding: 4px 7px;

    white-space: nowrap;

  }

  /* Elementos que no necesitamos repetir */

  html.baboo-season-on
  .baboo-season-edition {

    display: none;

  }

  html.baboo-season-on
  .baboo-season-pumpkin {

    display: none;

  }

  /* Ajustar desplazamiento hacia el catalogo */

  html.baboo-season-on #catalogo {

    scroll-margin-top: 190px;

  }

}


/* CELULARES MAS ESTRECHOS */

@media (max-width: 360px) {

  html.baboo-season-on
  .baboo-season-banner > a {

    column-gap: 4px;

    padding-left: 7px;
    padding-right: 7px;

  }

  html.baboo-season-on
  .baboo-season-title {

    font-size: 10px;

  }

  html.baboo-season-on
  .baboo-season-bat {

    font-size: 17px;

  }

  html.baboo-season-on
  .baboo-season-offer {

    font-size: 16px;

  }

  html.baboo-season-on
  .baboo-season-banner .baboo-season-note,
  html.baboo-season-on
  .baboo-season-banner .baboo-season-date {

    font-size: 7px;

  }

  html.baboo-season-on
  .baboo-season-cta {

    font-size: 7px;
    padding: 4px 5px;

  }

}



/* =====================================================
   BABOO MOBILE BANNER V1.4
   THE BABOO TEAM

   Primera línea centrada.
   Segunda línea en tres posiciones.
   Halloween Edition en lugar de Productos Seleccionados.
   Calabaza visible junto a VER OFERTAS.
   Solo dispositivos móviles.
   ===================================================== */

@media (max-width: 600px) {

  html.baboo-season-on
  .baboo-season-banner > a {

    display: flex;
    flex-wrap: wrap;

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

    column-gap: 7px;
    row-gap: 4px;

    min-height: 57px;

    padding: 6px 9px;

    white-space: normal;
    overflow: hidden;

  }

  /* PRIMERA LINEA: CENTRADA */

  html.baboo-season-on
  .baboo-season-title {

    order: 0;

    flex: 0 0 auto;

    font-size: 12px;

    white-space: nowrap;
    text-align: center;

  }

  html.baboo-season-on
  .baboo-season-offer {

    order: 0;

    flex: 0 0 auto;

    font-size: 19px;

    white-space: nowrap;

  }

  /*
   * Salto visual entre primera
   * y segunda línea.
   */

  html.baboo-season-on
  .baboo-season-banner > a::before {

    content: "";

    display: block;

    order: 1;

    flex-basis: 100%;

    width: 100%;
    height: 0;

  }

  /* SEGUNDA LINEA: TRES POSICIONES */

  html.baboo-season-on
  .baboo-season-banner .baboo-season-edition {

    display: inline;

    order: 2;

    flex: 1 1 0;
    min-width: 0;

    margin: 0;

    text-align: left;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .01em;

    white-space: nowrap;

  }

  /* Ocultar texto anterior */

  html.baboo-season-on
  .baboo-season-banner .baboo-season-note {

    display: none;

  }

  /* Fecha en el centro */

  html.baboo-season-on
  .baboo-season-banner .baboo-season-date {

    display: inline;

    order: 2;

    flex: 1 1 0;
    min-width: 0;

    margin: 0;

    text-align: center;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 0;

    white-space: nowrap;

  }

  /* Botón y calabaza a la derecha */

  html.baboo-season-on
  .baboo-season-cta-group {

    display: inline-flex;

    order: 2;

    flex: 1 1 0;
    min-width: 0;

    margin: 0;

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

    gap: 3px;

    white-space: nowrap;

  }

  html.baboo-season-on
  .baboo-season-cta {

    font-size: 8px;

    padding: 4px 6px;

    white-space: nowrap;

  }

  html.baboo-season-on
  .baboo-season-pumpkin {

    display: inline-block;

    font-size: 17px;

    line-height: 1;

  }

}


/* CELULARES PEQUEÑOS */

@media (max-width: 360px) {

  html.baboo-season-on
  .baboo-season-banner > a {

    column-gap: 5px;

    padding-left: 6px;
    padding-right: 6px;

  }

  html.baboo-season-on
  .baboo-season-title {

    font-size: 10px;

  }

  html.baboo-season-on
  .baboo-season-offer {

    font-size: 16px;

  }

  html.baboo-season-on
  .baboo-season-banner .baboo-season-edition,

  html.baboo-season-on
  .baboo-season-banner .baboo-season-date {

    font-size: 7px;

  }

  html.baboo-season-on
  .baboo-season-cta {

    font-size: 7px;

    padding: 4px 5px;

  }

  html.baboo-season-on
  .baboo-season-pumpkin {

    font-size: 14px;

  }

}



/* =====================================================
   BABOO MOBILE BANNER V1.5

   Halloween Edition permanece a la izquierda.
   Fecha junto al botón VER OFERTAS.
   Primera línea centrada sin cambios.
   ===================================================== */

@media (max-width: 600px) {

  /* Halloween Edition ocupa el espacio izquierdo */

  html.baboo-season-on
  .baboo-season-banner .baboo-season-edition {

    flex: 1 1 0;
    min-width: 0;

    text-align: left;

  }

  /* Fecha sin espacio sobrante a su derecha */

  html.baboo-season-on
  .baboo-season-banner .baboo-season-date {

    flex: 0 0 auto;

    margin-left: auto;
    margin-right: 0;

    text-align: right;

  }

  /* Botón inmediatamente después de la fecha */

  html.baboo-season-on
  .baboo-season-cta-group {

    flex: 0 0 auto;

    margin-left: 0;

    justify-content: flex-end;

  }

  /* Separación discreta entre fecha y botón */

  html.baboo-season-on
  .baboo-season-banner > a {

    column-gap: 4px;

  }

}
