body.three-de-commerce-page {
    --three-de-shop-primary: #f06424;
    --three-de-shop-primary-dark: #d94c13;
    --three-de-shop-navy: #17324d;
    --three-de-shop-surface: #fff;
    --three-de-shop-radius: 22px;
    --three-de-shop-muted: #6f8192;
    --three-de-shop-border: #dfe7ed;
    --three-de-shop-bg: #f3f7fa;
    background: var(--three-de-shop-bg);
}

body.three-de-commerce-page .entry-title,
body.three-de-commerce-page .page-title {
    display: none;
}

body.three-de-commerce-page .content-area,
body.three-de-commerce-page .site-main,
body.three-de-commerce-page .entry-content,
body.three-de-commerce-page .woocommerce,
body.three-de-commerce-page .wp-block-woocommerce-cart,
body.three-de-commerce-page .wp-block-woocommerce-checkout {
    width: 100%;
    max-width: 1180px !important;
    box-sizing: border-box;
}

body.three-de-commerce-page .content-area,
body.three-de-commerce-page .site-main,
body.three-de-commerce-page .entry-content {
    margin-right: auto !important;
    margin-left: auto !important;
}

body.three-de-commerce-page .entry-content,
body.three-de-commerce-page .woocommerce,
body.three-de-commerce-page .wp-block-woocommerce-cart,
body.three-de-commerce-page .wp-block-woocommerce-checkout {
    color: #30485e;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.three-de-commerce-page .entry-content {
    padding: 34px 20px 72px;
}

body.three-de-commerce-page a {
    color: var(--three-de-shop-primary-dark);
    text-underline-offset: 2px;
}

body.three-de-commerce-page a:hover {
    color: var(--three-de-shop-navy);
}

/* These sales pages do not accept coupon codes or customer order notes. */
body.three-de-commerce-page .woocommerce-form-coupon-toggle,
body.three-de-commerce-page form.checkout_coupon,
body.three-de-commerce-page .wc-block-components-totals-coupon,
body.three-de-commerce-page .wp-block-woocommerce-cart-order-summary-coupon-form-block,
body.three-de-commerce-page .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
body.three-de-commerce-checkout .woocommerce-additional-fields,
body.three-de-commerce-checkout .wc-block-checkout__add-note,
body.three-de-commerce-checkout .wc-block-checkout__order-notes,
body.three-de-commerce-checkout .wc-block-components-order-notes,
body.three-de-commerce-checkout .wp-block-woocommerce-checkout-order-note-block {
    display: none !important;
}

.three-de-commerce-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 250px);
    gap: 10px 26px;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 22px;
    overflow: hidden;
    padding: 20px 28px 0;
    border-radius: var(--three-de-shop-radius);
    color: #fff;
    background:
        radial-gradient(circle at 86% -20%, rgba(255,255,255,.2), transparent 35%),
        radial-gradient(circle at 0 110%, rgba(240,100,36,.22), transparent 36%),
        linear-gradient(130deg, var(--three-de-shop-navy), #265d7c);
    box-shadow: 0 22px 55px rgba(23, 50, 77, .18);
    box-sizing: border-box;
}

.three-de-commerce-hero::before {
    position: absolute;
    top: -55px;
    right: 16%;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    content: "";
}

.three-de-commerce-hero.is-failed {
    background:
        radial-gradient(circle at 86% -20%, rgba(255,255,255,.16), transparent 35%),
        linear-gradient(130deg, #642f39, #9b4b4b);
}

.three-de-commerce-hero-copy,
.three-de-commerce-art,
.three-de-commerce-progress,
.three-de-commerce-trust {
    position: relative;
    z-index: 1;
}

.three-de-commerce-hero-copy {
    align-self: center;
    padding: 2px 0 0;
}

.three-de-commerce-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffb48f;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.three-de-commerce-eyebrow::before {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--three-de-shop-primary);
    content: "";
}

.three-de-commerce-hero h1 {
    margin: 5px 0 5px;
    color: #fff;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -.8px;
}

.three-de-commerce-hero-copy p {
    max-width: 660px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    line-height: 1.45;
}

.three-de-commerce-art {
    display: block;
    width: 100%;
    max-width: 185px;
    height: 78px;
    align-self: center;
    justify-self: end;
    object-fit: contain;
    object-position: right center;
    filter: drop-shadow(0 12px 16px rgba(0,0,0,.25));
}

.three-de-commerce-progress {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 0;
    margin: 0;
    padding: 0 0 14px;
    list-style: none;
}

.three-de-commerce-progress li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: rgba(255,255,255,.45);
}

.three-de-commerce-progress li:not(:last-child)::after {
    position: absolute;
    z-index: -1;
    top: 12px;
    right: 10px;
    left: 40px;
    height: 1px;
    background: rgba(255,255,255,.18);
    content: "";
}

.three-de-commerce-progress li>span {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 850;
}

.three-de-commerce-progress li>span .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.three-de-commerce-progress li strong {
    font-size: 8px;
    font-weight: 750;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.three-de-commerce-progress li.is-current,
.three-de-commerce-progress li.is-complete {
    color: #fff;
}

.three-de-commerce-progress li.is-current>span {
    border-color: var(--three-de-shop-primary);
    background: var(--three-de-shop-primary);
    box-shadow: 0 6px 16px rgba(240,100,36,.35);
}

.three-de-commerce-progress li.is-complete>span {
    border-color: rgba(255,255,255,.32);
    background: rgba(255,255,255,.16);
}

.three-de-commerce-trust {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin: 0 -28px;
    padding: 8px 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.66);
    background: rgba(7,27,44,.24);
    font-size: 8px;
    font-weight: 650;
}

.three-de-commerce-trust>span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.three-de-commerce-trust .dashicons {
    width: 15px;
    height: 15px;
    color: #ffb48f;
    font-size: 15px;
}

/* Shared WooCommerce elements */
body.three-de-commerce-page .woocommerce-notices-wrapper,
body.three-de-commerce-page .woocommerce-form-coupon-toggle {
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
}

body.three-de-commerce-page .woocommerce-message,
body.three-de-commerce-page .woocommerce-info,
body.three-de-commerce-page .woocommerce-error,
body.three-de-commerce-page .wc-block-components-notice-banner {
    margin: 0 0 20px;
    padding: 15px 18px 15px 48px;
    border: 1px solid #cfe1eb;
    border-left: 4px solid #3e829f;
    border-radius: 12px;
    color: #36546a;
    background: #f2f9fc;
    box-shadow: 0 8px 24px rgba(23,50,77,.05);
    font-size: 12px;
}

body.three-de-commerce-page .woocommerce-message {
    border-color: #cce8d7;
    border-left-color: #2f9360;
    background: #effaf3;
}

body.three-de-commerce-page .woocommerce-error {
    border-color: #f0cccc;
    border-left-color: #c74545;
    background: #fff3f3;
}

body.three-de-commerce-page .woocommerce-info::before,
body.three-de-commerce-page .woocommerce-message::before,
body.three-de-commerce-page .woocommerce-error::before {
    top: 15px;
    left: 18px;
    color: inherit;
}

body.three-de-commerce-page button,
body.three-de-commerce-page .button,
body.three-de-commerce-page input,
body.three-de-commerce-page select,
body.three-de-commerce-page textarea {
    font: inherit;
}

body.three-de-commerce-page input[type="text"],
body.three-de-commerce-page input[type="email"],
body.three-de-commerce-page input[type="tel"],
body.three-de-commerce-page input[type="number"],
body.three-de-commerce-page input[type="password"],
body.three-de-commerce-page select,
body.three-de-commerce-page textarea,
body.three-de-commerce-page .select2-container .select2-selection--single,
body.three-de-commerce-page .wc-block-components-text-input input,
body.three-de-commerce-page .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
    min-height: 48px;
    border: 1px solid #ccd8e1 !important;
    border-radius: 10px !important;
    color: #29445b;
    background: #fbfcfd !important;
    box-shadow: none !important;
    box-sizing: border-box;
}

body.three-de-commerce-page textarea {
    min-height: 105px;
    padding: 12px 14px;
    resize: vertical;
}

body.three-de-commerce-page input:focus,
body.three-de-commerce-page select:focus,
body.three-de-commerce-page textarea:focus,
body.three-de-commerce-page .select2-container--focus .select2-selection--single {
    border-color: var(--three-de-shop-primary) !important;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(240,100,36,.13) !important;
}

body.three-de-commerce-page .button,
body.three-de-commerce-page button.button,
body.three-de-commerce-page #place_order,
body.three-de-commerce-page .wc-block-components-button {
    min-height: 49px;
    padding: 12px 20px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, var(--three-de-shop-primary), var(--three-de-shop-primary-dark));
    box-shadow: 0 9px 22px rgba(240,100,36,.23);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

body.three-de-commerce-page .button:hover,
body.three-de-commerce-page button.button:hover,
body.three-de-commerce-page #place_order:hover,
body.three-de-commerce-page .wc-block-components-button:hover {
    color: #fff;
    filter: brightness(1.04);
    box-shadow: 0 12px 28px rgba(240,100,36,.3);
    transform: translateY(-1px);
}

/* Cart: WooCommerce Blocks */
body.three-de-commerce-cart .wp-block-woocommerce-cart {
    margin: 0 auto;
}

body.three-de-commerce-cart .wc-block-cart {
    align-items: start;
    gap: 24px;
}

body.three-de-commerce-cart .wc-block-cart__main,
body.three-de-commerce-cart .wc-block-cart__sidebar {
    box-sizing: border-box;
}

body.three-de-commerce-cart .wc-block-cart__main {
    padding-right: 0;
}

body.three-de-commerce-cart .wc-block-cart-items {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--three-de-shop-border) !important;
    border-radius: var(--three-de-shop-radius);
    background: var(--three-de-shop-surface);
    box-shadow: 0 14px 38px rgba(23,50,77,.07);
}

body.three-de-commerce-cart .wc-block-cart-items thead {
    background: #f6f9fb;
}

body.three-de-commerce-cart .wc-block-cart-items th {
    padding: 15px 20px !important;
    border: 0 !important;
    color: #718294;
    font-size: 10px !important;
    font-weight: 850 !important;
    letter-spacing: .8px;
    text-transform: uppercase;
}

body.three-de-commerce-cart .wc-block-cart-items td {
    padding: 20px !important;
    border-top: 1px solid #e7edf2 !important;
}

body.three-de-commerce-cart .wc-block-cart-item__image img {
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(23,50,77,.12);
}

body.three-de-commerce-cart .wc-block-components-product-name {
    color: var(--three-de-shop-navy);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

body.three-de-commerce-cart .wc-block-components-product-price,
body.three-de-commerce-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    color: var(--three-de-shop-navy);
    font-weight: 850;
}

body.three-de-commerce-cart .wc-block-components-product-metadata,
body.three-de-commerce-cart .wc-block-components-product-details {
    color: var(--three-de-shop-muted);
    font-size: 11px;
    line-height: 1.55;
}

body.three-de-commerce-cart .wc-block-cart-item__remove-link {
    color: #9a5660 !important;
    font-size: 10px !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.three-de-commerce-cart .wc-block-cart__sidebar {
    padding: 22px !important;
    border: 1px solid var(--three-de-shop-border);
    border-radius: var(--three-de-shop-radius);
    background: var(--three-de-shop-surface);
    box-shadow: 0 14px 38px rgba(23,50,77,.07);
}

body.three-de-commerce-cart .wc-block-cart__totals-title {
    margin: 0 0 10px;
    padding: 0 0 16px !important;
    border-bottom: 1px solid #e7edf2;
    color: var(--three-de-shop-navy);
    font-size: 17px !important;
    font-weight: 850 !important;
    text-align: left !important;
}

body.three-de-commerce-cart .wc-block-components-totals-wrapper {
    padding: 15px 0 !important;
    border-color: #e7edf2 !important;
}

body.three-de-commerce-cart .wc-block-components-totals-item__label,
body.three-de-commerce-cart .wc-block-components-totals-item__value {
    color: #3a5369;
    font-size: 13px;
}

body.three-de-commerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.three-de-commerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    color: var(--three-de-shop-navy);
    font-size: 18px;
    font-weight: 850;
}

body.three-de-commerce-cart .wc-block-cart__submit {
    margin: 16px 0 0;
}

body.three-de-commerce-cart .wc-block-cart__submit-button {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--three-de-shop-primary), var(--three-de-shop-primary-dark));
    box-shadow: 0 10px 24px rgba(240,100,36,.25);
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
}

body.three-de-commerce-cart .wc-block-cart__submit-button::after {
    margin-left: 8px;
    content: "→";
    font-size: 17px;
}

@media (min-width: 780px) {
    body.three-de-commerce-cart .wc-block-cart {
        display: grid !important;
        grid-template-columns: minmax(0, 1.7fr) minmax(285px, .82fr) !important;
        column-gap: 22px !important;
        row-gap: 0 !important;
        align-items: start !important;
    }

    body.three-de-commerce-cart .wc-block-cart>.wc-block-cart__main,
    body.three-de-commerce-cart .wc-block-cart>.wc-block-cart__sidebar {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }

    body.three-de-commerce-cart .wc-block-cart>.wc-block-cart__main {
        grid-column: 1;
    }

    body.three-de-commerce-cart .wc-block-cart>.wc-block-cart__sidebar {
        position: sticky;
        top: 22px;
        grid-column: 2;
        align-self: start;
    }
}

/* Cart: classic shortcode */
body.three-de-commerce-cart .woocommerce-cart-form,
body.three-de-commerce-cart .cart-collaterals .cart_totals {
    padding: 22px;
    border: 1px solid var(--three-de-shop-border);
    border-radius: var(--three-de-shop-radius);
    background: var(--three-de-shop-surface);
    box-shadow: 0 14px 38px rgba(23,50,77,.07);
    box-sizing: border-box;
}

body.three-de-commerce-cart .woocommerce-cart-form {
    width: calc(66% - 12px);
    float: left;
}

body.three-de-commerce-cart .cart-collaterals {
    width: calc(34% - 12px);
    float: right;
}

body.three-de-commerce-cart .cart-collaterals .cart_totals {
    width: 100%;
    float: none;
}

body.three-de-commerce-cart table.shop_table {
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
}

body.three-de-commerce-cart table.shop_table th,
body.three-de-commerce-cart table.shop_table td {
    padding: 15px 12px;
    border-color: #e7edf2;
}

body.three-de-commerce-cart table.shop_table th {
    color: #718294;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .6px;
    text-transform: uppercase;
}

body.three-de-commerce-cart .product-thumbnail img {
    width: 76px;
    border-radius: 12px;
}

body.three-de-commerce-cart .product-name a {
    color: var(--three-de-shop-navy);
    font-weight: 800;
}

body.three-de-commerce-cart .cart_totals h2 {
    margin: 0 0 14px;
    color: var(--three-de-shop-navy);
    font-size: 20px;
}

body.three-de-commerce-cart .wc-proceed-to-checkout a.checkout-button {
    width: 100%;
    box-sizing: border-box;
}

/* Checkout: classic shortcode */
body.three-de-commerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    padding-left: 48px;
}

body.three-de-commerce-checkout form.checkout_coupon {
    margin: -8px 0 24px;
    padding: 20px;
    border: 1px solid var(--three-de-shop-border);
    border-radius: 14px;
    background: #fff;
}

body.three-de-commerce-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(350px, .88fr);
    gap: 0 26px;
    align-items: start;
}

body.three-de-commerce-checkout form.checkout>.woocommerce-NoticeGroup {
    grid-column: 1 / -1;
}

body.three-de-commerce-checkout #customer_details {
    grid-row: 1 / 4;
    grid-column: 1;
    padding: 25px;
    border: 1px solid var(--three-de-shop-border);
    border-radius: var(--three-de-shop-radius);
    background: var(--three-de-shop-surface);
    box-shadow: 0 14px 38px rgba(23,50,77,.07);
}

body.three-de-commerce-checkout #customer_details .col-1,
body.three-de-commerce-checkout #customer_details .col-2 {
    width: 100%;
    float: none;
}

body.three-de-commerce-checkout #customer_details .col-2 {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e8edf2;
}

body.three-de-commerce-checkout .woocommerce-billing-fields>h3,
body.three-de-commerce-checkout .woocommerce-additional-fields>h3,
body.three-de-commerce-checkout #order_review_heading {
    margin: 0 0 18px;
    color: var(--three-de-shop-navy);
    font-size: 20px;
    font-weight: 850;
    letter-spacing: -.25px;
}

body.three-de-commerce-checkout .woocommerce-billing-fields>h3::before,
body.three-de-commerce-checkout .woocommerce-additional-fields>h3::before,
body.three-de-commerce-checkout #order_review_heading::before {
    display: inline-block;
    width: 7px;
    height: 18px;
    margin-right: 9px;
    border-radius: 4px;
    vertical-align: -2px;
    background: var(--three-de-shop-primary);
    content: "";
}

body.three-de-commerce-checkout .form-row {
    margin: 0 0 15px;
    padding: 0;
}

body.three-de-commerce-checkout .form-row label {
    margin-bottom: 6px;
    color: #3c566d;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.35;
}

body.three-de-commerce-checkout .form-row .required {
    color: var(--three-de-shop-primary-dark);
}

body.three-de-commerce-checkout .form-row input.input-text {
    padding: 0 13px;
}

body.three-de-commerce-checkout .select2-container .select2-selection--single {
    display: flex;
    align-items: center;
}

body.three-de-commerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0 38px 0 13px;
    color: #29445b;
    line-height: 46px;
}

body.three-de-commerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 11px;
    right: 10px;
}

body.three-de-commerce-checkout #order_review_heading {
    grid-row: 1;
    grid-column: 2;
    margin: 0;
    padding: 24px 24px 17px;
    border: 1px solid var(--three-de-shop-border);
    border-bottom: 0;
    border-radius: var(--three-de-shop-radius) var(--three-de-shop-radius) 0 0;
    background: #fff;
}

body.three-de-commerce-checkout #order_review {
    grid-row: 2;
    grid-column: 2;
    overflow: hidden;
    padding: 0 24px 24px;
    border: 1px solid var(--three-de-shop-border);
    border-top: 0;
    border-radius: 0 0 var(--three-de-shop-radius) var(--three-de-shop-radius);
    background: #fff;
    box-shadow: 0 14px 38px rgba(23,50,77,.07);
}

body.three-de-commerce-checkout #order_review table.shop_table {
    margin: 0 0 20px;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
}

body.three-de-commerce-checkout #order_review table.shop_table th,
body.three-de-commerce-checkout #order_review table.shop_table td {
    padding: 13px 7px;
    border-color: #e8edf2;
    color: #415a70;
    font-size: 11px;
}

body.three-de-commerce-checkout #order_review table.shop_table thead th {
    color: #748596;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .6px;
    text-transform: uppercase;
}

body.three-de-commerce-checkout #order_review .order-total th,
body.three-de-commerce-checkout #order_review .order-total td,
body.three-de-commerce-checkout #order_review .order-total strong {
    color: var(--three-de-shop-navy);
    font-size: 15px;
    font-weight: 850;
}

body.three-de-commerce-checkout #payment {
    border-radius: 14px;
    color: #41586d;
    background: #f3f6f9;
}

body.three-de-commerce-checkout #payment ul.payment_methods {
    padding: 18px;
    border-color: #dfe7ed;
}

body.three-de-commerce-checkout #payment div.payment_box {
    border-radius: 9px;
    color: #5f7181;
    background: #fff;
    font-size: 10px;
    line-height: 1.5;
}

body.three-de-commerce-checkout #payment div.payment_box::before {
    border-bottom-color: #fff;
}

body.three-de-commerce-checkout #payment .place-order {
    padding: 18px;
}

body.three-de-commerce-checkout #payment .woocommerce-privacy-policy-text {
    color: #728294;
    font-size: 9px;
    line-height: 1.55;
}

body.three-de-commerce-checkout #place_order {
    width: 100%;
    margin-top: 10px;
    float: none;
}

/* Checkout: WooCommerce Blocks */
body.three-de-commerce-checkout .wc-block-checkout {
    align-items: start;
    gap: 26px;
}

body.three-de-commerce-checkout .wc-block-checkout__main {
    padding-right: 0;
}

body.three-de-commerce-checkout .wc-block-components-checkout-step {
    margin: 0 0 16px;
    padding: 23px !important;
    border: 1px solid var(--three-de-shop-border);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(23,50,77,.055);
}

body.three-de-commerce-checkout .wc-block-components-checkout-step__heading {
    margin-bottom: 17px;
}

body.three-de-commerce-checkout .wc-block-components-checkout-step__title {
    color: var(--three-de-shop-navy);
    font-size: 18px;
    font-weight: 850;
}

body.three-de-commerce-checkout .wc-block-checkout__sidebar {
    padding: 22px !important;
    border: 1px solid var(--three-de-shop-border);
    border-radius: var(--three-de-shop-radius);
    background: #fff;
    box-shadow: 0 14px 38px rgba(23,50,77,.07);
}

body.three-de-commerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item {
    padding: 14px 0;
    border-color: #e7edf2;
}

body.three-de-commerce-checkout .wc-block-components-checkout-place-order-button {
    width: 100%;
    min-height: 54px;
}

/* Confirmation / thank-you page */
body.three-de-commerce-confirmation .woocommerce-order {
    display: grid;
    gap: 22px;
}

body.three-de-commerce-confirmation .three-de-commerce-hero {
    margin-bottom: 4px;
}

body.three-de-commerce-confirmation .woocommerce-thankyou-order-received {
    position: relative;
    margin: 0;
    padding: 17px 20px 17px 52px;
    border: 1px solid #cbe6d5;
    border-radius: 13px;
    color: #276642;
    background: #effaf3;
    box-shadow: 0 8px 24px rgba(23,50,77,.05);
    font-size: 13px;
    font-weight: 750;
}

body.three-de-commerce-confirmation .woocommerce-thankyou-order-received::before {
    position: absolute;
    top: 15px;
    left: 18px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    color: #fff;
    background: #2d945d;
    content: "✓";
    font-size: 14px;
    line-height: 23px;
    text-align: center;
}

body.three-de-commerce-confirmation ul.woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--three-de-shop-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(23,50,77,.065);
}

body.three-de-commerce-confirmation ul.woocommerce-order-overview li {
    min-width: 0;
    margin: 0;
    padding: 18px 17px;
    border-right: 1px solid #e7edf2;
    color: #7a8a99;
    font-size: 9px;
    letter-spacing: .5px;
}

body.three-de-commerce-confirmation ul.woocommerce-order-overview li:last-child {
    border-right: 0;
}

body.three-de-commerce-confirmation ul.woocommerce-order-overview li strong {
    display: block;
    overflow-wrap: anywhere;
    margin-top: 7px;
    color: var(--three-de-shop-navy);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: none;
}

body.three-de-commerce-confirmation .woocommerce-order-details,
body.three-de-commerce-confirmation .woocommerce-customer-details {
    margin: 0;
    padding: 24px;
    border: 1px solid var(--three-de-shop-border);
    border-radius: var(--three-de-shop-radius);
    background: #fff;
    box-shadow: 0 14px 38px rgba(23,50,77,.065);
}

body.three-de-commerce-confirmation .woocommerce-order-details__title,
body.three-de-commerce-confirmation .woocommerce-column__title {
    margin: 0 0 17px;
    color: var(--three-de-shop-navy);
    font-size: 21px;
    font-weight: 850;
    letter-spacing: -.3px;
}

body.three-de-commerce-confirmation .woocommerce-order-details table.shop_table {
    margin: 0;
    overflow: hidden;
    border: 1px solid #e2e9ee;
    border-radius: 12px;
    border-collapse: separate;
    border-spacing: 0;
}

body.three-de-commerce-confirmation .woocommerce-order-details table.shop_table th,
body.three-de-commerce-confirmation .woocommerce-order-details table.shop_table td {
    padding: 14px 15px;
    border-color: #e7edf2;
    color: #3f5870;
    font-size: 11px;
}

body.three-de-commerce-confirmation .woocommerce-order-details table.shop_table thead th {
    color: #708193;
    background: #f6f9fb;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .7px;
    text-transform: uppercase;
}

body.three-de-commerce-confirmation .woocommerce-order-details table.shop_table .product-name a {
    color: var(--three-de-shop-primary-dark);
    font-weight: 800;
}

body.three-de-commerce-confirmation .woocommerce-order-details table.shop_table tfoot tr:last-child th,
body.three-de-commerce-confirmation .woocommerce-order-details table.shop_table tfoot tr:last-child td {
    color: var(--three-de-shop-navy);
    font-size: 14px;
    font-weight: 850;
}

body.three-de-commerce-confirmation .woocommerce-customer-details address {
    margin: 0;
    padding: 17px 18px;
    border: 0;
    border-radius: 12px;
    color: #425b71;
    background: #f6f9fb;
    font-size: 12px;
    font-style: normal;
    line-height: 1.8;
}

body.three-de-commerce-confirmation .woocommerce-customer-details address p {
    margin: 8px 0 0;
}

@media (max-width: 960px) {
    body.three-de-commerce-page .entry-content {
        padding-top: 24px;
    }

    body.three-de-commerce-checkout form.checkout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    body.three-de-commerce-checkout #customer_details,
    body.three-de-commerce-checkout #order_review_heading,
    body.three-de-commerce-checkout #order_review {
        grid-row: auto;
        grid-column: 1;
    }

    body.three-de-commerce-checkout #order_review_heading {
        margin-bottom: -22px;
    }

    body.three-de-commerce-confirmation ul.woocommerce-order-overview {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    body.three-de-commerce-confirmation ul.woocommerce-order-overview li {
        border-bottom: 1px solid #e7edf2;
    }
}

@media (max-width: 779px) {
    body.three-de-commerce-cart .wc-block-cart {
        display: block !important;
    }

    body.three-de-commerce-cart .wc-block-cart__sidebar {
        width: 100% !important;
        margin-top: 20px !important;
    }

    body.three-de-commerce-cart .woocommerce-cart-form,
    body.three-de-commerce-cart .cart-collaterals {
        width: 100%;
        float: none;
    }

    body.three-de-commerce-cart .cart-collaterals {
        margin-top: 22px;
    }
}

@media (max-width: 640px) {
    body.three-de-commerce-page .entry-content {
        padding: 16px 12px 50px;
    }

    .three-de-commerce-hero {
        display: block;
        padding: 19px 18px 0;
        border-radius: 18px;
    }

    .three-de-commerce-hero-copy {
        min-height: 66px;
        padding-right: 86px;
        text-align: left;
    }

    .three-de-commerce-eyebrow {
        justify-content: flex-start;
    }

    .three-de-commerce-hero-copy p {
        font-size: 10px;
    }

    .three-de-commerce-art {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 78px;
        height: 66px;
        object-position: right center;
    }

    .three-de-commerce-progress {
        margin-top: 14px;
        padding-bottom: 12px;
    }

    .three-de-commerce-progress li {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .three-de-commerce-progress li:not(:last-child)::after {
        top: 12px;
        right: -40%;
        left: 60%;
    }

    .three-de-commerce-progress li strong {
        font-size: 8px;
    }

    .three-de-commerce-trust {
        gap: 14px;
        margin: 0 -18px;
        padding: 8px 10px;
    }

    .three-de-commerce-trust>span {
        gap: 4px;
        font-size: 8px;
    }

    .three-de-commerce-trust .dashicons {
        display: none;
    }

    body.three-de-commerce-cart .wc-block-cart__sidebar,
    body.three-de-commerce-cart .woocommerce-cart-form,
    body.three-de-commerce-cart .cart-collaterals .cart_totals,
    body.three-de-commerce-checkout #customer_details,
    body.three-de-commerce-checkout #order_review_heading,
    body.three-de-commerce-checkout #order_review,
    body.three-de-commerce-confirmation .woocommerce-order-details,
    body.three-de-commerce-confirmation .woocommerce-customer-details {
        padding-right: 17px;
        padding-left: 17px;
        border-radius: 16px;
    }

    body.three-de-commerce-cart .wc-block-cart-items td {
        padding: 15px !important;
    }

    body.three-de-commerce-checkout #order_review_heading {
        border-radius: 16px 16px 0 0;
    }

    body.three-de-commerce-checkout #order_review {
        border-radius: 0 0 16px 16px;
    }

    body.three-de-commerce-confirmation ul.woocommerce-order-overview {
        grid-template-columns: 1fr;
    }

    body.three-de-commerce-confirmation ul.woocommerce-order-overview li {
        border-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.three-de-commerce-page .button,
    body.three-de-commerce-page button.button,
    body.three-de-commerce-page .wc-block-components-button {
        transition: none;
    }
}

/* Compact commerce header: keep the full purchase progress without a tall hero. */
body.three-de-commerce-page .three-de-commerce-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 118px !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    gap: 6px 18px !important;
    min-height: 0 !important;
    height: auto !important;
    margin-bottom: 18px !important;
    padding: 14px 18px !important;
}

body.three-de-commerce-page .three-de-commerce-hero-copy {
    grid-row: 1 !important;
    grid-column: 1 !important;
    min-height: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

body.three-de-commerce-page .three-de-commerce-eyebrow {
    justify-content: flex-start !important;
    font-size: 8px !important;
}

body.three-de-commerce-page .three-de-commerce-hero h1 {
    margin: 3px 0 !important;
    font-size: clamp(21px, 2.4vw, 28px) !important;
    line-height: 1.05 !important;
}

body.three-de-commerce-page .three-de-commerce-hero-copy p {
    margin: 0 !important;
    font-size: 9px !important;
    line-height: 1.35 !important;
}

body.three-de-commerce-page .three-de-commerce-art {
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: block !important;
    grid-row: 1 / 3 !important;
    grid-column: 2 !important;
    width: 110px !important;
    min-width: 0 !important;
    max-width: 110px !important;
    height: 72px !important;
    min-height: 0 !important;
    max-height: 72px !important;
    align-self: center !important;
    justify-self: end !important;
    object-fit: contain !important;
}

body.three-de-commerce-page .three-de-commerce-progress {
    display: grid !important;
    grid-row: 2 !important;
    grid-column: 1 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    margin: 3px 0 0 !important;
    padding: 0 !important;
}

body.three-de-commerce-page .three-de-commerce-progress li {
    flex-direction: row !important;
    gap: 5px !important;
    text-align: left !important;
}

body.three-de-commerce-page .three-de-commerce-progress li:not(:last-child)::after {
    top: 9px !important;
    right: 6px !important;
    left: 28px !important;
}

body.three-de-commerce-page .three-de-commerce-progress li>span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 19px !important;
    height: 19px !important;
    min-width: 19px !important;
    min-height: 19px !important;
    flex-basis: 19px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
    vertical-align: middle !important;
    font-size: 8px !important;
}

body.three-de-commerce-page .three-de-commerce-progress li>span .dashicons {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 12px !important;
}

body.three-de-commerce-page .three-de-commerce-progress li strong {
    font-size: 7px !important;
}

body.three-de-commerce-page .three-de-commerce-trust {
    display: none !important;
}

@media (max-width: 640px) {
    body.three-de-commerce-page .three-de-commerce-hero {
        grid-template-columns: minmax(0, 1fr) 62px !important;
        gap: 5px 8px !important;
        padding: 11px 12px !important;
    }

    body.three-de-commerce-page .three-de-commerce-hero h1 {
        font-size: 19px !important;
    }

    body.three-de-commerce-page .three-de-commerce-hero-copy p {
        display: none !important;
    }

    body.three-de-commerce-page .three-de-commerce-art {
        width: 58px !important;
        max-width: 58px !important;
        height: 48px !important;
        max-height: 48px !important;
    }

    body.three-de-commerce-page .three-de-commerce-progress li strong {
        display: none !important;
    }
}
