/** Lovingit slide-out cart. The theme's former hover minicart is no longer rendered. **/
body.nx-sidecart-open { overflow: hidden !important; }

/* Keep the original crisp 24x25 bag icon and its baseline in the header. */
body .site-header .nx-header-cart {
    display: flex; align-items: center; justify-content: center;
    padding: 10px; margin: auto 0; list-style: none;
}
body .site-header .nx-header-cart .nx-sidecart-trigger,
body .site-header .nx-header-cart .nx-sidecart-trigger:hover,
body .site-header .nx-header-cart .nx-sidecart-trigger:focus {
    -webkit-appearance: none; appearance: none;
    display: inline-flex; align-items: center; justify-content: center;
    position: relative; width: 24px; height: 25px; min-width: 24px; min-height: 25px;
    margin: 0; padding: 0; border: 0; border-radius: 0;
    background: transparent !important; box-shadow: none !important;
    cursor: pointer; line-height: 1; vertical-align: middle;
}
body .site-header .nx-header-cart .cart-ico {
    position: relative; top: 1px; display: block;
    flex: 0 0 24px; width: 24px; height: 25px;
}
body .site-header .nx-header-cart .cart-ico svg,
body .site-header .nx-header-cart .nx-sidecart-trigger:hover .cart-ico svg {
    display: block; width: 24px; height: 25px; max-width: none; max-height: none;
    min-width: 24px; min-height: 25px; margin: 0; padding: 0;
    fill: none !important; stroke: none !important;
    transform: none !important; transition: none !important;
}
body .site-header .nx-header-cart .cart-ico svg path,
body .site-header .nx-header-cart .nx-sidecart-trigger:hover .cart-ico svg path {
    fill: #000 !important; stroke: none !important;
}
body .site-header .nx-header-cart .nx-sidecart-trigger .shopping-cart-count,
body .site-header .nx-header-cart .nx-sidecart-trigger:hover .shopping-cart-count {
    display: flex; justify-content: center; align-items: center;
    position: absolute; right: -7px; top: -2px; min-width: 18px; height: 18px;
    padding: 0 4px; border-radius: 50%; background: #435454; color: #fff;
    font-size: 10px; font-weight: 600; line-height: 18px; letter-spacing: 0;
    box-sizing: border-box;
}
body .site-header .nx-header-cart .nx-sidecart-trigger:hover .shopping-cart-count { background: #579b9e; }
.site-header .nx-sidecart-trigger:focus-visible { outline: 2px solid #579b9e; outline-offset: 4px; }
@media (max-width: 980px) {
    body .site-header .nx-header-cart { padding: 0; }
}

/* Dedicated full-screen overlay, outside the site's header stacking context. */
body .side-cart.nx-sidecart,
body .side-cart.nx-sidecart.s-open {
    position: fixed; z-index: 999999; inset: 0; top: 0; left: 0; right: 0;
    width: 100%; height: 100dvh; margin: 0; padding: 0;
    background: transparent; overflow: hidden; box-shadow: none;
    visibility: hidden; pointer-events: none; opacity: 1;
    transition: visibility 0s linear .28s;
}
body .side-cart.nx-sidecart.s-open {
    visibility: visible; pointer-events: auto; transition: none;
}
body .side-cart.nx-sidecart > .nx-sidecart__backdrop {
    position: absolute; inset: 0; display: block; width: 100%; height: 100%;
    padding: 0; margin: 0; border: 0; border-radius: 0;
    background: rgba(15, 31, 31, .28); cursor: default;
    opacity: 0; transition: opacity .28s ease;
}
body .side-cart.nx-sidecart.s-open > .nx-sidecart__backdrop { opacity: 1; }

body .side-cart.nx-sidecart > .nx-sidecart__panel {
    position: absolute; inset: 0 0 0 auto; display: flex; flex-direction: column;
    box-sizing: border-box; width: min(440px, 100vw); height: 100%;
    max-height: 100%; min-width: 0; margin: 0; padding: 0;
    background: #fff; color: #263536; border: 0; border-radius: 0;
    transform: translate3d(28px, 0, 0); opacity: 0;
    transition: transform .28s cubic-bezier(.22,.61,.36,1), opacity .28s ease;
    box-shadow: -16px 0 55px rgba(15, 35, 35, .09);
    font-family: inherit; text-align: left;
}
body .side-cart.nx-sidecart.s-open > .nx-sidecart__panel { transform: translate3d(0, 0, 0); opacity: 1; }
.nx-sidecart__panel:focus { outline: none; }
.nx-sidecart__panel, .nx-sidecart__panel * { box-sizing: border-box; }
.nx-sidecart__panel button, .nx-sidecart__panel a { -webkit-tap-highlight-color: transparent; }
.nx-sidecart__panel button:focus-visible, .nx-sidecart__panel a:focus-visible {
    outline: 2px solid #579b9e; outline-offset: 3px;
}

.nx-sidecart__header {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    min-height: 88px; flex: 0 0 auto; padding: 15px 24px 13px;
    border-bottom: 1px solid #e9efed; background: #fff;
}
.nx-sidecart__heading { min-width: 0; }
.nx-sidecart__eyebrow {
    display: block; font-size: 11px; font-weight: 700; line-height: 1.35;
    text-transform: uppercase; letter-spacing: .17em; color: #579b9e; margin-bottom: 4px;
}
.nx-sidecart__header h2,
body .side-cart.nx-sidecart h2 {
    display: flex; align-items: center; gap: 11px; margin: 0;
    font-size: clamp(23px, 3vw, 27px); font-weight: 650;
    line-height: 1.2; letter-spacing: -.035em; text-transform: none; color: #233b3b;
    text-align: left;
}
.nx-sidecart__title-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 26px; height: 26px; padding: 0 7px; background: #edf4f3;
    color: #466e6e; border-radius: 100px; font-size: 13px; font-weight: 700; line-height: 1.2;
    letter-spacing: 0;
}
.nx-sidecart__close {
    display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px;
    border: 1px solid #e5ece9; border-radius: 50%; padding: 0;
    background: #fff; color: #334947; cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}
.nx-sidecart__close:hover { background: #f2f7f5; border-color: #c8dbd8; }
.nx-sidecart__close svg { width: 19px; height: 19px; }
.nx-sidecart__notice {
    flex: 0 0 auto; font-size: 13px; font-weight: 550; color: #327c76;
    max-height: 0; padding: 0 28px; overflow: hidden;
    transition: max-height .2s ease, padding .2s ease;
}
.nx-sidecart__notice:not(:empty) { max-height: 100px; padding: 12px 28px; background: #eff8f6; }
.nx-sidecart__notice.is-error:not(:empty) { background: #fff0ec; color: #9d432c; }

.nx-sidecart__content { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; overflow: hidden; }
.nx-sidecart__scroll {
    flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: #cad9d4 transparent;
}
.nx-sidecart__scroll:focus { outline: none; }
.nx-sidecart__scroll:focus-visible { outline: 2px solid #579b9e; outline-offset: -2px; }
.nx-sidecart__items { padding: 5px 24px 0; }
.nx-sidecart__item {
    display: grid; grid-template-columns: 72px minmax(0,1fr); column-gap: 12px;
    border-bottom: 1px solid #ecf0ee; padding: 12px 0;
    text-align: left;
}
.nx-sidecart__item:last-child { border-bottom: 0; }
.nx-sidecart__image {
    align-self: start; width: 72px; aspect-ratio: 1 / 1;
    border-radius: 8px; background: #f7f8f6; overflow: hidden;
}
.nx-sidecart__image img { display: block; width: 100%; height: 100%; object-fit: contain; margin: 0; border-radius: 0; }
.nx-sidecart__image a { display: block; width: 100%; height: 100%; }
.nx-sidecart__item-details { display: flex; flex-direction: column; min-width: 0; }
.nx-sidecart__item-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.nx-sidecart__item-title, .nx-sidecart__item-title a {
    font-size: 13px; font-weight: 650; line-height: 1.34; color: #203737;
    text-decoration: none; border: 0; overflow-wrap: anywhere;
}
.nx-sidecart__item-title a:hover { color: #579b9e; }
.nx-sidecart__remove {
    flex: 0 0 24px; display: grid; place-items: center; width: 26px; height: 26px;
    margin: -4px -4px 0 0; padding: 3px; border: 0; border-radius: 5px;
    background: transparent; color: #93a2a1; cursor: pointer;
}
.nx-sidecart__remove:hover { color: #bc5b53; background: #fff1f0; }
.nx-sidecart__remove svg { width: 17px; height: 17px; }
.nx-sidecart__variations { margin-top: 3px; font-size: 11px; line-height: 1.3; color: #758382; }
.nx-sidecart__variations dl, .nx-sidecart__variations dd, .nx-sidecart__variations dt, .nx-sidecart__variations p { margin: 0; }
.nx-sidecart__variations dl.variation { display: flex; flex-wrap: wrap; gap: 2px 5px; }
.nx-sidecart__variations dt { font-weight: 550; }
.nx-sidecart__variations dd { margin-right: 7px; }
.nx-sidecart__unit-price { margin-top: 3px; font-size: 11px; color: #728080; }
.nx-sidecart__unit-price .amount { color: inherit; font-size: inherit; }
.nx-sidecart__item-bottom { margin-top: auto; padding-top: 7px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nx-sidecart__qty { display: inline-flex; align-items: center; height: 29px; border: 1px solid #e1e9e6; border-radius: 7px; background: #fff; }
.nx-sidecart__qty button {
    display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 27px;
    padding: 0; border: 0; background: transparent; border-radius: 0; color: #344d4b; cursor: pointer;
}
.nx-sidecart__qty button:hover { color: #579b9e; background: #f4f9f8; }
.nx-sidecart__qty button:disabled { cursor: default; opacity: .3; background: transparent; }
.nx-sidecart__qty button svg { width: 14px; height: 14px; }
.nx-sidecart__qty-value { min-width: 23px; text-align: center; font-size: 13px; font-weight: 700; color: #304441; }
.nx-sidecart__fixed-qty { font-size: 12px; color: #7d8986; }
.nx-sidecart__line-price { white-space: nowrap; text-align: right; font-size: 13px; font-weight: 700; color: #234a47; }
.nx-sidecart__line-price .amount { font-size: inherit; font-weight: inherit; color: inherit; }
.nx-sidecart__line-price del { color: #9caba7; }
/* NX Cart Boost and standard Woo mini-cart hook output live just below cart items. */
.nx-sidecart__extensions { padding: 0 24px 12px; }
.nx-sidecart__extensions .nxcb-slot:empty { display: none; }
.nx-sidecart__extensions .nxcb-bar--mini {
    border-radius: 6px; margin: 8px 0 10px; padding: 10px 12px;
    font-size: 12px; line-height: 1.35;
}
.nx-sidecart__scroll > .nxcb-slot { display: block; margin: 12px 24px 4px; }
.nx-sidecart__scroll > .nxcb-slot:empty { display: none; }
.nx-sidecart__scroll > .nxcb-slot .nxcb-bar--mini { margin: 0; }
.nx-sidecart__extensions .nxcb-recs--mini { margin: 9px 0 0; }
.nx-sidecart__extensions .nxcb-recs__title {
    color: #263d3b; font-size: 13px; font-weight: 700; line-height: 1.35;
    margin: 0 0 8px; letter-spacing: -.01em;
}
.nx-sidecart__extensions .nxcb-recs--mini .nxcb-recs__list { list-style: none; padding: 0; margin: 0; }
.nx-sidecart__extensions .nxcb-recs--mini .nxcb-rec {
    display: grid; grid-template-columns: 44px minmax(0,1fr) auto;
    align-items: center; gap: 9px; padding: 7px 0; margin: 0;
    border-top: 1px solid #edf1ef; min-width: 0;
}
.nx-sidecart__extensions .nxcb-recs--mini .nxcb-rec__img,
.nx-sidecart__extensions .nxcb-recs--mini .nxcb-rec__img img {
    display: block; width: 44px; height: 44px; object-fit: contain;
    margin: 0; border: 0; border-radius: 4px;
}
.nx-sidecart__extensions .nxcb-recs--mini .nxcb-rec__body { min-width: 0; font-size: 12px; line-height: 1.35; }
.nx-sidecart__extensions .nxcb-recs--mini .nxcb-rec__name {
    display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    color: #2a4240; font-weight: 600; text-decoration: none;
}
.nx-sidecart__extensions .nxcb-recs--mini .nxcb-rec__price { color: #5e7773; font-size: 12px; }
.nx-sidecart__extensions .nxcb-recs--mini .nxcb-rec__badge { display: block; font-size: 10px; line-height: 1.2; }
.nx-sidecart__extensions .nxcb-recs--mini .nxcb-rec__add {
    display: inline-flex; align-items: center; justify-content: center;
    width: auto; height: 29px; min-height: 29px; max-width: 86px;
    padding: 5px 10px; margin: 0; border: 1px solid #bbd5cf; border-radius: 5px;
    background: #f4faf8; box-shadow: none; color: #397575;
    font-size: 11px; font-weight: 650; line-height: 1.25;
    text-decoration: none; text-transform: none; white-space: nowrap;
    cursor: pointer;
}
.nx-sidecart__extensions .nxcb-recs--mini .nxcb-rec__add:hover {
    border-color: #579b9e; background: #e9f5f2; color: #2f6869;
}
.nx-sidecart__footer {
    flex: 0 0 auto; border-top: 1px solid #e5ece9; background: #fff;
    padding: 15px 24px max(15px, env(safe-area-inset-bottom));
    box-shadow: 0 -8px 20px rgba(40, 73, 68, .025);
}
.nx-sidecart__subtotal { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: #647472; }
.nx-sidecart__subtotal strong { font-size: 21px; font-weight: 700; color: #1f3e3c; white-space: nowrap; }
.nx-sidecart__subtotal strong .amount { font-size: inherit; color: inherit; }
.nx-sidecart__shipping-note { margin: 4px 0 12px; font-size: 12px; color: #879390; line-height: 1.5; }
.nx-sidecart__checkout,
.nx-sidecart__continue-link {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    width: 100%; min-height: 46px; padding: 10px 16px; margin: 0;
    border: 1px solid #579b9e !important; border-radius: 6px;
    background: #579b9e; color: #fff !important; text-align: center;
    font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none !important;
    transition: background-color .18s ease, border-color .18s ease;
}
.nx-sidecart__checkout:hover, .nx-sidecart__continue-link:hover { background: #3f7f82; border-color: #3f7f82 !important; color: #fff !important; }
.nx-sidecart__checkout svg, .nx-sidecart__continue-link svg { width: 18px; height: 18px; }
.nx-sidecart__viewcart { display: block; margin: 10px auto 0; width: fit-content; text-align: center; text-decoration: none !important; border: 0 !important; color: #496967 !important; font-size: 13px; font-weight: 650; }
.nx-sidecart__viewcart:hover { color: #579b9e !important; }

.nx-sidecart__empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    flex: 1 1 auto; padding: 40px 32px 90px; text-align: center;
}
.nx-sidecart__empty-symbol { display: grid; place-items: center; width: 98px; height: 98px; margin-bottom: 26px; border-radius: 50%; background: #eff7f5; color: #579b9e; }
.nx-sidecart__empty-symbol svg { width: 40px; height: 40px; stroke-width: 1.15px; }
.nx-sidecart__empty h3 { margin: 0 0 8px; color: #203b39; font-size: 22px; font-weight: 700; letter-spacing: -.025em; }
.nx-sidecart__empty p { margin: 0 0 26px; color: #83908d; font-size: 14px; line-height: 1.5; }
.nx-sidecart__empty .nx-sidecart__continue-link { width: auto; min-width: 220px; }
.nx-sidecart.is-updating .nx-sidecart__content { opacity: .68; }
.nx-sidecart__content, .nx-sidecart__notice { transition-property: opacity, max-height, padding; transition-duration: .16s; }

body.admin-bar .side-cart.nx-sidecart,
body.admin-bar .side-cart.nx-sidecart.s-open { top: 32px; height: calc(100dvh - 32px); margin-top: 0; }
@media (max-width: 782px) {
    body.admin-bar .side-cart.nx-sidecart,
    body.admin-bar .side-cart.nx-sidecart.s-open {
        top: var(--nx-mobile-adminbar-offset, 0px);
        height: calc(100dvh - var(--nx-mobile-adminbar-offset, 0px));
    }
}
@media (max-width: 480px) {
    body .side-cart.nx-sidecart > .nx-sidecart__panel { width: 100vw; max-width: 100%; box-shadow: none; }
    .nx-sidecart__header h2, body .side-cart.nx-sidecart h2 { font-size: 25px; }
    .nx-sidecart__notice { padding-left: 18px; padding-right: 18px; }
    .nx-sidecart__notice:not(:empty) { padding: 10px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .side-cart.nx-sidecart, .side-cart.nx-sidecart *, .nx-sidecart-trigger svg { transition-duration: 0s !important; animation: none !important; }
    body .side-cart.nx-sidecart > .nx-sidecart__panel { transform: none !important; }
}

@media (max-width: 520px) {
    .nx-sidecart__header { min-height: 78px; padding: 12px 18px 10px; }
    .nx-sidecart__items { padding-left: 18px; padding-right: 18px; }
    .nx-sidecart__item { grid-template-columns: 64px minmax(0,1fr); column-gap: 11px; padding: 10px 0; }
    .nx-sidecart__image { width: 64px; }
    .nx-sidecart__footer { padding: 13px 18px max(14px, env(safe-area-inset-bottom)); }
    .nx-sidecart__extensions { padding-left: 18px; padding-right: 18px; }
    .nx-sidecart__scroll > .nxcb-slot { margin-left: 18px; margin-right: 18px; }
}
