﻿.button.button--primary:before {
    background-color: unset;
}

#tbiButton,
#tbiCartButton,
#tbiMiniCartButton,
#tbiCheckoutButton {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #f97316;
    border-radius: 4px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    line-height: normal;
    white-space: normal;
    min-height: 56px;
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

#tbiButton:hover,
#tbiCartButton:hover,
#tbiMiniCartButton:hover,
#tbiCheckoutButton:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(249, 115, 22, 0.28);
}

#tbiButton {
    margin: 14px 0 0;
    width: 100%;
    border-radius: 35px;
    margin-bottom: 18px;
}

#tbiCartButton,
#tbiCheckoutButton {
    margin-top: 12px;
}

#tbiMiniCartButton {
    grid-column: 1 / -1;
    margin-top: 12px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

#tbiButton > .tbiCiShadowHost,
#tbiCartButton > .tbiCiShadowHost,
#tbiMiniCartButton > .tbiCiShadowHost,
#tbiCheckoutButton > .tbiCiShadowHost {
    display: block;
    width: 100%;
}

div.prod-descriptions div.btn-group-details + #tbiButton {
    margin-top: 14px;
}

div.total-box > a.go-to-checkout#check_cart + #tbiCartButton,
form#checkoutForm > button.go-to-checkout#submit_order + #tbiCheckoutButton {
    margin-top: 12px;
    width: 100%;
}

#tbi_cart_button {
    margin-top: 10px!important;
}

.tbiCiDisabled {
    opacity: 0.65;
    pointer-events: none;
}

.tbiCiShadowHost {
    display: block;
    width: 100%;
}

.tbiCiTopRow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.tbiCiLabel {
    color: #fff;
}

.tbiCiSubtext {
    display: block;
    width: 100%;
    margin-top: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    word-break: break-word;
}

.tbiLogo {
    display: block;
    width: 70px;
    height: 28px;
    object-fit: contain;
}

.tbiCiCurrencySentinel {
    display: none !important;
}

#tbiPopUpContainer {
    position: fixed;
    z-index: 9999999999;
    width: 100%;
    height: 100%;
    background: rgba(51, 51, 51, .3);
    top: 0;
    display: none;
    justify-content: center;
    align-items: center
}

#iframeContainer {
    width: 768px;
    height: 90vh;
    max-width: 100%;
    min-height: 400px;
    max-height: 720px;
    position: relative;
    background: #f4f4f4;
    border-radius: 24px
}

#tbiPopUpIframe {
    width: 100%;
    height: 100%;
    border-radius: 24px
}

#tbiLoading {
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
    width: 100px;
    height: 100px;
    max-width: 40%
}

.add_to_cart_holder{
    margin-bottom: 50px;
}

.cart__ctas{
    flex-direction: column;
}

@media (max-width:768px) {
    #tbiButton,
    #tbiCartButton,
    #tbiMiniCartButton,
    #tbiCheckoutButton {
        padding: 11px 12px;
        border-radius: 10px;
    }

    div.prod-descriptions div.btn-group-details + #tbiButton,
    div.total-box > a.go-to-checkout#check_cart + #tbiCartButton,
    form#checkoutForm > button.go-to-checkout#submit_order + #tbiCheckoutButton {
        margin-top: 12px;
    }
}

.next-prev-buttons{
    display: flex;
    flex-flow: column;
}

form#checkoutForm > #tbiCheckoutButton {
    margin-bottom: 12px;
    width: 470px !important;
}
