/* Ficha interna exclusiva: Calendario de Adviento Ultimate (71561) y Core (71553). */
body.template-product .pdp-price-wrap--advento .product__price__wrap {
    display: block;
    width: 100%;
}

body.template-product .pdp-price-wrap--advento .product__price {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

body.template-product .pdp-price-wrap--advento .tbs-advento-price {
    width: 100%;
    font-family: inherit;
    text-align: left;
}

body.template-product .pdp-price-wrap--advento .tbs-advento-price__message {
    margin: 0 0 16px;
    color: #be4d60;
    font-size: clamp(18px, 1.8vw, 22px);
    line-height: 1.25;
    font-weight: 700;
    text-align: left;
}

/* Precio productos arriba; precio de venta en una segunda linea a la izquierda. */
body.template-product .pdp-price-wrap--advento .tbs-advento-price__amounts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
    text-align: left;
}

body.template-product .pdp-price-wrap--advento .tbs-advento-price__regular {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px;
    max-width: 100%;
    color: #024237;
    font-size: clamp(14px, 1.55vw, 17px);
    line-height: 1.35;
    font-weight: 600;
}

body.template-product .pdp-price-wrap--advento .tbs-advento-price__regular-amount {
    color: #024237;
    font-weight: 700;
}

body.template-product .pdp-price-wrap--advento .tbs-advento-price__offer {
    display: block;
    flex: none;
    margin: 0;
    padding: 0;
    color: #be4d60;
    font-size: clamp(32px, 3.7vw, 44px);
    line-height: 1.1;
    font-weight: 800;
    white-space: nowrap;
    text-align: left;
}

body.template-product .pdp-price-wrap--advento .tbs-advento-price__offer .woocommerce-Price-amount,
body.template-product .pdp-price-wrap--advento .tbs-advento-price__offer .woocommerce-Price-currencySymbol {
    color: #be4d60;
    font-weight: 800;
}

/* Mensaje informativo debajo del precio final. */
body.template-product .pdp-price-wrap--advento .tbs-advento-price__dispatch {
    display: block;
    margin: 11px 0 0;
    padding: 0;
    color: #024237;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.4;
    font-weight: 600;
    text-align: left;
}

/* Conserva el bloque de puntos debajo si llegara a estar visible. */
body.template-product .pdp-price-wrap--advento loyalty-points-pdp {
    flex: none;
}

@media (max-width: 480px) {
    body.template-product .pdp-price-wrap--advento .tbs-advento-price__message {
        margin-bottom: 12px;
    }

    body.template-product .pdp-price-wrap--advento .tbs-advento-price__regular {
        font-size: 14px;
        gap: 4px;
    }

    body.template-product .pdp-price-wrap--advento .tbs-advento-price__offer {
        font-size: 36px;
    }

    body.template-product .pdp-price-wrap--advento .tbs-advento-price__dispatch {
        font-size: 14px;
        margin-top: 9px;
    }
}

/* Etiqueta informativa PREVENTA sobre el título, solo en los dos calendarios. */
body.template-product .product__title__wrapper .tbs-advento-presale {
    display: block;
    margin: 0 0 2px;
    padding: 0;
    color: #be4d60;
    font-size: clamp(16px, 1.6vw, 16px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-align: left;
}

/* Avisos de despacho inmediatamente debajo del precio de oferta. */
body.template-product .pdp-price-wrap--advento .tbs-advento-price__shipping-notices {
    display: block;
    margin-top: 11px;
    color: #024237;
    text-align: left;
}

body.template-product .pdp-price-wrap--advento .tbs-advento-price__shipping-notices .tbs-advento-price__dispatch,
body.template-product .pdp-price-wrap--advento .tbs-advento-price__shipping-notices .tbs-advento-price__free-shipping {
    display: block;
    margin: 0;
    padding: 0;
    color: #024237;
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
}

@media (max-width: 480px) {
    body.template-product .pdp-price-wrap--advento .tbs-advento-price__shipping-notices {
        margin-top: 9px;
    }

    body.template-product .pdp-price-wrap--advento .tbs-advento-price__shipping-notices .tbs-advento-price__dispatch,
    body.template-product .pdp-price-wrap--advento .tbs-advento-price__shipping-notices .tbs-advento-price__free-shipping {
        font-size: 14px;
    }
}



/* ===== Rediseño precio + promo "Llévate 2" (nov 2026) ===== */
body.template-product .pdp-price-wrap--advento .tbs-advento-price__amounts { gap: 4px; }
body.template-product .pdp-price-wrap--advento .tbs-advento-price__ref { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
body.template-product .pdp-price-wrap--advento .tbs-advento-price__regular { display: inline; gap: 0; color: #6b7579; font-size: 16px; font-weight: 400; }
body.template-product .pdp-price-wrap--advento .tbs-advento-price__regular-amount,
body.template-product .pdp-price-wrap--advento .tbs-advento-price__regular-amount .amount { color: #6b7579; font-weight: 400; }
body.template-product .pdp-price-wrap--advento .tbs-advento-price__save { padding: 3px 10px; border-radius: 999px; background: #f6e6e8; color: #8e3441; font-size: 14px; font-weight: 700; line-height: 1.4; }
body.template-product .pdp-price-wrap--advento .tbs-advento-price__save .amount { color: inherit; }
body.template-product .pdp-price-wrap--advento .tbs-advento-price__offer { font-size: clamp(36px, 3.7vw, 48px); font-weight: 600; line-height: 1.05; }
body.template-product .pdp-price-wrap--advento .tbs-advento-price__offer .woocommerce-Price-amount,
body.template-product .pdp-price-wrap--advento .tbs-advento-price__offer .woocommerce-Price-currencySymbol { font-weight: 600; }
body.template-product .pdp-price-wrap--advento .tbs-advento-price__promo { margin: 16px 0 0; padding: 12px 16px; border: 1.5px solid #004236; border-radius: 8px; background: #f3f6f4; text-align: left; }
body.template-product .pdp-price-wrap--advento .tbs-advento-price__promo-title { margin: 0 0 2px; font-size: 17px; font-weight: 700; line-height: 1.3; color: #004236; }
body.template-product .pdp-price-wrap--advento .tbs-advento-price__promo-text { margin: 0; font-size: 14px; line-height: 1.4; color: #3f5a52; }
body.template-product .pdp-price-wrap--advento .tbs-advento-price__promo .amount { color: inherit; font-weight: inherit; }
body.template-product .pdp-price-wrap--advento .tbs-advento-price__shipping-notices { margin-top: 14px; }
