/* Cart and checkout, Shopify-like, in the site's colours (shop.css has the
   tokens). !important only against WooCommerce's and the theme's defaults. */

body.pm-cart,
body.pm-checkout,
body.pm-thankyou {
    background: #fff;

    /* Set per widget by "Kurv" / "Kasse" in Elementor. */
    --pmc-gap: 48px;
    --pmc-summary-width: 400px;
    --pmc-summary-bg: var(--pm-soft);
    --pmc-summary-radius: var(--pm-radius);
    --pmc-summary-padding: 28px;
    --pmc-input-border: #d1d5db;
    --pmc-input-radius: 8px;
    --pmc-input-height: 48px;
    --pmc-button-bg: var(--pm-blue);
    --pmc-button-bg-hover: var(--pm-navy);
    --pmc-button-color: #fff;
    --pmc-button-radius: 8px;
    --pmc-button-padding: 18px 20px;
    --pmc-heading-color: var(--pm-navy);
    --pmc-heading-size: 20px;
    --pmc-section-gap: 28px;
    --pmc-thumb-size: 96px;
    --pmc-thumb-radius: 10px;
    --pmc-row-padding: 20px;
    --pmc-steps: flex;
}

body.pm-checkout {
    --pmc-summary-width: 420px;
    --pmc-gap: 56px;
}

/* The theme's page title: the steps take its place. */
body.pm-cart .page-header,
body.pm-checkout .page-header,
body.pm-thankyou .page-header {
    display: none;
}

body.pm-cart .site-main,
body.pm-checkout .site-main,
body.pm-thankyou .site-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 20px 64px;
}

/* ---------- Steps ---------- */

.pm-steps ol {
    display: var(--pmc-steps);
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    font-size: 14px;
    color: var(--pm-muted);
}

.pm-steps li {
    display: flex;
    align-items: center;
}

.pm-steps li + li::before {
    content: "";
    width: 7px;
    height: 7px;
    margin: 0 14px;
    border-right: 1.5px solid #9ca3af;
    border-top: 1.5px solid #9ca3af;
    transform: rotate(45deg);
}

.pm-steps a {
    color: var(--pm-blue);
    text-decoration: none;
}

.pm-steps a:hover {
    text-decoration: underline;
}

.pm-steps .is-current {
    color: var(--pm-navy);
    font-weight: 600;
}

/* ---------- Shared: inputs, buttons, notices ---------- */

body.pm-cart .woocommerce input.input-text,
body.pm-checkout .woocommerce input.input-text,
body.pm-checkout .woocommerce textarea,
body.pm-checkout .woocommerce select,
body.pm-cart .woocommerce select {
    width: 100%;
    min-height: var(--pmc-input-height);
    padding: 12px 14px !important;
    border: 1px solid var(--pmc-input-border) !important;
    border-radius: var(--pmc-input-radius) !important;
    background: #fff !important;
    color: #111827;
    font-size: 15px;
    box-shadow: none !important;
    transition: border-color .15s, box-shadow .15s;
}

body.pm-checkout .woocommerce textarea {
    min-height: 96px;
}

body.pm-cart .woocommerce input.input-text:focus,
body.pm-checkout .woocommerce input.input-text:focus,
body.pm-checkout .woocommerce textarea:focus,
body.pm-checkout .woocommerce select:focus {
    outline: none;
    border-color: var(--pm-blue) !important;
    box-shadow: 0 0 0 3px rgba(0, 74, 255, .15) !important;
}

body.pm-checkout .woocommerce form .form-row {
    margin: 0 0 14px;
    padding: 0;
}

body.pm-checkout .woocommerce form .form-row label {
    margin-bottom: 6px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

body.pm-checkout .woocommerce form .form-row .required {
    color: #dc2626;
    text-decoration: none;
}

body.pm-checkout .woocommerce form .form-row-first,
body.pm-checkout .woocommerce form .form-row-last {
    width: calc(50% - 7px);
}

body.pm-checkout .woocommerce form .form-row.woocommerce-invalid input.input-text {
    border-color: #dc2626 !important;
}

body.pm-cart .woocommerce .button,
body.pm-checkout .woocommerce .button {
    border-radius: var(--pmc-button-radius) !important;
    font-weight: 600 !important;
}

body.pm-cart .woocommerce .button.alt,
body.pm-checkout .woocommerce .button.alt,
body.pm-checkout .woocommerce #place_order,
body.pm-cart .woocommerce .checkout-button {
    width: 100%;
    padding: var(--pmc-button-padding) !important;
    border: 0 !important;
    background: var(--pmc-button-bg) !important;
    color: var(--pmc-button-color) !important;
    font-size: 17px !important;
    line-height: 1.2;
    transition: background-color .2s;
}

body.pm-cart .woocommerce .button.alt:hover,
body.pm-checkout .woocommerce #place_order:hover,
body.pm-cart .woocommerce .checkout-button:hover {
    background: var(--pmc-button-bg-hover) !important;
}

body.pm-cart .woocommerce a:not([class*="pmenergi-"]):not(.button),
body.pm-checkout .woocommerce a:not([class*="pmenergi-"]):not(.button) {
    color: var(--pm-blue);
}

body.pm-cart .woocommerce-message,
body.pm-cart .woocommerce-info,
body.pm-cart .woocommerce-error,
body.pm-checkout .woocommerce-message,
body.pm-checkout .woocommerce-info,
body.pm-checkout .woocommerce-error {
    margin: 0 0 20px !important;
    padding: 14px 18px 14px 46px !important;
    border: 1px solid var(--pm-line) !important;
    border-radius: var(--pmc-input-radius);
    background: var(--pm-soft) !important;
    color: #374151;
    font-size: 15px;
}

body.pm-cart .woocommerce-message::before,
body.pm-cart .woocommerce-info::before,
body.pm-checkout .woocommerce-message::before,
body.pm-checkout .woocommerce-info::before {
    color: var(--pm-blue) !important;
    top: 14px !important;
    left: 16px !important;
}

body.pm-cart .woocommerce-error,
body.pm-checkout .woocommerce-error {
    border-color: #fecaca !important;
    background: #fef2f2 !important;
}

/* ================= Cart ================= */

body.pm-cart .woocommerce:has(.woocommerce-cart-form) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--pmc-summary-width);
    gap: 0 var(--pmc-gap);
    align-items: start;
}

body.pm-cart .woocommerce:has(.woocommerce-cart-form) > .pm-steps,
body.pm-cart .woocommerce:has(.woocommerce-cart-form) > .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
}

body.pm-cart .woocommerce-cart-form::before {
    content: "Din kurv";
    display: block;
    margin-bottom: 8px;
    color: var(--pmc-heading-color);
    font-size: calc(var(--pmc-heading-size) * 1.4);
    font-weight: 700;
}

body.pm-cart table.shop_table.cart {
    border: 0 !important;
    margin: 0;
    border-collapse: collapse;
}

body.pm-cart table.shop_table.cart thead {
    display: none;
}

body.pm-cart table.shop_table.cart tr.cart_item {
    display: grid;
    grid-template-columns: var(--pmc-thumb-size) minmax(0, 1fr) auto auto;
    grid-template-areas:
        "thumb name name remove"
        "thumb qty subtotal subtotal";
    gap: 6px 16px;
    align-items: center;
    padding: var(--pmc-row-padding) 0;
    border-bottom: 1px solid var(--pm-line);
}

body.pm-cart table.shop_table.cart tr.cart_item td {
    display: block;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    text-align: left !important;
}

body.pm-cart table.shop_table.cart td::before {
    display: none !important; /* WooCommerce's mobile "Vare:" labels */
}

body.pm-cart td.product-thumbnail {
    grid-area: thumb;
    display: block !important; /* WooCommerce's small-screen CSS hides it */
}

body.pm-cart td.product-thumbnail a,
body.pm-cart td.product-thumbnail img {
    display: block;
    width: var(--pmc-thumb-size) !important;
    height: var(--pmc-thumb-size);
    border-radius: var(--pmc-thumb-radius);
}

body.pm-cart td.product-thumbnail a {
    background: var(--pm-soft);
    overflow: hidden;
}

body.pm-cart td.product-thumbnail img {
    object-fit: contain;
    padding: 8px;
    box-sizing: border-box;
    mix-blend-mode: multiply;
}

body.pm-cart td.product-name {
    grid-area: name;
    font-size: 16px;
    font-weight: 600;
}

body.pm-cart td.product-name a {
    color: var(--pm-navy) !important;
    text-decoration: none;
}

body.pm-cart td.product-name a:hover {
    color: var(--pm-blue) !important;
}

body.pm-cart td.product-price {
    display: none !important; /* the line total is enough */
}

body.pm-cart td.product-quantity {
    grid-area: qty;
}

body.pm-cart td.product-subtotal {
    grid-area: subtotal;
    justify-self: end;
    color: var(--pm-navy);
    font-size: 17px;
    font-weight: 700;
}

body.pm-cart td.product-subtotal .tax_label {
    display: block;
    color: var(--pm-muted);
    font-size: 12px;
    font-weight: 400;
}

body.pm-cart td.product-remove {
    grid-area: remove;
    justify-self: end;
    align-self: start;
}

body.pm-cart td.product-remove a.remove {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50%;
    background: var(--pm-soft);
    color: var(--pm-muted) !important;
    font-size: 20px !important;
    font-weight: 400;
    line-height: 1;
    transition: background-color .2s, color .2s;
}

body.pm-cart td.product-remove a.remove:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

/* Quantity stepper (buttons added by checkout.js). */
.pm-qty {
    display: inline-flex;
    align-items: stretch;
    height: 42px;
    border: 1px solid var(--pmc-input-border);
    border-radius: var(--pmc-input-radius);
    overflow: hidden;
}

.pm-qty button {
    width: 40px;
    padding: 0;
    border: 0;
    background: #fff;
    color: var(--pm-navy);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.pm-qty button:hover,
.pm-qty button:focus {
    background: var(--pm-soft);
    color: var(--pm-navy);
}

body.pm-cart .pm-qty input.qty {
    width: 48px !important;
    min-height: 0 !important;
    height: 100%;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    text-align: center;
    font-weight: 600;
    -moz-appearance: textfield;
}

body.pm-cart .pm-qty input.qty::-webkit-outer-spin-button,
body.pm-cart .pm-qty input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Coupon row. */
body.pm-cart table.shop_table.cart tr:last-child td.actions {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 0 0 !important;
    border: 0 !important;
    background: none !important;
}

body.pm-cart td.actions .coupon {
    display: flex;
    gap: 8px;
    flex: 1 1 320px;
    max-width: 420px;
}

body.pm-cart td.actions .coupon input.input-text {
    width: auto !important;
    flex: 1;
    min-height: 44px;
}

body.pm-cart td.actions .button {
    min-height: 44px;
    padding: 0 18px !important;
    border: 1px solid var(--pmc-input-border) !important;
    background: #fff !important;
    color: var(--pm-navy) !important;
}

body.pm-cart td.actions .button:hover {
    background: var(--pm-soft) !important;
}

/* With JS the cart updates by itself. */
body.pm-cart.pm-js td.actions button[name="update_cart"] {
    display: none !important;
}

/* Summary box. */
body.pm-cart .cart-collaterals {
    position: sticky;
    top: 110px;
    width: auto !important;
}

body.pm-cart .cart-collaterals .cart_totals {
    float: none !important;
    width: 100% !important;
    padding: var(--pmc-summary-padding);
    border-radius: var(--pmc-summary-radius);
    background: var(--pmc-summary-bg);
}

body.pm-cart .cart_totals > h2 {
    margin: 0 0 12px;
    color: var(--pmc-heading-color);
    font-size: var(--pmc-heading-size);
    font-weight: 700;
}

body.pm-cart .cart_totals table.shop_table {
    border: 0 !important;
    margin: 0 0 20px !important;
}

body.pm-cart .cart_totals table.shop_table th,
body.pm-cart .cart_totals table.shop_table td {
    padding: 10px 0 !important;
    border: 0 !important;
    background: none !important;
    color: #374151;
    font-size: 15px;
    font-weight: 400;
    vertical-align: top;
}

body.pm-cart .cart_totals table.shop_table td {
    text-align: right;
}

body.pm-cart .cart_totals .woocommerce-shipping-destination,
body.pm-cart .cart_totals .shipping-calculator-button {
    font-size: 13px;
    color: var(--pm-muted);
}

body.pm-cart .cart_totals tr.order-total th,
body.pm-cart .cart_totals tr.order-total td {
    padding-top: 16px !important;
    border-top: 1px solid var(--pm-line) !important;
    color: var(--pm-navy);
    font-size: 18px;
    font-weight: 700;
}

body.pm-cart .cart_totals tr.order-total td strong {
    font-size: 22px;
}

body.pm-cart .cart_totals tr.order-total small,
body.pm-cart .cart_totals .includes_tax {
    display: block;
    color: var(--pm-muted);
    font-size: 12px;
    font-weight: 400;
}

body.pm-cart .wc-proceed-to-checkout {
    padding: 0 !important;
}

body.pm-cart .wc-proceed-to-checkout .checkout-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 !important;
}

body.pm-cart .wc-proceed-to-checkout .checkout-button::before,
body.pm-checkout #place_order::before {
    content: "";
    width: 16px;
    height: 18px;
    background: currentColor;
    -webkit-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.2' stroke-linecap='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
            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.2' stroke-linecap='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.pm-cart .cross-sells {
    grid-column: 1 / -1;
}

/* Trust points under the summary. */
.pm-trust {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
    color: var(--pm-muted);
    font-size: 13px;
}

.pm-trust li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pm-trust li::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: none;
    background: #15803d;
    -webkit-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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
            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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Empty cart. */
body.pm-cart .cart-empty {
    padding: 48px 20px 16px !important;
    border: 0 !important;
    background: none !important;
    text-align: center;
    color: var(--pm-navy) !important;
    font-size: 22px !important;
    font-weight: 600;
}

body.pm-cart .cart-empty::before {
    display: none !important;
}

body.pm-cart .return-to-shop {
    text-align: center;
}

body.pm-cart .return-to-shop .button {
    display: inline-block;
    padding: 14px 28px !important;
    background: var(--pm-blue) !important;
    color: #fff !important;
}

/* ================= Checkout ================= */

body.pm-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--pmc-summary-width);
    gap: 0 var(--pmc-gap);
    align-items: start;
}

body.pm-checkout form.checkout > * {
    grid-column: 1;
}

body.pm-checkout form.checkout > .pm-co__summary {
    grid-column: 2;
    grid-row: 1 / span 20;
    position: sticky;
    top: 110px;
    padding: var(--pmc-summary-padding);
    border-radius: var(--pmc-summary-radius);
    background: var(--pmc-summary-bg);
}

body.pm-checkout #order_review_heading {
    margin: 0 0 8px;
    color: var(--pmc-heading-color);
    font-size: var(--pmc-heading-size);
    font-weight: 700;
}

.pm-co__heading-row {
    margin: 0 !important;
}

/* The form's sections. */
body.pm-checkout #customer_details,
body.pm-checkout #customer_details .col-1,
body.pm-checkout #customer_details .col-2 {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
}

body.pm-checkout #customer_details .col-2 {
    margin-top: 12px;
}

body.pm-checkout .woocommerce-billing-fields > h3 {
    display: none; /* "Faktureringsoplysninger": replaced by Kontakt / Adresse */
}

.pm-co__heading,
body.pm-checkout .woocommerce-additional-fields > h3,
body.pm-checkout #ship-to-different-address {
    margin: var(--pmc-section-gap) 0 14px !important;
    padding: 0;
    color: var(--pmc-heading-color);
    font-size: var(--pmc-heading-size) !important;
    font-weight: 700;
    line-height: 1.3;
    clear: both;
}

.pm-co__heading--first {
    margin-top: 0 !important;
}

body.pm-checkout #ship-to-different-address {
    font-size: 16px !important;
    font-weight: 500;
}

body.pm-checkout #ship-to-different-address label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

body.pm-checkout .woocommerce input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--pm-blue);
}

body.pm-checkout #billing_country_field .woocommerce-input-wrapper {
    display: block;
    width: 100%;
    flex: 1 1 100%;
}

/* Only one country: shown as a read-only field across the full width. */
body.pm-checkout .woocommerce form .form-row select.country_to_state--single {
    width: 100% !important;
    background: var(--pm-soft) !important;
    appearance: none;
    -webkit-appearance: none;
    pointer-events: none;
    font-weight: 500;
}

body.pm-checkout #billing_country_field strong {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid var(--pm-line);
    border-radius: var(--pmc-input-radius);
    background: var(--pm-soft);
    font-weight: 500;
}

/* Payment, now on the left. */
body.pm-checkout form.checkout > #payment {
    margin-top: 8px;
    border-radius: 0 !important;
    background: none !important;
}

body.pm-checkout #payment .pm-co__heading {
    margin-top: 28px !important;
}

body.pm-checkout #payment ul.payment_methods {
    padding: 0 !important;
    border: 1px solid var(--pmc-input-border) !important;
    border-radius: var(--pmc-input-radius);
    overflow: hidden;
}

body.pm-checkout #payment ul.payment_methods li {
    padding: 16px 18px !important;
    border-bottom: 1px solid var(--pm-line);
}

body.pm-checkout #payment ul.payment_methods li:last-child {
    border-bottom: 0;
}

body.pm-checkout #payment ul.payment_methods li .woocommerce-info {
    margin: 0 !important;
}

body.pm-checkout #payment div.payment_box {
    margin: 12px 0 0 !important;
    border-radius: var(--pmc-input-radius);
    background: var(--pm-soft) !important;
    color: #374151 !important;
}

body.pm-checkout #payment div.payment_box::before {
    display: none;
}

body.pm-checkout #payment .place-order {
    padding: 20px 0 0 !important;
}

body.pm-checkout .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 18px;
    font-size: 14px;
    color: #374151;
}

body.pm-checkout #place_order {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    float: none !important;
}

/* Summary on the right. */
body.pm-checkout .woocommerce-checkout-review-order-table {
    border: 0 !important;
    margin: 0 !important;
}

body.pm-checkout .woocommerce-checkout-review-order-table thead {
    display: none;
}

body.pm-checkout .woocommerce-checkout-review-order-table th,
body.pm-checkout .woocommerce-checkout-review-order-table td {
    padding: 10px 0 !important;
    border: 0 !important;
    background: none !important;
    color: #374151;
    font-size: 15px;
    font-weight: 400;
    vertical-align: middle;
}

body.pm-checkout .woocommerce-checkout-review-order-table td:last-child {
    text-align: right;
    white-space: nowrap;
}

body.pm-checkout .woocommerce-checkout-review-order-table tbody tr:last-child td {
    padding-bottom: 18px !important;
    border-bottom: 1px solid var(--pm-line) !important;
}

body.pm-checkout .woocommerce-checkout-review-order-table tfoot tr:first-child th,
body.pm-checkout .woocommerce-checkout-review-order-table tfoot tr:first-child td {
    padding-top: 18px !important;
}

.pm-co__item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pm-co__thumb {
    position: relative;
    flex: none;
    width: 64px;
    height: 64px;
    border: 1px solid var(--pm-line);
    border-radius: 10px;
    background: #fff;
}

.pm-co__thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    padding: 6px;
    box-sizing: border-box;
    border-radius: 10px;
}

.pm-co__qty {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #6b7280;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
    box-sizing: border-box;
}

.pm-co__name {
    color: var(--pm-navy);
    font-weight: 600;
}

body.pm-checkout .woocommerce-checkout-review-order-table tr.order-total th,
body.pm-checkout .woocommerce-checkout-review-order-table tr.order-total td {
    padding-top: 18px !important;
    border-top: 1px solid var(--pm-line) !important;
    color: var(--pm-navy);
    font-size: 18px;
    font-weight: 700;
}

body.pm-checkout tr.order-total td strong {
    font-size: 24px;
}

body.pm-checkout tr.order-total .includes_tax {
    display: block;
    color: var(--pm-muted);
    font-size: 12px;
    font-weight: 400;
}

body.pm-checkout #shipping_method {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Coupon toggle above the form: quieter. */
body.pm-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    padding: 12px 16px 12px 44px !important;
    font-size: 14px;
}

body.pm-checkout form.checkout_coupon {
    display: flex;
    gap: 8px;
    max-width: 520px;
    margin: 0 0 24px !important;
    padding: 16px !important;
    border: 1px solid var(--pm-line) !important;
    border-radius: var(--pmc-input-radius);
}

body.pm-checkout form.checkout_coupon .form-row {
    flex: 1;
    width: auto !important;
    margin: 0 !important;
}

body.pm-checkout form.checkout_coupon .form-row-last {
    flex: none;
}

body.pm-checkout form.checkout_coupon p:not(.form-row) {
    display: none;
}

body.pm-checkout .pmenergi-customer-type {
    margin-bottom: 20px;
}

body.pm-checkout .pmenergi-customer-type__option {
    text-decoration: none !important;
}

/* ---------- Mobile: one column, summary first ---------- */

@media (max-width: 921px) {
    body.pm-cart .woocommerce:has(.woocommerce-cart-form),
    body.pm-checkout form.checkout {
        display: block;
    }

    body.pm-cart .cart-collaterals,
    body.pm-checkout form.checkout > .pm-co__summary {
        position: static;
    }

    body.pm-cart .cart-collaterals {
        margin-top: 28px;
    }

    body.pm-checkout form.checkout {
        display: flex;
        flex-direction: column;
    }

    body.pm-checkout form.checkout > .pm-co__summary {
        order: -1;
        margin-bottom: 28px;
    }

    body.pm-cart table.shop_table.cart tr.cart_item {
        grid-template-columns: 76px minmax(0, 1fr) auto;
        grid-template-areas:
            "thumb name remove"
            "thumb qty subtotal";
    }

    body.pm-cart td.product-thumbnail a,
    body.pm-cart td.product-thumbnail img {
        width: 76px !important;
        height: 76px;
    }

    body.pm-checkout .woocommerce form .form-row-first,
    body.pm-checkout .woocommerce form .form-row-last {
        width: 100%;
    }
}
