/**
 * Checkout etapa 4 — animação premium na borda tracejada (HOME intacta).
 */

#checkout-form #hm-checkout-wizard section.hm-checkout-step[data-hm-step="4"].hm-checkout-step--current #hm-checkout-coupon-strip-host #hm-checkout-coupon-strip-track .checkout-benefits-coupon {
    position: relative !important;
    overflow: visible !important;
}

#checkout-form #hm-checkout-wizard section.hm-checkout-step[data-hm-step="4"].hm-checkout-step--current #hm-checkout-coupon-strip-host #hm-checkout-coupon-strip-track .hm-coupon-strip-ticket__cut-mount {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: visible !important;
}

/* Remove lixo legado (div + Font Awesome duplicados) */
#checkout-form #hm-checkout-coupon-strip-host #hm-checkout-coupon-strip-track > .hm-checkout-coupon-strip__ticket > .checkoutBenefitsScissor:not(.checkoutBenefitsCutLayer *) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#checkout-form #hm-checkout-wizard section.hm-checkout-step[data-hm-step="4"].hm-checkout-step--current #hm-checkout-coupon-strip-host #hm-checkout-coupon-strip-track .checkoutBenefitsCutLayer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: visible;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

#checkout-form #hm-checkout-wizard section.hm-checkout-step[data-hm-step="4"].hm-checkout-step--current #hm-checkout-coupon-strip-host #hm-checkout-coupon-strip-track .checkoutBenefitsCutLayer--visible {
    opacity: 1 !important;
    visibility: visible !important;
}

#checkout-form #hm-checkout-wizard section.hm-checkout-step[data-hm-step="4"].hm-checkout-step--current #hm-checkout-coupon-strip-host #hm-checkout-coupon-strip-track .checkoutBenefitsCutSvg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible !important;
    pointer-events: none;
}

#checkout-form #hm-checkout-wizard section.hm-checkout-step[data-hm-step="4"].hm-checkout-step--current #hm-checkout-coupon-strip-host #hm-checkout-coupon-strip-track .checkout-benefits-coupon--cutting .hm-coupon-strip-ticket__frame {
    opacity: 0;
    visibility: hidden;
}

#checkout-form #hm-checkout-wizard section.hm-checkout-step[data-hm-step="4"].hm-checkout-step--current #hm-checkout-coupon-strip-host #hm-checkout-coupon-strip-track .checkoutBenefitsCutBorder {
    stroke-linecap: butt;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

#checkout-form #hm-checkout-wizard section.hm-checkout-step[data-hm-step="4"].hm-checkout-step--current #hm-checkout-coupon-strip-host #hm-checkout-coupon-strip-track .checkoutBenefitsCutBorder--active {
    filter: drop-shadow(0 0 2px rgba(234, 29, 44, 0.28));
}

#checkout-form #hm-checkout-wizard section.hm-checkout-step[data-hm-step="4"].hm-checkout-step--current #hm-checkout-coupon-strip-host #hm-checkout-coupon-strip-track .checkoutBenefitsScissor {
    pointer-events: none !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#checkout-form #hm-checkout-wizard section.hm-checkout-step[data-hm-step="4"].hm-checkout-step--current #hm-checkout-coupon-strip-host #hm-checkout-coupon-strip-track .checkout-benefits-coupon--cutting .checkoutBenefitsScissor {
    opacity: 1;
}

#checkout-form #hm-checkout-wizard section.hm-checkout-step[data-hm-step="4"].hm-checkout-step--current #hm-checkout-coupon-strip-host #hm-checkout-coupon-strip-track .checkoutBenefitsScissor__icon {
    color: #374151;
    filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.85));
}

#checkout-form #hm-checkout-wizard section.hm-checkout-step[data-hm-step="4"].hm-checkout-step--current #hm-checkout-coupon-strip-host .hm-coupon-strip-ticket__scissors {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

@media (prefers-reduced-motion: reduce) {
    #checkout-form #hm-checkout-wizard section.hm-checkout-step[data-hm-step="4"].hm-checkout-step--current #hm-checkout-coupon-strip-host #hm-checkout-coupon-strip-track .checkoutBenefitsCutLayer {
        display: none !important;
    }
}
