

/* thanh điều hướng (Navbar) */

@media (max-width: 768px) {
    .company-address {
        text-align: left;
        margin-top: 20px;
    }
}
.btn-login {
    border: 1px solid #d0011b !important; 
    color: #d0011b !important;            
    background-color: transparent;       
    padding: 6px 15px !important;        
    border-radius: 4px;                 
    margin-top: 10px;                
    display: inline-block;
    transition: all 0.2s ease-in-out;  
}

/* Hiệu ứng đổi màu */
.btn-login:hover {
    background-color: #d0011b !important; 
    color: #ffffff !important;            
    text-decoration: none !important;     
}
.store-container {
    background-color: #ffffff;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Bo góc và chỉnh kích thước ảnh cửa hàng */
.store-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

/* Đường dẫn Breadcrumb */
.store-breadcrumb {
    font-size: 13px;
    color: #0288d1;
    margin-bottom: 10px;
}
.store-breadcrumb a {
    color: #0288d1;
    text-decoration: none;
}

/* nhãn (SHOP/CỬA HÀNG) */
.store-type {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
}

/* Tên cửa hàng chính */
.store-title {
    font-size: 22px;
    font-weight: bold;
    color: #252525;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Địa chỉ */
.store-address {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

/* Khu vực đánh giá */
.store-rating {
    margin-bottom: 10px;
}
.store-rating .stars {
    color: #ffc107; 
    font-size: 14px;
}
.store-rating .review-count {
    background-color: #ee4d2d;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 5px;
}
.store-rating .review-link {
    color: #0288d1;
    font-size: 13px;
    margin-left: 5px;
    text-decoration: none;
}

/* Trạng thái mở cửa, thời gian và giá */
.store-status-time {
    font-size: 14px;
    margin-bottom: 8px;
}
.status-open {
    color: #26a69a;
    font-weight: bold;
}
.status-open::before {
    content: "● ";
    font-size: 12px;
}
.store-price {
    font-size: 15px;
    color: #787878;
    margin-bottom: 20px;
}

/*phân tách Dịch vụ phần dưới */
.store-meta-info {
    border-top: 1px solid #eee;
    padding-top: 15px;
    display: flex;
}
.meta-box {
    margin-right: 40px;
}
.meta-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.meta-value {
    font-size: 14px;
    color: #252525;
}
.meta-value-highlight {
    color: #ee4d2d;
    font-weight: bold;
}

.partner-badge {
    background-color: #ffb74d;
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin-top: 5px;
}
/* KHỐI THỰC ĐƠN (MENU SECTION) */
.menu-section {
    padding-top: 20px;
    background-color: #f5f5f5;
}

.menu-heading {
    font-size: 16px;
    font-weight: bold;
    color: #d0011b;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Danh mục bên trái */
.category-list {
    background-color: #fff;
    border-radius: 4px;
    padding: 10px 0;
    max-height: 500px;
    overflow-y: auto;
}
.category-item {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}
.category-item:hover, .category-item.active {
    background-color: #ebebeb;
    color: #d0011b;
    font-weight: bold;
    text-decoration: none;
}

/* Danh sách món ăn */
.search-box-wrapper {
    margin-bottom: 20px;
}
.search-box-wrapper .form-control {
    border-radius: 4px;
    box-shadow: none;
    border: 1px solid #ddd;
    height: 40px;
}

.current-category-title {
    font-size: 14px;
    font-weight: bold;
    color: #666;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Khối từng món ăn */
.food-item {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    display: flex;
}
.food-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
    flex-shrink: 0;
}
.food-info {
    flex-grow: 1;
}
.food-title {
    font-size: 15px;
    font-weight: bold;
    color: #252525;
    margin: 0 0 5px 0;
}
.food-description {
    font-size: 12px;
    color: #757575;
    line-height: 1.5;
    margin-bottom: 0;
}
.food-price-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 110px;
    margin-left: 15px;
    flex-shrink: 0;
}
.food-price {
    font-size: 15px;
    font-weight: bold;
    color: #0288d1;
}
.btn-add-food {
    background-color: #ee4d2d;
    color: #fff;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    padding: 0;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
}
.btn-add-food:hover {
    background-color: #d04125;
    color: #fff;
}

/* QR Code */
.qr-sidebar {
    background-color: #ee4d2d;
    color: #fff;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
}
.qr-image-box {
    background-color: #fff;
    padding: 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}
.qr-image-box img {
    width: 140px;
    height: 140px;
}
.qr-text {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 0;
}
/*thanh danh sách tỉnh thành */
.location-dropdown {
    min-width: 280px;
    max-height: 350px;
    overflow-y: auto;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Đẩy chữ tỉnh sang trái, số địa điểm sang phải */
.location-dropdown > li > a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px !important;
}

/* Số lượng địa điểm mờ */
.location-count {
    font-size: 12px;
    color: #999999;
}
/* 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);
}
/* Reset mặc định */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
/* =======================
   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;
  }
}