#efsatc {
    --efsatc-blue: #0074e1;
    --efsatc-blue-hover: #0066c7;
    --efsatc-dark: #011223;
    --efsatc-light: #dae4ee;
    --efsatc-soft: #f0f5fa;
    --efsatc-muted: #7c8997;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 9990;
    display: flex;
    padding: 0 10px;
    pointer-events: none;
    opacity: 0;
    color: var(--efsatc-dark);
    font-family: 'Efuture Text Regular', -apple-system, Arial, sans-serif;
    transition: transform .5s cubic-bezier(.25, 1, .5, 1), opacity .3s ease;
}

#efsatc.efsatc--bottom {
    bottom: 10px;
    transform: translate3d(0, calc(100% + 30px), 0);
}

#efsatc.efsatc--top {
    top: 10px;
    transform: translate3d(0, calc(-100% - 30px), 0);
}

#efsatc.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

#efsatc.efsatc--align-left {
    justify-content: flex-start;
}

#efsatc.efsatc--align-center {
    justify-content: center;
}

#efsatc.efsatc--align-right {
    justify-content: flex-end;
}

#efsatc *,
#efsatc *::before,
#efsatc *::after {
    box-sizing: border-box;
}

#efsatc .efsatc__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 100%;
    padding: 6px 6px 6px 7px;
    border: 1px solid #0000000d;
    border-radius: 9999px;
    background-color: rgb(245 249 253 / 55%);
    background-image: linear-gradient(135deg, rgb(255 255 255 / 16%) 9.74%, rgb(255 255 255 / 15%) 90.26%);
    -webkit-backdrop-filter: blur(40px) saturate(1.4);
    backdrop-filter: blur(40px) saturate(1.4);
    box-shadow: 0 12px 32px rgb(1 18 35 / 8%);
    pointer-events: auto;
}

#efsatc .efsatc__product {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

#efsatc .efsatc__image {
    flex: 0 0 auto;
    width: 64px;
    height: 48px;
    margin: 0;
    border-radius: 9999px;
    object-fit: cover;
    background-color: #ffffff;
}

#efsatc .efsatc__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    line-height: 1.15;
}

#efsatc .efsatc__title {
    display: block;
    max-width: 350px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    color: var(--efsatc-dark);
    opacity: .9;
}

#efsatc .efsatc__title:not(.model) {
    font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif;
}

#efsatc .efsatc__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    white-space: nowrap;
}

#efsatc .efsatc__price .woocommerce-Price-amount,
#efsatc .efsatc__price .woocommerce-Price-amount bdi,
#efsatc .efsatc__price .woocommerce-Price-currencySymbol {
    position: static !important;
    font-family: 'Efuture Text Regular', -apple-system, Arial, sans-serif !important;
    font-size: 24px !important;
    line-height: 1.1;
    color: var(--efsatc-blue) !important;
    text-decoration: none;
}

#efsatc .efsatc__price del,
#efsatc .efsatc__price del .woocommerce-Price-amount,
#efsatc .efsatc__price del .woocommerce-Price-amount bdi,
#efsatc .efsatc__price del .woocommerce-Price-currencySymbol {
    font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif !important;
    font-size: 13px !important;
    color: var(--efsatc-muted) !important;
    text-decoration: line-through;
    opacity: 1;
}

#efsatc .efsatc__price ins {
    text-decoration: none;
}

#efsatc .efsatc__price ins .woocommerce-Price-amount,
#efsatc .efsatc__price ins .woocommerce-Price-amount bdi,
#efsatc .efsatc__price ins .woocommerce-Price-currencySymbol {
    color: #ef3838 !important;
}

#efsatc .efsatc__price .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

#efsatc .efsatc__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

#efsatc .efsatc__variations {
    display: flex;
    gap: 8px;
}

#efsatc .efsatc__select {
    -webkit-appearance: none;
    appearance: none;
    height: 48px;
    max-width: 180px;
    margin: 0;
    padding: 0 38px 0 18px;
    border: 1px solid var(--efsatc-light);
    border-radius: 9999px;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011223' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
    box-shadow: none;
    font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif;
    font-size: 14px;
    color: var(--efsatc-dark);
    cursor: pointer;
}

#efsatc .efsatc__select:focus {
    outline: none;
    border-color: var(--efsatc-blue);
}

#efsatc .efsatc__qty {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 4px;
    border-radius: 9999px;
    background-color: var(--efsatc-soft);
}

#efsatc .efsatc__qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    box-shadow: none;
    font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif;
    font-size: 18px;
    line-height: 1;
    color: var(--efsatc-dark);
    cursor: pointer;
    transition: background-color .2s ease;
}

#efsatc .efsatc__qty-btn:hover {
    background-color: var(--efsatc-light);
}

#efsatc .efsatc__qty-input {
    -moz-appearance: textfield;
    width: 36px;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
    font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif;
    font-size: 15px;
    color: var(--efsatc-dark);
}

#efsatc .efsatc__qty-input::-webkit-outer-spin-button,
#efsatc .efsatc__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#efsatc .efsatc__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: max-content;
    min-height: 48px;
    margin: 0 !important;
    padding: 0 24px;
    border: 0 !important;
    border-radius: 9999px !important;
    background-color: var(--efsatc-blue) !important;
    box-shadow: 0 0 10px 0 #0074e169;
    font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    color: #ffffff;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
}

#efsatc .efsatc__button:hover {
    background-color: var(--efsatc-blue-hover) !important;
}

#efsatc .efsatc__button:active {
    transform: scale(.97);
}

#efsatc .efsatc__button:focus-visible {
    outline: 2px solid var(--efsatc-dark);
    outline-offset: 2px;
}

#efsatc .efsatc__icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: #ffffff;
}

#efsatc .efsatc__button-price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding-left: 10px;
    border-left: 1px solid rgb(255 255 255 / 35%);
}

#efsatc .efsatc__button-price .woocommerce-Price-amount,
#efsatc .efsatc__button-price .woocommerce-Price-amount bdi,
#efsatc .efsatc__button-price .woocommerce-Price-currencySymbol {
    position: static !important;
    font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif !important;
    font-size: 15px !important;
    color: #ffffff !important;
}

#efsatc .efsatc__button-price del {
    display: none;
}

#efsatc.is-unavailable .efsatc__button {
    background-color: var(--efsatc-muted) !important;
    box-shadow: none;
}

#efsatc.is-loading .efsatc__button {
    opacity: .7;
    pointer-events: none;
}

@media (min-width: 850px) {
    #efsatc {
        padding: 0 4vh;
    }

    #efsatc.efsatc--bottom {
        bottom: 2em;
    }

    #efsatc.efsatc--top {
        top: 2em;
    }

    #efsatc.efsatc--devices-mobile {
        display: none;
    }
}

@media (max-width: 849px) {
    #efsatc.efsatc--devices-desktop {
        display: none;
    }

    #efsatc .efsatc__inner {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    #efsatc .efsatc__image {
        width: 52px;
        height: 40px;
    }

    #efsatc .efsatc__title {
        max-width: 120px;
        font-size: 13px;
    }

    #efsatc .efsatc__price .woocommerce-Price-amount,
    #efsatc .efsatc__price .woocommerce-Price-amount bdi,
    #efsatc .efsatc__price .woocommerce-Price-currencySymbol {
        font-size: 18px !important;
    }

    #efsatc .efsatc__button {
        min-height: 44px;
        padding: 0 18px;
        font-size: 14px;
    }

    #efsatc .efsatc__variations {
        display: none;
    }
}

@media (max-width: 549px) {
    #efsatc .efsatc__qty {
        display: none;
    }

    #efsatc .efsatc__button-price {
        display: none;
    }
}

#efsatc.efsatc--no-image .efsatc__inner {
    gap: 12px;
    padding: 13px 13px 13px 21px;
    border: 1px solid #0000000d;
    background-color: #e9e9e92b;
    background-image: linear-gradient(135deg, rgb(255 255 255 / 16%) 9.74%, rgb(255 255 255 / 15%) 90.26%);
    -webkit-backdrop-filter: blur(100px);
    backdrop-filter: blur(100px);
    box-shadow: none;
}

#efsatc .efsatc__price .woocommerce-Price-amount,
#efsatc .efsatc__price .woocommerce-Price-amount bdi,
#efsatc .efsatc__price .woocommerce-Price-currencySymbol {
    font-family: 'Efuture Text Medium', sans-serif !important;
}

#efsatc.efsatc--no-image .efsatc__info {
    position: relative;
    top: 4px;
}

#efsatc .efsatc__title.model {
    padding-right: 3px;
    font-size: 21px;
    line-height: 1.2;
    color: var(--efsatc-dark);
    opacity: .9;
}

#efsatc.efsatc--button-icon .efsatc__button {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    padding: 0;
    gap: 0;
    border-radius: 50% !important;
}

#efsatc.efsatc--button-icon .efsatc__icon {
    width: 20px;
    height: 20px;
}

#efsatc.efsatc--button-icon .efsatc__button-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

@media (max-width: 849px) {
    #efsatc.efsatc--no-image .efsatc__inner {
        gap: 16px;
        padding: 7px 8px 7px 18px;
    }

    #efsatc .efsatc__title.model {
        max-width: 160px;
        font-size: 19px;
    }
}

#efsatc.efsatc--no-image .efsatc__image {
    display: none;
}

body.fmbd-focus-active #efsatc {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    #efsatc,
    #efsatc .efsatc__button {
        transition: none;
    }
}
