/*  */

#id_special,
#id_is_homepage {
  display: flex;
}

/* ============================================ */

/* body {
  height: 100%;
} */

body {
  display: flex;
  flex-direction: column;
  padding-top: 70px; /* tránh navbar che nội dung */
}

footer {
  margin-top: auto;
  width: 100%;
}

/* ===================================================== */
.navbar-brand img {
  height: 45px; /* chỉnh theo ý bạn: 30 / 40 / 50 */
  width: auto; /* giữ đúng tỷ lệ, không méo */
  border-radius: 10px;
}

.features-item img {
  width: 50px;
  height: auto;
}

.main-header {
  padding-top: 105px;
}

.subcribe {
  /* background-image: url("/static/images/subscribe.jpg"); */
  background-size: cover;
  background-position: center;
}

.brand-icon img {
  width: 130px;
}

.copy-right {
  /* background-color: #272727; */
}

.blur-filter {
  backdrop-filter: blur(8px);
  background-color: #cccccc0c;
}

.custom-modal {
  max-width: 400px;
}

.nav-red {
  background: #fff2f2 !important;
}

.footer-red {
  background: #fff2f2 !important;
  /* width: 100% !important; */
  /* border: 1px solid red; */
}

/* ====================================================== */

.carousel-item img {
  height: 300px; /* chỉnh theo ý bạn: 300 / 350 / 400 */
  object-fit: cover; /* giữ ảnh đẹp, không méo */
}

.carousel-caption h5,
.carousel-caption p {
  background: rgba(253, 253, 253, 0.6); /* vàng + opacity 80% */
  border-radius: 1px;
  color: hsl(0, 0%, 0%) !important; /* chữ trắng */
}

.carousel-control-prev,
.carousel-control-next {
  background-color: rgba(255, 255, 255, 0.6) !important; /* nền trắng 80% */
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(0) invert(1);
}

.carousel-dark {
  --bs-carousel-indicator-active-bg: #ffffff;
  --bs-carousel-caption-color: #fff;
  --bs-carousel-control-icon-filter: brightness(0) invert(1);
}

/* ======================================= */

.product-img img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.utensils .multi-img {
  height: 300px;
  width: 50%;
  object-fit: cover;
  object-position: center -20px;
  padding: 30px;
  transition: transform 0.5s ease; /* mượt */

  cursor: pointer;
}

.utensils .multi-img:hover {
  transform: scale(1.1); /* zoom 10% */
  background-color: #6600075b;
}

.utensil-name {
  margin-top: -120px;
  font-weight: 500;
  text-align: center;
}

.cart-wrapper {
  position: relative;
  display: inline-block; /* đúng yêu cầu */
}

.cart-wrapper img {
  width: 28px;
  height: auto;
}

.cart-count {
  position: absolute;
  top: -1px; /* đẩy lên góc */
  right: 18px; /* đẩy sang phải */
  background: red;
  color: white;
  font-size: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-card {
  overflow: hidden;
  border-radius: 8px;
}

.product-card .product-image {
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.product-card:hover .product-image {
  transform: scale(1.1) translateY(-18px);
}

.product-card:hover {
  box-shadow: 3px -3px 15px rgba(0, 0, 0, 0.25);
}

/* ACTIVE STYLE */

.dropdown-menu .dropdown-item.active {
  background-color: transparent !important;
  border-left: 4px solid #ff9800;
  color: #ff9800 !important;
  font-weight: 600;
}
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item.show {
  background-color: #ff9800 !important; /* nền cam */
  color: #fff !important; /* chữ trắng giống Bootstrap */
}

/* SUBCATEGORY LIST (ẩn mặc định) */
.sub-list {
  list-style: none;
  padding-left: 1.5rem;
  margin: 0;
  display: none; /* QUAN TRỌNG: ẩn subcategory */
}

/* HIỆN SUBCATEGORY KHI HOVER CATEGORY CHA */
.dropdown-submenu:hover > .sub-list {
  display: block;
}

/* SUBCATEGORY ITEM STYLE */
.sub-item {
  padding-left: 1rem;
  font-size: 0.95rem;
  opacity: 0.85;
}

.sub-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.load-more-wrapper {
  margin-bottom: 80px !important;
}

.list-group-item {
  border: none !important;
}
