.cart-wrap .lb-basket-trigger {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #c79a5d;
    cursor: pointer;
}

.lb-basket-trigger i {
    position: absolute;
    top: 4px;
    right: 0;
    font-size: 34px;
}
.lb-basket-trigger .header-cart-count {
    position: absolute;
    top: 17px;
    right: 7px;
    width: 24px;
    background: #c79a5d;
    color: white;
    font: bold 14px/17px Lato, sans-serif;
    min-width: 20px;
    text-align: center;
}

#lb-basket-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 100001;
    width: min(26rem, calc(100% - 48px));
    max-width: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    color: #282828;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .25s ease-in-out;
}
#lb-basket-drawer.show { visibility: visible; transform: none; }
body.lb-basket-visible > .offcanvas-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: #000;
}
body.lb-basket-visible > .offcanvas-backdrop.show { opacity: .48; }

.lb-basket-heading {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #ddd;
}
.lb-basket-heading h2 { margin: 0; font-size: 1.5rem; }
.lb-basket-heading button {
    width: 44px;
    height: 44px;
    font: 1.75rem/1 sans-serif;
    background: transparent;
    color: inherit;
    border: 0;
    cursor: pointer;
}
#lb-basket-drawer .site-header-cart {
    display: flex !important;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    padding: 0;
    flex: 1;
}
#lb-basket-drawer .widget_shopping_cart,
#lb-basket-drawer .widget_shopping_cart_content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}
#lb-basket-drawer .woocommerce-mini-cart {
    flex: 1 1 auto;
    min-height: 4rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.25rem;
    margin: 0;
}
#lb-basket-drawer .widget_shopping_cart > .font-weight-bold { display: none; }
#lb-basket-drawer .lb-basket-empty {
    display: grid;
    gap: 1rem;
    padding: 2.5rem 1.25rem;
    text-align: center;
}
#lb-basket-drawer .lb-basket-empty i { color: #857967; font-size: 2.25rem; }
#lb-basket-drawer .lb-basket-empty p { margin: 0; font: inherit; font-size: 1.25rem; }
#lb-basket-drawer .lb-basket-empty a { padding: .75rem 1rem; }
#lb-basket-drawer .mini_cart_item {
    display: flow-root;
    position: relative;
    padding: 0 2.5rem 1rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}
#lb-basket-drawer .mini_cart_item img {
    float: left;
    width: 56px;
    height: auto;
    margin: 0 .75rem 0 0;
}
#lb-basket-drawer .mini_cart_item .remove {
    position: absolute;
    inset: 0 0 auto auto;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
}
#lb-basket-drawer .mini_cart_item:has(> .blockOverlay),
.woocommerce-cart .woocommerce-cart-form table.cart .lb-basket-removing-item {
    background-color: #f2f3f4;
    border-radius: 4px;
}
#lb-basket-drawer .mini_cart_item > .blockOverlay,
.woocommerce-cart .lb-basket-removal-overlay {
    background: transparent !important;
    cursor: wait !important;
}
.woocommerce-cart .woocommerce-cart-form table.cart .lb-basket-removing-item .product-remove > a.remove {
    position: relative;
}
:is(#lb-basket-drawer .mini_cart_item:has(> .blockOverlay) > .remove_from_cart_button,
    .woocommerce-cart .woocommerce-cart-form .lb-basket-removing-item .product-remove > a.remove) {
    background: transparent !important;
    color: transparent !important;
    transition: none;
}
:is(#lb-basket-drawer .mini_cart_item:has(> .blockOverlay) > .remove_from_cart_button,
    .woocommerce-cart .woocommerce-cart-form .lb-basket-removing-item .product-remove > a.remove)::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 16px;
    height: 16px;
    border: 2px solid #a0a6ab;
    border-top-color: #4d565b;
    border-radius: 50%;
    animation: lb-basket-remove-spin .75s linear infinite;
}
@keyframes lb-basket-remove-spin {
    to { transform: rotate(1turn); }
}
#lb-basket-drawer .quantity { display: block; }
.woocommerce-cart .woocommerce-cart-form table.cart .product-name > a,
#lb-basket-drawer .mini_cart_item > a:not(.remove) {
    padding: 0;
    border-bottom: 0;
    background: transparent;
    color: #282828;
    text-decoration: underline;
    font-weight: 500;
    text-decoration-thickness: 1px;
    text-decoration-color: #b5aca0;
    text-underline-offset: .18em;
    transition: color .15s ease, text-decoration-color .15s ease;
}
.woocommerce-cart .woocommerce-cart-form table.cart .product-name > a:is(:hover, :focus-visible),
#lb-basket-drawer .mini_cart_item > a:not(.remove):is(:hover, :focus-visible) {
    color: #735522;
    text-decoration-color: #735522;
}
.woocommerce-cart .woocommerce-cart-form table.cart .product-name > a:focus-visible {
    outline: 2px solid #735522;
    outline-offset: 2px;
}
#lb-basket-drawer .lb-basket-footer {
    flex: none;
    border-top: 1px solid #dedbd5;
    background: #f7f6f3;
    padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
}
#lb-basket-drawer .lb-basket-footer .lb-basket-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: .75rem;
}
#lb-basket-drawer .lb-basket-summary-row > :last-child {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
#lb-basket-drawer .buttons { display: grid; gap: .5rem; margin-top: 1rem; }
#lb-basket-drawer .buttons .btn { margin: 0; padding: .625rem .75rem; }
#lb-basket-drawer .buttons .btn-info {
    background: #fff;
    border-color: #625b51;
    color: #282828;
}
#lb-basket-drawer .buttons .btn-info:hover { background: #eeeae3; }
:is(#lb-basket-drawer .lb-basket-footer .btn-success, .woocommerce-cart .wc-proceed-to-checkout .btn-success, .woocommerce-checkout #place_order.btn-success) {
    --lb-checkout-green: #1e7e34;
    background-color: var(--lb-checkout-green);
    border-color: var(--lb-checkout-green);
    color: #fff;
}

:is(#lb-basket-drawer .lb-basket-footer .btn-success, .woocommerce-cart .wc-proceed-to-checkout .btn-success, .woocommerce-checkout #place_order.btn-success):not(:disabled, .disabled):hover {
    --lb-checkout-green: #18652a;
}

:is(#lb-basket-drawer .lb-basket-footer .btn-success, .woocommerce-cart .wc-proceed-to-checkout .btn-success, .woocommerce-checkout #place_order.btn-success):not(:disabled, .disabled):active {
    --lb-checkout-green: #145522;
}

:is(.woocommerce-cart .wc-proceed-to-checkout .btn-success, .woocommerce-checkout #place_order.btn-success):focus-visible {
    outline: 2px solid #735522;
    outline-offset: 2px;
    box-shadow: none;
}

.woocommerce-cart #lb-basket-drawer .buttons .btn-info { display: none; }
#lb-basket-drawer .buttons .btn:is(:focus, :active) { box-shadow: none; }
.cart-wrap .lb-basket-trigger:focus:not(:focus-visible),
#lb-basket-drawer.lb-pointer-focus .buttons .btn:focus,
#lb-basket-drawer .buttons .btn:focus:not(:focus-visible),
#lb-basket-drawer .lb-basket-heading button:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}
#lb-basket-drawer :focus-visible, .cart-wrap .lb-basket-trigger:focus-visible {
    outline: 2px solid #735522;
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    #lb-basket-drawer,
    .woocommerce-cart .woocommerce-cart-form table.cart .product-name > a,
    #lb-basket-drawer .mini_cart_item > a:not(.remove) { transition: none; }
    :is(#lb-basket-drawer .mini_cart_item:has(> .blockOverlay) > .remove_from_cart_button,
        .woocommerce-cart .woocommerce-cart-form .lb-basket-removing-item .product-remove > a.remove)::after { animation: none; }
}
