/**
 * Petmarket+ — Estilos frontend
 *
 * Estilos mínimos con clases BEM para que el equipo de frontend
 * los personalice según el diseño del sitio.
 *
 * Clases disponibles:
 *   .pmplus-petcash-message   – Mensaje Petcash en PDP
 *   .pmplus-petcash-message.pmplus-member    – Estado miembro activo
 *   .pmplus-petcash-message.pmplus-prospect  – Estado no miembro
 *   .pmplus-member-badge      – Badge en Mi Cuenta y Checkout
 *   .pmplus-badge-icon        – El símbolo "+"
 *   .pmplus-badge-label       – El texto "Petmarket+"
 *   .pmplus-badge-desc        – El subtexto "Membresía activa"
 *
 * v2.0:
 *   .pmplus-petcash-earn-checkout  – Mensaje "ganarás X Petcash" en checkout
 *   .pmplus-petcash-redeem         – Formulario de redención (tiene saldo)
 *   .pmplus-petcash-applied        – Estado Petcash aplicado
 *   .pmplus-petcash-frozen         – Estado saldo congelado
 *   .pmplus-petcash-blocked        – Estado bloqueado (cupón externo)
 *   .pmplus-petcash-redeem-form    – Form inline
 *   .pmplus-petcash-remove         – Link quitar
 *   .pmplus-item-petcash           – Petcash por item en carrito/checkout
 *   .pmplus-shipping-notice        – Aviso shipping Petmarket+
 */

/* Global: todos los textos del plugin usan Nunito */
[class*="pmplus-"],
.pmplus-cart-petcash-notice {
    font-family: "Nunito", Sans-serif;
}

/* -----------------------------------------------------------------
   Mensaje Petcash en la ficha de producto (PDP)
   ----------------------------------------------------------------- */

.pmplus-petcash-message {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-bottom: 16px;
    border: 1px dashed #2e9b47;
    border-radius: 10px;
    padding: 8px;
    text-align: left;
    font-weight: 600;
    color: #2e9b47;
    overflow-wrap: break-word;
    word-break: break-word;
}

.pmplus-petcash-message .woocommerce-Price-amount,
.pmplus-petcash-message bdi {
    display: inline;
}

:not(.pmplus-petcash-earn-checkout) > .pmplus-petcash-message .pmplus-petcash-list,
.pmplus-petcash-message .pmplus-petcash-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

:not(.pmplus-petcash-earn-checkout) > .pmplus-petcash-message .pmplus-petcash-list li,
.pmplus-petcash-message .pmplus-petcash-list li {
    display: block !important;
    margin: 0 0 4px !important;
    line-height: 1.4;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal !important;
    max-width: 100%;
    min-width: 0;
}

:not(.pmplus-petcash-earn-checkout) > .pmplus-petcash-message .pmplus-petcash-list li:last-child {
    margin-bottom: 0 !important;
}

.pmplus-petcash-message.pmplus-member {
    border-color: #2e9b47;
    color: #2e9b47;
}

.pmplus-petcash-message.pmplus-prospect {
    border-color: #dc4614;
    color: #dc4614;
}

/* -----------------------------------------------------------------
   Upsell membresía Petmarket+ en PDP
   ----------------------------------------------------------------- */

.pmplus-membership-upsell {
    margin: 8px 0 16px;
}

.pmplus-membership-upsell-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: border-color 0.2s, background 0.2s;
}

.pmplus-membership-upsell-label:hover {
    border-color: #2e9b47;
    background: #f6fff8;
}

.pmplus-membership-upsell-input {
    margin: 0;
    cursor: pointer;
}

.pmplus-membership-upsell-input:checked + .pmplus-membership-upsell-content {
    color: #1a6b2f;
}

.pmplus-membership-upsell-label:has(.pmplus-membership-upsell-input:checked) {
    border-color: #2e9b47;
    background: #f6fff8;
}

.pmplus-membership-upsell-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pmplus-membership-upsell-title {
    font-weight: 700;
    font-size: 0.95em;
    color: #333;
}

.pmplus-membership-upsell-price {
    font-size: 0.88em;
    color: #555;
}

.pmplus-membership-upsell-price .woocommerce-Price-amount,
.pmplus-membership-upsell-price bdi {
    display: inline;
}

.pmplus-petcash-message * {
    display: inline;
    white-space: nowrap;
}

/* La lista de beneficios SÍ debe envolver: el nowrap universal de arriba la cortaba
   en móvil. Se restaura el comportamiento de bloque/wrap para ul y li (los montos
   conservan su propio white-space:nowrap inline). */
.pmplus-petcash-message .pmplus-petcash-list,
.pmplus-petcash-message .pmplus-petcash-list li {
    display: block !important;
    white-space: normal !important;
}

/* -----------------------------------------------------------------
   Badge "Petmarket+" en Mi Cuenta y Checkout
   ----------------------------------------------------------------- */

.pmplus-member-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    padding: 6px 14px 6px 10px;
    background: linear-gradient(135deg, #1a6b2f 0%, #2e9b47 100%);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 6px rgba(46, 125, 50, 0.3);
    text-decoration: none;
}

.pmplus-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    font-size: 1em;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.pmplus-badge-label {
    font-size: 0.95em;
}

.pmplus-badge-desc {
    font-size: 0.78em;
    opacity: 0.85;
    font-weight: 400;
}

/* Separador visual entre label y desc */
.pmplus-badge-label::after {
    content: "·";
    margin: 0 4px;
    opacity: 0.6;
}

/* -----------------------------------------------------------------
   Petcash por item en carrito/checkout
   ----------------------------------------------------------------- */

.pmplus-item-petcash {
    display: block;
    margin-top: 0;
    color: #2e7d32;
    font-size: 0.70em;
    font-weight: 700;
}

/* -----------------------------------------------------------------
   Aviso shipping Petmarket+ en checkout
   ----------------------------------------------------------------- */

.pmplus-shipping-notice-wrap {
    margin-top: 2px;
    margin-bottom: 4px;
}

.pmplus-shipping-notice {
    display: inline-block;
    color: #2e7d32;
    font-size: 0.82em;
    font-weight: 500;
    font-style: italic;
}

/* -----------------------------------------------------------------
   Mensaje "ganarás X Petcash" en checkout/carrito
   ----------------------------------------------------------------- */

.pmplus-petcash-earn-checkout {
    color: #1b5e20;
    font-size: 1em;
}

.pmplus-petcash-earn-checkout .pmplus-petcash-icon {
    margin-right: 5px;
}

/* -----------------------------------------------------------------
   Formulario de redención Petcash en checkout/carrito
   ----------------------------------------------------------------- */

.pmplus-petcash-redeem {
    margin-bottom: 32px;
}

.pmplus-petcash-redeem .pmplus-petcash-message,
.pmplus-petcash-redeem .pmplus-petcash-message * {
    white-space: normal !important;
}

.pmplus-petcash-redeem p {
    margin: 0 0 8px;
}

.pmplus-petcash-redeem-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pmplus-petcash-redeem-form label {
    font-weight: 500;
    font-size: 0.9em;
    white-space: nowrap;
}

.pmplus-petcash-redeem-form input[type="number"] {
    width: 120px;
    padding: 5px 8px;
    border: 1px solid #90caf9;
    border-radius: 3px;
    font-size: 0.95em;
}

.pmplus-petcash-redeem-form .button {
    padding: 5px 14px;
    font-size: 0.9em;
    white-space: nowrap;
}

/* Botón CTA "Usar mis PETCASH" */
.pmplus-petcash-open-modal {
    display: inline-block;
    background: #4739a0;
    border: 1px solid #4739a0;
    color: #fff;
    line-height: 32px;
    border-radius: 99px;
    padding: 0 32px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.25px;
}

.pmplus-petcash-open-modal:hover {
    background: #ed6436;
    border-color: #ed6436;
}

/* -----------------------------------------------------------------
   Modal Petcash
   ----------------------------------------------------------------- */

.pmplus-petcash-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pmplus-petcash-modal {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.pmplus-petcash-modal h3 {
    line-height: 24px;
    margin: 0 0 16px !important;
    font-size: 20px !important;
    font-weight: 700;
    color: #333;
    text-align: center;
}

.pmplus-petcash-modal-body {
    margin-bottom: 20px;
    text-align: center;
}

.pmplus-petcash-modal-input {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
    font-size: 1.2em !important;
    text-align: center;
    font-weight: 700;
}

.pmplus-petcash-modal-input:focus {
    border-color: #2e9b47 !important;
    outline: none;
}

.pmplus-petcash-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.pmplus-petcash-modal-cancel {
    background: #eee !important;
    color: #333 !important;
    border: none !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    font-weight: 600;
    cursor: pointer;
}

.pmplus-petcash-modal-cancel:hover {
    background: #ddd !important;
}

.pmplus-petcash-modal-accept {
    background: #2e9b47 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    font-weight: 700;
    cursor: pointer;
}

.pmplus-petcash-modal-accept:hover {
    background: #1a6b2f !important;
}

/* -----------------------------------------------------------------
   Estado: Petcash aplicado
   ----------------------------------------------------------------- */

.pmplus-petcash-applied {
    margin-bottom: 32px;
}

.pmplus-petcash-applied p {
    margin: 0;
    display: inline;
}



/* -----------------------------------------------------------------
   Aviso Petcash en carrito
   ----------------------------------------------------------------- */

.pmplus-cart-petcash-notice {
    font-weight: 600;
}

.pmplus-cart-petcash-notice strong {
    font-weight: 900;
}

/* -----------------------------------------------------------------
   Totales periódicos organizados en carrito/checkout
   ----------------------------------------------------------------- */

.pmplus-recurring-totals,
.pmplus-recurring-totals * {
    color: #333 !important;
    padding: 0;
}

.pmplus-recurring-totals {
    padding: 16px 0 0 !important;
}

.pmplus-recurring-totals-heading {
    font-weight: 700;
    font-size: 1.05em;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.pmplus-recurring-item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.pmplus-recurring-item:last-child {
    border-bottom: none;
}

.pmplus-recurring-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 4px 0;
}

.pmplus-recurring-label {
    font-weight: 600;
    color: #333;
}

.pmplus-recurring-value {
    text-align: right;
}

.pmplus-first-renewal {
    margin-top: 4px;
}

.pmplus-first-renewal small {
    color: #666;
    font-style: italic;
}

.pmplus-recurring-item .includes_tax {
    color: #666;
}

/* -----------------------------------------------------------------
   Estado: Petcash congelado (membresía inactiva)
   ----------------------------------------------------------------- */

.pmplus-petcash-frozen-checkout {
    margin-bottom: 16px;
    color: #1b5e20;
    font-size: 1em;
}
.pmplus-petcash-frozen-checkout .pmplus-frozen-inner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px !important;
    box-sizing: border-box;
}
.pmplus-petcash-frozen-checkout .pmplus-frozen-inner,
.pmplus-petcash-frozen-checkout .pmplus-frozen-inner *  {
    white-space: normal !important;
}
.pmplus-petcash-frozen-checkout .pmplus-frozen-text {
    flex: 1;
    min-width: 0;
    display: block !important;
    line-height: 1.4;
    text-align: left;
}
.pmplus-petcash-frozen-checkout .pmplus-frozen-text span,
.pmplus-petcash-frozen-checkout .pmplus-frozen-text small {
    display: inline !important;
}
.pmplus-petcash-frozen-checkout .pmplus-frozen-text small {
    display: block !important;
}
.pmplus-petcash-frozen-checkout .pmplus-renew-membership-btn {
    flex-shrink: 0;
}
.pmplus-renew-membership-btn,
.pmplus-petcash-open-modal-style {
    display: inline-block;
    line-height: 32px;
    padding: 0 32px;
    background: #4739a0;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 99px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}
.pmplus-renew-membership-btn:hover,
.pmplus-petcash-open-modal-style:hover {
    background: #ed6436;
    color: #fff !important;
}

/* -----------------------------------------------------------------
   Estado: Petcash bloqueado (cupón externo activo)
   ----------------------------------------------------------------- */

.pmplus-petcash-blocked {
    margin-bottom: 16px;
    padding: 10px 14px;
    background-color: #fce4ec;
    border: 1px solid #f8bbd0;
    border-left: 3px solid #c62828;
    border-radius: 4px;
    color: #b71c1c;
    font-size: 0.9em;
}

.pmplus-petcash-blocked p {
    margin: 0;
}

/* -----------------------------------------------------------------
   Columna PM+ en el admin (listado de productos)
   ----------------------------------------------------------------- */

.column-pmplus_petcash {
    width: 48px;
    text-align: center !important;
}

/* -----------------------------------------------------------------
   Página "Mis Petcash" en Mi Cuenta
   ----------------------------------------------------------------- */

.pmplus-petcash-balance-card {
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #1a6b2f 0%, #2e9b47 100%);
    border-radius: 8px;
    color: #ffffff;
    text-align: center;
}

.pmplus-petcash-balance-card h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 0.95em;
    font-weight: 400;
    opacity: 0.9;
}

.pmplus-petcash-balance-amount {
    font-size: 2em;
    font-weight: 700;
    line-height: 1.2;
}

.pmplus-petcash-balance-amount .woocommerce-Price-amount {
    color: #ffffff;
}

.pmplus-petcash-active-note {
    margin: 10px 0 0;
    font-size: 0.85em;
    opacity: 0.85;
}

.pmplus-petcash-frozen-note {
    margin: 10px 0 0;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    font-size: 0.85em;
}

.pmplus-petcash-log-table {
    width: 100%;
    margin-top: 12px;
}

.pmplus-amount-positive {
    color: #2e7d32;
    font-weight: 600;
}

.pmplus-amount-negative {
    color: #c62828;
    font-weight: 600;
}

/* -----------------------------------------------------------------
   Badge "PM PLUS" en header
   ----------------------------------------------------------------- */

.block-top-link {
    display: flex;
    align-items: center;
}

/* Base (comprende tambien la insignia original con <img> cuando el saldo es 0). */
.pmplus-header-badge {
    display: inline-flex;
    align-items: center;
    margin-right: 24px;
    vertical-align: middle;
}

.pmplus-header-badge img {
    height: 30px;
    width: auto;
}

/* Pill dinamico (solo cuando hay PetCash acumulado). */
.pmplus-header-badge.pmplus-hb {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(150deg, #259C45, #1c7c36);
    box-shadow: 0 1px 1px rgba(15, 90, 40, .20), 0 5px 13px -8px rgba(15, 90, 40, .45);
    line-height: 1;
    cursor: default;
}

.pmplus-hb__icon {
    width: 18px;
    height: 18px;
    flex: none;
    color: #fff;
}

.pmplus-hb__num {
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.02em;
}

/* Tooltip al hover del pill */
.pmplus-hb__tip {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: #1c1a17;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 5px 9px;
    border-radius: 6px;
    box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    z-index: 100;
}

.pmplus-hb__tip::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: #1c1a17;
}

.pmplus-header-badge.pmplus-hb:hover .pmplus-hb__tip,
.pmplus-header-badge.pmplus-hb:focus-within .pmplus-hb__tip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 782px) {
    .pmplus-header-badge { margin-right: 12px; }
    .pmplus-header-badge.pmplus-hb { height: 32px; }
    .pmplus-hb__num { font-size: 13px; }
    .pmplus-hb__icon { width: 17px; height: 17px; }
}


/* -----------------------------------------------------------------
   Tipografía producto en carrito/checkout
   ----------------------------------------------------------------- */

.woocommerce-checkout .product-total {
    text-align: right;
}

.woocommerce-checkout .product-total .woocommerce-Price-amount,
.woocommerce-cart .product-subtotal .woocommerce-Price-amount {
    font-weight: 700;
}

.woocommerce-checkout .subscription-details,
.woocommerce-cart .subscription-details {
    color: #666666 !important;
}

.checkout .woocommerce-checkout-review-order .product-total .subscription-price {
    font-size: 14px !important;
}

.checkout .woocommerce-checkout-review-order .product-total .subscription-price .subscription-details {
    font-size: 10px !important;
    display: block;
    margin-top: 4px;
}

.header-right,
.header-right *:not(i):not([class*="icon"]):not([class*="wpb-icon"]) {
    font-family: Nunito, sans-serif !important;
}

.woocommerce-checkout .product-quantity,
.woocommerce-cart .product-quantity {
    margin-top: 2px;
    font-size: 10px;
    font-weight: 900 !important;
}

.woocommerce-checkout .pmplus-recurring-totals {
    display: none !important;
}

.woocommerce-checkout .cart-discount[class*="petcash"],
.woocommerce-cart .cart-discount[class*="petcash"] {
    margin-bottom: 16px;
}

.woocommerce-checkout .cart-discount[class*="petcash"] div:last-child,
.woocommerce-cart .cart-discount[class*="petcash"] div:last-child {
    text-align: right !important;
}

div[class*="petcash"] .woocommerce-remove-coupon,
.cart-discount[class*="petcash"] .woocommerce-remove-coupon,
div[class*="petcash"] a[data-coupon*="petcash"] {
    display: none !important;
}

.woocommerce-cart .product-name,
.woocommerce-cart .product-name a,
.woocommerce-checkout .product-name,
.woocommerce-checkout .product-name a,
.woocommerce-cart .product-subtotal,
.woocommerce-cart .product-subtotal *,
.woocommerce-cart .product-price,
.woocommerce-cart .product-price *,
.woocommerce-checkout .product-total,
.woocommerce-checkout .product-total *,
.woocommerce-cart .woocommerce-Price-amount,
.woocommerce-checkout .woocommerce-Price-amount {
    font-family: Nunito, sans-serif !important;
}

/* -----------------------------------------------------------------
   Override checkout-top spacing
   ----------------------------------------------------------------- */

.checkout-top {
    margin: -40px -15px 16px;
}

/* -----------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------- */

@media (max-width: 480px) {
    .pmplus-member-badge {
        display: flex;
        width: 100%;
        justify-content: center;
        border-radius: 8px;
    }

    .pmplus-petcash-redeem-form {
        flex-direction: column;
        align-items: stretch;
    }

    .pmplus-petcash-redeem .pmplus-petcash-message {
        flex-direction: column !important;
        align-items: flex-start !important;
        font-size: 0.9em;
    }

    .pmplus-petcash-redeem-form input[type="number"] {
        width: 100%;
    }

    .pmplus-petcash-frozen-checkout .pmplus-frozen-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

/* -----------------------------------------------------------------
   Badge Petmarket+ en loops / carruseles de productos
   ----------------------------------------------------------------- */

.pmplus-loop-badge {
    display: block;
    width: 100%;
    text-align: left;
    margin: 6px 0 8px;
    line-height: 0;
}

.pmplus-loop-badge img {
    display: inline-block;
    width: 46px;
    height: auto;
}

.pmplus-loop-badge--locked {
    line-height: 1;
}

.pmplus-lock-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 24px;
    padding: 0 8px 0 8px;
    background: #2c9b46;
    color: #ffffff;
    border-radius: 20px;
    box-sizing: border-box;
}

.pmplus-lock-circle svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.pmplus-lock-text {
    font-family: 'Nunito', sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: 12px;
    color: #ffffff;
    white-space: nowrap;
    line-height: 1;
    padding: 2px 0 0 0;
}

/* -----------------------------------------------------------------
   Upsell membresía Petmarket+ en PDP — ocultar en sticky bar
   ----------------------------------------------------------------- */

.sticky-product .pmplus-membership-upsell,
.sticky-product .pmplus-petcash-message {
    display: none !important;
}

/* Aviso PETCASH en carrito — botón membresía */
.pmplus-cart-earn-inner {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.pmplus-cart-earn-inner *,
.pmplus-cart-earn-text * {
    white-space: normal !important;
}

.pmplus-cart-earn-text {
    flex: 1;
    min-width: 0;
    display: inline !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.pmplus-petcash-earn-checkout {
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.pmplus-cart-membership-btn {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
}

a.pmplus-cart-membership-btn {
    background: #4739a0;
    color: #fff;
}

a.pmplus-cart-membership-btn:hover {
    background: #362b80;
    color: #fff;
}

.pmplus-cart-membership-added {
    background: #999;
    color: #fff;
    opacity: 0.7;
    pointer-events: none;
}

@media (max-width: 600px) {
    .pmplus-cart-earn-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .pmplus-cart-membership-btn {
        align-self: flex-start;
    }
}

/* ============================================================
   Panel "Membresía Plus" (endpoint membresia-plus) — rediseño 2026-07
   Paleta de marca: morado Petmarket+ (#4739a0), Petcash rojo-naranja
   (#dc4614), verde ahorro (#2e9b47). Iconos lucide.dev. Sitio en claro.
   ============================================================ */
.pmplus-membership-account {
    --mp-surface: #ffffff;
    --mp-surface-2: #f7f8fb;
    --mp-ink: #2b2f38;
    --mp-ink-soft: #6b7280;
    --mp-line: #e6e8ee;
    /* membresía Petmarket+ = morado */
    --mp-plus: #4739a0;
    --mp-plus-dark: #372c82;
    --mp-plus-tint: #efedfa;
    --mp-plus-border: #d6d0f0;
    /* Petcash = rojo-naranja */
    --mp-coin: #dc4614;
    --mp-coin-dark: #b8390f;
    --mp-coin-tint: #fdf1ec;
    --mp-coin-border: #f3c9b8;
    /* ahorro / envíos = verde */
    --mp-green: #2e9b47;
    --mp-green-dark: #1a6b2f;
    --mp-green-tint: #eef7f0;
    --mp-green-border: #cfe8d6;
    --mp-radius: 14px;
    --mp-shadow: 0 1px 2px rgba(30,25,60,.05), 0 6px 20px rgba(30,25,60,.06);
    color: var(--mp-ink);
    font-family: "Nunito", sans-serif;
}
.pmplus-membership-account * { box-sizing: border-box; }

/* Estado — carné premium (morado Petmarket+) */
.pmplus-mp-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #221a52 0%, var(--mp-plus) 58%, #5a49c4 100%);
    color: #fff; border-radius: var(--mp-radius);
    padding: 26px 28px; box-shadow: 0 10px 30px rgba(30,22,70,.22);
}
.pmplus-mp-hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(130% 120% at 88% -20%, rgba(255,255,255,.22), transparent 52%);
}
.pmplus-mp-paw { position: absolute; right: -18px; bottom: -26px; width: 220px; height: 220px; color: #fff; opacity: .09; pointer-events: none; }

.pmplus-mp-carnet-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.pmplus-mp-brandmark { display: flex; align-items: center; gap: 12px; }
.pmplus-mp-emblem { width: 48px; height: 48px; border-radius: 13px; flex: none; display: grid; place-items: center; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2); }
.pmplus-mp-emblem svg { width: 25px; height: 25px; color: #fff; }
.pmplus-mp-wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.pmplus-mp-wordmark .w1 { font-size: 20px; font-weight: 800; letter-spacing: .01em; }
.pmplus-mp-wordmark .w2 { font-size: 11.5px; letter-spacing: .28em; text-transform: uppercase; opacity: .72; font-weight: 700; }

.pmplus-mp-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.14); padding: 5px 13px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .01em; }
.pmplus-mp-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #37c26a; box-shadow: 0 0 0 3px rgba(55,194,106,.3); }

.pmplus-mp-number { position: relative; font-size: clamp(26px, 5.4vw, 36px); font-weight: 800; letter-spacing: .12em; font-variant-numeric: tabular-nums; margin-bottom: 24px; text-shadow: 0 1px 0 rgba(0,0,0,.12); }

.pmplus-mp-carnet-foot { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pmplus-mp-carnet-foot .col .lbl { font-size: 12.5px; opacity: .8; font-weight: 600; letter-spacing: .02em; margin-bottom: 4px; }
.pmplus-mp-carnet-foot .col .val { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pmplus-mp-carnet-foot .col .sub { font-size: 12px; opacity: .78; margin-top: 2px; }
.pmplus-mp-cash { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.pmplus-mp-cash .big { font-size: 34px; font-weight: 800; line-height: 1; }
.pmplus-mp-cash .lbl { font-size: 12.5px; opacity: .82; font-weight: 600; letter-spacing: .02em; }

/* Grace: cambia el degradado a coral */
.pmplus-membership-account.is-grace .pmplus-mp-hero { background: linear-gradient(135deg, var(--mp-coin-dark) 0%, var(--mp-coin) 100%); }
.pmplus-membership-account.is-grace .pmplus-mp-badge .dot { background: #ffd98a; box-shadow: 0 0 0 3px rgba(255,217,138,.3); }

@media (max-width: 720px) {
    .pmplus-mp-carnet-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
    .pmplus-mp-cash { text-align: left; align-items: flex-start; }
}

/* Layout */
.pmplus-mp-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; margin-top: 18px; align-items: start; }
.pmplus-mp-section-label { font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--mp-ink-soft); font-weight: 800; margin: 4px 2px 12px; }

/* Total (ahorro = verde) */
.pmplus-mp-total { position: relative; padding: 22px 24px; background: linear-gradient(180deg, var(--mp-green-tint), var(--mp-surface)); border: 1px solid var(--mp-green-border); border-radius: var(--mp-radius); }
.pmplus-mp-total::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; background: linear-gradient(var(--mp-green), var(--mp-green-dark)); border-radius: 999px; }
.pmplus-mp-total .lbl { font-size: 13px; color: var(--mp-ink-soft); font-weight: 700; }
.pmplus-mp-total .val { font-size: clamp(30px, 6vw, 42px); font-weight: 800; color: var(--mp-green-dark); line-height: 1.05; margin-top: 6px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.pmplus-mp-total .val .woocommerce-Price-amount { color: var(--mp-green-dark); }
.pmplus-mp-total .sub { font-size: 12.5px; color: var(--mp-ink-soft); margin-top: 6px; }

/* Desglose */
.pmplus-mp-breakdown { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.pmplus-mp-mini { padding: 16px; border-radius: 12px; border: 1px solid var(--mp-line); background: var(--mp-surface); }
.pmplus-mp-mini .row { display: flex; align-items: center; gap: 9px; }
.pmplus-mp-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.pmplus-mp-ic svg { width: 18px; height: 18px; }
.pmplus-mp-ic--coin { background: var(--mp-coin-tint); color: var(--mp-coin); border: 1px solid var(--mp-coin-border); }
.pmplus-mp-ic--ship { background: var(--mp-green-tint); color: var(--mp-green); border: 1px solid var(--mp-green-border); }
.pmplus-mp-mini .k { font-size: 12.5px; color: var(--mp-ink-soft); font-weight: 700; }
.pmplus-mp-mini .v { font-size: 22px; font-weight: 800; margin-top: 10px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.pmplus-mp-mini--coin .v, .pmplus-mp-mini--coin .v .woocommerce-Price-amount { color: var(--mp-coin); }
.pmplus-mp-mini--ship .v, .pmplus-mp-mini--ship .v .woocommerce-Price-amount { color: var(--mp-green-dark); }
.pmplus-mp-note { display: flex; gap: 7px; align-items: flex-start; font-size: 11.5px; color: var(--mp-ink-soft); margin-top: 11px; line-height: 1.45; }
.pmplus-mp-note svg { width: 14px; height: 14px; flex: none; margin-top: 2px; opacity: .8; }

/* Aside — billetera Petcash (coral) */
.pmplus-mp-aside { display: flex; flex-direction: column; gap: 18px; }
.pmplus-mp-wallet { padding: 20px 20px 18px; border-radius: var(--mp-radius); background: linear-gradient(160deg, var(--mp-coin-tint), var(--mp-surface) 85%); border: 1px solid var(--mp-coin-border); box-shadow: var(--mp-shadow); }
.pmplus-mp-wallet .row { display: flex; align-items: center; gap: 9px; }
.pmplus-mp-wallet .k { font-size: 12.5px; color: var(--mp-ink-soft); font-weight: 700; }
.pmplus-mp-wallet .v { font-size: 30px; font-weight: 800; color: var(--mp-coin); margin-top: 10px; font-variant-numeric: tabular-nums; }
.pmplus-mp-wallet .v .woocommerce-Price-amount { color: var(--mp-coin); }
.pmplus-mp-wallet p { margin: 8px 0 15px; font-size: 12.5px; color: var(--mp-ink-soft); }
.pmplus-mp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px 16px; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 800; background: var(--mp-plus); color: #fff; border: 1px solid transparent; text-decoration: none; transition: filter .15s ease; }
.pmplus-mp-btn:hover { filter: brightness(1.08); color: #fff; }
.pmplus-mp-btn--ghost { background: transparent; color: var(--mp-plus); border-color: var(--mp-plus-border); margin-top: 9px; }
.pmplus-mp-btn--ghost:hover { color: var(--mp-plus); background: var(--mp-plus-tint); filter: none; }
.pmplus-mp-btn:focus-visible { outline: 3px solid rgba(71,57,160,.45); outline-offset: 2px; }

/* Beneficios (acento morado) */
.pmplus-mp-benefits { padding: 18px 20px 20px; background: var(--mp-surface); border: 1px solid var(--mp-line); border-radius: var(--mp-radius); box-shadow: var(--mp-shadow); }
.pmplus-mp-benefits h4 { margin: 0 0 4px; font-size: 16px; font-weight: 800; }
.pmplus-mp-benefits .cap { font-size: 12px; color: var(--mp-ink-soft); margin: 0 0 14px; }
.pmplus-mp-perk { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--mp-line); }
.pmplus-mp-perk:first-of-type { border-top: 0; padding-top: 4px; }
.pmplus-mp-perk .pic { width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--mp-plus-tint); color: var(--mp-plus); border: 1px solid var(--mp-plus-border); }
.pmplus-mp-perk .pic svg { width: 19px; height: 19px; }
.pmplus-mp-perk .pt { font-size: 14px; font-weight: 800; }
.pmplus-mp-perk .pd { font-size: 12.5px; color: var(--mp-ink-soft); margin-top: 2px; }

@media (max-width: 760px) {
    .pmplus-mp-grid { grid-template-columns: 1fr; }
    .pmplus-mp-hero-meta { grid-template-columns: 1fr 1fr; row-gap: 16px; }
    .pmplus-mp-breakdown { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .pmplus-membership-account * { transition: none !important; } }

/* ============================================================
   Panel "Mis Petcash" (endpoint mis-petcash) — rediseño 2026-07
   Identidad Petcash = verde. Coral solo para lo canjeado/negativo.
   Iconos lucide.dev. Sitio en claro.
   ============================================================ */
.pmplus-petcash-account {
    --pc-surface: #ffffff;
    --pc-surface-2: #f8f9fc;
    --pc-ink: #2b2f38;
    --pc-soft: #6b7280;
    --pc-line: #e6e8ee;
    --pc-green: #2e9b47;
    --pc-green-dark: #1a6b2f;
    --pc-green-tint: #eef7f0;
    --pc-green-border: #cfe8d6;
    --pc-coin: #dc4614;
    --pc-coin-dark: #b8390f;
    --pc-coin-tint: #fdf1ec;
    --pc-coin-border: #f3c9b8;
    --pc-plus: #4739a0;
    --pc-plus-tint: #efedfa;
    --pc-plus-border: #d6d0f0;
    --pc-radius: 16px;
    --pc-shadow: 0 1px 2px rgba(30,25,60,.05), 0 8px 24px rgba(30,25,60,.06);
    color: var(--pc-ink);
    font-family: "Nunito", sans-serif;
}
.pmplus-petcash-account * { box-sizing: border-box; }

/* Saldo (verde) */
.pmplus-pc-balance {
    position: relative; overflow: hidden; border-radius: var(--pc-radius); color: #fff;
    padding: 30px 30px 26px;
    background: linear-gradient(135deg, var(--pc-green-dark) 0%, var(--pc-green) 62%, #4bbf63 100%);
    box-shadow: 0 10px 30px rgba(26,107,47,.24);
}
.pmplus-pc-balance::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(130% 120% at 88% -20%, rgba(255,255,255,.22), transparent 52%); }
.pmplus-pc-balance.is-frozen { background: linear-gradient(135deg, #4b5563 0%, #6b7280 100%); box-shadow: 0 10px 30px rgba(60,70,85,.22); }
.pmplus-pc-wm { position: absolute; right: -24px; top: -24px; width: 180px; height: 180px; opacity: .12; color: #fff; pointer-events: none; }
.pmplus-pc-head { position: relative; display: flex; align-items: center; gap: 11px; }
.pmplus-pc-head .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.22); }
.pmplus-pc-head .ic svg { width: 21px; height: 21px; }
.pmplus-pc-head .lbl { font-size: 14px; font-weight: 700; opacity: .92; letter-spacing: .01em; }
.pmplus-pc-amount { position: relative; font-size: clamp(38px,8vw,56px); font-weight: 800; line-height: 1.02; margin: 14px 0 6px; letter-spacing: -.015em; font-variant-numeric: tabular-nums; text-shadow: 0 1px 0 rgba(0,0,0,.1); }
.pmplus-pc-amount .woocommerce-Price-amount { color: #fff; }
.pmplus-pc-sub { position: relative; font-size: 13.5px; opacity: .92; max-width: 52ch; }
.pmplus-pc-actions { position: relative; display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.pmplus-pc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 11px; font-size: 14px; font-weight: 800; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: filter .15s, background .15s; }
.pmplus-pc-btn svg { flex: none; }
.pmplus-pc-btn svg { width: 16px; height: 16px; }
.pmplus-pc-btn--solid { background: #fff; color: var(--pc-green-dark); }
.pmplus-pc-btn--solid:hover { filter: brightness(.96); color: var(--pc-green-dark); }
.pmplus-pc-balance.is-frozen .pmplus-pc-btn--solid { color: #374151; }
.pmplus-pc-btn--ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); }
.pmplus-pc-btn--ghost:hover { background: rgba(255,255,255,.22); color: #fff; }

/* Resumen */
.pmplus-pc-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 16px; }
.pmplus-pc-stat { background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: 14px; padding: 20px 22px; box-shadow: var(--pc-shadow); }
.pmplus-pc-stat .row { display: flex; align-items: center; gap: 10px; }
.pmplus-pc-stat .sic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.pmplus-pc-stat .sic svg { width: 20px; height: 20px; }
.pmplus-pc-stat .sic.coin { background: var(--pc-coin-tint); color: var(--pc-coin); border: 1px solid var(--pc-coin-border); }
.pmplus-pc-stat .sic.green { background: var(--pc-green-tint); color: var(--pc-green); border: 1px solid var(--pc-green-border); }
.pmplus-pc-stat .sic.plus { background: var(--pc-plus-tint); color: var(--pc-plus); border: 1px solid var(--pc-plus-border); }
.pmplus-pc-stat .k { font-size: 14px; color: var(--pc-soft); font-weight: 700; }
.pmplus-pc-stat .v { font-size: 32px; font-weight: 800; margin-top: 14px; color: var(--pc-ink); line-height: 1.05; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pmplus-pc-stat .v .woocommerce-Price-amount { color: var(--pc-ink); }

/* Historial */
.pmplus-pc-hist { margin-top: 30px; }
.pmplus-pc-hist h3 { font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.pmplus-pc-cap { font-size: 13px; color: var(--pc-soft); margin: 0 0 16px; }
.pmplus-pc-ledger { background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius); box-shadow: var(--pc-shadow); overflow: hidden; }
.pmplus-pc-txn { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 15px 20px; border-top: 1px solid var(--pc-line); }
.pmplus-pc-txn:first-child { border-top: 0; }
.pmplus-pc-txn .tic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.pmplus-pc-txn .tic svg { width: 20px; height: 20px; }
.pmplus-pc-txn .tic.earn { background: var(--pc-green-tint); color: var(--pc-green); border: 1px solid var(--pc-green-border); }
.pmplus-pc-txn .tic.migr { background: var(--pc-plus-tint); color: var(--pc-plus); border: 1px solid var(--pc-plus-border); }
.pmplus-pc-txn .tic.redeem { background: var(--pc-coin-tint); color: var(--pc-coin); border: 1px solid var(--pc-coin-border); }
.pmplus-pc-txn .desc { min-width: 0; }
.pmplus-pc-txn .desc .t { font-size: 14.5px; font-weight: 700; }
.pmplus-pc-txn .desc .d { font-size: 12.5px; color: var(--pc-soft); margin-top: 2px; }
.pmplus-pc-txn .num { text-align: right; }
.pmplus-pc-txn .num .amt { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pmplus-pc-txn .num .amt.pos, .pmplus-pc-txn .num .amt.pos .woocommerce-Price-amount { color: var(--pc-green-dark); }
.pmplus-pc-txn .num .amt.neg, .pmplus-pc-txn .num .amt.neg .woocommerce-Price-amount { color: var(--pc-coin-dark); }
.pmplus-pc-txn .num .bal { font-size: 12px; color: var(--pc-soft); margin-top: 2px; font-variant-numeric: tabular-nums; }
.pmplus-pc-empty { padding: 20px; color: var(--pc-soft); }

@media (max-width: 640px) {
    .pmplus-pc-stats { grid-template-columns: 1fr; }
    .pmplus-pc-txn { grid-template-columns: auto 1fr; }
    .pmplus-pc-txn .num { grid-column: 2; text-align: left; margin-top: 2px; }
}

/* ============================================================
   Pantalla "Membresía Plus" para NO miembros (endpoint membresia-plus) — v2
   Hero morado con huellas + comparación + beneficios. Lucide.
   ============================================================ */
.pmplus-join {
    --j-surface:#ffffff; --j-surface-2:#f7f8fb; --j-ink:#232733; --j-soft:#69707e; --j-line:#e4e7ee;
    --j-plus:#4739a0; --j-plus-dark:#372c82; --j-plus-tint:#efedfa; --j-plus-border:#d6d0f0;
    --j-green:#2e9b47; --j-green-dark:#1a6b2f; --j-green-tint:#eef7f0; --j-green-border:#cfe8d6;
    --j-radius:18px; --j-shadow:0 1px 2px rgba(25,20,55,.05), 0 10px 30px rgba(25,20,55,.07);
    color:var(--j-ink); font-family:"Nunito", sans-serif; display:flex; flex-direction:column; gap:20px;
}

/* Cómo ganas Petcash — 3 pasos (iconos verdes = Petcash) */
.pmplus-join-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.pmplus-join-step { position:relative; background:var(--j-surface); border:1px solid var(--j-line); border-radius:14px; padding:20px 18px; box-shadow:var(--j-shadow); }
.pmplus-join-step .n { position:absolute; top:14px; right:16px; font-size:13px; font-weight:800; color:var(--j-soft); opacity:.55; }
.pmplus-join-step .ic { width:44px; height:44px; border-radius:12px; display:grid; place-items:center; background:var(--j-green-tint); color:var(--j-green); border:1px solid var(--j-green-border); margin-bottom:13px; }
.pmplus-join-step .ic svg { width:23px; height:23px; }
.pmplus-join-step h4 { font-size:15px; font-weight:800; margin:0 0 4px; }
.pmplus-join-step p { font-size:13px; color:var(--j-soft); margin:0; line-height:1.45; }
.pmplus-join * { box-sizing:border-box; }

/* Hero morado con huellas */
.pmplus-join-hero { position:relative; overflow:hidden; border-radius:var(--j-radius); color:#fff;
    background:linear-gradient(135deg, var(--j-plus-dark) 0%, var(--j-plus) 62%, #5a49c4 100%);
    box-shadow:0 14px 40px rgba(45,34,110,.30); padding:46px 44px; }
.pmplus-join-hero::after { content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(120% 130% at 85% -20%, rgba(255,255,255,.18), transparent 55%); }
.pmplus-join-paw { position:absolute; color:#fff; pointer-events:none; z-index:0; }
.pmplus-join-paw--p1 { width:210px; height:210px; top:-34px; right:44px; opacity:.11; transform:rotate(-18deg); }
.pmplus-join-paw--p2 { width:132px; height:132px; bottom:-26px; right:172px; opacity:.10; transform:rotate(24deg); }
.pmplus-join-paw--p3 { width:96px; height:96px; top:64px; right:-14px; opacity:.09; transform:rotate(9deg); }
.pmplus-join-paw--p4 { width:74px; height:74px; bottom:44px; right:96px; opacity:.08; transform:rotate(-8deg); }
.pmplus-join-copy { position:relative; z-index:1; max-width:600px; display:flex; flex-direction:column; align-items:flex-start; gap:16px; }
.pmplus-join-eyebrow { display:inline-flex; align-items:center; gap:7px; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.22); color:#fff; padding:6px 13px; border-radius:999px; }
.pmplus-join-eyebrow svg { width:14px; height:14px; }
.pmplus-join-hero h2 { color:#fff !important; font-size:clamp(28px,4.4vw,40px); font-weight:800; line-height:1.1; letter-spacing:-.015em; margin:0 !important; }
.pmplus-join-hero .lead { color:#fff !important; opacity:.95; font-size:18px; line-height:1.55; margin:0 !important; }
.pmplus-join-cta { display:inline-flex; align-items:center; gap:9px; margin:8px 0 0 !important; background:#fff; color:var(--j-plus) !important; font-weight:800; font-size:15.5px; padding:14px 24px; border-radius:13px; text-decoration:none; box-shadow:0 6px 18px rgba(0,0,0,.16); transition:transform .12s, filter .15s; }
.pmplus-join-cta:hover { filter:brightness(.97); transform:translateY(-1px); color:var(--j-plus) !important; }
.pmplus-join-cta svg { stroke:var(--j-plus); }
.pmplus-join-cta svg { width:18px; height:18px; }
.pmplus-join-reassure { display:flex; flex-wrap:wrap; gap:14px 18px; margin:4px 0 0; }
.pmplus-join-reassure span { display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color:#fff; opacity:.9; font-weight:600; }
.pmplus-join-reassure svg { width:14px; height:14px; }

/* Encabezados de sección */
.pmplus-join-sech { margin:14px 2px 0; }
.pmplus-join-sech h3 { font-size:21px; font-weight:800; margin:0 0 3px; }
.pmplus-join-sech p { font-size:13.5px; color:var(--j-soft); margin:0; }

/* Comparación */
.pmplus-join-compare { display:grid; grid-template-columns:1fr auto 1fr; align-items:stretch; overflow:hidden;
    background:var(--j-surface); border:1px solid var(--j-line); border-radius:var(--j-radius); box-shadow:var(--j-shadow); }
.pmplus-join-compare .side { padding:24px 26px; display:flex; flex-direction:column; justify-content:center; }
.pmplus-join-compare .free { background:var(--j-surface-2); }
.pmplus-join-compare .plus { background:linear-gradient(160deg, var(--j-plus-tint), var(--j-surface) 90%); border-left:1px solid var(--j-line); }
.pmplus-join-compare .k { font-size:12.5px; font-weight:800; color:var(--j-soft); letter-spacing:.02em; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.pmplus-join-compare .plus .k { color:var(--j-plus); }
.pmplus-join-compare .plus .k .mult { background:var(--j-plus); color:#fff; font-size:11px; font-weight:800; padding:3px 9px; border-radius:999px; }
.pmplus-join-compare .big { font-size:34px; font-weight:800; margin-top:10px; font-variant-numeric:tabular-nums; }
.pmplus-join-compare .big .woocommerce-Price-amount { color:inherit; }
.pmplus-join-compare .free .big { color:var(--j-soft); }
.pmplus-join-compare .plus .big { color:var(--j-plus); }
.pmplus-join-compare .eg { font-size:12.5px; color:var(--j-soft); margin-top:2px; }
.pmplus-join-compare .mid { display:grid; place-items:center; padding:0 4px; background:var(--j-surface); }
.pmplus-join-compare .mid span { width:40px; height:40px; border-radius:50%; background:var(--j-surface); border:1px solid var(--j-line); display:grid; place-items:center; font-size:12px; font-weight:800; color:var(--j-soft); box-shadow:var(--j-shadow); }

/* Beneficios */
.pmplus-join-perks { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.pmplus-join-perk { background:var(--j-surface); border:1px solid var(--j-line); border-radius:var(--j-radius); box-shadow:var(--j-shadow); padding:22px 20px; }
.pmplus-join-perk .pic { width:46px; height:46px; border-radius:13px; display:grid; place-items:center; background:var(--j-plus-tint); color:var(--j-plus); border:1px solid var(--j-plus-border); margin-bottom:14px; }
.pmplus-join-perk .pic svg { width:24px; height:24px; }
.pmplus-join-perk h3 { font-size:15.5px; font-weight:800; margin:0 0 5px; }
.pmplus-join-perk p { font-size:13px; color:var(--j-soft); margin:0; line-height:1.5; }

/* Banda final morada */
.pmplus-join-band { position:relative; overflow:hidden; border-radius:var(--j-radius); color:#fff; padding:30px 32px;
    background:linear-gradient(135deg, var(--j-plus-dark) 0%, var(--j-plus) 100%); box-shadow:0 12px 34px rgba(45,34,110,.26);
    display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.pmplus-join-band::after { content:""; position:absolute; inset:0; background:radial-gradient(120% 130% at 88% -20%, rgba(255,255,255,.18), transparent 55%); pointer-events:none; }
.pmplus-join-band .txt h3 { position:relative; color:#fff !important; font-size:23px; font-weight:800; margin:0 0 4px; }
.pmplus-join-band .txt p { position:relative; color:#fff !important; opacity:.92; font-size:14px; margin:0; }

@media (max-width:760px){
    .pmplus-join-hero { padding:30px 26px; }
    .pmplus-join-paw--p2, .pmplus-join-paw--p4 { display:none; }
    .pmplus-join-steps { grid-template-columns:1fr; }
    .pmplus-join-perks { grid-template-columns:1fr; }
    .pmplus-join-compare { grid-template-columns:1fr; }
    .pmplus-join-compare .plus { border-left:0; border-top:1px solid var(--j-line); }
    .pmplus-join-compare .mid { display:none; }
    .pmplus-join-band { flex-direction:column; align-items:flex-start; }
}
