/* Hergon cart UX 0.9.17 */

body.woocommerce-cart {
    --hergon-ink: #111;
    --hergon-muted: #6f6a62;
    --hergon-line: #e7e1d8;
    --hergon-control-line: #ded6ca;
    --hergon-soft: #f8f5ef;
    --hergon-soft-2: #fbfaf7;
    --hergon-paper: #fff;
    --hergon-accent: #d57a13;
    --hergon-focus: rgba(213, 122, 19, 0.28);
    --hergon-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
}

body.woocommerce-cart .woocommerce,
body.woocommerce-cart .woocommerce * {
    box-sizing: border-box;
}

body.woocommerce-cart #main .fusion-row {
    width: 100%;
}

body.woocommerce-cart .post-content > .woocommerce,
body.woocommerce-cart .woocommerce {
    width: min(100%, 1340px);
    margin: 0 auto;
}

body.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce > .woocommerce-message,
body.woocommerce-cart .woocommerce > .woocommerce-info,
body.woocommerce-cart .woocommerce > .woocommerce-error {
    margin-bottom: 24px;
}

body.woocommerce-cart .woocommerce-content-box {
    border: 1px solid var(--hergon-line);
    background: var(--hergon-paper);
    padding: 0 !important;
}

body.woocommerce-cart form.woocommerce-cart-form .woocommerce-content-box > h2 {
    margin: 0;
    padding: 30px 36px 18px;
    border: 0;
    color: var(--hergon-ink);
    font-size: 30px;
    line-height: 1.2;
}

body.woocommerce-cart form.woocommerce-cart-form .woocommerce-content-box > h2::after {
    content: none;
}

body.woocommerce-cart .hergon-cart-list {
    display: grid;
    gap: 0;
    padding: 0 36px 28px;
}

body.woocommerce-cart .hergon-cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 260px);
    gap: 28px;
    align-items: start;
    padding: 28px 0;
    border-top: 1px solid var(--hergon-line);
}

body.woocommerce-cart .hergon-cart-list > .hergon-cart-item:first-of-type {
    border-top: 0;
}

body.woocommerce-cart .hergon-cart-item__main {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    min-width: 0;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
}

body.woocommerce-cart .hergon-cart-item__media,
body.woocommerce-cart .hergon-cart-item__media a {
    display: block;
    width: auto !important;
    max-width: none !important;
    float: none !important;
}

body.woocommerce-cart .shop_table .hergon-cart-item__media.product-thumbnail {
    margin: 0 !important;
}

body.woocommerce-cart .hergon-cart-item__media img {
    display: block;
    width: 88px;
    height: 88px;
    object-fit: cover;
    background: var(--hergon-soft);
}

body.woocommerce-cart .hergon-cart-item__info {
    align-self: start;
    min-width: 0;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-cart .hergon-cart-item__title {
    margin: 0 0 10px;
    color: var(--hergon-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

body.woocommerce-cart .hergon-cart-item__title a {
    color: inherit;
    text-decoration: none;
}

body.woocommerce-cart .hergon-cart-item__title a:hover,
body.woocommerce-cart .hergon-cart-item__title a:focus {
    color: var(--hergon-accent);
}

body.woocommerce-cart .hergon-cart-item__mobile-price {
    display: none;
}

body.woocommerce-cart .hergon-cart-item__meta dl.variation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 3px 12px;
    width: min(100%, 440px);
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--hergon-muted);
    font-size: 12px;
    line-height: 1.35;
}

body.woocommerce-cart .hergon-cart-item__meta {
    margin-top: 8px;
}

body.woocommerce-cart .hergon-cart-item__meta dl.variation dt,
body.woocommerce-cart .hergon-cart-item__meta dl.variation dd {
    float: none;
    clear: none;
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    line-height: 1.35;
    white-space: normal;
}

body.woocommerce-cart .hergon-cart-item__meta dl.variation dt {
    color: var(--hergon-muted);
    font-weight: 500;
}

body.woocommerce-cart .hergon-cart-item__meta dl.variation dd {
    color: var(--hergon-ink);
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

body.woocommerce-cart .hergon-cart-item__meta dl.variation dd p {
    margin: 0;
    padding: 0;
}

body.woocommerce-cart .hergon-cart-item__details-toggle {
    display: none;
    align-items: center;
    justify-content: flex-start;
    justify-self: start;
    align-self: start;
    width: fit-content;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--hergon-ink);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

body.woocommerce-cart .hergon-cart-item__details-toggle:hover,
body.woocommerce-cart .hergon-cart-item__details-toggle:focus {
    background: transparent;
    color: var(--hergon-accent);
}

body.woocommerce-cart .hergon-cart-item__details-toggle:focus-visible,
body.woocommerce-cart .hergon-cart-remove:focus-visible,
body.woocommerce-cart .hergon-cart-update-button:focus-visible,
body.woocommerce-cart .cart_totals .checkout-button:focus-visible,
body.woocommerce-cart .cart_totals .fusion-update-cart:focus-visible,
body.woocommerce-cart .hergon-mobile-checkout-button:focus-visible,
body.woocommerce-cart .hergon-mobile-summary-sheet-close:focus-visible,
body.woocommerce-cart .quantity .minus:focus-visible,
body.woocommerce-cart .quantity .plus:focus-visible,
body.woocommerce-cart .quantity .qty:focus-visible,
body.woocommerce-cart #shipping_method input[type="radio"]:focus-visible {
    outline: 2px solid var(--hergon-accent);
    outline-offset: 3px;
}

body.woocommerce-cart .hergon-cart-item__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-self: stretch;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--hergon-control-line);
    background: var(--hergon-soft-2);
}

body.woocommerce-cart .hergon-cart-item__metric,
body.woocommerce-cart .hergon-cart-item__quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

body.woocommerce-cart .hergon-cart-item__metric-label {
    color: var(--hergon-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
}

body.woocommerce-cart .hergon-cart-item__metric-value {
    color: var(--hergon-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-align: right;
    white-space: nowrap;
}

body.woocommerce-cart .hergon-cart-item__metric--subtotal .hergon-cart-item__metric-value {
    color: var(--hergon-accent);
    font-weight: 700;
}

@media (max-width: 1179px) {
    body.woocommerce-cart .hergon-cart-item__actions {
        align-items: start;
    }

    body.woocommerce-cart .hergon-cart-item__metric,
    body.woocommerce-cart .hergon-cart-item__quantity {
        justify-content: start;
        text-align: left;
    }

    body.woocommerce-cart .hergon-cart-item__metric-label,
    body.woocommerce-cart .hergon-cart-item__metric-value {
        justify-self: start;
        text-align: left;
    }

    body.woocommerce-cart .hergon-cart-item__quantity .quantity {
        justify-self: start;
    }

    body.woocommerce-cart .hergon-cart-item__quantity .hergon-cart-item__metric-label {
        display: none;
    }

    body.woocommerce-cart .hergon-cart-item__remove {
        justify-content: flex-start;
        justify-self: start;
    }
}

body.woocommerce-cart .quantity {
    display: inline-flex;
    align-items: stretch;
    width: auto;
    margin: 0;
    white-space: nowrap;
}

body.woocommerce-cart .shop_table .product-quantity .quantity,
body.woocommerce-cart .hergon-cart-item__quantity.product-quantity .quantity {
    margin: 0 !important;
}

body.woocommerce-cart .quantity .minus,
body.woocommerce-cart .quantity .plus,
body.woocommerce-cart .quantity .qty {
    width: 38px;
    min-width: 38px;
    height: 38px;
    background: var(--hergon-paper) !important;
    border-color: var(--hergon-control-line);
    font-size: 14px;
    line-height: 38px;
    text-align: center;
    transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

body.woocommerce-cart .quantity .qty {
    color: var(--hergon-ink);
}

body.woocommerce-cart .quantity .minus:hover,
body.woocommerce-cart .quantity .plus:hover,
body.woocommerce-cart .quantity .minus:focus,
body.woocommerce-cart .quantity .plus:focus {
    border-color: var(--hergon-accent);
    background: #fff8f0 !important;
    color: var(--hergon-ink);
}

body.woocommerce-cart .hergon-cart-item__remove {
    display: flex;
    justify-content: flex-end;
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.woocommerce-cart .hergon-cart-remove,
body.woocommerce-cart .product-remove a.remove {
    position: static !important;
    inset: auto !important;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 10px 13px;
    border: 1px solid var(--hergon-control-line) !important;
    background: var(--hergon-paper) !important;
    color: var(--hergon-ink) !important;
    font-size: 12px !important;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

body.woocommerce-cart .hergon-cart-remove:hover,
body.woocommerce-cart .hergon-cart-remove:focus,
body.woocommerce-cart .product-remove a.remove:hover,
body.woocommerce-cart .product-remove a.remove:focus {
    border-color: var(--hergon-accent) !important;
    background: #fff8f0 !important;
    color: var(--hergon-accent) !important;
}

body.woocommerce-cart .hergon-cart-remove:active,
body.woocommerce-cart .product-remove a.remove:active {
    transform: translateY(1px);
}

body.woocommerce-cart .hergon-cart-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 22px;
    border-top: 1px solid var(--hergon-line);
}

body.woocommerce-cart .hergon-cart-pairing-upsell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px 24px;
    align-items: center;
    margin: 24px 0 0;
    padding: 22px 24px;
    border: 1px solid var(--hergon-line);
    background: var(--hergon-soft-2);
}

body.woocommerce-cart .hergon-cart-pairing-upsell__copy {
    min-width: 0;
}

body.woocommerce-cart .hergon-cart-pairing-upsell__eyebrow {
    margin: 0 0 6px;
    color: var(--hergon-accent);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

body.woocommerce-cart .hergon-cart-pairing-upsell__title {
    margin: 0 0 7px;
    color: var(--hergon-ink);
    font-size: 20px;
    line-height: 1.25;
}

body.woocommerce-cart .hergon-cart-pairing-upsell__body {
    max-width: 680px;
    margin: 0;
    color: var(--hergon-muted);
    font-size: 13px;
    line-height: 1.45;
}

body.woocommerce-cart .hergon-cart-pairing-upsell__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

body.woocommerce-cart .hergon-cart-pairing-upsell__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 15px;
    border: 1px solid var(--hergon-control-line);
    background: var(--hergon-paper);
    color: var(--hergon-ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

body.woocommerce-cart .hergon-cart-pairing-upsell__button:hover,
body.woocommerce-cart .hergon-cart-pairing-upsell__button:focus {
    border-color: var(--hergon-accent);
    background: #fff8f0;
    color: var(--hergon-accent);
}

body.woocommerce-cart .hergon-cart-pairing-upsell__button:focus-visible {
    outline: 2px solid var(--hergon-accent);
    outline-offset: 3px;
}

body.woocommerce-cart .hergon-cart-pairing-upsell__button:active {
    transform: translateY(1px);
}
body.woocommerce-cart .hergon-cart-actions .coupon {
    display: flex;
    gap: 8px;
    margin-right: auto;
}

body.woocommerce-cart .hergon-cart-actions #coupon_code {
    min-height: 42px;
}

body.woocommerce-cart .hergon-cart-update-button {
    min-height: 42px;
    border: 1px solid var(--hergon-control-line);
    background: var(--hergon-paper);
    color: var(--hergon-ink);
    padding: 0 22px;
    font-weight: 700;
    transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, opacity 140ms ease;
}

body.woocommerce-cart .hergon-cart-update-button:hover,
body.woocommerce-cart .hergon-cart-update-button:focus {
    border-color: var(--hergon-accent);
    color: var(--hergon-accent);
}

body.woocommerce-cart .hergon-cart-update-button:disabled {
    border-color: var(--hergon-line);
    background: #f0ede8;
    color: var(--hergon-muted);
    cursor: not-allowed;
    opacity: 0.55;
}

body.woocommerce-cart .cart-collaterals .shipping-coupon,
body.woocommerce-cart .cart-collaterals .cross-sells {
    display: none;
}

body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .cart-collaterals .cart_totals {
    width: 100%;
}

body.woocommerce-cart .cart_totals {
    border: 1px solid var(--hergon-line);
    background: var(--hergon-paper);
    padding: 28px 30px;
}

body.woocommerce-cart .cart_totals h2 {
    margin: 0 0 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--hergon-line);
    color: var(--hergon-ink);
    font-size: 24px;
    line-height: 1.25;
}

body.woocommerce-cart .cart_totals table.shop_table,
body.woocommerce-cart .cart_totals table.shop_table tbody,
body.woocommerce-cart .cart_totals table.shop_table tr,
body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
    display: block;
    width: 100%;
    border: 0;
}

body.woocommerce-cart .cart_totals table.shop_table {
    margin: 0 0 22px;
}

body.woocommerce-cart .cart_totals table.shop_table tr {
    padding: 16px 0;
    border-bottom: 1px solid var(--hergon-line);
}

body.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal,
body.woocommerce-cart .cart_totals table.shop_table tr.order-total {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
    padding: 0;
    color: var(--hergon-ink);
    text-align: left;
}

body.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal td,
body.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
    text-align: right;
    white-space: nowrap;
}

body.woocommerce-cart .cart_totals .amount {
    color: var(--hergon-ink);
    font-weight: 700;
}

body.woocommerce-cart .cart_totals .order-total .amount {
    color: var(--hergon-accent);
    font-size: 22px;
}

body.woocommerce-cart .cart_totals table.shop_table tr.shipping th {
    margin-bottom: 12px;
    font-size: 0;
}

body.woocommerce-cart .cart_totals table.shop_table tr.shipping th::after {
    content: "Odbiór / dostawa";
    color: var(--hergon-ink);
    font-size: 14px;
    font-weight: 700;
}

body.woocommerce-cart .cart_totals #shipping_method {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.woocommerce-cart .cart_totals #shipping_method li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 13px 14px;
    border: 1px solid var(--hergon-line);
    background: var(--hergon-paper);
    transition: border-color 140ms ease, background-color 140ms ease;
}

body.woocommerce-cart .cart_totals #shipping_method li:has(input:checked) {
    border-color: var(--hergon-accent);
    background: #fff8f0;
}

body.woocommerce-cart .cart_totals #shipping_method li:focus-within {
    border-color: var(--hergon-accent);
    box-shadow: 0 0 0 3px var(--hergon-focus);
}

body.woocommerce-cart .cart_totals #shipping_method input[type="radio"] {
    flex: 0 0 auto;
    margin-top: 4px;
    accent-color: var(--hergon-accent);
}

body.woocommerce-cart .cart_totals #shipping_method label {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    white-space: normal;
}

body.woocommerce-cart .hergon-shipping-label,
body.woocommerce-cart .hergon-shipping-title,
body.woocommerce-cart .hergon-shipping-price,
body.woocommerce-cart .hergon-shipping-desc {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

body.woocommerce-cart .hergon-shipping-title {
    color: var(--hergon-ink);
    font-weight: 700;
    line-height: 1.25;
}

body.woocommerce-cart .hergon-shipping-price {
    margin-top: 3px;
    color: var(--hergon-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}

body.woocommerce-cart .hergon-shipping-desc {
    margin-top: 3px;
    color: var(--hergon-muted);
    font-size: 12px;
    line-height: 1.35;
}

body.woocommerce-cart .woocommerce-shipping-destination,
body.woocommerce-cart .awb-calc-shipping {
    margin-top: 10px;
    color: var(--hergon-muted);
    font-size: 12px;
    line-height: 1.4;
}

body.woocommerce-cart .cart_totals .wc-proceed-to-checkout {
    display: grid;
    gap: 12px;
    padding: 0;
}

body.woocommerce-cart .cart_totals .wc-proceed-to-checkout > a.checkout-button,
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout > a.checkout-button.fusion-button,
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout > a.checkout-button.button {
    display: inline-flex;
    order: 1;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin: 0;
    border: 0;
    background: #1f1f1f;
    color: #fff;
    font-weight: 700;
    text-align: center;
    transition: background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

body.woocommerce-cart .cart_totals .wc-proceed-to-checkout > a.checkout-button:hover,
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout > a.checkout-button:focus {
    background: var(--hergon-accent);
    color: var(--hergon-ink);
}

body.woocommerce-cart .cart_totals .wc-proceed-to-checkout > a.checkout-button:active {
    transform: translateY(1px);
}

body.woocommerce-cart .cart_totals .wc-proceed-to-checkout > a.fusion-update-cart,
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout > a.fusion-update-cart.fusion-button,
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout > a.fusion-update-cart.button {
    display: inline-flex;
    order: 3;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 0;
    border: 1px solid var(--hergon-control-line);
    background: var(--hergon-paper);
    color: var(--hergon-ink);
    font-weight: 700;
    text-align: center;
    transition: border-color 140ms ease, color 140ms ease, background-color 140ms ease;
}

body.woocommerce-cart .cart_totals .wc-proceed-to-checkout > a.fusion-update-cart:hover,
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout > a.fusion-update-cart:focus {
    border-color: var(--hergon-accent);
    color: var(--hergon-accent);
}

body.woocommerce-cart .hergon-checkout-note {
    order: 2;
    margin: -2px 0 0;
    color: var(--hergon-muted);
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

body.woocommerce-cart .hergon-cart-summary-anchor {
    display: block;
    position: relative;
    top: -96px;
}

body.woocommerce-cart .hergon-mobile-checkout-bar,
body.woocommerce-cart .hergon-mobile-summary-backdrop,
body.woocommerce-cart .hergon-mobile-summary-sheet {
    display: none;
}

@media (max-width: 1179px) {
    body.woocommerce-cart #main {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    body.woocommerce-cart #main .fusion-row {
        width: 100% !important;
        max-width: none !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body.woocommerce-cart.hergon-cart-js .hergon-cart-item__details-toggle {
        display: inline-flex;
    }

    body.woocommerce-cart.hergon-cart-js .hergon-cart-item--has-details:not(.is-details-open) .hergon-cart-item__meta {
        display: none;
    }

    body.woocommerce-cart .hergon-cart-item.is-details-open .hergon-cart-item__details-toggle {
        background: transparent;
        color: var(--hergon-accent);
    }
}

@media (min-width: 1180px) {
    body.woocommerce-cart .post-content > .woocommerce,
    body.woocommerce-cart .woocommerce {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
        gap: 32px;
        align-items: start;
    }

    body.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
    body.woocommerce-cart .woocommerce > .woocommerce-message,
    body.woocommerce-cart .woocommerce > .woocommerce-info,
    body.woocommerce-cart .woocommerce > .woocommerce-error {
        grid-column: 1 / -1;
    }

    body.woocommerce-cart .woocommerce > form.woocommerce-cart-form {
        grid-column: 1;
        min-width: 0;
    }

    body.woocommerce-cart .woocommerce > .cart-collaterals {
        grid-column: 2;
        position: sticky;
        top: 104px;
        align-self: start;
        margin-top: 0 !important;
        z-index: 5;
    }

    body.admin-bar.woocommerce-cart .woocommerce > .cart-collaterals {
        top: 136px;
    }
}

@media (min-width: 1180px) and (max-width: 1279px) {
    body.woocommerce-cart .hergon-cart-item {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    body.woocommerce-cart .hergon-cart-item__actions {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: center;
    }

    body.woocommerce-cart .hergon-cart-item__metric,
    body.woocommerce-cart .hergon-cart-item__quantity {
        display: grid;
        gap: 8px;
    }

    body.woocommerce-cart .hergon-cart-item__remove {
        align-self: end;
        justify-content: flex-start;
    }
}

@media (min-width: 900px) and (max-width: 1179px) {
    body.woocommerce-cart .hergon-cart-item {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 24px 0;
    }

    body.woocommerce-cart .hergon-cart-item__actions {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: center;
    }

    body.woocommerce-cart .hergon-cart-item__metric,
    body.woocommerce-cart .hergon-cart-item__quantity {
        display: grid;
        gap: 8px;
    }

    body.woocommerce-cart .hergon-cart-item__remove {
        align-self: end;
        justify-content: flex-start;
    }

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

    body.woocommerce-cart .cart_totals {
        width: min(100%, 620px);
        margin: 0 auto;
    }
}

@media (min-width: 768px) and (max-width: 899px) {
    body.woocommerce-cart form.woocommerce-cart-form .woocommerce-content-box > h2 {
        padding: 28px 22px 18px;
        font-size: 28px;
    }

    body.woocommerce-cart .hergon-cart-list {
        padding: 0 22px 26px;
    }

    body.woocommerce-cart .hergon-cart-item {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 24px 0;
    }

    body.woocommerce-cart .hergon-cart-item__actions {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: center;
    }

    body.woocommerce-cart .hergon-cart-item__metric,
    body.woocommerce-cart .hergon-cart-item__quantity {
        display: grid;
        gap: 8px;
    }

    body.woocommerce-cart .hergon-cart-item__remove {
        align-self: end;
    }

    body.woocommerce-cart .cart-collaterals {
        margin-top: 26px;
    }

    body.woocommerce-cart .cart_totals {
        width: min(100%, 580px);
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    body.woocommerce-cart {
        padding-bottom: 86px;
    }

    body.woocommerce-cart #main {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    body.woocommerce-cart .post-content > .woocommerce,
    body.woocommerce-cart .woocommerce {
        width: 100%;
    }

    body.woocommerce-cart form.woocommerce-cart-form .woocommerce-content-box > h2 {
        padding: 22px 12px 18px;
        font-size: 25px;
    }

    body.woocommerce-cart .hergon-cart-list {
        padding: 0 12px 22px;
    }

    body.woocommerce-cart .hergon-cart-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px 0;
    }

    body.woocommerce-cart .hergon-cart-item__main {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
    }

    body.woocommerce-cart .hergon-cart-item__media img {
        width: 68px;
        height: 68px;
    }

    body.woocommerce-cart .hergon-cart-item__title {
        font-size: 14px;
    }

    body.woocommerce-cart .hergon-cart-item__meta dl.variation {
        grid-template-columns: minmax(0, 1fr) minmax(76px, 45%);
        gap: 3px 8px;
        width: 100%;
        font-size: 11px;
    }

    body.woocommerce-cart .hergon-cart-item__actions {
        grid-template-columns: minmax(0, 1fr) minmax(104px, auto);
        grid-template-areas:
            "price quantity"
            "subtotal remove";
        gap: 13px 14px;
        align-items: start;
        padding: 12px;
    }

    body.woocommerce-cart .hergon-cart-item__metric--price {
        grid-area: price;
    }

    body.woocommerce-cart .hergon-cart-item__quantity {
        grid-area: quantity;
        justify-self: start;
    }

    body.woocommerce-cart .hergon-cart-item__metric--subtotal {
        grid-area: subtotal;
    }

    body.woocommerce-cart .hergon-cart-item__remove {
        grid-area: remove;
        justify-self: start;
    }

    body.woocommerce-cart .hergon-cart-item__metric,
    body.woocommerce-cart .hergon-cart-item__quantity {
        display: grid;
        gap: 6px;
        justify-content: stretch;
    }

    body.woocommerce-cart .hergon-cart-item__quantity .quantity {
        justify-self: start;
    }

    body.woocommerce-cart .hergon-cart-item__metric-value {
        text-align: left;
    }

    body.woocommerce-cart .hergon-cart-item__remove {
        align-self: end;
        justify-content: flex-start;
    }

    body.woocommerce-cart .hergon-cart-actions {
        justify-content: stretch;
    }

    body.woocommerce-cart .hergon-cart-actions .coupon,
    body.woocommerce-cart .hergon-cart-update-button {
        width: 100%;
    }

    body.woocommerce-cart .cart-collaterals {
        margin-top: 22px;
    }

    body.woocommerce-cart .hergon-cart-pairing-upsell {
        grid-template-columns: 1fr;
        margin-top: 204px;
        padding: 18px;
    }

    body.woocommerce-cart .hergon-cart-pairing-upsell__actions {
        justify-content: stretch;
    }

    body.woocommerce-cart .hergon-cart-pairing-upsell__button {
        flex: 1 1 100%;
        width: 100%;
    }
    body.woocommerce-cart.hergon-mobile-summary-mounted .cart-collaterals .cart_totals {
        display: none;
    }

    body.woocommerce-cart .hergon-mobile-summary-sheet .cart_totals {
        display: block;
        border: 0;
        padding: 0;
    }

    body.woocommerce-cart .hergon-mobile-summary-backdrop {
        position: fixed;
        inset: 0;
        z-index: 9997;
        display: block;
        background: rgba(17, 17, 17, 0.42);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 160ms ease;
    }

    body.woocommerce-cart .hergon-mobile-summary-sheet {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 9998;
        display: block;
        max-height: 92vh;
        overflow: auto;
        border-radius: 14px 14px 0 0;
        background: var(--hergon-paper);
        transform: translateY(104%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 180ms ease;
        box-shadow: 0 -16px 40px rgba(17, 17, 17, 0.18);
    }

    body.woocommerce-cart.hergon-summary-sheet-open .hergon-mobile-summary-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.woocommerce-cart.hergon-summary-sheet-open .hergon-mobile-summary-sheet {
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
    }

    body.woocommerce-cart .hergon-mobile-summary-sheet-header {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 16px;
        border-bottom: 1px solid var(--hergon-line);
        background: var(--hergon-paper);
    }

    body.woocommerce-cart .hergon-mobile-summary-sheet-title {
        margin: 0;
        color: var(--hergon-ink);
        font-size: 20px;
        line-height: 1.2;
    }

    body.woocommerce-cart .hergon-mobile-summary-sheet-close {
        flex: 0 0 auto;
        width: 34px;
        height: 34px;
        border: 1px solid var(--hergon-control-line);
        background: var(--hergon-paper);
        color: var(--hergon-ink);
        font-size: 22px;
        line-height: 1;
        transition: border-color 140ms ease, color 140ms ease;
    }

    body.woocommerce-cart .hergon-mobile-summary-sheet-close:hover,
    body.woocommerce-cart .hergon-mobile-summary-sheet-close:focus {
        border-color: var(--hergon-accent);
        color: var(--hergon-accent);
    }

    body.woocommerce-cart .hergon-mobile-summary-sheet-body {
        padding: 12px;
    }

    body.woocommerce-cart .hergon-mobile-summary-sheet .cart_totals h2 {
        display: none;
    }

    body.woocommerce-cart .hergon-mobile-checkout-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 9996;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(150px, auto);
        gap: 12px;
        align-items: center;
        padding: 10px 14px;
        border-top: 1px solid var(--hergon-line);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 -10px 24px rgba(17, 17, 17, 0.08);
    }

    body.woocommerce-cart .hergon-mobile-checkout-total {
        display: grid;
        min-width: 0;
    }

    body.woocommerce-cart .hergon-mobile-checkout-label {
        color: var(--hergon-muted);
        font-size: 11px;
        font-weight: 700;
        line-height: 1.2;
    }

    body.woocommerce-cart .hergon-mobile-checkout-amount {
        color: var(--hergon-accent);
        font-size: 17px;
        font-weight: 800;
        line-height: 1.2;
    }

    body.woocommerce-cart .hergon-mobile-checkout-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        padding: 0 16px;
        background: #1f1f1f;
        color: #fff;
        font-size: 14px;
        font-weight: 800;
        line-height: 1.15;
        text-align: center;
        text-decoration: none;
        transition: background-color 140ms ease, color 140ms ease, transform 140ms ease;
    }

    body.woocommerce-cart .hergon-mobile-checkout-button:hover,
    body.woocommerce-cart .hergon-mobile-checkout-button:focus {
        background: var(--hergon-accent);
        color: var(--hergon-ink);
    }

    body.woocommerce-cart .hergon-mobile-checkout-button:active {
        transform: translateY(1px);
    }
}

@media (min-width: 560px) and (max-width: 767px) {
    body.woocommerce-cart .hergon-cart-item__actions {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
        grid-template-areas: "price quantity subtotal remove";
    }
}

@media (min-width: 560px) and (max-width: 1179px) {
    body.woocommerce-cart .hergon-cart-item__info {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "title mobile-price"
            "toggle toggle"
            "meta meta";
        column-gap: 16px;
        row-gap: 0;
        align-content: start;
        align-items: start;
        grid-auto-rows: max-content;
    }

    body.woocommerce-cart .hergon-cart-item__title {
        grid-area: title;
        margin-bottom: 0;
    }

    body.woocommerce-cart .hergon-cart-item__mobile-price {
        grid-area: mobile-price;
        display: grid;
        gap: 2px;
        justify-items: end;
        color: var(--hergon-ink);
        line-height: 1.2;
        text-align: right;
        white-space: nowrap;
    }

    body.woocommerce-cart .hergon-cart-item__mobile-price-label {
        display: none;
    }

    body.woocommerce-cart .hergon-cart-item__mobile-price-value {
        color: var(--hergon-ink);
        font-size: 14px;
        font-weight: 700;
    }

    body.woocommerce-cart .hergon-cart-item__details-toggle {
        grid-area: toggle;
        margin-top: 3px;
    }

    body.woocommerce-cart .hergon-cart-item__meta {
        grid-area: meta;
    }

    body.woocommerce-cart .hergon-cart-item__metric--price {
        display: none;
    }

    body.woocommerce-cart .hergon-cart-item__actions {
        grid-template-columns: auto auto minmax(0, 1fr) auto;
        grid-template-areas: "quantity subtotal . remove";
        align-items: center;
    }

    body.woocommerce-cart .hergon-cart-item__quantity,
    body.woocommerce-cart .hergon-cart-item__metric--subtotal {
        align-self: center;
        justify-self: start;
    }

    body.woocommerce-cart .hergon-cart-item__metric--subtotal .hergon-cart-item__metric-label {
        display: none;
    }

    body.woocommerce-cart .hergon-cart-item__remove {
        align-self: center;
        justify-self: end;
        justify-content: flex-end;
    }
}

@media (max-width: 559px) {
    body.woocommerce-cart .hergon-cart-item__info {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "title mobile-price"
            "toggle toggle"
            "meta meta";
        column-gap: 10px;
        row-gap: 0;
        align-content: start;
        align-items: start;
        grid-auto-rows: max-content;
    }

    body.woocommerce-cart .hergon-cart-item__title {
        grid-area: title;
        margin-bottom: 0;
    }

    body.woocommerce-cart .hergon-cart-item__mobile-price {
        grid-area: mobile-price;
        display: grid;
        gap: 2px;
        justify-items: end;
        max-width: 96px;
        color: var(--hergon-ink);
        line-height: 1.2;
        text-align: right;
        white-space: nowrap;
    }

    body.woocommerce-cart .hergon-cart-item__mobile-price-label {
        display: none;
    }

    body.woocommerce-cart .hergon-cart-item__mobile-price-value {
        color: var(--hergon-ink);
        font-size: 13px;
        font-weight: 700;
    }

    body.woocommerce-cart .hergon-cart-item__details-toggle {
        grid-area: toggle;
        margin-top: 3px;
    }

    body.woocommerce-cart .hergon-cart-item__meta {
        grid-area: meta;
    }

    body.woocommerce-cart .hergon-cart-item__metric--price {
        display: none;
    }

    body.woocommerce-cart .hergon-cart-item__actions {
        grid-template-columns: auto auto minmax(0, 1fr) auto;
        grid-template-areas: "quantity subtotal . remove";
        gap: 12px;
        align-items: center;
    }

    body.woocommerce-cart .hergon-cart-item__quantity,
    body.woocommerce-cart .hergon-cart-item__metric--subtotal {
        align-self: center;
        justify-self: start;
    }

    body.woocommerce-cart .hergon-cart-item__quantity .hergon-cart-item__metric-label,
    body.woocommerce-cart .hergon-cart-item__metric--subtotal .hergon-cart-item__metric-label {
        display: none;
    }

    body.woocommerce-cart .hergon-cart-item__metric--subtotal {
        align-self: center;
    }

    body.woocommerce-cart .hergon-cart-item__remove {
        align-self: center;
        justify-self: end;
        justify-content: flex-end;
    }
}

@media (max-width: 360px) {
    body.woocommerce-cart form.woocommerce-cart-form .woocommerce-content-box > h2 {
        padding: 20px 10px 18px;
        font-size: 23px;
    }

    body.woocommerce-cart .hergon-cart-list {
        padding: 0 10px 20px;
    }

    body.woocommerce-cart .hergon-cart-item__main {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 10px;
    }

    body.woocommerce-cart .hergon-cart-item__media img {
        width: 58px;
        height: 58px;
    }

    body.woocommerce-cart .hergon-cart-item__actions {
        grid-template-columns: auto auto minmax(0, 1fr) auto;
        gap: 12px 10px;
        padding: 10px;
    }

    body.woocommerce-cart .quantity .minus,
    body.woocommerce-cart .quantity .plus,
    body.woocommerce-cart .quantity .qty {
        width: 32px;
        min-width: 32px;
    }

    body.woocommerce-cart .hergon-mobile-checkout-bar {
        grid-template-columns: minmax(0, 0.72fr) minmax(138px, 1fr);
        gap: 8px;
        padding: 9px 12px;
    }

    body.woocommerce-cart .hergon-mobile-checkout-button {
        padding: 0 12px;
        font-size: 13px;
    }
}
