/* ==========================================================
   Restaurant Menu for WooCommerce
   Version 0.6
========================================================== */

/* ==========================
   Main Wrapper
========================== */

.rsp-shop{
    max-width:1400px;
    margin:0 auto;
    padding:20px;
}

/* ==========================
   Toolbar
========================== */

.rsp-toolbar{
    position:sticky;
    top:20px;
    z-index:999;
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px;
    margin-bottom:40px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 8px 30px rgba(0,0,0,.08);
}

.rsp-tabs-container{
    flex:1;
    overflow:hidden;
}

.rsp-tabs{
    display:flex;
    gap:12px;
    overflow-x:auto;
    scroll-behavior:smooth;
    scrollbar-width:none;
    white-space:nowrap;
}

.rsp-tabs::-webkit-scrollbar{
    display:none;
}

.rsp-tabs a{
    flex:0 0 auto;
    padding:12px 22px;
    text-decoration:none;
    color:#333;
    background:#f4f4f4;
    border-radius:999px;
    font-weight:600;
    transition:.25s;
}

.rsp-tabs a:hover,
.rsp-tabs a.active{
    background:#B30000;
    color:#fff;
}

/* ==========================
   Navigation Buttons
========================== */

.rsp-nav-btn{
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:#B30000;
    color:#fff;
    cursor:pointer;
    font-size:18px;
    transition:.25s;
}

.rsp-nav-btn:hover{
    background:#D4AF37;
    color:#111;
}

/* ==========================
   Product Grid
========================== */

.rsp-products-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:25px;
    list-style:none;
    margin:0;
    padding:0;
}

/* ==========================
   Product Card
========================== */

.rsp-product-card{
    background:#fff;
    border:1px solid #ececec;
    border-radius:14px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    transition:.25s;
}

.rsp-product-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

/* ==========================
   Image
========================== */

.rsp-image{
    background:#f8f8f8;
    overflow:hidden;
}

.rsp-image img{
    width:100%;
    height:230px;
    display:block;
    object-fit:cover;
    transition:.3s;
}

.rsp-product-card:hover .rsp-image img{
    transform:scale(1.05);
}

/* ==========================
   Content
========================== */

.rsp-content{
    padding:18px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.rsp-title{
    margin:0 0 10px;
    font-size:18px;
    line-height:1.4;
    font-weight:700;
    color:#222;
}

.rsp-title a{
    color:inherit;
    text-decoration:none;
}

.rsp-title a:hover{
    color:#B30000;
}

/* ==========================
   Description
========================== */

.rsp-description{
    font-size:14px;
    color:#666;
    line-height:1.5;
    margin-bottom:15px;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* ==========================
   Price
========================== */

.rsp-price{
    margin-top:auto;
    margin-bottom:12px;
    font-size:20px;
    font-weight:700;
    color:#B30000;
}
/* ==========================
   Cart Button
========================== */

.rsp-cart{
    margin-top:auto;
}

.rsp-cart .button{
    width:100%;
    background:#B30000;
    color:#fff;
    border:none;
    border-radius:8px;
    padding:12px;
    text-align:center;
    font-weight:600;
}

.rsp-cart .button:hover{
    background:#D4AF37;
    color:#111;
}

/* ==========================
   Tablet
========================== */

@media (max-width:991px){

    .rsp-products-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

}

/* ==========================
   Mobile
========================== */

@media (max-width:768px){

    .rsp-shop{
        padding:15px;
    }

    .rsp-toolbar{
        top:10px;
        padding:10px;
        border-radius:12px;
    }

    .rsp-nav-btn{
        display:none;
    }

    .rsp-products-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:16px;
    }

    .rsp-image img{
        height:160px;
    }

    .rsp-content{
        padding:12px;
    }

    .rsp-title{
        font-size:16px;
    }

    .rsp-description{
        font-size:13px;
    }

    .rsp-price{
        font-size:18px;
    }

    .rsp-cart .button{
        padding:10px;
        font-size:14px;
    }

}
/* ==========================
   Search
========================== */

.rsp-search{
    margin-bottom:20px;
}

.rsp-search input{

    width:100%;

    padding:15px 20px;

    border:1px solid #ddd;

    border-radius:12px;

    font-size:16px;

    outline:none;

    transition:.25s;

}

.rsp-search input:focus{

    border-color:#B30000;

    box-shadow:0 0 0 3px rgba(179,0,0,.08);

}
/* ==========================
   Product Footer
========================== */

.rsp-footer{
    margin-top:auto;
    padding:16px;
    background:#fafafa;
    border-top:1px solid #eee;
}

.rsp-price{
    font-size:20px;
    font-weight:700;
    color:#B30000;
    margin-bottom:12px;
}

.rsp-cart .button{
    width:100%;
}