/* Dropdown */

.zrx-sticky-atc-select {
    color: rgb(38, 54, 68);
    background: rgb(255, 255, 255);
    border-radius: var(--zoorixStickyAtcButtonBorderRadius);
    height: 40px;
    appearance: none;
    border: none;
    padding: 0px 2.3rem 0px 1.2rem;
    width: 100%;
    font-size: 14px;
    line-height: 1.9rem;
    text-overflow: ellipsis;
    outline: none;
    box-shadow: none;
    margin: 0;
    font-family: var(--zoorixStickyAtcFontFamily);
}

@media (max-width: 720px) {
    .zrx-sticky-atc-select {
        text-align: center;
    }
}

.zrx-sticky-atc-select:focus {
    background-image: none !important;
}

.zrx-sticky-atc-select-wrapper {
    color: rgb(38, 54, 68);
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    position: relative;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    max-width: 15rem;
    min-width: 9rem;
    flex: 1 1 auto;
}

@media (max-width: 720px) {
    .zrx-sticky-atc-select-wrapper {
        max-width: 100%;
        min-width: inherit;
    }
}

.zrx-sticky-atc-select-label {
    position: absolute;
    right: 1.5rem;
    pointer-events: none;
}

/* StickyAtc */

.zrx-sticky-atc-bar {
    background-color: var(--zoorixStickyAtcBarBgColor);
    color: var(--zoorixStickyAtcBarTextColor);
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 99;
    transition: 0.75s;
}

.zrx-sticky-atc-bar.zrx-sticky-atc-show {
    transition: 0.75s;
}

.zrx-sticky-atc-bar.zrx-sticky-atc-bar-top:not(.zrx-sticky-atc-bar.zrx-sticky-atc-show) {
    top: -200px;
}

.zrx-sticky-atc-bar.zrx-sticky-atc-bar-top.zrx-sticky-atc-bar.zrx-sticky-atc-show {
    top: 0;
}

.zrx-sticky-atc-bar.zrx-sticky-atc-bar-bottom:not(.zrx-sticky-atc-bar.zrx-sticky-atc-show) {
    bottom: -200px;
}

.zrx-sticky-atc-bar.zrx-sticky-atc-bar-bottom.zrx-sticky-atc-bar.zrx-sticky-atc-show {
    bottom: 0px;
}

.zrx-sticky-atc-bar-bottom .zrx-sticky-atc-content-wrapper {
    border-top: 1px solid #9b969669;
}

.zrx-sticky-atc-bar-bottom .zrx-sticky-atc-just-added-bar {
    border-top: 1px solid #9b969669;
}

.zrx-sticky-atc-bar-top .zrx-sticky-atc-content-wrapper {
    border-bottom: 1px solid #9b969669;
}

.zrx-sticky-atc-bar-top .zrx-sticky-atc-just-added-bar {
    border-bottom: 1px solid #9b969669;
}

.zrx-sticky-atc-bar.zrx-sticky-atc-bar-spread {
}
.zrx-sticky-atc-bar.zrx-sticky-atc-bar-compact {
}
.zrx-sticky-atc-just-added-bar {
    background-color: var(--zoorixStickyAtcConfirmationBarBgColor);
    color: var(--zoorixStickyAtcConfirmationBarTextColor);
    display: flex;
    justify-content: center;
    min-height: 50px;
    padding: 0;
    align-items: center;
}

.zrx-sticky-atc-content-wrapper {
    width: 100%;
    min-height: 50px;
    display: flex;
    flex-flow: row nowrap;
    visibility: visible;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    justify-content: space-between;
    padding: 6px 6px 6px 10px;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.9rem;
}

@media (max-width: 720px) {
    .zrx-sticky-atc-content-wrapper {
        flex-flow: row wrap;
    }
}

.zrx-sticky-atc-product-form {
    flex: 1 1 auto;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    justify-content: space-between;
    display: flex;
    flex-flow: row nowrap;
    overflow: hidden;
    width: auto;
}

@media (max-width: 720px) {
    .zrx-sticky-atc-content-wrapper {
        flex-flow: row wrap;
    }
}

.zrx-sticky-atc-product-container {
    flex: 1 1 auto;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    justify-content: space-between;
    display: flex;
    flex-flow: row nowrap;
    overflow: hidden;
    width: auto;
    font-size: 13px;
    line-height: 20px;
}

@media (max-width: 720px) {
    .zrx-sticky-atc-product-container,
    .zrx-sticky-atc-product-form {
        flex-flow: row wrap;
    }

    .zrx-sticky-atc-product-container {
        margin-bottom: 7px;
    }
}

.zrx-sticky-atc-product-actions-wrapper {
    display: flex;
    flex-direction: row;
    width: auto;
}

@media (max-width: 720px) {
    .zrx-sticky-atc-product-actions-wrapper {
        width: 100%;
        margin-bottom: 3px;
        margin-top: 3px;
    }
}

.zrx-sticky-atc-product-variants, .zrx-sticky-atc-product-variants-more {
    margin-bottom: 0rem;
    display: flex;
    flex-direction: row;
    margin-right: 0.6rem;
    margin-left: 0px;
    width: auto;
}

@media (max-width: 720px) {
    .zrx-sticky-atc-product-variants {
        margin-bottom: 0rem;
        width: auto;
        margin-bottom: 0.2rem;
        margin-right: -0.6rem;
        margin-left: -0.6rem;
        width: calc(100% + 1.1rem);
    }

    .zrx-sticky-atc-product-variants-more {
        flex-direction: column;
        margin-bottom: 0rem;
        width: auto;
        margin-bottom: 0.2rem;
        margin-right: -0.6rem;
        margin-left: -0.6rem;
        width: calc(100% + 1.1rem);
    }
}

.zrx-sticky-atc-product-title-price-wrapper {
    display: flex;
    flex-direction: column;
    width: calc(100% - 5.6rem);
    color: var(--zoorixStickyAtcBarTextColor);
    font-size: 13px;
    margin-right: auto;
}

.zrx-sticky-atc-product-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 15px;
    font-family: var(--zoorixStickyAtcFontFamily);
}

.zrx-sticky-atc-product-qty-modifier {
    color: rgb(38, 54, 68);
    background: rgb(255, 255, 255);
    border-radius: var(--zoorixStickyAtcButtonBorderRadius);
    display: flex;
    flex-direction: row;
    margin-right: 1.2rem;
    height: 40px;
    -webkit-box-align: center;
    align-items: center;
    font-size: 14px;
}

.zrx-sticky-atc-product-qty-minus,
.zrx-sticky-atc-product-qty-plus {
    min-width: 2.6rem;
    cursor: pointer;
    color: rgb(38, 54, 68);
    user-select: none;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--zoorixStickyAtcFontFamily);
}

.zrx-sticky-atc-product-qty-seperator {
    filter: saturate(10%);
    height: 40px;
    width: 1px;
    background: rgb(38, 54, 68);
}

.zrx-sticky-atc-main-button {
    display: flex;
    margin: auto;
    background-color: var(--zoorixStickyAtcButtonBgColor);
    border-radius: var(--zoorixStickyAtcButtonBorderRadius);
    padding: 1.1rem 1.5rem;
    -webkit-box-align: center;
    align-items: center;
    font-size: 15px;
    line-height: 1.6rem;
    cursor: pointer;
    border: none;
    text-align: center;
    -webkit-box-pack: center;
    justify-content: center;
    width: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
    height: 40px;
}

.zrx-sticky-atc-main-button > .zrx-sticky-atc-main-button-text {
    color: var(--zoorixStickyAtcButtonTextColor);
    font-family: var(--zoorixStickyAtcFontFamily);
}

@media (min-width: 720px) {
    .zrx-sticky-atc-main-button {
        margin-right: 4px;
        min-width: 450px;
    }
}

@media (max-width: 720px) {
    .zrx-sticky-atc-main-button {
        width: 100%;
        min-width: unset;
        margin-top: 0;
    }
}

.zrx-sticky-atc-shake {
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    animation-name: zrxShake;
    animation-duration: 2.5s;
    animation-timing-function: linear;
    animation: 1.25s ease-in infinite 2 zrxShake;
    animation-iteration-count: infinite;
}

@keyframes zrxShake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }
    2.5% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }
    5% {
        transform: translate(-3px, 0px) rotate(1deg);
    }
    10% {
        transform: translate(3px, 2px) rotate(0deg);
    }
    12.5% {
        transform: translate(1px, -1px) rotate(1deg);
    }
    15% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }
    17.5% {
        transform: translate(-3px, 1px) rotate(0deg);
    }
    20% {
        transform: translate(3px, 1px) rotate(-1deg);
    }
    22.5% {
        transform: translate(-1px, -1px) rotate(1deg);
    }
    25% {
        transform: translate(1px, 2px) rotate(0deg);
    }
    50% {
        transform: translate(1px, 1px) rotate(0deg);
    }
    60% {
        transform: translate(1px, 1px) rotate(0deg);
    }
    70% {
        transform: translate(1px, 1px) rotate(0deg);
    }
    80% {
        transform: translate(1px, 1px) rotate(0deg);
    }
    90% {
        transform: translate(1px, 1px) rotate(0deg);
    }
    100% {
        transform: translate(1px, 1px) rotate(0deg);
    }
}

.zrx-sticky-atc-product-actions {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
}

.zrx-sticky-atc-product-qty-amount {
    min-width: 2.6rem;
    text-align: center;
    font-family: var(--zoorixStickyAtcFontFamily);
}

.zrx-sticky-atc-product-img {
    display: block;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: var(--zoorixStickyAtcButtonBorderRadius);
    border: 0.1rem solid rgb(249, 249, 249);
    margin-right: 1rem;
    background-position: center center;
    background-size: cover;
}

.zrx-sticky-atc-variant-option-wrapper {
    display: flex;
    flex: 1 1 auto;
}

.zrx-sticky-atc-variant-option {
    display: flex;
    flex: 1 1 auto;
}

.zrx-sticky-atc-compare-price {
    opacity: 0.7;
    text-decoration: line-through;
    margin-right: 1rem;
}

.zrx-sticky-atc-product-price-wrapper {
    display: flex;
    flex-direction: row;
}

.zrx-sticky-atc-product-price {
    font-family: var(--zoorixStickyAtcFontFamily);
}

.zrx-sticky-atc-just-added-bar-checkmark {
    width: 30px;
}

.zrx-sticky-atc-just-added-bar-checkmark polygon {
    fill: var(--zoorixStickyAtcConfirmationBarTextColor);
}
.zrx--sticky-atc-spinner-span {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    color: transparent;
}
.zrx--sticky-atc-spinner {
    width: 20px;
    height: 20px;
    border-top-color: var(--zoorixStickyAtcButtonTextColor);
    border-left-color: var(--zoorixStickyAtcButtonTextColor);
    border-right-color: var(--zoorixStickyAtcButtonTextColor);
    animation: zrxatcspinner 600ms linear infinite;
    border-style: solid;
    border-width: 2px;
    border-radius: 50%;
    box-sizing: border-box;
    display: inline-block !important;
}
@keyframes zrxatcspinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.zrx-sticky-atc-oos-message {
    border: 1px solid var(--zoorixStickyAtcButtonBgColor);
    border-radius: var(--zoorixStickyAtcButtonBorderRadius);
    padding: 9px;
    text-align: center;
}

@media (min-width: 720px) {
    .zrx-sticky-atc-oos-message {
        min-width: 450px;
    }
}

@media (max-width: 720px) {
    .zrx-sticky-atc-oos-message {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 720px) {
    .zrx-mobile.zrx-mobile-minimal-mode .zrx-sticky-atc-product-container {
        display: none;
    }
    .zrx-mobile.zrx-mobile-minimal-mode .zrx-sticky-atc-product-qty-modifier {
        display: none;
    }
    .zrx-mobile.zrx-mobile-minimal-mode .zrx-sticky-atc-oos-message {
        width: 100%;
        height: 3.4rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 3px;
        padding: 0px;
    }

    .zrx-sticky-atc-desktop-only-view {
        display: none;
    }
}

@media (min-width: 720px) {
    .zrx-sticky-atc-mobile-only-view {
        display: none;
    }
}
