/* ==========================================
   THE ALTERNATE UNIVERSE
   Frequently Bought Together
   Part 3A
==========================================*/

.tau-fbt-wrapper{

    margin-top:30px;
    margin-bottom:20px;
    background:#071C4D;
    background:linear-gradient(135deg,#071C4D,#0E4ECF);
    border-radius:18px;
    padding:25px;
    color:#fff;
    box-shadow:0 20px 45px rgba(0,0,0,.25);
    overflow:hidden;
    position:relative;

}

.tau-fbt-wrapper *{

    box-sizing:border-box;

}

.tau-fbt-header{

    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;

}

.tau-title{

    font-size:28px;
    font-weight:700;
    color:#fff;
    line-height:1.2;

}

.tau-badge{

    background:#00C853;
    color:#fff;
    font-size:14px;
    font-weight:700;
    padding:10px 18px;
    border-radius:30px;
    animation:pulse 2s infinite;

}

@keyframes pulse{

0%{

transform:scale(1);

}

50%{

transform:scale(1.06);

}

100%{

transform:scale(1);

}

}

.tau-fbt-items{

    display:flex;
    flex-direction:column;
    gap:18px;

}

.tau-product{

    display:flex;
    align-items:center;
    gap:18px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    border-radius:16px;
    padding:18px;
    transition:.30s;

}

.tau-product:hover{

    background:rgba(255,255,255,.15);
    transform:translateY(-3px);

}

.tau-checkbox{

    width:30px;
    display:flex;
    justify-content:center;
    align-items:center;

}

.tau-checkbox input{

    width:22px;
    height:22px;
    cursor:pointer;
    accent-color:#0D6EFD;

}

.tau-image{

    width:95px;
    min-width:95px;

}

.tau-image img{

    width:95px;
    height:95px;
    object-fit:cover;
    border-radius:14px;
    background:#fff;
    padding:6px;

}

.tau-info{

    flex:1;

}

.tau-name{

    color:#fff;
    font-size:17px;
    font-weight:700;
    margin-bottom:8px;
    line-height:1.5;

}

.tau-rating{

    margin-bottom:10px;

}

.tau-rating .star-rating{

    float:none;

}

.tau-price{

    font-size:20px;
    font-weight:700;
    color:#FFD54F;

}

.tau-price del{

    color:#ddd;
    margin-right:8px;
    opacity:.8;

}

.tau-price ins{

    color:#FFD54F;
    text-decoration:none;

}

.tau-summary{

    margin-top:28px;
    background:rgba(255,255,255,.08);
    border-radius:16px;
    padding:20px;

}

.tau-row{

    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:8px 0;
    font-size:18px;
    color:#fff;

}

.tau-row.final{

    border-top:1px solid rgba(255,255,255,.20);
    margin-top:10px;
    padding-top:18px;
    font-size:24px;
    font-weight:700;

}

.green{

    color:#57FF8B;

}

.tau-total{

    font-weight:700;

}

.tau-final{

    color:#FFD54F;
    font-weight:700;

}
/* ==========================================
   PART 3B
==========================================*/

.tau-fbt-button{

    width:100%;
    margin-top:25px;
    height:60px;
    border:none;
    border-radius:14px;
    cursor:pointer;
    color:#fff;
    font-size:20px;
    font-weight:700;
    letter-spacing:.5px;

    background:linear-gradient(135deg,#0084ff,#0060df);

    transition:.35s;

    box-shadow:
        0 12px 30px rgba(0,132,255,.35);

}

.tau-fbt-button:hover{

    transform:translateY(-3px);

    background:linear-gradient(135deg,#0099ff,#0050c8);

    box-shadow:
        0 20px 40px rgba(0,132,255,.45);

}

.tau-fbt-button:active{

    transform:scale(.98);

}

.tau-product.active{

    border:2px solid rgba(255,255,255,.25);

}

.tau-product.selected{

    border:2px solid #00E5FF;

    background:rgba(255,255,255,.14);

}

.tau-product.unselected{

    opacity:.55;

}

.tau-image img{

    transition:.35s;

}

.tau-product:hover img{

    transform:scale(1.08);

}

.tau-price{

    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;

}

.tau-price del{

    font-size:16px;

}

.tau-price ins{

    font-size:21px;

}

.star-rating{

    color:#FFC107;

}

.tau-summary{

    backdrop-filter:blur(10px);

}

.tau-summary span{

    font-weight:600;

}

.tau-row.final span{

    font-size:24px;

}

.tau-badge{

    box-shadow:
        0 0 20px rgba(0,255,100,.4);

}

.tau-title{

    text-shadow:
        0 3px 10px rgba(0,0,0,.3);

}

.tau-fbt-wrapper::before{

    content:"";

    position:absolute;

    top:-120px;

    right:-120px;

    width:240px;

    height:240px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

}

.tau-fbt-wrapper::after{

    content:"";

    position:absolute;

    bottom:-150px;

    left:-150px;

    width:280px;

    height:280px;

    border-radius:50%;

    background:rgba(255,255,255,.04);

}

.tau-product{

    position:relative;

    overflow:hidden;

}

.tau-product::after{

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:100%;

    height:100%;

    background:

    linear-gradient(

    90deg,

    transparent,

    rgba(255,255,255,.15),

    transparent

    );

    transition:.7s;

}

.tau-product:hover::after{

    left:120%;

}

/* MOBILE */

@media(max-width:991px){

.tau-title{

    font-size:24px;

}

.tau-image{

    width:80px;
    min-width:80px;

}

.tau-image img{

    width:80px;
    height:80px;

}

}

@media(max-width:768px){

.tau-fbt-wrapper{

    padding:18px;

}

.tau-fbt-header{

    flex-direction:column;
    align-items:flex-start;
    gap:12px;

}

.tau-product{

    gap:12px;
    padding:14px;

}

.tau-image{

    width:70px;
    min-width:70px;

}

.tau-image img{

    width:70px;
    height:70px;

}

.tau-name{

    font-size:15px;

}

.tau-price{

    font-size:17px;

}

.tau-row{

    font-size:16px;

}

.tau-row.final{

    font-size:20px;

}

.tau-fbt-button{

    height:56px;

    font-size:18px;

}

}

@media(max-width:480px){

.tau-product{

    display:grid;

    grid-template-columns:

    30px
    70px
    1fr;

    align-items:center;

}

.tau-summary{

    padding:16px;

}

.tau-row{

    font-size:15px;

}

.tau-row.final{

    font-size:18px;

}

.tau-title{

    font-size:20px;

}

.tau-badge{

    font-size:12px;

    padding:8px 14px;

}

.tau-fbt-button{

    font-size:17px;

}

}

/* Astra Compatibility */

.ast-single-product .tau-fbt-wrapper{

    width:100%;

}

.woocommerce div.product .tau-fbt-wrapper{

    clear:both;

}

.woocommerce div.product .tau-fbt-button{

    margin-bottom:0;

}
.tau-disabled{
    background:#8a8a8a !important;
    cursor:not-allowed !important;
    opacity:.65;
    box-shadow:none !important;
    transform:none !important;
}

.tau-disabled:hover{
    background:#8a8a8a !important;
}