/* Coupon list */
.coupon-box>.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2.25rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

body #coupons_list {
    flex: 1 1 100%;
    margin: 0;
    border: none;
    font-size: 2rem;
}

body #coupons_list .sc-accordion-header .sc-arrow-icon {
    display: none;
}

body #coupons_list .sc-accordion-header {
    cursor: default;
    pointer-events: none;
    border: none;
    padding: 0 1rem;
}

body #coupons_list .sc-accordion-content {
    display: block;
    max-height: none;
    overflow: visible;
}

#sc-cc .sc-coupons-list>div {
    background-color: transparent !important;
    max-width: none;
}

#sc-cc .sc-coupons-list>div .flex.items-center>svg {
    display: none;
}

#sc-cc .sc-coupons-list>div .flex.items-center>div .text-xs {
    color: #000;
    font-size: 2rem;
}

#sc-cc .sc-coupons-list>div .flex.items-center>div .text-xs>div:first-child {
    border-radius: 50px;
    border: 1px solid #000;
    padding: 1.5rem 2rem;
    font-style: italic;
    font-family: var(--font-alt);
}

#sc-cc .sc-coupons-list>div .flex.items-center>div .text-sm>*,
#sc-cc .sc-coupons-list>div .flex.items-center>div .text-xs>div:last-child {
    font-family: var(--font-alt);
    font-size: 1.25rem;
    line-height: 1.25;
    color: #000;
    text-transform: none;
}

#sc-cc .sc-coupons-list>div .flex.items-center>div .text-xs>div:last-child {
    text-align: center;
}

#sc-cc .sc-coupons-list>div:is(:hover, :focus, :focus-visible) .flex.items-center>div .text-xs>div:first-child {
    background-color: #000;
    color: #fff;
}

.page-template-checkout .clicca-codice:has(.sc-active-coupon-btn) {
    text-decoration: none;
}

/* Placeholder button (when active coupons) */
button.sc-active-coupon-btn {
    background: linear-gradient(90deg, #e9ecec, #f0d3dc);
    border-radius: 50px;
    padding: 1.25rem 4.5rem;
    font-family: var(--font-bold);
    font-weight: 700;
    transition: all .2s linear;
}

button.sc-active-coupon-btn:is(:hover, :focus, :focus-visible) {
    background: #000;
    color: #fff;
}

.woocommerce-page table.cart td.actions .clicca-codice-cart,
.page-template-checkout .clicca-codice {
    display: flex;
    align-items: baseline;
    gap: calc(2rem + 2%);
}

/* Product */
.single-product button.sc-active-coupon-btn {
    background: linear-gradient(90deg, #e9ecec, #f0d3dc);
    color: inherit;
    text-align: left;
    cursor: default;
    display: flex;
    font-size: 2rem;
}

.single-product .pricing-container button.sc-active-coupon-btn {
    margin: 1.5rem 1.5rem 3rem;
}
.single-product .risultati-scelta-workout button.sc-active-coupon-btn {
    text-align: center;
}

/* Cart */
.woocommerce-page table.cart td.actions .coupon-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 2rem;
}

.woocommerce-page table.cart td.actions .coupon-wrapper>.coupon {
    width: 48%;
    text-align: left;
}

.woocommerce-page table.cart td.actions .coupon-wrapper>.coupon #coupon_code.input-text {
    width: 57%;
    margin-bottom: 2.725rem;
}

.woocommerce-page table.cart td.actions .coupon-wrapper>.coupon .btn-outline-primary {
    width: 40% !important;
    height: 6rem;
    margin-bottom: 3.25rem;
}

.woocommerce-page table.cart td.actions .coupon-wrapper>.coupon:not(#sc-available-coupons-panel)>label {
    display: block;
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Checkout */
.page-template-checkout form.checkout_coupon.woocommerce-form-coupon,
.page-template-checkout form.checkout_coupon.woocommerce-form-coupon~.coupon {
    padding: 0;
    flex: 1 1 50%;
}

.page-template-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-first {
    width: 57%;
}

.page-template-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-last {
    width: 40%;
}

.page-template-checkout form.checkout_coupon.woocommerce-form-coupon .btn-outline-primary {
    width: 100% !important;
    height: 6rem;
}

.page-template-checkout form.checkout_coupon.woocommerce-form-coupon~.coupon {
    align-self: baseline;
}

@media (max-width: 1025px) {
    .woocommerce-page table.cart td.actions .coupon-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .woocommerce-page table.cart td.actions .coupon-wrapper>.coupon {
        width: 100%;
        margin: 0 0 1rem;
    }

    #sc-cc .sc-coupons-list>div .flex.items-center>div .text-xs>div:first-child {
        padding: 1.15rem 1.65rem;
    }
}

@media (max-width: 820px) {
    .woocommerce-page table.cart td.actions .coupon-wrapper>.coupon .btn-outline-primary,
    .page-template-checkout form.checkout_coupon.woocommerce-form-coupon .btn-outline-primary {
        font-size: 1.8rem;
        height: 4.5rem;
        padding: 0 2rem;
    }
}
/*# sourceMappingURL=custom-coupons.css.map */