/*
 * WooCommerce cart page.
 *
 * All colors and typography inherit from the ACF-driven theme properties.
 */

.restaurant-cart-page {
    color: var(--theme-text-color);
    background: var(--theme-surface-color);
}

.restaurant-cart-page .restaurant-cart-hero {
    position: relative;
    padding: 150px 0 78px;
    overflow: hidden;
    background: var(--theme-light-color);
    border-bottom: 1px solid var(--theme-border-color);
}

.restaurant-cart-hero::before,
.restaurant-cart-hero::after {
    content: "";
    position: absolute;
    border: 1px solid color-mix(in srgb, var(--theme-primary-color) 25%, transparent);
    border-radius: 50%;
    pointer-events: none;
}

.restaurant-cart-hero::before {
    width: 260px;
    height: 260px;
    top: 45px;
    left: -140px;
}

.restaurant-cart-hero::after {
    width: 180px;
    height: 180px;
    right: -90px;
    bottom: -95px;
}

.restaurant-cart-hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.restaurant-cart-eyebrow,
.restaurant-cart-toolbar-label {
    display: block;
    color: var(--theme-primary-color);
    font-family: var(--theme-body-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.restaurant-cart-eyebrow {
    margin-bottom: 10px;
}

.restaurant-cart-hero h1 {
    margin: 0;
    color: var(--theme-heading-color);
    font-family: var(--theme-heading-font);
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.08;
}

.restaurant-cart-hero p {
    max-width: 700px;
    margin: 22px auto 0;
    color: var(--theme-muted-color);
    font-size: 17px;
    line-height: 1.75;
}

.restaurant-cart-progress {
    background: var(--theme-light-color);
    border-bottom: 1px solid var(--theme-border-color);
}

.restaurant-cart-progress ol {
    display: flex;
    max-width: 700px;
    margin: 0 auto;
    padding: 18px 0;
    align-items: center;
    justify-content: center;
    list-style: none;
}

.restaurant-cart-progress li {
    display: flex;
    margin: 0;
    align-items: center;
    color: var(--theme-muted-color);
    font-family: var(--theme-body-font);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.restaurant-cart-progress li:not(:last-child)::after {
    content: "";
    width: clamp(28px, 6vw, 78px);
    height: 1px;
    margin: 0 14px;
    background: var(--theme-border-color);
}

.restaurant-cart-progress li > span {
    display: inline-flex;
    width: 28px;
    height: 28px;
    margin-right: 8px;
    align-items: center;
    justify-content: center;
    color: var(--theme-muted-color);
    background: var(--theme-surface-color);
    border: 1px solid var(--theme-border-color);
    border-radius: 50%;
    font-size: 12px;
}

.restaurant-cart-progress li.is-current {
    color: var(--theme-heading-color);
}

.restaurant-cart-progress li.is-current > span {
    color: var(--theme-light-color);
    background: var(--theme-primary-color);
    border-color: var(--theme-primary-color);
}

.restaurant-cart-page .restaurant-cart-section {
    padding: 55px 0 95px;
    background: var(--theme-surface-color);
}

.restaurant-cart-content {
    max-width: 1160px;
    margin: 0 auto;
}

.restaurant-cart-toolbar {
    display: flex;
    margin-bottom: 26px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.restaurant-cart-page .woocommerce-cart-form > .restaurant-cart-toolbar {
    margin: 0;
    padding: 18px 0 24px;
}

.restaurant-cart-toolbar p {
    margin: 5px 0 0;
    color: var(--theme-muted-color);
    font-size: 14px;
}

.restaurant-cart-continue {
    display: inline-flex;
    min-height: 44px;
    padding: 10px 17px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--theme-heading-color);
    background: var(--theme-light-color);
    border: 1px solid var(--theme-border-color);
    font-family: var(--theme-body-font);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.restaurant-cart-continue > span {
    color: var(--theme-primary-color);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}

.restaurant-cart-continue:hover,
.restaurant-cart-continue:focus {
    color: var(--theme-light-color);
    background: var(--theme-primary-color);
    border-color: var(--theme-primary-color);
}

.restaurant-cart-continue:hover > span,
.restaurant-cart-continue:focus > span {
    color: inherit;
}

.restaurant-cart-woocommerce > .woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(310px, 0.75fr);
    gap: 32px;
    align-items: start;
    color: var(--theme-text-color);
    font-family: var(--theme-body-font);
}

.restaurant-cart-woocommerce > .woocommerce > .woocommerce-notices-wrapper,
.restaurant-cart-woocommerce > .woocommerce > .woocommerce-error,
.restaurant-cart-woocommerce > .woocommerce > .woocommerce-message,
.restaurant-cart-woocommerce > .woocommerce > .woocommerce-info,
.restaurant-cart-woocommerce > .woocommerce > .wc-empty-cart-message,
.restaurant-cart-woocommerce > .woocommerce > .return-to-shop {
    grid-column: 1 / -1;
}

.restaurant-cart-woocommerce .ex-hidden,
.restaurant-cart-woocommerce > .wp-block-paragraph:empty,
.restaurant-cart-woocommerce .woocommerce-notices-wrapper:empty {
    display: none;
}

/* Notices */
.restaurant-cart-page .woocommerce-error,
.restaurant-cart-page .woocommerce-info,
.restaurant-cart-page .woocommerce-message {
    margin: 0 0 22px;
    padding: 17px 20px 17px 48px;
    color: var(--theme-text-color);
    background: var(--theme-light-color);
    border: 1px solid var(--theme-border-color);
    border-top: 3px solid var(--theme-primary-color);
    box-shadow: none;
    font-size: 14px;
    line-height: 1.6;
}

.restaurant-cart-page .woocommerce-error::before,
.restaurant-cart-page .woocommerce-info::before,
.restaurant-cart-page .woocommerce-message::before {
    top: 17px;
    color: var(--theme-primary-color);
}

.restaurant-cart-page .woocommerce-message a,
.restaurant-cart-page .woocommerce-info a {
    color: var(--theme-primary-color);
    font-weight: 700;
}

/* Cart items */
.restaurant-cart-page .woocommerce-cart-form {
    min-width: 0;
    margin: 0;
    padding: 10px 28px 26px;
    background: var(--theme-light-color);
    border: 1px solid var(--theme-border-color);
    box-shadow: 0 16px 44px color-mix(in srgb, var(--theme-dark-color) 7%, transparent);
}

.restaurant-cart-page .woocommerce-cart-form table.shop_table {
    display: block;
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-radius: 0;
}

.restaurant-cart-page .woocommerce-cart-form table.shop_table thead,
.restaurant-cart-page .woocommerce-cart-form table.shop_table tbody {
    display: block;
    width: 100%;
}

.restaurant-cart-page .woocommerce-cart-form table.shop_table thead tr,
.restaurant-cart-page .woocommerce-cart-form table.shop_table tr.cart_item {
    display: grid;
    width: 100%;
    grid-template-columns: 44px minmax(0, 1fr) 104px 112px 133px;
    grid-template-areas: "remove name price quantity subtotal";
    column-gap: 16px;
    align-items: center;
}

.restaurant-cart-page .woocommerce-cart-form table.shop_table thead tr {
    min-height: 54px;
    border-bottom: 1px solid var(--theme-border-color);
}

.restaurant-cart-page .woocommerce-cart-form table.shop_table tr.cart_item {
    min-height: 112px;
    border-bottom: 1px solid var(--theme-border-color);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.restaurant-cart-page .woocommerce-cart-form table.shop_table tr.cart_item.is-removing {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-10px);
}

.restaurant-cart-page .woocommerce-cart-form table.shop_table tr.cart_item.is-collapsed {
    display: none !important;
}

.restaurant-cart-page .woocommerce-cart-form table.shop_table th,
.restaurant-cart-page .woocommerce-cart-form table.shop_table td {
    width: auto;
    padding: 18px 0;
    color: var(--theme-text-color);
    border: 0;
    background: transparent;
    text-align: left;
}

.restaurant-cart-page .woocommerce-cart-form table.shop_table th {
    color: var(--theme-muted-color);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 1.3;
    text-transform: uppercase;
}

.restaurant-cart-page .woocommerce-cart-form .product-remove {
    grid-area: remove;
}

.restaurant-cart-page .woocommerce-cart-form .product-name {
    grid-area: name;
    min-width: 0;
}

.restaurant-cart-page .woocommerce-cart-form .product-price {
    grid-area: price;
}

.restaurant-cart-page .woocommerce-cart-form .product-quantity {
    grid-area: quantity;
}

.restaurant-cart-page .woocommerce-cart-form .product-subtotal {
    grid-area: subtotal;
    justify-self: stretch;
    text-align: right !important;
}

.restaurant-cart-page .woocommerce-cart-form th.product-thumbnail,
.restaurant-cart-page .woocommerce-cart-form td.product-thumbnail {
    display: none !important;
}

.restaurant-cart-page .woocommerce-cart-form td.product-thumbnail img.woocommerce-placeholder {
    display: none !important;
}

.restaurant-cart-page .woocommerce-cart-form td.product-name a {
    color: var(--theme-heading-color);
    font-family: var(--theme-heading-font);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
}

.restaurant-cart-page .woocommerce-cart-form td.product-name a:hover,
.restaurant-cart-page .woocommerce-cart-form td.product-name a:focus {
    color: var(--theme-primary-color);
}

.restaurant-cart-page .woocommerce-cart-form td.product-name .variation {
    display: grid;
    margin: 9px 0 0;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 7px;
    row-gap: 3px;
    color: var(--theme-muted-color);
    font-family: var(--theme-body-font);
    font-size: 12px;
    line-height: 1.45;
}

.restaurant-cart-page .woocommerce-cart-form td.product-name .variation dt,
.restaurant-cart-page .woocommerce-cart-form td.product-name .variation dd,
.restaurant-cart-page .woocommerce-cart-form td.product-name .variation p {
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.restaurant-cart-page .woocommerce-cart-form td.product-name .exwf-edit-options {
    display: inline-block;
    margin-top: 8px;
    color: var(--theme-primary-color);
    font-family: var(--theme-body-font);
    font-size: 12px;
    font-weight: 700;
}

.restaurant-cart-page .woocommerce-cart-form .product-price .amount {
    color: var(--theme-muted-color);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.restaurant-cart-page .woocommerce-cart-form .product-subtotal .amount {
    color: var(--theme-primary-color);
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.restaurant-cart-page .woocommerce-cart-form a.remove {
    display: inline-flex;
    width: 32px;
    height: 32px;
    margin: 0;
    align-items: center;
    justify-content: center;
    color: var(--theme-primary-color) !important;
    background: transparent;
    border: 1px solid color-mix(in srgb, var(--theme-primary-color) 45%, var(--theme-border-color));
    border-radius: 50%;
    font-family: var(--theme-body-font);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.restaurant-cart-page .woocommerce-cart-form a.remove:hover,
.restaurant-cart-page .woocommerce-cart-form a.remove:focus {
    color: var(--theme-light-color) !important;
    background: var(--theme-primary-color);
    border-color: var(--theme-primary-color);
}

/* Quantity controls */
.restaurant-cart-page .woocommerce-cart-form .quantity {
    display: inline-flex;
    width: auto;
    min-height: 42px;
    margin: 0;
    align-items: stretch;
    vertical-align: middle;
}

.restaurant-cart-page .woocommerce-cart-form .quantity .qty {
    width: 58px;
    min-height: 42px;
    margin: 0;
    padding: 8px 6px;
    color: var(--theme-heading-color);
    background: var(--theme-light-color);
    border: 1px solid var(--theme-border-color);
    border-radius: 0;
    box-shadow: none;
    font-family: var(--theme-body-font);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    appearance: textfield;
}

.restaurant-cart-page .woocommerce-cart-form .quantity .qty::-webkit-inner-spin-button,
.restaurant-cart-page .woocommerce-cart-form .quantity .qty::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.restaurant-cart-page .restaurant-cart-qty-button {
    display: inline-flex;
    width: 40px;
    min-width: 40px;
    min-height: 42px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    color: var(--theme-light-color);
    background: var(--theme-primary-color);
    border: 1px solid var(--theme-primary-color);
    border-radius: 0;
    box-shadow: none;
    font-family: var(--theme-body-font);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.restaurant-cart-page .restaurant-cart-qty-button:hover,
.restaurant-cart-page .restaurant-cart-qty-button:focus {
    color: var(--theme-light-color);
    background: var(--theme-secondary-color);
    border-color: var(--theme-secondary-color);
}

.restaurant-cart-page .restaurant-cart-qty-button:disabled {
    color: var(--theme-muted-color);
    background: var(--theme-surface-color);
    border-color: var(--theme-border-color);
    opacity: 0.65;
    cursor: not-allowed;
}

.restaurant-cart-page .restaurant-cart-quantity-ready .qty {
    border-right: 0;
    border-left: 0;
}

/* Coupon and update actions */
.restaurant-cart-page .woocommerce-cart-form table.shop_table tbody > tr:last-child:not(.cart_item) {
    display: block;
    width: 100%;
}

.restaurant-cart-page .woocommerce-cart-form td.actions {
    display: flex;
    width: 100%;
    padding: 26px 0 0;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    text-align: left;
}

.restaurant-cart-page .woocommerce-cart-form td.actions .coupon {
    display: flex;
    width: min(100%, 430px);
    margin: 0;
    flex-wrap: wrap;
    float: none;
}

.restaurant-cart-page .woocommerce-cart-form td.actions .coupon .coupon-error-notice {
    flex: 0 0 100%;
    order: 3;
    margin: 8px 0 0;
    color: var(--theme-primary-color);
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
}

.restaurant-cart-page .woocommerce-cart-form td.actions .coupon .input-text.has-error,
.restaurant-cart-page .woocommerce-cart-form td.actions .coupon .input-text[aria-invalid="true"] {
    border-color: var(--theme-primary-color);
}

.restaurant-cart-page .woocommerce-cart-form td.actions .coupon .input-text {
    width: auto;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 10px 13px;
    color: var(--theme-text-color);
    background: var(--theme-light-color);
    border: 1px solid var(--theme-border-color);
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
    font-family: var(--theme-body-font);
    font-size: 14px;
    flex: 1 1 170px;
}

.restaurant-cart-page .woocommerce-cart-form td.actions .coupon button {
    flex: 0 0 auto;
}

.restaurant-cart-page .woocommerce button.button,
.restaurant-cart-page .woocommerce a.button {
    display: inline-flex;
    min-height: 46px;
    margin: 0;
    padding: 12px 18px;
    align-items: center;
    justify-content: center;
    color: var(--theme-light-color);
    background: var(--theme-primary-color);
    border: 1px solid var(--theme-primary-color);
    border-radius: 0;
    box-shadow: none;
    font-family: var(--theme-body-font);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.restaurant-cart-page .woocommerce button.button:hover,
.restaurant-cart-page .woocommerce button.button:focus,
.restaurant-cart-page .woocommerce a.button:hover,
.restaurant-cart-page .woocommerce a.button:focus {
    color: var(--theme-light-color);
    background: var(--theme-secondary-color);
    border-color: var(--theme-secondary-color);
}

.restaurant-cart-page .woocommerce-cart-form button[name="update_cart"] {
    display: none !important;
}

.restaurant-cart-page .woocommerce-cart-form td.actions:not(:has(.coupon)) {
    display: none;
    padding: 0;
}

.restaurant-cart-page .woocommerce button.button:disabled,
.restaurant-cart-page .woocommerce button.button:disabled[disabled],
.restaurant-cart-page .woocommerce button.button.disabled {
    color: var(--theme-muted-color);
    background: var(--theme-surface-color);
    border-color: var(--theme-border-color);
    opacity: 0.65;
    cursor: not-allowed;
}

/* Totals */
.restaurant-cart-page .cart-collaterals {
    width: auto;
    margin: 0;
}

.restaurant-cart-page .cart-collaterals .cart_totals {
    position: sticky;
    top: 100px;
    width: 100%;
    margin: 0;
    padding: 28px;
    float: none;
    background: var(--theme-light-color);
    border: 1px solid var(--theme-border-color);
    box-shadow: 0 16px 44px color-mix(in srgb, var(--theme-dark-color) 7%, transparent);
}

.restaurant-cart-page .cart_totals h2 {
    margin: 0 0 22px;
    color: var(--theme-heading-color);
    font-family: var(--theme-heading-font);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.25;
    text-transform: none;
}

.restaurant-cart-page .cart_totals table.shop_table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    border-radius: 0;
}

.restaurant-cart-page .cart_totals table.shop_table tr {
    border-bottom: 1px solid var(--theme-border-color);
}

.restaurant-cart-page .cart_totals table.shop_table tr.order-total {
    border-bottom: 0;
}

.restaurant-cart-page .cart_totals table.shop_table th,
.restaurant-cart-page .cart_totals table.shop_table td {
    padding: 15px 0;
    color: var(--theme-text-color);
    background: transparent;
    border: 0;
    font-size: 14px;
    line-height: 1.5;
}

.restaurant-cart-page .cart_totals table.shop_table tr,
.restaurant-cart-page .cart_totals table.shop_table tr:nth-child(2n),
.restaurant-cart-page .cart_totals table.shop_table tr th,
.restaurant-cart-page .cart_totals table.shop_table tr td,
.restaurant-cart-page .cart_totals table.shop_table tr:nth-child(2n) th,
.restaurant-cart-page .cart_totals table.shop_table tr:nth-child(2n) td {
    background-color: var(--theme-light-color) !important;
}

.restaurant-cart-page .cart_totals table.shop_table th {
    width: 52%;
    font-weight: 600;
    text-align: left;
}

.restaurant-cart-page .cart_totals table.shop_table td {
    text-align: right;
}

.restaurant-cart-page .cart_totals .fee td,
.restaurant-cart-page .cart_totals .fee td .amount {
    color: var(--theme-secondary-color);
    font-weight: 700;
}

.restaurant-cart-page .cart_totals .order-total th,
.restaurant-cart-page .cart_totals .order-total td {
    padding-top: 20px;
    color: var(--theme-heading-color);
    font-size: 16px;
}

.restaurant-cart-page .cart_totals .order-total .amount {
    color: var(--theme-primary-color);
    font-family: var(--theme-heading-font);
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;
}

.restaurant-cart-page .wc-proceed-to-checkout {
    padding: 24px 0 0;
}

.restaurant-cart-page .woocommerce .wc-proceed-to-checkout a.checkout-button {
    width: 100%;
    min-height: 54px;
    padding: 14px 20px;
    color: var(--theme-light-color);
    background: var(--theme-primary-color);
    border-color: var(--theme-primary-color);
    font-size: 14px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.restaurant-cart-page .woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.restaurant-cart-page .woocommerce .wc-proceed-to-checkout a.checkout-button:focus {
    color: var(--theme-light-color);
    background: var(--theme-secondary-color);
    border-color: var(--theme-secondary-color);
}

/* Empty cart */
.restaurant-cart-page .wc-empty-cart-message {
    width: min(100%, 720px);
    margin: 0 auto;
}

.restaurant-cart-page .wc-empty-cart-message .cart-empty {
    margin: 0;
    padding: 46px 34px;
    color: var(--theme-heading-color);
    background: var(--theme-light-color);
    border: 1px solid var(--theme-border-color);
    box-shadow: 0 16px 44px color-mix(in srgb, var(--theme-dark-color) 7%, transparent);
    font-family: var(--theme-heading-font);
    font-size: 22px;
    line-height: 1.5;
    text-align: center;
}

.restaurant-cart-page .wc-empty-cart-message .cart-empty::before {
    content: "\e9df";
    position: static;
    display: flex;
    width: 62px;
    height: 62px;
    margin: 0 auto 22px;
    align-items: center;
    justify-content: center;
    color: var(--theme-primary-color);
    background: color-mix(in srgb, var(--theme-primary-color) 8%, var(--theme-light-color));
    border: 1px solid color-mix(in srgb, var(--theme-primary-color) 35%, var(--theme-border-color));
    border-radius: 50%;
    font-family: "LineIcons";
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
}

.restaurant-cart-page .return-to-shop {
    margin: -8px 0 0;
    text-align: center;
}

.restaurant-cart-page .woocommerce .return-to-shop .button {
    min-width: 210px;
}

.restaurant-cart-page a:focus-visible,
.restaurant-cart-page button:focus-visible,
.restaurant-cart-page input:focus-visible {
    outline: 2px solid var(--theme-primary-color);
    outline-offset: 3px;
}

@media (min-width: 992px) {
    .restaurant-cart-page .woocommerce-cart-form td.product-name a {
        font-size: 16px;
        line-height: 1.4;
    }

    .restaurant-cart-page .woocommerce-cart-form .quantity {
        min-height: 38px;
    }

    .restaurant-cart-page .woocommerce-cart-form .quantity .qty {
        width: 46px;
        min-height: 38px;
        padding: 7px 4px;
        font-size: 13px;
    }

    .restaurant-cart-page .restaurant-cart-qty-button {
        width: 32px;
        min-width: 32px;
        min-height: 38px;
        font-size: 16px;
    }

    .restaurant-cart-page .woocommerce-cart-form td.product-subtotal {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
}

@media (max-width: 1199px) {
    .restaurant-cart-woocommerce > .woocommerce {
        grid-template-columns: minmax(0, 1fr);
    }

    .restaurant-cart-page .cart-collaterals .cart_totals {
        position: static;
    }
}

@media (max-width: 991px) {
    .restaurant-cart-page .restaurant-cart-hero {
        padding: 125px 0 60px;
    }

    .restaurant-cart-hero p {
        font-size: 15px;
        line-height: 1.65;
    }

    .restaurant-cart-progress ol {
        padding: 14px 0;
    }

    .restaurant-cart-progress li {
        font-size: 11px;
    }

    .restaurant-cart-progress li > span {
        width: 25px;
        height: 25px;
        margin-right: 5px;
    }

    .restaurant-cart-progress li:not(:last-child)::after {
        width: 18px;
        margin: 0 7px;
    }

    .restaurant-cart-page .restaurant-cart-section {
        padding: 38px 0 65px;
    }

    .restaurant-cart-toolbar {
        margin-bottom: 20px;
        align-items: flex-start;
        flex-direction: column;
    }

    .restaurant-cart-continue {
        width: 100%;
    }

    .restaurant-cart-page .woocommerce-cart-form {
        padding: 4px 20px 22px;
    }

    .restaurant-cart-page .woocommerce-cart-form table.shop_table thead {
        display: none;
    }

    .restaurant-cart-page .woocommerce-cart-form table.shop_table tr.cart_item {
        min-height: 0;
        padding: 20px 0;
        grid-template-columns: 38px minmax(0, 1fr);
        grid-template-areas:
            "remove name"
            "price price"
            "quantity quantity"
            "subtotal subtotal";
        column-gap: 12px;
        row-gap: 0;
    }

    .restaurant-cart-page .woocommerce-cart-form table.shop_table tr.cart_item td {
        display: flex;
        width: 100%;
        min-height: 48px;
        padding: 12px 0;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid var(--theme-border-color);
        text-align: right !important;
    }

    .restaurant-cart-page .woocommerce-cart-form table.shop_table tr.cart_item,
    .restaurant-cart-page .woocommerce-cart-form table.shop_table tr.cart_item:nth-child(2n),
    .restaurant-cart-page .woocommerce-cart-form table.shop_table tr.cart_item td,
    .restaurant-cart-page .woocommerce-cart-form table.shop_table tr.cart_item:nth-child(2n) td {
        background-color: var(--theme-light-color) !important;
    }

    .restaurant-cart-page .woocommerce-cart-form table.shop_table tr.cart_item td.product-remove,
    .restaurant-cart-page .woocommerce-cart-form table.shop_table tr.cart_item td.product-name {
        min-height: 0;
        border-top: 0;
    }

    .restaurant-cart-page .woocommerce-cart-form table.shop_table tr.cart_item td.product-remove {
        align-self: start;
        justify-content: flex-start;
    }

    .restaurant-cart-page .woocommerce-cart-form table.shop_table tr.cart_item td.product-name {
        padding: 11px 0 18px;
        text-align: left !important;
    }

    .restaurant-cart-page .woocommerce-cart-form table.shop_table tr.cart_item td.product-name::before {
        display: none;
        content: none;
    }

    .restaurant-cart-page .woocommerce-cart-form table.shop_table tr.cart_item td.product-price::before,
    .restaurant-cart-page .woocommerce-cart-form table.shop_table tr.cart_item td.product-quantity::before,
    .restaurant-cart-page .woocommerce-cart-form table.shop_table tr.cart_item td.product-subtotal::before {
        content: attr(data-title);
        display: block;
        color: var(--theme-muted-color);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        line-height: 1.3;
        text-transform: uppercase;
        float: none;
    }

    .restaurant-cart-page .woocommerce-cart-form td.actions {
        padding-top: 22px;
        align-items: stretch;
        flex-direction: column;
    }

    .restaurant-cart-page .woocommerce-cart-form td.actions .coupon {
        width: 100%;
    }

    .restaurant-cart-page .cart-collaterals .cart_totals {
        padding: 24px 22px;
    }

    .restaurant-cart-page .cart_totals h2 {
        font-size: 25px;
    }
}

@media (max-width: 520px) {
    .restaurant-cart-progress li {
        font-size: 10px;
    }

    .restaurant-cart-progress li > span {
        width: 23px;
        height: 23px;
        margin-right: 4px;
    }

    .restaurant-cart-progress li:not(:last-child)::after {
        width: 12px;
        margin: 0 5px;
    }

    .restaurant-cart-page .woocommerce-cart-form td.actions .coupon {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .restaurant-cart-page .woocommerce-cart-form td.actions .coupon .input-text {
        width: 100%;
        border-right: 1px solid var(--theme-border-color);
    }

    .restaurant-cart-page .woocommerce-cart-form td.actions .coupon button,
    .restaurant-cart-page .woocommerce .return-to-shop .button {
        width: 100%;
    }

    .restaurant-cart-page .wc-empty-cart-message .cart-empty {
        padding: 38px 22px;
        font-size: 20px;
    }
}
