*{
    margin: 0;
    padding: 0;
}
body{
    padding: 3px;
    background: #fffaef !important;
    font-family: "SN Pro", sans-serif !important;
    font-style: normal;
}
/* backgrounds */
.bg-grey{
    background: #d6d6d6 !important;
}

/* font colors */
.text-grey{
    color: #757575;
}
.text-nblue{
    color: #1f2a44;
}

/* category menu */
.category-card img {
  height: 160px;
  width: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card p {
  font-weight: 600;
}

.food-categories-slider {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.slider-wrapper {
    position: relative;
}

.slider-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
}

.slider-container::-webkit-scrollbar {
    height: 6px;
}

.slider-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.slider-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 150px;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-image {
    width: 150px;
    height: 150px;
    border-radius: 15px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

@media (max-width: 768px) {
    .slider-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .category-card {
        min-width: 120px;
    }

    .card-image {
        width: 120px;
        height: 120px;
    }

    .category-name {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .card-image {
        width: 100px;
        height: 100px;
    }
}

/* product card food - Grid */
/* CARD STRUCTURE grid */
.product-card{
    height:100%;
    display:flex;
    flex-direction:column;
    border-radius:20px !important;
    overflow:hidden;
    border:none;
    box-shadow:0 6px 20px rgba(0,0,0,0.06);
}

/* IMAGE RATIO (auto responsive) */
.product-img-wrap{
    aspect-ratio: 4 / 3;   /* change ratio if needed */
    overflow:hidden;
    /* border-radius: 20px; */
}

.product-img-wrap img{
    width:100%;
    height:100%;
    object-fit:cover;
    /* border-radius: 20px;
    padding: 5px; */

}

/* BODY FLEX */
.product-body{
    display:flex;
    flex-direction:column;
    flex-grow:1;
    padding:14px;
}

/* TITLE */
.product-title{
    font-weight:600;
    margin-bottom:6px;
}

/* DESCRIPTION LINE CLAMP */
.product-desc{
    font-size:14px;
    color:#777;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;

    margin-bottom:12px;
}

/* BOTTOM AREA ALWAYS PINNED */
.product-bottom{
    margin-top:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* PRICE */
.price{
    font-weight:700;
    font-size:18px;
}

/* ADD BUTTON */
.add-btn{
    background:#dff6f1;
    color:#0fa387;
    border-radius:30px;
    padding:2px 14px;
    font-weight:600;
    border:none;
}


/* food product card - list style */
.section-title{
    font-weight:600;
    color:#1f2a44;
}

/* CARD */
.product-card-list{
    background:#fff;
    border-radius:18px;
    border: 1px solid #e9e9e9;
    gap:14px;
    box-shadow:0 6px 18px rgba(0,0,0,0.05);
    height:100%;
}

/* IMAGE SQUARE CONTAINER */
.product-img-wrap-list{
    width:140px;
    aspect-ratio:1 / 1;
    flex-shrink:0;
    border-radius:14px;
    overflow:hidden;
}

.product-img-wrap-list img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* TEXT */
.product-info-list{
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    padding-right: 7px !important;
}
.product-title-list{
    font-size:18px;
    font-weight:700;
    margin-bottom:6px;
    color:#1f2a44;
}

/* DESCRIPTION CLAMP */
.product-desc-list{
    font-size:14px;
    color:#7a8599;
    margin-bottom:10px;

    display:-webkit-box;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* DESKTOP → 2 lines */
@media (min-width:992px){
    .product-desc-list{
        -webkit-line-clamp:2;
    }
}

/* MOBILE → 3 lines */
@media (max-width:991px){
    .product-desc-list{
        -webkit-line-clamp:2;
    }
}

/* BOTTOM AREA */
.product-bottom-list{
    padding-top:6px;
}

.product-price-list{
    font-weight:700;
    font-size:18px;
    color:#1f2a44;
}

/* BUTTON */
.add-btn-list{
    border:none;
    background:#e8f7f4;
    color:#14b8a6;
    font-weight:700;
    border-radius:30px;
    padding:2px 14px;
    display:flex;
    align-items:center;
    gap:6px;
}

/* MOBILE IMAGE SIZE */
@media (max-width:576px){
    .product-img-wrap-list{
        width:105px;
    }
    .product-title-list{
        font-size:16px;
    }
}