.haptelle-wc-theme .haptelle-split-cart {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
}

.haptelle-wc-theme .haptelle-cart-preorder-action {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
}

.haptelle-wc-theme .haptelle-split-cart__notices {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 9px 14px;
    border: 1px solid rgba(97, 70, 54, .18);
    border-radius: 8px;
    background: #fafaf8;
    color: #4b433e;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
}

.haptelle-wc-theme .haptelle-split-cart__notice {
    margin: 0;
    color: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
}

.haptelle-wc-theme .haptelle-checkout-state {
    margin-bottom: 24px;
}

.haptelle-wc-theme .haptelle-checkout-state + .row {
    margin-top: 0;
}

.haptelle-wc-theme .section-checkout .box-your-order .variation {
    display: grid;
    gap: 3px;
    margin: 6px 0 0;
    color: #655951;
    font-size: 12px;
    line-height: 1.4;
}

.haptelle-wc-theme .section-checkout .box-your-order .variation dt,
.haptelle-wc-theme .section-checkout .box-your-order .variation dd,
.haptelle-wc-theme .section-checkout .box-your-order .variation p {
    margin: 0;
}

.haptelle-wc-theme .haptelle-cart-group {
    overflow: hidden;
    border: 1px solid rgba(48, 36, 28, .14);
    border-radius: 12px;
    background: #fff;
}

.haptelle-wc-theme .haptelle-cart-group--warehouse .haptelle-cart-group__header h2[id] {
    scroll-margin-block-start: 144px;
}

.haptelle-wc-theme .haptelle-cart-group__header,
.haptelle-wc-theme .haptelle-cart-group__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
}

.haptelle-wc-theme .haptelle-cart-group__header {
    border-bottom: 1px solid rgba(48, 36, 28, .1);
    background: transparent;
}

.haptelle-wc-theme .haptelle-cart-group__header h2,
.haptelle-wc-theme .haptelle-cart-group__eyebrow,
.haptelle-wc-theme .haptelle-cart-group__shipping,
.haptelle-wc-theme .haptelle-cart-group__total span,
.haptelle-wc-theme .haptelle-cart-group__total strong {
    margin: 0;
}

.haptelle-wc-theme .haptelle-cart-group__header h2 {
    color: #241b16;
    font-size: clamp(22px, 1.85vw, 28px);
    line-height: 1.2;
}

.haptelle-wc-theme .haptelle-cart-group__eyebrow {
    margin-bottom: 5px;
    color: #76675e;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.haptelle-wc-theme .haptelle-cart-group__shipping {
    flex: 0 1 auto;
    overflow-wrap: anywhere;
    color: var(--haptelle-text-secondary, #47545b);
    font-size: 13px;
    font-weight: 500;
    text-align: right;
}

.haptelle-wc-theme .haptelle-cart-group__table-wrap {
    padding: 0 24px;
}

.haptelle-wc-theme .haptelle-cart-group__table {
    width: 100%;
}

.haptelle-wc-theme .haptelle-cart-group__table > :is(thead, tbody) > tr > :is(th, td) {
    padding: 16px 12px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.haptelle-wc-theme .haptelle-cart-group__table > :is(thead, tbody) > tr > :first-child {
    width: 100%;
    padding-inline-start: 0;
    text-align: start;
}

.haptelle-wc-theme .haptelle-cart-group__table > :is(thead, tbody) > tr > :is(:nth-child(2), :last-child) {
    text-align: end;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.haptelle-wc-theme .haptelle-cart-group__table > :is(thead, tbody) > tr > :last-child {
    padding-inline-end: 0;
}

.haptelle-wc-theme .haptelle-cart-group__table > thead > tr > :nth-child(3) {
    text-align: center;
}

.haptelle-wc-theme .haptelle-cart-group__table > tbody > tr:last-child > td {
    border-bottom: 0;
}

.haptelle-wc-theme .haptelle-cart-group__product {
    display: flex;
    align-items: flex-start;
    gap: clamp(12px, 2vw, 24px);
}

.haptelle-wc-theme .haptelle-cart-group__item .img-prd,
.haptelle-wc-theme .haptelle-checkout-layout__cart .order-item .img-prd {
    flex: 0 0 clamp(56px, 9vw, 100px);
    border-radius: 8px;
    overflow: hidden;
}

.haptelle-wc-theme .haptelle-cart-group__item .img-prd img {
    width: 100%;
    aspect-ratio: 100 / 133;
    object-fit: cover;
}

.haptelle-wc-theme .haptelle-cart-group__item .infor-prd,
.haptelle-wc-theme .haptelle-checkout-layout__cart .order-item .infor-prd {
    min-width: 0;
    flex: 1;
    overflow-wrap: anywhere;
}

.haptelle-wc-theme .haptelle-cart-group__item .cart_remove {
    padding-block: 4px;
}

.haptelle-wc-theme .haptelle-cart-group__item .wg-quantity {
    width: 128px;
    min-width: 0;
    margin-inline: auto;
}

.haptelle-wc-theme .haptelle-cart-group__table > thead > tr > th > p {
    margin: 0 !important;
    font-size: 14px;
    font-weight: 400 !important;
    line-height: 1.4;
}

.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table > thead > tr > th {
    background: #f6ece3;
}

/* Until the warehouse quote is signed, the sidebar displays the pending amounts. */
.haptelle-wc-theme form.checkout:has(input[name="haptelle_warehouse_quote"][value=""])
    .woocommerce-checkout-review-order-table :is(.shipping, .tax-rate, .tax-total, .order-total) {
    display: none;
}

.haptelle-wc-theme .haptelle-custom-item__amounts {
    display: grid;
    gap: 4px;
    margin: 10px 0;
    color: #4b433e;
    font-size: 13px;
    line-height: 1.45;
}

.haptelle-wc-theme .haptelle-custom-item__amounts > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 14px;
}

.haptelle-wc-theme .haptelle-custom-item__amounts dt,
.haptelle-wc-theme .haptelle-custom-item__amounts dd {
    margin: 0;
}

.haptelle-wc-theme .haptelle-custom-item__amounts dd {
    font-weight: 600;
    text-align: end;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.haptelle-wc-theme .haptelle-custom-item__details {
    margin: 10px 0;
    color: #4b433e;
    font-size: 13px;
}

.haptelle-wc-theme .haptelle-custom-item__details summary {
    width: fit-content;
    color: #594423;
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.haptelle-wc-theme .haptelle-custom-item__details summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.haptelle-wc-theme .haptelle-custom-item__table-wrap {
    max-width: 100%;
    margin-top: 10px;
}

.haptelle-wc-theme .haptelle-custom-item__table-wrap > table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    text-align: left;
}

.haptelle-wc-theme .haptelle-custom-item__table-wrap > table > :is(thead, tbody) > tr > th,
.haptelle-wc-theme .haptelle-custom-item__table-wrap > table > tbody > tr > td {
    padding: 6px 8px;
    border-bottom: 1px solid #e9d9cc;
    color: #4b433e;
    font-size: 12px;
    font-weight: 400;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.haptelle-wc-theme .haptelle-custom-item__table-wrap > table > thead > tr > th,
.haptelle-wc-theme .haptelle-custom-item__details .haptelle-custom-item__category th {
    background: #f6ece3;
    color: #594423;
    font-weight: 700;
}

.haptelle-wc-theme .haptelle-cart-group__table .variation {
    display: grid;
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
    gap: 4px 8px;
    margin: 4px 0 0;
    color: #655951;
    font-size: 13px;
    line-height: 1.45;
}

.haptelle-wc-theme .haptelle-cart-group__table .variation dt,
.haptelle-wc-theme .haptelle-cart-group__table .variation dd,
.haptelle-wc-theme .haptelle-cart-group__table .variation p {
    margin: 0;
}

.haptelle-wc-theme .haptelle-cart-group__table .variation dd {
    min-width: 0;
    overflow-wrap: anywhere;
}

.haptelle-wc-theme .haptelle-cart-group__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 14px;
    padding: 20px 24px 24px;
    border-top: 1px solid rgba(48, 36, 28, .1);
}

.haptelle-wc-theme .haptelle-cart-group__summary,
.haptelle-wc-theme .haptelle-cart-group__actions {
    min-width: 0;
}

.haptelle-wc-theme .haptelle-cart-group--preorder .haptelle-cart-group__summary {
    grid-column: 1 / -1;
}

.haptelle-wc-theme .haptelle-cart-group__amounts {
    display: grid;
    gap: 10px;
    margin: 0;
    color: #4b433e;
    font-size: 14px;
    line-height: 1.4;
}

.haptelle-wc-theme .haptelle-cart-group__amounts > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
}

.haptelle-wc-theme .haptelle-cart-group__amounts dt,
.haptelle-wc-theme .haptelle-cart-group__amounts dd {
    min-width: 0;
    margin: 0;
}

.haptelle-wc-theme .haptelle-cart-group__amounts dd {
    color: #241b16;
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

.haptelle-wc-theme .haptelle-cart-group__amounts .haptelle-cart-group__amounts-total {
    padding-top: 10px;
    border-top: 1px solid rgba(48, 36, 28, .14);
    color: #241b16;
    font-size: 16px;
    font-weight: 700;
}

.haptelle-wc-theme .haptelle-cart-group__amounts-total dd {
    color: #594423;
    font-size: 20px;
}

.haptelle-wc-theme .haptelle-cart-group__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.haptelle-wc-theme .haptelle-cart-group__quantity-error,
.haptelle-wc-theme .haptelle-cart-quantity-limit--error {
    width: 100%;
    margin: 8px 0 0;
    color: #9a3024;
    font-size: 12px;
    line-height: 1.45;
}

.haptelle-wc-theme .haptelle-cart-group__checkout {
    width: auto;
    min-width: 220px;
    max-width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 12px 22px;
    text-align: center;
    white-space: nowrap;
}

.haptelle-wc-theme .haptelle-cart-preorder-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f5e9dc;
    color: #594423;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.haptelle-wc-theme .haptelle-cart-preorder-badge svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.haptelle-wc-theme .haptelle-cart-quantity-limit {
    margin: 5px 0 0;
    color: #76675e;
    font-size: 11px;
    line-height: 1.35;
}

.haptelle-wc-theme .haptelle-cart-group__table .plus-quantity:disabled {
    cursor: not-allowed;
    opacity: .4;
}

.haptelle-wc-theme .section-checkout .woocommerce-checkout-review-order-table .haptelle-preorder-logistics-row > td {
    padding: 10px 12px 18px;
    border-top: 0;
    background: #fff;
}

.haptelle-wc-theme .section-checkout .haptelle-preorder-logistics--checkout {
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(48, 36, 28, .12);
    border-radius: 10px;
    background: #fbf7f3;
    color: #4b433e;
}

.haptelle-wc-theme .section-checkout .haptelle-preorder-logistics--checkout > h3 {
    margin: 0;
    padding: 13px 16px;
    background: #f6ece3;
    color: #594423;
    font-size: 16px;
    line-height: 1.35;
}

.haptelle-wc-theme .section-checkout .haptelle-preorder-logistics__content {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
}

.haptelle-wc-theme .section-checkout .haptelle-preorder-logistics__itinerary + .haptelle-preorder-logistics__itinerary {
    padding-top: 12px;
    border-top: 1px solid rgba(48, 36, 28, .12);
}

.haptelle-wc-theme .section-checkout .haptelle-preorder-logistics__itinerary h4 {
    margin: 0 0 8px;
    color: #241b16;
    font-size: 13px;
    line-height: 1.4;
}

.haptelle-wc-theme .section-checkout .haptelle-preorder-logistics__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    gap: 8px 16px;
    align-items: start;
    margin: 0 0 8px;
    color: #655951;
    font-size: 13px;
    line-height: 1.4;
}

.haptelle-wc-theme .section-checkout .haptelle-preorder-logistics__row strong {
    color: #594423;
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

.haptelle-wc-theme .section-checkout .haptelle-preorder-logistics__shipping > strong {
    display: block;
    margin-bottom: 7px;
    color: #241b16;
    font-size: 13px;
}

.haptelle-wc-theme .section-checkout .haptelle-preorder-logistics__note,
.haptelle-wc-theme .section-checkout .haptelle-preorder-logistics__pending {
    margin: 8px 0 0;
    padding-top: 10px;
    border-top: 1px solid rgba(48, 36, 28, .12);
    color: #76675e;
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.haptelle-wc-theme .section-checkout .woocommerce-checkout-review-order-table .haptelle-preorder__badge {
    display: block;
    width: fit-content;
    margin: 6px 0 2px;
}

.haptelle-wc-theme .haptelle-cart-group__checkout[disabled] {
    cursor: not-allowed;
    opacity: .48;
}

.haptelle-wc-theme .haptelle-split-cart__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.haptelle-wc-theme .haptelle-split-cart__actions-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.haptelle-wc-theme .haptelle-split-cart__actions .haptelle-cart-coupon {
    flex: 0 1 430px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    max-width: 100%;
}

.haptelle-wc-theme .haptelle-split-cart__actions .haptelle-cart-coupon .input-text {
    flex: 1 1 220px;
    width: auto;
    min-width: 0;
    height: 46px;
    min-height: 46px;
    font-size: 14px;
    font-weight: 400;
}

.haptelle-wc-theme .haptelle-split-cart__actions .haptelle-cart-coupon .input-text::placeholder {
    font-size: inherit;
    font-weight: inherit;
}

.haptelle-wc-theme .haptelle-split-cart__actions .haptelle-cart-coupon .tf-btn {
    flex: 0 0 auto;
    width: auto;
    height: 46px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

.haptelle-wc-theme .haptelle-split-cart__update {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.haptelle-wc-theme .haptelle-split-cart__actions .haptelle-cart-action-buttons {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    margin-left: auto;
}

.haptelle-wc-theme .haptelle-split-cart__actions .haptelle-cart-preorder-checkout {
    width: auto;
    min-width: 220px;
    min-height: 46px;
    margin: 0;
    padding: 12px 22px;
    white-space: nowrap;
}

.haptelle-wc-theme .haptelle-split-cart__actions .haptelle-cart-update-button {
    appearance: none;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #594423;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: none;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.haptelle-wc-theme .haptelle-split-cart__actions .haptelle-cart-update-button:hover {
    background: transparent;
    color: #3f3019;
}

.haptelle-wc-theme .haptelle-split-cart__actions .haptelle-cart-update-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.haptelle-wc-theme .haptelle-split-cart__actions .haptelle-cart-update-button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.haptelle-wc-theme .haptelle-coupon-states {
    display: grid;
    gap: 14px;
    padding: 22px 24px;
    border: 1px solid rgba(48, 36, 28, .14);
    border-radius: 12px;
    background: #fafaf8;
}

.haptelle-wc-theme .haptelle-coupon-states[hidden] {
    display: none;
}

.haptelle-wc-theme .haptelle-checkout-state + .haptelle-coupon-states,
.haptelle-wc-theme .section-checkout > .container-full-2 > .haptelle-coupon-states {
    margin-bottom: 24px;
}

.haptelle-wc-theme .haptelle-coupon-states__title,
.haptelle-wc-theme .haptelle-coupon-states__intro,
.haptelle-wc-theme .haptelle-coupon-state__message,
.haptelle-wc-theme .haptelle-coupon-state__meta,
.haptelle-wc-theme .haptelle-coupon-state__meta dt,
.haptelle-wc-theme .haptelle-coupon-state__meta dd {
    margin: 0;
}

.haptelle-wc-theme .haptelle-coupon-states__title {
    color: #241b16;
    font-size: 22px;
    line-height: 1.2;
}

.haptelle-wc-theme .haptelle-coupon-states__intro,
.haptelle-wc-theme .haptelle-coupon-state__message {
    color: #655951;
    line-height: 1.5;
}

.haptelle-wc-theme .haptelle-coupon-states__list {
    display: grid;
    gap: 12px;
}

.haptelle-wc-theme .haptelle-coupon-state {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(48, 36, 28, .12);
    border-radius: 8px;
    background: #fff;
}

.haptelle-wc-theme .haptelle-coupon-state__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.haptelle-wc-theme .haptelle-coupon-state__code {
    color: #241b16;
    font-size: 16px;
    overflow-wrap: anywhere;
}

.haptelle-wc-theme .haptelle-coupon-state__amount {
    flex: 0 0 auto;
    color: #4b433e;
    font-weight: 600;
}

.haptelle-wc-theme .haptelle-coupon-state__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 18px;
}

.haptelle-wc-theme .haptelle-coupon-state__meta > div {
    min-width: 0;
}

.haptelle-wc-theme .haptelle-coupon-state__meta dt {
    color: #76675e;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.haptelle-wc-theme .haptelle-coupon-state__meta dd {
    color: #241b16;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .haptelle-wc-theme .haptelle-split-cart {
        gap: 20px;
    }

    .haptelle-wc-theme .haptelle-cart-group__header {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .haptelle-wc-theme .haptelle-cart-group__footer {
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        gap: 18px;
        padding: 18px 20px 20px;
    }

    .haptelle-wc-theme .haptelle-cart-group__shipping {
        text-align: left;
    }

    .haptelle-wc-theme .haptelle-cart-group__table-wrap {
        padding: 0 20px;
    }

    .haptelle-wc-theme .haptelle-cart-group__table,
    .haptelle-wc-theme .haptelle-cart-group__table > tbody,
    .haptelle-wc-theme .haptelle-cart-group__table > tbody > tr {
        display: block;
    }

    .haptelle-wc-theme .haptelle-cart-group__table > thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .haptelle-wc-theme .haptelle-cart-group__table > tbody > tr + tr {
        border-top: 1px solid var(--line);
    }

    .haptelle-wc-theme .haptelle-cart-group__table > tbody > tr > td {
        padding: 12px 0;
    }

    .haptelle-wc-theme .haptelle-cart-group__table > tbody > tr > td[data-cart-title] {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 8px;
        white-space: normal;
    }

    .haptelle-wc-theme .haptelle-cart-group__table > tbody > tr > td[data-cart-title]::before {
        content: attr(data-cart-title);
        color: var(--haptelle-text-secondary, #47545b);
        font-size: 13px;
        font-weight: 500;
        text-align: start;
    }

    .haptelle-wc-theme .haptelle-cart-group__item .wg-quantity {
        margin-inline: 0;
    }

    .haptelle-wc-theme .haptelle-cart-group__table .variation {
        grid-template-columns: 1fr;
    }

    .haptelle-wc-theme .haptelle-cart-group__checkout,
    .haptelle-wc-theme .haptelle-split-cart__actions {
        width: 100%;
    }

    .haptelle-wc-theme .haptelle-cart-group__actions {
        align-items: stretch;
    }

    .haptelle-wc-theme .haptelle-cart-group__checkout {
        width: 100%;
        min-width: 0;
        max-width: none;
        height: auto;
        min-height: 46px;
        padding: 12px 12px;
        font-size: 13px;
        line-height: 1.4;
        text-align: center;
    }

    .haptelle-wc-theme .section-checkout .woocommerce-checkout-review-order-table .haptelle-preorder-logistics-row > td {
        display: table-cell;
        width: 100%;
        padding: 8px 0 14px;
    }

    .haptelle-wc-theme .section-checkout .haptelle-preorder-logistics--checkout > h3 {
        padding: 12px 14px;
    }

    .haptelle-wc-theme .section-checkout .haptelle-preorder-logistics__content {
        padding: 12px 14px;
    }

    .haptelle-wc-theme .section-checkout .haptelle-preorder-logistics__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }

    .haptelle-wc-theme .section-checkout .haptelle-preorder-logistics__row strong {
        text-align: left;
    }

    .haptelle-wc-theme .haptelle-split-cart__actions .haptelle-cart-coupon {
        flex-basis: 430px;
        width: 100%;
        gap: 8px;
    }

    .haptelle-wc-theme .haptelle-split-cart__actions .haptelle-cart-coupon .input-text {
        flex-basis: 0;
        padding-inline: 12px;
    }

    .haptelle-wc-theme .haptelle-split-cart__actions .haptelle-cart-coupon .tf-btn {
        padding-inline: 14px;
        font-size: 13px;
    }

    .haptelle-wc-theme .haptelle-split-cart__actions-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        gap: 12px;
    }

    .haptelle-wc-theme .haptelle-split-cart__actions .haptelle-cart-action-buttons {
        width: 100%;
        justify-content: stretch;
    }

    .haptelle-wc-theme .haptelle-split-cart__actions .haptelle-cart-update-button {
        width: auto;
    }

    .haptelle-wc-theme .haptelle-split-cart__update {
        width: 100%;
    }

    .haptelle-wc-theme .haptelle-split-cart__actions .haptelle-cart-preorder-checkout {
        flex: 1 1 auto;
        min-width: 0;
        padding-inline: 12px;
        font-size: 13px;
    }

    .haptelle-wc-theme .haptelle-coupon-states {
        padding: 18px;
    }

    .haptelle-wc-theme .haptelle-coupon-state__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .haptelle-wc-theme .haptelle-coupon-state__meta {
        grid-template-columns: 1fr;
    }
}

/* Accessory rows use a quote-derived breakdown and a selected-options table. */
.haptelle-wc-theme .haptelle-accessory-cart-item__quantity {
    display: inline-block;
    margin-inline-start: 5px;
    padding: 1px 7px;
    border-radius: 999px;
    background: #f6ece3;
    color: #594423;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}

.haptelle-wc-theme .haptelle-accessory-cart-item__amounts {
    display: grid;
    gap: 4px;
    margin: 10px 0;
    color: #4b433e;
    font-size: 13px;
    line-height: 1.45;
}

.haptelle-wc-theme .haptelle-accessory-cart-item__amounts > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 14px;
}

.haptelle-wc-theme .haptelle-accessory-cart-item__amounts dt,
.haptelle-wc-theme .haptelle-accessory-cart-item__amounts dd {
    margin: 0;
}

.haptelle-wc-theme .haptelle-accessory-cart-item__amounts dd {
    font-weight: 600;
    text-align: end;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.haptelle-wc-theme .haptelle-accessory-cart-item__details {
    margin: 10px 0;
    color: #4b433e;
    font-size: 13px;
}

.haptelle-wc-theme .haptelle-accessory-cart-item__details summary {
    width: fit-content;
    color: #594423;
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.haptelle-wc-theme .haptelle-accessory-cart-item__details summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.haptelle-wc-theme .haptelle-accessory-cart-item__table-wrap {
    max-width: 560px;
    margin-top: 10px;
}

.haptelle-wc-theme .haptelle-accessory-cart-item__table-wrap > table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    text-align: left;
}

.haptelle-wc-theme .haptelle-accessory-cart-item__table-wrap > table > :is(thead, tbody) > tr > th,
.haptelle-wc-theme .haptelle-accessory-cart-item__table-wrap > table > tbody > tr > td {
    padding: 6px 8px;
    border-bottom: 1px solid #e9d9cc;
    color: #4b433e;
    font-size: 12px;
    font-weight: 400;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.haptelle-wc-theme .haptelle-accessory-cart-item__table-wrap > table > thead > tr > th {
    background: #f6ece3;
    color: #594423;
    font-weight: 700;
}

.haptelle-wc-theme .haptelle-accessory-cart-item__choice-price {
    color: #594423;
    font-weight: 600;
    white-space: nowrap;
}

.haptelle-wc-theme .haptelle-accessory-cart-item__meta {
    display: grid;
    gap: 3px;
    margin: 7px 0 10px;
    color: #655951;
    font-size: 12px;
    line-height: 1.4;
}

.haptelle-wc-theme .haptelle-accessory-cart-item__meta p {
    margin: 0;
}

.haptelle-wc-theme .haptelle-accessory-item-subtotal {
    display: grid;
    justify-items: end;
    gap: 2px;
}

.haptelle-wc-theme .haptelle-accessory-item-subtotal__label {
    color: #76675e;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
}

.haptelle-wc-theme .haptelle-accessory-item-subtotal__value {
    font-weight: 600;
}

@media (min-width: 992px) {
    .haptelle-wc-theme .section-checkout .haptelle-checkout-layout {
        --haptelle-checkout-amount-inset: 40px;
        align-items: flex-start;
    }

    .haptelle-wc-theme .section-checkout .haptelle-checkout-layout__cart > .fl-sidebar-cart {
        margin-top: 0;
    }
}

.haptelle-wc-theme .section-checkout .haptelle-checkout-layout__cart .list-order-product .order-item {
    align-items: flex-start;
}

.haptelle-wc-theme .haptelle-checkout-layout__cart :is(.haptelle-checkout-sidebar-shipping, .haptelle-checkout-sidebar-discount, .haptelle-checkout-sidebar-total) {
    text-align: end;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}

.haptelle-wc-theme .haptelle-checkout-layout__cart .haptelle-checkout-sidebar-quantity {
    color: var(--haptelle-text-secondary, #47545b);
    white-space: nowrap;
}

.haptelle-wc-theme .haptelle-checkout-layout__cart .last-total {
    gap: 12px;
    color: var(--haptelle-brand-oak-hush, #594423);
}

.haptelle-wc-theme .haptelle-custom-item__amounts > div:last-child {
    padding-top: 4px;
    border-top: 1px solid var(--line);
    color: var(--haptelle-text-primary, #1c1c1c);
    font-weight: 600;
}

.haptelle-wc-theme .section-checkout .haptelle-checkout-layout__cart .haptelle-accessory-cart-item__amounts,
.haptelle-wc-theme .section-checkout .haptelle-checkout-layout__cart .haptelle-custom-item__amounts {
    width: 100%;
}

.haptelle-wc-theme .section-checkout .haptelle-checkout-sidebar-item-subtotal {
    display: block;
    width: 100%;
    margin-top: 8px;
    text-align: right;
}

.haptelle-wc-theme .section-checkout .haptelle-checkout-sidebar-item-subtotal .haptelle-accessory-item-subtotal {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    justify-items: stretch;
    width: 100%;
}

.haptelle-wc-theme .section-checkout .haptelle-checkout-sidebar-item-subtotal .haptelle-accessory-item-subtotal__label {
    justify-self: start;
    text-align: left;
}

.haptelle-wc-theme .section-checkout .haptelle-checkout-sidebar-item-subtotal .haptelle-accessory-item-subtotal__value {
    justify-self: end;
    text-align: right;
}

.haptelle-wc-theme .haptelle-accessory-cart-item__price-note {
    margin: 6px 0 10px;
    color: #655951;
    font-size: 12px;
    line-height: 1.45;
}

.haptelle-wc-theme .haptelle-accessory-cart-item__subtotal-label {
    margin: 8px 0 0;
    padding-top: 8px;
    border-top: 1px solid rgba(48, 36, 28, .14);
    color: #76675e;
    font-size: 12px;
    line-height: 1.35;
}

.haptelle-wc-theme .haptelle-checkout-layout__form :is(.haptelle-custom-item__table-wrap, .haptelle-accessory-cart-item__table-wrap) > table > :is(thead, tbody) > tr > :is(th, td) {
    padding-inline: 6px;
}

.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table {
    width: 100%;
    max-width: 100%;
    margin-inline-start: 0;
    table-layout: fixed;
}

/* Until the warehouse quote is signed, the sidebar displays the pending amounts. */
.haptelle-wc-theme form.checkout:has(input[name="haptelle_warehouse_quote"][value=""])
    .woocommerce-checkout-review-order-table :is(.shipping, .tax-rate, .tax-total, .order-total) {
    display: none;
}

.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table > thead > tr > th.product-name,
.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table > tbody > tr > td.product-name {
    width: auto;
    overflow-wrap: anywhere;
}

.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table > thead > tr > th.product-total,
.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table > tbody > tr > td.product-total {
    width: max(25%, 112px);
    padding-right: var(--haptelle-checkout-amount-inset, 14px);
    text-align: end;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}

.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table > tfoot > tr > td {
    padding-right: var(--haptelle-checkout-amount-inset, 14px);
}

.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table > tfoot > tr > td,
.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table > tfoot #shipping_method {
    text-align: right;
}

.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table > thead > tr > th.product-total,
.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table > tfoot > tr > td {
    vertical-align: middle;
    text-align: end;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}

.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table > tbody > tr.cart_item > td.product-total {
    position: relative;
    vertical-align: bottom;
}

.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table > tbody > tr.cart_item > td.product-total:has(.haptelle-accessory-cart-item__order-cell) {
    vertical-align: top;
}

.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table .haptelle-accessory-cart-item__order-cell {
    display: block;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
}

.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table .haptelle-accessory-cart-item__order-amounts {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 4px;
    margin: calc(1.45em + 18px) 0 10px;
    color: #4b433e;
    font-size: 13px;
    line-height: 1.45;
}

.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table .haptelle-accessory-cart-item__order-cell .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}

.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table .haptelle-accessory-cart-item__order-amount {
    width: 100%;
    min-width: 0;
    text-align: end;
    white-space: nowrap;
}

.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table .haptelle-accessory-cart-item__order-amount-value {
    display: block;
    width: 100%;
    text-align: end;
}

.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table .haptelle-accessory-item-subtotal--review {
    position: absolute;
    right: var(--haptelle-checkout-amount-inset, 14px);
    bottom: 12px;
    left: 14px;
    justify-items: end;
    width: auto;
    margin: 0;
}

@media (max-width: 991px) {
    .haptelle-wc-theme .section-checkout .haptelle-checkout-layout {
        --haptelle-checkout-amount-inset: 14px;
    }

    .haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table {
        width: 100%;
    }
}

@media (max-width: 767px) {
    /* Keep the thumbnail beside the overview and give the details their own row. */
    .haptelle-wc-theme .haptelle-cart-group__item > .cart_product:has(.haptelle-custom-item__amounts),
    .haptelle-wc-theme .haptelle-checkout-layout__cart .list-order-product .order-item:has(.haptelle-custom-item__amounts) {
        display: grid;
        grid-template-columns: clamp(56px, 18vw, 80px) minmax(0, 1fr);
        align-items: start;
        column-gap: 12px;
    }

    .haptelle-wc-theme .haptelle-cart-group__item .haptelle-cart-group__product:has(.haptelle-custom-item__amounts),
    .haptelle-wc-theme :is(.haptelle-cart-group__item, .haptelle-checkout-layout__cart .order-item) .infor-prd:has(> .haptelle-custom-item__amounts) {
        display: contents;
    }

    .haptelle-wc-theme .haptelle-cart-group__item .cart_product:has(.haptelle-custom-item__amounts) .img-prd,
    .haptelle-wc-theme .haptelle-checkout-layout__cart .order-item:has(.haptelle-custom-item__amounts) > .img-prd {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .haptelle-wc-theme :is(.haptelle-cart-group__item, .haptelle-checkout-layout__cart .order-item) .infor-prd:has(> .haptelle-custom-item__amounts) > :is(.prd_name, .haptelle-custom-item__amounts) {
        grid-column: 2;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .haptelle-wc-theme :is(.haptelle-cart-group__item, .haptelle-checkout-layout__cart .order-item) .infor-prd:has(> .haptelle-custom-item__amounts) > :is(.haptelle-custom-item__details, .haptelle-checkout-sidebar-item-subtotal) {
        grid-column: 1 / -1;
        min-width: 0;
    }

    .haptelle-wc-theme .haptelle-cart-group__item > .cart_product:has(.haptelle-custom-item__amounts) {
        grid-template-columns: clamp(56px, 15vw, 80px) minmax(0, 1fr) auto;
        column-gap: 8px;
    }

    .haptelle-wc-theme .haptelle-cart-group__item .cart_product .infor-prd:has(> .haptelle-custom-item__amounts) > .haptelle-custom-item__amounts {
        grid-column: 2 / -1;
        grid-row: 2;
    }

    .haptelle-wc-theme .haptelle-cart-group__item .infor-prd:has(> .haptelle-custom-item__amounts) > .cart_remove {
        grid-area: 1 / 3;
        align-self: start;
        gap: 4px;
        padding: 5px 7px;
        min-height: 32px;
        border-radius: 6px;
        background: #faf1eb;
        color: #933c27;
    }

    .haptelle-wc-theme .haptelle-cart-group__item .infor-prd:has(> .haptelle-custom-item__amounts) > .cart_remove::before {
        position: static;
        width: 14px;
        height: 14px;
        background: currentColor;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M9 6V3h6v3M5 6l1 15h12l1-15M10 10v7m4-7v7'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .haptelle-wc-theme .haptelle-cart-group__item:has(.haptelle-custom-item__amounts) > td[data-cart-title] {
        align-items: center;
    }

    /* Match the adjacent amount column while preserving WooCommerce table semantics. */
    .haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table:has(.haptelle-custom-item__amounts) {
        --haptelle-custom-review-amount-width: 7rem;
        border-spacing: 0;
    }

    .haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table:has(.haptelle-custom-item__amounts) > thead > tr > th.product-total {
        box-sizing: border-box;
        width: var(--haptelle-custom-review-amount-width);
    }

    .haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table > tbody > tr > .product-name:has(> .haptelle-custom-item__amounts) > :is(.product-quantity, .haptelle-custom-item__amounts, .haptelle-custom-item__details) {
        width: calc(100% + var(--haptelle-custom-review-amount-width));
    }

    .haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table > tbody > tr > .product-name:has(> .haptelle-custom-item__amounts) > .product-quantity {
        display: block;
        text-align: end;
    }

    .haptelle-wc-theme .haptelle-checkout-layout .haptelle-custom-item__table-wrap > table > thead > tr > th {
        background-color: var(--haptelle-brand-warm-undertone);
    }

    .haptelle-wc-theme .haptelle-checkout-layout .haptelle-custom-item__details .haptelle-custom-item__category > th {
        background-color: var(--haptelle-brand-silk-nude);
    }

    .haptelle-wc-theme .haptelle-checkout-layout:has(.haptelle-custom-item__amounts) {
        row-gap: 24px;
    }
}

/* Custom item amounts are already listed above the configuration. */
.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table > tbody > .cart_item:has(.haptelle-custom-item__amounts) > .product-total {
    visibility: hidden;
}

.haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table > tbody > .cart_item .haptelle-custom-item__table-wrap > table > tbody:last-child > tr:last-child > :is(th, td) {
    border-bottom: 0;
}

/* Checkout displays each applied coupon as a compact disclosure. */
.haptelle-wc-theme .haptelle-coupon-state__body {
    display: grid;
    gap: 12px;
}

.haptelle-wc-theme .haptelle-coupon-states--checkout {
    width: min(51%, 680px);
    padding: 0;
    border: 0;
    background: transparent;
}

.haptelle-wc-theme .haptelle-coupon-states--checkout .haptelle-coupon-states__list {
    gap: 8px;
}

.haptelle-coupon-states--checkout .haptelle-coupon-state {
    --coupon-border: #e0cbb8;
    --coupon-ink: var(--haptelle-brand-oak-hush, #594423);
    display: block;
    padding: 0;
    border: 1px solid var(--coupon-border);
    border-radius: 12px;
    background: #fff9f2;
}

.haptelle-coupon-states--checkout .haptelle-coupon-state__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 62px;
    padding: 8px 17px;
    border-radius: 11px;
    color: var(--haptelle-text-primary, #241c18);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 650;
    list-style: none;
    cursor: pointer;
}

.haptelle-coupon-states--checkout summary::-webkit-details-marker { display: none; }
.haptelle-coupon-states--checkout summary:hover { background: #fbf2e8; }
.haptelle-coupon-states--checkout summary:focus-visible { outline: 2px solid var(--coupon-ink); outline-offset: 3px; }

.haptelle-coupon-state__summary-label,
.haptelle-coupon-state__summary-value {
    display: flex;
    align-items: center;
    gap: 12px;
}

.haptelle-coupon-state__summary-label { flex-wrap: wrap; }

.haptelle-coupon-state__summary-label .haptelle-coupon-state__code {
    min-width: 0;
    padding: 4px 8px;
    border-radius: 5px;
    background: var(--haptelle-brand-silk-nude, #f2e3d4);
    color: var(--coupon-ink);
    font-size: 12px;
    font-weight: 650;
}

.haptelle-coupon-state__summary-value .haptelle-coupon-state__amount {
    color: var(--coupon-ink);
    font-size: 16px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.haptelle-coupon-state__chevron {
    width: 7px;
    height: 7px;
    margin: -3px 3px 0;
    border: solid var(--coupon-ink);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.haptelle-coupon-states--checkout details[open] .haptelle-coupon-state__chevron {
    margin-top: 3px;
    transform: rotate(225deg);
}

.haptelle-coupon-states--checkout details:not([open]) > .haptelle-coupon-state__body { display: none; }

.haptelle-coupon-states--checkout .haptelle-coupon-state__body {
    gap: 10px;
    padding: 13px 17px 15px;
    border-top: 1px solid var(--coupon-border);
}

.haptelle-coupon-states--checkout .haptelle-coupon-state__meta dt {
    letter-spacing: normal;
    text-transform: none;
}

.haptelle-coupon-states--checkout .haptelle-coupon-state__message { font-size: 12px; }

@media (max-width: 767px) {
    .haptelle-wc-theme .haptelle-coupon-states--checkout { width: 100%; }
    .haptelle-coupon-states--checkout .haptelle-coupon-state__header,
    .haptelle-coupon-states--checkout .haptelle-coupon-state__body { padding-inline: 14px; }
    .haptelle-coupon-state__summary-label { flex-direction: column; align-items: flex-start; gap: 3px; }
    .haptelle-coupon-state__summary-label .haptelle-coupon-state__code { padding: 1px 6px; }
    .haptelle-coupon-states--checkout .haptelle-coupon-state__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
}

.haptelle-coupon-state__summary-status {
    color: #6e5a49;
    font-size: 12px;
    font-weight: 500;
}

.haptelle-wc-theme .haptelle-accessory-cart-item__mobile-unit-price {
    display: none;
}

@media (max-width: 767px) {
    /* Keep WooCommerce's review table intact and let the accessory details span its columns. */
    .haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table:has(.haptelle-accessory-cart-item__mobile-unit-price) {
        --haptelle-accessory-review-amount-width: 5.5rem;
        --haptelle-custom-review-amount-width: var(--haptelle-accessory-review-amount-width);
        border-spacing: 0;
    }

    .haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table:has(.haptelle-accessory-cart-item__mobile-unit-price) > thead > tr > .product-total {
        box-sizing: border-box;
        width: var(--haptelle-accessory-review-amount-width);
    }

    .haptelle-wc-theme .woocommerce-checkout-review-order-table > tbody > tr > .product-name:has(> .haptelle-accessory-cart-item__mobile-unit-price) {
        position: relative;
    }

    .haptelle-wc-theme .woocommerce-checkout-review-order-table > tbody > tr > .product-name:has(> .haptelle-accessory-cart-item__mobile-unit-price) > .product-quantity {
        position: absolute;
        inset-block-start: 12px;
        inset-inline-end: calc(14px - var(--haptelle-accessory-review-amount-width));
    }

    .haptelle-wc-theme .woocommerce-checkout-review-order-table > tbody > tr > .product-name:has(> .haptelle-accessory-cart-item__mobile-unit-price) > :is(
        .haptelle-accessory-cart-item__mobile-unit-price,
        .haptelle-accessory-cart-item__details,
        .haptelle-accessory-cart-item__meta,
        .haptelle-accessory-cart-item__subtotal-label
    ) {
        width: calc(100% + var(--haptelle-accessory-review-amount-width));
    }

    .haptelle-wc-theme .woocommerce-checkout-review-order-table .haptelle-accessory-cart-item__mobile-unit-price {
        display: grid;
    }

    .haptelle-wc-theme .woocommerce-checkout-review-order-table .haptelle-accessory-cart-item__mobile-unit-price dd {
        font-weight: inherit;
    }

    .haptelle-wc-theme .haptelle-checkout-layout__form .woocommerce-checkout-review-order-table:has(.haptelle-accessory-cart-item__mobile-unit-price) :is(
        .haptelle-accessory-cart-item__amounts--review-labels,
        .product-name:has(> .haptelle-accessory-cart-item__mobile-unit-price) > .haptelle-accessory-cart-item__price-note,
        .haptelle-accessory-cart-item__order-amounts
    ) {
        display: none;
    }

    .haptelle-wc-theme .woocommerce-checkout-review-order-table .haptelle-accessory-cart-item__table-wrap {
        max-width: none;
        overflow: hidden;
        border: 1px solid #e9d9cc;
        border-radius: 8px;
    }

    .haptelle-wc-theme .woocommerce-checkout-review-order-table .haptelle-accessory-cart-item__table-wrap > table > tbody > tr:last-child > :is(th, td) {
        border-bottom: 0;
    }

    .haptelle-wc-theme .woocommerce-checkout-review-order-table .haptelle-accessory-cart-item__meta {
        padding-block-start: 8px;
        border-top: 1px solid rgba(48, 36, 28, .14);
    }
}

/* Shopping-cart groups share the same product and summary edges. */
.haptelle-cart-group--warehouse .variation > .variation-Shipsfrom,
.haptelle-cart-group--warehouse .variation:not(:has(> :not(.variation-Shipsfrom))) { display: none; }
.haptelle-cart-group__pricing-note {
    margin: 4px 0 0;
    color: #62574e;
    font-size: 13px;
    text-align: right;
}
.haptelle-wc-theme .haptelle-cart-item-heading {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.haptelle-wc-theme .haptelle-cart-item-heading .prd_name {
    min-width: 0;
    align-self: center;
    overflow-wrap: anywhere;
}
.haptelle-wc-theme .haptelle-cart-item-heading .haptelle-cart-item-remove {
    position: static;
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--line, #e4ded9);
    border-radius: 8px;
    background: #fcf9f6;
    color: var(--haptelle-brand-oak-hush, #594423);
    font-size: 18px;
    text-decoration: none;
}
.haptelle-wc-theme .haptelle-cart-item-heading .haptelle-cart-item-remove:hover {
    background: #f4eae1;
}
.haptelle-wc-theme .haptelle-cart-item-heading .haptelle-cart-item-remove:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
.haptelle-wc-theme .haptelle-cart-group--dolls .haptelle-cart-group__footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}
.haptelle-wc-theme .haptelle-cart-group--dolls .haptelle-cart-group__actions {
    justify-self: end;
    width: clamp(230px, 32%, 420px);
}
.haptelle-wc-theme .haptelle-cart-group--dolls .haptelle-cart-group__amounts-total {
    margin-top: 4px;
}
.haptelle-wc-theme .haptelle-cart-group--dolls .haptelle-cart-group__amounts-total dd {
    color: var(--haptelle-brand-oak-hush, #594423);
}
.haptelle-wc-theme .haptelle-split-cart__actions-main {
    justify-content: flex-end;
}
.haptelle-wc-theme .haptelle-cart-group--custom .haptelle-custom-item__amounts {
    margin: 12px 0;
}
.haptelle-wc-theme .haptelle-cart-group--custom .haptelle-custom-item__amounts > div {
    padding: 0;
    border: 0;
    color: #514842;
    font-weight: 500;
}
.haptelle-wc-theme .haptelle-cart-group--custom .haptelle-custom-item__details summary {
    box-sizing: border-box;
    width: min(100%, 34rem);
    padding: 9px 14px;
    border-radius: 6px;
    background: #f5f2ef;
    text-decoration: none;
}
.haptelle-wc-theme .haptelle-cart-group--custom .haptelle-custom-item__details summary:hover {
    background: #efe8e1;
}
.haptelle-wc-theme .haptelle-cart-details-prices {
    display: grid;
    gap: 4px;
    margin: 12px 0 0;
}
.haptelle-wc-theme .haptelle-cart-details-prices > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.haptelle-wc-theme .haptelle-cart-details-prices :is(dt, dd) { margin: 0; }

@media (min-width: 768px) {
    .haptelle-wc-theme .haptelle-cart-group--dolls {
        --cart-thumb: clamp(78px, 7.5vw, 110px);
        --cart-gap: clamp(14px, 1.6vw, 24px);
        --cart-inset: clamp(18px, 2vw, 28px);
    }
    .haptelle-wc-theme .haptelle-cart-group--dolls .haptelle-cart-group__header,
    .haptelle-wc-theme .haptelle-cart-group--dolls .haptelle-cart-group__footer {
        padding-inline: var(--cart-inset);
    }
    .haptelle-wc-theme .haptelle-cart-group--dolls .haptelle-cart-group__table-wrap {
        container-type: inline-size;
        padding-inline: var(--cart-inset);
    }
    .haptelle-wc-theme .haptelle-cart-group--dolls .haptelle-cart-group__table {
        table-layout: fixed;
    }
    .haptelle-wc-theme .haptelle-cart-group--dolls .haptelle-cart-group__table > thead > tr > th {
        background: #f7f5f3;
    }
    .haptelle-wc-theme .haptelle-cart-group--dolls .haptelle-cart-group__table > thead > tr > th:first-child {
        width: auto;
        border-radius: 6px 0 0 0;
        box-shadow: -8px 0 #f7f5f3;
    }
    .haptelle-wc-theme .haptelle-cart-group--dolls .haptelle-cart-group__table > thead > tr > th:last-child {
        border-radius: 0 6px 0 0;
        box-shadow: 8px 0 #f7f5f3;
    }
    .haptelle-wc-theme .haptelle-cart-group--dolls .haptelle-cart-group__table > thead > tr > :nth-child(2),
    .haptelle-wc-theme .haptelle-cart-group--dolls .haptelle-cart-group__table > thead > tr > :nth-child(4) {
        width: clamp(105px, 11vw, 170px);
    }
    .haptelle-wc-theme .haptelle-cart-group--dolls .haptelle-cart-group__table > thead > tr > :nth-child(3) {
        width: clamp(110px, 12vw, 172px);
    }
    .haptelle-wc-theme .haptelle-cart-group--dolls .haptelle-cart-group__product { gap: var(--cart-gap); }
    .haptelle-wc-theme .haptelle-cart-group--dolls .img-prd { flex-basis: var(--cart-thumb); }
    .haptelle-wc-theme .haptelle-cart-group--dolls .wg-quantity {
        box-sizing: border-box;
        width: min(100%, 108px);
        height: 38px;
        min-height: 38px;
        padding: 0 4px;
    }
    .haptelle-wc-theme .haptelle-cart-group--dolls .wg-quantity > * { min-width: 0; }
    .haptelle-wc-theme .haptelle-cart-group--custom .haptelle-custom-item__amounts {
        width: calc(100cqi - var(--cart-thumb) - var(--cart-gap));
    }
    .haptelle-wc-theme .haptelle-cart-group--custom .haptelle-custom-item__table-wrap {
        width: calc(100cqi - 2 * (var(--cart-thumb) + var(--cart-gap)));
        max-width: none;
    }
}

@media (max-width: 767px) {
    .haptelle-wc-theme .haptelle-cart-group--dolls .haptelle-cart-group__actions { width: 100%; }
    .haptelle-wc-theme .haptelle-cart-group--custom .haptelle-cart-item-heading { grid-area: 1 / 2 / 2 / -1; }
    .haptelle-wc-theme .haptelle-cart-group .haptelle-cart-item-heading { gap: 6px; }
    .haptelle-wc-theme .haptelle-cart-group .haptelle-cart-item-remove {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }
}
