@media (max-width: 991.98px) {
  .navbar-custom {
    position: fixed !important;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1060;
  }
  body {
    padding-top: 56px;
  }
}
/* Thanh tìm kiếm mobile cạnh hamburger, cố định trên đầu */
@media (max-width: 991.98px) {
  .searchbar-mobile-wrap {
    display: flex !important;
    position: sticky !important;
    top: 0;
    z-index: 1051;
    background: #fff;
    padding: 6px 16px 6px 16px;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(60,60,60,0.04);
  }
  #searchBarMobile input {
    font-size: 1rem;
    border-radius: 6px;
    min-width: 0;
  }
  #searchBarMobile button {
    min-width: 38px;
    border-radius: 6px;
  }
}
/* Even margin for all sim cards in hot sim list */
.hot-sim-list .col-6,
.hot-sim-list .col-12,
.hot-sim-list .col-sm-6,
.hot-sim-list .col-md-4 {
  margin: 0 !important;
}
@media (max-width: 767.98px) {
  .hot-sim-list .d-flex {
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    background: #fff !important;
  }
}
@media (max-width: 767.98px) {
  .hot-sim-list {
    gap: 0 12px;
  }
  .hot-sim-list .mb-3 {
    margin-bottom: 3px !important;
  }
  .hot-sim-list .d-flex {
    padding: 12px 10px 10px 10px !important;
    align-items: flex-start;
    min-height: 64px;
    transition: box-shadow 0.18s, border 0.18s;
  }
  .hot-sim-list .d-flex:hover {
    border-color: #1976d2 !important;
    box-shadow: 0 4px 16px rgba(25,118,210,0.10);
  }
  .hot-sim-list img {
    max-width: 36px;
    height: 24px;
    margin-right: 10px;
    margin-bottom: 0;
    border-radius: 50%;
    background: #fafbfc;
    border: 1px solid #eee;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  }
  .hot-sim-list .sim-number {
    font-size: 1.13rem;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 2px;
    letter-spacing: 1px;
    text-align: left;
    word-break: keep-all;
    white-space: nowrap;
    overflow-wrap: normal;
  }
  .hot-sim-list .sim-price {
    font-size: 1.01rem;
    color: #d32f2f;
    font-weight: 600;
    text-align: left;
    margin-top: 2px;
    margin-bottom: 0;
    line-height: 1.2;
  }
  .hot-sim-list .d-flex > div {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }
}
@media (max-width: 767.98px) {
  #hot-sim-wrapper {
    padding: 2px 0 2px 0;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    margin-bottom: 4px;
  }
  .hot-sim-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 0;
    width: 100%;
    margin: 0;
  }
  .hot-sim-list .col-12,
  .hot-sim-list .col-sm-6,
  .hot-sim-list .col-md-4 {
    width: 50%;
    max-width: 50%;
    flex: 0 0 50%;
    padding: 0 0 0.5px 0;
    box-sizing: border-box;
    display: flex;
  }
  .hot-sim-list .d-flex {
  width: 100%;
  min-width: 0;
  border: 1.5px solid #e0e0e0 !important;
  border-radius: 12px;
  background: #fff !important;
  box-shadow: none !important;
  align-items: center;
  justify-content: center;
  padding: 0.5px 0.5px 0.5px 0.5px;
  gap: 1px;
  min-height: 24px;
  transition: box-shadow 0.18s, border 0.18s;
  }
  .hot-sim-list .d-flex:hover {
  border-color: #1976d2;
  box-shadow: none;
  }
  .hot-sim-list img {
    border-radius: 5px;
    background: #fff;
    border: none;
    padding: 0;
    max-width: 28px;
    height: 16px;
    margin-right: 4px;
    margin-bottom: 0;
    object-fit: contain;
    flex-shrink: 0;
  }
  .hot-sim-list .sim-number {
    font-size: 1.01rem;
    font-family: 'Roboto Mono', monospace;
    letter-spacing: 1px;
    margin-bottom: 0;
    color: #008000;
    font-weight: 500;
    line-height: 1.1;
    word-break: keep-all;
    white-space: nowrap;
    overflow-wrap: normal;
    text-align: center;
    width: 100%;
  }
  .hot-sim-list .sim-price {
    font-size: 0.93rem;
    color: #d32f2f;
    font-weight: 600;
    text-align: right;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.1;
  }
}
/* Sim nổi bật (hot-sim-wrapper) */
#hot-sim-wrapper {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(60,60,60,0.07);
  padding: 12px 0 9px 0; /* Giảm padding ngang để các ô sim giãn đều */
  margin-bottom: 32px;
  /* Xóa max-width nếu có */
}

#hot-sim-wrapper h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #d32f2f;
  letter-spacing: 0.3px;
}

.sim-number {
  font-size: 1.1rem;
  font-family: 'Roboto Mono', monospace;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.sim-price {
  font-size: 0.9rem;
  color: #222;
  font-weight: 600;
  text-align: right;
}

#viettel-list {
  --bs-gutter-x: 0.5rem; /* Giảm khoảng cách ngang giữa các cột */
  --bs-gutter-y: 0.5rem; /* Giảm khoảng cách dọc giữa các hàng */
  width: 100%;
  margin: 0;
}

#viettel-list .col-12,
#viettel-list .col-sm-6,
#viettel-list .col-md-4 {
  display: flex;
  margin-bottom: 1px;


}

#viettel-list .d-flex {
  width: 100%;
  min-width: 0;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fafbfc;
  transition: box-shadow 0.18s, border 0.18s;
  box-shadow: 0 1px 4px rgba(60,60,60,0.06);
}

#viettel-list .d-flex:hover {
  border-color: #1976d2;
  box-shadow: 0 4px 16px rgba(25,118,210,0.10);
}

#viettel-list img {
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 4px;
  max-width: 48px;
  height: auto;
}

#loadMoreBtn {
  min-width: 140px;
  font-weight: 500;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(25,118,210,0.07);
  margin-top: 10px;
}

#viettel-list .sim-number {
  flex-shrink: 1;
  word-break: break-all;
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 991.98px) {
  .container {
    max-width: 100% !important;
    padding-left: 0;
    padding-right: 0;
  }
  .row {
    margin-left: 0;
    margin-right: 0;
  }
}
.container {
  max-width: 1080px;   /* hoặc 900px, 1100px tùy ý */
}
.hot-sim-list.row {
  --bs-gutter-x: 0.5rem; /* hoặc 1.5rem, 8px... */
}
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    
}
.mt-4 {
    margin-top: 0.5rem !important;
}