@charset "UTF-8";
.body-introduction {
  display: flex;
  flex-direction: column;
  align-items: center; }

.first-content {
  width: 80%;
  background-color: red; }

.img-content img {
  width: 40%;
  /* Ảnh chiếm hết chiều ngang khung */
  aspect-ratio: 1.618 / 1;
  /* Tỉ lệ hình chữ nhật ngang */
  object-fit: cover;
  /* Cắt ảnh cho vừa khung mà không méo */
  border-radius: 8px;
  /* Bo góc nhẹ nếu muốn */
  display: block; }

/* ===== MENU ORDER (đã sửa full) ===== */
.mainmenuorder .listmenufelx {
  display: flex;
  gap: 55px;
  border-bottom: 1px solid #ccc;
  margin: 20px 0 10px;
  list-style: none;     /* bỏ bullet */
  padding-left: 0;      /* tránh thụt trái UL mặc định */
  position:relative;
}

.mainmenuorder .listmenufelx .menuli {
  position: relative;   /* để chứa submenu */
  display: flex;
  align-items: flex-end; /* cho chữ bám đường kẻ dưới */
}

/* Link cấp 1 */
.mainmenuorder .listmenufelx .menuli > a {
  position: relative;
  display: inline-block;   /* bề rộng theo chữ */
  margin: 0 auto;          /* canh giữa trong li nếu cần */
  padding: 0 0 8px;        /* chừa chỗ cho gạch đỏ */
  font-weight: bold;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.5);
  text-decoration: none;
  transition: color .25s ease;
  border-bottom: 5px solid transparent; /* giữ layout cũ nếu cần */
}


/* Gạch đỏ (canh giữa, bung ra từ giữa) */
.mainmenuorder .listmenufelx .menuli > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;                         /* sát đáy chữ */
  width: 100%;                       /* bằng bề rộng chữ nhờ inline-block */
  height: 3px;
  background-color: #e4002b;
  border-radius: 2px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}

/* Hover & Active: hiện full chiều rộng */
.mainmenuorder .listmenufelx .menuli > a:hover,
.mainmenuorder .listmenufelx .menuli.active > a {
  color: #e4002b;
}
.mainmenuorder .listmenufelx .menuli > a:hover::after,
.mainmenuorder .listmenufelx .menuli.active > a::after {
  transform: translateX(-50%) scaleX(1);
}

/* Submenu cấp 2 */
.mainmenuorder .listmenufelx .menucap2 {
  display: none;
}
.mainmenuorder .listmenufelx .menuli:hover .menucap2 {
  display: block;
  position: absolute;
  left: 0;
  top: 100%;                /* xuất phát ngay dưới menu cha */
  z-index: 99;
  background: #fff;
  min-width: 200px;
  padding: 15px 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.mainmenuorder .listmenufelx .menuli:hover .menucap2 a {
  display: block;
  padding: 5px 0;
}

/* Responsive: thu nhỏ gap trên mobile */
@media (max-width: 767px) {
  .mainmenuorder .listmenufelx { gap: 30px; }
}


.danhmucsnaphamtflx {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px; }
  .danhmucsnaphamtflx > div {
    min-width: 0; }
  @media (max-width: 767px) {
    .danhmucsnaphamtflx {
      grid-template-columns: repeat(1, 1fr); } }
  .danhmucsnaphamtflx .itemproductNEW {
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; }
    @media (max-width: 767px) {
      .danhmucsnaphamtflx .itemproductNEW {
        } }
  .danhmucsnaphamtflx .addcartmor {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 10px; }
    .danhmucsnaphamtflx .addcartmor a {
      box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
      background-color: #e4002b;
      border: 1px solid #e4002b;
      color: #fff;
      display: block;
      text-align: center;
      border-radius: 50px;
      font-size: 16px;
      padding: 7px 5px;
      margin: 15px 0;
      font-weight: bold;
      width: 100%; }
  .danhmucsnaphamtflx .titleflex {
    display: grid;
    grid-template-columns: 0.7fr 0.3fr;
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px; }
    @media (max-width: 767px) {
      .danhmucsnaphamtflx .titleflex {
        display: block; } }
  .danhmucsnaphamtflx .productdes {
    flex-grow: 1;
    display: flex;
    flex-direction: column; }
    @media (max-width: 767px) {
      .danhmucsnaphamtflx .productdes {
        text-align: left; } }
  .danhmucsnaphamtflx .imagepro img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    width: 100%; }

.danhmucsnaphamtitle {
  font-weight: bold;
  font-size: 30px;
  text-transform: uppercase;
  margin-bottom: 20px;
  margin-top: 50px; }

.actionlang {
  display: flex;
  align-items: center;
  gap: 15px; }

.gridtemplatedanh {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px; }
  @media (max-width: 767px) {
    .gridtemplatedanh {
      grid-template-columns: repeat(2, 1fr); } }

.gridtitemdanh {
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.2); }

.itemtitle a {
  display: block;
  font-size: 18px;
  font-weight: bold;
  padding: 10px; }

.titledanhmuc {
  font-family: 'Kanit', sans-serif;
  font-weight: bold;
  font-size: 39px;
  text-transform: uppercase;
  margin-bottom: 20px; }

.mainFooter .footer-container .footer-expand-collapsed {
  display: block !important; }

.add-to-cart--text .template-product--price {
  margin-bottom: 0 !important; }

.controlpo {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  border-radius: 50%;
  font-size: 17px;
  line-height: 31px;
  cursor: pointer; }

.action-buys--field {
  display: flex;
  align-items: center;
  gap: 5px; }

.action-buys--input {
  width: 50px;
  text-align: center;
  border: none !important;
  padding: 0 !important; }

.add-to-cart--text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 6px;
  font-size: 14px; }
  .add-to-cart--text .pro-price {
    font-size: 14px !important;
    color: #fff !important;
    font-weight: 500 !important; }

.template-product--action {
  display: flex;
  align-items: center;
  gap: 20px; }

.action-buys {
  margin-top: 0 !important; }

.template-product #template-product--row-1 .template-product--right .template-product--right-info .template-product--action .action-buys .action-buys--inner #add-to-cart {
  min-width: 180px;
  text-align: center;
  border: none;
  font-size: 12px;
  line-height: 18px;
  color: white;
  background: #e70505;
  text-transform: uppercase;
  outline: none;
  box-shadow: none;
  position: relative;
  border-radius: 40px;
  width: initial;
  padding: 0 23px; }

.template-product #template-product--row-1 .template-product--right .template-product--right-info .template-product--action .action-buys--quantity {
  width: initial; }

.titleflexdes {
  text-align: left;
  line-height: 21px;
  font-size: 14px; }

.danhmucsnaphamtflx .titleflex .titleflex1 a {
  font-size: 15px; }

@media (max-width: 767px) {
  .titledanhmuc {
    font-size: 24px; }
  .danhmucsnaphamtitle {
    font-size: 24px; }
  .actionlang {
    gap: 5px; } }

.danhmucsnaphamtflx .titleflex {
  min-height: 61px; }

/* === Mặc định cho Mobile (mobile-first) === */
.jGrowl-notification {
  max-width: 150px !important;
  width: 100% !important;
  box-sizing: border-box; }

.jGrowl-notification .row {
  flex-wrap: wrap; }

.jGrowl-note {
  word-wrap: break-word; }

.jGrowl-title {
  font-size: 14px;
  line-height: 1.2; }

.jGrowl-note ins {
  display: block;
  margin-top: 2px; }

/* === Tăng kích thước cho màn hình từ 768px trở lên (PC/tablet landscape) === */
@media (min-width: 768px) {
  .jGrowl-notification {
    max-width: 300px !important; } }

.breadcrumb-shop {
  text-align: left;
  /* hoặc center tuỳ layout */
  margin-bottom: 10px;
  margin-left: 15px; }

.btn-back-menu {
  display: inline-block;
  padding: 5px 10px;
  margin-left: 300px;
  background-color: #d32f2f;
  color: #fff !important;
  border-radius: 4px;
  text-decoration: none;
  font-size: 10px;
  transition: background-color 0.3s ease; }

.btn-back-menu:hover {
  background-color: #b71c1c;
  /* Thay vì dùng darken() vì CSS thuần không hỗ trợ */ }

/* ✅ Trên mobile: xoá margin-left */
@media (max-width: 767px) {
  .btn-back-menu {
    margin-left: 0; } }

