.lp-brand-weekend-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 0 0 8px;
  padding: 4px 8px;
  background: #d71920;
  color: #fff !important;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .02em;
  vertical-align: middle;
  white-space: nowrap;
}

.current-price .lp-brand-weekend-badge,
.product-price .lp-brand-weekend-badge {
  vertical-align: middle;
}

@media (max-width: 767px) {
  .lp-brand-weekend-badge {
    margin: 7px 0 0 0;
    padding: 5px 9px;
    font-size: 11px;
  }
}


/* Solo el importe actual de la ficha promocionada, nunca el contenedor. */
body.lp-brand-weekend-badge-active .lp-brand-weekend-current-amount {
  color: #d71920 !important;
}

/* Rótulo sobre imágenes de listados */
.product-miniature,
.js-product-miniature,
.thumbnail-container,
.product-miniature .thumbnail-container {
  position: relative;
}

.lp-brand-weekend-list-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  max-width: calc(100% - 20px);
  padding: 6px 10px;
  background: #d71920;
  color: #fff !important;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .02em;
  white-space: normal;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  pointer-events: none;
}

@media (max-width: 767px) {
  .lp-brand-weekend-list-badge {
    top: 8px;
    left: 8px;
    max-width: calc(100% - 16px);
    padding: 5px 8px;
    font-size: 10px;
  }
}


/* Rótulo sobre imágenes de listados: la etiqueta se recoloca por JS dentro de la imagen */
.lp-brand-weekend-list-badge[data-lp-brand-weekend-list-badge="1"] {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  z-index: 20 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: calc(100% - 20px) !important;
  padding: 6px 10px !important;
  background: #d71920 !important;
  color: #fff !important;
  border-radius: 2px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
  letter-spacing: .02em !important;
  white-space: normal !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.12) !important;
  pointer-events: none !important;
}

.product-miniature .thumbnail-container,
.js-product-miniature .thumbnail-container,
.product-miniature .product-thumbnail,
.js-product-miniature .product-thumbnail {
  position: relative !important;
}

@media (max-width: 767px) {
  .lp-brand-weekend-list-badge[data-lp-brand-weekend-list-badge="1"] {
    top: 8px !important;
    left: 8px !important;
    max-width: calc(100% - 16px) !important;
    padding: 5px 8px !important;
    font-size: 10px !important;
  }
}


/* Evita solaparse con la etiqueta nativa de descuento (-5%, -10%, etc.) */
.lp-brand-weekend-list-badge[data-lp-brand-weekend-list-badge="1"] {
  top: 42px !important;
  left: 10px !important;
}

@media (max-width: 767px) {
  .lp-brand-weekend-list-badge[data-lp-brand-weekend-list-badge="1"] {
    top: 36px !important;
    left: 8px !important;
  }
}


/* Posiciones configurables del banner en listados */
.lp-brand-weekend-list-badge.lp-bwb-pos-top-left[data-lp-brand-weekend-list-badge="1"] {
  top: 42px !important;   /* deja espacio al descuento nativo */
  left: 10px !important;
  right: auto !important;
  bottom: auto !important;
}

.lp-brand-weekend-list-badge.lp-bwb-pos-top-right[data-lp-brand-weekend-list-badge="1"] {
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  bottom: auto !important;
}

.lp-brand-weekend-list-badge.lp-bwb-pos-bottom-left[data-lp-brand-weekend-list-badge="1"] {
  bottom: 10px !important;
  left: 10px !important;
  top: auto !important;
  right: auto !important;
}

.lp-brand-weekend-list-badge.lp-bwb-pos-bottom-right[data-lp-brand-weekend-list-badge="1"] {
  bottom: 10px !important;
  right: 10px !important;
  top: auto !important;
  left: auto !important;
}

@media (max-width: 767px) {
  .lp-brand-weekend-list-badge.lp-bwb-pos-top-left[data-lp-brand-weekend-list-badge="1"] {
    top: 36px !important;
    left: 8px !important;
  }

  .lp-brand-weekend-list-badge.lp-bwb-pos-top-right[data-lp-brand-weekend-list-badge="1"] {
    top: 8px !important;
    right: 8px !important;
  }

  .lp-brand-weekend-list-badge.lp-bwb-pos-bottom-left[data-lp-brand-weekend-list-badge="1"] {
    bottom: 8px !important;
    left: 8px !important;
  }

  .lp-brand-weekend-list-badge.lp-bwb-pos-bottom-right[data-lp-brand-weekend-list-badge="1"] {
    bottom: 8px !important;
    right: 8px !important;
  }
}
