/* ACE CART COUPON SINGLE V5.82E START */

/*
  Corrige efeito de "dois botoes" no cupom.
  O botao visual fica somente no .title.
  O texto interno fica transparente/limpo.
*/

html body.checkout-cart-index .cart-discount {
    width: 238px !important;
    max-width: 238px !important;
}

html body.checkout-cart-index .cart-discount .block.discount,
html body.checkout-cart-index #block-discount {
    width: 238px !important;
    max-width: 238px !important;
}

html body.checkout-cart-index .cart-discount .block.discount > .title,
html body.checkout-cart-index .cart-discount .title[data-role="title"],
html body.checkout-cart-index #block-discount > .title {
    width: 238px !important;
    min-width: 238px !important;
    max-width: 238px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    background: #07110b !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 12px 24px rgba(7,17,11,.16) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    overflow: hidden !important;
}

/* limpa qualquer "botao interno" criado pelos estilos anteriores */
html body.checkout-cart-index .cart-discount .block.discount > .title strong,
html body.checkout-cart-index .cart-discount .title[data-role="title"] strong,
html body.checkout-cart-index #block-discount-heading,
html body.checkout-cart-index .cart-discount .title span,
html body.checkout-cart-index .cart-discount .title strong span {
    display: inline !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

html body.checkout-cart-index .cart-discount .block.discount > .title:after,
html body.checkout-cart-index .cart-discount .title[data-role="title"]:after {
    flex: 0 0 auto !important;
    margin-left: 8px !important;
    color: inherit !important;
    font-size: 12px !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

html body.checkout-cart-index .cart-discount .block.discount > .title:hover,
html body.checkout-cart-index .cart-discount .title[data-role="title"]:hover {
    background: #c8ff00 !important;
    color: #07110b !important;
    box-shadow: 0 14px 28px rgba(200,255,0,.22) !important;
}

/* garante que no hover o texto interno nao vire outro botao */
html body.checkout-cart-index .cart-discount .block.discount > .title:hover strong,
html body.checkout-cart-index .cart-discount .title[data-role="title"]:hover strong,
html body.checkout-cart-index .cart-discount .title[data-role="title"]:hover span,
html body.checkout-cart-index .cart-discount .block.discount > .title:hover #block-discount-heading {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    color: #07110b !important;
}

/* ACE CART COUPON SINGLE V5.82E END */
