/* Checkout, cart and order-received adapter. Every selector is component-scoped. */
body.lv-checkout-active {
    color: var(--ink);
    background: #fff;
}

body.lv-checkout-active .site-content {
    padding-top: 0;
}

body.lv-checkout-active .site-content,
body.lv-checkout-active .site-content .woocommerce,
body.lv-checkout-active .site-content .entry-content {
    margin-top: 0;
    margin-bottom: 0;
}

body.lv-checkout-active .site-content > .container,
body.lv-checkout-active .site-content .container,
body.lv-checkout-active .site-content .martfury-container {
    width: min(calc(100% - 48px), var(--container));
    max-width: var(--container);
}

body.lv-checkout-active .site-content > .container {
    margin-top: 0;
}

body.lv-checkout-active .page-header,
body.lv-checkout-active .entry-header > .entry-title {
    display: none;
}

.lv-checkout-container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
}

.lv-checkout-header {
    min-height: 64px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.lv-checkout-header__inner,
.lv-checkout-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: 24px;
}

.lv-checkout-logo {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--green);
    font: 700 24px/1 Outfit, "Trebuchet MS", sans-serif;
}

.lv-checkout-logo img {
    width: auto;
    max-width: 145px;
    max-height: 38px;
}

.lv-checkout-header__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: 14px;
}

.lv-checkout-secure,
.lv-checkout-payment-security {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lv-checkout-lock-icon {
    flex: 0 0 auto;
    color: var(--green);
}

.lv-checkout-secure::before {
    display: none;
}

.lv-checkout-header__actions a,
.lv-checkout-footer a {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lv-checkout-secure::before {
    content: "⌑";
    margin-right: 7px;
    color: var(--green);
}

.lv-checkout-footer {
    margin-top: 64px;
    border-top: 1px solid var(--line);
    background: var(--warm);
    color: var(--muted);
    font-size: 13px;
}

.lv-checkout-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.lv-checkout-footer p {
    margin: 0;
}

.lv-checkout-page {
    padding-top: 36px;
}

.lv-checkout-page > h1,
.lv-cart-page > h1 {
    margin: 0 0 24px;
    color: var(--ink);
    font: 700 32px/1.2 Outfit, "Trebuchet MS", sans-serif;
}

.lv-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    grid-template-areas: "details summary";
    align-items: start;
    gap: 48px;
}

.lv-checkout-details {
    grid-area: details;
    min-width: 0;
}

.lv-checkout-summary {
    grid-area: summary;
    position: sticky;
    top: 24px;
    z-index: 2;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.lv-checkout-summary__heading,
.lv-checkout-section__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.lv-checkout-section__heading {
    margin-bottom: 18px;
}

.lv-checkout-section__heading .lv-checkout-section-title {
    margin-bottom: 0;
}

.lv-checkout-summary__heading h2 {
    margin: 0;
    font-size: 20px;
}

.lv-checkout-summary__heading a,
.lv-checkout-section__heading a,
.lv-field-disclosure,
.lv-checkout-coupon-link {
    color: var(--green);
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lv-checkout-summary__heading [data-summary-toggle] {
    display: none;
}

.lv-checkout-section {
    margin-bottom: 36px;
}

.lv-checkout-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--ink);
    font: 600 20px/1.25 Outfit, "Trebuchet MS", sans-serif;
}

.lv-checkout-section-title > span {
    display: inline-grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 999px;
    color: var(--green);
    background: #edf7eb;
    font-size: 14px;
}

.lv-checkout-section-title--review {
    margin-top: 26px;
}

body.lv-checkout-active .woocommerce form .form-row {
    margin: 0 0 16px;
    padding: 0;
}

body.lv-checkout-active .woocommerce form .form-row label {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
    font-weight: 600;
}

body.lv-checkout-active .woocommerce form .form-row .optional {
    color: var(--muted);
    font-weight: 400;
}

body.lv-checkout-active .woocommerce form .form-row input.input-text,
body.lv-checkout-active .woocommerce form .form-row textarea,
body.lv-checkout-active .woocommerce form .form-row select,
body.lv-checkout-active .select2-container .select2-selection {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #cfd8cc;
    border-radius: 7px;
    color: var(--ink);
    background: #fff;
    box-shadow: none;
    font-size: 16px;
    line-height: 1.4;
}

body.lv-checkout-active .woocommerce form .form-row textarea {
    min-height: 112px;
    resize: vertical;
}

body.lv-checkout-active .woocommerce form .form-row input:focus-visible,
body.lv-checkout-active .woocommerce form .form-row textarea:focus-visible,
body.lv-checkout-active .woocommerce form .form-row select:focus-visible,
body.lv-checkout-active button:focus-visible,
body.lv-checkout-active a:focus-visible,
body.lv-checkout-active summary:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 3px;
}

body.lv-checkout-active .woocommerce form .form-row .woocommerce-input-wrapper .description {
    display: block;
    position: static;
    clear: none;
    margin-top: 5px;
    padding: 0;
    border-radius: 0;
    color: var(--muted);
    background: transparent;
    font-size: 13px;
}

body.lv-checkout-active .woocommerce form .form-row .woocommerce-input-wrapper .description::before {
    display: none;
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
    display: flow-root;
}

.woocommerce-billing-fields__field-wrapper .form-row-first {
    float: left;
    width: 30%;
}

.woocommerce-billing-fields__field-wrapper .form-row-last {
    float: right;
    width: calc(70% - 12px);
}

.woocommerce-billing-fields__field-wrapper .form-row-wide {
    clear: both;
    width: 100%;
}

.lv-field-disclosure,
.lv-checkout-coupon-link {
    min-height: 44px;
    margin: -4px 0 8px;
    padding: 8px 0;
    border: 0;
    background: transparent;
}

.lv-field-disclosure {
    display: block;
    clear: both;
    width: 100%;
    text-align: left;
}

.lv-company-toggle,
.mailchimp-newsletter,
#ship-to-different-address {
    clear: both;
    padding-top: 6px;
}

body.lv-checkout-active .mailchimp-newsletter .optional {
    display: none;
}

.lv-company-toggle label,
.mailchimp-newsletter label,
#ship-to-different-address label,
.woocommerce-terms-and-conditions-checkbox-text {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
}

body.lv-checkout-active input[type="checkbox"],
body.lv-checkout-active input[type="radio"] {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--green);
}

.lv-field-error {
    display: block;
    margin-top: 4px;
    color: #b42318;
    font-size: 13px;
    font-weight: 600;
}

body.lv-checkout-active .woocommerce form .lv-field-invalid input.input-text,
body.lv-checkout-active .woocommerce form .woocommerce-invalid input.input-text {
    border: 2px solid #b42318;
}

body.lv-checkout-active .woocommerce form .lv-field-valid input.input-text {
    border-color: var(--green);
}

.woocommerce-shipping-fields,
.woocommerce-additional-fields {
    margin-top: 8px;
}

#ship-to-different-address {
    margin: 0 0 12px;
    font: 400 16px/1.5 "Source Sans 3", "Segoe UI", sans-serif;
}

.woocommerce-additional-fields > h3,
.woocommerce-shipping-fields > h3:not(#ship-to-different-address) {
    display: none;
}

.lv-checkout-payment-wrap {
    margin-top: 34px;
}

.lv-checkout-payment-wrap #payment {
    padding: 0;
    border: 0;
    background: #fff;
}

.lv-checkout-payment-panel {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--warm);
}

body.lv-checkout-active #payment ul.payment_methods {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

body.lv-checkout-active #payment ul.payment_methods > li {
    position: relative;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    background: transparent;
}

body.lv-checkout-active #payment ul.payment_methods > li > input.input-radio {
    position: absolute;
    z-index: 2;
    top: 23px;
    left: 28px;
    margin: 0;
}

body.lv-checkout-active #payment ul.payment_methods li > label {
    display: grid;
    min-height: 76px;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 13px 16px 13px 48px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--ink);
    background: #fff;
    font-family: Outfit, "Trebuchet MS", sans-serif;
    font-weight: 700;
}

body.lv-checkout-active #payment ul.payment_methods > li:has(input:checked) > label {
    border: 2px solid var(--green);
    padding: 12px 15px 12px 47px;
}

.lv-payment-method-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.lv-payment-method-title {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.3;
}

.lv-payment-method-detail {
    color: var(--muted);
    font: 400 12px/1.35 "Source Sans 3", "Segoe UI", sans-serif;
}

.lv-payment-method-badge {
    white-space: nowrap;
    color: var(--green);
    font: 700 13px/1 Outfit, "Trebuchet MS", sans-serif;
}

body.lv-checkout-active #payment div.payment_box {
    margin: 10px 0 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--ink);
    background: #fff;
}

body.lv-checkout-active #payment div.payment_box::before {
    display: none;
}

.lv-checkout-payment-security,
.lv-checkout-marketplace-notice {
    margin: 12px 0;
    color: var(--muted);
    font-size: 13px;
}

.lv-checkout-payment-security::before {
    display: none;
}

.lv-checkout-payment-security {
    justify-content: flex-start;
    margin: 4px 0 0;
    padding: 12px 2px 0;
    border-top: 1px solid var(--line);
    line-height: 1.35;
}

.lv-checkout-payment-security[data-payment-security-source] {
    display: none;
}

.lv-checkout-payment-security > span:not(.lv-payment-brands) {
    flex: 1 1 auto;
}

.lv-payment-brands {
    display: flex;
    flex: 0 0 auto;
    gap: 6px;
    margin-left: auto;
}

.lv-payment-brands > span {
    padding: 4px 6px;
    border: 1px solid var(--line);
    border-radius: 5px;
    color: var(--muted);
    background: #fff;
    font: 700 9px/1 "Source Sans 3", "Segoe UI", sans-serif;
}

body.lv-checkout-active #payment .place-order {
    padding: 0;
}

body.lv-checkout-active #payment .woocommerce-terms-and-conditions-wrapper {
    margin-top: 26px;
}

body.lv-checkout-active #payment #place_order,
.lv-checkout-mobile-bar button,
.lv-cart-page .checkout-button {
    display: flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    padding: 10px 18px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: var(--green);
    font: 700 17px/1.2 Outfit, "Trebuchet MS", sans-serif;
    text-align: center;
}

body.lv-checkout-active #payment #place_order:hover,
.lv-checkout-mobile-bar button:hover,
.lv-cart-page .checkout-button:hover {
    color: #fff;
    background: var(--green-dark);
}

body.lv-checkout-active #payment #place_order small,
.lv-checkout-mobile-bar button small {
    color: inherit;
    font: 400 13px/1.2 "Source Sans 3", "Segoe UI", sans-serif;
    opacity: .88;
}

.lv-checkout-trust,
.lv-cart-trust {
    display: grid;
    gap: 7px;
    margin: 14px 0 0;
    padding: 0;
    color: var(--muted);
    font-size: 13px;
    list-style: none;
}

.lv-checkout-trust li::before,
.lv-cart-trust li::before {
    content: "✓";
    margin-right: 8px;
    color: var(--green);
    font-weight: 700;
}

body.lv-checkout-active .woocommerce .lv-checkout-summary #order_review,
body.lv-checkout-active .woocommerce .lv-checkout-summary .woocommerce-checkout-review-order,
body.lv-checkout-active .woocommerce .lv-checkout-summary .woocommerce-checkout-review-order-table {
    width: 100%;
    padding: 0;
    margin: 16px 0 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.lv-checkout-active .woocommerce .lv-checkout-summary #order_review,
body.lv-checkout-active .woocommerce .lv-checkout-summary .woocommerce-checkout-review-order {
    margin: 0;
}

body.lv-checkout-active .woocommerce .lv-checkout-summary .woocommerce-checkout-review-order-table {
    border-collapse: collapse;
}

body.lv-checkout-active .woocommerce .lv-checkout-summary .woocommerce-checkout-review-order-table tr,
body.lv-checkout-active .woocommerce .lv-checkout-summary .woocommerce-checkout-review-order-table td,
body.lv-checkout-active .woocommerce .lv-checkout-summary .woocommerce-checkout-review-order-table th {
    border: 0;
    background: transparent;
}

.woocommerce-checkout-review-order-table tbody td {
    padding: 10px 0;
    vertical-align: middle;
}

.woocommerce-checkout-review-order-table tbody tr.cart_item {
    height: 88px;
}

.woocommerce-checkout-review-order-table tbody .product-name {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
}

.lv-checkout-product-image img {
    width: 58px;
    height: 58px;
    border: 1px solid var(--line);
    border-radius: 7px;
    object-fit: cover;
}

.lv-checkout-product-copy {
    display: grid;
    gap: 3px;
}

.lv-checkout-product-copy strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.lv-checkout-product-copy small {
    color: var(--muted);
    font-size: 12px;
}

.woocommerce-checkout-review-order-table tbody .product-total {
    width: 92px;
    padding-left: 8px;
    color: var(--ink);
    font-weight: 700;
    text-align: right;
}

body.lv-checkout-active .woocommerce .lv-checkout-summary .woocommerce-checkout-review-order-table tfoot {
    border-top: 1px solid var(--line);
}

.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
    padding: 8px 0;
    color: var(--ink);
    font-weight: 400;
    text-align: left;
}

.woocommerce-checkout-review-order-table tfoot td {
    text-align: right;
}

body.lv-checkout-active .woocommerce .lv-checkout-summary .woocommerce-checkout-review-order-table tfoot .cart-subtotal th,
body.lv-checkout-active .woocommerce .lv-checkout-summary .woocommerce-checkout-review-order-table tfoot .cart-subtotal td {
    padding-top: 16px;
}

body.lv-checkout-active .woocommerce .lv-checkout-summary .woocommerce-checkout-review-order-table tfoot .woocommerce-shipping-totals th,
body.lv-checkout-active .woocommerce .lv-checkout-summary .woocommerce-checkout-review-order-table tfoot .woocommerce-shipping-totals td {
    height: 62px;
    padding-block: 10px;
    border: 0;
    vertical-align: middle;
}

body.lv-checkout-active .woocommerce .lv-checkout-summary .woocommerce-checkout-review-order-table .lv-checkout-cod-fee-row th,
body.lv-checkout-active .woocommerce .lv-checkout-summary .woocommerce-checkout-review-order-table .lv-checkout-cod-fee-row td {
    padding: 10px;
    background: #edf7eb;
}

body.lv-checkout-active .woocommerce .lv-checkout-summary .woocommerce-checkout-review-order-table .lv-checkout-cod-fee-row th {
    border-radius: 6px 0 0 6px;
}

body.lv-checkout-active .woocommerce .lv-checkout-summary .woocommerce-checkout-review-order-table .lv-checkout-cod-fee-row td {
    border-radius: 0 6px 6px 0;
}

.woocommerce-checkout-review-order-table tfoot .order-total {
    border-top: 1px solid var(--line);
}

.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
    padding-top: 16px;
    font: 700 22px/1.25 Outfit, "Trebuchet MS", sans-serif;
}

.woocommerce-checkout-review-order-table tfoot .order-total th {
    width: 56%;
    white-space: nowrap;
}

.woocommerce-checkout-review-order-table tfoot .order-total td {
    width: 44%;
    white-space: nowrap;
}

.woocommerce-checkout-review-order-table tfoot .order-total .amount {
    display: inline-block;
    white-space: nowrap;
}

body.lv-checkout-active .woocommerce-checkout-review-order-table .order-total .amount,
body.lv-checkout-active .cart_totals .order-total .amount,
body.lv-checkout-active .woocommerce .lv-checkout-summary .amount,
body.lv-checkout-active .woocommerce .lv-checkout-summary .woocommerce-Price-amount {
    color: var(--ink);
}

body.lv-checkout-active .woocommerce-checkout-review-order-table .includes_tax,
body.lv-checkout-active .cart_totals .includes_tax,
body.lv-checkout-active .woocommerce-shipping-contents,
body.lv-checkout-active .woocommerce-shipping-destination,
body.lv-checkout-active .shipping-calculator-button {
    display: none;
}

.lv-shipping-arrival,
.lv-cart-seller__shipping small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
}

.woocommerce-checkout-review-order-table .order-total th small,
.cart_totals .order-total th small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font: 400 12px/1.3 "Source Sans 3", "Segoe UI", sans-serif;
}

body.lv-checkout-active form.checkout_coupon {
    width: min(calc(100% - 48px), var(--container));
    margin: 16px auto;
}

body.lv-checkout-active .woocommerce-form-login-toggle,
body.lv-checkout-active .woocommerce-form-coupon-toggle {
    display: none;
}

body.lv-checkout-active form.checkout_coupon {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
}

body.lv-checkout-active form.checkout_coupon > p:first-child {
    display: none;
}

body.lv-checkout-active .lv-checkout-summary form.checkout_coupon {
    width: 100%;
    margin: 12px 0 0;
}

.lv-checkout-mobile-bar {
    display: none;
}

body.lv-checkout-updating .lv-checkout-summary,
body.lv-checkout-updating .lv-checkout-payment-wrap {
    position: relative;
    opacity: .65;
    pointer-events: none;
}

body.lv-checkout-updating .lv-checkout-summary::after,
body.lv-checkout-updating .lv-checkout-payment-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    border: 3px solid var(--line);
    border-top-color: var(--green);
    border-radius: 999px;
    animation: lv-checkout-spin .7s linear infinite;
}

@keyframes lv-checkout-spin {
    to { transform: rotate(360deg); }
}

body.lv-checkout-active .blockUI.blockOverlay {
    border-radius: 10px;
    background: rgba(245, 247, 242, .72);
    opacity: 1;
}

body.lv-checkout-submitting #place_order {
    cursor: wait;
    opacity: .72;
    pointer-events: none;
}

/* Cart */
.lv-cart-page {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 36px 0 64px;
}

.lv-cart-marketplace-note {
    margin: 0 0 24px;
    padding: 18px 20px;
    border-left: 4px solid var(--green);
    border-radius: 0 10px 10px 0;
    background: var(--warm);
}

.lv-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 32px;
}

.lv-cart-main {
    min-width: 0;
}

.lv-cart-sellers {
    display: grid;
    gap: 24px;
}

.lv-cart-seller {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.lv-cart-seller__header,
.lv-cart-seller__shipping {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 18px 20px;
}

.lv-cart-seller__header {
    border-bottom: 1px solid var(--line);
}

.lv-cart-seller__header h2 {
    margin: 0;
    font-size: 18px;
}

.lv-cart-seller__header h2 small {
    color: var(--muted);
    font: 400 14px/1.4 "Source Sans 3", "Segoe UI", sans-serif;
}

.lv-cart-seller__header a {
    color: var(--green);
    font-size: 14px;
    text-decoration: underline;
}

.lv-cart-seller table.shop_table {
    width: 100%;
    margin: 0;
    border: 0;
    table-layout: fixed;
}

.lv-cart-seller table.shop_table td {
    padding: 18px 10px;
    border: 0;
    vertical-align: middle;
}

.lv-cart-seller table.shop_table td:first-child {
    padding-left: 20px;
}

.lv-cart-seller table.shop_table td:last-child {
    padding-right: 20px;
}

.lv-cart-seller .product-thumbnail {
    width: 92px;
}

.lv-cart-seller .product-thumbnail img {
    width: 76px;
    height: 76px;
    border: 1px solid var(--line);
    border-radius: 8px;
    object-fit: cover;
}

.lv-cart-seller .product-name {
    width: auto;
    font-size: 16px;
}

.lv-cart-seller .product-price {
    width: 86px;
    color: var(--muted);
    font-size: 13px;
    text-align: right;
    white-space: nowrap;
}

.lv-cart-seller .product-price small {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.lv-cart-seller .product-subtotal {
    width: 118px;
    font: 700 18px/1.2 Outfit, "Trebuchet MS", sans-serif;
    white-space: nowrap;
}

.lv-cart-seller .product-quantity {
    width: 126px;
}

.lv-cart-seller .quantity {
    display: flex;
    align-items: center;
}

.lv-cart-seller .quantity > .label {
    display: none;
}

.lv-cart-seller .quantity .qty-box {
    display: inline-flex;
    overflow: hidden;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
}

.lv-cart-seller .quantity .decrease,
.lv-cart-seller .quantity .increase {
    display: inline-grid;
    width: 38px;
    min-height: 44px;
    place-items: center;
    cursor: pointer;
}

.lv-cart-seller .quantity input.qty {
    display: block;
    width: 42px;
    min-width: 42px;
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    color: var(--ink);
    background: #fff;
    font-size: 16px;
    text-align: center;
    opacity: 1;
    visibility: visible;
}

.lv-cart-seller .product-remove {
    width: 52px;
    text-align: center;
}

.lv-cart-seller .product-remove a.remove {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 22px;
}

.lv-cart-seller__shipping {
    border-top: 1px solid var(--line);
    background: var(--warm);
}

.lv-cart-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 18px 0;
}

.lv-cart-actions .btn-shop,
.lv-cart-actions .btn-update {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 9px 18px;
    border: 1px solid var(--green);
    border-radius: 7px;
    color: var(--green);
    background: #fff;
}

.lv-cart-actions .btn-update.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.lv-cart-coupon {
    margin: 18px 0 30px;
    color: var(--green);
}

.lv-cart-coupon summary {
    min-height: 44px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lv-cart-coupon .coupon {
    display: flex;
    max-width: 440px;
    gap: 10px;
}

.lv-cart-coupon input {
    min-width: 0;
    flex: 1;
    font-size: 16px;
}

.lv-cart-page .cart-collaterals {
    position: sticky;
    top: 24px;
    display: block;
    width: 100%;
    min-width: 0;
}

.lv-cart-page .cart_totals {
    width: 100%;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.lv-cart-page .cart_totals h2 {
    display: block;
    margin: 0 0 14px;
    font-size: 22px;
}

body.lv-checkout-active .lv-cart-page .cart_totals table.shop_table {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.lv-cart-page .cart_totals th,
.lv-cart-page .cart_totals td {
    padding: 8px 0;
    border: 0;
}

.lv-cart-page .cart_totals td {
    text-align: right;
}

.lv-cart-page .cart_totals .order-total {
    border-top: 1px solid var(--line);
}

.lv-cart-page .cart_totals .order-total th,
.lv-cart-page .cart_totals .order-total td {
    padding-top: 16px;
    font-size: 22px;
}

/* Parent-theme cart rules are more specific; keep this repair scoped to cart. */
@media (min-width: 768px) {
    .woocommerce-cart .woocommerce .lv-cart-seller table.shop_table tr.cart_item {
        height: 126px;
    }

    .woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td,
    .woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td.product-name,
    .woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td.product-price,
    .woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td.product-quantity,
    .woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td.product-subtotal,
    .woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td.product-remove,
    .woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td.product-thumbnail {
        padding-top: 18px;
        padding-bottom: 18px;
        vertical-align: middle;
    }

    .woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td.product-thumbnail {
        width: 92px;
        padding-left: 20px;
    }

    .woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td.product-name {
        width: auto;
        padding-right: 18px;
    }

    .woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td.product-quantity {
        width: 126px;
        text-align: center;
    }

    .woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td.product-price {
        width: 88px;
    }

    .woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td.product-subtotal {
        width: 112px;
    }

    .woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td.product-remove {
        width: 52px;
        padding-right: 20px;
    }
}

@media (min-width: 1280px) {
    .woocommerce-cart .woocommerce .lv-cart-seller table.shop_table tr.cart_item {
        display: grid;
        grid-template-columns: 92px minmax(260px, 360px) 126px 94px 136px 52px;
        align-items: center;
        justify-content: space-between;
    }

    .woocommerce-cart .woocommerce .lv-cart-seller table.shop_table tr.cart_item > td {
        width: auto;
    }

    .woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td.product-quantity {
        justify-self: center;
    }

    .woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td.product-subtotal {
        justify-self: end;
        font-size: 20px;
        text-align: right;
    }
}

.woocommerce-cart .woocommerce .lv-cart-seller .lv-cart-product-title {
    display: -webkit-box;
    overflow: hidden;
    max-height: 2.5em;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.woocommerce-cart .woocommerce .lv-cart-seller .lv-cart-product-title > a {
    color: var(--ink);
    font-size: 16px;
    line-height: inherit;
}

.woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td .quantity {
    display: flex;
    width: auto;
    justify-content: center;
    border: 0;
    line-height: normal;
}

.woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td .quantity .qty-box {
    display: inline-flex;
    overflow: hidden;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
}

.woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td .quantity .decrease,
.woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td .quantity .increase {
    position: static;
    display: inline-grid;
    width: 36px;
    min-height: 44px;
    transform: none;
    place-items: center;
}

.woocommerce-cart .woocommerce .lv-cart-seller table.shop_table td .quantity input.qty {
    width: 38px;
    min-width: 38px;
    min-height: 44px;
    margin: 0;
    padding: 0 3px;
}

.woocommerce-cart .woocommerce .lv-cart-coupon {
    display: block;
    width: min(100%, 440px);
    clear: both;
}

.woocommerce-cart .woocommerce .lv-cart-coupon .coupon {
    display: grid;
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin: 10px 0 0;
}

.woocommerce-cart .woocommerce .lv-cart-coupon .coupon label.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.woocommerce-cart .woocommerce .lv-cart-coupon .coupon .input-text {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 12px 14px;
}

.woocommerce-cart .woocommerce .lv-cart-coupon .coupon .button {
    width: auto;
    margin: 0;
    border-color: var(--green);
    color: #fff;
    background: var(--green);
}

.woocommerce-cart .woocommerce .lv-cart-page .cart-collaterals .cart_totals > h2 {
    display: block;
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 24px;
}

.woocommerce-cart .woocommerce .lv-cart-page .cart-collaterals .cart_totals table.shop_table {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.woocommerce-cart .woocommerce .lv-cart-page .cart-collaterals .cart_totals table.shop_table th,
.woocommerce-cart .woocommerce .lv-cart-page .cart-collaterals .cart_totals table.shop_table td {
    padding: 10px 0;
    border-top: 0;
    color: var(--ink);
}

.woocommerce-cart .woocommerce .lv-cart-page .cart-collaterals .cart_totals table.shop_table .order-total th,
.woocommerce-cart .woocommerce .lv-cart-page .cart-collaterals .cart_totals table.shop_table .order-total td {
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 24px;
    font-weight: 700;
}

.woocommerce-cart .woocommerce .lv-cart-page .cart-collaterals .cart_totals table.shop_table .order-total .woocommerce-Price-amount {
    color: var(--ink);
    font-size: 26px;
    font-weight: 700;
}

/* Order received */
.lv-thankyou {
    width: min(calc(100% - 48px), 760px);
    margin: 0 auto;
    padding: 48px 0 64px;
}

.lv-thankyou__hero {
    display: grid;
    justify-items: center;
    gap: 12px;
    text-align: center;
}

.lv-thankyou__hero h1,
.lv-thankyou__hero p {
    margin: 0;
}

.lv-thankyou__check {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: var(--green);
    font-size: 24px;
}

.lv-thankyou__timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 40px 0 28px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.lv-thankyou__timeline > div {
    display: grid;
    justify-items: center;
    gap: 6px;
    color: var(--muted);
    text-align: center;
}

.lv-thankyou__timeline > div > span {
    width: 22px;
    height: 22px;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.lv-thankyou__timeline .is-complete > span {
    display: grid;
    place-items: center;
    border-color: var(--green);
    color: #fff;
    background: var(--green);
}

.lv-thankyou__timeline strong,
.lv-thankyou__package h2 {
    color: var(--ink);
    font-family: Outfit, "Trebuchet MS", sans-serif;
}

.lv-thankyou__timeline small,
.lv-thankyou__item small {
    color: var(--muted);
}

.lv-thankyou__packages {
    display: grid;
    gap: 14px;
}

.lv-thankyou__package {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.lv-thankyou__package > header,
.lv-thankyou__shipping {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.lv-thankyou__package h2 {
    margin: 0;
    font-size: 19px;
}

.lv-thankyou__package > header > span {
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--green-dark);
    background: #edf7eb;
    font-weight: 700;
}

.lv-thankyou__item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.lv-thankyou__item img {
    width: 64px;
    height: 64px;
    border: 1px solid var(--line);
    border-radius: 7px;
    object-fit: contain;
}

.lv-thankyou__item p,
.lv-thankyou__item small {
    display: grid;
    margin: 0;
}

.lv-thankyou__shipping {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.lv-thankyou__invoice {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.lv-thankyou .woocommerce-order-overview {
    margin-top: 28px;
}

@media (max-width: 767px) {
    body.lv-checkout-active .site-content > .container,
    body.lv-checkout-active .site-content .container,
    body.lv-checkout-active .site-content .martfury-container,
    .lv-checkout-container,
    .lv-cart-page,
    body.lv-checkout-active form.checkout_coupon {
        width: min(calc(100% - 32px), var(--container));
    }

    body.lv-checkout-active .lv-checkout-summary form.checkout_coupon {
        width: 100%;
    }

    .lv-checkout-header__inner {
        min-height: 72px;
    }

    .lv-checkout-secure {
        display: none;
    }

    .lv-checkout-footer__inner {
        align-items: flex-start;
        flex-direction: column;
        padding-block: 22px;
    }

    .lv-checkout-page {
        width: 100%;
        padding-top: 0;
    }

    .lv-checkout-page > h1 {
        width: calc(100% - 32px);
        margin: 30px auto 24px;
        font-size: 30px;
    }

    .lv-checkout-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "summary" "details";
        gap: 28px;
    }

    .lv-checkout-summary {
        position: static;
        padding: 18px 16px;
        border-inline: 0;
        border-radius: 0;
        background: var(--warm);
    }

    .lv-checkout-summary__heading [data-summary-toggle] {
        display: inline-grid;
        width: 44px;
        height: 44px;
        place-items: center;
        border: 0;
        color: var(--green);
        background: transparent;
        font-size: 22px;
    }

    .lv-checkout-summary:not(.is-open) #order_review > :not(.woocommerce-checkout-review-order-table),
    .lv-checkout-summary:not(.is-open) .woocommerce-checkout-review-order-table tbody,
    .lv-checkout-summary:not(.is-open) .woocommerce-checkout-review-order-table tfoot tr:not(.order-total),
    .lv-checkout-summary:not(.is-open) .lv-checkout-coupon-link,
    .lv-checkout-summary:not(.is-open) .lv-checkout-summary__heading a {
        display: none;
    }

    .lv-checkout-summary:not(.is-open) .woocommerce-checkout-review-order-table {
        display: block;
        margin: 0;
    }

    .lv-checkout-summary:not(.is-open) .woocommerce-checkout-review-order-table tfoot,
    .lv-checkout-summary:not(.is-open) .woocommerce-checkout-review-order-table .order-total {
        display: block;
        border: 0;
    }

    .lv-checkout-summary:not(.is-open) .woocommerce-checkout-review-order-table .order-total th {
        display: none;
    }

    .lv-checkout-summary:not(.is-open) .woocommerce-checkout-review-order-table .order-total td {
        display: block;
        padding: 0;
        text-align: left;
    }

    .lv-checkout-details {
        width: calc(100% - 32px);
        margin-inline: auto;
    }

    .lv-checkout-section-title {
        font-size: 20px;
    }

    .woocommerce-billing-fields__field-wrapper .form-row-first {
        width: 35%;
    }

    .woocommerce-billing-fields__field-wrapper .form-row-last {
        width: calc(65% - 10px);
    }

    body.lv-checkout-active .woocommerce form .form-row input.input-text,
    body.lv-checkout-active .woocommerce form .form-row textarea,
    body.lv-checkout-active .woocommerce form .form-row select,
    body.lv-checkout-active .select2-container .select2-selection {
        min-height: 52px;
        font-size: 16px;
    }

    .lv-checkout-mobile-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 10010;
        display: grid;
        grid-template-columns: minmax(0, .85fr) minmax(180px, 1.4fr);
        align-items: center;
        gap: 10px;
        padding: 10px 16px max(10px, env(safe-area-inset-bottom));
        border-top: 1px solid var(--line);
        background: #fff;
        box-shadow: 0 -8px 24px rgba(18, 32, 26, .1);
    }

    .lv-checkout-mobile-bar[hidden] {
        display: none;
    }

    .lv-checkout-mobile-bar > span {
        display: grid;
        color: var(--ink);
    }

    .lv-checkout-mobile-bar > span strong {
        font: 700 18px/1.1 Outfit, "Trebuchet MS", sans-serif;
    }

    .lv-checkout-mobile-bar > span small {
        color: var(--muted);
        font-size: 11px;
    }

    .lv-checkout-mobile-bar button {
        min-height: 52px;
        font-size: 15px;
    }

    body.lv-checkout-slim-shell {
        padding-bottom: 82px;
    }

    .lv-cart-page {
        padding-top: 28px;
    }

    .lv-cart-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .lv-cart-page > h1 {
        font-size: 30px;
    }

    .lv-cart-seller__header,
    .lv-cart-seller__shipping {
        align-items: flex-start;
        flex-direction: column;
    }

    .lv-cart-seller table.shop_table tr {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr) 44px;
        gap: 10px;
        padding: 16px;
    }

    .lv-cart-seller table.shop_table td,
    .lv-cart-seller table.shop_table td:first-child,
    .lv-cart-seller table.shop_table td:last-child {
        width: auto;
        padding: 0;
        text-align: left;
    }

    .lv-cart-seller .product-thumbnail {
        grid-row: 1 / span 3;
    }

    .lv-cart-seller .product-thumbnail img {
        width: 72px;
        height: 72px;
    }

    .lv-cart-seller .product-name {
        grid-column: 2;
    }

    .lv-cart-seller .product-price {
        display: block;
        grid-column: 2;
        width: auto;
        text-align: left;
    }

    .lv-cart-seller .product-quantity {
        grid-column: 2;
    }

    .lv-cart-seller .product-subtotal {
        grid-column: 2;
    }

    .lv-cart-seller .product-remove {
        grid-column: 3;
        grid-row: 1;
    }

    .lv-cart-actions,
    .lv-cart-coupon .coupon {
        align-items: stretch;
        flex-direction: column;
    }

    .lv-cart-page .cart-collaterals,
    .lv-cart-page .cart_totals {
        position: static;
        width: 100%;
    }

    .lv-thankyou {
        width: calc(100% - 32px);
        padding-top: 34px;
    }

    .lv-thankyou__timeline {
        grid-template-columns: 1fr;
    }

    .lv-thankyou__timeline > div {
        grid-template-columns: 24px 1fr;
        justify-items: start;
        text-align: left;
    }

    .lv-thankyou__timeline > div > span {
        grid-row: 1 / span 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.lv-checkout-active *,
    body.lv-checkout-active *::before,
    body.lv-checkout-active *::after {
        scroll-behavior: auto;
        transition-duration: .01ms;
        animation-duration: .01ms;
        animation-iteration-count: 1;
    }
}
