/* Billing professione: hide Select2 search (moved from base.css) */
body #billing_professione_field .select2-search {
    display: none!important;
}

/* ============================================================
   CHECKOUT - TITOLI PILL
   ============================================================ */

/* Hides native WooCommerce h3 tags: Elementor already provides section titles */
body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout #order_review_heading {
    display: none !important;
}

/* Style checkout titles as pill badges (excluding footer) */
body.woocommerce-checkout .entry-content .woodmart-title-container,
body.woocommerce-checkout .wd-page-content .woodmart-title-container {
    display: inline-flex !important;
    align-items: center;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--bs-primary) !important;
    background: rgba(19, 103, 138, 0.07) !important;
    border: 1px solid rgba(19, 103, 138, 0.2) !important;
    border-radius: 20px !important;
    padding: 8px 16px !important;
    line-height: 1.5 !important;
    letter-spacing: 0.01em;
    margin-bottom: 5px !important;
}

/* Checkout pill title icons — via ::before on classes added in Elementor */
body.woocommerce-checkout .cfm-title-billing .woodmart-title-container::before,
body.woocommerce-checkout .cfm-title-order .woodmart-title-container::before,
body.woocommerce-checkout .cfm-title-payment .woodmart-title-container::before {
    font-family: "Font Awesome 7 Pro";
    font-weight: 300;
    font-style: normal;
    font-size: 1em;
    margin-right: 8px;
    line-height: 1;
}
body.woocommerce-checkout .cfm-title-billing .woodmart-title-container::before  { content: '\f570'; } /* fa-file-invoice */
body.woocommerce-checkout .cfm-title-order .woodmart-title-container::before    { content: '\f290'; } /* fa-bag-shopping */
body.woocommerce-checkout .cfm-title-payment .woodmart-title-container::before  { content: '\f09d'; } /* fa-credit-card */

/* ── CHECKOUT STEPS BAR ───────────────────────────────────────────────── */
/* Thank you page: no h1.title above the bar, compensate with extra vertical padding */
.woocommerce-order-received .wd-page-title {
    padding-block: 40px !important;
}

.wd-checkout-steps {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start;
    gap: 0 !important;
    flex-wrap: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: inherit !important;
    text-transform: none !important;
    font-weight: normal !important;
    font-family: inherit !important;
    font-style: normal !important;
    counter-reset: unset !important;
    /* Force full width so justify-content:center works regardless of parent align-items */
    width: 100% !important;
    align-self: stretch !important;
}

/* Each step item */
.wd-checkout-steps li {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 0 !important;
    flex: 1;
    position: relative;
    text-align: center;
    counter-increment: unset !important;
}

/* Connecting line between steps */
.wd-checkout-steps li:not(:first-child)::before {
    content: '' !important;
    position: absolute;
    top: 19px;
    right: 50%;
    left: -50%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
    display: block !important;
    font-family: inherit !important;
    font-size: 0 !important;
    opacity: 1 !important;
    width: unset;
    border-radius: 0;
}

/* Step link/span */
.wd-checkout-steps li > :is(a, span) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    opacity: 1 !important;
    color: #9e9e9e;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

/* Icon bubble — Font Awesome 7 Pro light */
.wd-checkout-steps li > :is(a, span)::before {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e8e8e8;
    color: #9e9e9e;
    font-family: "Font Awesome 7 Pro";
    font-weight: 300;
    font-size: 1rem;
    line-height: 1;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

/* Per-step icons */
.wd-checkout-steps .step-cart > :is(a, span)::before    { content: '\f07a'; } /* fa-cart-shopping */
.wd-checkout-steps .step-checkout > :is(a, span)::before { content: '\f09d'; } /* fa-credit-card */
.wd-checkout-steps .step-complete > :is(a, span)::before { content: '\f48b'; } /* fa-truck-fast solid */

/* Remove default theme after-arrow */
.wd-checkout-steps li:not(:last-child)::after {
    display: none !important;
}

/* Hover on clickable steps */
.wd-checkout-steps li a:hover {
    color: var(--bs-primary) !important;
    opacity: 1 !important;
    text-decoration: none !important;
}
.wd-checkout-steps li a:hover::before {
    background: var(--bs-primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), 0.15);
}

/* ACTIVE step */
.wd-checkout-steps .step-active > :is(a, span) {
    color: var(--bs-primary) !important;
    font-weight: 700;
    text-decoration: none !important;
    text-underline-offset: unset !important;
}
.wd-checkout-steps .step-active > :is(a, span)::before {
    background: var(--bs-primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), 0.15);
}

/* Connecting line BEFORE active step */
.wd-checkout-steps .step-active::before {
    background: var(--bs-primary) !important;
}

/* INACTIVE steps — future: no override, own icon in grey (default) */

/* PAST steps — checkmark only on already-completed steps.
   Logic: step-cart is "past" when checkout or complete is active.
          step-checkout is "past" only when complete is active.
   We use :has() on the wrapper to distinguish past from future. */
.wd-checkout-steps:has(.step-checkout.step-active, .step-complete.step-active)
    .step-cart.step-inactive > :is(a, span) {
    color: var(--bs-secondary);
}
.wd-checkout-steps:has(.step-checkout.step-active, .step-complete.step-active)
    .step-cart.step-inactive > :is(a, span)::before {
    background: var(--bs-secondary);
    color: #fff;
    box-shadow: none;
}
.wd-checkout-steps:has(.step-complete.step-active)
    .step-checkout.step-inactive > :is(a, span) {
    color: var(--bs-secondary);
}
.wd-checkout-steps:has(.step-complete.step-active)
    .step-checkout.step-inactive > :is(a, span)::before {
    background: var(--bs-secondary);
    color: #fff;
    box-shadow: none;
}
/* Connecting line between cart (past) and checkout (past) on the order-received page */
.wd-checkout-steps:has(.step-complete.step-active)
    .step-checkout.step-inactive::before {
    background: var(--bs-secondary) !important;
}

/* step-complete when active (order received page) — keep bag icon, no checkmark */
.wd-checkout-steps .step-complete.step-active > span {
    color: var(--bs-secondary) !important;
}
.wd-checkout-steps .step-complete.step-active > span::before {
    background: var(--bs-secondary) !important;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(var(--bs-secondary-rgb), 0.18);
}

/* Responsive */
@media (max-width: 480px) {
    .wd-checkout-steps li > :is(a, span) {
        font-size: 0.68rem;
    }
    .wd-checkout-steps li > :is(a, span)::before {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    .wd-checkout-steps li:not(:first-child)::before {
        top: 16px;
    }
}
/* ── END CHECKOUT STEPS BAR ─────────────────────────────────────────────── */

/* -- Cart Page ---------------------------------------- */
.cart-content-wrapper>.woocommerce-notices-wrapper {
    margin-bottom: 25px;
}

/* ── FREE SHIPPING PROGRESS BAR ─────────────────────────────────────────── */

/* Outer wrapper — remove old dashed border */
.wd-shipping-progress-bar.wd-style-bordered .wd-free-progress-bar {
    padding: 16px 20px !important;
    border: none !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.05) 0%, rgba(var(--bs-secondary-rgb), 0.08) 100%);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06), inset 0 0 0 1px rgba(var(--bs-primary-rgb), 0.12);
    transition: box-shadow 0.3s;
}

/* Message row — icon + text side by side */
.wd-shipping-progress-bar.wd-style-bordered .wd-free-progress-bar .progress-msg,
.wd-free-progress-bar .progress-msg {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wd-title-color, #242424);
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Truck icon before message */
.wd-free-progress-bar .progress-msg::before {
    content: '\f48b'; /* fa-shipping-fast */
    font-family: "Font Awesome 7 Pro";
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--bs-primary);
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

/* Truck animates when close to goal (handled via width on .progress-bar > 80%) */
.wd-free-progress-bar .progress-bar[style*="9"]~.progress-msg::before,
.wd-free-progress-bar .progress-bar[style*="10"]~.progress-msg::before {
    color: var(--bs-secondary);
}

/* Track */
.wd-free-progress-bar .progress-area {
    height: 8px !important;
    border-radius: 999px !important;
    background: rgba(var(--bs-primary-rgb), 0.12) !important;
    overflow: hidden;
    position: relative;
}

/* Fill bar — gradient + no stripes */
.wd-free-progress-bar .progress-bar {
    height: 8px !important;
    border-radius: 999px !important;
    background-image: linear-gradient(90deg, var(--bs-primary) 0%, var(--bs-secondary) 100%) !important;
    background-size: unset !important;
    margin-top: 0 !important;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Shine streak on the bar */
.wd-free-progress-bar .progress-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
    border-radius: 999px;
}

/* Mini cart widget variant */
.widget_shopping_cart .wd-free-progress-bar {
    margin-bottom: 0;
    padding: 10px 16px 8px !important;
    border-top: 1px solid rgba(var(--bs-primary-rgb), 0.15) !important;
    border-radius: 0 !important;
    background: rgba(var(--bs-primary-rgb), 0.03) !important;
    box-shadow: none !important;
}

/* Remove default <p> margin from the buttons wrapper right after the bar */
.cart-widget-side .woocommerce-mini-cart__buttons {
    margin-top: 0 !important;
}

/* Hide track when cart is empty / below threshold */
.wd-free-progress-bar.wd-progress-hide .progress-area {
    display: none !important;
}

/* ── END FREE SHIPPING PROGRESS BAR ─────────────────────────────────────── */

.cart-totals-inner .woocommerce-shipping-calculator a {
    text-transform: uppercase;
    font-size: 12px;
}
.woocommerce-shipping-totals.shipping th,
.woocommerce-shipping-totals.shipping td {
    vertical-align: top;
}
.woocommerce-shipping-totals.shipping th {
    width: 40%;
}
.cart-totals-inner .woocommerce-shipping-calculator a:before {
    font: var(--fa-font-light);
    content: '\f48b'; /* fa-shipping-fast */
    position: relative;
    left: -5px;
}

/* -- Cart Widget ---------------------------------------- */
.cart-widget-side .shopping-cart-widget-footer .progress-msg {
    font-weight: 500;
}

/* Mini cart shipping bar: keep amount on same token & highlight it */
.cart-widget-side .wd-free-progress-bar .progress-msg {
    font-size: 0.82rem;
    line-height: 1.55;
    flex-wrap: wrap;
}
.cart-widget-side .wd-free-progress-bar .progress-msg .woocommerce-Price-amount {
    color: var(--bs-primary);
    font-weight: 700;
    white-space: nowrap;
}
.cart-widget-side .woocommerce-mini-cart__buttons .btn-cart {
    background-color: #F3F3F3;
    color: #3E3E3E;
}
.cart-widget-side .woocommerce-mini-cart__buttons .btn-cart:hover {
    color: #3E3E3E;
    box-shadow: inset 0 0 200px rgb(0 0 0 / 10%);
}
/* ── Checkout toggles — Login & Coupon ─────────────────────────────────── */

/* Desktop: max-width reduced by 2px (1px border each side) to align with other boxes */
.woocommerce-form-login-toggle,
.woocommerce-form-coupon-toggle {
    max-width: calc(819px - 2px) !important;
    width: 100% !important;
}

/* Inner card — layout, background, shadow, rounded border */
:root :is(.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle) > div,
:root :is(.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle) > .woocommerce-info {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
    padding: 14px 18px !important;
    background-color: var(--bs-card-bg, #fff) !important;
    box-shadow: 0 0 0 1px var(--bs-card-bg, #fff) !important;
    border-radius: 12px !important;
    border: none !important;
    border-left: none !important;
    border-inline-start: none !important;
    color: var(--bs-gray-700, #555) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    cursor: default;
    transition: box-shadow 0.2s ease !important;
}
:root :is(.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle) > div:hover,
:root :is(.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle) > .woocommerce-info:hover {
    box-shadow: 0 0 0 1px rgba(var(--bs-primary-rgb), 0.25) !important;
}

/* Circular icon on the left via ::before */
:root :is(.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle) > div::before,
:root :is(.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle) > .woocommerce-info::before {
    content: '' !important;
    flex-shrink: 0 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background-color: rgba(var(--bs-primary-rgb), 0.10) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 16px 16px !important;
    float: none !important;
    position: static !important;
    margin: 0 !important;
    top: auto !important;
}

/* Person icon for login */
:root .woocommerce-form-login-toggle > div::before,
:root .woocommerce-form-login-toggle > .woocommerce-info::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23167A76' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") !important;
}

/* Tag/coupon icon */
:root .woocommerce-form-coupon-toggle > div::before,
:root .woocommerce-form-coupon-toggle > .woocommerce-info::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23167A76' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Ccircle cx='7' cy='7' r='1'/%3E%3C/svg%3E") !important;
}

/* "Click here" link → primary colour + arrow */
:root :is(.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle) > div a,
:root :is(.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle) > .woocommerce-info a {
    color: var(--bs-primary) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: opacity 0.15s !important;
}
:root :is(.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle) > div a::after,
:root :is(.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle) > .woocommerce-info a::after {
    content: ' →';
    font-style: normal !important;
}
:root :is(.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle) > div a:hover,
:root :is(.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle) > .woocommerce-info a:hover {
    opacity: 0.75 !important;
}

/* Mobile: full width */
@media (max-width: 1024px) {
    .woocommerce-form-login-toggle,
    .woocommerce-form-coupon-toggle {
        max-width: 100% !important;
    }
}

/* Expanded form (login / coupon) — card background + theme border */
.woocommerce-form-login.hidden-form,
.woocommerce-form-coupon {
    background-color: var(--bs-card-bg) !important;
    border: 1px solid transparent !important;
    border-radius: var(--bs-card-border-radius) !important;
    max-width: 560px !important;
}

/* Select2 and form-row in checkout — must not overflow the container */
.woocommerce-checkout .select2-container,
.woocommerce-checkout .form-row {
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.woocommerce-checkout .select2-container {
    min-width: 0 !important;
    width: 100% !important;
}

/* Dichiarazione dati veritieri — box evidenziato */
#billing_data_declaration_field {
    background-color: rgba(var(--bs-primary-rgb), 0.06);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.18);
    border-radius: var(--bs-border-radius-lg);
    padding: 14px 16px !important;
    margin-top: 8px;
}
#billing_data_declaration_field label {
    font-size: 0.85rem;
    color: var(--bs-gray-700);
    line-height: 1.5;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}
#billing_data_declaration_field label input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: var(--bs-primary);
    width: 16px;
    height: 16px;
}

/* -- Checkout Page ---------------------------------------- */
.wd-checkout-steps li span:after {
    background-color: var(--bs-white)!important;
}

/* ── BLOCK UI AJAX OVERLAY ────────────────────────────────────────────────── */
/* WooCommerce uses jQuery BlockUI during AJAX updates (qty change, coupon, etc.)
   It injects a .blockUI.blockOverlay div with inline background:#fff that clashes
   with the section background. Override it to a transparent/neutral overlay.
   On the Elementor checkout layout WooCommerce blocks form.checkout (not #order_review). */

/* Cart totals: shopping bag icon before heading */
.cart_totals h2::before {
    font-family: 'Font Awesome 7 Pro';
    font-weight: 300;
    content: '\f290';
    margin-right: 8px;
    font-size: 0.9em;
    position: relative;
    top: 1px;
}

/* Cart table: capitalize headers, 1px border below header row */
.woocommerce-cart-form table.shop_table thead th {
    text-transform: capitalize !important;
    border-bottom: 1px solid var(--brdcolor-gray-300, #dee2e6) !important;
    box-shadow: none !important;
}
.woocommerce-checkout-review-order .blockUI.blockOverlay,
.woocommerce-cart-form .blockUI.blockOverlay,
#order_review .blockUI.blockOverlay,
.cart_totals .blockUI.blockOverlay,
form.checkout .blockUI.blockOverlay,
form.woocommerce-checkout .blockUI.blockOverlay {
    background: transparent !important;
    border: none !important;
    cursor: wait;
}

/* Fade out content during AJAX loading
   Cart: WooCommerce adds .processing and/or BlockUI overlay — covered by :has() + .processing
   Checkout: the Elementor order review widget has no #order_review wrapper,
             so a JS class .wd-checkout-loading is added via custom.js */
.woocommerce-checkout-review-order:has(.blockUI.blockOverlay),
.woocommerce-cart-form:has(.blockUI.blockOverlay),
#order_review:has(.blockUI.blockOverlay),
.cart_totals:has(.blockUI.blockOverlay),
.woocommerce-checkout-review-order.processing,
.woocommerce-cart-form.processing,
#order_review.processing,
.cart_totals.processing,
.elementor-widget-wd_checkout_order_review.wd-checkout-loading {
    opacity: 0.4;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
/* ── END BLOCKUI AJAX OVERLAY ────────────────────────────────────────────── */
.woocommerce-account-fields .checkbox input[type="checkbox"],
.woocommerce-shipping-fields .checkbox input[type="checkbox"] {
    top: -1px;
}
.woocommerce-account-fields .checkbox span,
.woocommerce-shipping-fields .checkbox span {
    font-weight: 500;
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */

/* Layout verticale con spaziatura uniforme */
.woocommerce-order {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.woocommerce-order > * {
    margin: 0 !important;
}

/* Card wrapper — sezione BACS (riferimenti bancari) */
.woocommerce-bacs-bank-details {
    background: var(--bs-card-bg);
    border: none;
    border-radius: var(--bs-card-border-radius);
    padding: 24px 28px;
    position: relative;
}

/* Card wrapper — sezione dettagli ordine */
.woocommerce-order-details {
    background: var(--bs-card-bg);
    border: none;
    border-radius: var(--bs-card-border-radius);
    padding: 24px 28px;
    position: relative;
}

/* Headings sezioni — stile legend pillato */
h2.wc-bacs-bank-details-heading,
h2.woocommerce-order-details__title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--bs-primary);
    background: rgba(19, 103, 138, 0.07);
    border: 1px solid rgba(19, 103, 138, 0.2);
    border-radius: 20px;
    padding: 8px 16px;
    margin: 0 0 20px 0;
    letter-spacing: 0.01em;
    line-height: 1.5;
    white-space: nowrap;
}
h2.woocommerce-order-details__title::before {
    font-family: 'Font Awesome 7 Pro';
    font-weight: 300;
    content: '\f543';
    font-size: 0.9rem;
    color: var(--bs-primary);
}
h2.wc-bacs-bank-details-heading::before {
    font-family: 'Font Awesome 7 Pro';
    font-weight: 300;
    content: '\f19c';
    font-size: 0.9rem;
    color: var(--bs-primary);
}

/* Account name BACS (es. "MEDEMEC SRL:") */
h3.wc-bacs-bank-details-account-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bs-gray-800);
    margin: 16px 0 8px;
}
h3.wc-bacs-bank-details-account-name:first-of-type {
    margin-top: 0;
}

/* Tabella dettagli bancari */
table.wc-bacs-bank-details {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}
table.wc-bacs-bank-details th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bs-gray-600);
    padding: 10px 14px 10px 0;
    width: 28%;
    border-bottom: 1px solid var(--bs-gray-200);
    vertical-align: middle;
}
table.wc-bacs-bank-details td {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--bs-gray-800);
    padding: 10px 14px;
    border-bottom: 1px solid var(--bs-gray-200);
    vertical-align: middle;
    word-break: break-all;
}
table.wc-bacs-bank-details tr:last-child th,
table.wc-bacs-bank-details tr:last-child td {
    border-bottom: none;
}

/* Product table — remove extra margin already handled by flex gap */
.woocommerce-order-details table.woocommerce-table--order-details {
    margin-bottom: 0 !important;
}

/* Box conferma ordine ricevuto */
p.woocommerce-thankyou-order-received {
    text-align: center;
    background: rgba(19, 103, 138, 0.07) !important;
    border: 1px solid rgba(19, 103, 138, 0.2) !important;
    border-radius: var(--bs-card-border-radius) !important;
    padding: 22px 28px !important;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bs-primary) !important;
    margin-bottom: 0 !important;
}

/* Remove default bottom margin on the checkout notices widget */
body.woocommerce-checkout .woocommerce-notices-wrapper {
    margin-bottom: 0;
}
body.woocommerce-checkout .woocommerce-notices-wrapper ul {
    margin-bottom: 0 !important;
}

