body.hb-cart .site-footer {
    margin-top: 0;
}

body.hb-cart .site-header .container,
body.hb-cart .announcement-bar .container,
body.hb-cart .header-search-container .container,
body.hb-cart .site-footer .container,
.hb-cart-page .hb-shell {
    max-width: 88rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 4rem;
    padding-right: 4rem;
    box-sizing: border-box;
}

.hb-cart-page {
    background: #fff;
    color: var(--color-charcoal);
}

.hb-cart-page h1,
.hb-cart-page h2 {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    color: var(--color-charcoal);
    max-width: none;
}

.hb-cart-hero {
    background: var(--color-ivory);
    border-bottom: 1px solid var(--color-border);
    padding: 3.5rem 0 4.25rem;
}

.hb-cart-crumbs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.hb-cart-crumbs a {
    color: inherit;
    text-decoration: none;
}

.hb-cart-crumbs a:hover {
    color: var(--color-forest);
}

.hb-cart-kicker {
    margin: 0;
    color: var(--color-harvest);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hb-cart-hero h1 {
    margin: 1.15rem 0 0;
    font-size: clamp(2.6rem, 4.6vw, 4rem);
    font-weight: 800;
    line-height: 0.98;
}

.hb-cart-main {
    padding: 4rem 0 5.5rem;
}

.hb-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(16rem, 1fr);
    gap: clamp(2.5rem, 4vw, 5rem);
    align-items: start;
}

.hb-cart-page .hb-cart-items {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.hb-cart-row {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem 0;
}

.hb-cart-page .hb-cart-row + .hb-cart-row {
    border-top: 1px solid var(--color-border);
}

.hb-cart-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 6rem;
    width: 6rem;
    height: 7rem;
    padding: 0.45rem;
    border: 1px solid rgba(232, 229, 218, 0.9);
    background: #FBF9F4;
}

.hb-cart-page .woocommerce .hb-cart-photo img,
.woocommerce-page .hb-cart-photo img,
.hb-cart-photo img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

.hb-cart-row-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.hb-cart-row-top,
.hb-cart-row-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.hb-cart-row-copy h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
}

.hb-cart-row-copy h2 a {
    color: inherit;
    text-decoration: none;
}

.hb-cart-row-copy h2 a:hover {
    color: var(--color-forest);
}

.hb-cart-row-copy p {
    margin: 0.3rem 0 0;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.hb-cart-remove,
.hb-cart-qty button {
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
    cursor: pointer;
}

.hb-cart-remove {
    color: rgba(28, 33, 29, 0.4);
}

.hb-cart-remove:hover {
    color: var(--color-forest);
}

.hb-cart-row-bottom {
    align-items: center;
    margin-top: auto;
    padding-top: 1.15rem;
}

.hb-cart-row-bottom strong {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
}

.hb-cart-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border-strong);
    background: #fff;
}

.hb-cart-qty button,
.hb-cart-qty span {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    color: rgba(28, 33, 29, 0.7);
}

.hb-cart-qty span {
    width: auto;
    min-width: 1.5rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-charcoal);
}

.hb-cart-qty button:hover:not(:disabled) {
    color: var(--color-forest);
}

.hb-cart-qty button:disabled {
    opacity: 0.3;
    cursor: default;
}

.hb-cart-summary {
    background: var(--color-cream);
    padding: 2.5rem;
}

.hb-cart-summary h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.hb-cart-summary dl {
    margin: 1.75rem 0 0;
}

.hb-cart-summary dl div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.85rem;
    font-size: 0.9rem;
}

.hb-cart-summary dt {
    color: var(--text-muted);
}

.hb-cart-summary dd {
    margin: 0;
}

.hb-cart-summary .is-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(28, 33, 29, 0.1);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
}

.hb-cart-summary .is-total dt {
    color: var(--color-charcoal);
}

.hb-cart-note,
.hb-cart-demo {
    margin: 1rem 0 0;
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.55;
}

.hb-cart-page .hb-cart-checkout,
.hb-cart-page .hb-cart-continue,
.hb-cart-page .hb-cart-shop {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
}

.hb-cart-page .hb-cart-checkout,
.hb-cart-page .hb-cart-shop {
    min-height: 3.5rem;
    margin-top: 1.75rem;
    background: var(--color-forest);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hb-cart-page .hb-cart-checkout:hover,
.hb-cart-page .hb-cart-shop:hover {
    background: var(--color-harvest);
    color: #fff;
}

.hb-cart-page .hb-cart-continue {
    min-height: 2.75rem;
    margin-top: 0.25rem;
    background: transparent;
    color: var(--color-charcoal);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hb-cart-page .hb-cart-continue:hover {
    color: var(--color-forest);
}

.hb-cart-demo {
    margin-top: 1.4rem;
}

.hb-cart-page .hb-cart-empty h2 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.hb-cart-page .hb-cart-empty p {
    max-width: 28rem;
    margin: 0.75rem 0 0;
    color: var(--text-muted);
}

.hb-cart-page .hb-cart-shop {
    width: auto;
    padding: 0 1.75rem;
}

@media (max-width: 1280px) {
    body.hb-cart .site-header .container,
    body.hb-cart .announcement-bar .container,
    body.hb-cart .header-search-container .container,
    body.hb-cart .site-footer .container,
    .hb-cart-page .hb-shell {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 1024px) {
    body.hb-cart .site-header .container,
    body.hb-cart .announcement-bar .container,
    body.hb-cart .header-search-container .container,
    body.hb-cart .site-footer .container,
    .hb-cart-page .hb-shell {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hb-cart-hero {
        padding: 2.75rem 0 3rem;
    }

    .hb-cart-main {
        padding: 2.5rem 0 3.5rem;
    }

    .hb-cart-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .hb-cart-hero h1 {
        font-size: 2.5rem;
    }

    .hb-cart-summary {
        padding: 1.5rem;
    }

    .hb-cart-photo {
        flex-basis: 5rem;
        width: 5rem;
        height: 6rem;
    }
}
