* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brown: #6b3e26;
    --brown-dark: #4f2c1b;
    --beige: #f7efe7;
    --cream: #fffaf5;
    --soft: #f3e3d3;
    --white: #ffffff;
    --text: #2e221c;
    --muted: #7b6a60;
    --shadow: 0 8px 24px rgba(70, 45, 32, 0.10);
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background: var(--beige);
    color: var(--text);
    overflow-x: hidden;
}

button,
input {
    font-family: inherit;
}

button {
    border: none;
    cursor: pointer;
}

a {
    text-decoration: none;
}


/* MAIN APP */

.app {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    margin: 0 auto;
    background: var(--cream);
    padding-bottom: 90px;
    position: relative;
    overflow: hidden;
}

main {
    width: 100%;
    padding: 24px 18px 18px;
}

.page {
    display: none;
    width: 100%;
    min-width: 0;
}

.page.active {
    display: block;
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* HEADER */

.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 20px 18px;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.welcome-text {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 3px;
}

.top-header h1 {
    font-size: 24px;
    color: var(--brown);
    line-height: 1.1;
}

.tagline {
    font-size: 12px;
    color: var(--muted);
    margin-top: 5px;
}

.header-logo {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 18px;
    background: var(--soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}


/* HERO */

.hero-banner {
    width: 100%;
    background: linear-gradient(135deg, #6b3e26, #9a6849);
    border-radius: 24px;
    padding: 30px 24px;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    min-height: 210px;
    box-shadow: var(--shadow);
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.promo-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 14px;
}

.hero-content h2 {
    font-size: 30px;
    line-height: 1.15;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 18px;
}

.hero-emoji {
    font-size: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.primary-btn {
    background: var(--white);
    color: var(--brown);
    padding: 11px 18px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 13px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    transition: 0.3s;
    cursor: pointer;
}


/* SECTION HEADER */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 26px;
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: 18px;
    color: var(--brown-dark);
}

.section-header button {
    background: transparent;
    color: var(--brown);
    font-size: 12px;
    font-weight: bold;
}

/* QUICK ACCESS */

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.quick-card {
    min-width: 0;
    background: var(--white);
    border-radius: 18px;
    padding: 14px 5px;
    box-shadow: var(--shadow);
    text-align: center;
}

.quick-card span {
    font-size: 25px;
    display: block;
    margin-bottom: 7px;
}

.quick-card p {
    font-size: 11px;
    color: var(--text);
    font-weight: bold;
}

/* HOME PROMOTION */

.promo-card,
#homePromotion {
    width: 100%;
    background: #fff0dd;
    transition: .3s ease;
border: 1px solid rgba(165, 89, 34, 0.08);
    border-radius: 22px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

#homePromotion > div,
.promo-card > div {
    flex: 1;
    min-width: 0;
}

.promo-card span {
    font-size: 11px;
    color: #a35922;
    font-weight: bold;
}

.promo-card h3 {
    font-size: 17px;
    color: var(--brown-dark);
    margin: 5px 0;
}

.promo-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.4;
}

.promo-card button {
    flex-shrink: 0;
    background: var(--brown);
    color: var(--white);
    padding: 10px 13px;
    border-radius: 999px;
    font-size: 11px;
}

.promo-card:hover,
#homePromotion:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
}


/* PAGE TITLE */

.page-title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.page-title p {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 3px;
}

.page-title h2 {
    font-size: 25px;
    color: var(--brown-dark);
}

.page-title span {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: var(--soft);
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}
/* SEARCH */

.search-box {
    width: 100%;
    background: var(--white);
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.search-box input {
    border: none;
    outline: none;
    flex: 1;
    min-width: 0;
    font-size: 14px;
    background: transparent;
    color: var(--text);
}


/* CATEGORY */

.category-tabs {
    width: 100%;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 18px;
    scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-btn {
    flex: 0 0 auto;
    background: var(--white);
    color: var(--muted);
    padding: 9px 15px;
    border-radius: 999px;
    font-size: 12px;
}

.category-btn.active {
    background: var(--brown);
    color: var(--white);
}


/* MENU LIST */

.menu-list,
#menuList {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.food-card,
#menuList .food-card {
    width: 100%;
    min-width: 0;
    min-height: 135px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    box-shadow: var(--shadow);

    border: 1px solid rgba(0, 0, 0, 0.05);
transition: 0.3s ease;
}

.food-card img,
#menuList .food-card img {
    width: 125px;
    height: 145px;
    flex: 0 0 125px;
    object-fit: cover;
    display: block;

    transition: transform 0.35s ease;
}

.food-details,
#menuList .food-details {
    flex: 1;
    min-width: 0;
    padding: 14px;
}

.food-category {
    font-size: 10px;
    color: #a5673d;
    font-weight: bold;
}

.food-details h3 {
    color: var(--brown-dark);
    font-size: 17px;
    margin: 5px 0;
    overflow-wrap: anywhere;
}

.food-details p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.4;
    margin-bottom: 12px;
}

.food-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.food-bottom strong {
    color: var(--brown);
    font-size: 16px;
}

.small-order-btn,
.food-bottom a {
    flex-shrink: 0;
    background: var(--brown);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: bold;
}
/* PROMOTION LIST */

.promotion-list,
#promotionList {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.promotion-card {
    width: 100%;
    background: var(--white);
    border-radius: 20px;
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: var(--shadow);
}

.promotion-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 16px;
    background: var(--soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.promotion-card span {
    font-size: 10px;
    color: #a5673d;
    font-weight: bold;
}

.promotion-card h3 {
    font-size: 18px;
    color: var(--brown-dark);
    margin: 4px 0 6px;
}

.promotion-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}


/* CONTACT */

.contact-card {
    width: 100%;
    background: var(--white);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    box-shadow: var(--shadow);
    margin-bottom: 14px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 15px;
    background: var(--soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}

.contact-card > div:nth-child(2) {
    flex: 1;
    min-width: 0;
}

.contact-card h3 {
    color: var(--brown-dark);
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-card p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
}

.contact-card a {
    flex-shrink: 0;
    background: var(--brown);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: bold;
}


/* ABOUT */

.about-card {
    margin-top: 20px;
    background: var(--brown);
    color: var(--white);
    border-radius: 22px;
    padding: 22px;
}

.about-card span {
    font-size: 30px;
}

.about-card h3 {
    margin: 10px 0 8px;
    font-size: 19px;
}

.about-card p {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}
/* FLOATING WHATSAPP */

.floating-whatsapp {
    position: fixed;
    right: max(18px, calc((100vw - 480px) / 2 + 18px));
    bottom: 86px;
    width: 52px;
    height: 52px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
    z-index: 80;
}


/* BOTTOM NAVIGATION */

.bottom-nav {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: min(100%, 480px);
    height: 72px;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-btn {
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #9b8d85;
}

.nav-btn span {
    font-size: 20px;
}

.nav-btn small {
    font-size: 10px;
}

.nav-btn.active {
    color: var(--brown);
    font-weight: bold;
}


/* DESKTOP */

@media (min-width: 700px) {

    body {
        padding: 20px 0;
    }

    .app {
        border-radius: 28px;
        box-shadow: 0 18px 50px rgba(62, 38, 25, 0.12);
        min-height: calc(100vh - 40px);
    }

    .bottom-nav {
        border-radius: 0 0 28px 28px;
    }
}


/* SMALL PHONE */

@media (max-width: 380px) {

    main {
        padding-left: 12px;
        padding-right: 12px;
    }

    .food-card img,
    #menuList .food-card img {
        width: 105px;
        flex-basis: 105px;
    }

    .popular-info {
        padding: 8px;
    }

    .popular-info h3 {
        font-size: 11px;
    }

    .quick-grid {
        gap: 6px;
    }
}
.social-links{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:12px;
}

.social-links a{
    text-decoration:none;
    color:#6b3e26;
    font-weight:600;
    transition:0.3s;
}

.social-links a:hover{
    color:#c77b30;
    transform:translateX(5px);
}
/* LOADER */

#loader{
    position:fixed;
    inset:0;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
    transition:opacity .5s ease;
}

.loader-content{
    text-align:center;
}

.loader-logo{
    font-size:60px;
    animation:bounce 1s infinite;
}

@keyframes bounce{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-10px);
    }

}

.loader-hide{
    opacity:0;
    pointer-events:none;
}
.empty-state{
    background:#fff;
    border-radius:16px;
    padding:30px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.empty-state h3{
    margin:12px 0 8px;
}

.empty-state p{
    color:#777;
}
/* ===============================
   OUR CATEGORIES
================================ */

.category-section{
    padding:70px 8%;
    background:#fff;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
    gap:20px;
    max-width:1000px;
    margin:40px auto 0;
}

.category-card{
    background:#fff8f4;
    border-radius:18px;
    padding:30px 20px;
    text-align:center;
    transition:.3s;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
    cursor:pointer;
}

.category-card:hover{
    transform: translateY(-5px);
    background: #fef1ea;
}

.category-icon{
    font-size:42px;
    margin-bottom:15px;
}

.category-card h3{
    font-size:20px;
    margin:0;
    color:#3b2a23;
}

@media(max-width:768px){

.category-section{
    padding:50px 20px;
}

.category-grid{
    grid-template-columns:repeat(2,1fr);
}

}
.arrow{
    transition: transform 0.3s ease;
}

.primary-btn:hover .arrow{
    transform: translateX(5px);
}
.primary-btn:hover{
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}
.food-card:hover,
#menuList .food-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.food-card:hover img,
#menuList .food-card:hover img {
    transform: scale(1.05);
}
/* ===============================
   FLOATING CART
=============================== */

.cart-button{
    position: fixed;

    bottom: 155px;
    left: calc(50% + 250px);
    transform: translateX(-100%);

    background: #ff6b35;
    color: white;

    padding: 12px 18px;
    border-radius: 50px;

    font-weight: 600;
    cursor: pointer;

    box-shadow: 0 5px 15px rgba(0,0,0,.2);

    z-index: 999;
    transition: .3s;
}

.cart-button:hover{
    transform: translateX(-100%) scale(1.05);
}
@media (max-width: 700px){

    .cart-button{
        left: auto;
        right: 20px;
        bottom: 155px;
        transform: none;
    }

    .cart-button:hover{
        transform: scale(1.05);
    }
}
/* ===============================
   CART PANEL
=============================== */

.cart-overlay{
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.45);

    opacity: 0;
    visibility: hidden;

    z-index: 998;

    transition: 0.3s;
}

.cart-overlay.active{
    opacity: 1;
    visibility: visible;
}

.cart-panel{
    position: fixed;

    left: 50%;
    bottom: 0;

    width: min(100%, 600px);
    max-height: 75vh;

    background: white;

    border-radius: 22px 22px 0 0;

    transform: translate(-50%, 100%);

    z-index: 999;

    transition: 0.35s ease;

    display: flex;
    flex-direction: column;

    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.18);
}

.cart-panel.active{
    transform: translate(-50%, 0);
}

.cart-header{
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 20px;

    border-bottom: 1px solid #eeeeee;
}

.cart-header h2{
    margin: 0;
    font-size: 21px;
}

.cart-header button{
    border: none;
    background: transparent;

    font-size: 20px;
    cursor: pointer;
}

#cartItems{
    padding: 16px 20px;

    overflow-y: auto;
    flex: 1;
}

.cart-footer{
    padding: 16px 20px 20px;

    border-top: 1px solid #eeeeee;

    background: white;
}

.cart-footer h3{
    margin: 0 0 14px;
}

.checkout-btn{
    width: 100%;

    border: none;
    border-radius: 12px;

    padding: 14px;

    background: #25d366;
    color: white;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;
}

.checkout-btn:hover{
    opacity: 0.9;
}
.cart-item{

    padding:14px 0;

    border-bottom:1px solid #eee;

}

.cart-item h4{

    margin:0 0 6px;

}

.cart-item p{

    margin:0;

    color:#666;

}

/* CART QUANTITY BUTTONS */

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid #eeeeee;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    margin: 0 0 5px;
}

.cart-item-info p {
    margin: 0;
}

.cart-quantity{

    display:flex;
    align-items:center;
    justify-content:center;
    gap:15px;

}

.cart-quantity button {
    display: inline-flex !important;
    visibility: visible !important;
    align-items: center;
    justify-content: center;
   width:30px;
height:30px;
font-size:18px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: #7a4024;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.cart-quantity span {
    min-width: 20px;
    text-align: center;
    font-weight: bold;
}