.brom-mobile-cart { display: none; }

@media (max-width: 991px) {
    .header_top_wrapp .brom-mobile-cart {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        color: white;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
    }
}

/* The theme supplies the page background, heading, cart surfaces, quantity buttons and checkout link. */
dialog.brom-cart {
    --cart-gutter: clamp(14px, 4vw, 24px);
    font-size: 1rem;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(100%, 460px);
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    border-inline-start: 1px solid rgb(255 255 255 / 12%);
    box-sizing: border-box;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 220ms ease-in;
}
.brom-cart:not([open]), .brom-cart [hidden] { display: none; }
.brom-cart[open] { display: flex; flex-direction: column; }
.brom-cart.is-open { transform: translateX(0); transition: transform 280ms ease-out; }
.brom-cart::backdrop { background: rgb(0 0 0 / 0%); transition: background-color 220ms ease; }
.brom-cart.is-open::backdrop { background: rgb(0 0 0 / 55%); }
html.brom-cart-open, html.brom-cart-open body { overflow: hidden; }
.brom-cart *, .brom-cart *::after, .brom-cart *::before { box-sizing: border-box; }
.brom-cart button { font-family: inherit; cursor: pointer; }
.brom-cart :is(a, button):focus-visible, .brom-mobile-cart:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}

.brom-cart__header {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: max(22px, env(safe-area-inset-top)) var(--cart-gutter) 14px;
}
.brom-cart__heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
.brom-cart .brom-cart__heading .h1 { margin: 0; }
.brom-cart__count, .brom-cart__status { color: rgb(255 255 255 / 75%); font-size: .9375rem; }
.brom-cart__close, .brom-cart .brom-cart__remove {
    width: 44px;
    height: 44px;
    flex: none;
    padding: 0;
    border: 0;
    background-color: transparent;
}
.brom-cart__close {
    display: grid;
    place-items: center;
    color: white;
    font-size: 2rem;
    line-height: 1;
}
.brom-cart .brom-cart__remove { background-size: 20px; }
.brom-cart__close:hover, .brom-cart__remove:hover { opacity: .72; }
.brom-cart__status { flex: none; margin-inline: var(--cart-gutter); }
.brom-cart__status[data-kind] { margin-bottom: 16px; }
.brom-cart__status[data-kind="error"] { padding-inline-start: 12px; border-inline-start: 3px solid #e5696c; color: white; }

.brom-cart__content {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    overflow-y: auto;
    padding: 0 var(--cart-gutter) max(16px, env(safe-area-inset-bottom));
}
.brom-cart__items {
    flex: 0 1 auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
}
.brom-cart__item { padding: 18px 20px; }
.brom-cart__item + .brom-cart__item { margin-top: 10px; }
.brom-cart__product { display: flex; align-items: center; gap: 14px; }
.brom-cart__thumb { width: min(22%, 80px); height: auto; max-height: 76px; object-fit: contain; }
.brom-cart__detail { min-width: 0; overflow-wrap: anywhere; }
.brom-cart__detail h3 { margin: 0; font-size: 1em; line-height: 1.3; }
.brom-cart__detail dl.variation { margin: 6px 0 0; color: rgb(255 255 255 / 75%); font-size: .875rem; }
.brom-cart__detail dl.variation :is(dt, dd, p) { display: inline; margin: 0; float: none; }
.brom-cart__detail dd::after { content: ""; display: block; }
.brom-cart__line-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 14px; }
.brom-cart .brom-cart__stepper { align-items: center; flex: none; max-width: none; color: #07051e; background: white; }
.brom-cart .brom-cart__stepper button { width: 44px; color: inherit; font-size: 1.125rem; font-weight: 700; }
.brom-cart__stepper span { min-width: 1.25em; text-align: center; font-weight: 600; }
.brom-cart__stepper button:disabled { opacity: .4; cursor: default; }
.brom-cart__stepper button:not(:disabled):hover { background-color: #eee; }
.brom-cart__stepper button:focus-visible { outline-color: #1c199c; outline-offset: -3px; }
.brom-cart__price { margin-inline-start: auto; font-weight: 700; }

.brom-cart .brom-cart__footer { width: 100%; max-width: none; margin: 10px 0 0; }
.brom-cart__footer .cart_totals { float: none; width: 100%; }
.brom-cart__footer .brom-cart__subtotal { gap: 8px; margin: 0 0 16px; }
.brom-cart__footer .wc-proceed-to-checkout { padding: 0; }
.brom-cart__footer .wc-proceed-to-checkout a { margin: 0; }
.brom-cart__recovery {
    align-self: flex-start;
    min-height: 44px;
    margin: 0 var(--cart-gutter) 16px;
}
.brom-cart__empty { padding-top: 6px; }
.brom-cart__empty p { margin: 0 0 12px; }

@media (max-height: 490px) {
    .brom-cart__header { padding-block: max(4px, env(safe-area-inset-top)) 4px; }
    .brom-cart .brom-cart__heading .h1 { font-size: 1.75rem; }
    .brom-cart__status[data-kind] { margin-bottom: 6px; }
    .brom-cart .brom-cart__footer .cart_totals { padding: 12px 16px; }
    .brom-cart__footer .brom-cart__subtotal { margin-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    dialog.brom-cart, .brom-cart.is-open, .brom-cart::backdrop, .brom-cart *, .brom-cart *::before { transition: none; }
    .brom-cart[open] { scroll-behavior: auto; }
}
