*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#eaf6ff;
    display:flex;
    justify-content:center;
    min-height:100vh;
    color:#222;
}

.app{
    width:100%;
    max-width:430px;
    background:#f8fbff;
    min-height:100vh;
    position:relative;
    padding-bottom:90px;
}

/* HEADER */

.header{
    padding:20px 18px;
    background:linear-gradient(180deg,#d9efff,#eef8ff);
}

.top-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.location h2{
    color:#0068c9;
    font-size:34px;
    font-weight:700;
}

.location p{
    margin-top:4px;
    color:#555;
    font-size:14px;
}

.location span{
    font-weight:600;
}

.profile{
    width:52px;
    height:52px;
    border-radius:50%;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:22px;
    box-shadow:0 5px 18px rgba(0,0,0,.12);
}

/* SEARCH */

.search-box{
    margin-top:22px;
    background:#fff;
    border-radius:18px;
    display:flex;
    align-items:center;
    padding:0 15px;
    height:58px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.search-box input{
    flex:1;
    border:none;
    outline:none;
    font-size:16px;
    background:transparent;
    padding:0 12px;
}

.search-box i{
    color:#666;
    font-size:18px;
}

.search-box button{
    width:42px;
    height:42px;
    border:none;
    border-radius:12px;
    background:#eef5ff;
    cursor:pointer;
}

/* CATEGORY */

.categories{
    display:flex;
    gap:12px;
    overflow-x:auto;
    padding:18px;
}

.categories::-webkit-scrollbar{
    display:none;
}

.category{
    min-width:92px;
    background:#fff;
    border-radius:20px;
    padding:14px 10px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.category.active{
    border:2px solid #2d84ff;
}

.category:hover{
    transform:translateY(-4px);
}

.icon{
    font-size:32px;
    margin-bottom:8px;
}

/* OFFER */

.offer{
    margin:0 18px;
    background:linear-gradient(135deg,#f7fbff,#ddefff);
    border-radius:22px;
    padding:22px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.offer h3{
    color:#005ad3;
    font-size:15px;
}

.offer h2{
    margin-top:8px;
    font-size:26px;
}

.offer p{
    margin-top:8px;
    color:#666;
}

/* PROMO */

.promo{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    padding:20px 18px;
}

.promo-card{
    background:#fff;
    border-radius:20px;
    padding:18px 12px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.promo-card h3{
    color:#1976d2;
    margin-bottom:8px;
}

.promo-card p{
    font-size:14px;
}

/* PRODUCTS */

.products{
    padding:0 18px 20px;
}

.products h2{
    margin-bottom:18px;
}

.grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;
}

.item{
    background:#fff;
    border-radius:22px;
    padding:20px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.item:hover{
    transform:translateY(-5px);
}

.img{
    font-size:50px;
    margin-bottom:12px;
}

/* BOTTOM NAV */

.bottom-nav{
    position:fixed;
    bottom:0;
    width:100%;
    max-width:430px;
    background:#fff;
    display:flex;
    justify-content:space-around;
    padding:14px 0;
    box-shadow:0 -6px 18px rgba(0,0,0,.08);
}

.nav-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    color:#666;
    cursor:pointer;
    font-size:13px;
}

.nav-item i{
    font-size:20px;
    margin-bottom:6px;
}

.nav-item.active{
    color:#0b74ff;
}

/* DESKTOP */

@media(min-width:900px){

body{
    padding:30px;
}

.app{
    border-radius:30px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,.15);
}

}