/* Luni Sales Pro: animated green checkout button, mini-cart drawer only. */
.luni-epa__cartdrawer .luni-epa__cartdrawerbtn--primary.checkout.lgcb-button {
    --lgcb-green: #0f7a3d;
    --lgcb-green-hover: #0d6d36;
    --lgcb-green-active: #0b5f2f;
    --lgcb-white: #fff;
    --lgcb-lock-duration: 820ms;
    --lgcb-seal-length: 600px;

    position: relative !important;
    isolation: isolate;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 56px !important;
    max-width: 100% !important;
    padding: 0 28px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--lgcb-green) !important;
    background-image: none !important;
    color: var(--lgcb-white) !important;
    box-shadow: 0 9px 22px rgba(15, 122, 61, .26), inset 0 0 0 1px rgba(255, 255, 255, .16) !important;
    font: inherit;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: .01em;
    text-align: center;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: nowrap;
    cursor: pointer;
    transform: translateZ(0);
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 120ms ease !important;
}

/* Neutralise the previous Luni mini-cart arrow/shine; this module owns the effect. */
.luni-epa__cartdrawer .luni-epa__cartdrawerbtn--primary.checkout.lgcb-button::before,
.luni-epa__cartdrawer .luni-epa__cartdrawerbtn--primary.checkout.lgcb-button::after {
    content: none !important;
    display: none !important;
}

.luni-epa__cartdrawer .lgcb-button:hover,
.luni-epa__cartdrawer .lgcb-button:focus-visible {
    background: var(--lgcb-green-hover) !important;
    color: var(--lgcb-white) !important;
    box-shadow: 0 11px 26px rgba(15, 122, 61, .31), inset 0 0 0 1px rgba(255, 255, 255, .2) !important;
    transform: translateY(-1px);
}

.luni-epa__cartdrawer .lgcb-button:active {
    background: var(--lgcb-green-active) !important;
    color: var(--lgcb-white) !important;
    transform: translateY(0) scale(.995);
}

.luni-epa__cartdrawer .lgcb-button:focus-visible {
    outline: 3px solid rgba(15, 122, 61, .28) !important;
    outline-offset: 3px;
}

.luni-epa__cartdrawer .lgcb-button.lgcb-is-locking,
.luni-epa__cartdrawer .lgcb-button.lgcb-is-waiting,
.luni-epa__cartdrawer .lgcb-button.lgcb-is-locking:hover,
.luni-epa__cartdrawer .lgcb-button.lgcb-is-waiting:hover {
    background: var(--lgcb-green) !important;
    color: var(--lgcb-white) !important;
    transform: none;
}

.luni-epa__cartdrawer .lgcb-button.lgcb-is-locking,
.luni-epa__cartdrawer .lgcb-button.lgcb-is-waiting {
    pointer-events: none;
    cursor: default;
}

.luni-epa__cartdrawer .lgcb-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.luni-epa__cartdrawer .lgcb-label,
.luni-epa__cartdrawer .lgcb-status {
    box-sizing: border-box;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 22px;
}

.luni-epa__cartdrawer .lgcb-label {
    z-index: 2;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 200ms ease, transform 220ms ease;
}

.luni-epa__cartdrawer .lgcb-status {
    z-index: 3;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 220ms 120ms ease, transform 260ms 120ms ease;
}

.luni-epa__cartdrawer .lgcb-label svg,
.luni-epa__cartdrawer .lgcb-status svg {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    overflow: visible;
}

.luni-epa__cartdrawer .lgcb-shackle,
.luni-epa__cartdrawer .lgcb-lock-body {
    transform-box: fill-box;
    transform-origin: center bottom;
}

.luni-epa__cartdrawer .lgcb-shackle {
    transform: translateY(-2.6px);
    transition: transform 200ms cubic-bezier(.3, .8, .35, 1);
}

@media (hover: hover) {
    .luni-epa__cartdrawer .lgcb-button:not(.lgcb-is-locking):not(.lgcb-is-waiting):hover .lgcb-label .lgcb-shackle {
        transform: translateY(-4px);
    }
}

.luni-epa__cartdrawer .lgcb-gleam {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 1;
    width: 38%;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-140%) skewX(-18deg);
    background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.26), rgba(255,255,255,0));
}

.luni-epa__cartdrawer .lgcb-button.lgcb-invite .lgcb-gleam {
    animation: lgcb-gleam-sweep 1150ms cubic-bezier(.4, 0, .25, 1) both;
}

.luni-epa__cartdrawer .lgcb-button.lgcb-invite .lgcb-label .lgcb-shackle {
    animation: lgcb-shackle-breath 900ms cubic-bezier(.3, .85, .35, 1) 300ms both;
}

.luni-epa__cartdrawer .lgcb-button.lgcb-is-locking .lgcb-gleam,
.luni-epa__cartdrawer .lgcb-button.lgcb-is-waiting .lgcb-gleam {
    display: none;
}

.luni-epa__cartdrawer .lgcb-seal {
    position: absolute;
    inset: 0;
    z-index: 4;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.luni-epa__cartdrawer .lgcb-seal rect {
    fill: none;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.luni-epa__cartdrawer .lgcb-seal-track {
    stroke: var(--lgcb-white);
    stroke-width: 2;
    stroke-dashoffset: var(--lgcb-seal-length);
}

.luni-epa__cartdrawer .lgcb-seal-spark {
    stroke: var(--lgcb-white);
    stroke-width: 2.4;
    opacity: 0;
}

.luni-epa__cartdrawer .lgcb-button.lgcb-is-locking .lgcb-label,
.luni-epa__cartdrawer .lgcb-button.lgcb-is-waiting .lgcb-label {
    opacity: 0;
    transform: translateY(-6px);
}

.luni-epa__cartdrawer .lgcb-button.lgcb-is-locking .lgcb-status,
.luni-epa__cartdrawer .lgcb-button.lgcb-is-waiting .lgcb-status {
    opacity: 1;
    transform: translateY(0);
}

.luni-epa__cartdrawer .lgcb-button.lgcb-is-locking .lgcb-seal,
.luni-epa__cartdrawer .lgcb-button.lgcb-is-waiting .lgcb-seal {
    opacity: 1;
}

.luni-epa__cartdrawer .lgcb-button.lgcb-is-locking .lgcb-status .lgcb-shackle,
.luni-epa__cartdrawer .lgcb-button.lgcb-is-waiting .lgcb-status .lgcb-shackle {
    animation: lgcb-shackle-close 420ms cubic-bezier(.25, .9, .3, 1.35) both;
}

.luni-epa__cartdrawer .lgcb-button.lgcb-is-locking .lgcb-status .lgcb-lock-body,
.luni-epa__cartdrawer .lgcb-button.lgcb-is-waiting .lgcb-status .lgcb-lock-body {
    animation: lgcb-lock-impact 420ms cubic-bezier(.3, .8, .3, 1) both;
}

.luni-epa__cartdrawer .lgcb-button.lgcb-is-locking .lgcb-seal-track,
.luni-epa__cartdrawer .lgcb-button.lgcb-is-waiting .lgcb-seal-track {
    animation: lgcb-seal-draw var(--lgcb-lock-duration) cubic-bezier(.5, 0, .2, 1) 90ms both;
}

.luni-epa__cartdrawer .lgcb-button.lgcb-is-waiting .lgcb-seal-track { opacity: .42; }
.luni-epa__cartdrawer .lgcb-button.lgcb-is-waiting .lgcb-seal-spark {
    opacity: 1;
    animation: lgcb-seal-orbit 1750ms linear infinite;
}

@keyframes lgcb-gleam-sweep {
    0% { opacity: 0; transform: translateX(-140%) skewX(-18deg); }
    16%, 80% { opacity: 1; }
    100% { opacity: 0; transform: translateX(420%) skewX(-18deg); }
}

@keyframes lgcb-shackle-breath {
    0%, 100% { transform: translateY(-2.6px); }
    34% { transform: translateY(-5.4px); }
    68% { transform: translateY(-2.1px); }
}

@keyframes lgcb-shackle-close {
    0% { transform: translateY(-3.4px); }
    58% { transform: translateY(.7px); }
    100% { transform: translateY(0); }
}

@keyframes lgcb-lock-impact {
    0%, 48% { transform: scale(1); }
    62% { transform: scale(1.09, .91); }
    80% { transform: scale(.98, 1.02); }
    100% { transform: scale(1); }
}

@keyframes lgcb-seal-draw {
    from { stroke-dashoffset: var(--lgcb-seal-length); }
    to { stroke-dashoffset: 0; }
}

@keyframes lgcb-seal-orbit {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: calc(var(--lgcb-seal-length) * -1); }
}

@media (max-width: 767px) {
    .luni-epa__cartdrawer .luni-epa__cartdrawerbtn--primary.checkout.lgcb-button {
        min-height: 54px !important;
        padding-inline: 22px !important;
        font-size: 15px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .luni-epa__cartdrawer .lgcb-button,
    .luni-epa__cartdrawer .lgcb-button *,
    .luni-epa__cartdrawer .lgcb-button *::before,
    .luni-epa__cartdrawer .lgcb-button *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }
    .luni-epa__cartdrawer .lgcb-button.lgcb-is-waiting .lgcb-seal-spark,
    .luni-epa__cartdrawer .lgcb-gleam { display: none; }
    .luni-epa__cartdrawer .lgcb-seal-track { stroke-dashoffset: 0; }
}
