/* =========================================================
   OASDG WooCommerce Style 1.0.1
   - Selettori limitati al blocco .woocommerce
   - Non tocca hero, header, entry-title globali o h1 fuori checkout/cart
   ========================================================= */

:root {
    --oasdg-wc-green: #3ca34a;
    --oasdg-wc-green-dark: #2f8b3c;
    --oasdg-wc-black: #111111;
    --oasdg-wc-text: #2f2f2f;
    --oasdg-wc-muted: #666666;
    --oasdg-wc-border: rgba(0, 0, 0, 0.14);
    --oasdg-wc-soft: #f7f7f7;
    --oasdg-wc-white: #ffffff;
    --oasdg-wc-danger: #d61e17;
}

/* =========================================================
   Contenitore WooCommerce
   Scope stretto: solo il contenuto WooCommerce, non la hero.
   ========================================================= */

body.woocommerce-cart main .woocommerce,
body.woocommerce-checkout main .woocommerce,
body.woocommerce-cart .elementor-widget-container > .woocommerce,
body.woocommerce-checkout .elementor-widget-container > .woocommerce {
    width: min(1280px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
    color: var(--oasdg-wc-text);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.55;
}

body.woocommerce-cart main .woocommerce *,
body.woocommerce-checkout main .woocommerce *,
body.woocommerce-cart .elementor-widget-container > .woocommerce *,
body.woocommerce-checkout .elementor-widget-container > .woocommerce * {
    box-sizing: border-box;
}

/* Titoli SOLO dentro WooCommerce, non H1 della hero */
body.woocommerce-cart .woocommerce .cart_totals h2,
body.woocommerce-checkout .woocommerce h3,
body.woocommerce-checkout .woocommerce #order_review_heading {
    color: var(--oasdg-wc-black) !important;
    font-family: inherit !important;
    font-size: clamp(28px, 3vw, 42px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.025em !important;
    font-weight: 800 !important;
    margin: 0 0 24px !important;
}

/* Link testuali, esclusi i bottoni */
body.woocommerce-cart .woocommerce a:not(.button):not(.checkout-button):not(.remove),
body.woocommerce-checkout .woocommerce a:not(.button):not(.checkout-button):not(.remove) {
    color: var(--oasdg-wc-green) !important;
    font-weight: 700;
    text-decoration: none;
}

body.woocommerce-cart .woocommerce a:not(.button):not(.checkout-button):not(.remove):hover,
body.woocommerce-checkout .woocommerce a:not(.button):not(.checkout-button):not(.remove):hover {
    color: var(--oasdg-wc-green-dark) !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* =========================================================
   Messaggi WooCommerce / avviso aggiunto al carrello
   ========================================================= */

body.woocommerce .woocommerce-notices-wrapper,
body.single-product .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-notices-wrapper {
    position: fixed !important;
    top: 165px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(1280px, calc(100% - 48px)) !important;
    z-index: 999999 !important;
    pointer-events: none;
}

body.woocommerce .woocommerce-message,
body.single-product .woocommerce-message,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce .woocommerce-info,
body.woocommerce .woocommerce-error {
    pointer-events: auto;
    position: relative !important;
    min-height: 62px !important;
    margin: 0 0 18px !important;
    padding: 18px 22px 18px 58px !important;
    border: 1px solid rgba(60, 163, 74, 0.35) !important;
    border-left: 5px solid var(--oasdg-wc-green) !important;
    border-radius: 6px !important;
    background: var(--oasdg-wc-white) !important;
    color: var(--oasdg-wc-black) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18) !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
}

body.woocommerce .woocommerce-message::before,
body.single-product .woocommerce-message::before,
body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-message::before,
body.woocommerce .woocommerce-info::before {
    top: 50% !important;
    left: 22px !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    color: var(--oasdg-wc-green) !important;
}

body.woocommerce .woocommerce-message a.button,
body.single-product .woocommerce-message a.button,
body.woocommerce-cart .woocommerce-message a.button,
body.woocommerce-checkout .woocommerce-message a.button,
body.woocommerce .woocommerce-message .button,
body.single-product .woocommerce-message .button,
body.woocommerce-cart .woocommerce-message .button,
body.woocommerce-checkout .woocommerce-message .button {
    float: right !important;
    margin-left: 18px !important;
    background: var(--oasdg-wc-green) !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

/* =========================================================
   Tabelle Carrello / Checkout
   ========================================================= */

body.woocommerce-cart .woocommerce table.shop_table,
body.woocommerce-checkout .woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    border: 1px solid var(--oasdg-wc-border) !important;
    border-radius: 0 !important;
    background: var(--oasdg-wc-white);
    overflow: hidden;
}

body.woocommerce-cart .woocommerce table.shop_table th,
body.woocommerce-checkout .woocommerce table.shop_table th {
    padding: 18px 20px !important;
    border-color: var(--oasdg-wc-border) !important;
    background: #f8f8f8 !important;
    color: var(--oasdg-wc-black) !important;
    font-family: inherit;
    font-size: 15px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    text-align: left;
}

body.woocommerce-cart .woocommerce table.shop_table td,
body.woocommerce-checkout .woocommerce table.shop_table td {
    padding: 20px !important;
    border-color: var(--oasdg-wc-border) !important;
    color: var(--oasdg-wc-text) !important;
    font-family: inherit;
    font-size: 15.5px !important;
    line-height: 1.45 !important;
    vertical-align: middle !important;
}

body.woocommerce-cart .woocommerce table.shop_table tr:nth-child(even),
body.woocommerce-checkout .woocommerce table.shop_table tr:nth-child(even) {
    background: #fbfbfb;
}

body.woocommerce-cart .woocommerce .woocommerce-Price-amount,
body.woocommerce-checkout .woocommerce .woocommerce-Price-amount {
    color: var(--oasdg-wc-black);
    font-weight: 800;
}

/* =========================================================
   Carrello
   ========================================================= */

body.woocommerce-cart .woocommerce .woocommerce-cart-form {
    margin-bottom: 52px;
}

body.woocommerce-cart .woocommerce .woocommerce-cart-form__cart-item .product-thumbnail img {
    width: 64px !important;
    height: 82px !important;
    object-fit: cover;
    border-radius: 3px;
}

body.woocommerce-cart .woocommerce .woocommerce-cart-form__cart-item .product-name a {
    color: var(--oasdg-wc-black) !important;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none !important;
}

body.woocommerce-cart .woocommerce .woocommerce-cart-form__cart-item .product-name a:hover {
    color: var(--oasdg-wc-green) !important;
}

body.woocommerce-cart .woocommerce a.remove {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 28px !important;
    height: 28px !important;
    border-radius: 999px !important;
    color: var(--oasdg-wc-danger) !important;
    background: rgba(214, 30, 23, 0.08) !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body.woocommerce-cart .woocommerce a.remove:hover {
    color: #ffffff !important;
    background: var(--oasdg-wc-danger) !important;
}

body.woocommerce-cart .woocommerce .quantity .qty,
body.woocommerce .quantity .qty,
body.woocommerce input.qty {
    width: 78px !important;
    min-height: 46px !important;
    padding: 8px 10px !important;
    border: 1px solid var(--oasdg-wc-border) !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: var(--oasdg-wc-black) !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
}

body.woocommerce-cart .woocommerce table.cart td.actions {
    padding: 22px !important;
    background: #f8f8f8 !important;
}

body.woocommerce-cart .woocommerce table.cart td.actions .coupon {
    display: flex;
    gap: 10px;
    align-items: center;
    float: left;
}

body.woocommerce-cart .woocommerce table.cart td.actions .coupon .input-text {
    width: 190px !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    border: 1px solid var(--oasdg-wc-border) !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: var(--oasdg-wc-black) !important;
    font-family: inherit !important;
    font-size: 15px !important;
}

body.woocommerce-cart .woocommerce .cart-collaterals {
    display: flex;
    justify-content: flex-end;
    margin-top: 34px;
}

body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals {
    float: none !important;
    width: min(100%, 560px) !important;
    padding: 34px;
    border: 1px solid var(--oasdg-wc-border);
    border-radius: 4px;
    background: var(--oasdg-wc-white);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

body.woocommerce-cart .woocommerce .cart_totals table {
    margin-bottom: 22px !important;
}

body.woocommerce-cart .woocommerce .cart_totals .order-total th,
body.woocommerce-cart .woocommerce .cart_totals .order-total td {
    background: #f8f8f8 !important;
    color: var(--oasdg-wc-black) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
}

body.woocommerce-cart .woocommerce .woocommerce-shipping-destination {
    margin: 8px 0 0;
    color: var(--oasdg-wc-muted);
    font-size: 14px;
}

body.woocommerce-cart .woocommerce .shipping-calculator-button {
    display: inline-flex;
    margin-top: 8px;
    color: var(--oasdg-wc-green) !important;
    font-size: 14px;
    font-weight: 800;
}

body.woocommerce-cart .woocommerce .shipping-calculator-form {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid var(--oasdg-wc-border);
    border-radius: 4px;
    background: #ffffff;
}

body.woocommerce-cart .woocommerce .shipping-calculator-form p {
    margin-bottom: 14px !important;
}

/* =========================================================
   Checkout: allineamento colonne
   ========================================================= */

body.woocommerce-checkout .woocommerce .woocommerce-form-coupon-toggle {
    margin-bottom: 26px;
}

body.woocommerce-checkout .woocommerce .woocommerce-form-coupon {
    margin: -8px 0 34px !important;
    padding: 24px !important;
    border: 1px solid var(--oasdg-wc-border) !important;
    border-radius: 4px !important;
    background: #f8f8f8 !important;
}

body.woocommerce-checkout .woocommerce form.checkout {
    margin-top: 24px;
}

body.woocommerce-checkout .woocommerce #customer_details,
body.woocommerce-checkout .woocommerce form.checkout .col2-set#customer_details {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 32px !important;
    align-items: start !important;
    width: 100% !important;
    margin: 0 0 56px !important;
}

body.woocommerce-checkout .woocommerce #customer_details::before,
body.woocommerce-checkout .woocommerce #customer_details::after {
    content: none !important;
    display: none !important;
}

body.woocommerce-checkout .woocommerce #customer_details .col-1,
body.woocommerce-checkout .woocommerce #customer_details .col-2 {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-checkout .woocommerce .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce .woocommerce-additional-fields {
    padding: 32px;
    border: 1px solid var(--oasdg-wc-border);
    border-radius: 4px;
    background: var(--oasdg-wc-white);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

body.woocommerce-checkout .woocommerce .woocommerce-additional-fields {
    margin-top: 24px;
}

/* Campi */
body.woocommerce .woocommerce form .form-row {
    margin: 0 0 18px !important;
    padding: 0 !important;
}

body.woocommerce .woocommerce form .form-row label {
    display: block;
    margin-bottom: 8px;
    color: var(--oasdg-wc-black);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}

body.woocommerce .woocommerce form .form-row .required {
    color: var(--oasdg-wc-danger) !important;
}

body.woocommerce .woocommerce form .input-text,
body.woocommerce-page .woocommerce form .input-text,
body.woocommerce .woocommerce select,
body.woocommerce .woocommerce textarea,
body.woocommerce .woocommerce .select2-container .select2-selection--single {
    width: 100% !important;
    min-height: 48px !important;
    padding: 12px 14px !important;
    border: 1px solid var(--oasdg-wc-border) !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: var(--oasdg-wc-black) !important;
    font-family: inherit !important;
    font-size: 15.5px !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
}

body.woocommerce .woocommerce textarea,
body.woocommerce-page .woocommerce form textarea.input-text {
    min-height: 120px !important;
    resize: vertical;
}

body.woocommerce .woocommerce .select2-container .select2-selection--single {
    display: flex !important;
    align-items: center !important;
}

body.woocommerce .woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--oasdg-wc-black) !important;
    padding-left: 0 !important;
    line-height: 1.4 !important;
}

body.woocommerce .woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
}

body.woocommerce .woocommerce form .input-text:focus,
body.woocommerce-page .woocommerce form .input-text:focus,
body.woocommerce .woocommerce select:focus,
body.woocommerce .woocommerce textarea:focus,
body.woocommerce .woocommerce .select2-container--open .select2-selection--single {
    border-color: var(--oasdg-wc-green) !important;
    box-shadow: 0 0 0 4px rgba(60, 163, 74, 0.16) !important;
    outline: none !important;
}

body.woocommerce-checkout .woocommerce #ship-to-different-address {
    margin: 0 0 20px !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
}

body.woocommerce-checkout .woocommerce #ship-to-different-address label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

body.woocommerce-checkout .woocommerce input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--oasdg-wc-green);
}

body.woocommerce-checkout .woocommerce #order_review {
    padding: 34px;
    border: 1px solid var(--oasdg-wc-border);
    border-radius: 4px;
    background: var(--oasdg-wc-white);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

body.woocommerce-checkout .woocommerce #order_review table.shop_table {
    margin-bottom: 28px !important;
}

body.woocommerce-checkout .woocommerce #order_review table.shop_table tfoot .order-total th,
body.woocommerce-checkout .woocommerce #order_review table.shop_table tfoot .order-total td {
    background: #f8f8f8 !important;
    color: var(--oasdg-wc-black) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
}

/* Pagamento */
body.woocommerce-checkout .woocommerce #payment {
    border-radius: 4px !important;
    background: transparent !important;
}

body.woocommerce-checkout .woocommerce #payment ul.payment_methods {
    padding: 0 !important;
    border: 0 !important;
}

body.woocommerce-checkout .woocommerce #payment ul.payment_methods li {
    padding: 0 !important;
    color: var(--oasdg-wc-black);
    font-size: 16px;
    line-height: 1.5;
}

body.woocommerce-checkout .woocommerce #payment ul.payment_methods li label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--oasdg-wc-black);
    font-weight: 800;
}

body.woocommerce-checkout .woocommerce #payment ul.payment_methods li img {
    max-height: 28px !important;
    margin: 0 6px !important;
}

body.woocommerce-checkout .woocommerce #payment div.payment_box {
    margin: 18px 0 0 !important;
    padding: 20px 22px !important;
    border-radius: 4px !important;
    background: rgba(60, 163, 74, 0.10) !important;
    color: var(--oasdg-wc-text) !important;
    font-size: 15.5px !important;
    line-height: 1.6 !important;
}

body.woocommerce-checkout .woocommerce #payment div.payment_box::before {
    border-bottom-color: rgba(60, 163, 74, 0.10) !important;
}

body.woocommerce-checkout .woocommerce .woocommerce-terms-and-conditions-wrapper {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--oasdg-wc-border);
}

body.woocommerce-checkout .woocommerce .woocommerce-privacy-policy-text p {
    color: var(--oasdg-wc-text);
    font-size: 15px;
    line-height: 1.65;
}

body.woocommerce-checkout .woocommerce .woocommerce-terms-and-conditions-wrapper .form-row {
    margin-top: 20px !important;
}

body.woocommerce-checkout .woocommerce .woocommerce-terms-and-conditions-wrapper label.checkbox {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    color: var(--oasdg-wc-text);
    font-size: 15.5px;
    line-height: 1.5;
}

/* =========================================================
   Bottoni WooCommerce - testo sempre bianco sui bottoni verdi
   ========================================================= */

body.woocommerce-cart .woocommerce a.button,
body.woocommerce-cart .woocommerce button.button,
body.woocommerce-cart .woocommerce input.button,
body.woocommerce-cart .woocommerce .button,
body.woocommerce-cart .woocommerce a.checkout-button,
body.woocommerce-cart .woocommerce .checkout-button,
body.woocommerce-checkout .woocommerce a.button,
body.woocommerce-checkout .woocommerce button.button,
body.woocommerce-checkout .woocommerce input.button,
body.woocommerce-checkout .woocommerce .button,
body.woocommerce-checkout .woocommerce button#place_order,
body.woocommerce-checkout .woocommerce #place_order,
body.woocommerce-page .woocommerce a.button,
body.woocommerce-page .woocommerce button.button,
body.woocommerce-page .woocommerce input.button,
body.woocommerce-page .woocommerce .button {
    min-height: 48px !important;
    padding: 14px 22px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: var(--oasdg-wc-black) !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 15.5px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    text-align: center !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, opacity 0.22s ease !important;
}

body.woocommerce-cart .woocommerce a.checkout-button,
body.woocommerce-cart .woocommerce .checkout-button,
body.woocommerce-checkout .woocommerce button#place_order,
body.woocommerce-checkout .woocommerce #place_order,
body.woocommerce-checkout .woocommerce .button.alt {
    width: 100% !important;
    min-height: 58px !important;
    background: var(--oasdg-wc-green) !important;
    color: #ffffff !important;
    font-size: 18px !important;
}

body.woocommerce-cart .woocommerce a.button:hover,
body.woocommerce-cart .woocommerce button.button:hover,
body.woocommerce-cart .woocommerce input.button:hover,
body.woocommerce-cart .woocommerce .button:hover,
body.woocommerce-cart .woocommerce a.checkout-button:hover,
body.woocommerce-cart .woocommerce .checkout-button:hover,
body.woocommerce-checkout .woocommerce a.button:hover,
body.woocommerce-checkout .woocommerce button.button:hover,
body.woocommerce-checkout .woocommerce input.button:hover,
body.woocommerce-checkout .woocommerce .button:hover,
body.woocommerce-checkout .woocommerce button#place_order:hover,
body.woocommerce-checkout .woocommerce #place_order:hover,
body.woocommerce-page .woocommerce a.button:hover,
body.woocommerce-page .woocommerce button.button:hover,
body.woocommerce-page .woocommerce input.button:hover,
body.woocommerce-page .woocommerce .button:hover {
    transform: translateY(-2px);
    background: var(--oasdg-wc-green-dark) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(60, 163, 74, 0.20),
                0 12px 26px rgba(60, 163, 74, 0.30) !important;
}

body.woocommerce-cart .woocommerce a.button:visited,
body.woocommerce-cart .woocommerce a.checkout-button:visited,
body.woocommerce-checkout .woocommerce a.button:visited,
body.woocommerce-checkout .woocommerce a.checkout-button:visited,
body.woocommerce-page .woocommerce a.button:visited {
    color: #ffffff !important;
}

body.woocommerce-cart .woocommerce .button * ,
body.woocommerce-checkout .woocommerce .button * ,
body.woocommerce-page .woocommerce .button * {
    color: #ffffff !important;
}

body.woocommerce-cart .woocommerce .button:disabled,
body.woocommerce-cart .woocommerce .button:disabled[disabled],
body.woocommerce-checkout .woocommerce .button:disabled,
body.woocommerce-checkout .woocommerce .button:disabled[disabled] {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

body.woocommerce-cart .woocommerce button[name="update_cart"] {
    float: right;
    background: #dddddd !important;
    color: #777777 !important;
}

body.woocommerce-cart .woocommerce button[name="update_cart"]:not(:disabled):hover {
    background: var(--oasdg-wc-black) !important;
    color: #ffffff !important;
}

body.woocommerce-cart .woocommerce button[name="apply_coupon"],
body.woocommerce-checkout .woocommerce button[name="apply_coupon"] {
    background: var(--oasdg-wc-black) !important;
    color: #ffffff !important;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1024px) {
    body.woocommerce-checkout .woocommerce #customer_details,
    body.woocommerce-checkout .woocommerce form.checkout .col2-set#customer_details {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    body.woocommerce-cart .woocommerce .cart-collaterals {
        display: block;
    }

    body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals {
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    body.woocommerce-cart main .woocommerce,
    body.woocommerce-checkout main .woocommerce,
    body.woocommerce-cart .elementor-widget-container > .woocommerce,
    body.woocommerce-checkout .elementor-widget-container > .woocommerce {
        width: min(100% - 28px, 1280px);
    }

    body.woocommerce .woocommerce-notices-wrapper,
    body.single-product .woocommerce-notices-wrapper,
    body.woocommerce-cart .woocommerce-notices-wrapper,
    body.woocommerce-checkout .woocommerce-notices-wrapper {
        top: 105px !important;
        width: calc(100% - 28px) !important;
    }

    body.woocommerce .woocommerce-message,
    body.single-product .woocommerce-message,
    body.woocommerce-cart .woocommerce-message,
    body.woocommerce-checkout .woocommerce-message,
    body.woocommerce .woocommerce-info,
    body.woocommerce .woocommerce-error {
        padding: 18px 18px 18px 50px !important;
        font-size: 14px !important;
    }

    body.woocommerce .woocommerce-message a.button,
    body.single-product .woocommerce-message a.button,
    body.woocommerce-cart .woocommerce-message a.button,
    body.woocommerce-checkout .woocommerce-message a.button,
    body.woocommerce .woocommerce-message .button {
        float: none !important;
        display: block !important;
        width: 100% !important;
        margin: 12px 0 0 !important;
        text-align: center !important;
    }

    body.woocommerce-cart .woocommerce table.cart td.actions .coupon {
        float: none;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 14px;
    }

    body.woocommerce-cart .woocommerce table.cart td.actions .coupon .input-text,
    body.woocommerce-cart .woocommerce table.cart td.actions .coupon .button,
    body.woocommerce-cart .woocommerce button[name="update_cart"] {
        float: none !important;
        width: 100% !important;
    }

    body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals,
    body.woocommerce-checkout .woocommerce .woocommerce-billing-fields,
    body.woocommerce-checkout .woocommerce .woocommerce-shipping-fields,
    body.woocommerce-checkout .woocommerce .woocommerce-additional-fields,
    body.woocommerce-checkout .woocommerce #order_review {
        padding: 24px;
    }

    body.woocommerce-cart .woocommerce table.shop_table_responsive tr,
    body.woocommerce-checkout .woocommerce table.shop_table_responsive tr {
        display: block;
        padding: 18px 0;
    }

    body.woocommerce-cart .woocommerce table.shop_table_responsive tr td,
    body.woocommerce-checkout .woocommerce table.shop_table_responsive tr td {
        display: block;
        width: 100% !important;
        padding: 8px 14px !important;
        text-align: left !important;
    }

    body.woocommerce-cart .woocommerce table.shop_table_responsive tr td::before,
    body.woocommerce-checkout .woocommerce table.shop_table_responsive tr td::before {
        color: var(--oasdg-wc-muted);
        font-weight: 800;
    }

    body.woocommerce-cart .woocommerce .product-thumbnail {
        display: block !important;
    }

    body.woocommerce-cart .woocommerce .woocommerce-cart-form__cart-item .product-thumbnail img {
        width: 92px !important;
        height: 120px !important;
    }

    body.woocommerce-checkout .woocommerce .form-row-first,
    body.woocommerce-checkout .woocommerce .form-row-last {
        width: 100% !important;
        float: none !important;
    }
}
