
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:Arial,Helvetica,sans-serif;
  background:#f5f5f5;
  color:#111;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

/* TOP INFO */
.top-info{
  background:#f0f0f0;
  border-bottom:1px solid #ddd;
  font-size:13px;
  color:#444;
}

.top-info-wrap{
  max-width:1400px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:8px 20px;
}

.top-info-right{
  display:flex;
  gap:24px;
}

/* NAVBAR */
.navbar{
  position:sticky;
  top:0;
  z-index:999;
  background:#fff;
  border-bottom:1px solid #e8e8e8;
}

.nav-wrap{
  max-width:1400px;
  margin:auto;
  display:flex;
  align-items:center;
  gap:18px;
  padding:14px 20px;
}

.logo{
  font-size:44px;
  font-weight:900;
  color:#00aa5b;
}

.category-btn{
  font-size:16px;
  cursor:pointer;
  white-space:nowrap;
}

.search{
  flex:1;
  height:48px;
  border:1px solid #cfcfcf;
  border-radius:10px;
  display:flex;
  align-items:center;
  padding:0 16px;
  gap:10px;
  background:#fff;
}

.search input{
  width:100%;
  border:0;
  outline:0;
  font-size:15px;
}

.search button{
  border:0;
  background:none;
  font-weight:700;
  cursor:pointer;
  font-size:15px;
}

.nav-icons{
  display:flex;
  align-items:center;
  gap:18px;
  font-size:24px;
}

.nav-buttons{
  display:flex;
  gap:12px;
}

.btn-outline{
  height:42px;
  padding:0 22px;
  border:2px solid #00aa5b;
  color:#00aa5b;
  background:#fff;
  border-radius:10px;
  font-weight:700;
  cursor:pointer;
}

.btn-fill{
  height:42px;
  padding:0 22px;
  border:0;
  background:#00aa5b;
  color:#fff;
  border-radius:10px;
  font-weight:700;
  cursor:pointer;
}

/* MAIN */
.main{
  max-width:1400px;
  margin:auto;
  padding:24px 20px;
}

/* HERO */
.hero{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:20px;
}

.hero-left,
.hero-right{
  background:#fff;
  border-radius:18px;
  padding:20px;
  box-shadow:0 2px 12px rgba(0,0,0,.05);
}

.hero-title{
  font-size:22px;
  font-weight:800;
  margin-bottom:20px;
}

.banner{
  height:220px;
  border-radius:16px;
  overflow:hidden;
  position:relative;
  background:#eee;
}

.slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:.4s;
}

.slide.active{
  opacity:1;
}

.slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.s1{
  background:linear-gradient(120deg,#00aa5b,#00d97a);
}

.s2{
  background:linear-gradient(120deg,#0077ff,#00c3ff);
}

.s3{
  background:linear-gradient(120deg,#ff7b00,#ffc400);
}

.slide-text h2{
  font-size:34px;
  margin-bottom:8px;
}

.slide-text p{
  font-size:15px;
  opacity:.95;
}

.slide-icon{
  width:140px;
  height:140px;
  border-radius:30px;
  background:rgba(255,255,255,.2);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:60px;
}

.dots{
  position:absolute;
  bottom:14px;
  left:0;
  right:0;
  text-align:center;
}

.dots span{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(255,255,255,.5);
  display:inline-block;
  margin:0 3px;
}

.dots span.active{
  width:30px;
  border-radius:20px;
  background:#fff;
}

/* TOPUP */
.topup-tabs{
  display:flex;
  border-bottom:1px solid #ddd;
}

.topup-tab{
  padding:14px 16px;
  font-weight:700;
  color:#666;
  cursor:pointer;
}

.topup-tab.active{
  color:#00aa5b;
  border-bottom:3px solid #00aa5b;
}

.topup-body{
  padding-top:20px;
}

.input-group{
  margin-bottom:14px;
}

.input-group label{
  display:block;
  margin-bottom:8px;
  font-size:14px;
  font-weight:700;
}

.input-group input,
.input-group select{
  width:100%;
  height:48px;
  border:1px solid #ccc;
  border-radius:10px;
  padding:0 14px;
  font-size:14px;
}

.buy-btn{
  width:100%;
  height:48px;
  border:0;
  border-radius:10px;
  background:#00aa5b;
  color:#fff;
  font-size:15px;
  font-weight:700;
  cursor:pointer;

  display:none;
  align-items:center;
  justify-content:center;
}
/* CATEGORY */
.categories{
  display:none;
  flex-wrap:wrap;
  gap:14px;
  margin-top:20px;
}

.mobile-register{
  display:block;
  margin-top:20px;
}

.mobile-register a{
  width:100%;
  height:48px;
  border-radius:12px;
  background:#00aa5b;
  color:#fff;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:15px;
  box-shadow:0 3px 10px rgba(0,170,91,.25);
}

/* MOBILE */
@media(max-width:768px){

  .categories{
    display:none;
  }

  .mobile-register{
    display:block;
    padding:12px 0 0;
    margin-top:0;
  }

  .mobile-register a{
    width:100%;
    height:48px;
    border-radius:12px;
    background:#00aa5b;
    color:#fff;
    font-weight:800;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:15px;
    box-shadow:0 3px 10px rgba(0,170,91,.25);
  }

}
.cat{
  background:#fff;
  border:1px solid #ddd;
  border-radius:100px;
  padding:14px 20px;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
  box-shadow:0 1px 4px rgba(0,0,0,.03);
}

.cat span{
  font-size:22px;
}

/* PRODUCTS */
.section-head{
  display:flex;
  gap:30px;
  align-items:center;
  margin-top:50px;
  margin-bottom:20px;
  font-size:24px;
  font-weight:800;
}

.section-head .active{
  color:#00aa5b;
  border-bottom:3px solid #00aa5b;
  padding-bottom:10px;
}

.products{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:18px;
}

.product{
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  position:relative;
  transition:.2s;
  box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.product:hover{
  transform:translateY(-3px);
}

.badge{
  position:absolute;
  top:10px;
  left:10px;
  z-index:2;
  background:#ff3b5f;
  color:#fff;
  padding:5px 8px;
  border-radius:7px;
  font-size:12px;
  font-weight:700;
}

.product-image{
  height:230px;
  background:#f2f2f2;
  overflow:hidden;
}

.product-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.p1{background:linear-gradient(135deg,#6b2e00,#ffc477);}
.p2{background:linear-gradient(135deg,#0044ff,#b9e0ff);}
.p3{background:linear-gradient(135deg,#fff7d1,#fff);}
.p4{background:linear-gradient(135deg,#1a1a1a,#cfcfcf);}
.p5{background:linear-gradient(135deg,#00aa5b,#caffdf);}
.p6{background:linear-gradient(135deg,#7b2cff,#f2c8ff);}

.product-body{
  padding:14px;
}

.product-title{
  font-size:14px;
  line-height:1.4;
  min-height:40px;
  margin-bottom:10px;
}

.price{
  color:#ff0033;
  font-size:20px;
  font-weight:800;
  margin-bottom:8px;
}

.mini-tag{
  display:inline-block;
  border:1px solid #ffb57d;
  color:#ff6b00;
  font-size:11px;
  border-radius:6px;
  padding:3px 6px;
  margin-bottom:8px;
}

.meta{
  font-size:12px;
  color:#666;
  margin-top:6px;
}

/* PROMO */
.promo-banner{
  margin-top:50px;
  background:linear-gradient(120deg,#111,#00aa5b);
  border-radius:20px;
  padding:40px;
  color:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.promo-banner h2{
  font-size:42px;
  margin-bottom:10px;
}

.promo-banner p{
  max-width:600px;
  line-height:1.6;
}

.promo-banner a{
  background:#fff;
  color:#00aa5b;
  padding:14px 24px;
  border-radius:12px;
  font-weight:800;
  display:inline-block;
  margin-top:20px;
}

/* MOBILE */
.mobile-bottom{
  display:none;
}

@media(max-width:1100px){

  .products{
    grid-template-columns:repeat(4,1fr);
  }

  .hero{
    grid-template-columns:1fr;
  }

}

@media(max-width:768px){

  .top-info{
    display:none;
  }

  .nav-wrap{
    gap:10px;
    padding:10px;
  }

  .logo{
    display:none;
  }

  .category-btn{
    display:none;
  }

  .search{
    height:38px;
    border-radius:8px;
  }

  .nav-icons{
    font-size:20px;
    gap:10px;
  }

  .nav-buttons{
    display:none;
  }

  .main{
    padding:0;
  }

  .hero{
    display:block;
  }

  .hero-left,
  .hero-right{
    border-radius:0;
    box-shadow:none;
    padding:12px;
  }

  .hero-title{
    font-size:18px;
    margin-bottom:14px;
  }

  .banner{
    height:170px;
    border-radius:12px;
  }

  .slide{
    padding:18px;
  }

  .slide-text h2{
    font-size:22px;
  }

  .slide-text p{
    font-size:12px;
  }

  .slide-icon{
    width:80px;
    height:80px;
    font-size:34px;
    border-radius:18px;
  }

  .categories{
    overflow:auto;
    flex-wrap:nowrap;
    padding-bottom:4px;
  }

  .cat{
    min-width:max-content;
    padding:12px 16px;
    font-size:13px;
  }

  .section-head{
    font-size:16px;
    gap:20px;
    padding:0 12px;
    margin-top:25px;
    margin-bottom:12px;
  }

  .products{
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding:0 10px;
  }

  .product-image{
    height:150px;
    font-size:55px;
  }

  .product-body{
    padding:10px;
  }

  .product-title{
    font-size:13px;
  }

  .price{
    font-size:16px;
  }

  .promo-banner{
    margin:24px 10px 90px;
    padding:22px;
    display:block;
  }

  .promo-banner h2{
    font-size:26px;
  }

  .promo-banner p{
    font-size:13px;
  }

  .mobile-bottom{
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    height:60px;
    background:#fff;
    border-top:1px solid #ddd;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    z-index:999;
  }

  .mb-item{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:2px;
    font-size:10px;
    color:#666;
  }

  .mb-item span{
    font-size:22px;
  }

  .mb-item.active{
    color:#00aa5b;
    font-weight:700;
  }

}
