/* Project UI overrides loaded after style.css */

.menu-res .menu-bar-res {
  gap: 12px;
}

.menu-res #hamburger {
  flex: 0 0 30px;
  margin-right: 20px;
}

.menu-res .search-res-inline {
  flex: 1 1 auto;
  min-width: 0;
}

.menu-res .search-res-inline .search-grid {
  position: static;
  display: flex;
  align-items: center;
  width: 100%;
  height: 38px;
  overflow: hidden;
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.menu-res .search-res-inline .search-grid input {
  float: none;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 100%;
  padding: 0 0 0 15px;
  color: #111;
  font-size: 13px;
  line-height: 38px;
}

.menu-res .search-res-inline .search-grid p {
  float: none;
  flex: 0 0 40px;
  width: 40px;
  height: 100%;
  color: #c00000;
  line-height: 38px;
}

.hl-footer-powered {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(192, 0, 0, 0.32);
}

.hl-footer-powered__line {
  width: 100%;
  height: 1px;
  margin: 0 0 16px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(192, 0, 0, 0.95),
    rgba(255, 255, 255, 0.28),
    transparent
  );
}

.hl-footer-powered__inner {
  row-gap: 10px;
}

.hl-footer-copyright {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  width: 100%;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hl-footer-copyright__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: #fff;
  border: 1px solid rgba(192, 0, 0, 0.72);
  border-radius: 50%;
  background: rgba(192, 0, 0, 0.22);
}

.hl-footer-copyright-text {
  display: inline-block;
  color: rgba(255, 255, 255, 0.86);
}

.hl-footer-powered .footer-statistic span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 0;
}

.hl-footer-powered .footer-statistic {
  justify-content: center;
}

@media (max-width: 430px) {
  .menu-res .menu-bar-res {
    padding: 0 12px;
    gap: 10px;
  }

  .menu-res .search-res-inline .search-grid input {
    padding-left: 12px;
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  .hl-header-search.search {
    display: none;
  }
}

.slideshow .owl-item,
.slideshow .owl-page,
.slideshow .owl-stage-outer,
.slideshow picture,
.slideshow-image,
.slideshow-item {
  aspect-ratio: 1920 / 517;
  height: auto !important;
}

.slideshow .owl-stage {
  height: auto !important;
}

.slideshow .slideshow-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  .slideshow,
  .slideshow .owl-item,
  .slideshow .owl-page,
  .slideshow .owl-stage-outer,
  .slideshow picture,
  .slideshow-image,
  .slideshow-item {
    aspect-ratio: auto;
    height: clamp(190px, 52vw, 245px) !important;
  }

  .slideshow .slideshow-image img {
    object-fit: fill;
    object-position: center;
  }
}

@media (max-width: 430px) {
  .slideshow,
  .slideshow .owl-item,
  .slideshow .owl-page,
  .slideshow .owl-stage-outer,
  .slideshow picture,
  .slideshow-image,
  .slideshow-item {
    height: clamp(185px, 52vw, 220px) !important;
  }
}

.hl-footer-cta__item img {
  aspect-ratio: 1920 / 650;
  height: auto !important;
  max-height: none !important;
  object-fit: cover;
}
.hl-category-card__image {
  height: 220px; /* hoặc 250px */
  overflow: hidden;
}

.hl-category-card__image img {
  width: 100% !important;
  height: 100% !important;
  max-width: unset !important;
  max-height: unset !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
}
.hl-product-mini {
  gap: 14px !important;
}

.hl-product-mini__image {
  width: 115px !important;
  height: 115px !important;
  flex: 0 0 115px !important;
  overflow: hidden;
  border-radius: 8px;
}

.hl-product-mini__image img {
  width: 100% !important;
  height: 100% !important;
  max-width: unset !important;
  max-height: unset !important;
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
}
