/**
 * GDW Promociones
 *
 * @author    GrupoDW
 * @copyright Since 2026 GrupoDW
 */
/* GDW Promociones - tienda */

/* Etiqueta en miniaturas y en la foto de la ficha. El tema de Lienzo oculta todas las etiquetas
   («Nuevo», descuentos): se muestra sólo la de la promoción y las demás siguen ocultas. */
body .product-miniature .product-flags:has(.gdwp-flag),
#product .product-cover .product-flags:has(.gdwp-flag),
.product-flags:has(.gdwp-flag) { display: flex !important; flex-flow: column; align-items: flex-start; gap: 4px; opacity: 1; visibility: visible; }
body .product-miniature .product-flags:has(.gdwp-flag) > .product-flag:not(.gdwp-flag),
#product .product-cover .product-flags:has(.gdwp-flag) > .product-flag:not(.gdwp-flag) { display: none !important; }
li.product-flag.gdwp-flag { display: inline-block !important; margin: 0 !important; padding: 4px 8px !important; border-radius: 3px; font-size: 12px !important; font-weight: 600; letter-spacing: .02em; line-height: 1.25; text-transform: none; box-shadow: none; }
li.product-flag.gdwp-flag::after { content: none; }
.gdwp-flag { display: inline-block; padding: 2px 7px; border-radius: 3px; font-size: .78em; font-weight: 700; line-height: 1.35; white-space: nowrap; }

/* Línea de la ficha junto a «Añadir al carrito» */
.gdwp-infos { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 14px; }
.gdwp-info { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 12px; border-radius: 4px; background: color-mix(in srgb, var(--gdwp-c, #a14b2f) 7%, #fff); border: 1px solid color-mix(in srgb, var(--gdwp-c, #a14b2f) 22%, #fff); font-size: .92em; line-height: 1.35; }
.gdwp-info__badge { flex: none; }
.gdwp-info__text { min-width: 0; }

/* Avisos del carrito */
.gdwp-hints { margin: 14px 0; }
.gdwp-hints[hidden] { display: none; }
.gdwp-hints__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gdwp-hint { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 12px; border-radius: 8px; background: #fbf6ee; color: #5b4636; font-size: .92em; line-height: 1.35; }
.gdwp-hint.is-ok { background: #eef7f0; color: #24533a; }
.gdwp-hint.is-note { background: #f1f4f8; color: #3d4b5c; }
.gdwp-hint__i { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,0,0,.08); color: inherit; font-size: 12px; font-weight: 700; line-height: 1; }
.gdwp-hint > span:nth-child(2) { flex: 1; min-width: 0; }
.gdwp-hint__add { flex: none; border: 1px solid currentColor; background: #fff; color: inherit; border-radius: 999px; padding: 4px 12px; font-size: .9em; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background-color .15s ease; }
.gdwp-hint__add:hover { background: rgba(255,255,255,.6); }
.gdwp-hint__add:disabled { opacity: .5; cursor: wait; }
.gdwp-hints--modal { margin: 14px 0 0; }
.gdwp-hints--checkout { margin: 0 0 12px; padding: 0 1rem; }

/* Nota en cada línea del carrito */
.gdwp-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 6px; font-size: .85em; color: #24533a; }

/* Aviso flotante (si el tema no usa la ventana de «Producto añadido») */
.gdwp-toast { position: fixed; left: 50%; bottom: 18px; z-index: 10050; width: min(460px, calc(100vw - 32px)); transform: translate(-50%, 140%); transition: transform .3s cubic-bezier(.23,1,.32,1); background: #fff; border-radius: 12px; box-shadow: 0 14px 40px rgba(0,0,0,.18); padding: 10px 40px 10px 10px; }
.gdwp-toast.is-visible { transform: translate(-50%, 0); }
.gdwp-toast .gdwp-hints { margin: 0; }
.gdwp-toast__x { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: #666; padding: 4px; }
@media (prefers-reduced-motion: reduce) { .gdwp-toast { transition: none; } }

/* Página de la promoción: distribución de la cabecera (el aspecto lo da el modelo de banner) */
.gdwp-hero-wrap { margin-top: 24px; }
.gdwp-hero { display: flex; align-items: center; gap: 20px; margin: 0 0 8px; padding: 24px 26px; border-radius: 8px; }
.gdwp-hero__badge { width: 92px; height: 92px; padding: 10px; font-size: 1.05em; }
.gdwp-hero__badge .gdwp-icon { width: 28px; height: 28px; }
.gdwp-hero__body { min-width: 0; }
.gdwp-hero__title { margin: 0 0 4px; color: inherit; }
.gdwp-hero .gdwp-hero__title, .gdwp-hero #js-product-list-header.gdwp-hero__title { font-family: inherit !important; font-size: 26px !important; font-weight: 700 !important; line-height: 1.2 !important;
  letter-spacing: -.01em !important; text-transform: none !important; }
/* El tema repite debajo el nombre de la página («2X1 En Isdin»): ya está en la cabecera */
body.gdwp-promo-page .categoriesBreadcrumbs { display: none; }
.gdwp-hero__info { margin: 0 0 6px; font-size: 1.05em; }
.gdwp-hero__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; font-size: .88em; }
.gdwp-hero .gdwp-banner__mark { right: 7%; width: 170px; height: 170px; margin-top: -85px; }
.gdwp-hero .gdwp-banner__deco i:nth-child(1) { width: 190px; height: 190px; top: -100px; right: 12%; }
.gdwp-hero .gdwp-banner__deco i:nth-child(2) { width: 110px; height: 110px; bottom: -50px; }
@media (max-width: 575px) {
  .gdwp-hero { flex-direction: column; align-items: flex-start; padding: 18px; }
  .gdwp-hero__badge { width: 72px; height: 72px; font-size: .85em; }
  .gdwp-hero .gdwp-hero__title, .gdwp-hero #js-product-list-header.gdwp-hero__title { font-size: 21px !important; }
  .gdwp-hero__badge .gdwp-icon { width: 22px; height: 22px; }
  .gdwp-hero .gdwp-banner__mark { right: -30px; width: 120px; height: 120px; margin-top: -60px; }
}
.gdwp-info__more { margin-left: 4px; font-weight: 600; color: var(--gdwp-c, #a14b2f); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

/* =====================================================================
 * Banners de promoción (tarjeta del buscador GDW y cabecera de la página de la promoción).
 * Clases: gdwp-banner--p-{modelo} --bg-{fondo} --shadow-{sombra} --icon-{icono} --seal-{sello} --anim-{animación}
 * Variables: --gdwp-c (color de la promoción), --gdwp-t (texto sobre el color)
 * =================================================================== */
.gdwp-banner { --gdwp-pat: color-mix(in srgb, var(--gdwp-c, #a14b2f) 30%, transparent); position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid color-mix(in srgb, var(--gdwp-c, #a14b2f) 32%, #fff); }
.gdwp-banner > * { position: relative; z-index: 1; }
.gdwp-banner > .gdwp-banner__deco, .gdwp-banner > .gdwp-banner__mark { position: absolute; z-index: 0; pointer-events: none; }
.gdwp-banner::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.gdwp-banner__deco { inset: 0; display: none; }
.gdwp-banner__deco i { position: absolute; display: block; border-radius: 50%; }
.gdwp-banner__deco i:nth-child(1) { width: 130px; height: 130px; right: 22%; top: -70px; background: color-mix(in srgb, var(--gdwp-c, #a14b2f) 17%, transparent); }
.gdwp-banner__deco i:nth-child(2) { width: 78px; height: 78px; right: 4%; bottom: -34px; border: 2px solid color-mix(in srgb, var(--gdwp-c, #a14b2f) 38%, transparent); }
.gdwp-banner__deco i:nth-child(3) { width: 26px; height: 26px; right: 38%; bottom: 12px; background: color-mix(in srgb, var(--gdwp-c, #a14b2f) 22%, transparent); }
/* Del 4.º al 8.º sólo los usan el confeti y las chispas */
.gdwp-banner__deco i:nth-child(n+4) { display: none; }
.gdwp-banner__mark { right: 18%; top: 50%; width: 130px; height: 130px; margin-top: -65px; color: var(--gdwp-c, #a14b2f); opacity: .13; transform: rotate(-14deg); display: none; }
.gdwp-banner__mark svg { width: 100%; height: 100%; stroke-width: 1.2; }
.gdwp-banner__seal { display: inline-flex; flex: none; }
.gdwp-banner__seal::before, .gdwp-banner__seal::after { content: ''; position: absolute; inset: -3px; border-radius: inherit; border: 2px solid var(--gdwp-c, #a14b2f); opacity: 0; pointer-events: none; }
.gdwp-banner__badge { display: inline-flex; flex-direction: column; gap: 2px; align-items: center; justify-content: center; overflow: hidden; border-radius: 50%;
  background: var(--gdwp-c, #a14b2f); color: var(--gdwp-t, #fff); font-weight: 700; line-height: 1.05; text-align: center;
  position: relative; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
/* Aro discontinuo del sello (no con «outline»: el tema de la tienda los quita todos) */
.gdwp-banner__badge::after { content: ''; position: absolute; inset: 4px; z-index: 0; border: 2px dashed var(--gdwp-ring, color-mix(in srgb, var(--gdwp-t, #fff) 55%, transparent));
  border-radius: inherit; pointer-events: none; }
/* Iconos de línea: el tema rellena todos los SVG (svg { fill: currentColor }) */
svg.gdwp-icon { fill: none; stroke: currentColor; }
svg.gdwp-icon.gdwp-icon--fill { fill: currentColor; stroke: none; }
.gdwp-banner__badge svg { flex: none; }
.gdwp-banner__badge > span { display: block; max-width: 100%; }
.gdwp-banner__until { color: var(--gdwp-c, #a14b2f); font-weight: 600; }

/* --- Modelos (piel del banner) --- */
.gdwp-banner--p-vivo { background: linear-gradient(105deg, color-mix(in srgb, var(--gdwp-c, #a14b2f) 24%, #fff) 0%, color-mix(in srgb, var(--gdwp-c, #a14b2f) 9%, #fff) 52%, #fff 100%); }
.gdwp-banner--p-minimal { background: #fff; border-color: #e8e2d9; border-left: 5px solid var(--gdwp-c, #a14b2f); }
.gdwp-banner--p-minimal .gdwp-banner__badge::after { display: none; }
.gdwp-banner--p-solido { --gdwp-pat: rgba(255, 255, 255, .16); background: linear-gradient(120deg, var(--gdwp-c, #a14b2f) 0%, color-mix(in srgb, var(--gdwp-c, #a14b2f) 72%, #000) 100%);
  border-color: transparent; color: var(--gdwp-t, #fff); }
.gdwp-banner--p-solido .gdwp-banner__badge { background: #fff; color: var(--gdwp-c, #a14b2f); --gdwp-ring: color-mix(in srgb, var(--gdwp-c, #a14b2f) 45%, transparent); }
.gdwp-banner--p-solido .gdwp-banner__seal::before, .gdwp-banner--p-solido .gdwp-banner__seal::after { border-color: #fff; }
.gdwp-banner--p-solido .gdwp-banner__mark { color: #fff; opacity: .16; }
.gdwp-banner--p-solido .gdwp-banner__deco i:nth-child(1), .gdwp-banner--p-solido .gdwp-banner__deco i:nth-child(3) { background: rgba(255, 255, 255, .14); }
.gdwp-banner--p-solido .gdwp-banner__deco i:nth-child(2) { border-color: rgba(255, 255, 255, .35); }
.gdwp-banner--p-solido .gdwp-banner__until { color: inherit; }
.gdwp-banner--p-cristal { background: rgba(255, 255, 255, .55); border-color: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gdwp-banner--p-cristal .gdwp-banner__deco i { filter: blur(18px); }
.gdwp-banner--p-cristal .gdwp-banner__deco i:nth-child(1) { width: 200px; height: 200px; background: color-mix(in srgb, var(--gdwp-c, #a14b2f) 40%, transparent); }
.gdwp-banner--p-cristal .gdwp-banner__deco i:nth-child(2) { width: 150px; height: 150px; border: 0; background: color-mix(in srgb, var(--gdwp-c, #a14b2f) 28%, #8ec5ff); }
.gdwp-banner--p-cristal .gdwp-banner__deco i:nth-child(3) { width: 120px; height: 120px; left: 8%; right: auto; bottom: -60px; background: color-mix(in srgb, var(--gdwp-c, #a14b2f) 25%, #ffd58e); }
.gdwp-banner--p-cupon { background: color-mix(in srgb, var(--gdwp-c, #a14b2f) 6%, #fff); border: 2px dashed color-mix(in srgb, var(--gdwp-c, #a14b2f) 45%, #fff);
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 11px, #000 12px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 11px, #000 12px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle at 0 50%, transparent 11px, #000 12px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 11px, #000 12px) right / 51% 100% no-repeat; }
.gdwp-banner--p-noche { --gdwp-pat: color-mix(in srgb, var(--gdwp-c, #a14b2f) 50%, transparent);
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--gdwp-c, #a14b2f) 55%, #120f14) 0%, #17141a 58%); border-color: color-mix(in srgb, var(--gdwp-c, #a14b2f) 45%, #000); color: #f3eee7; }
.gdwp-banner--p-noche .gdwp-banner__badge { box-shadow: 0 0 22px -2px var(--gdwp-c, #a14b2f); }
.gdwp-banner--p-noche .gdwp-banner__mark { color: color-mix(in srgb, var(--gdwp-c, #a14b2f) 60%, #fff); opacity: .16; }
.gdwp-banner--p-noche .gdwp-banner__until { color: color-mix(in srgb, var(--gdwp-c, #a14b2f) 55%, #fff); }

/* --- Fondos --- */
.gdwp-banner--bg-puntos::before, .gdwp-banner--bg-burbujas::before { background-image: radial-gradient(var(--gdwp-pat) 1.2px, transparent 1.7px); background-size: 13px 13px;
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 80%); mask-image: linear-gradient(100deg, transparent 30%, #000 80%); opacity: .6; }
.gdwp-banner--bg-burbujas .gdwp-banner__deco { display: block; }
.gdwp-banner--bg-ondas::before { background:
  radial-gradient(130% 95% at 88% 150%, var(--gdwp-pat) 0 44%, transparent 45%),
  radial-gradient(110% 80% at 55% 165%, color-mix(in srgb, var(--gdwp-pat) 60%, transparent) 0 52%, transparent 53%); }
.gdwp-banner--bg-rayas::before { background-image: repeating-linear-gradient(135deg, color-mix(in srgb, var(--gdwp-pat) 55%, transparent) 0 9px, transparent 9px 21px);
  -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000 90%); mask-image: linear-gradient(100deg, transparent 40%, #000 90%); }
.gdwp-banner--bg-puntos .gdwp-banner__mark, .gdwp-banner--bg-burbujas .gdwp-banner__mark, .gdwp-banner--bg-ondas .gdwp-banner__mark { display: block; }
.gdwp-banner--p-vivo.gdwp-banner--bg-liso, .gdwp-banner--p-cupon.gdwp-banner--bg-liso { background: color-mix(in srgb, var(--gdwp-c, #a14b2f) 8%, #fff); }

/* --- Sombras --- */
.gdwp-banner--shadow-ninguna { box-shadow: none; }
.gdwp-banner--shadow-suave { box-shadow: 0 8px 20px -14px rgba(28, 25, 23, .35); }
.gdwp-banner--shadow-fuerte { box-shadow: 0 18px 38px -18px rgba(28, 25, 23, .55); }
.gdwp-banner--shadow-color { box-shadow: 0 10px 26px -14px var(--gdwp-c, #a14b2f); }
.gdwp-banner--shadow-color .gdwp-banner__seal, .gdwp-banner--shadow-fuerte .gdwp-banner__seal { filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--gdwp-c, #a14b2f) 45%, transparent)); }

/* --- Iconos --- */
.gdwp-banner--icon-duotono svg path, .gdwp-banner--icon-duotono svg rect, .gdwp-banner--icon-duotono svg circle { fill: currentColor; fill-opacity: .28; }
.gdwp-banner--icon-ninguno .gdwp-banner__badge .gdwp-icon { display: none; }

/* --- Forma del sello --- */
.gdwp-banner--seal-circulo .gdwp-banner__seal, .gdwp-banner--seal-circulo .gdwp-banner__badge { border-radius: 50%; }
.gdwp-banner--seal-redondeado .gdwp-banner__seal, .gdwp-banner--seal-redondeado .gdwp-banner__badge { border-radius: 22px; }
.gdwp-banner--seal-estrella .gdwp-banner__badge, .gdwp-banner--seal-hexagono .gdwp-banner__badge { border-radius: 0; }
.gdwp-banner--seal-estrella .gdwp-banner__badge::after, .gdwp-banner--seal-hexagono .gdwp-banner__badge::after { display: none; }
.gdwp-banner--seal-estrella .gdwp-banner__badge { clip-path: polygon(50% 0%, 61% 11%, 75% 6%, 79% 21%, 94% 25%, 89% 39%, 100% 50%, 89% 61%, 94% 75%, 79% 79%, 75% 94%, 61% 89%, 50% 100%, 39% 89%, 25% 94%, 21% 79%, 6% 75%, 11% 61%, 0% 50%, 11% 39%, 6% 25%, 21% 21%, 25% 6%, 39% 11%); padding: 14px !important; }
.gdwp-banner--seal-hexagono .gdwp-banner__badge { clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0% 50%); }
.gdwp-banner--seal-estrella .gdwp-banner__seal::before, .gdwp-banner--seal-estrella .gdwp-banner__seal::after,
.gdwp-banner--seal-hexagono .gdwp-banner__seal::before, .gdwp-banner--seal-hexagono .gdwp-banner__seal::after { display: none; }

/* --- Animaciones --- */
.gdwp-banner--anim-completa, .gdwp-banner--anim-suave, .gdwp-banner--anim-latido, .gdwp-banner--anim-confeti, .gdwp-banner--anim-chispas,
.gdwp-banner--anim-giro, .gdwp-banner--anim-icono, .gdwp-banner--anim-aurora { animation: gdwp-banner-in .5s cubic-bezier(.2, .7, .3, 1) both; }
.gdwp-banner--anim-completa .gdwp-banner__deco i { animation: gdwp-banner-float 9s ease-in-out infinite; }
.gdwp-banner--anim-completa .gdwp-banner__deco i:nth-child(2) { animation-delay: -3s; animation-duration: 11s; }
.gdwp-banner--anim-completa .gdwp-banner__deco i:nth-child(3) { animation-delay: -6s; animation-duration: 7s; }
.gdwp-banner--anim-completa .gdwp-banner__seal::before, .gdwp-banner--anim-completa .gdwp-banner__seal::after { animation: gdwp-banner-ping 2.8s cubic-bezier(.2, .6, .3, 1) infinite; }
.gdwp-banner--anim-completa .gdwp-banner__seal::after { animation-delay: 1.4s; }
.gdwp-banner--anim-completa.gdwp-banner--seal-estrella .gdwp-banner__badge, .gdwp-banner--anim-completa.gdwp-banner--seal-hexagono .gdwp-banner__badge { animation: gdwp-banner-beat 2.4s ease-in-out infinite; }
.gdwp-banner--anim-completa.gdwp-banner--seal-estrella .gdwp-banner__badge { animation-name: gdwp-banner-spin; animation-duration: 14s; animation-timing-function: linear; }
.gdwp-banner--anim-completa:hover .gdwp-banner__badge, .gdwp-banner--anim-suave:hover .gdwp-banner__badge, .gdwp-banner--anim-latido:hover .gdwp-banner__badge,
.gdwp-banner--anim-confeti:hover .gdwp-banner__badge, .gdwp-banner--anim-chispas:hover .gdwp-banner__badge, .gdwp-banner--anim-aurora:hover .gdwp-banner__badge { transform: rotate(-8deg) scale(1.06); }
.gdwp-banner--anim-completa:hover .gdwp-banner__badge svg, .gdwp-banner--anim-suave:hover .gdwp-banner__badge svg { animation: gdwp-banner-wiggle .5s ease; }
.gdwp-banner--anim-ninguna, .gdwp-banner--anim-ninguna * { animation: none !important; }
@keyframes gdwp-banner-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes gdwp-banner-float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-12px, 8px) scale(1.08); } }
@keyframes gdwp-banner-ping { 0% { transform: scale(.94); opacity: .6; } 80%, 100% { transform: scale(1.42); opacity: 0; } }
@keyframes gdwp-banner-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes gdwp-banner-spin { to { transform: rotate(360deg); } }
@keyframes gdwp-banner-wiggle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-10deg) scale(1.08); } 65% { transform: rotate(7deg); } }
/* La estrella gira despacio, pero el texto del sello queda derecho */
.gdwp-banner--anim-completa.gdwp-banner--seal-estrella .gdwp-banner__badge > * { animation: gdwp-banner-spin 14s linear infinite reverse; }
@media (prefers-reduced-motion: reduce) {
  .gdwp-banner, .gdwp-banner * { animation: none !important; }
}

/* =====================================================================
 * 1.4.0 Estilos de icono, animaciones con más efecto y modelos «Fiesta» y «Aurora»
 * (sin destellos que barren el banner)
 * =================================================================== */

/* --- Iconos: relleno, en burbuja y emoji --- */
.gdwp-icon--emoji { display: block; font-size: 22px; line-height: 1; font-style: normal; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.gdwp-hero__badge .gdwp-icon--emoji { font-size: 28px; }
.gdwp-banner__mark .gdwp-icon--emoji { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 96px; }
.gdwp-hero .gdwp-banner__mark .gdwp-icon--emoji { font-size: 128px; }
.gdwp-banner--icon-emoji .gdwp-banner__mark { opacity: .2; }
.gdwp-banner--icon-relleno .gdwp-banner__mark { opacity: .1; }
.gdwp-banner--icon-burbuja .gdwp-banner__badge .gdwp-icon { box-sizing: content-box; padding: 5px; border-radius: 50%; background: #fff; color: var(--gdwp-c, #a14b2f);
  box-shadow: 0 3px 8px -2px rgba(0, 0, 0, .3); }
.gdwp-banner--p-solido.gdwp-banner--icon-burbuja .gdwp-banner__badge .gdwp-icon { background: var(--gdwp-c, #a14b2f); color: var(--gdwp-t, #fff); }

/* --- Latido con brillo: el sello late dos veces y se ilumina del color de la promoción --- */
.gdwp-banner--anim-latido .gdwp-banner__seal { animation: gdwp-latido 1.6s ease-in-out infinite; }
.gdwp-banner--anim-latido .gdwp-banner__seal::before { animation: gdwp-banner-ping 1.6s cubic-bezier(.2, .6, .3, 1) infinite; }
.gdwp-banner--anim-latido .gdwp-banner__mark { animation: gdwp-latido-mark 1.6s ease-in-out infinite; }
@keyframes gdwp-latido {
  0%, 56%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 transparent); }
  14% { transform: scale(1.14); filter: drop-shadow(0 0 14px var(--gdwp-c, #a14b2f)); }
  28% { transform: scale(1); filter: drop-shadow(0 0 5px color-mix(in srgb, var(--gdwp-c, #a14b2f) 60%, transparent)); }
  42% { transform: scale(1.1); filter: drop-shadow(0 0 12px var(--gdwp-c, #a14b2f)); }
}
@keyframes gdwp-latido-mark { 0%, 56%, 100% { transform: rotate(-14deg) scale(1); } 14%, 42% { transform: rotate(-14deg) scale(1.05); } }

/* --- Partículas del confeti y las chispas (8 piezas) --- */
.gdwp-banner--anim-confeti .gdwp-banner__deco, .gdwp-banner--anim-chispas .gdwp-banner__deco { display: block; }
.gdwp-banner.gdwp-banner--anim-confeti .gdwp-banner__deco i, .gdwp-banner.gdwp-banner--anim-chispas .gdwp-banner__deco i {
  display: block; top: auto; right: auto; bottom: auto; left: auto; border: 0; filter: none; opacity: 0; }

/* Confeti: papelitos de colores que caen girando por detrás del texto */
.gdwp-banner.gdwp-banner--anim-confeti .gdwp-banner__deco i { top: -18px; width: 8px; height: 13px; border-radius: 2px; --dx: 14px;
  animation: gdwp-confeti 3.4s cubic-bezier(.35, .1, .6, 1) infinite; }
.gdwp-banner--anim-confeti .gdwp-banner__deco i:nth-child(1) { left: 6%; background: var(--gdwp-c, #a14b2f); }
.gdwp-banner--anim-confeti .gdwp-banner__deco i:nth-child(2) { left: 18%; background: #f4b740; --dx: -16px; animation-delay: -1.1s; animation-duration: 2.9s; }
.gdwp-banner--anim-confeti .gdwp-banner__deco i:nth-child(3) { left: 31%; background: #ff6b8a; width: 8px; height: 8px; border-radius: 50%; --dx: 22px; animation-delay: -2.3s; animation-duration: 3.8s; }
.gdwp-banner--anim-confeti .gdwp-banner__deco i:nth-child(4) { left: 44%; background: #4fc3a1; --dx: -20px; animation-delay: -.6s; animation-duration: 3.2s; }
.gdwp-banner--anim-confeti .gdwp-banner__deco i:nth-child(5) { left: 57%; background: #6aa7ff; --dx: 16px; animation-delay: -2.6s; animation-duration: 3.6s; }
.gdwp-banner--anim-confeti .gdwp-banner__deco i:nth-child(6) { left: 69%; background: #b47cff; width: 8px; height: 8px; border-radius: 50%; --dx: -10px; animation-delay: -1.8s; animation-duration: 2.8s; }
.gdwp-banner--anim-confeti .gdwp-banner__deco i:nth-child(7) { left: 81%; background: #ffd166; --dx: 12px; animation-delay: -2.2s; animation-duration: 4s; }
.gdwp-banner--anim-confeti .gdwp-banner__deco i:nth-child(8) { left: 93%; background: color-mix(in srgb, var(--gdwp-c, #a14b2f) 55%, #ef476f); --dx: -18px; animation-delay: -.3s; animation-duration: 3.1s; }
@keyframes gdwp-confeti {
  0% { top: -14px; transform: translateX(0) rotateZ(0) rotateY(0); opacity: 0; }
  6% { opacity: .95; }
  88% { opacity: .9; }
  100% { top: 102%; transform: translateX(var(--dx)) rotateZ(560deg) rotateY(720deg); opacity: 0; }
}
.gdwp-banner--anim-confeti .gdwp-banner__seal { animation: gdwp-confeti-seal 3.4s ease-in-out infinite; }
@keyframes gdwp-confeti-seal { 0%, 70%, 100% { transform: rotate(0) scale(1); } 76% { transform: rotate(-9deg) scale(1.1); } 84% { transform: rotate(7deg) scale(1.06); } 92% { transform: rotate(0) scale(1); } }

/* Chispas: estrellitas de cuatro puntas que aparecen y se apagan */
.gdwp-banner.gdwp-banner--anim-chispas .gdwp-banner__deco i { width: 22px; height: 22px; border-radius: 0; background: #f4b740;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: gdwp-chispa 2.2s ease-in-out infinite; }
.gdwp-banner--anim-chispas .gdwp-banner__deco i:nth-child(1) { top: 10%; left: 5%; width: 22px; height: 22px; background: var(--gdwp-c, #a14b2f); }
.gdwp-banner--anim-chispas .gdwp-banner__deco i:nth-child(2) { top: 68%; left: 14%; width: 16px; height: 16px; animation-delay: -.4s; }
.gdwp-banner--anim-chispas .gdwp-banner__deco i:nth-child(3) { top: 18%; left: 38%; width: 30px; height: 30px; animation-delay: -1.3s; }
.gdwp-banner--anim-chispas .gdwp-banner__deco i:nth-child(4) { top: 62%; left: 51%; width: 18px; height: 18px; background: var(--gdwp-c, #a14b2f); animation-delay: -2s; }
.gdwp-banner--anim-chispas .gdwp-banner__deco i:nth-child(5) { top: 9%; left: 65%; width: 26px; height: 26px; background: var(--gdwp-c, #a14b2f); animation-delay: -.9s; }
.gdwp-banner--anim-chispas .gdwp-banner__deco i:nth-child(6) { top: 72%; left: 77%; width: 16px; height: 16px; animation-delay: -1.7s; }
.gdwp-banner--anim-chispas .gdwp-banner__deco i:nth-child(7) { top: 26%; left: 89%; width: 32px; height: 32px; animation-delay: -2.3s; }
.gdwp-banner--anim-chispas .gdwp-banner__deco i:nth-child(8) { top: 44%; left: 26%; width: 14px; height: 14px; background: var(--gdwp-c, #a14b2f); animation-delay: -.2s; }
.gdwp-banner--p-noche.gdwp-banner--anim-chispas .gdwp-banner__deco i:nth-child(odd), .gdwp-banner--p-solido.gdwp-banner--anim-chispas .gdwp-banner__deco i:nth-child(odd),
.gdwp-banner--p-aurora.gdwp-banner--anim-chispas .gdwp-banner__deco i:nth-child(odd), .gdwp-banner--p-solido.gdwp-banner--anim-chispas .gdwp-banner__deco i:nth-child(4) { background: #fff; }
@keyframes gdwp-chispa { 0%, 100% { transform: scale(0) rotate(0); opacity: 0; } 30% { transform: scale(1.1) rotate(60deg); opacity: 1; } 45% { transform: scale(.7) rotate(90deg); opacity: .85; } 62% { transform: scale(1) rotate(120deg); opacity: 1; } 86% { transform: scale(0) rotate(180deg); opacity: 0; } }
.gdwp-banner--anim-chispas .gdwp-banner__seal { animation: gdwp-banner-beat 2.6s ease-in-out infinite; }

/* Giro 3D: el sello da la vuelta como una moneda */
.gdwp-banner--anim-giro .gdwp-banner__badge { animation: gdwp-giro 4.5s cubic-bezier(.45, 0, .25, 1) infinite; backface-visibility: visible; }
.gdwp-banner--anim-giro .gdwp-banner__seal::after { animation: gdwp-giro-ring 4.5s ease-out infinite; }
@keyframes gdwp-giro {
  0%, 58% { transform: perspective(520px) rotateY(0) scale(1); }
  74% { transform: perspective(520px) rotateY(200deg) scale(1.14); }
  86% { transform: perspective(520px) rotateY(372deg) scale(1.02); }
  93%, 100% { transform: perspective(520px) rotateY(360deg) scale(1); }
}
@keyframes gdwp-giro-ring { 0%, 84% { transform: scale(.94); opacity: 0; } 87% { opacity: .65; } 100% { transform: scale(1.45); opacity: 0; } }

/* Icono animado: cada tipo de promoción se mueve a su manera */
.gdwp-banner--anim-icono .gdwp-banner__badge .gdwp-icon { animation: gdwp-ico-bounce 1.8s ease-in-out infinite; transform-origin: 50% 100%; }
.gdwp-banner--anim-icono.gdwp-banner--t-nth .gdwp-banner__badge .gdwp-icon,
.gdwp-banner--anim-icono.gdwp-banner--t-steps .gdwp-banner__badge .gdwp-icon { animation-name: gdwp-ico-swing; animation-duration: 2.4s; transform-origin: 22% 18%; }
.gdwp-banner--anim-icono.gdwp-banner--t-tiers .gdwp-banner__badge svg.gdwp-icon { animation: none; }
.gdwp-banner--anim-icono.gdwp-banner--t-tiers .gdwp-banner__badge svg.gdwp-icon > * { transform-box: fill-box; transform-origin: 50% 100%; animation: gdwp-ico-grow 2.4s ease-in-out infinite; }
.gdwp-banner--anim-icono.gdwp-banner--t-tiers .gdwp-banner__badge svg.gdwp-icon > :nth-child(2) { animation-delay: .15s; }
.gdwp-banner--anim-icono.gdwp-banner--t-tiers .gdwp-banner__badge svg.gdwp-icon > :nth-child(3) { animation-delay: .3s; }
.gdwp-banner--anim-icono.gdwp-banner--t-tiers .gdwp-banner__badge svg.gdwp-icon > :nth-child(4) { animation-delay: .45s; }
.gdwp-banner--anim-icono.gdwp-banner--t-cheapest .gdwp-banner__badge .gdwp-icon { animation-name: gdwp-ico-star; animation-duration: 2.8s; transform-origin: 50% 52%; }
.gdwp-banner--anim-icono.gdwp-banner--t-gift .gdwp-banner__badge .gdwp-icon { animation-name: gdwp-ico-shake; animation-duration: 2.6s; transform-origin: 50% 90%; }
.gdwp-banner--anim-icono.gdwp-banner--t-shipping .gdwp-banner__badge .gdwp-icon { animation-name: gdwp-ico-drive; animation-duration: 3.4s; animation-timing-function: cubic-bezier(.5, 0, .4, 1); }
.gdwp-banner--anim-icono .gdwp-banner__mark { animation: gdwp-mark-sway 7s ease-in-out infinite; }
@keyframes gdwp-ico-bounce { 0%, 55%, 100% { transform: translateY(0) scale(1, 1); } 12% { transform: translateY(0) scale(1.16, .84); } 28% { transform: translateY(-8px) scale(.9, 1.1); } 42% { transform: translateY(0) scale(1.08, .92); } }
@keyframes gdwp-ico-swing { 0%, 80%, 100% { transform: rotate(0); } 12% { transform: rotate(18deg); } 28% { transform: rotate(-13deg); } 44% { transform: rotate(8deg); } 60% { transform: rotate(-4deg); } }
@keyframes gdwp-ico-grow { 0%, 12% { transform: scaleY(.2); } 38%, 82% { transform: scaleY(1); } 100% { transform: scaleY(.2); } }
@keyframes gdwp-ico-star { 0%, 45% { transform: rotate(0) scale(1); } 70% { transform: rotate(216deg) scale(1.35); } 88%, 100% { transform: rotate(360deg) scale(1); } }
@keyframes gdwp-ico-shake { 0%, 48%, 100% { transform: rotate(0) translateY(0) scale(1); } 54% { transform: rotate(-14deg) translateY(-2px); } 60% { transform: rotate(12deg) translateY(-2px); } 66% { transform: rotate(-9deg); } 72% { transform: rotate(6deg); } 82% { transform: rotate(0) translateY(-7px) scale(1.16); } 92% { transform: translateY(0) scale(1); } }
@keyframes gdwp-ico-drive { 0%, 34% { transform: translateX(0); } 40% { transform: translateX(-4px); } 58% { transform: translateX(95px); } 58.1% { transform: translateX(-95px); } 80% { transform: translateX(3px); } 87%, 100% { transform: translateX(0); } }
@keyframes gdwp-mark-sway { 0%, 100% { transform: rotate(-14deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-7px) scale(1.05); } }

/* Fondo aurora: manchas de color que se mueven despacio por detrás del texto */
.gdwp-banner--anim-aurora::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--gdwp-c, #a14b2f) 45%, #ff5fa2), transparent),
    radial-gradient(closest-side, color-mix(in srgb, var(--gdwp-c, #a14b2f) 30%, #3fb8ff), transparent),
    radial-gradient(closest-side, color-mix(in srgb, var(--gdwp-c, #a14b2f) 30%, #ffd166), transparent),
    radial-gradient(closest-side, color-mix(in srgb, var(--gdwp-c, #a14b2f) 30%, #9b7bff), transparent);
  background-repeat: no-repeat; background-size: 55% 190%, 45% 210%, 40% 170%, 50% 200%;
  background-position: 0% 30%, 60% 80%, 100% 20%, 35% 100%;
  animation: gdwp-aurora 14s ease-in-out infinite alternate; }
@keyframes gdwp-aurora {
  0% { background-position: 0% 30%, 60% 80%, 100% 20%, 35% 100%; }
  33% { background-position: 45% 70%, 100% 20%, 55% 90%, 0% 40%; }
  66% { background-position: 90% 20%, 30% 60%, 10% 50%, 70% 0%; }
  100% { background-position: 60% 90%, 0% 30%, 80% 100%, 100% 70%; }
}
.gdwp-banner--p-noche.gdwp-banner--anim-aurora::after, .gdwp-banner--p-solido.gdwp-banner--anim-aurora::after { opacity: .6; mix-blend-mode: screen; }

/* --- Modelo «Fiesta»: degradado pastel de colores, confeti y emojis --- */
.gdwp-banner--p-fiesta { background: linear-gradient(115deg, color-mix(in srgb, var(--gdwp-c, #a14b2f) 22%, #fff) 0%, #fff5d9 36%, #ffe5ef 68%, #e2f0ff 100%);
  border-color: color-mix(in srgb, var(--gdwp-c, #a14b2f) 28%, #ffd8a6); }
.gdwp-banner--p-fiesta .gdwp-banner__badge { background: linear-gradient(140deg, var(--gdwp-c, #a14b2f), color-mix(in srgb, var(--gdwp-c, #a14b2f) 65%, #ff6b8a)); }
.gdwp-banner--p-fiesta .gdwp-banner__mark { opacity: .22; transform: rotate(12deg); }
.gdwp-banner--p-fiesta.gdwp-banner--icon-emoji .gdwp-banner__badge .gdwp-icon--emoji { filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); }

/* --- Modelo «Aurora»: oscuro con luces de colores en movimiento y sello de cristal --- */
.gdwp-banner--p-aurora { --gdwp-pat: rgba(255, 255, 255, .14);
  background: linear-gradient(135deg, color-mix(in srgb, var(--gdwp-c, #a14b2f) 42%, #0e0b1c) 0%, #120f22 58%, color-mix(in srgb, var(--gdwp-c, #a14b2f) 28%, #0e0b1c) 100%);
  border-color: color-mix(in srgb, var(--gdwp-c, #a14b2f) 40%, #000); color: #fff; }
.gdwp-banner--p-aurora.gdwp-banner--anim-aurora::after { opacity: .85; mix-blend-mode: screen; }
.gdwp-banner--p-aurora .gdwp-banner__badge { background: rgba(255, 255, 255, .16); color: #fff; --gdwp-ring: rgba(255, 255, 255, .4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gdwp-banner--p-aurora .gdwp-banner__seal::before, .gdwp-banner--p-aurora .gdwp-banner__seal::after { border-color: #fff; }
.gdwp-banner--p-aurora .gdwp-banner__mark { color: #fff; opacity: .13; }
.gdwp-banner--p-aurora .gdwp-banner__until { color: color-mix(in srgb, var(--gdwp-c, #a14b2f) 30%, #fff); }
.gdwp-banner--p-aurora .gdwp-banner__deco i:nth-child(1), .gdwp-banner--p-aurora .gdwp-banner__deco i:nth-child(3) { background: rgba(255, 255, 255, .12); }
.gdwp-banner--p-aurora .gdwp-banner__deco i:nth-child(2) { border-color: rgba(255, 255, 255, .3); }

@media (prefers-reduced-motion: reduce) {
  .gdwp-banner::after { animation: none !important; }
  .gdwp-banner--anim-confeti .gdwp-banner__deco, .gdwp-banner--anim-chispas .gdwp-banner__deco { display: none; }
}

/* =====================================================================
 * Etiquetas de los productos: estilo (gdwp-flag--{estilo}), posición (gdwp-pos-{posición}) e icono
 * Se aplican a las miniaturas del tema, a la foto de la ficha y a las tarjetas del buscador GDW.
 * =================================================================== */
.gdwp-flag--pill, li.product-flag.gdwp-flag.gdwp-flag--pill { border-radius: 999px !important; padding: 4px 11px !important; }
.gdwp-flag--circulo, li.product-flag.gdwp-flag.gdwp-flag--circulo { display: inline-flex !important; align-items: center; justify-content: center; flex-direction: column;
  width: 54px; height: 54px; padding: 6px !important; border-radius: 50% !important; white-space: normal !important; text-align: center; font-size: 11px !important; line-height: 1.05 !important; }
.gdwp-flag--estrella, li.product-flag.gdwp-flag.gdwp-flag--estrella { display: inline-flex !important; align-items: center; justify-content: center; flex-direction: column;
  width: 62px; height: 62px; padding: 12px !important; border-radius: 0 !important; white-space: normal !important; text-align: center; font-size: 10.5px !important; line-height: 1.05 !important;
  clip-path: polygon(50% 0%, 61% 11%, 75% 6%, 79% 21%, 94% 25%, 89% 39%, 100% 50%, 89% 61%, 94% 75%, 79% 79%, 75% 94%, 61% 89%, 50% 100%, 39% 89%, 25% 94%, 21% 79%, 6% 75%, 11% 61%, 0% 50%, 11% 39%, 6% 25%, 21% 21%, 25% 6%, 39% 11%); }
.gdwp-flag--etiqueta, li.product-flag.gdwp-flag.gdwp-flag--etiqueta { border-radius: 0 3px 3px 0 !important; padding: 4px 9px 4px 17px !important;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); background-image: radial-gradient(circle at 9px 50%, #fff 0 2.4px, transparent 2.9px) !important; }
.gdwp-flag--cinta, li.product-flag.gdwp-flag.gdwp-flag--cinta { position: absolute !important; width: 150px; padding: 5px 0 !important; border-radius: 0 !important; text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .2) !important; top: 24px; left: -40px; transform: rotate(-45deg); }
/* Posición de la etiqueta: se mueve el grupo de etiquetas del tema (en la tienda sólo se ve la de la promoción) */
.product-flags:has(.gdwp-pos-sup-der), .gdwb-card__tags:has(.gdwp-pos-sup-der) { left: auto !important; right: 0 !important; align-items: flex-end !important; }
.product-flags:has(.gdwp-pos-inf-izq), .gdwb-card__tags:has(.gdwp-pos-inf-izq) { top: auto !important; bottom: 0 !important; }
.product-flags:has(.gdwp-pos-inf-der), .gdwb-card__tags:has(.gdwp-pos-inf-der) { top: auto !important; bottom: 0 !important; left: auto !important; right: 0 !important; align-items: flex-end !important; }
.gdwb-card__tags:has(.gdwp-pos-sup-der:not(.gdwp-flag--cinta)) { right: 8px !important; }
.gdwb-card__tags:has(.gdwp-pos-inf-izq:not(.gdwp-flag--cinta)), .gdwb-card__tags:has(.gdwp-pos-inf-der:not(.gdwp-flag--cinta)) { bottom: 8px !important; }
.gdwb-card__tags:has(.gdwp-pos-inf-der:not(.gdwp-flag--cinta)) { right: 8px !important; }
/* La cinta cruza la esquina elegida */
.product-flags:has(.gdwp-flag--cinta), .gdwb-card__tags:has(.gdwp-flag--cinta) { top: 0 !important; left: 0 !important; padding: 0 !important; width: 1px; height: 1px; overflow: visible; }
.product-flags:has(.gdwp-flag--cinta.gdwp-pos-sup-der), .gdwb-card__tags:has(.gdwp-flag--cinta.gdwp-pos-sup-der) { left: auto !important; right: 0 !important; }
.product-flags:has(.gdwp-flag--cinta.gdwp-pos-inf-izq), .gdwb-card__tags:has(.gdwp-flag--cinta.gdwp-pos-inf-izq) { top: auto !important; bottom: 0 !important; }
.product-flags:has(.gdwp-flag--cinta.gdwp-pos-inf-der), .gdwb-card__tags:has(.gdwp-flag--cinta.gdwp-pos-inf-der) { top: auto !important; bottom: 0 !important; left: auto !important; right: 0 !important; }
li.product-flag.gdwp-flag.gdwp-flag--cinta.gdwp-pos-sup-der, .gdwp-flag--cinta.gdwp-pos-sup-der { left: auto; right: -40px; transform: rotate(45deg); }
li.product-flag.gdwp-flag.gdwp-flag--cinta.gdwp-pos-inf-izq, .gdwp-flag--cinta.gdwp-pos-inf-izq { top: auto; bottom: 24px; transform: rotate(45deg); }
li.product-flag.gdwp-flag.gdwp-flag--cinta.gdwp-pos-inf-der, .gdwp-flag--cinta.gdwp-pos-inf-der { top: auto; bottom: 24px; left: auto; right: -40px; transform: rotate(-45deg); }
.gdwb-card__media:has(.gdwp-flag--cinta) { overflow: hidden; }
/* Icono del tipo de promoción en la etiqueta (la máscara de cada tipo la pone la cabecera) */
.gdwp-flag--icon::before { content: ''; display: inline-block; flex: none; width: 1.15em; height: 1.15em; margin-right: 4px; vertical-align: -.2em; background: currentColor;
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.gdwp-flag--circulo.gdwp-flag--icon::before, .gdwp-flag--estrella.gdwp-flag--icon::before { margin: 0 0 2px; width: 16px; height: 16px; }
/* Las formas grandes no se recortan al ancho del grupo de etiquetas (tarjetas del buscador) */
.gdwp-flag--cinta, .gdwp-flag--circulo, .gdwp-flag--estrella { max-width: none !important; overflow: visible !important; text-overflow: clip !important; }
.gdwb-card__promo.gdwp-flag--cinta { font-size: 11px; }

/* Tabla de precio por cantidad en la ficha */
.gdwp-infos table.gdwp-qty { width: 100%; max-width: 420px; margin: 2px 0 0; border-collapse: separate; border-spacing: 0; font-size: .9em; line-height: 1.3; background: #fff; border: 1px solid color-mix(in srgb, var(--gdwp-c, #a14b2f) 22%, #fff); border-radius: 4px; overflow: hidden; }
.gdwp-infos table.gdwp-qty th, .gdwp-infos table.gdwp-qty td { padding: 6px 10px; border: 0; border-top: 1px solid color-mix(in srgb, var(--gdwp-c, #a14b2f) 12%, #fff); text-align: right; font-weight: 400; vertical-align: middle; background: transparent; }
.gdwp-infos table.gdwp-qty th:first-child, .gdwp-infos table.gdwp-qty td:first-child { text-align: left; }
.gdwp-infos table.gdwp-qty thead th { border-top: 0; font-size: .82em; text-transform: uppercase; letter-spacing: .04em; color: #6b6b6b; background: color-mix(in srgb, var(--gdwp-c, #a14b2f) 6%, #fff); }
.gdwp-infos table.gdwp-qty tbody th { font-weight: 600; color: inherit; }
.gdwp-infos table.gdwp-qty tr.is-promo td:last-child { font-weight: 700; color: var(--gdwp-c, #a14b2f); }
.gdwp-qty__save { display: inline-block; margin-left: 4px; padding: 1px 5px; border-radius: 3px; font-size: .82em; font-weight: 700; background: var(--gdwp-c, #a14b2f); color: #fff; }

/* 1.6.0 · Barra de progreso del carrito (envío gratis, regalo, escalones) */
.gdwp-goals { display: flex; flex-direction: column; gap: 8px; margin: 0 0 10px; padding: 12px 14px; border-radius: 8px; background: #fff; border: 1px solid color-mix(in srgb, var(--gdwp-c, #a14b2f) 20%, #fff); }
.gdwp-goal__text { display: flex; align-items: center; gap: 8px; font-size: .92em; line-height: 1.3; color: #3c3c3c; }
.gdwp-goal__i { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--gdwp-c, #a14b2f) 12%, #fff); font-size: 12px; font-weight: 700; }
.gdwp-goal__bar { height: 6px; margin: 6px 0 0 30px; border-radius: 999px; background: #eee6dc; overflow: hidden; }
.gdwp-goal__bar > span { display: block; height: 100%; border-radius: inherit; background: var(--gdwp-c, #a14b2f); transition: width .5s ease; }
.gdwp-goal.is-done .gdwp-goal__text { color: #24533a; font-weight: 600; }
.gdwp-goal.is-done .gdwp-goal__i { background: #dcefe2; color: #24533a; }
.gdwp-goal.is-done .gdwp-goal__bar > span { background: #3c8a5a; }
.gdwp-hints--modal .gdwp-goals { padding: 10px 12px; }
/* El aviso de envío gratis del tema, cuando ya lo da nuestra barra */
html.gdwp-has-goals .iqitfreedeliverycount { display: none !important; }

/* Productos sugeridos para completar la promoción */
.gdwp-hint { flex-wrap: wrap; }
.gdwp-suggest { flex-basis: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin: 4px 0 0 30px; }
.gdwp-suggest__item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; background: #fff; min-width: 0; }
.gdwp-suggest__img img { display: block; width: 48px; height: 48px; object-fit: contain; border-radius: 4px; }
.gdwp-suggest__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gdwp-hints a.gdwp-suggest__name { color: #3c3c3c !important; font-size: .9em; line-height: 1.25; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gdwp-suggest__price { font-weight: 700; font-size: .9em; }
@media (max-width: 575px) { .gdwp-suggest { margin-left: 0; grid-template-columns: 1fr; } }

/* Regalo a elegir */
.gdwp-gift { margin: 0 0 10px; padding: 12px 14px; border-radius: 8px; background: #fdf3f7; color: #5b2a40; }
.gdwp-gift.is-loading { opacity: .6; pointer-events: none; }
.gdwp-gift__title { margin: 0 0 8px; font-weight: 700; font-size: .95em; }
.gdwp-gift__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.gdwp-gift__opt { display: flex; align-items: center; gap: 8px; max-width: 260px; padding: 6px 10px 6px 6px; border: 2px solid transparent; border-radius: 8px; background: #fff; color: inherit; font-size: .88em; line-height: 1.25; text-align: left; cursor: pointer; }
.gdwp-gift__opt img { width: 44px; height: 44px; object-fit: contain; border-radius: 4px; }
.gdwp-gift__opt.is-sel { border-color: var(--gdwp-c, #c0457a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gdwp-c, #c0457a) 18%, transparent); font-weight: 600; }
.gdwp-gift__opt:disabled { opacity: .45; cursor: not-allowed; }

/* Códigos de promoción */
.gdwp-hint.is-code { background: #f3f0fa; color: #3f3366; }
.gdwp-hint__x { flex: none; border: 0; background: transparent; color: inherit; text-decoration: underline; font-size: .88em; cursor: pointer; }
.gdwp-code-msg { margin: 6px 0 0; font-size: .9em; color: #a23b2c; }
.gdwp-code-msg.is-ok { color: #24533a; font-weight: 600; }

/* «2 por 12,10 €» en las miniaturas */
.gdwp-listprice { display: inline-block; margin: 3px 0 0; padding: 1px 7px; border-radius: 3px; font-size: .8em; font-weight: 700; line-height: 1.5; color: var(--gdwp-c, #a14b2f); background: color-mix(in srgb, var(--gdwp-c, #a14b2f) 10%, #fff); white-space: nowrap; }

/* Cuenta atrás */
.gdwp-countdown { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 3px; background: var(--gdwp-c, #a14b2f); color: #fff; font-size: .85em; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gdwp-countdown.is-over { opacity: .6; }
.gdwp-hero .gdwp-countdown { background: rgba(255,255,255,.18); color: inherit; }

/* Aviso de vista previa (sólo en el navegador que abrió el enlace del panel) */
.gdwp-previewbar { position: fixed; z-index: 99999; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 8px; background: #1d2433; color: #fff; font-size: 13px; line-height: 1.35; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.gdwp-previewbar a { flex: none; color: #fff !important; font-weight: 700; text-decoration: underline; }
