/* ================= STYLE 1 ================= */

.s1-fbt-box.style_1, .s1-fbt-box.style_2,.s1-fbt-box.style_3 {
    padding:1.2rem;
}
.style_1 .s1-fbt-title {
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin-bottom:1rem;
    margin-top: 0;
    border-color: rgba(229, 231, 235, 0.3);
    border-style: solid;
    border-width: 0;
    border-style: solid;
    border-bottom-width: 1px;
    padding-bottom: 1rem;
    font-weight: 700;
}
.style_1 .s1-fbt-content-wrap{
margin-top:3rem;
display:flex;
align-items: flex-start;
}
.s1-fbt-box.style_1 .s1-fbt-cards-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    justify-content: start;
    width: 70%;
}
.s1-fbt-box.style_1 .s1-fbt-plus-wrap{
margin-top: 3.5em;
}
/* HOLDER */
.s1-fbt-box.style_1 .s1-fbt-card-holder {
    position: relative;
}

/* CARD */
.s1-fbt-box.style_1 .s1-fbt-card {
    width: 7rem;
    text-align: center;
    position: relative;
}
.s1-fbt-box.style_1 .s1-fbt-card-holder {
    position: relative;
    display: flex;
    gap: 1rem;
}

/* IMAGE */
.s1-fbt-box.style_1 .s1-fbt-image {
    padding: 0.725rem;
    border-radius: 0.75rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
        background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.s1-fbt-box.style_1 .s1-fbt-image img {
    max-width: 100%;
}

/* TITLE */
.s1-fbt-box.style_1 .s1-fbt-card-title,.s1-fbt-box.style_1 .s1-fbt-card-title a {
    margin-top: 0.75rem;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.25;
    color: #6b7280;
    text-decoration: none;
}

/* PRICE */

.s1-fbt-box.style_1 .s1-fbt-card-price ,.s1-fbt-box.style_1 .s1-fbt-card-price .price  {
    font-weight: 600;
    margin-top: 0.25rem;
    font-size: 1rem;
    line-height: 1.75rem;
}

/* CHECKBOX */
.style_1 .s1-fbt-check-wrap {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 1;
}

.style_1 .s1-fbt-check-wrap input {
    display: none;
}

.style_1 .s1-fbt-check-ui {
    width: 1.5rem;
    height: 1.5rem;
    background: #000;
    border-radius: 9999px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
        background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .style_1 .is-unchecked .s1-fbt-check-ui{
    border:1px solid #eee;
} */
/* PLUS SIGN */
.style_1 .s1-fbt-plus-floating {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 99999px;
    background: #111;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* SUMMARY */
.s1-fbt-box.style_1 .s1-fbt-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    width: 30%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.s1-fbt-summary-label{
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #6b7280;
    font-weight: 500;
    padding-right: 1rem;
}
.s1-fbt-footer-wrap-1,.s1-fbt-footer-wrap-2{
    width:100%;
}
/* BUTTON */
.s1-fbt-box.style_1 .s1-fbt-add-btn,
.s1-fbt-box.style_1 .added_to_cart {
    
     border: none;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    width: 100% !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    background: #111;
    color: #fff;
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: normal;
}
.s1-fbt-box.style_1 .s1-fbt-summary-price{
    font-weight: 700;
    margin: 0.4rem 0rem;
    font-size: 1.875rem;
    line-height: 2.25rem;
    color: #111827;
    margin: 0.5rem 0;
}
.s1-fbt-box.style_1 .s1-fbt-summary-count{
font-size: 0.75rem;
    line-height: 1rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    background: #dcfce7;
    color:#15803d;
    border-radius: 9999px;
    justify-content: space-between;
}

.s1-fbt-box.style_1 .s1-title-wrap{
    display: flex;
    justify-content: space-between;
}
.style_1 .s1-title-wrap .s1-name{
    color:#1f2937;
}
.s1-fbt-box.style_1 .s1-price,.s1-fbt-box.style_1 .s1-price .price{
font-weight: 600;
color: #111827;
}
.s1-fbt-box.style_1 .s1-price .price{
font-size: 0.875rem;
    line-height: 1.25rem;
}
.style_1 .s1-fbt-bundle-list-wrap{
    margin-top: 1.5rem;
}
.style_1 ul.s1-fbt-checklist{
    list-style: none;
     padding: 0;
     margin:0;
}
.style_1 ul.s1-fbt-checklist li{
   margin-bottom:0.2rem;
}
.style_1 .s1-title-wrap{
font-size: 0.875rem;
    line-height: 1.25rem;
    
}
.style_1 .s1-price del{
    opacity: 0.4;
    margin-right:0.2rem;
}
.style_1 .s1-fbt-check-wrap {
    cursor: pointer;
}

/* input ko hide karo but clickable rakho */
.style_1 .s1-fbt-check-wrap input[type="checkbox"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

/* CHECKED STATE */
.style_1 .s1-fbt-check-wrap input:checked + .s1-fbt-check-ui {
    background: #111;
    color: #fff;
}

/* SVG hidden by default */
.style_1 .s1-fbt-check-ui svg {
    opacity: 0;
}

/* show tick when checked */
.style_1 .s1-fbt-check-wrap input:checked + .s1-fbt-check-ui svg {
    opacity: 1;
}
/* STYLE 1 ONLY */
.s1-fbt-box.style_1 .s1-fbt-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* clickable row */
.s1-fbt-box.style_1 .s1-fbt-click-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 10px;
}

/* hover feedback */
.s1-fbt-box.style_1 .s1-fbt-click-row:hover {
    background: rgba(0,0,0,0.03);
}

/* disabled main product */
.s1-fbt-box.style_1 .s1-fbt-checkbox:disabled + .s1-name {
    opacity: 0.6;
    cursor: not-allowed;
}
/* List row disabled style */
.s1-fbt-box.style_1 .s1-fbt-row-disabled .s1-name,
.s1-fbt-box.style_1 .s1-fbt-row-disabled .s1-price {
    text-decoration: line-through;
    opacity: 0.5;
}

/* optional: cursor */
.s1-fbt-row {
    cursor: pointer;
}
/* Style 1 inactive card */
.style_1 .s1-fbt-card-holder.is-inactive .s1-fbt-image img {
    opacity: 0.45;
    filter: grayscale(100%);
}

/* .style_1 .s1-fbt-card-holder.is-inactive .s1-fbt-card-title,
.style_1 .s1-fbt-card-holder.is-inactive .s1-fbt-card-price {
    text-decoration: line-through;
} */

/* ------------------------------------------
   STORE-ONE FBT — STYLE 2
------------------------------------------- */
/* ================= STYLE 2 ================= */

.style_2 .s1-fbt-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2rem;
    margin-top: 0;
    font-size: 1.125rem;
    line-height: 1.75rem;
}
.style_2 .s1-title-wrap .s1-name, .style_2 .s1-title-wrap .s1-name a{
font-size: 0.875rem;
    line-height: 1.25rem;
    color:#111827;
}
/* MAIN WRAP */
.style_2 .s1-fbt-style2-wrap {
      display: flex;
    gap: 0.1rem;
    align-items: stretch;
    margin-top: 2rem;
}

/* LEFT */
.style_2 .s1-fbt-style2-left{
flex:3;
}
.style_2 .s1-fbt-style2-right{
    flex:1;
}
/* IMAGE EQUATION */
.style_2 .s1-fbt-equation {
     display: flex;
    align-items: center;
    gap: 1rem 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: start;
}

.style_2 .s1-fbt-eq-item {
       display: flex;
    align-items: center;
    gap: 0.5rem;
}

.style_2 .s1-fbt-eq-img {
     width: 6.5rem;
    height: 6.5rem;
    overflow: hidden;
    padding: 0.5rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
     border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);

}

.style_2 .s1-fbt-eq-img img {
object-fit: cover;
    max-width: 100%;
}

.style_2 .s1-fbt-plus {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* CHECK LIST */
.style_2 .s1-fbt-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.style_2 .s1-fbt-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.style_2 .s1-check-icon {
    width:18px;
    height:18px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.style_2 .s1-name {
    flex: 1;
}

.style_2 .s1-price,.style_2 .s1-price .price {
font-weight: 700!important;
    margin-left: 0.5rem!important;
    font-size: 0.875rem!important;
    line-height: 1.25rem!important;
}

/* RIGHT */
.style_2 .s1-fbt-style2-right {
    border-left: 1px solid rgba(229, 231, 235, 0.3);
    padding-left: 1.5rem;
    display: flex;
    align-items: center;
}

.style_2 .s1-fbt-total-box {
    width: 100%;
}

.style_2 .s1-total-text {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.25rem;
    font-weight: 400;
    margin: 0.4rem 0;
    font-weight: 400;
}

.style_2 .s1-total-text del {
    margin-left: 6px;
}

.style_2 .s1-total-price {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.75rem;
}

.style_2 .s1-fbt-add-btn, .style_2 .added_to_cart{
    width: 100%;
    padding: 10px 15px !important;
    border-radius: 999px;
    background: #111;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
       border-radius: 6px;
}
.style_2 .added_to_cart{
    margin-top:0.5rem;
    line-height: normal;
    text-align: center;
}

/* hide real checkbox */
.s1-title-wrap .s1-fbt-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* label */
.s1-title-wrap .s1-fbt-check-wrap {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-right: .2rem;
}

/* circle box */
.s1-title-wrap .s1-check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

/* svg hidden by default */
.s1-title-wrap .s1-check-icon svg {
    width: 12px;
    height: 12px;
    color: #fff;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.2s ease;
}

/* checked state */
.s1-title-wrap .s1-fbt-checkbox:checked + .s1-check-icon {
    background: #111;
    border-color: #111;
}

.s1-title-wrap .s1-fbt-checkbox:checked + .s1-check-icon svg {
    opacity: 1;
    transform: scale(1);
}

/* disabled (main product) */
.s1-title-wrap .s1-fbt-checkbox:disabled + .s1-check-icon {
    opacity: 0.6;
    cursor: not-allowed;
}

/* optional: line-through when unchecked */
.s1-title-wrap .s1-fbt-checkbox:not(:checked) ~ .s1-name,
.s1-title-wrap .s1-fbt-checkbox:not(:checked) ~ .s1-price {
    opacity: 0.5;
    text-decoration: line-through;
}
/* checklist row */
.s1-fbt-row-disabled {
    opacity: 0.5;
}
.s1-fbt-row-disabled .s1-name,
.s1-fbt-row-disabled .s1-price {
    text-decoration: line-through;
}

/* equation image */
.s1-fbt-eq-item.is-inactive {
    opacity: 0.35;
    filter: grayscale(100%);
}

/* ==========================================================
   STYLE 3 — FLEX LAYOUT (IMPROVED)
========================================================== */
section.s1-fbt-box.style_3{
    background:#fff;
    border-radius:12px;
}

/* TITLE */
.s1-fbt-box.style_3 .s1-fbt-title{
    font-size:1.25rem;
    line-height:1.75rem;
    font-weight:700;
    margin-bottom:1.5rem;
}

/* PRODUCT LIST WRAP */
.style_3 .s1-fbt-products-flex{
    display:flex;
    flex-direction:column;
    gap:14px;
}

/* SINGLE PRODUCT ROW */
.style_3 .s1-fbt-product-row,
.style_3 .s1-fbt-flex-item{
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 0.5rem;
    padding: .5rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===============================
   CUSTOM CHECKBOX (ROUND BLACK)
================================ */
.style_3 .s1-fbt-check{
    position:relative;
}
.style_3 .s1-fbt-check input{
    appearance:none;
    -webkit-appearance:none;
    width:22px;
    height:22px;
    border-radius:50%;
    border:2px solid #111;
    cursor:pointer;
    display:grid;
    place-content:center;
    background:#fff;
}
.style_3 .s1-fbt-check input::before{
    content:"";
    width:10px;
    height:10px;
    border-radius:50%;
    transform:scale(0);
    transition:0.15s ease;
    background:#111;
}
.style_3 .s1-fbt-check input:checked::before{
    transform:scale(1);
}
.style_3 .s1-fbt-product-title {

    font-size: 0.875rem;
    line-height: 1.25rem;
    text-decoration: none;
    font-weight: 500;
    color: #1f2937;
}
/* IMAGE */
.style_3 .s1-fbt-thumb{
width: 4rem;
    height: 4rem;
}
.style_3 .s1-fbt-image img,
.style_3 .s1-fbt-thumb img{
max-width:100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 10px;
    border-radius: 0.375rem;
}

/* PRODUCT INFO */
.style_3 .s1-fbt-meta,
.style_3 .s1-fbt-info{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:4px;
}

.style_3 .s1-fbt-product-title a{
    font-weight:500;
    text-decoration:none;
    
}

/* PRICE */
.style_3 .s1-fbt-price{
    font-weight: 700;
    white-space:nowrap;
}

.style_3 .s1-old-price{
    margin-right:6px;
    opacity:0.5;
}

/* ===============================
   TOTAL BAR (IMAGE LIKE)
================================ */
.style_3 .s1-fbt-flex-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.style_3 .s1-fbt-footer,
.style_3 .s1-fbt-total-bar{
    
    display:flex;
    align-items:center;
    justify-content: flex-end;
    gap:14px;
}

/* TOTAL TEXT */
.style_3 .s1-total-label{
font-size: 1.3rem;
    line-height: 2rem;
    margin-bottom: 0.25rem;
    letter-spacing: 0.02rem;
}
.style_3 .s1-total-price{
    font-size: 1.875rem;
    line-height: 2.25rem;
}
.style_3 .s1-total-price del {
    opacity: 0.5;
    font-size: 1rem;
    line-height: 1.75rem;
    margin-left: 0.3rem;
}
.style_3 .s1-fbt-total-left{
    text-align: end;;
}
/* BUTTON */
.style_3 .s1-fbt-add-btn{
    padding:12px 22px;
    border-radius:999px;
    border:none;
    cursor:pointer;
    font-weight:600;
    transition:0.2s ease;
    background:#111;
}

.style_3 .s1-fbt-add-btn:hover{
    transform:translateY(-1px);
    opacity:0.95;
}

.style_3 .s1-fbt-check-wrap {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-right: .2rem;
}

/* circle box */
.style_3 .s1-check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
        background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.style_3 .s1-check-icon svg {
    width: 12px;
    height: 12px;
    color: #fff;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.2s ease;
}
.style_3 .s1-fbt-checkbox:checked + .s1-check-icon {
    background: #111;
    border-color: #111;
}
.style_3 .s1-fbt-checkbox:checked + .s1-check-icon svg {
    opacity: 1;
    transform: scale(1);
}
.style_3 .s1-fbt-checkbox:disabled + .s1-check-icon {
    opacity: 0.6;
    cursor: not-allowed;
}
.style_3 .s1-fbt-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.style_3 .variations.s1-fbt-variation{
    display:flex;
}
/* ---------------- MOBILE ---------------- */
@media (max-width:767px) {
    .s1-fbt-box.style_1 .s1-fbt-cards-row {
        gap: 24px;
    }

    .s1-fbt-plus-floating {
        display: none;
    }

    .s1-fbt-box.style_1 .s1-fbt-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .s1-fbt-add-btn {
        width: 100%;
    }

    .style_1 .s1-fbt-content-wrap{
    flex-direction: column;
    align-items: center
    }
    .s1-fbt-box.style_1 .s1-fbt-cards-row{
        justify-content: center;
        width: 100%;
    }
    .s1-fbt-box.style_1 .s1-fbt-summary{
        width:100%;
        margin-top:2rem;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .style_2 .s1-fbt-style2-wrap {
        flex-direction: column;
    }

    .style_2 .s1-fbt-style2-right {
        width: 100%;
        border-left: none;
        padding-left: 0;
        margin-top: 20px;
    }

    .style_2 .s1-fbt-equation {
        flex-wrap: wrap;
    }
}
@media (max-width: 625px) {
    .s1-fbt-box.style_1
    .s1-fbt-card-holder:nth-of-type(odd) .s1-fbt-plus-wrap {
        display: none !important;
    }

}
/* variation box style */
.s1-fbt-variation .variation .select select{
    
    margin-top:0.5rem;
    background-color: #ffffff3b;
    margin-top: 0.5rem;
    min-width: 100px;
    border-color:#ffffff3b;
}
.s1-fbt-variation .reset{
margin-top:0.5rem;
}
.style_3 .variations.s1-fbt-variation .select{
    margin-top:0;
    margin-right:0.5rem;
}
.style_3 .variations.s1-fbt-variation .select select{
    margin:0;
}