/* Reset mặc định */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  background: white;
  align-items: center;
}
/* Logo */
.logo {
  width: 155px;
  height: auto;
  margin-left: 170px;
}

/* Danh sách menu */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin-right: 120px;
}
.nav-links a {
  color: black;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
  padding: 0 0 5px 5px;
}
.navbar .nav-links #active {
  border-bottom: 4px solid #EE4D2D;
  padding-bottom: 20px;
  color: #EE4D2D;
}
/* Hiệu ứng hover */
.nav-links a:hover {
  color: orange;
}
/* Dropdown */
.dropdown {
  position: relative;
  margin-left: 80px;
  margin-right: 60px;
}
.dropbtn {
  padding: 11px;  
  padding-left: 15px;
  padding-right: 15px;
  background: #f5f5f5;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  border: none;
}
.arrow {
  font-size: 12px;
}

.dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;

  width: 160px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;

  list-style: none;
  padding: 5px 0;
  display: none;
}

.dropdown-menu li {
  padding: 10px;
  cursor: pointer;
}

.dropdown-menu li:hover {
  background: #f0f0f0;
}

/* Nút đăng nhập */
.btn-login {
  margin-left: 20px;  
  width: 100px; 
  height: auto;   
  padding: 10px;
  background: white;
  border: 1px solid #EE4D2D;
  color: black;
  border-radius: 4px;
}
.btn-login:hover {
  background: rgb(255, 200, 100);
}
/*                                         Kết Thúc navbar                                     */
/*Chia cot*/
.container .back{
  
  height: 800px;
  background-image: url(img/1.jpg);
  background-size: cover;
  
}
.row{
    display: grid;
    gap: 30px;
    grid-template-columns: 5fr 7fr;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* content left              */
.left {
  color: white;
}
/*search box*/
.container .row .left .from-search .search-box{
  margin-top: 27px;
  padding-left: 10px;
  width: 100%;
  height: 51px;
  background: white;
  border: none;
  border-radius: 6px;
  overflow: hidden;
}
.container .row .left .from-search .search-box input {
  flex: 1;
  width: 85%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 17px;
  margin-right: 9px;
}
.search-btn{
  margin: 0;
  padding: 0;
  height: 100%;
  width: 55px;
  background: #ee4d2d;
  color: white;
  font-size: 18px;
  border: none;
  cursor: pointer;
}
.left h1{
  margin-top: 115px;
  font-size: 24px;
  font-weight: 700px;
  margin-bottom: 10px;
}
.left .text-top p{
  font-size: 15px;
  opacity: 0.9;
  text-transform: capitalize;
/* cac lua chon ben trai */
} 
.category-list {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;     /* quan trọng: tự xuống dòng */
  gap: 15px;
  max-width: 1366px;
}
.cat {
  font-size: 16px;
  padding: 10px 20px;
  border: 1px solid white;
  background: rgba(0,0,0,0.2);   
  color: rgba(255,255,255,0.8); 
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.cat:hover {
  background: white; 
  color: black;
  border: 1px solid white;
}

/* nút đang chọn */
.cat.active {
  background: white;
  color: black;
  border: 1px solid white;
}
.link-app{
  margin-top: 32px;
}
.container .row .left .link-app p{
  font-size: 18px;
  width: 90%;
}
.logo-app {
  margin-top: 25px;
  display: flex;
  gap: 15px;
}

.logo-app img {
  height: 50px;
  width: auto;
  cursor: pointer;
}
/* end               */
.hero {
  height: 100vh;
  overflow: hidden;
}
/* =========================
   HERO RIGHT 
========================= */
.hero-right {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 12px;
  padding: 24px 36px;
  overflow-y: auto;
  scrollbar-width: none;
  margin-top: 25px;
}

/* thanh lọc trên cùng */
.food-tabs {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-bottom: 18px;
}

.food-tabs a {
  text-decoration: none;
  color: #111;
  font-size: 20px;
  font-weight: 400;
}

.food-tabs a.active {
  color: #0288d1;
}

.food-tabs select {
  margin-left: auto;
  padding: 9px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
}

/* item */
.shop-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.shop-item {
  display: flex;
  gap: 18px;
  position: relative;
}

.status {
  width: 18px;
  height: 18px;
  background: #20b14b;
  border-radius: 50%;
  position: absolute;
  left: -9px;
  top: -4px;
  border: 2px solid white;
  z-index: 2;
}

.shop-item img {
  width: 180px;
  height: 110px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.shop-info h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #111;
  cursor: pointer;
}
.address {
  font-size: 14px;
  color: #999;
  margin-bottom: 8px;
}

.meta {
  display: flex;
  gap: 18px;
  margin-bottom: 8px;
}

.meta span {
  font-size: 14px;
  color: #111;
}

.meta i {
  color: #999;
  margin-right: 6px;
}

.category {
  font-size: 14px;
  color: #999;
  text-transform: uppercase;
}
.hero {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  scrollbar-width: none;
}
/* =======================
   FOOTER 
======================= */
.main-footer {
  background: #f5f5f5;
  padding: 40px 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
}
.main-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-inner {
  border-top: solid 1px #C0C0C0;
  padding-top: 50px;
  display: grid;
  grid-template-columns: 2fr 2fr 8fr;
  gap: 60px;
  align-items: start;
}

/* tiêu đề cột */
.title-block {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #222;
}

/* =======================
   CỘT 1: MENU LINK
======================= */

.menu-footer {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-footer .menu-item {
  margin-bottom: 10px;
}

.menu-footer .menu-item a {
  text-decoration: none;
  color: #0066cc;
  font-size: 14px;
}

.menu-footer .menu-item a:hover {
  text-decoration: underline;
}

/* =======================
   CỘT 2: APP DOWNLOAD
======================= */

.block-footer .apps {
  display: inline-block;
  margin-bottom: 12px;
  text-decoration: none;
}
.block-footer .apps span {
  display: block;
  width: 160px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}
.block-footer img{
  width: 150px;
  height: auto;
}
/* =======================
   CỘT 3: LOGO + SOCIAL
======================= */

.txt-center {
  text-align: left;
}

.logo-footer img {
  width: 250px;
  height: auto;
  margin-bottom: 0px;
  
}

.font12 {
  font-size: 13px;
  color: #777;
  margin-bottom: 15px;
  margin-left: 60px;
}

/* icon social */
.social-ico {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-left: 80px;
  display: flex;
  justify-content: left;
  gap: 15px;
}

.social-ico li a {
  display: flex;
  width: 38px;
  height: 38px;
  background: #777;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: 0.2s;
}

.social-ico li a i {
  color: white;
  font-size: 18px;
}

.social-ico li a:hover {
  background: #EE4D2D;
}

/* =======================
   CỘT 4: ĐỊA CHỈ
======================= */
.block-last{
  text-align: right;
}
.block-last span p {
  width: 100%;
  margin: 0 0 10px 0;
  color: #444;
  line-height: 1.6;
  text-align: right;
}

/* email link */
.block-last a {
  color: #0066cc;
  text-decoration: none;
}

.block-last a:hover {
  text-decoration: underline;
}

/* ảnh đã đăng ký */
.registered {
  display: block;
  margin-top: 20px;
  text-align: right;
}

.registered img {
  width: 160px;
  height: auto;
}
/* =======================
   RESPONSIVE
======================= */

@media (max-width: 992px) {
  .container-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .block-last span p {
    text-align: left;
  }

  .registered {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .container-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .txt-center {
    text-align: left;
  }

  .social-ico {
    justify-content: flex-start;
  }
}

/* nút menu */

.menu-toggle{
    display: none;

    font-size: 24px;

    cursor: pointer;
}


/* mobile */

@media (max-width: 1000px){

    .menu-toggle{
        display: block;
    }

    .nav-links{

        position: absolute;

        top: 78px;
        left: 0;

        width: 100%;

        background: white;

        flex-direction: column;

        align-items: center;

        gap: 0;

        padding: 20px 0;

        display: none;

        box-shadow: 0 5px 10px rgba(0,0,0,0.08);
    }
    .nav-links.active{
        display: flex;
    }

    .nav-links li{
        width: 100%;
        text-align: center;
    }

    .nav-links a{
        display: block;
        padding: 18px;
    }

    .dropdown,
    .fa-magnifying-glass,
    .btn-login{
        display: none;
    }

    .navbar{
        justify-content: space-between;
        padding: 0 20px;
    }

    .logo{
        margin-left: 0;
    }
}



/* tablet */
@media (max-width: 992px){

    .promo-grid{
        grid-template-columns: repeat(2,1fr);
    }
    .collection-grid{
        grid-template-columns: repeat(2,1fr);
    }
}


/* mobile */
@media (max-width: 768px){

    .promo-grid{
        grid-template-columns: 1fr;
    }
    .collection-grid{
        grid-template-columns: 1fr;
    }
}
