/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f4f6f4;
    color:#111;
}

/* ==========================
   APP WRAPPER
========================== */

.app{
    max-width:430px;
    margin:auto;
    min-height:100vh;
    background:#fff;
    padding-bottom:80px;
}

/* ==========================
   TEXT
========================== */

.green{
    color:#0b7a34;
}

.red{
    color:#d60000;
}

.text-center{
    text-align:center;
}

/* ==========================
   SEARCH
========================== */

.search-wrap{
    padding:8px 16px;
}

.search-box{
    display:flex;
    gap:8px;
    background:#fff;
    border:1px solid #e2e2e2;
    border-radius:12px;
    padding:10px;
    box-shadow:0 2px 8px rgba(0,0,0,.04);
}

.search-box input{
    flex:1;
    border:0;
    outline:none;
    font-size:14px;
    background:transparent;
}

.search-box button{
    border:0;
    background:transparent;
    cursor:pointer;
    font-size:18px;
}

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

.btn{
    display:inline-block;
    text-decoration:none;
    border:none;
    cursor:pointer;
    border-radius:12px;
    padding:12px 16px;
    font-weight:bold;
}

.btn-green{
    background:#0b7a34;
    color:#fff;
}

.btn-yellow{
    background:#ffd400;
    color:#111;
}

.btn-red{
    background:#d60000;
    color:#fff;
}

/* ==========================
   CARDS
========================== */

.card{
    background:#fff;
    border:1px solid #eee;
    border-radius:16px;
    box-shadow:0 3px 10px rgba(0,0,0,.05);
}

/* ==========================
   SECTION HEADINGS
========================== */

.section-head{
    padding:10px 16px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.section-head h2{
    font-size:17px;
}

.section-head a{
    color:#0b7a34;
    text-decoration:none;
    font-size:13px;
    font-weight:bold;
}

/* ==========================
   DEALS / SERVICES TABS
========================== */

.main-tabs{
    display:grid;
    grid-template-columns:1fr 1fr;
    margin:8px 16px;
    border:1px solid #e5e5e5;
    border-radius:14px;
    overflow:hidden;
}

.main-tab{
    text-align:center;
    padding:13px;
    text-decoration:none;
    color:#444;
    font-weight:600;
    background:#fff;
}

.main-tab.active{
    background:#ecfdf5;
    color:#0b7a34;
    border-bottom:3px solid #0b7a34;
}

/* ==========================
   FORMS
========================== */

input,
select,
textarea{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:12px;
    outline:none;
}

input:focus,
select:focus,
textarea:focus{
    border-color:#0b7a34;
}

/* ==========================
   BOTTOM NAV
========================== */

.bottom-nav{
    position:fixed;
    left:50%;
    transform:translateX(-50%);
    bottom:0;
    width:100%;
    max-width:430px;
    background:#fff;
    border-top:1px solid #eee;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    padding:8px 0;
    z-index:999;
}

.bottom-nav a{
    text-align:center;
    text-decoration:none;
    color:#555;
    font-size:11px;
}

.bottom-nav a.active{
    color:#0b7a34;
    font-weight:bold;
}

.bottom-nav span{
    display:block;
    font-size:20px;
    margin-bottom:2px;
}

/* ==========================
   MOBILE
========================== */

@media (max-width:480px){

    .app{
        max-width:100%;
    }

}


/* HEADER */

.header-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:6px;
    padding:0 16px;
}

.business-btn{
    text-decoration:none;
    background:#0b7a34;
    color:#fff;
    padding:8px 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:600;
    white-space:nowrap;
}

.business-btn:hover{
    background:#09652c;
}

.header-actions{
    position:absolute;
    right:16px;
    top:16px;
}

.login-btn{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    border-radius:50%;
    text-decoration:none;
    font-size:20px;
    box-shadow:0 2px 8px rgba(0,0,0,.1);
}

/* ==========================
   PAGE WRAPPER
========================== */

.page-wrap{
    max-width:430px;
    margin:auto;
    min-height:100vh;
    background:#fff;
    padding:20px;
}

/* ==========================
   PAGE HEADER
========================== */

.page-logo{
    text-align:center;
    margin-top:25px;
}

.page-logo h1{
    margin:0;
    font-size:26px;
}

.page-subtitle{
    text-align:center;
    color:#666;
    margin-top:8px;
    margin-bottom:25px;
}

/* ==========================
   CHOICE CARDS
========================== */

.choice-card{
    display:block;
    text-decoration:none;
    color:#111;
    background:#fff;
    border:1px solid #eee;
    border-radius:20px;
    padding:22px;
    margin-bottom:16px;
    box-shadow:0 4px 14px rgba(0,0,0,.08);
    transition:.2s;
}

.choice-card:hover{
    transform:translateY(-2px);
}

.choice-card.active{
    border:2px solid #0b7a34;
}

.choice-icon{
    font-size:42px;
    display:block;
    margin-bottom:10px;
}

.choice-card h2{
    margin:0 0 6px;
    font-size:22px;
}

.choice-card p{
    margin:0;
    color:#666;
    line-height:1.4;
}

/* ==========================
   LOGIN LINK
========================== */

.center-link{
    text-align:center;
    margin-top:20px;
}


.hero-product,
.hero-product:visited{
    min-height:120px !important;
    display:flex !important;
    background:#fff8dc !important;
    color:#111 !important;
    overflow:visible !important;
}

.hero-product *{
    opacity:1 !important;
    visibility:visible !important;
}

.hero-product h3,
.hero-product p{
    color:#111 !important;
}

.hero-product img{
    display:block !important;
}
.center-link a{
    color:#0b7a34;
    text-decoration:none;
    font-weight:bold;
}

.shop-card{
    padding:12px;
}

.shop-top{
    display:grid;
    grid-template-columns:110px 1fr 22px;
    gap:12px;
    align-items:start;
}

.shop-photo{
    width:110px;
    height:110px;
    border-radius:14px;
    background:#eee;
}

.offer-strip{
    display:flex;
    gap:8px;
    overflow-x:auto;
    margin-top:10px;
    padding-bottom:4px;
}

.mini-offer{
    min-width:100px;
    height:92px;
    border:1px solid #eee;
    border-radius:14px;
    padding:6px;
    text-align:center;
    background:#fff;
}

.mini-offer img{
    width:36px;
    height:36px;
    object-fit:contain;
    display:block;
    margin:0 auto 3px;
}

.mini-name{
    font-size:11px;
    font-weight:800;
    color:#111;
}

.mini-price{
    font-size:12px;
    color:#087a34;
    font-weight:900;
}

.old-price{
    font-size:10px;
    color:#777;
    text-decoration:line-through;
}

.more-offer{
    min-width:64px;
    height:92px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#ecfdf5;
    color:#087a34;
    font-weight:900;
    border-radius:14px;
    font-size:13px;
    text-align:center;
}

.mini-emoji{
    font-size:30px;
    line-height:34px;
    margin-bottom:4px;
}

.cat-icon img{
    width:30px;
    height:30px;
    object-fit:contain;
}


.cat-wrap{
    position:relative;
    margin:0 16px;
}

.cat-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:20px;
    height:20px;
    border:0;
    border-radius:50%;
    background:#fff;
    box-shadow:0 2px 8px rgba(0,0,0,.18);
    z-index:10;
    font-size:16px;
    font-weight:900;
    cursor:pointer;
}

.cat-arrow.left{
    left:-10px;
}

.cat-arrow.right{
    right:-10px;
}

.categories{
    display:flex;
    gap:12px;
    overflow-x:auto;
    padding:8px 18px 10px;
    scroll-behavior:smooth;
    scrollbar-width:none;
}

.categories::-webkit-scrollbar{
    display:none;
}


.fa-apple-whole{
    color:#ef4444 !important;
}

.fa-carrot{
    color:#f97316 !important;
}

.fa-pizza-slice{
    color:#f59e0b !important;
}

.fa-drumstick-bite{
    color:#dc2626 !important;
}

.fa-fish{
    color:#3b82f6 !important;
}

.fa-bread-slice{
    color:#d97706 !important;
}

.fa-cheese{
    color:#facc15 !important;
}

.fa-basket-shopping{
    color:#16a34a !important;
}

.fa-scissors{
    color:#8b5cf6 !important;
}

.fa-store{
    color:#0ea5e9 !important;
}
