body .is-layout-flex {
    display: block !important;
}
body{
    background:#f4f4f4;
    font-family:Arial,sans-serif;
}

.fsa-app{
    max-width:1400px;
    margin:auto;
    padding:30px;
}

/* =========================
TOP SECTION
========================= */

.fsa-top{
    text-align:center;
    margin-bottom:30px;
}

.fsa-top h1{
    font-size:42px;
    margin-bottom:10px;
}

.fsa-top p,
.fsa-product-data p{
    color:#666;
}

/* =========================
CATEGORY SECTION
========================= */

.fsa-category-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:20px;
    margin-bottom:30px;
}

.fsa-category-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    cursor:pointer;
    transition:.3s;
    box-shadow:0 3px 10px rgba(0,0,0,.06);
}

.fsa-category-card:hover,
.fsa-product-card:hover{
    transform:translateY(-5px);
}

.fsa-category-card img{
    width:100%;
    height:100px;
    object-fit:cover;
}

.fsa-category-content{
    padding: 0px 15px 15px 15px;
}

.fsa-category-content h3{
    font-size:22px;
    margin-bottom:6px;
}

/* =========================
MAIN LAYOUT
========================= */

.fsa-main-layout{
    display:grid;
    grid-template-columns:1fr 380px;
    gap:25px;
    align-items:start;
}

.fsa-products-section,
.fsa-cart-sidebar,
.fsa-product-card{
    background:#fff;
    border-radius:20px;
}

.fsa-products-section{
    padding:25px;
}

/* =========================
PRODUCT GRID
========================= */

.fsa-products{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.fsa-product-card{
    overflow:hidden;
    transition:.3s;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.fsa-product-image img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.fsa-product-info{
    padding:20px;
}

/* =========================
PRODUCT ROW
========================= */

.fsa-product-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
    border-bottom:1px solid #eee;
    gap:20px;
}

.fsa-product-left{
    display:flex;
    gap:18px;
    align-items:flex-start;
    flex:1;
}

.fsa-product-thumb{
    width:120px;
    height:120px;
    border-radius:16px;
    overflow:hidden;
    flex-shrink:0;
}

.fsa-product-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.fsa-product-data{
    flex:1;
}

.fsa-product-data h3{
    font-size:24px;
    margin-bottom:10px;
}

.fsa-product-price{
    font-size:20px;
    color:#ff5722;
    font-weight:700;
    margin-top:10px;
}

/* =========================
BUTTONS
========================= */

.fsa-add-cart,
.fsa-variable-add-cart{
    border:2px solid #ff5722;
    background:#fff;
    color:#ff5722;
    padding:12px 28px;
    border-radius:12px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.fsa-add-cart:hover,
.fsa-variable-add-cart:hover,
.fsa-cat-btn.active,
.fsa-checkout-btn{
    background:#ff5722;
    color:#fff;
}

/* =========================
CATEGORY BUTTONS
========================= */

.fsa-categories{
    display:flex;
    gap:15px;
    overflow:auto;
    padding:15px;
    background:#fff;
    border-radius:12px;
}

.fsa-cat-btn{
    border:none;
    background:#fff3e0;
    padding: -4px 20px;
    border-radius:50px;
    cursor:pointer;
    font-weight:600;
    white-space:nowrap;
}

/* =========================
CART SIDEBAR
========================= */

.fsa-cart-sidebar{
    position:sticky;
    top:20px;
    padding:25px;
    height:fit-content;
}

.fsa-cart-item{
    border-bottom:1px solid #eee;
    padding:15px 0;
}


.fsa-subtotal{
    font-size:28px;
    font-weight:700;
    margin-top:20px;
}

.fsa-cart-btn,
.fsa-checkout-btn{
    display:block;
    width:100%;
    text-align:center;
    text-decoration:none;
    border-radius:14px;
    font-weight:700;
    margin-top:15px;
    padding:16px;
}

.fsa-cart-btn{
    background:#f1f1f1;
    color:#333;
}

.fsa-checkout-btn{
    font-size:18px;
}

/* =========================
POPUP
========================= */

.fsa-popup-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.6);
    z-index:9999;
    display:none;
    align-items:center;
    justify-content:center;
}

.fsa-popup{
    background:#fff;
    width:700px;
    max-width:95%;
    border-radius:24px;
    padding:30px;
    position:relative;
    max-height:90vh;
    overflow:auto;
}

.fsa-close-popup{
    position:absolute;
    right:20px;
    top:20px;
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:#f5f5f5;
    cursor:pointer;
    font-size:24px;
}

/* =========================
VARIATIONS
========================= */

.fsa-variation-wrapper{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    margin-top:15px;
    align-items:flex-end;
}

.fsa-variation-group{
    display:flex;
    flex-direction:column;
    min-width:120px;
}

.fsa-variation-group label{
    font-size:13px;
    font-weight:600;
    margin-bottom:6px;
    color:#111;
}

.fsa-variation-select{
    height:25px;
    min-width:120px;
    padding:0 15px;
    border:1px solid #ddd;
    border-radius:10px;
    background:#fff;
    font-size:14px;
    cursor:pointer;
    color:#000;
}

.fsa-variation-select option{
    color:#000;
    background:#fff;
}

.fsa-cart-sidebar{
    background:#fff;
    border-radius:20px;
    padding:25px;
    box-shadow:0 2px 12px rgba(0,0,0,.06);
}

.fsa-cart-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.fsa-cart-header h2{
    font-size:22px;
    margin:0;
    font-weight:700;
}

.fsa-cart-header a{
    color:#e53935;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
}

.fsa-cart-note{
    margin:20px 0;
}

.fsa-cart-note input{
    width:100%;
    height:45px;
    border:none;
    border-bottom:1px solid #ddd;
    outline:none;
    font-size:14px;
    background:transparent;
}

.fsa-cart-summary{
    margin-top:20px;
}

.fsa-cart-summary-row{
    display:flex;
    justify-content:space-between;
    margin-bottom:12px;
    font-size:15px;
}

.fsa-cart-summary-row.total{
    font-size:22px;
    font-weight:700;
    color:#d32f2f;
}

.fsa-checkout-btn{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    height:20px;
    background:#d50000;
    color:#fff;
    text-decoration:none;
    border-radius:10px;
    font-weight:700;
    margin-top:20px;
    transition:.3s;
    padding:15px 0px 15px 0px;
}

.fsa-checkout-btn:hover{
    background:#b71c1c;
    color:#fff;
}

.fsa-pickup-box{
    background:#eef7ea;
    border-radius:12px;
    padding:18px;
    margin-top:20px;
}

.fsa-pickup-row{
    display:flex;
    justify-content:space-between;
    gap:15px;
    margin-bottom:18px;
}

.fsa-pickup-row:last-child{
    margin-bottom:0;
}

.fsa-pickup-row small{
    display:block;
    color:#666;
    margin-bottom:5px;
}

.fsa-pickup-row p{
    margin:0;
    font-size:15px;
    font-weight:600;
    color:#222;
}

.fsa-pickup-row a{
    color:#d32f2f;
    text-decoration:none;
    font-weight:600;
    font-size:14px;
}

.fsa-product-search{
    margin-bottom:20px;
}

#fsa-search-product{
    width:100%;
    padding:12px 3px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:16px;
}

.fsa-cart-product{
    display:flex;
    align-items:center;
    gap:10px;
}

.fsa-cart-image img{
    width:60px;
    height:60px;
    object-fit:cover;
    border-radius:8px;
}
.fsa-cart-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    padding:15px 0;
    border-bottom:1px solid #eee;
}

.fsa-cart-left{
    display:flex;
    gap:12px;
    flex:1;
}

.fsa-cart-thumb{
    position:relative;
}

.fsa-cart-thumb img{
    width:80px;
    height:80px;
    object-fit:cover;
    border-radius:12px;
}

.fsa-cart-badge{
    position:absolute;
    top:-6px;
    left:-6px;
    background:red;
    color:#fff;
    width:22px;
    height:22px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:600;
}

.fsa-cart-content h4{
    margin:0 0 5px;
    font-size:16px;
    font-weight:700;
}

.fsa-cart-content p{
    margin:0 0 10px;
    color:#666;
    font-size:13px;
    line-height:1.4;
}

.fsa-cart-qty{
    display:flex;
    align-items:center;
    gap:10px;
}

.fsa-cart-qty button{
    width:28px;
    height:28px;
    border:1px solid #ddd;
    background:#fff;
    border-radius:6px;
    cursor:pointer;
    font-size:16px;
}

.fsa-cart-right{
    text-align:right;
}

.fsa-cart-price{
    color:#c62828;
    font-size:18px;
    font-weight:700;
    margin-bottom:10px;
}

.fsa-remove-item{
    background:none;
    border:none;
    cursor:pointer;
    font-size:16px;
    color:#999;
}

#fsa-customize-modal {
    overflow-y: auto;
}

.fsa-modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

.fsa-menu-list{
    background:#fff;
    border-radius:10px;
    overflow:hidden;
}

.fsa-menu-item-card:hover{
    background:#fafafa;
}

@media(max-width:768px){

    .fsa-menu-item-card{
        flex-wrap:wrap;
    }

    .fsa-menu-item-card > div:last-child{
        width:100% !important;
        flex-direction:row !important;
        justify-content:space-between;
        align-items:center;
        margin-top:10px;
    }
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:991px){

    .fsa-category-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .fsa-main-layout{
        grid-template-columns:1fr;
    }

}

@media(max-width:767px){

    .fsa-app{
        padding:15px;
    }

    .fsa-top h1{
        font-size:32px;
    }

    .fsa-category-grid,
    .fsa-products{
        grid-template-columns:1fr;
    }

    .fsa-product-row,
    .fsa-product-left{
        flex-direction:column;
        align-items:flex-start;
    }

    .fsa-product-row{
        gap:20px;
    }

    .fsa-variation-wrapper{
        gap:10px;
        width:100%;
    }

    .fsa-variation-group{
        flex:1;
        min-width:100px;
        width:100%;
    }

    .fsa-variation-select{
        width:100%;
        min-width:100%;
    }

}