/* Da don: go 258 khai bao bi chinh file nay ghi de o phia duoi, tuc da chet han.
   Ket qua hien thi KHONG doi — da doi chieu 321 lop x 5 kho man hinh x 40 thuoc tinh
   trong Chromium, khong mot khac biet nao. */
/* HTJ catalogue — plain CSS, served directly without the theme Sass compiler. */
/* =========================================================
   THANH TRÊN CÙNG (topbar) — gộp v5.0.24, mỗi bộ chọn một chỗ
   ========================================================= */
/* Ghi chú chuyển từ khu cũ: Màn rất hẹp (360px): thu chữ một chút để địa chỉ ngắn không bị cắt */
/* Ghi chú chuyển từ khu cũ: Điện thoại: giờ mở cửa + Hotline + Zalo cần ~380px, tràn khỏi màn 360-390px
   (icon đồng hồ bị cắt ở mép trái). Giữ Hotline và Zalo — hai thứ khách bấm. */
.htj-luxury-topbar {
  background: #0c3830;
  color: #ffffff;
  font-size: 12.5px;
  line-height: 1.4;
  padding: 7px 0;
  border-bottom: 1px solid rgba(197, 168, 128, 0.28);
  position: relative;
  z-index: 1001;
}
.htj-luxury-topbar>.container-fluid {
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
  max-width: var(--htj-header-max);
  margin-inline: auto;
  padding-inline: 24px;
  box-sizing: border-box;
}
.htj-luxury-topbar .htj-topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.htj-luxury-topbar .htj-topbar-col {
  display: flex;
  align-items: center;
}
.htj-luxury-topbar .htj-topbar-col.htj-topbar-left {
  justify-self: start;
  min-width: 0;
}
.htj-luxury-topbar .htj-topbar-col.htj-topbar-center {
  justify-self: center;
  white-space: nowrap;
  text-align: center;
}
.htj-luxury-topbar .htj-topbar-col.htj-topbar-right {
  justify-self: end;
  white-space: nowrap;
  gap: 12px;
}
.htj-luxury-topbar .htj-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.htj-luxury-topbar .htj-topbar-link:hover {
  color: #e6ca9e;
  text-decoration: none;
}
.htj-luxury-topbar .htj-topbar-link svg {
  flex-shrink: 0;
  color: #ffffff !important;
  stroke: #ffffff;
}
.htj-luxury-topbar .htj-topbar-showroom .htj-topbar-text {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  display: inline !important;
  line-height: 1.35;
}
.htj-luxury-topbar .htj-topbar-slogan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.htj-luxury-topbar .htj-topbar-slogan svg {
  color: #ffffff !important;
  stroke: #ffffff;
  flex-shrink: 0;
}
.htj-luxury-topbar .htj-topbar-hours {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
}
.htj-luxury-topbar .htj-topbar-hours svg {
  color: #ffffff !important;
  stroke: #ffffff;
}
.htj-luxury-topbar .htj-topbar-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 12px;
  margin: 0 2px;
  user-select: none;
}
.htj-luxury-topbar .htj-topbar-hotline strong {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.03em;
}


/* ① Thanh trên cùng: điện thoại thay Hotline bằng địa chỉ + Chỉ đường */
.htj-luxury-topbar .htj-topbar-mapmb {
  display: none;
}
@media (max-width: 1279px) {
  .htj-luxury-topbar .htj-topbar-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .htj-luxury-topbar .htj-topbar-center {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .htj-luxury-topbar .htj-topbar-inner {
    display: flex;
    justify-content: center;
    gap: 12px;
  }
  .htj-luxury-topbar .htj-topbar-left {
    display: none;
  }
  .htj-luxury-topbar .htj-topbar-center {
    display: none !important;
  }
  .htj-luxury-topbar .htj-topbar-col.htj-topbar-right {
    justify-self: center;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    justify-content: center;
  }
  /* 4. Thanh trên cùng: chữ 11.5px và vùng bấm Hotline chỉ cao 16px. */
  .htj-luxury-topbar {
    font-size: 12.5px;
    padding: 2px 0;
  }
  .htj-luxury-topbar .htj-topbar-link {
    min-height: 34px;
  }
  .htj-luxury-topbar .htj-topbar-hotline,
  .htj-luxury-topbar .htj-topbar-hours,
  .htj-luxury-topbar .htj-topbar-divider {
    display: none !important;
  }
  .htj-luxury-topbar .htj-topbar-mapmb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
  }
  .htj-luxury-topbar .htj-topbar-mapmb__addr {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .htj-luxury-topbar .htj-topbar-mapmb__cta {
    flex-shrink: 0;
    margin-left: 2px;
    padding-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    font-weight: 700;
    color: #e6ca9e;
    white-space: nowrap;
  }
}
@media (max-width: 480px) {
  .htj-luxury-topbar .htj-topbar-hours,
  .htj-luxury-topbar .htj-topbar-divider {
    display: none !important;
  }
}
@media (max-width: 374px) {
  .htj-luxury-topbar .htj-topbar-mapmb {
    gap: 4px;
    font-size: 11.5px;
  }
  .htj-luxury-topbar .htj-topbar-mapmb__cta {
    padding-left: 6px;
  }
}

/* =========================================================
   HEADER (logo, liên hệ, bố cục, header dính) — gộp v5.0.24, mỗi bộ chọn một chỗ
   ========================================================= */
/* Ghi chú chuyển từ khu cũ: 1. HEADER: logo và nút tìm kiếm đè lên menu
   Nguyên nhân: khung header bị giới hạn max-width 1440px (padding 24px),
   nên menu chỉ có tối đa ~1260px; 11 mục ở cỡ chữ 13.5px + letter-spacing
   0.05em cần ~1550px. Với flex nowrap + justify-content:center, phần dư
   tràn đều ra HAI BÊN, vượt qua padding dự phòng và đè lên logo (trái)
   cùng icon tìm kiếm (phải).
   Cách xử lý:
     a) .header-navbar-menu thành lưới 3 cột thật: logo | menu | chỗ cho
        nút tìm kiếm — menu không thể lấn sang vùng của hai phần tử kia.
     b) Neo nút tìm kiếm theo mép khung 1440px thay vì mép màn hình, để
        trên màn hình rộng icon không văng ra sát rìa.
     c) Thu gọn typography menu ở MỌI bề rộng desktop (không chỉ màn nhỏ)
        vì khung luôn bị giới hạn 1440px.
     d) Cho phép xuống dòng làm lưới an toàn cuối cùng — tuyệt đối không
        dùng overflow ở đây vì sẽ cắt mất mega-menu đổ xuống. */
/* HEADER STYLE 3 — a single scoped layout, including its sticky state. */
#site-header {
  color: var(--htj-primary);
  background: #fff;
  border-bottom: 1px solid var(--htj-line);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  z-index: 1001;
}
#site-header .flex-container-header {
  margin: 0;
  align-items: center;
}
#site-header .flex-container-header>[class*="header-wrap-"] {
  min-width: 0;
  padding: 0;
}
#site-header .header-wrap-logo {
  width: auto;
  min-width: 0;
  max-width: none;
}
#site-header .wrap-logo {
  min-width: 0;
}
#site-header .htj-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  overflow: visible;
  -webkit-line-clamp: unset;
  color: var(--htj-primary);
  position: relative;
  transition: transform 0.25s var(--htj-ease);
}
#site-header .htj-brand .logoimg {
  display: block;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  max-height: none;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}
#site-header .htj-brand-name {
  font-size: 17px;
  line-height: 1.35;
  white-space: nowrap;
  color: var(--htj-primary);
}





/* Đảm bảo logo dính mặc định không bao giờ hiển thị khi chưa cuộn trang */
#site-header:not(.hSticky-nav) .wrap-logo-sticky,
.catalog-mode .header-action_cart {
  display: none !important;
}
#site-header.hSticky-nav {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(12, 56, 48, 0.08) !important;
  border-bottom: 1px solid rgba(12, 56, 48, 0.12);
}
#site-header .htj-brand:hover {
  transform: translateY(-1px);
}
#site-header .htj-brand:hover .logoimg {
  transform: scale(1.03);
}
@media(min-width: 992px) {
  #site-header .mainHeader-middle {
    padding: 14px 0;
  }
  #site-header:not(.hSticky-nav) .flex-container-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 68px;
  }
  #site-header:not(.hSticky-nav) .header-wrap-logo {
    flex: 0 0 auto;
  }
  #site-header:not(.hSticky-nav) .header-wrap-tools {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
  }
  /* Ô tìm kiếm nằm giữa tên shop và Hotline: phần trống chỉ chia cho hai lề
     auto của ô tìm kiếm (không để lề auto ở cụm Hotline, nếu không ô bị đẩy
     lệch trái). Khoảng cách 18px = 24px của hàng ngoài trừ 6px lề trong của
     nút Hotline, để hai khoảng trống nhìn bằng nhau. */
  #site-header:not(.hSticky-nav) .header-wrap-tools>.header-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
  }
  #site-header:not(.hSticky-nav) .htj-header-quick-actions {
    flex: 0 0 auto !important;
    margin-left: 0;
    display: flex !important;
    align-items: center !important;
    gap: 16px;
  }
  #site-header.hSticky-nav .wrap-logo-sticky .wrap-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
  }
  #site-header.hSticky-nav .wrap-logo-sticky .logoimg {
    display: block;
    width: 44px;
    height: 44px;
    max-height: none;
    border-radius: 50% !important;
    object-fit: contain;
  }
  #site-header.hSticky-nav .address-header {
    display: none;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  #site-header:not(.hSticky-nav) .flex-container-header {
    gap: 16px;
  }
  #site-header:not(.hSticky-nav) .header-wrap-tools>.header-action {
    gap: 10px;
  }
  #site-header:not(.hSticky-nav) .htj-header-quick-actions {
    gap: 12px;
  }
  #site-header:not(.hSticky-nav) .htj-header-quick-actions .htj-hq-sub {
    display: none;
  }
  #site-header .htj-brand .logoimg {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
  }
  #site-header .htj-brand-name {
    font-size: 15px;
  }
  #site-header .address-header {
    font-size: 13px;
  }
  #site-header .htj-header-quick-actions .htj-hq-main {
    font-size: 12.5px;
  }
}
@media(max-width: 991px) {
  #site-header {
    top: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: 0 2px 10px rgba(12,56,48,.07);
  }
  #site-header .mainHeader-middle {
    padding: 0;
  }
  #site-header .flex-container-header {
    display: grid;
    grid-template-columns: 40px minmax(0,1fr) 40px;
    gap: 6px;
    min-height: 64px;
    padding: 0;
  }
  #site-header .htj-brand {
    gap: 8px;
    justify-content: center;
  }
  #site-header .htj-brand .logoimg {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
  #site-header .htj-brand-name {
    font-size: 14px;
  }
  #site-header .header-wrap-iconav>.header-action,
  #site-header .header-wrap-tools>.header-action {
    margin: 0;
    justify-content: center;
  }
  #site-header .header-action_menu {
    display: block;
    margin: 0;
    padding: 0;
  }
  #site-header .header-action__link {
    padding: 0;
  }
  #site-header .header-action_menu .box-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }
  #site-header .address-header {
    display: none;
  }
}
@media (max-width: 359px) {
  #site-header .htj-brand-name {
    font-size: 12px;
  }
  #site-header .htj-brand {
    gap: 6px;
  }
}
#site-header .htj-brand-name {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.htj-header-quick-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.htj-header-quick-actions .htj-hq-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.htj-header-quick-actions .htj-hq-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(12, 56, 48, 0.06);
  border: 1px solid rgba(12, 56, 48, 0.1);
  color: #0c3830;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.htj-header-quick-actions .htj-hq-icon svg {
  stroke-width: 2;
}
.htj-header-quick-actions .htj-hq-item:hover .htj-hq-icon {
  background: #0c3830;
  color: #ffffff;
  border-color: #0c3830;
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(12, 56, 48, 0.2);
}
.htj-header-quick-actions .htj-pulse-icon {
  position: relative;
}
.htj-header-quick-actions .htj-pulse-icon::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(12, 56, 48, 0.3);
  animation: htj-pulse-ring 2.2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}
.htj-header-quick-actions .htj-hq-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.htj-header-quick-actions .htj-hq-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 500;
}
.htj-header-quick-actions .htj-hq-main {
  font-size: 13.5px;
  font-weight: 700;
  color: #0c3830;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.htj-header-quick-actions .htj-hq-item:hover .htj-hq-main {
  color: #145347;
}
.htj-header-quick-actions .htj-hq-btn-zalo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #ffffff !important;
  color: #0c3830 !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid #dce6e1;
  box-shadow: 0 2px 8px rgba(12, 56, 48, 0.08);
  transition: all 0.25s ease;
}
.htj-header-quick-actions .htj-hq-btn-zalo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(12, 56, 48, 0.14);
  background: #f0f6f3 !important;
  color: #0c3830 !important;
  border-color: #0c3830;
}
.htj-header-quick-actions .htj-hq-zalo-svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  display: block !important;
  border-radius: 50%;
}
/* Đảm bảo khi cuộn trang (Sticky), cụm tiện ích Hotline/Showroom/Zalo ở header middle ẩn đi để không đè lên menu */
#site-header.hSticky .htj-header-quick-actions,
#site-header.hSticky-nav .htj-header-quick-actions {
  display: none !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
#site-header.hSticky-nav .mainHeader-middle {
  display: none;
  visibility: hidden;
  pointer-events: none;
}




/* --- B. DROPDOWN SUB-MENU KÍNH MỜ (GLASSMORPHISM) --- */
#site-header .has-submenu {
  position: relative !important;
}
/* --- C. MEGA-MENU ĐA CỘT SANG TRỌNG --- */
#site-header .has-submenu.fullwidth {
  position: static !important;
}
#site-header>.mainHeader-middle>.container-fluid {
  width: 100%;
  max-width: var(--htj-header-max);
  margin-inline: auto;
  padding-inline: 24px;
  box-sizing: border-box;
}
.catalog-mode .mainHeader--height {
  position: sticky;
  top: 0;
  z-index: 1001;
}
#site-header .mainHeader-middle {
  position: relative;
  z-index: 1002;
  background: #ffffff;
}

/* =========================================================
   MENU MÁY TÍNH (thanh menu, dropdown, mega menu) — gộp v5.0.24, mỗi bộ chọn một chỗ
   ========================================================= */
/* Ghi chú chuyển từ khu cũ: 3. DẢI 1280–1499px VẪN RỚT HÀNG VỚI MONTSERRAT
   Khung header ở dải này chưa nới được (màn chưa đủ rộng), nên phải thu gọn
   chữ sớm hơn một nhịp. Ngưỡng cũ đặt ở 1399px là vừa đủ cho Be Vietnam Pro
   nhưng thiếu với Montserrat. Dịch mỗi nhịp lên 100px.
   Đặt sau các khối cũ để ghi đè ở cùng độ ưu tiên. */
/* Ghi chú chuyển từ khu cũ: 2. RÊ CHUỘT XUỐNG KHOẢNG TRỐNG LÀ MẤT MENU
   Giữa đáy mục menu và đỉnh khối đổ xuống có một dải trống. Con trỏ đi qua
   dải đó là rời khỏi vùng :hover nên menu đóng ngay, rất khó bấm.
   Cách xử lý: thêm một CẦU NỐI trong suốt nằm ngay trên khối đổ xuống. Cầu
   này là con của khối đổ xuống nên khi chuột chạm vào, :hover vẫn còn sống.
   An toàn: khối đổ xuống lúc ẩn đã có pointer-events: none, nên cầu nối
   không bao giờ chắn mất các mục khác khi menu đang đóng. */
/* Desktop menu: the arrow is CSS, so it stays sharp at every zoom level. */
.header-wrap-menu .menuList-main>li.has-submenu>a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
#site-header .menuList-main>li>a>.menu-caret {
  display: inline-block;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: transform .2s ease;
}
#site-header .menuList-main>li.has-submenu:hover>a>.menu-caret,
#site-header .menuList-main>li.has-submenu:focus-within>a>.menu-caret {
  transform: rotate(180deg);
}
#site-header .header-menu-desktop {
  background: #fff;
  border-top: 1px solid var(--htj-line);
}
#site-header .header-wrap-menu {
  background: #fff;
  flex: 1 1 auto;
  min-width: 0;
}
#site-header .header-navbar-menu {
  display: flex;
  align-items: center;
  min-width: 0;
}
#site-header .navbar-mainmenu {
  position: relative;
}
#site-header .menuList-submain a {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  min-width: 0;
  max-width: 100%;
  padding: 10px 12px;
  border: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--htj-ink);
  border-radius: var(--htj-radius-sm);
  transition: padding-left 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
}
#site-header .menuList-submain .ui-menu-item>a {
  font-weight: 600;
  color: var(--htj-primary);
}
#site-header .subchildmenu {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  flex: 1 1 0%;
  min-width: 0;
  width: auto;
}
#site-header .subchildmenu.subchildmenu-full {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
#site-header .subchildmenu .ui-menu-item {
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
}
#site-header .subchildmenu-item {
  white-space: normal;
}
#site-header .menuBanner {
  flex: 0 0 28%;
  width: 28%;
  min-width: 0;
}
#site-header .menuBanner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
#site-header .has-submenu:focus-within>.menuList-submain {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
/* Đảm bảo logo dính mặc định không bao giờ hiển thị khi chưa cuộn trang */
#site-header .header-menu-desktop .wrap-logo-sticky {
  display: none !important;
}
.catalog-mode .header-wrap-menu .has-submenu:focus-within>.menuList-submain {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.catalog-mode .header-wrap-menu .has-submenu:focus-within>a .menu-caret {
  transform: translateY(1px) rotate(225deg);
}
/* HTJ v6.3: consistent 8px image and frame corners, all viewports. */
body.catalog-mode #site-header .menuBanner img {
  border-radius: 8px !important;
}
/* Desktop Menu Polish — Phong Cách Trang Sức Cao Cấp */
#site-header .menuList-main>li:before,
#site-header .menuList-main>li:hover:before {
  display: none;
}
#site-header .menuList-submain {
  border: 1px solid rgba(12, 56, 48, 0.12);
  border-top: 3px solid var(--htj-primary, #0c3830);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 16px 40px rgba(12, 56, 48, 0.14), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 8px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
#site-header .menuList-submain a:hover {
  padding-left: 16px;
  background: linear-gradient(90deg, rgba(12, 56, 48, 0.07) 0%, rgba(237, 243, 240, 0.5) 100%);
  color: var(--htj-primary, #0c3830);
}
/* --- A. MENU LIST DESKTOP BẮT MẮT --- */
#site-header .menuList-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#site-header .menuList-main>li {
  position: relative !important;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}
#site-header .menuList-main>li>a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 15px !important;
  margin: 4px 1px;
  border-radius: 22px;
  color: #1a2b27;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  -webkit-font-smoothing: antialiased;
}
/* Caret Arrow with 180deg smooth rotation */
#site-header .menuList-main>li>a .menu-caret {
  display: inline-block;
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2;
  margin-left: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
}
#site-header .menuList-main>li:hover>a .menu-caret {
  transform: rotate(180deg) !important;
  color: #1e7a68;
}
/* Hover pill highlight */
#site-header .menuList-main>li:hover>a {
  color: #0c3830;
  background: rgba(12, 56, 48, 0.06);
}
/* Active item highlight */
#site-header .menuList-main>li.active>a {
  color: #0c3830;
  background: rgba(12, 56, 48, 0.09);
  font-weight: 700;
}
/* Jewel Glow Underline (vạch ngọc chuyển động) */
#site-header .menuList-main>li>a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, #0c3830 20%, #1e7a68 50%, #0c3830 80%, transparent);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(30, 122, 104, 0.4) !important;
}
#site-header .menuList-main>li:hover>a::after,
#site-header .menuList-main>li.active>a::after {
  width: calc(100% - 22px);
}
@media (min-width: 992px) and (max-width: 1199px) {
  #site-header .subchildmenu.subchildmenu-full {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #site-header .menuList-main>li>a {
    padding-inline: 3px;
  }
}
@media(min-width: 992px) {
  /* 1. Header thường (chưa cuộn): Thanh menu căn giữa sang trọng, ẩn hoàn toàn logo dính tránh lỗi đè lên chữ Trang chủ */
  #site-header:not(.hSticky-nav) .header-menu-desktop .wrap-logo-sticky {
    display: none !important;
  }
  #site-header:not(.hSticky-nav) .header-navbar-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
  }
  #site-header:not(.hSticky-nav) .header-wrap-menu {
    flex: 1 1 auto;
    padding: 0;
    margin: 0;
    min-width: 0;
  }
  #site-header:not(.hSticky-nav) .menuList-main {
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin: 0;
    flex-wrap: wrap;
    row-gap: 0;
    min-width: 0;
  }
  /* 2. Header cuộn dính (Sticky): Logo nhỏ bên trái, menu phân bố đều, khoảng cách tối ưu */
  #site-header.hSticky-nav .header-navbar-menu {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 60px;
    align-items: center;
    gap: 0 14px;
    width: 100%;
    justify-content: stretch;
  }
  #site-header.hSticky-nav .header-menu-desktop .wrap-logo-sticky {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    min-width: 44px;
    margin: 0;
    padding: 0;
    position: static;
    grid-column: 1;
  }
  #site-header.hSticky-nav .header-wrap-menu {
    flex: 1 1 auto;
    grid-column: 2;
    min-width: 0;
    padding: 0;
    margin: 0;
  }
  #site-header.hSticky-nav .menuList-main {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex-wrap: wrap;
    row-gap: 0;
    min-width: 0;
    gap: 0 4px;
  }
  #site-header.hSticky-nav .menuList-main>li>a {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }
  /* Lưới an toàn: thà xuống dòng còn hơn tràn đè lên logo / tìm kiếm */
  #site-header .menuList-main {
    flex-wrap: wrap;
    row-gap: 0;
    min-width: 0;
    gap: 0 4px;
  }
  #site-header:not(.hSticky-nav) .menuList-main {
    gap: 0 4px;
  }
  /* Cỡ chữ menu áp dụng cho mọi bề rộng desktop */
  #site-header .menuList-main>li>a {
    padding-inline: 7px !important;
    font-size: 12.5px;
    letter-spacing: 0.03em;
  }
}
/* Sticky Header Navigation Polish */
#site-header.hSticky-nav .menuList-main>li>a {
  padding: 14px 14px !important;
  margin: 0 1px;
}
#site-header .menuList-submain:not(.multicolumn) {
  min-width: 230px;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(12, 56, 48, 0.12);
  border-top: 3px solid #0c3830;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 16px 40px rgba(12, 56, 48, 0.14), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
  padding: 8px;
  margin: 0;
  list-style: none;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(8px) !important;
  transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1), transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.26s !important;
  z-index: 9999;
}
#site-header .has-submenu:hover>.menuList-submain:not(.multicolumn),
#site-header .has-submenu:focus-within>.menuList-submain:not(.multicolumn) {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}
/* Submenu items */
#site-header .menuList-submain:not(.multicolumn) li {
  position: relative;
  margin: 3px 0;
  list-style: none;
}
#site-header .menuList-submain:not(.multicolumn) li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: #2c3834;
  border-radius: 8px;
  border-left: 0 solid transparent;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.4;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
#site-header .menuList-submain:not(.multicolumn) li a:hover,
#site-header .menuList-submain:not(.multicolumn) li.active>a {
  background: linear-gradient(90deg, rgba(12, 56, 48, 0.07) 0%, rgba(237, 243, 240, 0.5) 100%);
  color: #0c3830;
  font-weight: 600;
  padding-left: 18px;
  border-left: 3px solid #0c3830;
}
#site-header .menu-sub-arrow {
  display: inline-block;
  width: 14px;
  height: 14px;
  stroke: #778882;
  stroke-width: 2;
  transition: transform 0.2s ease, stroke 0.2s ease;
}
#site-header .menuList-submain:not(.multicolumn) li:hover>a .menu-sub-arrow {
  transform: translateX(3px);
  stroke: #0c3830;
}
/* Nested submenus (cấp 3) */
#site-header .menuList-submain:not(.multicolumn) .has-submenu>.menuList-submain {
  left: 100%;
  top: -8px;
  border-radius: 12px;
}
#site-header .menuList-submain.multicolumn {
  position: absolute;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: rgba(255, 255, 255, 0.99);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(12, 56, 48, 0.12);
  border-top: 3px solid #0c3830;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 24px 50px rgba(12, 56, 48, 0.14), 0 6px 18px rgba(0, 0, 0, 0.05) !important;
  padding: 24px 32px;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(10px) !important;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s !important;
  z-index: 9999;
}
#site-header .has-submenu.fullwidth:hover>.menuList-submain.multicolumn,
#site-header .has-submenu.fullwidth:focus-within>.menuList-submain.multicolumn {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}
#site-header .multicolumn-container {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
}
/* Category Column Headings — Tối giản Luxury, không dùng icon đầu dòng */
#site-header .multicolumn .ui-menu-item>a {
  display: block;
  font-size: 13.5px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0c3830;
  padding: 6px 0 10px 0;
  margin-bottom: 10px;
  border-bottom: 1.5px solid rgba(12, 56, 48, 0.14);
  background: transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
#site-header .multicolumn .ui-menu-item>a::before {
  display: none;
  content: none;
}
#site-header .multicolumn .ui-menu-item:hover>a,
#site-header .multicolumn .ui-menu-item>a:hover {
  color: #0c3830;
  border-bottom-color: #0c3830;
}
/* Column Subchild Items */
#site-header .multicolumn .subchildmenu-item {
  list-style: none;
  padding: 0;
  margin: 0;
}
#site-header .multicolumn .subchildmenu-item li {
  margin: 3px 0;
  list-style: none;
}
#site-header .multicolumn .subchildmenu-item li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  font-size: 13.5px;
  color: #40504b;
  border-radius: 6px;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: normal;
  transition: all 0.2s ease;
}
#site-header .multicolumn .subchildmenu-item li a:hover,
#site-header .multicolumn .subchildmenu-item li.active>a {
  background: rgba(12, 56, 48, 0.06);
  color: #0c3830;
  font-weight: 600;
  padding-left: 14px;
}
#site-header .multicolumn .menuBanner.htj-megamenu-showcase {
  flex: 0 0 370px;
  width: 370px;
  min-width: 370px;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 14px;
  border: none;
  box-shadow: none !important;
  border-radius: 0;
  border-left: 1px solid rgba(12, 56, 48, 0.1);
  padding-left: 24px;
  overflow: visible;
  background: transparent;
  transform: none;
}
/* Ảnh banner (đã có sẵn tiêu đề + nút SHOP NOW) */
.htj-mm-card.htj-mm-banner {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(12, 56, 48, 0.12);
  box-shadow: 0 6px 18px rgba(12, 56, 48, 0.08) !important;
  background: #0c3830 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.htj-mm-card.htj-mm-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(12, 56, 48, 0.16) !important;
}
.htj-mm-banner-link {
  display: block !important;
  padding: 0 !important;
  text-decoration: none !important;
  color: inherit !important;
}
.htj-mm-banner-media {
  position: relative;
  display: block !important;
  width: 100%;
  height: auto;
  overflow: hidden;
}
.htj-mm-banner-media img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
  display: block !important;
  border-radius: 0 !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.htj-mm-card.htj-mm-banner:hover .htj-mm-banner-media img {
  transform: scale(1.03);
}
#site-header>.header-menu-desktop>.container-fluid {
  width: 100%;
  max-width: var(--htj-header-max);
  margin-inline: auto;
  padding-inline: 24px;
  box-sizing: border-box;
}
@media (min-width: 992px) and (max-width: 1199px) {
  #site-header .multicolumn-container {
    gap: 20px;
    padding: 16px;
  }
  #site-header .subchildmenu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  #site-header .multicolumn .menuBanner.htj-megamenu-showcase {
    flex: 0 0 310px;
    width: 310px;
    min-width: 310px;
    padding-left: 16px;
  }
}
@media(min-width: 992px) {
  #site-header.hSticky-nav .menuList-main>li>a {
    padding-inline: 7px !important;
    font-size: 12.5px;
    letter-spacing: 0.03em;
  }
  #site-header .menuList-submain::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 22px;
    background: transparent;
    pointer-events: inherit;
  }
  /* Mega menu trải ngang cả header: nới cầu nối ra hai bên cho khỏi hụt góc */
  #site-header .menuList-submain.multicolumn::before {
    left: -24px;
    right: -24px;
    height: 26px;
  }
  /* Cho chuột kịp đi chéo sang khối đổ xuống thay vì đóng tức thì */
  #site-header .has-submenu>.menuList-submain {
    transition-delay: 0s, 0s, 0s;
  }
  #site-header .has-submenu:not(:hover):not(:focus-within)>.menuList-submain {
    transition-delay: .18s, .18s, .18s;
  }
}
@media (min-width: 992px) and (max-width: 1399px) {
  #site-header .menuList-main,
  #site-header.hSticky-nav .menuList-main {
    gap: 0 2px;
  }
  #site-header .menuList-main>li>a,
  #site-header.hSticky-nav .menuList-main>li>a {
    gap: 4px;
  }
  #site-header.hSticky-nav .header-navbar-menu {
    grid-template-columns: 40px minmax(0, 1fr) 56px;
    gap: 0 10px;
  }
}
@media (min-width: 992px) and (max-width: 1499px) {
  #site-header .menuList-main,
  #site-header.hSticky-nav .menuList-main {
    gap: 0 2px;
  }
  #site-header .menuList-main>li>a,
  #site-header.hSticky-nav .menuList-main>li>a {
    padding-inline: 6px !important;
    font-size: 12px;
    letter-spacing: 0.015em;
    gap: 4px;
  }
  #site-header.hSticky-nav .header-navbar-menu {
    grid-template-columns: 40px minmax(0, 1fr) 56px;
    gap: 0 10px;
  }
}
@media (min-width: 992px) and (max-width: 1399px) {
  #site-header .menuList-main>li>a,
  #site-header.hSticky-nav .menuList-main>li>a {
    padding-inline: 5px !important;
    font-size: 11.5px;
    letter-spacing: 0;
  }
}
/* v5.0.25 — 992–1279px: 11 mục menu từng rớt 2 hàng ("Liên hệ", "Giới thiệu" nằm lẻ
   hàng dưới) ở iPad ngang 1024px, và header dính rớt hàng tới ~1215px. Đo trên web:
   tổng bề ngang các mục 1033px; thanh menu 929px ở 992px, khi dính còn 813px (có logo
   nhỏ + nút tìm kiếm). Thu gọn khoảng cách/chữ theo hai nhịp; header dính ẩn mục
   "Trang chủ" (li.menu-home, snippets/menu.liquid) vì logo bên trái đã dẫn về trang chủ.
   Khối cũ 992–1279px (5px/11.5px) bị khối 992–1399px ngay trên ghi đè toàn bộ nên đã bỏ. */
@media (min-width: 992px) and (max-width: 1279px) {
  #site-header .menuList-main,
  #site-header:not(.hSticky-nav) .menuList-main,
  #site-header.hSticky-nav .menuList-main {
    gap: 0;
  }
  #site-header .menuList-main>li>a,
  #site-header.hSticky-nav .menuList-main>li>a {
    padding-inline: 4px !important;
    font-size: 11px;
    gap: 2px;
  }
  #site-header .menuList-main>li>a>.menu-caret {
    flex-basis: 10px;
    width: 10px;
    height: 10px;
    margin-left: 0;
  }
  #site-header.hSticky-nav .menuList-main>li.menu-home {
    display: none;
  }
}
@media (min-width: 992px) and (max-width: 1099px) {
  #site-header .menuList-main>li>a,
  #site-header.hSticky-nav .menuList-main>li>a {
    padding-inline: 3px !important;
    font-size: 10.5px;
  }
  #site-header.hSticky-nav .menuList-main>li>a>.menu-caret {
    display: none;
  }
}

/* =========================================================
   TÌM KIẾM (ô tìm, bảng tìm kiếm, gợi ý kết quả) — gộp v5.0.24, mỗi bộ chọn một chỗ
   ========================================================= */
/* Ghi chú chuyển từ khu cũ: Desktop (>= 992px, cùng mốc d-lg-block của ô tìm kiếm trong header) đã có ô tìm kiếm riêng.
   Không ẩn thì hiện HAI ô, và ô mobile (z-index 1003) đè lên bảng gợi ý của ô desktop. */
/* 1. Khung bao ngoài & Cố định kích thước chuẩn */
.header-wrap-search .search-box,
.header-wrap-search .wpo-wrapper-search,
.mainHeader-middle .header-wrap-search .search-box {
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
}
/* 2. Khung dropdown kết quả (Khớp 100% chiều dài ô tìm kiếm) */
.smart-search-wrapper.ajaxSearchResults {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100%;
  max-height: 380px;
  background: #ffffff !important;
  border: 1.5px solid #eef2f0 !important;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  padding: 8px 12px !important;
  overflow-y: auto;
  box-sizing: border-box;
  z-index: 99999 !important;
}
/* 3. Dòng từng sản phẩm */
.smart-search-wrapper .item-ult {
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  float: none;
  align-items: center;
  padding: 8px 6px;
  border-bottom: 1px solid #f2f5f4;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}
.smart-search-wrapper .item-ult:last-of-type {
  border-bottom: none;
}
.smart-search-wrapper .item-ult:hover {
  background-color: #f8faf9;
}
/* 4. Ảnh sản phẩm */
.smart-search-wrapper .item-ult .thumbs {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0;
  float: none;
  overflow: hidden;
  border-radius: 8px;
  background: #f1f3f2;
}
.smart-search-wrapper .item-ult .thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px !important;
  border: 1px solid #eaeaea;
  color: transparent;
  font-size: 0;
  transition: opacity 0.25s ease;
}
.smart-search-wrapper .item-ult .thumbs.is-loading {
  background: linear-gradient(90deg, #f1f3f2 25%, #e3e8e6 37%, #f1f3f2 63%);
  background-size: 400% 100%;
  animation: htj-thumb-shimmer 1.2s ease-in-out infinite;
}
.smart-search-wrapper .item-ult .thumbs img.is-loading {
  opacity: 0;
}
/* 5. Tên và giá sản phẩm */
.smart-search-wrapper .item-ult .title {
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  width: auto;
  float: none;
  padding: 0;
  margin: 0 !important;
}
.smart-search-wrapper .item-ult .title a,
.smart-search-wrapper .item-ult .title .product-title {
  display: block !important;
  font-size: 13px;
  font-weight: 600;
  color: #212529;
  white-space: normal;
  overflow-wrap: anywhere;
  float: none;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  margin-bottom: 3px;
}
.smart-search-wrapper .item-ult:hover .title a {
  color: #0c3830;
}
.smart-search-wrapper .item-ult .title p {
  display: block;
  float: none;
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  color: #0c3830;
  margin: 0;
}
.smart-search-wrapper .item-ult .title p del {
  font-size: 11.5px;
  font-weight: 400;
  color: #8c9b96;
  margin-left: 6px;
}
/* 6. Nút "Xem thêm sản phẩm" */
.smart-search-wrapper .resultsMore {
  float: none;
  clear: both;
  border-top: 1px dashed #e2e8f0;
  margin-top: 6px;
  padding: 8px 0 2px;
  text-align: center;
}
.smart-search-wrapper .resultsMore a {
  font-size: 13px;
  font-weight: 600;
  color: #0c3830 !important;
  padding: 4px 10px;
  display: inline-block !important;
  text-decoration: none;
}
.smart-search-wrapper .resultsMore a:hover {
  text-decoration: underline;
}
#site-header .header-wrap-search,
#site-header .header-search,
#site-header .search-box {
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  position: relative;
}
#site-header .searchform-categoris {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  width: 100%;
  margin: 0;
  border: 1.5px solid rgba(12, 56, 48, 0.18);
  border-radius: var(--htj-radius-pill);
  background: #ffffff;
  padding: 3px 5px 3px 18px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02), 0 2px 8px rgba(12, 56, 48, 0.04);
  transition: var(--htj-transition);
}
#site-header .wpo-search-inner {
  flex: 1 1 0%;
  min-width: 0;
  width: auto;
}
#site-header .input-search {
  display: block;
  position: static;
  width: 100%;
  min-width: 0;
  height: 40px;
  margin: 0;
  padding: 0 8px 0 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  color: var(--htj-ink);
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  appearance: none;
}
#site-header .input-search:focus {
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
}
#site-header .input-search::placeholder {
  color: #798780;
  opacity: 1;
}
#site-header .btn-search {
  position: static;
  inset: auto;
  flex: 0 0 40px;
  margin: 0;
  opacity: 1;
  visibility: visible;
  line-height: 1;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #0c3830 !important;
  border: 1px solid #cfdcd5 !important;
  box-shadow: 0 1px 4px rgba(12, 56, 48, 0.06) !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
#site-header .btn-search svg {
  opacity: 1;
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  margin: auto !important;
  fill: none !important;
  stroke: #0c3830 !important;
  stroke-width: 2.2 !important;
  background: transparent !important;
  overflow: visible !important;
}

#site-header .btn-search .search-close {
  display: none;
}
#site-header .header-action_search .header-action_dropdown {
  min-width: 0;
  height: auto;
  display: none;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border: 1px solid var(--htj-line, #e2e8f0);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18) !important;
  z-index: 1002;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
#site-header .header-action_search .header-dropdown_content {
  padding: 16px;
  overflow: visible;
}
#site-header .header-action_search .sitenav-search {
  margin-bottom: 0;
}
#site-header .header-action_search .boxtitle {
  margin-bottom: 10px;
  padding: 0;
  text-align: left;
  font-size: 14px;
  color: var(--htj-primary);
  text-transform: none;
  letter-spacing: 0;
}
#site-header .header-action_search .box-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#site-header .header-action_search .box-icon svg {
  width: 24px;
  height: 24px;
}
.catalog-mode .ajaxSearchResults,
.catalog-mode .smart-search-wrapper {
  background: #fff;
  border: 1px solid var(--htj-line);
  box-shadow: var(--htj-shadow-soft);
}
/* HTJ v6.3: consistent 8px image and frame corners, all viewports. */
body.catalog-mode .smart-search-wrapper .item-ult .thumbs img,
body.catalog-mode .smart-search-wrapper .item-ult .thumbs {
  border-radius: 8px !important;
}
/* Sticky search button trong .header-navbar-menu */
#site-header:not(.hSticky-nav) .header-navbar-menu .header-action_search {
  display: none;
  visibility: hidden;
  pointer-events: none;
}
#site-header.hSticky-nav .header-navbar-menu .header-action_search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  margin: 0;
  padding: 0;
  grid-column: 3;
}
#site-header.hSticky-nav .header-navbar-menu .header-action_search .header-action_text {
  display: flex;
  align-items: center;
}
#site-header.hSticky-nav .header-navbar-menu .header-action_search .box-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(12, 56, 48, 0.06);
  color: var(--htj-primary, #0c3830);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
}
#site-header.hSticky-nav .header-navbar-menu .header-action_search .box-icon:hover,
#site-header.hSticky-nav .header-navbar-menu .header-action_search.js-action-show .box-icon {
  background: var(--htj-primary, #0c3830);
  color: #ffffff;
}
/* 1. Mặc định: Hiện kính lúp, ẩn hoàn toàn icon X (đóng) */
#site-header .header-action_search .box-icon svg.svg-ico-search {
  width: 17px;
  height: 17px;
  fill: currentColor;
  display: block;
  transition: opacity 0.2s ease;
}
#site-header .header-action_search .box-icon .box-icon--close {
  display: none;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  align-items: center;
  justify-content: center;
}
#site-header .header-action_search .box-icon .box-icon--close svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
/* 2. Khi đang mở tìm kiếm (.js-action-show): Ẩn kính lúp, Hiện icon X */
#site-header .header-action_search.js-action-show .box-icon svg.svg-ico-search {
  display: none;
  visibility: hidden;
}
#site-header .header-action_search.js-action-show .box-icon .box-icon--close {
  display: flex;
  visibility: visible;
  opacity: 1;
}
/* 3. MẶC ĐỊNH: BẢNG TÌM KIẾM PHẢI ẨN HOÀN TOÀN KHI KHÔNG CÓ .js-action-show */
#site-header.hSticky-nav .header-navbar-menu .header-action_search .header-action_dropdown {
  display: none;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border: 1px solid var(--htj-line, #e2e8f0);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18) !important;
  z-index: 1002;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
/* 4. CHỈ HIỂN THỊ KHI ĐÃ ĐƯỢC CLICK MỞ (.js-action-show) */
#site-header .header-action_search.js-action-show .header-action_dropdown,
#site-header.hSticky-nav .header-navbar-menu .header-action_search.js-action-show .header-action_dropdown {
  display: block;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
/* Tam giác chỉ dropdown */
#site-header .header-action_search .box-triangle {
  display: none;
}
#site-header .header-action_search.js-action-show .box-triangle {
  display: block;
  position: absolute;
  bottom: -15px;
  right: 9px;
  z-index: 1003;
}
#site-header .searchform-categoris:focus-within {
  border-color: var(--htj-primary);
  box-shadow: 0 0 0 3px rgba(12, 56, 48, 0.12);
}
/* Search Box Pill (Image 2) */
.header-wrap-search .htj-pnj-search-box {
  position: relative !important;
  width: 100% !important;
}
.header-wrap-search .htj-pnj-search-box .htj-search-form {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  width: 100% !important;
  height: 44px;
  background: #ffffff !important;
  border: 1px solid #cfdcd5 !important;
  border-radius: 999px !important;
  padding: 0 4px 0 18px !important;
  box-shadow: 0 1px 4px rgba(12, 56, 48, 0.04) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 1003 !important;
}
.header-wrap-search .htj-pnj-search-box .htj-search-form:hover {
  border-color: rgba(12, 56, 48, 0.4) !important;
}
.header-wrap-search .htj-pnj-search-box .htj-search-form:focus-within {
  box-shadow: 0 0 0 3px rgba(12, 56, 48, 0.1), 0 4px 14px rgba(12, 56, 48, 0.08) !important;
  border-color: #0c3830 !important;
}
.header-wrap-search .htj-pnj-search-box .wpo-search-inner {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center;
  min-width: 0 !important;
  position: relative;
}
.header-wrap-search .htj-pnj-search-box .htj-pnj-input {
  width: 100% !important;
  height: 40px !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-size: 13.5px !important;
  color: #1e293b !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.header-wrap-search .htj-pnj-search-box .htj-pnj-input::placeholder {
  color: #94a3b8 !important;
  font-size: 13.5px;
  font-weight: 400;
}
.header-wrap-search .htj-pnj-clear-btn {
  background: transparent !important;
  border: none;
  color: #94a3b8 !important;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 6px;
  padding: 0;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.header-wrap-search .htj-pnj-clear-btn:hover {
  color: #0f172a !important;
  background: #f1f5f9 !important;
}
.header-wrap-search .htj-pnj-search-box .htj-btn-search-round,
.header-search-mobile .htj-btn-search-round {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #0c3830 !important;
  border: 1px solid #cfdcd5 !important;
  box-shadow: 0 1px 4px rgba(12, 56, 48, 0.06) !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.header-wrap-search .htj-pnj-search-box .htj-btn-search-round:hover,
.header-search-mobile .htj-btn-search-round:hover,
#site-header .btn-search:hover {
  background: #f0f6f3 !important;
  border-color: #0c3830 !important;
  transform: scale(1.05);
}
#site-header .btn-search svg circle {
  fill: none !important;
  stroke: #0c3830 !important;
  stroke-width: 2.2 !important;
}
#site-header .btn-search svg line {
  fill: none !important;
  stroke: #0c3830 !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
}
/* PNJ Search Dropdown Modal Card (Image 1)
   Bám đúng hai mép ô tìm kiếm (trước đây cố định 640px, căn giữa nên thò ra
   hai bên ô tìm kiếm). */
#ajaxSearchResults-3.htj-pnj-search-dropdown {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  right: 0 !important;
  transform: none;
  width: 100% !important;
  max-width: none;
  max-height: calc(85vh - 90px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #ffffff !important;
  border-radius: 16px;
  border: 1px solid rgba(12, 56, 48, 0.08) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  padding: 18px !important;
  z-index: 1005 !important;
  text-align: left;
}
/* Scrollbar */
#ajaxSearchResults-3.htj-pnj-search-dropdown::-webkit-scrollbar {
  width: 6px;
}
#ajaxSearchResults-3.htj-pnj-search-dropdown::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 8px;
}
#ajaxSearchResults-3.htj-pnj-search-dropdown::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 8px;
}
#ajaxSearchResults-3.htj-pnj-search-dropdown::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
/* Suggestions Sections */
.htj-pnj-sec {
  margin-bottom: 20px;
}
.htj-pnj-sec:last-child {
  margin-bottom: 0;
}
.htj-pnj-sec-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.htj-pnj-sec-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
}
.htj-pnj-sec-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}
/* Khối 1: Promo badge */
.htj-pnj-promo-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.htj-pnj-promo-badge {
  display: inline-flex;
  align-items: center;
  background: #fef9c3;
  border: 1px solid #fde047;
  color: #854d0e;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.htj-pnj-promo-badge:hover {
  background: #fef08a;
  color: #713f12;
  transform: translateY(-1px);
}
/* Khối 2 & 3: Tag pills */
.htj-pnj-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.htj-pnj-tag-pill {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  line-height: 1.35;
}
.htj-pnj-tag-pill:hover {
  background: #0c3830;
  border-color: #0c3830;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(12, 56, 48, 0.18);
}
.htj-pnj-service-pill {
  background: #f8fafc;
  border-color: #e5e7eb;
  font-weight: 600;
}
/* Khối 4: Brand Badges */
.htj-pnj-brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.htj-pnj-brand-item {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
.htj-pnj-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.htj-pnj-brand-item:hover .htj-pnj-brand-badge {
  background: #0c3830;
  border-color: #0c3830;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(12, 56, 48, 0.2);
}
/* Khối 5: Product Grid (3x2) */
.htj-pnj-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 6px;
}
.htj-pnj-pop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 8px 10px;
  border-radius: 12px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  cursor: pointer;
}
.htj-pnj-pop-card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.htj-pnj-pop-thumb {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  background: #f8fafc;
  border-radius: 8px;
  padding: 4px;
  position: relative;
  background-color: #f7f9f8 !important;
  overflow: hidden;
}
.htj-pnj-pop-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.htj-pnj-pop-card:hover .htj-pnj-pop-thumb img {
  transform: scale(1.1);
}
.htj-pnj-pop-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  line-height: 1.35;
  transition: color 0.2s ease;
  margin-top: 4px;
}
.htj-pnj-pop-card:hover .htj-pnj-pop-name {
  color: #0c3830;
}
#site-header .header-search-mobile {
  display: block;
  position: relative;
  z-index: 1003;
  background: #ffffff;
  padding: 6px 14px 10px;
  border-bottom: 1px solid #f1f5f9 !important;
  box-sizing: border-box;
}
#site-header .header-search-mobile .htj-pnj-search-box-mb {
  position: relative;
  width: 100%;
}
#site-header .header-search-mobile .htj-search-form-mb {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  height: 42px;
  background: #ffffff;
  border: 1px solid #cfdcd5;
  border-radius: 999px;
  padding: 0 4px 0 16px;
  box-shadow: 0 1px 4px rgba(12, 56, 48, 0.04) !important;
  box-sizing: border-box;
  z-index: 1004;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
#site-header .header-search-mobile .htj-search-form-mb:hover {
  border-color: rgba(12, 56, 48, 0.4);
}
#site-header .header-search-mobile .htj-search-form-mb:focus-within {
  box-shadow: 0 0 0 3px rgba(12, 56, 48, 0.1), 0 4px 14px rgba(12, 56, 48, 0.08) !important;
  border-color: #0c3830;
}
#site-header .header-search-mobile .wpo-search-inner {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-width: 0;
  height: 100%;
  position: relative;
}
#site-header .header-search-mobile .htj-pnj-input-mb {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #0f172a;
  padding: 0 6px 0 0;
  margin: 0;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
}
#site-header .header-search-mobile .htj-pnj-input-mb::placeholder {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 400;
}
#site-header .header-search-mobile .htj-pnj-clear-btn-mb {
  background: transparent;
  border: none;
  color: #94a3b8;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 4px;
  padding: 0;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
#site-header .header-search-mobile .htj-pnj-clear-btn-mb:hover,
#site-header .header-search-mobile .htj-pnj-clear-btn-mb:active {
  color: #0f172a;
  background: #f1f5f9;
}
#site-header .header-search-mobile #search-header-btn-mb {
  position: static;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #0c3830 !important;
  border: 1px solid #cfdcd5 !important;
  padding: 0 !important;
  margin: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0 !important;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(12, 56, 48, 0.06) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
#site-header .header-search-mobile #search-header-btn-mb:hover,
#site-header .header-search-mobile #search-header-btn-mb:active {
  background: #f0f6f3 !important;
  border-color: #0c3830 !important;
  transform: scale(1.04);
}
#site-header .header-search-mobile #search-header-btn-mb svg {
  width: 17px !important;
  height: 17px !important;
  display: block !important;
  margin: auto !important;
  fill: none !important;
  stroke: #0c3830 !important;
  stroke-width: 2.2 !important;
}
#site-header .header-search-mobile #search-header-btn-mb svg circle,
#site-header .header-search-mobile #search-header-btn-mb svg line {
  fill: none !important;
  stroke: #0c3830 !important;
  stroke-width: 2.2 !important;
}
#site-header .header-search-mobile #ajaxSearchResults-mb.smart-search-wrapper {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100%;
  max-height: calc(80vh - 120px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: #ffffff !important;
  border-radius: 16px;
  border: 1px solid rgba(12, 56, 48, 0.08) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16) !important;
  padding: 14px !important;
  z-index: 1005 !important;
  box-sizing: border-box;
}
#ajaxSearchResults-mb .htj-pnj-suggestions .htj-pnj-sec,
.htj-pnj-suggestions-mb .htj-pnj-sec {
  margin-bottom: 14px;
}
#ajaxSearchResults-mb .htj-pnj-suggestions .htj-pnj-sec:last-child,
.htj-pnj-suggestions-mb .htj-pnj-sec:last-child {
  margin-bottom: 0;
}
#ajaxSearchResults-mb .htj-pnj-product-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
#ajaxSearchResults-mb .htj-pnj-pop-thumb {
  width: 58px;
  height: 58px;
}
#ajaxSearchResults-mb .htj-pnj-pop-name {
  font-size: 11px;
  line-height: 1.3;
}
#ajaxSearchResults-mb .htj-pnj-brand-badge {
  font-size: 10px;
  padding: 5px 10px;
}
/* 2. Hiệu ứng sóng Shimmer ánh sáng lướt qua khi ảnh chưa tải xong */
.htj-pnj-pop-thumb:not(.htj-img-loaded)::before {
  content: "" !important;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(240, 245, 243, 0.6) 0%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(240, 245, 243, 0.6) 100%
  );
  background-size: 200% 100%;
  animation: htj-img-shimmer 1.5s infinite linear !important;
  z-index: 1;
  pointer-events: none;
}
/* 3. Vòng xoay Spinner tinh tế ở giữa khung ảnh mang tông màu xanh chủ đạo */
.htj-pnj-pop-thumb:not(.htj-img-loaded)::after {
  content: "" !important;
  position: absolute;
  top: 50%;
  left: 50%;
  border: 2.2px solid rgba(12, 56, 48, 0.12);
  border-top-color: #0c3830;
  border-radius: 50%;
  animation: htj-img-spin 0.75s linear infinite !important;
  z-index: 2;
  pointer-events: none;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  margin-left: -9px;
  border-width: 1.8px;
}
/* Khi ảnh đã load xong (hoặc có cache) */
.htj-pnj-pop-thumb img.htj-loaded {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .smart-search-wrapper .item-ult .thumbs.is-loading {
    animation: none;
  }
  .smart-search-wrapper .item-ult .thumbs img {
    transition: none;
  }
}
@media(min-width: 992px) {
  #site-header:not(.hSticky-nav) .header-wrap-search {
    flex: 1 1 540px;
    max-width: 660px;
    margin: 0 auto;
    position: relative;
  }
  #site-header .header-wrap-search .policy-search {
    max-width: none;
    margin-top: 8px;
  }
  #site-header:not(.hSticky-nav) .header-action_search {
    display: none;
  }
  #site-header.hSticky-nav .header-navbar-menu .header-action_search {
    z-index: 10;
    position: relative;
    top: auto;
    right: auto;
    transform: none;
  }
  #site-header .header-search-mobile {
    display: none;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  #site-header:not(.hSticky-nav) .header-wrap-search {
    max-width: 440px;
  }
}
@media(max-width: 991px) {
  #site-header .header-action_search {
    display: block;
    margin: 0;
    padding: 0;
  }
  #site-header .header-search-mobile {
    border: 0;
  }
  #site-header .input-search {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  /* 3. Ô tìm kiếm: chữ dưới 16px thì iPhone TỰ PHÓNG TO trang mỗi lần bấm
     vào ô. Đưa lên 16px (placeholder giữ cỡ cũ cho gọn). */
  #site-header .header-search-mobile .htj-pnj-input-mb,
  .htj-pnj-input-mb,
  .ultimate-search input[name="q"] {
    font-size: 16px !important;
  }
}

/* HTJ focus-only fix: keep existing layout, dimensions and selected tab styles. */
#mobileSiteNav .btn-toggle-sub:focus,
#mobileSiteNav .sitenav-header__btn:focus {
  outline: 2px solid #0c3830 !important;
  outline-offset: -3px !important;
  box-shadow: none !important;
}
/* Pointer taps do not need a persistent focus frame; keyboard focus stays visible.
   Browsers without :focus-visible retain the green fallback above. */
#mobileSiteNav .btn-toggle-sub:focus:not(:focus-visible),
#mobileSiteNav .sitenav-header__btn:focus:not(:focus-visible) {
  outline: none !important;
}
#mobileSiteNav .btn-toggle-sub {
  -webkit-tap-highlight-color: transparent;
  color: #0c3830 !important;
  transition: transform 0.2s ease, background 0.2s ease !important;
}
#mobileSiteNav .sitenav-header__btn {
  -webkit-tap-highlight-color: transparent;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}
/* --- D. MOBILE DRAWER MENU (#mobileSiteNav) --- */
#mobileSiteNav .sitenav-header {
  background: linear-gradient(135deg, #0c3830 0%, #06251f 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 14px 16px !important;
  color: #ffffff;
}
#mobileSiteNav .sitenav-header__title {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}
#mobileSiteNav .sitenav-header__btn:active {
  background: rgba(255, 255, 255, 0.28) !important;
  transform: scale(0.94);
}
#mobileSiteNav .sitenav-search {
  margin: 12px 14px !important;
  width: calc(100% - 28px) !important;
  border: 1.5px solid rgba(12, 56, 48, 0.15) !important;
  border-radius: 24px !important;
  background: #f6f9f8 !important;
  transition: all 0.2s ease !important;
}
#mobileSiteNav .sitenav-search:focus-within {
  border-color: #0c3830 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(12, 56, 48, 0.12) !important;
}
#mobileSiteNav .menuList-links a {
  padding: 13px 14px !important;
  font-size: 14.5px !important;
  font-weight: 550 !important;
  color: #1e2e2a !important;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease !important;
}
#mobileSiteNav .menuList-links a:hover,
#mobileSiteNav .menuList-links a:active {
  background: rgba(12, 56, 48, 0.05) !important;
  color: #0c3830 !important;
}
#mobileSiteNav .menu-item a[aria-current="page"] {
  color: #0c3830 !important;
  font-weight: 700 !important;
  background: rgba(12, 56, 48, 0.08) !important;
}
#mobileSiteNav .menu-item a[aria-current="page"]::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 8px !important;
  bottom: 8px !important;
  width: 4px !important;
  background: #0c3830 !important;
  border-radius: 0 4px 4px 0 !important;
}
#mobileSiteNav .btn-toggle-sub:active {
  background: rgba(12, 56, 48, 0.08) !important;
  border-radius: 8px;
}
/* Mobile Drawer Consultation Footer */
#mobileSiteNav .sitenav-footer {
  padding: 12px 14px !important;
  gap: 10px !important;
  background: #ffffff !important;
  border-top: 1px solid rgba(12, 56, 48, 0.1) !important;
  flex-wrap: wrap !important;
}
#mobileSiteNav .contact-badge--hotline {
  background: #0c3830 !important;
  color: #ffffff !important;
  border: 1px solid #0c3830 !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(12, 56, 48, 0.2) !important;
}
#mobileSiteNav .contact-badge--hotline svg {
  stroke: #ffffff !important;
}
#mobileSiteNav .contact-badge--zalo {
  background: #f0f7ff !important;
  color: #0068FF !important;
  border: 1px solid #cce3ff !important;
  font-weight: 600 !important;
}
/* v5.0.48: nút menu điện thoại — 3 vạch BẰNG NHAU (trước 25/18/15px) và sát lề trái hơn (vạch bắt đầu ~14px thay vì
   32px); vùng bấm vẫn 40x40. */
@media (max-width: 991px) {
  #site-header .header-action_menu .box-icon {
    justify-content: flex-start;
    position: relative;
    left: -10px;
  }
  #site-header .header-action_menu .hamburger-menu {
    width: 22px;
  }
  #site-header .header-action_menu .hamburger-menu .bar,
  #site-header .header-action_menu .hamburger-menu .bar:before,
  #site-header .header-action_menu .hamburger-menu .bar:after {
    width: 22px !important;
  }
}

/* v5.0.48: icon Zalo trong menu điện thoại là icon TÔ MÀU (vòng xanh + chữ trắng). Luật chung của style-core
   (#mobileSiteNav .contact-badge svg { stroke: currentColor; stroke-width: 2 }) vẽ viền xanh dày đè lên chữ trắng
   -> chỉ còn ô xanh. Bỏ viền cho riêng icon Zalo. (Thẻ cửa hàng .htj-mnav-store đã bỏ khỏi menu.) */
#mobileSiteNav .sitenav-footer .contact-badge--zalo svg,
#mobileSiteNav .sitenav-footer .contact-badge--zalo svg * {
  stroke: none !important;
  stroke-width: 0 !important;
}

@keyframes htj-thumb-shimmer {
    0% {background-position: 100% 50%;}
    100% {background-position: 0 50%;}
}


/* ===== FIX NỀN FOOTER GIỐNG GIAO DIỆN CŨ ===== */

.mainFooter {
    background: #000000 !important;
    color: #ffffff !important;
}

.mainFooter .footer-container {
    background: #000000 !important;
}

.mainFooter .footer-container,
.mainFooter .footer-container p,
.mainFooter .footer-container span,
.mainFooter .footer-container li,
.mainFooter .footer-container a {
    color: #ffffff !important;
}

.mainFooter .widget-footer .title-footer,
.mainFooter .widget-footer .fter-title {
    color: #ffffff !important;
}

.mainFooter .footerNav-link li a {
    color: rgba(255, 255, 255, 0.78) !important;
}

.mainFooter .footerNav-link li a:before,
.mainFooter .footerNav-link li a::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.mainFooter .footer-copyright {
    background: #000000 !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255,255,255,0.15) !important;
}

.mainFooter .footer-copyright p,
.mainFooter .footer-copyright p a {
    color: #ffffff !important;
}


/* =========================================================
   HTJ CATALOG UI — shared, low-specificity maintenance layer
   Keeps the original layout and improves every detail page.
   ========================================================= */
:root {
    --htj-green: #0c3830;
    --htj-green-dark: #06251f;
    --htj-border: rgba(12, 56, 48, 0.14);
    --htj-shadow: 0 12px 32px rgba(6, 37, 31, 0.08);
    --htj-radius: 8px;
}

/* Shared headings, breadcrumbs and content shells. */
.layout-pageProduct .breadcrumb-shop,
.layout-collection .breadcrumb-shop,
.layout-searchPage .breadcrumb-shop,
.layout-blogs .breadcrumb-shop,
.layout-article .breadcrumb-shop,
.layout-page .breadcrumb-shop {border-bottom: 1px solid var(--htj-border);}
.heading-page h1,
.heading-article h1,
.product-title h1,
.collection-heading h1 {
    color: var(--htj-green);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.01em;
}
.heading-page h1:after,
.heading-article h1:after {
    display: block;
    width: 42px;
    height: 2px;
    margin-top: 12px;
    content: "";
    background: var(--htj-green);
}

.style_01 .product-gallery,
.style_01 .product-content-desc {
    background: #fff;
    border: 1px solid var(--htj-border);
    border-radius: var(--htj-radius);
}

.style_01 .product-price span {color: var(--htj-green);}



.collection-filter,
.sidebar-content,
.search-field {
    border: 1px solid var(--htj-border);
    border-radius: var(--htj-radius);
}
.btn-loadmore,
.pagination-shop a,
.search-page #go {
    border-color: var(--htj-green) !important;
    color: var(--htj-green) !important;
}
.btn-loadmore:hover,
.pagination-shop a:hover,
.search-page #go:hover {background: var(--htj-green) !important; color: #fff !important;}

/* Blog, article and normal pages: readable editorial widths. */
.layout-blogs .article-inner,
.layout-article .boxArticle-detail,
.layout-page .wrapbox-content-page {
    background: #fff;
    border: 1px solid var(--htj-border);
    border-radius: var(--htj-radius);
}
.layout-blogs .article-inner {height: 100%; overflow: hidden;}
.layout-blogs .article-detail {padding: 18px;}
.layout-article .boxArticle-detail {padding: 28px;}
.layout-article .article-body {color: var(--htj-ink); font-size: 16px; line-height: 1.8;}
.layout-article .article-body img {height: auto; border-radius: var(--htj-radius);}
.layout-article .article-body table {display: block; max-width: 100%; overflow-x: auto;}

@media (max-width: 991px) {
    .style_01 .productDetail-main {padding-top: 20px; padding-bottom: 30px;}
    .style_01 .product-content-desc {margin-top: 16px; padding: 20px 16px;}
    .layout-article .boxArticle-detail {padding: 20px 16px;}
    .layout-article .article-body {font-size: 15px; line-height: 1.75;}
    .layout-blogs .article-detail {padding: 14px;}
}

@media (max-width: 575px) {
    .heading-page h1,
    .heading-article h1,
    .product-title h1,
    .collection-heading h1 {font-size: 24px;}
    .layout-blogs .article-loop {width: 100%; max-width: 100%; flex: 0 0 100%;}
    .btn-loadmore,
    .search-page #go {min-height: 44px;}
}

/*
 * HÀ TUẤN JEWELRY — catalogue refinement layer
 *
 * Mục tiêu:
 * - Giữ nguyên bố cục đang vận hành trên hatuanjewelry.com.
 * - Chỉ nâng cấp độ hoàn thiện bằng màu #0c3830, khoảng thở, đường viền
 *   và chuyển động nhẹ.
 * - Website dùng để xem/tra cứu sản phẩm, không hiển thị thao tác mua hàng.
 */

:root {
  --htj-primary-hover: #145247;
  --htj-paper: #ffffff;
  --htj-soft: #f7f8f6;
  --htj-shadow-soft: 0 10px 30px rgba(12, 56, 48, 0.08);
}

body.catalog-mode {
  color: var(--htj-ink);
  background: var(--htj-paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.catalog-mode a {
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease,
    opacity 180ms ease;
}

@media (max-width: 991px) {
  .catalog-mode {overflow-x: clip;}
}

/* -------------------------------------------------------------------------- */
/* SLIDER — dùng nguyên banner và tỷ lệ ảnh hiện tại                           */
/* -------------------------------------------------------------------------- */

#section-home-category .slider-category:not(.owl-loaded) {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
}
@media (max-width: 1199px) {
  #section-home-category .slider-category:not(.owl-loaded) {grid-template-columns: repeat(3, minmax(0, 1fr));}
}

.catalog-mode .section-home-slider {
  padding: 0 24px;
  background: #fff;
}

.catalog-mode .section-home-slider .slider-owl {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(12, 56, 48, 0.07);
}

.catalog-mode .section-home-slider .slide--image,
.catalog-mode .section-home-slider .slide--image img {
  width: 100%;
}

.catalog-mode .section-home-slider .slide--image img {
  display: block;
  height: auto;
}

/* SLIDE ĐẦU TRANG (v5.0.39): chừa đúng khung trước khi ảnh và Owl tải xong -> trang không "nhảy" (CLS).
   Trước: luật chung .owl-carousel:not(.owl-loaded) (style-index) xếp 4 slide cạnh nhau cách 20px, ảnh
   chưa có kích thước -> khung cao 619 -> 339 -> 649px trong 0,5 giây đầu (máy tính).
   Nay: trước khi Owl chạy chỉ hiện slide 1, đủ bề ngang; ảnh luôn rộng bằng khung, cao theo tỉ lệ ghi trong
   HTML (width/height, 2:1 — snippets/homepage-slider.liquid), kể cả khi ảnh chưa tải. */
#homepage-slider .slider-owl:not(.owl-loaded) {display: block;}
#homepage-slider .slider-owl:not(.owl-loaded) > .slider-item ~ .slider-item {display: none;}
#homepage-slider .slider-item img {width: 100% !important; height: auto; aspect-ratio: auto 2 / 1;}

/* KHỐI DANH MỤC (v5.0.39): trước khi Owl chạy, luật lưới cũ (bên dưới) hiện ĐỦ các ô thành nhiều hàng (điện thoại 4 hàng,
   cao 686px) rồi Owl co về 1 hàng (344px) -> kéo cả trang lên 342px (nhảy). Nay xếp đúng như Owl: 1 hàng, 4 / 3 / 2 ô
   (>=1200 / 768-1199 / <768px), cách 20px, ô thừa bị che; chừa chỗ hàng chấm (Owl chỉ hiện chấm khi số ô > số ô mỗi
   trang; số ô đang bật = lớp htj-cat-nX ở snippets/htj-home-page.liquid). Chấm: lề trên + cao + lề dưới = điện thoại 18+8+6px, từ 768px 28+8+6px. */
#section-home-category .sectionContent .slider-category:not(.owl-loaded) {
  display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4);
  gap: 20px; align-items: center; overflow: hidden;
}
/* style-index đặt flex-basis/max-width theo % cho .item-category khi chưa có Owl -> trong lưới ô bị hẹp lại: bỏ. */
#section-home-category .sectionContent .slider-category:not(.owl-loaded) > .item-category {flex: none; max-width: none; min-width: 0;}
@media (max-width: 1199px) {
  #section-home-category .sectionContent .slider-category:not(.owl-loaded) {grid-auto-columns: calc((100% - 40px) / 3);}
}
@media (max-width: 767px) {
  #section-home-category .sectionContent .slider-category:not(.owl-loaded) {grid-auto-columns: calc((100% - 20px) / 2);}
}
@media (min-width: 1200px) {
  #section-home-category .sectionContent .slider-category:not(.owl-loaded):is(.htj-cat-n5, .htj-cat-n6, .htj-cat-n7, .htj-cat-n8) {padding-bottom: 42px;}
}
@media (min-width: 768px) and (max-width: 1199px) {
  #section-home-category .sectionContent .slider-category:not(.owl-loaded):is(.htj-cat-n4, .htj-cat-n5, .htj-cat-n6, .htj-cat-n7, .htj-cat-n8) {padding-bottom: 42px;}
}
@media (max-width: 767px) {
  #section-home-category .sectionContent .slider-category:not(.owl-loaded):is(.htj-cat-n3, .htj-cat-n4, .htj-cat-n5, .htj-cat-n6, .htj-cat-n7, .htj-cat-n8) {padding-bottom: 32px;}
}

.catalog-mode .owl-theme .owl-dots .owl-dot span,
.catalog-mode .slider-owl .owl-dots .owl-dot span {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--htj-primary);
}

.catalog-mode .owl-theme .owl-dots .owl-dot.active span,
.catalog-mode .slider-owl .owl-dots .owl-dot.active span {
  background: var(--htj-primary);
}

/* -------------------------------------------------------------------------- */
/* SECTION TRANG CHỦ — giữ thứ tự và độ rộng hiện tại                          */
/* -------------------------------------------------------------------------- */

.catalog-mode .section-home-category,
.catalog-mode .section-home-collection,
.catalog-mode .section-home-blog,
.catalog-mode .section-home-intro,
.catalog-mode .section-home-policy,
.catalog-mode .section-home-banners {
  margin-top: 0;
  margin-bottom: 48px;
}

/* Danh mục tiếp tục là ảnh chữ nhật như trang hiện tại. */
.catalog-mode #section-home-category .item-category {
  padding: 2px;
}

.catalog-mode #section-home-category .category-card {
  display: block;
  color: var(--htj-ink);
}

.catalog-mode #section-home-category .media-category img {
  display: block;
  width: 100%;
}

.catalog-mode #section-home-category .title-category h4 {
  font-family: inherit;
  text-align: center;
}

/* Lưới sản phẩm giữ cấu hình số cột gốc của Haravan. */

.catalog-mode .product-loop .proloop-image {
  isolation: isolate;
}

.catalog-mode .product-loop .proloop-detail {
  text-align: left;
}
.catalog-mode .product-loop .proloop-detail h3 {height: 44px; margin: 0 0 10px;}
.catalog-mode .product-loop .wrapper-action-loop {margin-top: auto;}
.catalog-mode .product-loop .proloop--price {text-align: left; justify-content: flex-start; margin: 0;}
.catalog-mode .product-loop .proloop--price .price {display: inline-block; margin-left: 0;}

.catalog-mode .product-loop .proloop-detail h3,
.catalog-mode .product-loop .proloop-detail h3 a {
  display: -webkit-box;
  overflow: hidden;
  font-family: inherit;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.catalog-mode .product-loop .icon-quickview {
  right: auto;
  bottom: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 18px;
  border-color: var(--htj-line);
}

@media (hover: none), (max-width: 991px) {
  .catalog-mode .product-loop .icon-quickview {display: none !important;}
}

.catalog-mode .product-loop .icon-quickview:focus-visible {
  opacity: 1;
  outline: 2px solid var(--htj-primary);
  outline-offset: 2px;
}

/* Nội dung tin tức/giới thiệu chỉ nhận tinh chỉnh nhẹ. */
.catalog-mode .section-home-blog .article-item,
.catalog-mode .section-home-blog .article-loop {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--htj-line);
  border-radius: 7px;
}

/* -------------------------------------------------------------------------- */
/* PRODUCT STYLE 1 — giữ ảnh trái / nội dung phải                              */
/* -------------------------------------------------------------------------- */

.catalog-mode .style_01 .productDetail--gallery,
.catalog-mode .style_01 .productDetail--content,
.catalog-mode .style_01 .wrapbox-detail {
  background: #fff;
}

.catalog-mode .style_01 .product-heading h1 {
  font-family: inherit;
  overflow-wrap: anywhere;
}

.catalog-mode .style_01 .product-heading > span {
  font-size: 14px;
  line-height: 1.6;
}

.catalog-mode .style_01 {--htj-label-width: 80px;}
.catalog-mode .style_01 .product-price { flex-wrap: wrap;
  border-top: 1px solid var(--htj-line);
  border-bottom: 1px solid var(--htj-line);
}

.catalog-mode .style_01 .product-price .pro-title {
  display: block;
  flex: 0 0 var(--htj-label-width);
  width: var(--htj-label-width);
  min-width: 0;
  margin: 0;
}

.catalog-mode .style_01 .product-variants {padding-left: 0;}
.catalog-mode .style_01 .select-swatch {padding: 0;}
.catalog-mode .style_01 .select-swatch .swatch {
  display: flex; flex-direction: row; width: 100%;
  align-items: flex-start;
  gap: 8px;
}

.catalog-mode .style_01 .product-variants .select-swatch .swatch .title-swap {
  flex: 0 0 var(--htj-label-width);
  width: var(--htj-label-width);
  min-width: 0;
  margin: 0;
  padding: 10px 0 0;
  font-size: 14px;
}

.catalog-mode .style_01 .select-swatch .select-swap {
  flex: 1;
  min-width: 0;
  width: auto;
}

.catalog-mode .style_01 .swatch input[type="radio"] {
  display: block;
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.catalog-mode .style_01 .swatch .swatch-element label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  line-height: 1.4;
  border-color: rgba(12, 56, 48, 0.25);
}

.catalog-mode .style_01 .swatch .swatch-element label span {
  padding: 0;
}

.catalog-mode .style_01 .swatch input:focus-visible + label {
  outline: 2px solid var(--htj-primary);
  outline-offset: -3px;
}

@media (max-width: 767px) {
  .catalog-mode .style_01 {--htj-label-width: 56px;}

}

.catalog-mode .style_01 .productDetail--box {
  border-color: var(--htj-line);
}


/* Kết quả tra cứu rõ ràng, không biến search thành luồng đặt hàng. */
.catalog-mode .htj-list-error {
  margin: 12px 0;
  padding: 12px 16px;
  color: var(--htj-primary);
  background: var(--htj-soft);
  border: 1px solid var(--htj-line);
  border-radius: 6px;
}
.catalog-mode .style_01 .productCarousel-slider .owl-nav button:disabled {opacity: .3; cursor: default;}
.catalog-mode .style_01 .productCarousel-thumb {max-width: 100%;}
/* Keep browser focus from scrolling Owl's hidden viewport a second time. */
@supports (overflow: clip) {
  #productCarousel-thumb .owl-stage-outer,
  #quickview-thumbproduct .owl-stage-outer {overflow: clip;}
}

.catalog-mode .catalog-notice {
  max-width: 760px;
  margin: 56px auto 80px;
  padding: 40px;
  text-align: center;
  background: var(--htj-soft);
  border: 1px solid var(--htj-line);
  border-radius: 8px;
}

.catalog-mode .catalog-notice h1 {
  margin-bottom: 12px;
  color: var(--htj-primary);
  font-family: inherit;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 650;
}




/* -------------------------------------------------------------------------- */
/* CATALOGUE MODE — loại các điểm vào giỏ hàng/thanh toán                      */
/* -------------------------------------------------------------------------- */

.catalog-mode .siteCart-mobile,
.catalog-mode .mini-cart,
.catalog-mode .addcart-area,
.catalog-mode .btn-addtocart,
.catalog-mode .btn-buy-sticky,
.catalog-mode .btn-proloop-addtocart,
.catalog-mode .productToolbar,
.catalog-mode .productDetail-toolbar,
.catalog-mode .product-hrvpmo,
.catalog-mode .product-buyxgety,
.catalog-mode .selector-buyxgety,
.catalog-mode .linktocart,
.catalog-mode .linktocheckout,
.catalog-mode .checkout-buttons,
.catalog-mode .quantity-box,
.catalog-mode .quantity-selector,
.catalog-mode .product-form-preorder,
.catalog-mode .modal-preorder,
.catalog-mode [data-addtocart],
.catalog-mode [name="add"] {
  display: none !important;
}

/* Footer giữ nền đen của website hiện tại. */
.catalog-mode .mainFooter,
.catalog-mode .mainFooter .footer-newsletter,
.catalog-mode .mainFooter .footer-container {
  color: rgba(255, 255, 255, 0.84);
  background: #111312;
}

.catalog-mode .mainFooter h3,
.catalog-mode .mainFooter h4,
.catalog-mode .mainFooter .title-footer,
.catalog-mode .mainFooter a {
  color: #fff;
}

.catalog-mode .mainFooter a:hover {
  color: #d9c088;
}

.catalog-mode .mainFooter .footer-copyright {
  border-top-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 767px) {
  body.catalog-mode {
    font-size: 15px;
  }

  #section-home-category .slider-category:not(.owl-loaded) {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
}
@media (max-width: 1199px) {
  #section-home-category .slider-category:not(.owl-loaded) {grid-template-columns: repeat(3, minmax(0, 1fr));}
}
@media (max-width: 767px) {
  #section-home-category .slider-category:not(.owl-loaded) {grid-template-columns: repeat(2, minmax(0, 1fr));}
}

.catalog-mode .section-home-slider {
    padding: 0;
  }

  .catalog-mode .section-home-slider .slider-owl {
    border-radius: 0;
    box-shadow: none;
  }

  .catalog-mode .section-home-category,
  .catalog-mode .section-home-collection,
  .catalog-mode .section-home-blog,
  .catalog-mode .section-home-intro,
  .catalog-mode .section-home-policy,
  .catalog-mode .section-home-banners {
    margin-bottom: 34px;
  }

  .catalog-mode .sectionHeading .section-title,
  .catalog-mode .sectionHeading .section-title a,
  .catalog-mode .home-intro--titles h2 {
    font-size: 21px;
  }

  .catalog-mode .product-loop .proloop-detail h3,
  .catalog-mode .product-loop .proloop-detail h3 a {
    height: 42px;
    font-size: 13px;
    line-height: 21px;
  }

  .catalog-mode .catalog-notice {
    margin: 32px 15px 56px;
    padding: 28px 18px;
  }

  .catalog-mode .catalog-notice__search {
    display: block;
  }

  .catalog-mode .catalog-notice__search input,
  .catalog-mode .catalog-notice__search button {
    width: 100%;
    border-radius: 999px;
  }

  .catalog-mode .catalog-notice__search button {
    height: 44px;
    margin-top: 8px;
  }
}

/* Quickview styles load in the page head, before any modal request. */
#quick-view-modal {background: transparent; transition: opacity 120ms ease;}
#quick-view-modal .modal-dialog {position: relative; display: flex; align-items: center; width: calc(100% - 32px); min-width: 0; max-width: 920px; min-height: calc(100% - 32px); margin: 16px auto; opacity: 1; -webkit-transform: none; transform: none; -webkit-transition: none; transition: none;}
#quick-view-modal .modal-content {display: flex; flex-direction: column; width: 100%; height: 760px; max-height: 90dvh; margin: 0; border-radius: 12px; overflow: hidden;}
#quick-view-modal .htj-qv-body {position: relative; flex: 1 1 auto; min-height: 0;}
#quick-view-modal .wrapper-quickview {height: 100%; overflow: auto; min-height: 0; overscroll-behavior: contain;}
#quick-view-modal.is-loading .wrapper-quickview {visibility: hidden;}
#quick-view-modal .htj-qv-loading {position: absolute; inset: 0; overflow: hidden; background: #fff;}
/* v5.0.49: khung chờ xem nhanh — khối mờ có ánh sáng lướt, logo + vòng xoay giữa ảnh, chữ nhỏ kèm 3 chấm. */
#quick-view-modal .htj-qv-sk {display: block; position: relative; overflow: hidden; background: #edf2ef; border-radius: 6px;}
#quick-view-modal .htj-qv-sk::after {content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.75) 50%, rgba(255,255,255,0) 100%); animation: htj-qv-shimmer 1.3s ease-in-out infinite;}
@keyframes htj-qv-shimmer {to {transform: translateX(100%);}}
#quick-view-modal .htj-qv-sk-media {position: relative; min-width: 0;}
#quick-view-modal .htj-qv-sk-image {width: 100%; aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, #f3f6f4 0%, #e7eeea 100%);}
#quick-view-modal .htj-qv-sk-mark {position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(12,56,48,.12);}
#quick-view-modal .htj-qv-sk-mark img {width: 34px; height: 34px; border-radius: 50% !important; object-fit: cover;}
#quick-view-modal .htj-qv-spinner {position: absolute; inset: -4px; border: 2px solid rgba(12,56,48,.12); border-top-color: #0c3830; border-radius: 50%; animation: htj-qv-spin .9s linear infinite;}
@keyframes htj-qv-spin {to {transform: rotate(360deg);}}
#quick-view-modal .htj-qv-sk-info {display: flex; flex-direction: column; gap: 14px; min-width: 0; padding-top: 4px;}
#quick-view-modal .htj-qv-sk-title {width: 92%; height: 22px;}
#quick-view-modal .htj-qv-sk-title--short {width: 58%; margin-top: -6px;}
#quick-view-modal .htj-qv-sk-row {display: flex; align-items: center; gap: 10px;}
#quick-view-modal .htj-qv-sk-pill {width: 150px; height: 30px; border-radius: 8px;}
#quick-view-modal .htj-qv-sk-pill--round {width: 170px; border-radius: 999px;}
#quick-view-modal .htj-qv-sk-price {display: flex; align-items: center; gap: 14px; height: 68px; padding: 0 16px; border: 1px solid #e3ebe7; border-radius: 10px; background: #f7faf8;}
#quick-view-modal .htj-qv-sk-label {width: 44px; height: 14px;}
#quick-view-modal .htj-qv-sk-amount {width: 150px; height: 26px;}
#quick-view-modal .htj-qv-sk-swatch {width: 72px; height: 36px;}
#quick-view-modal .htj-qv-sk-button {width: 100%; height: 42px;}
#quick-view-modal .htj-qv-sk-text {display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-size: 13px; color: #64748b;}
#quick-view-modal .htj-qv-dots {display: inline-flex; gap: 4px;}
#quick-view-modal .htj-qv-dots span {width: 6px; height: 6px; border-radius: 50%; background: #0c3830; opacity: .25; animation: htj-qv-dot 1.2s ease-in-out infinite;}
#quick-view-modal .htj-qv-dots span:nth-child(2) {animation-delay: .2s;}
#quick-view-modal .htj-qv-dots span:nth-child(3) {animation-delay: .4s;}
@keyframes htj-qv-dot {0%, 80%, 100% {opacity: .25; transform: scale(.8);} 40% {opacity: 1; transform: scale(1);}}
/* Cụm nút nổi (gọi/Zalo) đè lên cửa sổ xem nhanh -> ẩn khi có hộp thoại Bootstrap đang mở. */
body.modal-open .htj-floating-dock {display: none !important;}
@media (prefers-reduced-motion: reduce) {
  #quick-view-modal .htj-qv-sk::after,
  #quick-view-modal .htj-qv-spinner,
  #quick-view-modal .htj-qv-dots span {animation: none;}
}
#quick-view-modal .htj-qv-header {display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; padding: 8px 12px 8px 20px; color: var(--htj-primary); border-bottom: 1px solid var(--htj-line); font-size: 14px;}
#quick-view-modal .htj-qv-close {display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--htj-soft); color: var(--htj-primary);}
#quick-view-modal .htj-qv-close svg {width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8;}
#quick-view-modal .htj-qv-layout {display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: 24px; padding: 20px; overflow: visible;}
#quick-view-modal [hidden] {display: none !important;}
#quick-view-modal .htj-qv-gallery,
#quick-view-modal .htj-qv-info {min-width: 0;}
#quick-view-modal .product-gallery {border: 0;}
#quick-view-modal .product-gallery img {display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 6px;}
#quickview-sliderproduct:not(.owl-loaded) {display: block;}
/* v5.0.25: trước khi Owl chạy chỉ hiện ô của biến thể đang chọn (.htj-qv-start, templates/product.quickview.liquid),
   trước đây hiện ô 1 nên ảnh 1 luôn bị tải dù không xem tới. */
#quickview-sliderproduct:not(.owl-loaded) .product-gallery:not(.htj-qv-start) {display: none;}
#quickview-thumbproduct {margin-top: 10px;}
#quick-view-modal .htj-qv-thumb {display: block; width: 100%; padding: 2px; border: 1px solid var(--htj-line); border-radius: 5px; background: #fff;}
#quick-view-modal .htj-qv-thumb img {width: 100%; height: auto; aspect-ratio: 1; object-fit: contain;}
#quick-view-modal .htj-qv-thumb[aria-pressed="true"] {border-color: var(--htj-primary); box-shadow: inset 0 0 0 1px var(--htj-primary);}
#quick-view-modal .product-heading h2 {margin: 0 0 10px; font-size: 20px; line-height: 1.4; color: var(--htj-primary);}
#quick-view-modal .product-heading > span { font-size: 14px;}
#quick-view-modal .product-price {margin-top: 14px;}
#quick-view-modal .htj-qv-details {display: block; padding: 12px; margin-top: 20px; background: var(--htj-primary); color: #fff; border-radius: 5px; text-align: center;}
#quick-view-modal .htj-qv-details:hover {background: var(--htj-primary-hover);}
#quick-view-modal .htj-qv-description {grid-column: 1 / -1; min-width: 0; border-top: 1px solid var(--htj-line); padding-top: 16px;}
#quick-view-modal .htj-qv-description summary {cursor: pointer; padding: 8px 0; font-size: 16px; font-weight: 600; color: var(--htj-primary);}
#quick-view-modal .htj-qv-description-content {max-width: 100%; overflow-x: auto; padding-top: 12px; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere;}
#quick-view-modal .htj-qv-description-content img,
#quick-view-modal .htj-qv-description-content video {max-width: 100%; height: auto;}
#quick-view-modal .htj-qv-description-content iframe,
#quick-view-modal .htj-qv-description-content table {max-width: 100%;}
/* Khối được đưa lên cột phải quickview: bảng giá thành phẩm, hoặc mô tả hàng vàng.
   Cột phải vốn đã hẹp nên phải huỷ quy tắc rộng 50% dành cho khu mô tả ở desktop.
   Chọn bằng #quick-view-modal nên độ ưu tiên cao hơn .catalog-mode, không cần !important. */
#quick-view-modal .htj-qv-moved {margin-top: 16px; min-width: 0; max-width: 100%; overflow-x: auto; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere;}
#quick-view-modal .htj-qv-moved .htj-stone-price,
#quick-view-modal .htj-qv-moved .htj-zalo-fallback {width: 100%; max-width: 100%;}
#quick-view-modal .htj-qv-moved > :first-child {margin-top: 0;}
#quick-view-modal .htj-qv-moved img,
#quick-view-modal .htj-qv-moved video {max-width: 100%; height: auto;}
#quick-view-modal .htj-qv-moved iframe,
#quick-view-modal .htj-qv-moved table {max-width: 100%;}
#quick-view-modal .owl-nav.disabled {display: none;}
#quick-view-modal .owl-nav button {position: absolute; top: 50%; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--htj-line); border-radius: 50%; background: #fff; color: var(--htj-primary); transform: translateY(-50%); box-shadow: 0 2px 8px rgba(12,56,48,.12);}
#quick-view-modal .owl-prev {left: 4px;}
#quick-view-modal .owl-next {right: 4px;}
#quick-view-modal .owl-nav button.disabled {opacity: .35; pointer-events: none;}
#quick-view-modal .owl-nav button svg {stroke: currentColor; stroke-width: 1.8;}
#quick-view-modal .owl-nav button:hover:not(.disabled) {
  background: var(--htj-primary);
  border-color: var(--htj-primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(12, 56, 48, 0.28);
}
@media (max-width: 991px) {
  #quick-view-modal .modal-dialog {position: absolute; align-items: stretch; left: 0; right: 0; bottom: 0; width: 100%; max-width: 100%; min-height: 0; height: 92dvh; margin: 0;}
  #quick-view-modal .modal-content {height: 100%; max-height: 100%; border-radius: 14px 14px 0 0;}
  #quick-view-modal .htj-qv-layout {grid-template-columns: minmax(0,1fr); gap: 18px; padding: 16px;}
  #quick-view-modal .htj-qv-gallery {width: 100%; max-width: 340px; margin-inline: auto;}
  #quick-view-modal .htj-qv-header {padding-left: 16px;}
}
@media (prefers-reduced-motion: reduce) {
  #quick-view-modal {transition: none;}
}

/* Functional states shared by desktop and mobile. */
.htj-quickview-status { padding: 32px; text-align: center;}
.catalog-mode .swatch .swatch-element.soldout label { pointer-events: auto; cursor: pointer;}
.catalog-mode .swatch .swatch-element.htj-unavailable label { pointer-events: none; opacity: .35; cursor: not-allowed;}
.catalog-mode .swatch input:focus-visible + label { outline: 2px solid var(--htj-primary); outline-offset: 3px;}

/* v3.2.7: allow the browser image menu without disabling carousel gestures. */
.productDetail--gallery .owl-item,
.productDetail--gallery a.product-gallery__item,
.productDetail--gallery img,
.product-img img,
.fancybox-slide--image .fancybox-content,
.fancybox-slide--image .fancybox-image {
  -webkit-touch-callout: default !important;
  -webkit-user-select: auto !important;
  -moz-user-select: auto !important;
  user-select: auto !important;
}
.fancybox-slide--image .fancybox-image { pointer-events: auto !important;}

/* HTJ focus-only fix: keep existing layout, dimensions and selected tab styles. */
.htj-product-content .htj-content-tab:focus {
  outline: 2px solid #0c3830 !important;
  outline-offset: -3px !important;
  box-shadow: none !important;
}
/* Pointer taps do not need a persistent focus frame; keyboard focus stays visible.
   Browsers without :focus-visible retain the green fallback above. */
.htj-product-content .htj-content-tab:focus:not(:focus-visible) {
  outline: none !important;
}
.htj-product-content .htj-content-tab {
  -webkit-tap-highlight-color: transparent;
}

/* A hover preview must not look like a selected variant. */
@media (hover: hover) and (pointer: fine) {
  .catalog-mode .style_01 .swatch .swatch-element:not(.htj-unavailable) label:not(.sd):hover {
    border-color: var(--htj-primary);
  }
}
.catalog-mode .style_01 .swatch .swatch-element label {
  -webkit-tap-highlight-color: transparent;
}

/* HTJ v6.3: consistent 8px image and frame corners, all viewports. */
body.catalog-mode img,
body.catalog-mode #quick-view-modal .product-gallery img,
body.catalog-mode .section-home-slider .slider-owl,
body.catalog-mode .section-home-slider .slide--image,
body.catalog-mode #section-home-category .media-category,
body.catalog-mode .product-loop .product-inner,
body.catalog-mode .product-loop .product-image,
body.catalog-mode .style_01 .product-gallery,
body.catalog-mode .style_01 .productCarousel-thumb .product-thumb__item,
body.catalog-mode .section-home-blog .article-item,
body.catalog-mode .section-home-blog .article-loop,
body.catalog-mode .layout-blogs .article-inner,
body.catalog-mode .media-article,
body.catalog-mode .cp-img,
body.catalog-mode #quick-view-modal .htj-qv-thumb,
body.catalog-mode #quick-view-modal .htj-qv-skeleton-image {
  border-radius: 8px !important;
}

/* HTJ v6.5: use the selected text font, preserving icon and code fonts. */
body.catalog-mode,
body.catalog-mode button:not(.fa):not(.fas):not(.far):not(.fal):not(.fab),
body.catalog-mode input,
body.catalog-mode select,
body.catalog-mode textarea {
  font-family: var(--htj-font-family);
}
/* Content pasted from Word/Excel can carry inline Calibri/Arial declarations. */
body.catalog-mode [style*="font-family"]:not(i):not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not([class*="icon"]):not(pre):not(code):not(kbd):not(samp):not(svg):not(path),
body.catalog-mode font[face] {
  font-family: var(--htj-font-family) !important;
}

/* ==========================================================================
   HTJ MODERN LUXURY UI UPGRADE — v4.0.0
   Nâng cấp toàn diện: Header, Trang chủ, Thẻ sản phẩm, Trang chi tiết, Bộ lọc, Cụm liên hệ nổi
   ========================================================================== */

/* 1. Mở rộng Hệ thống biến Design Tokens */
:root {
  --htj-primary: #0c3830;
  --htj-primary-dark: #072520;
  --htj-primary-light: #164e43;
  --htj-primary-surface: #edf3f0;
  --htj-primary-rgb: 12, 56, 48;

  --htj-gold: #0c3830;
  --htj-gold-light: #164e43;
  --htj-gold-surface: #edf3f0;
  --htj-gold-border: rgba(12, 56, 48, 0.25);

  --htj-danger: #dc2626;
  --htj-danger-surface: #fef2f2;
  --htj-danger-border: #fecaca;

  --htj-ink: #18211f;
  --htj-ink-light: #2d3835;
  --htj-muted: #606d69;
  --htj-muted-light: #8a9692;

  --htj-surface: #f8faf9;
  --htj-surface-card: #ffffff;

  --htj-line: rgba(12, 56, 48, 0.12);
  --htj-line-light: rgba(12, 56, 48, 0.06);

  --htj-shadow-sm: 0 2px 8px rgba(12, 56, 48, 0.05);
  --htj-shadow-md: 0 8px 24px rgba(12, 56, 48, 0.08);
  --htj-shadow-lg: 0 16px 40px rgba(12, 56, 48, 0.12);
  --htj-shadow-hover: 0 14px 32px rgba(12, 56, 48, 0.14);

  --htj-radius-sm: 6px;
  --htj-radius-md: 10px;
  --htj-radius-lg: 16px;
  --htj-radius-pill: 999px;

  --htj-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --htj-transition: all 0.22s var(--htj-ease);
}

@keyframes htj-pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8;}
  50% { transform: scale(1.15); opacity: 0;}
  100% { transform: scale(1.15); opacity: 0;}
}

/* 3. TRANG CHỦ (HOMEPAGE SECTIONS) */

.catalog-mode .sectionHeading .section-title,
.catalog-mode .sectionHeading .section-title a,
.catalog-mode .home-intro--titles h2 {
  font-size: clamp(22px, 2.4vw, 30px);
}

/* Category Grid Cards */
.catalog-mode #section-home-category .media-category {
  border-radius: var(--htj-radius-md) !important;
  overflow: hidden;
  transition: transform 0.3s var(--htj-ease), box-shadow 0.3s var(--htj-ease), border-color 0.3s ease;
}

.catalog-mode #section-home-category .category-card:hover .media-category {
  border-color: rgba(12, 56, 48, 0.25);
}

.catalog-mode #section-home-category .media-category img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s var(--htj-ease);
}

.catalog-mode #section-home-category .category-card:hover .media-category img {
  transform: scale(1.05);
}

.catalog-mode #section-home-category .title-category h4 {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 650;
  color: var(--htj-ink);
  transition: color 0.2s ease;
}

.catalog-mode #section-home-category .category-card:hover .title-category h4 {
  color: var(--htj-primary);
}

/* Nút Xem tất cả sản phẩm (CTAs) */
.catalog-mode .wraplist-ctas .btn-collection {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--htj-primary);
  background: #ffffff;
  border: 1.5px solid var(--htj-primary);
  border-radius: var(--htj-radius-pill);
  box-shadow: var(--htj-shadow-sm);
  transition: var(--htj-transition);
}

.catalog-mode .wraplist-ctas .btn-collection:hover {
  color: #ffffff;
  background: var(--htj-primary);
  border-color: var(--htj-primary);
  transform: translateY(-2px);
  box-shadow: var(--htj-shadow-md);
}

.catalog-mode .wraplist-ctas .btn-collection svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.catalog-mode .wraplist-ctas .btn-collection:hover svg {
  transform: translateX(4px);
}

/* =========================================================
   HOME POLICY (CHÍNH SÁCH & CAM KẾT HÀ TUẤN JEWELRY) - THIẾT KẾ CAO CẤP
   ========================================================= */
.section-home-policy,
.catalog-mode .section-home-policy {
  padding: 36px 0 24px !important;
  background: transparent !important;
}

.section-home-policy .row-policy,
.catalog-mode .section-home-policy .row-policy {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  row-gap: 20px !important;
}

.section-home-policy .item-policy,
.catalog-mode .section-home-policy .item-policy {
  display: flex !important;
  margin-bottom: 0 !important;
}

.section-home-policy .item-policy .policy-card,
.catalog-mode .section-home-policy .item-policy .policy-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  padding: 26px 18px 22px !important;
  background: #ffffff !important;
  border: 1.5px solid #edf2f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  width: 100% !important;
  height: 100% !important;
  text-decoration: none !important;
  position: relative !important;
  overflow: hidden !important;
}

.section-home-policy .item-policy .policy-card::before,
.catalog-mode .section-home-policy .item-policy .policy-card::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, #0c3830, #c5a880, #0c3830) !important;
  opacity: 0 !important;
  transition: opacity 0.35s ease !important;
}

.section-home-policy .item-policy .policy-card:hover,
.catalog-mode .section-home-policy .item-policy .policy-card:hover {
  background: #ffffff !important;
  border-color: rgba(197, 168, 128, 0.45) !important;
  box-shadow: 0 12px 30px rgba(12, 56, 48, 0.08), 0 2px 8px rgba(197, 168, 128, 0.15) !important;
  transform: translateY(-5px) !important;
}

.section-home-policy .item-policy .policy-card:hover::before,
.catalog-mode .section-home-policy .item-policy .policy-card:hover::before {
  opacity: 1 !important;
}

/* Khung bọc Icon / Hình ảnh - Loại bỏ hoàn toàn viền vòng tròn thừa */
.section-home-policy .wrapper-media,
.catalog-mode .section-home-policy .wrapper-media {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin-bottom: 16px !important;
}

.section-home-policy .media-policy,
.catalog-mode .section-home-policy .media-policy {
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  min-height: 72px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.section-home-policy .item-policy .policy-card:hover .media-policy,
.catalog-mode .section-home-policy .item-policy .policy-card:hover .media-policy {
  transform: scale(1.08) !important;
}

.section-home-policy .media-policy img,
.catalog-mode .section-home-policy .media-policy img {
  width: 64px !important;
  height: 64px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 2px 4px rgba(12, 56, 48, 0.08)) !important;
  transition: filter 0.35s ease !important;
}

.section-home-policy .item-policy .policy-card:hover .media-policy img,
.catalog-mode .section-home-policy .item-policy .policy-card:hover .media-policy img {
  filter: drop-shadow(0 6px 14px rgba(12, 56, 48, 0.16)) !important;
}

.section-home-policy .media-policy svg,
.catalog-mode .section-home-policy .media-policy svg {
  width: 42px !important;
  height: 42px !important;
  color: #0c3830 !important;
  transition: color 0.35s ease !important;
}

.section-home-policy .item-policy .policy-card:hover .media-policy svg,
.catalog-mode .section-home-policy .item-policy .policy-card:hover .media-policy svg {
  color: #c5a880 !important;
}

/* Tiêu đề & Mô tả */
.section-home-policy .info-policy,
.catalog-mode .section-home-policy .info-policy {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  flex-grow: 1 !important;
}

.section-home-policy .policy-title,
.catalog-mode .section-home-policy .policy-title {
  margin: 0 !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  color: #1a2a26 !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  transition: color 0.3s ease !important;
}

.section-home-policy .item-policy .policy-card:hover .policy-title,
.catalog-mode .section-home-policy .item-policy .policy-card:hover .policy-title {
  color: #0c3830 !important;
}

.section-home-policy .policy-desc,
.catalog-mode .section-home-policy .policy-desc {
  margin-top: 6px !important;
  margin-bottom: 0 !important;
  font-size: 13px !important;
  color: #6c757d !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .section-home-policy,
  .catalog-mode .section-home-policy {
    padding: 24px 0 16px !important;
  }

  .section-home-policy .row-policy,
  .catalog-mode .section-home-policy .row-policy {
    row-gap: 12px !important;
    margin-left: -6px !important;
    margin-right: -6px !important;
  }

  .section-home-policy .item-policy,
  .catalog-mode .section-home-policy .item-policy {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .section-home-policy .item-policy .policy-card,
  .catalog-mode .section-home-policy .item-policy .policy-card {
    padding: 18px 10px 16px !important;
    border-radius: 12px !important;
  }

  .section-home-policy .media-policy,
  .catalog-mode .section-home-policy .media-policy {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    margin-bottom: 12px !important;
  }

  .section-home-policy .media-policy img,
  .catalog-mode .section-home-policy .media-policy img {
    width: 50px !important;
    height: 50px !important;
  }

  .section-home-policy .policy-title,
  .catalog-mode .section-home-policy .policy-title {
    font-size: 13px !important;
    line-height: 1.35 !important;
    min-height: 36px !important;
  }
}

/* 4. THẺ SẢN PHẨM (PRODUCT CARDS / LOOP) */
.catalog-mode .product-loop {
  padding: 8px;
}

.catalog-mode .product-loop .product-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.catalog-mode .product-loop .proloop-image {
  background: #ffffff;
  aspect-ratio: 1;
}

.catalog-mode .product-loop .product--image {
  width: 100%;
  height: 100%;
}

.catalog-mode .product-loop .product--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s var(--htj-ease), opacity 0.3s ease;
}

.catalog-mode .product-loop:hover .product--image img.img-loop {
  transform: scale(1.04);
}

/* Luxury Product Badges — Nhãn giảm giá chuyển sang góc PHẢI với tông ĐỎ nổi bật, không che logo góc trái */
.catalog-mode .product-loop .pro-sale,
.catalog-mode .product-loop .htj-sale-badge {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  bottom: auto !important;
  width: auto !important;
  max-width: fit-content !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35) !important;
  z-index: 5 !important;
  white-space: nowrap !important;
  text-align: center !important;
}

.catalog-mode .product-loop .pro-soldout,
.catalog-mode .product-loop .htj-soldout-badge {
  position: absolute !important;
  top: 10px !important;
  bottom: auto !important;
  width: auto !important;
  max-width: fit-content !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: rgba(12, 56, 48, 0.9) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  z-index: 5 !important;
  white-space: nowrap !important;
}

/* Quickview Floating Eye — Nút xem nhanh tinh tế giữa ảnh khi hover desktop */
.catalog-mode .product-loop .icon-quickview {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--htj-primary);
  border: 1px solid var(--htj-line);
  box-shadow: 0 4px 16px rgba(12, 56, 48, 0.15);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s var(--htj-ease), background-color 0.2s ease, color 0.2s ease;
  z-index: 4;
}

.catalog-mode .product-loop:hover .icon-quickview {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.catalog-mode .product-loop .icon-quickview:hover {
  background: var(--htj-primary);
  color: #ffffff;
  border-color: var(--htj-primary);
}

/* Product Card Information */
.catalog-mode .product-loop .proloop-detail {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.catalog-mode .product-loop .proloop-detail h3,
.catalog-mode .product-loop .proloop-detail h3 a {
  min-height: 42px;
  margin-bottom: 8px;
}

.catalog-mode .product-loop .proloop--price {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 6px !important;
  margin-top: auto !important;
}

.catalog-mode .product-loop .proloop--price.on-sale .price,
.catalog-mode .product-loop .proloop--price .price,
.catalog-mode .product-loop .htj-current-price {
  letter-spacing: 0.01em !important;
  line-height: 1.2 !important;
}

.catalog-mode .product-loop .proloop--price .price-del,
.catalog-mode .product-loop .htj-compare-price {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #8c9b96 !important;
  text-decoration: line-through !important;
  margin-left: 4px !important;
}

.catalog-mode .product-loop .htj-discount-pill {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #dc2626 !important;
  background: #fef2f2 !important;
  padding: 2px 7px !important;
  border-radius: 999px !important;
  border: 1px solid #fecaca !important;
  margin-left: 4px !important;
  line-height: 1.2 !important;
}

.catalog-mode .product-loop .htj-contact-price {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--htj-primary, #0c3830) !important;
}

/* Ẩn nút messenger cũ tránh xung đột với Floating Contact Dock mới */

/* 5. TRANG CHI TIẾT SẢN PHẨM (PRODUCT DETAIL PAGE) */
.catalog-mode .style_01 .product-heading h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--htj-primary);
  line-height: 1.35;
  margin-bottom: 12px;
}

.catalog-mode .style_01 .htj-pro-sku-badge {
  display: inline-block;
  font-size: 13px;
  color: var(--htj-muted);
  background: var(--htj-surface);
  padding: 4px 10px;
  border-radius: var(--htj-radius-sm);
  border: 1px solid var(--htj-line);
}

.catalog-mode .style_01 .htj-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--htj-radius-pill);
}

.catalog-mode .style_01 .htj-stock-pill.in-stock {
  color: #0c3830;
  background: #eef7f2;
  border: 1px solid #c2e2cf;
}

.catalog-mode .style_01 .htj-stock-dot {
  width: 8px;
  height: 8px;
  background: #18985b;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(24, 152, 91, 0.2);
  animation: htjPulseDot 1.8s infinite;
}

@keyframes htjPulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(24, 152, 91, 0.5);}
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(24, 152, 91, 0);}
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(24, 152, 91, 0);}
}

.catalog-mode .style_01 .htj-stock-pill.out-of-stock {
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
}

/* Product Detail Price Block */
.catalog-mode .style_01 .product-price {
  background: var(--htj-surface);
  border: 1px solid var(--htj-line);
  border-radius: var(--htj-radius-md);
  padding: 16px 20px;
  margin: 18px 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.catalog-mode .style_01 .product-price .pro-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--htj-muted);
}

.catalog-mode .style_01 .product-price .pro-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--htj-primary);
  letter-spacing: -0.01em;
}

.catalog-mode .style_01 .product-price del {
  font-size: 16px;
  color: var(--htj-muted-light);
}

.catalog-mode .style_01 .product-price .pro-percent {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  padding: 3px 9px;
  border-radius: var(--htj-radius-pill);
}

/* Swatches Ni tay / Size */
.catalog-mode .style_01 .swatch .swatch-element label {
  border: 1.5px solid rgba(12, 56, 48, 0.18);
  border-radius: var(--htj-radius-sm);
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
  min-width: 44px;
  min-height: 38px;
  transition: var(--htj-transition);
}

.catalog-mode .style_01 .swatch .swatch-element label:hover {
  border-color: var(--htj-primary);
  background: var(--htj-surface);
}

.catalog-mode .style_01 .swatch .swatch-element label.sd {
  background: var(--htj-primary) !important;
  border-color: var(--htj-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(12, 56, 48, 0.25);
}

/* Button Hướng dẫn chọn size */
.catalog-mode .style_01 .size-guide .btn-size-guide {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--htj-primary);
  background: var(--htj-primary-surface);
  border: 1px dashed rgba(12, 56, 48, 0.35);
  border-radius: var(--htj-radius-pill);
  padding: 6px 14px;
  transition: var(--htj-transition);
  cursor: pointer;
  margin-top: 10px;
}

.catalog-mode .style_01 .size-guide .btn-size-guide:hover {
  background: var(--htj-primary);
  color: #ffffff;
  border-style: solid;
}
















/* 6. BỘ LỌC & DANH MỤC (COLLECTION & FILTERS) */
.catalog-mode .collection-filter-container,
.catalog-mode .line-collection-content {
  background: #ffffff;
  border: 1px solid var(--htj-line);
  border-radius: var(--htj-radius-md);
  padding: 12px 18px;
  box-shadow: var(--htj-shadow-sm);
}

.catalog-mode .collection-sortby button {
  border: 1px solid var(--htj-line);
  border-radius: var(--htj-radius-pill);
  padding: 8px 16px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
  color: var(--htj-ink);
  transition: var(--htj-transition);
}

.catalog-mode .collection-sortby button:hover {
  border-color: var(--htj-primary);
  color: var(--htj-primary);
}

.catalog-mode .pagination-shop a {
  border-radius: var(--htj-radius-pill) !important;
  font-weight: 600;
  padding: 8px 16px;
  transition: var(--htj-transition);
}


/* 7. CỤM TIỆN ÍCH LIÊN HỆ NỔI (HTJ FLOATING DOCK) */
.htj-floating-dock {
  position: fixed;
  right: 20px;
  bottom: 26px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.htj-dock-item {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.htj-dock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s var(--htj-ease), box-shadow 0.25s var(--htj-ease);
  position: relative;
  padding: 0;
  margin: 0;
  line-height: 1;
  outline: none;
}

.htj-dock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  pointer-events: none;
}

.htj-dock-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.htj-dock-btn--phone {
  background: linear-gradient(135deg, #18985b, #0c3830);
  color: #ffffff;
}

.htj-dock-btn--zalo {
  background: #0068ff;
  color: #ffffff;
  padding: 0;
  overflow: hidden;
}

.htj-dock-btn--zalo .htj-dock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.htj-dock-btn--zalo svg {
  width: 32px;
  height: 32px;
  display: block;
}

.htj-dock-btt {
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  transition: opacity 0.25s var(--htj-ease), transform 0.25s var(--htj-ease);
}

.htj-dock-btt.htj-dock-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.htj-dock-btn--btt {
  background: #ffffff;
  color: var(--htj-primary);
  border: 1.5px solid var(--htj-primary);
  width: 44px;
  height: 44px;
  padding: 0;
}

.htj-dock-btn--btt:hover {
  background: var(--htj-primary);
  color: #ffffff;
}

.htj-dock-btn--btt .htj-dock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.htj-dock-btn--btt svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: auto;
}

/* Tooltip cho nút nổi */
.htj-dock-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: rgba(18, 27, 24, 0.92);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--htj-radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.htj-dock-item:hover .htj-dock-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Vòng xung nhịp hotline nổi */
.htj-dock-pulse {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid #18985b;
  animation: htjDockRing 1.8s infinite;
  pointer-events: none;
}

@keyframes htjDockRing {
  0% { transform: scale(0.9); opacity: 1;}
  100% { transform: scale(1.4); opacity: 0;}
}

/* 8. MOBILE OPTIMIZATIONS */
@media (max-width: 991px) {
  .htj-consultation-actions {
    grid-template-columns: 1fr;
  }

  .htj-floating-dock {
    right: 14px;
    bottom: 20px;
    gap: 10px;
  }

  .htj-dock-btn {
    width: 44px;
    height: 44px;
  }

  .htj-dock-btn--btt {
    width: 40px;
    height: 40px;
  }

  .htj-dock-tooltip {
    display: none !important;
  }

  /* Ẩn nút xem nhanh giữa ảnh trên mobile/touch để không che ảnh trang sức */
  /* CHỈ ẩn nút xem nhanh. Class .quickview-product còn được dùng cho LINK TIÊU ĐỀ
     (h3 > a) và LINK PHỦ TOÀN THẺ (a.proloop-link) — chọn theo thẻ div để không
     ẩn nhầm hai thứ đó, nếu không mobile sẽ mất tiêu đề và mất luôn vùng bấm. */
  .catalog-mode .product-loop .icon-quickview,
  .catalog-mode .product-loop div.quickview-product {
    display: none !important;
  }

  .catalog-mode .product-loop {
    padding: 4px;
  }

  .catalog-mode .product-loop .proloop-detail h3,
  .catalog-mode .product-loop .proloop-detail h3 a {
    font-size: 13px;
    min-height: 38px;
    line-height: 1.4;
  }

}

/* 9. BỘ LỌC CHI TIẾT, BREADCRUMB & TRANG BÀI VIẾT */
.catalog-mode .collection-sortby-option {
  border: 1px solid var(--htj-line);
  border-radius: var(--htj-radius-md);
  background: #ffffff;
  box-shadow: var(--htj-shadow-lg);
  padding: 8px;
  min-width: 220px;
}

.catalog-mode .collection-sortby-option .sort-by li span {
  display: block;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--htj-ink);
  border-radius: var(--htj-radius-sm);
  transition: var(--htj-transition);
  cursor: pointer;
}

.catalog-mode .collection-sortby-option .sort-by li span:hover,
.catalog-mode .collection-sortby-option .sort-by li.active span {
  background: var(--htj-surface);
  color: var(--htj-primary);
  font-weight: 650;
  padding-left: 18px;
}

.catalog-mode .wrapper_layered_filter {
  background: #ffffff;
  border-radius: var(--htj-radius-md);
}

.catalog-mode .layered_filter_title {
  font-size: 16px;
  font-weight: 700;
  color: var(--htj-primary);
  border-bottom: 1.5px solid var(--htj-line);
  padding-bottom: 12px;
}

.catalog-mode .filter_group-subtitle {
  font-size: 14.5px;
  font-weight: 650;
  color: var(--htj-primary);
  margin-bottom: 8px;
}

.catalog-mode .tree-menu li a {
  font-size: 14px;
  color: var(--htj-ink);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.catalog-mode .tree-menu li a:hover,
.catalog-mode .tree-menu li.active > a {
  color: var(--htj-primary);
  font-weight: 600;
  padding-left: 6px;
}

/* Breadcrumbs Polish */
.catalog-mode .breadcrumb-shop {
  padding: 12px 0;
  background: var(--htj-surface);
  border-bottom: 1px solid var(--htj-line);
  font-size: 13.5px;
}

.catalog-mode .breadcrumb-shop a {
  color: var(--htj-muted);
  transition: color 0.2s ease;
}

.catalog-mode .breadcrumb-shop a:hover {
  color: var(--htj-primary);
}

.catalog-mode .breadcrumb-shop span {
  color: var(--htj-ink);
  font-weight: 500;
}

/* =========================================================
   10. HIỆU NĂNG TẢI TRANG & TỐI ƯU TRẢI NGHIỆM NGƯỜI DÙNG (SPEED & UX)
   ========================================================= */

/* Tối ưu render ngoài màn hình (content-visibility) giúp giảm thời gian parse DOM và tăng tốc độ cuộn */
@media (min-width: 768px) {
  .catalog-mode .footer-main,
  .catalog-mode .section-home-policy,
  .catalog-mode .home-newsletter {
    content-visibility: auto;
    contain-intrinsic-size: 1px 350px;
  }
}

/* Tối ưu render hình ảnh, chống giật layout (Cumulative Layout Shift - CLS) */
.catalog-mode img {
  max-width: 100%;
}

.catalog-mode .product-loop .proloop-image img,
.catalog-mode .category-card .media-category img {
  content-visibility: auto;
}

/* Tối ưu GPU acceleration cho các hiệu ứng hover mượt mà 60fps */
.catalog-mode .product-loop:hover .product-inner,
.catalog-mode .category-card:hover .media-category,
.catalog-mode .htj-dock-btn:hover {
  will-change: transform;
}

/* Đảm bảo chữ hiển thị mượt mà */
html, body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- E. NÂNG CẤP CHI TIẾT GIAO DIỆN (LUXURY UI REFINEMENTS) --- */
/* Thẻ sản phẩm chi tiết & mượt mà */
.catalog-mode .product-loop .product-inner {
  border: 1px solid rgba(12, 56, 48, 0.08) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(12, 56, 48, 0.03) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
}

.catalog-mode .product-loop:hover .product-inner {
  transform: translateY(-4px) !important;
  border-color: rgba(12, 56, 48, 0.22) !important;
  box-shadow: 0 12px 30px rgba(12, 56, 48, 0.12) !important;
}

.catalog-mode .product-loop .proloop-image {
  border-radius: 11px 11px 0 0 !important;
  overflow: hidden !important;
  position: relative !important;
}

.catalog-mode .product-loop .proloop-image img {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.catalog-mode .product-loop:hover .proloop-image img {
  transform: scale(1.05) !important;
}

/* Nút Xem chi tiết trượt lên mượt mà khi hover desktop */
@media (min-width: 992px) {
  .catalog-mode .product-loop .proloop-image::after {
    content: "Xem chi tiết";
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(12, 56, 48, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 650;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    pointer-events: none;
    z-index: 4;
    white-space: nowrap;
  }

  .catalog-mode .product-loop:hover .proloop-image::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.catalog-mode .product-loop .proloop-detail {
  padding: 12px 14px 16px !important;
}

.catalog-mode .product-loop .proloop-detail h3 a {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1a2b27 !important;
  line-height: 1.4 !important;
  transition: color 0.2s ease !important;
}

.catalog-mode .product-loop:hover .proloop-detail h3 a {
  color: #0c3830 !important;
}

.catalog-mode .product-loop .proloop--price .price {
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: #0c3830 !important;
}

/* =========================================================
   ĐỒNG BỘ 100% TIÊU ĐỀ CÁC KHỐI TRANG CHỦ (DANH MỤC SẢN PHẨM & SẢN PHẨM BÁN CHẠY)
   ========================================================= */
#section-home-category .sectionHeading,
.catalog-mode #section-home-category .sectionHeading,
.section-home-collection .sectionHeading,
.catalog-mode .sectionHeading {
  text-align: center !important;
  margin-bottom: 28px !important;
  position: relative !important;
}

#section-home-category .sectionHeading h3,
#section-home-category .sectionHeading .section-title,
#section-home-category .sectionHeading .section-title a,
.catalog-mode #section-home-category .sectionHeading h3,
.catalog-mode #section-home-category .sectionHeading .section-title,
.catalog-mode #section-home-category .sectionHeading .section-title a,
.catalog-mode .sectionHeading .section-title,
.catalog-mode .sectionHeading .section-title a,
.catalog-mode .home-intro--titles h2 {
  color: #0c3830 !important;
  font-family: inherit !important;
  font-size: clamp(22px, 2.4vw, 30px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  margin: 0 !important;
  transition: color 0.3s ease !important;
}

#section-home-category .sectionHeading .section-title a:hover,
.catalog-mode #section-home-category .sectionHeading .section-title a:hover,
.catalog-mode .sectionHeading .section-title a:hover {
  color: #c5a880 !important;
}

/* Vạch ngăn cách tiêu đề trang chủ — Gạch ngang thanh lịch chuẩn tối giản */
#section-home-category .sectionHeading .title-divider,
.catalog-mode #section-home-category .sectionHeading .title-divider,
.catalog-mode .sectionHeading .title-divider,
.catalog-mode .home-intro--titles .title-divider {
  position: relative !important;
  width: 50px !important;
  height: 2px !important;
  margin: 12px auto 0 !important;
  background: #0c3830 !important;
  border-radius: 2px !important;
}

#section-home-category .sectionHeading .title-divider::after,
.catalog-mode #section-home-category .sectionHeading .title-divider::after,
.catalog-mode .sectionHeading .title-divider::after,
.catalog-mode .home-intro--titles .title-divider::after {
  display: none !important;
  content: none !important;
}

/* =========================================================
   HTJ v4.1.3 — HOTFIX HEADER & VỊ TRÍ NHÃN TÌNH TRẠNG
   Đặt ở cuối file để ghi đè các khối phía trên cùng độ ưu tiên.
   ========================================================= */

/* ---------------------------------------------------------
   2. NHÃN TÌNH TRẠNG ("Đặt làm" / "Tạm hết") chuyển sang góc PHẢI.
   Khi sản phẩm vừa giảm giá vừa đặt làm, nhãn -X% giữ nguyên trên cùng
   và nhãn tình trạng tụt xuống ngay bên dưới để không chồng lên nhau.
   --------------------------------------------------------- */
.catalog-mode .product-loop .pro-soldout,
.catalog-mode .product-loop .htj-soldout-badge {
  left: auto !important;
  right: 10px !important;
}

.catalog-mode .product-loop .pro-sale + .pro-soldout,
.catalog-mode .product-loop .htj-sale-badge + .htj-soldout-badge {
  top: 44px !important;
}

/* =========================================================
   HTJ v4.2.5 — Khoảng cách nhãn ở đầu trang sản phẩm
                & nâng cấp gallery ảnh sản phẩm
   ========================================================= */

/* ---------------------------------------------------------
   1. "Mã SP" và nhãn tình trạng dính sát nhau trên mobile.
   Cả hai đang là inline-block, chỉ có margin-right nên khi
   xuống dòng không còn khoảng cách dọc nào. Chuyển khối tiêu
   đề sang flex-wrap để có gap cả ngang lẫn dọc.
   --------------------------------------------------------- */
.catalog-mode .style_01 .product-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.catalog-mode .style_01 .product-heading > h1,
.catalog-mode .style_01 .product-heading > .product-reviews {
  flex: 1 1 100%;
  margin-bottom: 0;
}
.catalog-mode .style_01 .htj-pro-sku-badge {
  margin-right: 0;          /* gap của flex lo khoảng cách */
}
.catalog-mode .style_01 .htj-pro-stock-wrap {
  display: inline-flex;
  align-items: center;
}

/* ---------------------------------------------------------
   2. Gallery ảnh sản phẩm: ảnh chính + dải thumbnail
   --------------------------------------------------------- */

/* LƯU Ý: KHÔNG đặt aspect-ratio / object-fit / width cho ảnh trong gallery.
   Ảnh ở đây được định vị tuyệt đối trong khung .boxlazy-img__aspect với
   object-fit: contain và transform: translate(-50%,-50%). Ghi đè sẽ làm
   CẮT XÉN ảnh trang sức và lệch canh giữa. Khung .boxlazy-img__insert đã
   giữ sẵn tỉ lệ bằng height:0 + padding nên cũng không có hiện tượng nhảy layout. */

/* Nút chuyển ảnh được đồng bộ trong cụm quy chuẩn chung Owl Carousel bên dưới */

/* v5.0.25: trước khi Owl khởi tạo, hiện đúng ô của biến thể đang chọn thay vì ô 1
   rồi mới nhảy (--htj-start do snippets/template-product-01.liquid ghi, cùng số với
   startPosition trong htj-product.js). Không có biến thì vẫn là ô đầu như cũ. */
.catalog-mode .style_01 .productCarousel-slider:not(.owl-loaded) > .product-gallery {
  transform: translateX(calc(var(--htj-start, 0) * -100%));
}

/* Dải thumbnail */
.catalog-mode .style_01 .productCarousel-thumb {
  margin-top: 10px;
}
.catalog-mode .style_01 .productCarousel-thumb .product-thumb {
  cursor: pointer;
}
.catalog-mode .style_01 .productCarousel-thumb .product-thumb__item {
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--htj-surface, #f7f8f6);
  opacity: 0.62;                       /* thumbnail chưa chọn mờ nhẹ */
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.catalog-mode .style_01 .productCarousel-thumb .product-thumb:hover .product-thumb__item {
  opacity: 0.9;
}
/* Ảnh đang xem: viền ngọc + nhấc nhẹ, nhìn là biết đang ở ảnh nào */
.catalog-mode .style_01 .productCarousel-thumb .current .product-thumb__item {
  border-color: var(--htj-primary, #0c3830);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(12, 56, 48, 0.18);
}
.catalog-mode .style_01 .productCarousel-thumb .product-thumb:focus-visible {
  outline: 2px solid var(--htj-primary, #0c3830);
  outline-offset: 2px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .catalog-mode .style_01 .productCarousel-thumb .product-thumb__item {
    transition: none;
    transform: none;
  }
  .catalog-mode .style_01 .productCarousel-thumb .current .product-thumb__item {
    transform: none;
  }
}

@media (max-width: 991px) {
  /* Vùng chạm tối thiểu 44px cho thumbnail, và tách khỏi ảnh chính */
  .catalog-mode .style_01 .productCarousel-thumb {
    margin-top: 12px;
  }
  .catalog-mode .style_01 .productCarousel-thumb .product-thumb__item {
    min-height: 56px;
    opacity: 0.75;          /* màn nhỏ, mờ ít lại cho dễ nhìn */
  }

}

/* =========================================================
   HTJ v4.2.6 — Bỏ khung ảnh danh mục & đồng bộ nhãn quickview
   ========================================================= */

/* ---------------------------------------------------------
   1. Bỏ khung (viền + nền + bóng) sau ảnh danh mục trang chủ.
   Ảnh danh mục là ảnh hộp trang sức nền trắng, khung bao quanh
   tạo ra ô vuông thừa. Giữ lại hiệu ứng phóng nhẹ khi rê chuột.
   --------------------------------------------------------- */
.catalog-mode #section-home-category .media-category {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.catalog-mode #section-home-category .category-card:hover .media-category {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* ---------------------------------------------------------
   2. Quickview: nhãn Mã SP và tình trạng trình bày y hệt
   trang chi tiết sản phẩm. Khối tiêu đề quickview dùng thẻ h2
   nên cần đưa vào danh sách chiếm trọn một dòng của layout flex.
   --------------------------------------------------------- */
.catalog-mode .style_01 .product-heading > h2 {
  flex: 1 1 100%;
  margin-bottom: 0;
}
#quick-view-modal .product-heading > span {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0;          /* gap của flex lo khoảng cách */
}
#quick-view-modal .product-heading .htj-pro-sku-badge {
  display: inline-block;
}

/* =========================================================
   HTJ v4.3.0 — Bảng giá thành phẩm (vỏ + đá chủ)
   Sinh tự động từ snippets/htj-stone-price.liquid
   ========================================================= */
.catalog-mode .htj-stone-price {
  margin: 0 0 20px;
}
.catalog-mode .htj-stone-price__table {
  border-collapse: collapse;
  /* Chia cột cố định: giá dài tới đâu cũng không bóp được cột tên đá.
     Trước đây khi giá lỗi in ra chuỗi rất dài, cột "ĐÁ CHỦ" bị ép còn một
     ký tự mỗi dòng. */
  table-layout: fixed;
  font-size: 14px;
  line-height: 1.5;
  background: #ffffff;
  border: 1px solid var(--htj-primary, #0c3830);
}
.catalog-mode .htj-stone-price__caption {
  caption-side: top;
  padding: 9px 10px;
  background: var(--htj-primary, #0c3830);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-align: center;
}
.catalog-mode .htj-stone-price__table thead th {
  padding: 8px 10px;
  background: #ffffff;
  color: var(--htj-ink, #18211f);
  font-weight: 700;
  text-align: center;
  border: 1px solid var(--htj-primary, #0c3830);
}
.catalog-mode .htj-stone-price__table tbody th {
  padding: 8px 10px;
  font-weight: 500;
  text-align: center;
  color: var(--htj-ink, #18211f);
  border: 1px solid var(--htj-primary, #0c3830);
}
.catalog-mode .htj-stone-price__table tbody td {
  padding: 8px 10px;
  font-weight: 700;
  text-align: center;
  color: var(--htj-primary, #0c3830);
  white-space: nowrap;
  border: 1px solid var(--htj-primary, #0c3830);
}
/* Bảng xếp chồng nhiều cỡ đá (snippets/htj-stone-price-stack.liquid):
   dòng "ĐÁ CHỦ …mm | GIÁ (VND)" đầu mỗi cỡ in đậm, nền xám xanh nhạt để nhìn rõ
   chỗ chuyển cỡ. Tô TẤT CẢ các cỡ (kể cả cỡ đầu) cho đồng đều; bảng một cỡ vẫn nền trắng. */
.catalog-mode .htj-stone-price__table .htj-sp-stack__head th {
  font-weight: 700;
  color: var(--htj-ink, #18211f);
  background: #eef2f0;
}
.catalog-mode .htj-stone-price__table .htj-sp-stack + .htj-sp-stack .htj-sp-stack__head th {
  border-top-width: 2px;
}
.catalog-mode .htj-stone-price__note {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--htj-muted, #68716e);
}

@media (max-width: 575px) {
  .catalog-mode .htj-stone-price__table {font-size: 13px;}
  .catalog-mode .htj-stone-price__table thead th,
  .catalog-mode .htj-stone-price__table tbody th,
  .catalog-mode .htj-stone-price__table tbody td {padding: 7px 8px;}
}

/* ---------------------------------------------------------
   BỀ NGANG hai bảng trong khu mô tả sản phẩm.
   Desktop: rộng bằng MỘT NỬA khu mô tả.
   Màn nhỏ hơn: tràn đủ bề ngang.
   Hai bảng dùng CHUNG một quy tắc nên luôn bằng nhau và thẳng mép,
   ở mọi kích thước màn hình.
   --------------------------------------------------------- */
.catalog-mode .htj-stone-price,
.catalog-mode .htj-zalo-fallback {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}
@media (min-width: 992px) {
  .catalog-mode .htj-stone-price,
  .catalog-mode .htj-zalo-fallback {
    width: 100%;
    max-width: 460px;
  }
}
.catalog-mode .htj-stone-price__table {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
}
/* Cột tên đá giữ 58%, cột giá 42% — đủ cho "10,000,000₫" ở mọi khổ màn */
.catalog-mode .htj-stone-price__table th:first-child,
.catalog-mode .htj-stone-price__table td:first-child {
  width: 58%;
}

/* ---------------------------------------------------------
   Bảng giá đá rời theo tag (snippets/htj-gem-price.liquid), hiện sau phần mô tả.
   v5.0.77: CÙNG KIỂU THẺ với bảng giá thành phẩm và khối Zalo: bo 16px, viền be,
   dải tiêu đề xanh #0c3830, dòng kẻ mảnh, giá in đậm màu xanh căn phải.
   --------------------------------------------------------- */
.catalog-mode .htj-gem-price {
  width: 100%;
  max-width: 460px;
  margin: 16px 0 20px;
}
.catalog-mode .htj-gem-price__table {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 15px;
  line-height: 1.5;
  background: #ffffff;
  border: 1px solid #d9d3c4;
  border-radius: 16px;
  overflow: hidden;
}
.catalog-mode .htj-gem-price__table + .htj-gem-price__table {
  margin-top: 12px !important;
}
.catalog-mode .htj-gem-price__table th,
.catalog-mode .htj-gem-price__table td {
  padding: 14px 20px;
  text-align: left;
  border: 0;
  border-top: 1px solid #e6e0d0;
  color: var(--htj-ink, #18211f);
}
.catalog-mode .htj-gem-price__table thead th {
  padding: 16px 20px 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: #0c3830;
  border-top: 0;
}
.catalog-mode .htj-gem-price__table th:last-child,
.catalog-mode .htj-gem-price__table td:last-child {
  text-align: right;
}
.catalog-mode .htj-gem-price__table td:first-child {font-weight: 600;}
.catalog-mode .htj-gem-price__table td:last-child {
  white-space: nowrap;
  font-weight: 700;
  font-size: 17px;
  color: #0c3830;
}
@media (max-width: 575px) {
  .catalog-mode .htj-gem-price__table th,
  .catalog-mode .htj-gem-price__table td {padding: 12px 14px;}
  .catalog-mode .htj-gem-price__table td:last-child {font-size: 16px;}
}
#quick-view-modal .htj-qv-moved .htj-gem-price,
#quick-view-modal .htj-qv-description-content .htj-gem-price {
  width: 100%;
  max-width: 100%;
}

/* =========================================================
   HTJ v4.4.2 — HEADER RỘNG THEO MÀN HÌNH, CẦU NỐI HOVER MENU
   Đặt cuối file để ghi đè các khối phía trên cùng độ ưu tiên.
   ========================================================= */

/* ---------------------------------------------------------
   1. MENU XUỐNG HÀNG DÙ MÀN HÌNH CÒN RỘNG
   Đo bằng Chromium với chính hai phông thật, màn 1920:
     khung header 1440px -> cột menu chỉ được 1260px
     11 mục cần: Be Vietnam Pro 1209px (vừa) | Montserrat 1269px (THỪA 9px)
   Nên vừa đổi sang Montserrat là rớt "GIỚI THIỆU" xuống hàng hai, trong khi
   hai bên màn hình còn trống tới 480px.
   Cách xử lý: nới khung header theo bề ngang màn hình. Chỉ nới phần HEADER,
   nội dung trang vẫn giữ 1440px như cũ. Dùng biến để nút tìm kiếm neo theo
   đúng khung mới, không lệch.
   --------------------------------------------------------- */
:root {--htj-header-max: 1440px;}
@media (min-width: 1500px) {:root {--htj-header-max: 1560px;}}
@media (min-width: 1700px) {:root {--htj-header-max: 1720px;}}

/* ---------------------------------------------------------
   4. HAI NHÃN QUICKVIEW ĐỒNG BỘ VỚI PHẦN CÒN LẠI CỦA WEB
   Quy ước chung của site: chữ HOA, đậm 600–700, giãn chữ nhẹ, màu chủ đạo.
   Trước đây hai nhãn này để chữ thường cỡ 14px nên lạc hẳn so với menu,
   tiêu đề mục và các nút khác.
   Dùng đúng biến phông của theme để đổi phông trong thiết lập là đổi theo.
   --------------------------------------------------------- */
#quick-view-modal .htj-qv-header > span {
  font-family: var(--htj-font-family);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--htj-primary);
  line-height: 1.4;
}
#quick-view-modal .htj-qv-details {
  font-family: var(--htj-font-family);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
}
@media (max-width: 575px) {
  #quick-view-modal .htj-qv-header > span {font-size: 11.5px; letter-spacing: 0.04em;}
  #quick-view-modal .htj-qv-details {font-size: 12px; letter-spacing: 0.04em;}
}

/* Ô giá khi sản phẩm chưa nhập giá (giá biến thể = 0) nhưng vẫn có tag cỡ đá.
   Nhạt và nghiêng để phân biệt rõ với con số giá thật, khách không đọc nhầm. */
.catalog-mode .htj-stone-price__pending {
  display: inline-block;
  font-style: italic;
  font-weight: 500;
  opacity: .72;
  /* KHONG dung nowrap: o gia chi rong 42%, tren dien thoai chu se tran ra
     ngoai vien bang. De chu tu xuong dong. */
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

/* =========================================================
   HTJ v4.7 — Bảng giá NHIỀU SIZE (4 cột), sinh từ
   snippets/htj-stone-price-multi.liquid
   Chỉ dùng cho số ít sản phẩm có giá vỏ khác nhau theo size.
   ========================================================= */

/* Thanh tiêu đề đóng vai trò nút mở/thu gọn. Dùng cùng màu và cùng cỡ chữ
   với caption của bảng một size để hai bảng nhìn như một bộ. */
.catalog-mode .htj-ms__summary {
  list-style: none;
  cursor: pointer;
  padding: 9px 34px 9px 10px;
  background: var(--htj-primary, #0c3830);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-align: center;
  position: relative;
  border: 1px solid var(--htj-primary, #0c3830);
  border-bottom: 0;
}
.catalog-mode .htj-ms__summary::-webkit-details-marker {display: none;}
/* Mũi tên tự vẽ bằng viền, không phụ thuộc phông biểu tượng nào */
.catalog-mode .htj-ms__summary::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.catalog-mode .htj-ms[open] > .htj-ms__summary::after {
  transform: translateY(-30%) rotate(225deg);
}
.catalog-mode .htj-ms__summary:focus-visible {
  outline: 2px solid var(--htj-primary, #0c3830);
  outline-offset: 2px;
}

/* Bốn cột: kích thước hẹp, số lượng hẹp, tên đá rộng nhất, giá vừa đủ */
.catalog-mode .htj-ms__table {table-layout: fixed;}
.catalog-mode .htj-ms__table col,
.catalog-mode .htj-ms__table th:nth-child(1) {width: 17%;}

/* Ô gộp của kích thước và số lượng: căn giữa theo chiều dọc cho dễ đọc */
.catalog-mode .htj-ms__table .htj-ms-size,
.catalog-mode .htj-ms__table .htj-ms-qty {
  vertical-align: middle;
  background: #f6f8f7;
}
.catalog-mode .htj-ms__table .htj-ms-qty {font-weight: 500;}
.catalog-mode .htj-ms__table .htj-ms-stone {font-weight: 500;}

/* Màn hẹp: thu gọn chữ và khoảng đệm, cột tên đá cho xuống dòng */
@media (max-width: 575px) {
  .catalog-mode .htj-ms__summary {font-size: 13px; padding: 8px 30px 8px 8px;}
  .catalog-mode .htj-ms__table {font-size: 12px;}
  .catalog-mode .htj-ms__table thead th,
  .catalog-mode .htj-ms__table tbody th,
  .catalog-mode .htj-ms__table tbody td {padding: 6px 4px;}
  .catalog-mode .htj-ms-stone {overflow-wrap: anywhere;}
}

/* Bảng nhiều size dài hơn hẳn bảng một size nên cho dùng trọn bề ngang,
   không áp quy tắc rộng 50% ở desktop. */
@media (min-width: 992px) {
  .catalog-mode .htj-stone-price--multi {width: 100%;}
}

/* Cột tên đá PHẢI xuống dòng được.
   Bảng một size đặt white-space: nowrap cho mọi ô td (để giá không bị bẻ đôi),
   quy tắc đó có độ ưu tiên cao hơn nên tràn sang cả bảng nhiều size: trên điện
   thoại "MOIS TRẮNG 161 GIÁC" đè hẳn lên cột giá.
   Chọn đủ sâu để thắng, và CHỈ mở khoá cho cột tên đá — cột giá vẫn giữ nowrap
   để con số không bao giờ bị ngắt giữa chừng. */
.catalog-mode .htj-ms__table tbody td.htj-ms-stone,
.catalog-mode .htj-ms__table tbody th.htj-ms-stone {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.catalog-mode .htj-ms__table tbody td.htj-ms-qty {
  white-space: normal;
}

/* ---------------------------------------------------------
   Bảng nhiều size trong QUICKVIEW: "KÍCH THƯỚC" bị cắt giữa từ
   Nguyên nhân: .htj-qv-moved đặt overflow-wrap: anywhere cho phần mô tả,
   thuộc tính này DI TRUYỀN xuống mọi ô của bảng nên chữ bị bẻ thành
   "THƯỚ" + "C". Cột phải của quickview lại hẹp (ô kích thước chỉ 56px
   trong khi chữ cần 94px) nên lỗi lộ rõ.
   Cách xử lý: khoá không cho bẻ giữa từ ở hàng tiêu đề và hai cột hẹp,
   chỉ cho xuống dòng ở khoảng trắng. Riêng cột tên đá vẫn được bẻ tự do
   vì tên đá dài và không có chỗ ngắt tự nhiên.
   --------------------------------------------------------- */
.catalog-mode .htj-ms__table thead th,
.catalog-mode .htj-ms__table tbody th.htj-ms-size,
.catalog-mode .htj-ms__table tbody td.htj-ms-qty,
.catalog-mode .htj-ms__table tbody td.htj-ms-price {
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

/* Nới cột kích thước, bù lại từ cột tên đá — tên đá xuống dòng đẹp hơn
   nhiều so với chữ tiêu đề bị bẻ vụn. */
.catalog-mode .htj-ms-size {width: 21%;}
.catalog-mode .htj-ms-qty {width: 19%;}
.catalog-mode .htj-ms-stone {width: 34%;}
.catalog-mode .htj-ms-price {width: 26%;}
.catalog-mode .htj-ms__table th:nth-child(1) {width: 21%;}

/* Khung hẹp (quickview, điện thoại): thu chữ tiêu đề một nhịp để
   "KÍCH THƯỚC" nằm gọn hai dòng thay vì ba. */
#quick-view-modal .htj-ms__table thead th,
.catalog-mode .htj-ms__table thead th {
  font-size: 13px;
  letter-spacing: 0;
  padding-left: 4px;
  padding-right: 4px;
}
@media (max-width: 575px) {
  .catalog-mode .htj-ms__table thead th {font-size: 11.5px;}
  .catalog-mode .htj-ms-size {width: 22%;}
  .catalog-mode .htj-ms-qty {width: 19%;}
  .catalog-mode .htj-ms-stone {width: 33%;}
  .catalog-mode .htj-ms-price {width: 26%;}
}

/* =========================================================
   HTJ v4.9.3 — Tiêu đề H1 trang danh mục khi bật banner
   (templates/collection.liquid, khối .htj-collection-title)
   ========================================================= */
.htj-collection-title {
  padding: 22px 0 4px;
}
.htj-collection-title h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--htj-primary, #0c3830);
}
.htj-collection-title__desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--htj-muted, #606d69);
}
@media (max-width: 767px) {
  .htj-collection-title {padding: 16px 0 2px;}
  .htj-collection-title h1 {font-size: 21px;}
}

/* ---------------------------------------------------------
   Quickview: giá, giá gạch và % giảm nằm CÙNG MỘT DÒNG.
   Khung giá quickview chỉ rộng 420px; nhãn "Giá:" cố định 80px +
   khoảng cách 12px làm "-15%" luôn rớt dòng (cần 381px, khung có 378px).
   Nhãn co theo chữ, thu khoảng cách và cỡ chữ một nhịp. Đo trường hợp
   dài nhất "Giá vỏ: 12,760,000₫ 15,000,000₫ -15%": hết ở 378px, còn dư.
   flex-wrap vẫn để wrap: giá dài bất thường thì xuống dòng chứ không tràn khung.
   --------------------------------------------------------- */
#quick-view-modal .style_01 .product-price {
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 6px;
  padding: 14px 16px;
}
#quick-view-modal .style_01 .product-price .pro-title {
  flex: 0 0 auto;
  width: auto;
  margin-right: 4px;
  font-size: 13.5px;
}
#quick-view-modal .style_01 .product-price .pro-price {
  font-size: 24px;
  white-space: nowrap;
}
#quick-view-modal .style_01 .product-price del {
  font-size: 14px;
  white-space: nowrap;
}
#quick-view-modal .style_01 .product-price .pro-percent {
  font-size: 12px;
  padding: 2px 7px;
  white-space: nowrap;
  align-self: center;
}

/* =========================================================
   HTJ v4.9.4 — Quickview: bấm ảnh mở khung xem lớn (scripts.js.liquid).
   (Kính lúp rê chuột ở trang chi tiết đã GỠ ở v4.9.5 theo yêu cầu.)
   ========================================================= */
#quick-view-modal .htj-qv-main {position: relative;}
#quick-view-modal #quickview-sliderproduct .product-gallery {cursor: zoom-in;}
#quick-view-modal #quickview-sliderproduct .product-gallery:focus-visible {
  outline: 2px solid var(--htj-primary, #0c3830);
  outline-offset: -2px;
}
#quick-view-modal .htj-qv-zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--htj-primary, #0c3830);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(12, 56, 48, 0.15);
  border-radius: 999px;
  pointer-events: none;
}
#quick-view-modal .htj-qv-zoom-hint svg {width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2;}
/* Khung xem lớn nằm trên modal quickview (1050) và cụm nút Gọi/Zalo nổi (99999). */
/* "body" để thắng rule gốc 99992 của Fancybox, vì ở quickview file CSS đó được nạp SAU file này. */
body .fancybox-container {z-index: 100000;}

/* =========================================================
   HTJ LUXURY FOOTER — Bố cục 4 cột đồng đều & Sang trọng
   ========================================================= */
.htj-luxury-footer {
  background: #092621 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.htj-ft-container {
  max-width: var(--htj-header-max, 1440px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}













/* 2. Main Footer Body */
.htj-ft-body {
  padding: 48px 0 0 0 !important;
}

.htj-ft-row {
  row-gap: 36px;
}

.htj-ft-col {
  display: flex;
  flex-direction: column;
}

/* Column Titles */
.htj-luxury-footer .title-footer.htj-ft-title {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  margin: 0 0 20px 0 !important;
  padding-bottom: 12px !important;
  position: relative !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.htj-luxury-footer .title-footer.htj-ft-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 38px;
  height: 2.5px;
  background: #10b981;
  border-radius: 2px;
}

/* Column 1: Brand */
.htj-ft-brand-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.htj-ft-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.htj-ft-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
}

.htj-ft-brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.htj-ft-slogan {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
}

.htj-ft-info-list {
  list-style: none;
  margin: 6px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.htj-ft-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.htj-ft-icon {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

.htj-ft-info-text {
  flex: 1 1 auto;
}

.htj-ft-label {
  color: rgba(255, 255, 255, 0.6);
  margin-right: 4px;
}

.htj-ft-link-map {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: color 0.2s ease;
}

.htj-ft-link-map:hover {
  color: #34d399;
  text-decoration: underline;
}

.htj-ft-hotline-highlight {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.htj-ft-hotline-highlight:hover {
  color: #34d399;
}

.htj-ft-time-badge {
  display: inline-block;
  font-size: 11px;
  color: #34d399;
  margin-left: 6px;
  padding: 1px 7px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 4px;
}

.htj-ft-info-text a[href^="mailto"] {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.htj-ft-info-text a[href^="mailto"]:hover {
  color: #34d399;
}

/* v5.0.34: Thông tin doanh nghiệp dưới cột 1 (snippets/footer.liquid, .htj-ft-company). */
.htj-ft-company {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.htj-ft-company p {
  margin: 0;
}

.htj-ft-company p + p {
  margin-top: 2px;
}

.htj-ft-company .htj-ft-company-name {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

/* Column 2 & 3: Link Navigation */
.htj-ft-nav-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.htj-ft-nav-list li,
.htj-ft-nav-list li.item {
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
}

.htj-ft-nav-list li a,
.htj-ft-nav-list li.item a {
  display: inline-block !important;
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  transition: all 0.2s ease !important;
  padding: 2px 0 !important;
  position: relative !important;
}

.htj-ft-nav-list li a::before,
.htj-ft-nav-list li a:before,
.htj-ft-nav-list li.item a::before,
.htj-ft-nav-list li.item a:before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
  border: none !important;
}

.htj-ft-nav-list li a:hover,
.htj-ft-nav-list li.item a:hover {
  color: #34d399 !important;
  transform: translateX(4px) !important;
}

/* Column 4: Map & Social */
.htj-ft-map-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.htj-ft-map-frame {
  width: 100%;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  background: #061c18;
}

.htj-ft-map-frame iframe {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  border: none !important;
}

.htj-ft-map-direction-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 14px;
  background: rgba(12, 56, 48, 0.6);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 6px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.htj-ft-map-direction-btn:hover {
  background: #0c3830;
  color: #ffffff;
  border-color: #10b981;
  text-decoration: none;
}

.htj-ft-social-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.htj-ft-social-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.htj-ft-social-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.htj-social-btn {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
}

.htj-social-btn:hover {
  background: #0c3830 !important;
  border-color: #10b981 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(12, 56, 48, 0.45) !important;
}

.htj-social-btn img {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain !important;
  display: block !important;
}

.htj-social-btn svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
}

.htj-soc-num {
  position: absolute !important;
  top: -4px !important;
  right: -4px !important;
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: #0c3830 !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border: 1.5px solid #ffffff !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45) !important;
  pointer-events: none !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.htj-social-btn:hover .htj-soc-num {
  background: #145347 !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

/* 3. Footer Copyright */
.htj-ft-copyright {
  background: #051613 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 16px 0 !important;
  margin-top: 40px !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.htj-ft-copy-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
}

.htj-ft-copy-text {
  margin: 0 !important;
}

.htj-ft-copy-text a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.htj-ft-copy-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #34d399;
}

@media (max-width: 991px) {
  .htj-ft-newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .htj-ft-newsletter-form {
    flex: 1 1 100%;
  }
  .htj-ft-copy-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .htj-ft-copy-badges {
    flex-direction: column;
    gap: 6px;
  }
}

/* =========================================================
   PNJ STYLE SEARCH POPUP & BACKDROP OVERLAY
   ========================================================= */

/* Backdrop Overlay - Luôn nằm dưới header để không che thanh tìm kiếm mobile */
.htj-search-backdrop {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
  z-index: 998 !important;
  pointer-events: auto !important;
}

/* MAGNIFYING GLASS ICON - HOLLOW / OUTLINE LENS MÀU XANH CHỦ ĐẠO */
.htj-btn-search-round svg,
#search-header-btn svg,
#search-header-btn-mb svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  margin: auto !important;
  fill: none !important;
  stroke: #0c3830 !important;
  stroke-width: 2.2 !important;
  background: transparent !important;
  overflow: visible !important;
}

.htj-btn-search-round svg circle,
#search-header-btn svg circle,
#search-header-btn-mb svg circle {
  fill: none !important;
  stroke: #0c3830 !important;
  stroke-width: 2.2 !important;
}

.htj-btn-search-round svg line,
#search-header-btn svg line,
#search-header-btn-mb svg line {
  fill: none !important;
  stroke: #0c3830 !important;
  stroke-width: 2.2 !important;
  stroke-linecap: round !important;
}

/* =========================================================
   TRANG LIÊN HỆ CAO CẤP (LUXURY CONTACT PAGE)
   ========================================================= */
.htj-contact-page-wrap {
  background: #f8faf9 !important;
  padding-bottom: 60px !important;
}

.htj-contact-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 15px !important;
}

/* 1. Hero Header */
.htj-contact-hero {
  text-align: center !important;
  padding: 30px 15px 40px !important;
  max-width: 800px !important;
  margin: 0 auto !important;
}

.htj-contact-title {
  font-size: clamp(24px, 2.6vw, 32px) !important;
  font-weight: 700 !important;
  color: #0c3830 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  margin: 0 0 12px !important;
}

.htj-contact-divider {
  width: 50px !important;
  height: 3px !important;
  background: #0c3830 !important;
  margin: 0 auto 16px !important;
  border-radius: 2px !important;
}

.htj-contact-subtitle {
  font-size: 15px !important;
  color: #555555 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* 2. Grid & Cards */
.htj-contact-row {
  display: flex !important;
  flex-wrap: wrap !important;
  row-gap: 24px !important;
}

.htj-contact-card {
  background: #ffffff !important;
  border: 1.5px solid #eef2f0 !important;
  border-radius: 18px !important;
  padding: 26px 24px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  margin-bottom: 24px !important;
  transition: all 0.3s ease !important;
}

.htj-contact-card:last-child {
  margin-bottom: 0 !important;
}

.htj-contact-card:hover {
  border-color: rgba(197, 168, 128, 0.45) !important;
  box-shadow: 0 10px 30px rgba(12, 56, 48, 0.08) !important;
}

/* 3. Card Header */
.htj-card-header {
  margin-bottom: 22px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #f0f4f2 !important;
}

.htj-card-badge {
  display: inline-block !important;
  background: rgba(12, 56, 48, 0.08) !important;
  color: #0c3830 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  margin-bottom: 8px !important;
}

.htj-card-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #0c3830 !important;
  margin: 0 !important;
}

/* 4. Contact Items */
.htj-contact-items {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.htj-citem {
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
}

.htj-citem-icon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 12px !important;
  background: #f3f7f5 !important;
  color: #0c3830 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(12, 56, 48, 0.1) !important;
  transition: all 0.25s ease !important;
}

.htj-citem:hover .htj-citem-icon {
  background: #0c3830 !important;
  color: #c5a880 !important;
  border-color: #0c3830 !important;
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 4px 12px rgba(12, 56, 48, 0.18) !important;
}

.htj-citem-content {
  flex-grow: 1 !important;
}

.htj-citem-label {
  display: block !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #888888 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  margin-bottom: 3px !important;
}

.htj-citem-val {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1a2a26 !important;
  margin: 0 0 4px !important;
  line-height: 1.5 !important;
}

.htj-citem-val a {
  color: #1a2a26 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.htj-citem-val a:hover {
  color: #0c3830 !important;
}

.htj-hotline-highlight {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #0c3830 !important;
  letter-spacing: 0.02em !important;
}

.htj-citem-note {
  display: block !important;
  font-size: 12.5px !important;
  color: #777777 !important;
  font-style: italic !important;
}

.htj-citem-action {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0c3830 !important;
  text-decoration: underline !important;
  transition: color 0.2s ease !important;
}

.htj-citem-action:hover {
  color: #c5a880 !important;
}

/* 5. Direct Channels Grid */
.htj-channels-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #0c3830 !important;
  margin: 0 0 6px !important;
}

.htj-channels-desc {
  font-size: 13.5px !important;
  color: #666666 !important;
  margin: 0 0 16px !important;
  line-height: 1.5 !important;
}

.htj-channels-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
}

.htj-chan-btn {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 14px !important;
  background: #f7faf8 !important;
  border: 1px solid #e5ede8 !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.htj-chan-btn:hover {
  background: #ffffff !important;
  border-color: #c5a880 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(12, 56, 48, 0.08) !important;
}

.htj-chan-btn img {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
}

.htj-chan-call-icon {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: #0c3830 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.htj-chan-call-icon svg {
  width: 14px !important;
  height: 14px !important;
}

.htj-chan-info {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

.htj-chan-info strong {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #1a2a26 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.htj-chan-info span {
  font-size: 11.5px !important;
  color: #777777 !important;
  margin-top: 2px !important;
}

/* 6. Map Card */
.htj-map-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}

.htj-map-card-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #0c3830 !important;
  margin: 0 !important;
}

.htj-map-open-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #0c3830 !important;
  text-decoration: none !important;
  padding: 4px 10px !important;
  background: #f0f6f3 !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

.htj-map-open-link:hover {
  background: #0c3830 !important;
  color: #ffffff !important;
}

.htj-contact-map-frame {
  width: 100% !important;
  height: 380px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid #eef2f0 !important;
  background: #edf3f0 !important;
}

.htj-contact-map-frame iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
}

.htj-map-card-footer {
  margin-top: 14px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  font-size: 12.5px !important;
  color: #555555 !important;
}

.htj-map-feature {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.htj-map-feature svg {
  color: #0c3830 !important;
  flex-shrink: 0 !important;
}

/* 7. Perks Card */
.htj-perks-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #0c3830 !important;
  margin: 0 0 16px !important;
}

.htj-perks-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.htj-perk-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #f2f6f4 !important;
}

.htj-perk-item:last-child {
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

.htj-perk-icon {
  font-size: 20px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.htj-perk-info strong {
  display: block !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #1a2a26 !important;
  margin-bottom: 3px !important;
}

.htj-perk-info p {
  font-size: 13px !important;
  color: #666666 !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .htj-contact-hero {
    padding: 20px 10px 25px !important;
  }

  .htj-contact-title {
    font-size: 22px !important;
  }

  .htj-contact-card {
    padding: 20px 16px !important;
    border-radius: 14px !important;
    margin-bottom: 16px !important;
  }

  .htj-channels-grid {
    grid-template-columns: 1fr !important;
  }

  .htj-contact-map-frame {
    height: 280px !important;
  }
}

/* =========================================================
   THIẾT KẾ ĐỒNG BỘ CÁC NÚT ĐIỀU HƯỚNG TRÁI / PHẢI (OWL CAROUSEL)
   Áp dụng: Trang chủ, Trang sản phẩm, Quickview, Sản phẩm liên quan, Blog, Toàn site
   ========================================================= */

/* 1. Container slider */
#section-home-category .sectionContent,
.owlStyle .sectionContent,
.productCarousel-slider,
#productCarousel-slider {
  position: relative !important;
}

#section-home-category .slider-category.owl-carousel,
.owlStyle .owl-carousel,
.productCarousel-slider.owl-carousel {
  position: relative !important;
}

/* 2. CỤM NÚT MŨI TÊN ĐIỀU HƯỚNG TRÁI / PHẢI ĐỒNG BỘ TOÀN SITE (PREV / NEXT) */
.owl-carousel .owl-nav,
.owlStyle .owl-carousel .owl-nav {
  position: static !important;
  margin: 0 !important;
}

.owl-carousel .owl-nav button,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next,
#homepage-slider .owl-nav button.owl-prev,
#homepage-slider .owl-nav button.owl-next,
.section-home-slider .owl-nav button.owl-prev,
.section-home-slider .owl-nav button.owl-next,
#section-home-category .owl-nav button.owl-prev,
#section-home-category .owl-nav button.owl-next,
#section-home-blog .owl-nav button.owl-prev,
#section-home-blog .owl-nav button.owl-next,
#section-home-blog-2 .owl-nav button.owl-prev,
#section-home-blog-2 .owl-nav button.owl-next,
.slider-home-blog .owl-nav button.owl-prev,
.slider-home-blog .owl-nav button.owl-next,
.owlStyle .owl-carousel .owl-nav button.owl-prev,
.owlStyle .owl-carousel .owl-nav button.owl-next,
.productCarousel-slider .owl-nav button.owl-prev,
.productCarousel-slider .owl-nav button.owl-next,
.productList-slider .owl-nav button.owl-prev,
.productList-slider .owl-nav button.owl-next,
#productCarousel-slider .owl-nav button.owl-prev,
#productCarousel-slider .owl-nav button.owl-next,
#owlProduct-related .owl-nav button.owl-prev,
#owlProduct-related .owl-nav button.owl-next,
.listProduct-related .owl-nav button.owl-prev,
.listProduct-related .owl-nav button.owl-next,
#listViewed .owl-nav button.owl-prev,
#listViewed .owl-nav button.owl-next,
.listProduct-viewed .owl-nav button.owl-prev,
.listProduct-viewed .owl-nav button.owl-next,
.owlCarousel-style.owl-carousel .owl-nav button.owl-prev,
.owlCarousel-style.owl-carousel .owl-nav button.owl-next,
#quick-view-modal .owl-nav button.owl-prev,
#quick-view-modal .owl-nav button.owl-next,
#quickview-sliderproduct .owl-nav button.owl-prev,
#quickview-sliderproduct .owl-nav button.owl-next,
.about-slide .owl-nav button.owl-prev,
.about-slide .owl-nav button.owl-next,
#about02-slide-client .owl-nav button.owl-prev,
#about02-slide-client .owl-nav button.owl-next {
  position: absolute !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  background: #ffffff !important;
  border: 1.5px solid #dce6e1 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 16px rgba(12, 56, 48, 0.12), 0 2px 6px rgba(0, 0, 0, 0.05) !important;
  cursor: pointer !important;
  z-index: 10 !important;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 1 !important;
  color: #0c3830 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  text-align: center !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
}

/* Triệt tiêu triệt để pseudo-elements FontAwesome thừa để không đè lệch icon */
.owl-carousel .owl-nav button::before,
.owl-carousel .owl-nav button::after,
.owl-carousel .owl-nav button:before,
.owl-carousel .owl-nav button:after,
.owl-carousel .owl-nav .owl-prev::before,
.owl-carousel .owl-nav .owl-prev:before,
.owl-carousel .owl-nav .owl-next::before,
.owl-carousel .owl-nav .owl-next:before,
.owl-carousel .owl-nav button span,
.owlStyle .owl-carousel .owl-nav button::before,
.owlStyle .owl-carousel .owl-nav button::after,
.owlStyle .owl-carousel .owl-nav button span,
.productCarousel-slider .owl-nav button::before,
.productCarousel-slider .owl-nav button::after,
.productCarousel-slider .owl-nav .owl-prev::before,
.productCarousel-slider .owl-nav .owl-prev:before,
.productCarousel-slider .owl-nav .owl-next::before,
.productCarousel-slider .owl-nav .owl-next:before,
.productCarousel-slider .owl-nav button span,
.productList-slider .owl-nav button::before,
.productList-slider .owl-nav button::after,
.productList-slider .owl-nav button span,
#productCarousel-slider .owl-nav button::before,
#productCarousel-slider .owl-nav button::after,
#productCarousel-slider .owl-nav .owl-prev::before,
#productCarousel-slider .owl-nav .owl-prev:before,
#productCarousel-slider .owl-nav .owl-next::before,
#productCarousel-slider .owl-nav .owl-next:before,
#productCarousel-slider .owl-nav button span,
#owlProduct-related .owl-nav button::before,
#owlProduct-related .owl-nav button::after,
#owlProduct-related .owl-nav button span,
#listViewed .owl-nav button::before,
#listViewed .owl-nav button::after,
#listViewed .owl-nav button span,
#quick-view-modal .owl-nav button::before,
#quick-view-modal .owl-nav button::after,
#quick-view-modal .owl-nav button span,
#quickview-sliderproduct .owl-nav button::before,
#quickview-sliderproduct .owl-nav button::after,
#quickview-sliderproduct .owl-nav button span {
  display: none !important;
  content: none !important;
  font-size: 0 !important;
  width: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Vị trí dọc & căn lề theo từng khối trên Desktop */
/* 1. Banner chính đầu trang, slider trang sản phẩm, quickview: căn giữa 50% */
#homepage-slider .owl-nav button.owl-prev,
#homepage-slider .owl-nav button.owl-next,
.section-home-slider .owl-nav button.owl-prev,
.section-home-slider .owl-nav button.owl-next,
.productCarousel-slider .owl-nav button.owl-prev,
.productCarousel-slider .owl-nav button.owl-next,
.productList-slider .owl-nav button.owl-prev,
.productList-slider .owl-nav button.owl-next,
#productCarousel-slider .owl-nav button.owl-prev,
#productCarousel-slider .owl-nav button.owl-next,
#quick-view-modal .owl-nav button.owl-prev,
#quick-view-modal .owl-nav button.owl-next,
#quickview-sliderproduct .owl-nav button.owl-prev,
#quickview-sliderproduct .owl-nav button.owl-next {
  top: 50% !important;
  transform: translateY(-50%) !important;
}
#homepage-slider .owl-nav button.owl-prev,
.section-home-slider .owl-nav button.owl-prev {
  left: 24px !important;
}
#homepage-slider .owl-nav button.owl-next,
.section-home-slider .owl-nav button.owl-next {
  right: 24px !important;
}
.productCarousel-slider .owl-nav button.owl-prev,
.productList-slider .owl-nav button.owl-prev,
#productCarousel-slider .owl-nav button.owl-prev,
#quick-view-modal .owl-nav button.owl-prev,
#quickview-sliderproduct .owl-nav button.owl-prev {
  left: 12px !important;
}
.productCarousel-slider .owl-nav button.owl-next,
.productList-slider .owl-nav button.owl-next,
#productCarousel-slider .owl-nav button.owl-next,
#quick-view-modal .owl-nav button.owl-next,
#quickview-sliderproduct .owl-nav button.owl-next {
  right: 12px !important;
}

/* 2. Danh mục sản phẩm (category card): căn giữa theo ảnh card (40%) */
#section-home-category .owl-nav button.owl-prev,
#section-home-category .owl-nav button.owl-next,
.slider-category.owl-carousel .owl-nav button.owl-prev,
.slider-category.owl-carousel .owl-nav button.owl-next {
  top: 40% !important;
  transform: translateY(-50%) !important;
}
#section-home-category .owl-nav button.owl-prev,
.slider-category.owl-carousel .owl-nav button.owl-prev {
  left: -16px !important;
}
#section-home-category .owl-nav button.owl-next,
.slider-category.owl-carousel .owl-nav button.owl-next {
  right: -16px !important;
}

/* 3. Tin tức & bài viết (blog cards), sản phẩm liên quan: căn giữa theo ảnh tin tức (38%) */
#section-home-blog .owl-nav button.owl-prev,
#section-home-blog .owl-nav button.owl-next,
#section-home-blog-2 .owl-nav button.owl-prev,
#section-home-blog-2 .owl-nav button.owl-next,
.slider-home-blog .owl-nav button.owl-prev,
.slider-home-blog .owl-nav button.owl-next,
#owlProduct-related .owl-nav button.owl-prev,
#owlProduct-related .owl-nav button.owl-next,
.listProduct-related .owl-nav button.owl-prev,
.listProduct-related .owl-nav button.owl-next,
#listViewed .owl-nav button.owl-prev,
#listViewed .owl-nav button.owl-next,
.listProduct-viewed .owl-nav button.owl-prev,
.listProduct-viewed .owl-nav button.owl-next,
.owlCarousel-style.owl-carousel .owl-nav button.owl-prev,
.owlCarousel-style.owl-carousel .owl-nav button.owl-next {
  top: 38% !important;
  transform: translateY(-50%) !important;
}
#section-home-blog .owl-nav button.owl-prev,
#section-home-blog-2 .owl-nav button.owl-prev,
.slider-home-blog .owl-nav button.owl-prev,
#owlProduct-related .owl-nav button.owl-prev,
.listProduct-related .owl-nav button.owl-prev,
#listViewed .owl-nav button.owl-prev,
.listProduct-viewed .owl-nav button.owl-prev,
.owlCarousel-style.owl-carousel .owl-nav button.owl-prev {
  left: -16px !important;
}
#section-home-blog .owl-nav button.owl-next,
#section-home-blog-2 .owl-nav button.owl-next,
.slider-home-blog .owl-nav button.owl-next,
#owlProduct-related .owl-nav button.owl-next,
.listProduct-related .owl-nav button.owl-next,
#listViewed .owl-nav button.owl-next,
.listProduct-viewed .owl-nav button.owl-next,
.owlCarousel-style.owl-carousel .owl-nav button.owl-next {
  right: -16px !important;
}

/* Fallback chung cho các slider owlStyle khác */
.owlStyle .owl-carousel .owl-nav button.owl-prev {
  left: -16px !important;
  top: 40% !important;
  transform: translateY(-50%) !important;
}
.owlStyle .owl-carousel .owl-nav button.owl-next {
  right: -16px !important;
  top: 40% !important;
  transform: translateY(-50%) !important;
}

/* Icon mũi tên SVG sắc nét căn chính giữa tuyệt đối cả 2 trục */
.owl-carousel .owl-nav button svg,
.owlStyle .owl-carousel .owl-nav button svg,
.productCarousel-slider .owl-nav button svg,
.productList-slider .owl-nav button svg,
#productCarousel-slider .owl-nav button svg,
#owlProduct-related .owl-nav button svg,
#listViewed .owl-nav button svg,
#quick-view-modal .owl-nav button svg,
#quickview-sliderproduct .owl-nav button svg {
  width: 15px !important;
  height: 15px !important;
  display: block !important;
  margin: auto !important;
  fill: #0c3830 !important;
  flex-shrink: 0 !important;
  transition: fill 0.25s ease, transform 0.25s ease !important;
  position: static !important;
  pointer-events: none !important;
}

/* Tinh chỉnh quang học giúp mũi tên lệch mắt sang tâm tuyệt đối */
.owl-carousel .owl-nav button.owl-prev svg {
  transform: translateX(-0.5px) !important;
}
.owl-carousel .owl-nav button.owl-next svg {
  transform: translateX(0.5px) !important;
}

/* Hiệu ứng khi rê chuột (Hover) */
.owl-carousel .owl-nav button.owl-prev:not(.disabled):hover,
.owl-carousel .owl-nav button.owl-next:not(.disabled):hover {
  background: #0c3830 !important;
  border-color: #0c3830 !important;
  transform: translateY(-50%) scale(1.08) !important;
  box-shadow: 0 8px 24px rgba(12, 56, 48, 0.28) !important;
  color: #ffffff !important;
}

.owl-carousel .owl-nav button:not(.disabled):hover svg {
  fill: #ffffff !important;
}

/* Trạng thái Disabled (slide đầu hoặc cuối): Vẫn giữ khung tròn trắng sắc nét, làm mờ tinh tế, không bị mất khung */
.owl-carousel .owl-nav button.disabled {
  opacity: 0.38 !important;
  background: #ffffff !important;
  border-color: #eaeff0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: translateY(-50%) !important;
}

.owl-carousel .owl-nav button.disabled svg {
  fill: #a5b3ac !important;
}

/* 3. Cụm nút Chấm phân trang (Dots) */
#section-home-category .owl-dots,
.owlStyle .owl-carousel .owl-dots {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-top: 28px !important;
  margin-bottom: 6px !important;
  padding: 0 !important;
}

#section-home-category .owl-dots button.owl-dot,
.owlStyle .owl-carousel .owl-dots button.owl-dot {
  width: 8px !important;
  height: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #d4ded9 !important;
  border: none !important;
  outline: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#section-home-category .owl-dots button.owl-dot:hover,
.owlStyle .owl-carousel .owl-dots button.owl-dot:hover {
  background: #0c3830 !important;
  opacity: 0.75 !important;
  transform: scale(1.15) !important;
}

/* Chấm phân trang đang hoạt động (Active Dot - Dạng viên thuốc mở rộng chuẩn luxury) */
#section-home-category .owl-dots button.owl-dot.active,
.owlStyle .owl-carousel .owl-dots button.owl-dot.active {
  width: 28px !important;
  height: 8px !important;
  background: #0c3830 !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 8px rgba(12, 56, 48, 0.28) !important;
  opacity: 1 !important;
}

/* 4. Responsive máy tính bảng & điện thoại */
@media (max-width: 991px) {
  #homepage-slider .owl-nav button.owl-prev,
  .section-home-slider .owl-nav button.owl-prev {
    left: 14px !important;
  }

  #homepage-slider .owl-nav button.owl-next,
  .section-home-slider .owl-nav button.owl-next {
    right: 14px !important;
  }

  .productCarousel-slider .owl-nav button.owl-prev,
  .productList-slider .owl-nav button.owl-prev,
  #productCarousel-slider .owl-nav button.owl-prev {
    left: 8px !important;
  }

  .productCarousel-slider .owl-nav button.owl-next,
  .productList-slider .owl-nav button.owl-next,
  #productCarousel-slider .owl-nav button.owl-next {
    right: 8px !important;
  }

  #section-home-category .owl-nav button.owl-prev,
  #section-home-blog .owl-nav button.owl-prev,
  #section-home-blog-2 .owl-nav button.owl-prev,
  .slider-home-blog .owl-nav button.owl-prev,
  .owlStyle .owl-carousel .owl-nav button.owl-prev,
  #owlProduct-related .owl-nav button.owl-prev,
  #listViewed .owl-nav button.owl-prev {
    left: 2px !important;
  }

  #section-home-category .owl-nav button.owl-next,
  #section-home-blog .owl-nav button.owl-next,
  #section-home-blog-2 .owl-nav button.owl-next,
  .slider-home-blog .owl-nav button.owl-next,
  .owlStyle .owl-carousel .owl-nav button.owl-next,
  #owlProduct-related .owl-nav button.owl-next,
  #listViewed .owl-nav button.owl-next {
    right: 2px !important;
  }
}

@media (max-width: 767px) {
  .owl-carousel .owl-nav button,
  .owl-carousel .owl-nav button.owl-prev,
  .owl-carousel .owl-nav button.owl-next,
  .owlStyle .owl-carousel .owl-nav button.owl-prev,
  .owlStyle .owl-carousel .owl-nav button.owl-next,
  .productCarousel-slider .owl-nav button.owl-prev,
  .productCarousel-slider .owl-nav button.owl-next,
  .productList-slider .owl-nav button.owl-prev,
  .productList-slider .owl-nav button.owl-next,
  #productCarousel-slider .owl-nav button.owl-prev,
  #productCarousel-slider .owl-nav button.owl-next,
  #owlProduct-related .owl-nav button.owl-prev,
  #owlProduct-related .owl-nav button.owl-next,
  #listViewed .owl-nav button.owl-prev,
  #listViewed .owl-nav button.owl-next,
  #quick-view-modal .owl-nav button.owl-prev,
  #quick-view-modal .owl-nav button.owl-next,
  #quickview-sliderproduct .owl-nav button.owl-prev,
  #quickview-sliderproduct .owl-nav button.owl-next {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
  }

  .owl-carousel .owl-nav button svg,
  .owlStyle .owl-carousel .owl-nav button svg,
  .productCarousel-slider .owl-nav button svg,
  .productList-slider .owl-nav button svg,
  #productCarousel-slider .owl-nav button svg,
  #owlProduct-related .owl-nav button svg,
  #listViewed .owl-nav button svg,
  #quick-view-modal .owl-nav button svg,
  #quickview-sliderproduct .owl-nav button svg {
    width: 13px !important;
    height: 13px !important;
    display: block !important;
    margin: auto !important;
    flex-shrink: 0 !important;
  }

  .owl-carousel .owl-nav button.owl-prev svg {
    transform: translateX(-0.5px) !important;
  }
  .owl-carousel .owl-nav button.owl-next svg {
    transform: translateX(0.5px) !important;
  }

  /* Vị trí nút dọc & ngang trên mobile */
  /* 1. Banner chính, slider trang sản phẩm, quickview: căn giữa 50% */
  #homepage-slider .owl-nav button.owl-prev,
  .section-home-slider .owl-nav button.owl-prev,
  .productCarousel-slider .owl-nav button.owl-prev,
  .productList-slider .owl-nav button.owl-prev,
  #productCarousel-slider .owl-nav button.owl-prev,
  #quick-view-modal .owl-nav button.owl-prev,
  #quickview-sliderproduct .owl-nav button.owl-prev {
    left: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  #homepage-slider .owl-nav button.owl-next,
  .section-home-slider .owl-nav button.owl-next,
  .productCarousel-slider .owl-nav button.owl-next,
  .productList-slider .owl-nav button.owl-next,
  #productCarousel-slider .owl-nav button.owl-next,
  #quick-view-modal .owl-nav button.owl-next,
  #quickview-sliderproduct .owl-nav button.owl-next {
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  /* 2. Danh mục sản phẩm: căn giữa theo ảnh card (40%) */
  #section-home-category .owl-nav button.owl-prev,
  .slider-category.owl-carousel .owl-nav button.owl-prev {
    left: 4px !important;
    top: 40% !important;
    transform: translateY(-50%) !important;
  }
  #section-home-category .owl-nav button.owl-next,
  .slider-category.owl-carousel .owl-nav button.owl-next {
    right: 4px !important;
    top: 40% !important;
    transform: translateY(-50%) !important;
  }

  /* 3. Tin tức & các slider card khác: căn giữa theo ảnh card (38%) */
  #section-home-blog .owl-nav button.owl-prev,
  #section-home-blog-2 .owl-nav button.owl-prev,
  .slider-home-blog .owl-nav button.owl-prev,
  .owlStyle .owl-carousel .owl-nav button.owl-prev,
  #owlProduct-related .owl-nav button.owl-prev,
  #listViewed .owl-nav button.owl-prev {
    left: 4px !important;
    top: 38% !important;
    transform: translateY(-50%) !important;
  }
  #section-home-blog .owl-nav button.owl-next,
  #section-home-blog-2 .owl-nav button.owl-next,
  .slider-home-blog .owl-nav button.owl-next,
  .owlStyle .owl-carousel .owl-nav button.owl-next,
  #owlProduct-related .owl-nav button.owl-next,
  #listViewed .owl-nav button.owl-next {
    right: 4px !important;
    top: 38% !important;
    transform: translateY(-50%) !important;
  }

  #section-home-category .owl-dots,
  .owlStyle .owl-carousel .owl-dots {
    margin-top: 18px !important;
  }
}

/* =========================================================
   KHỐI "VỀ CHÚNG TÔI" (HOME INTRO) - ĐỒNG BỘ CHUẨN TÔNG THƯƠNG HIỆU HÀ TUẤN JEWELRY
   Màu sắc: Xanh ngọc lục bảo (#0c3830), vàng Champagne viền logo (#d4b58c), nền ngọc trai thanh lịch
   ========================================================= */
#section-home-intro,
.section-home-intro,
.catalog-mode .section-home-intro {
  padding: 52px 0 44px !important;
  background: transparent !important;
  border-top: none !important;
  border-bottom: none !important;
}

#section-home-intro .home-intro,
.section-home-intro .home-intro,
.catalog-mode .section-home-intro .home-intro {
  max-width: 980px !important;
  margin: 0 auto !important;
  padding: 48px 40px 42px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%) !important;
  border: 1.5px solid #e2eee7 !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 30px rgba(12, 56, 48, 0.05) !important;
  position: relative !important;
  text-align: center !important;
}

/* Logo thương hiệu với vòng viền vàng Champagne tinh tế */
#section-home-intro .intro-logo,
.section-home-intro .intro-logo {
  margin-bottom: 20px !important;
}

#section-home-intro .intro-logo img,
.section-home-intro .intro-logo img {
  width: 90px !important;
  height: auto !important;
  max-height: 85px !important;
  object-fit: contain !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.35s ease !important;
  display: inline-block !important;
}

#section-home-intro .intro-logo img:hover,
.section-home-intro .intro-logo img:hover {
  transform: scale(1.04) !important;
  box-shadow: none !important;
}

/* Tiêu đề "VỀ CHÚNG TÔI" đồng bộ 100% với các khối trang chủ */
#section-home-intro .home-intro--titles,
.section-home-intro .home-intro--titles {
  margin-bottom: 22px !important;
}

#section-home-intro .home-intro--titles h2,
#section-home-intro .home-intro--titles h2 *,
.section-home-intro .home-intro--titles h2,
.catalog-mode .home-intro--titles h2 {
  color: #0c3830 !important;
  font-family: inherit !important;
  font-size: clamp(22px, 2.4vw, 28px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}

/* Vạch kẻ ngăn cách tiêu đề */
#section-home-intro .home-intro--titles .title-divider,
.section-home-intro .home-intro--titles .title-divider,
.catalog-mode .home-intro--titles .title-divider {
  position: relative !important;
  width: 50px !important;
  height: 2px !important;
  background: #0c3830 !important;
  border-radius: 2px !important;
  margin: 12px auto 0 !important;
}

/* Nội dung văn bản giới thiệu */
#section-home-intro .home-intro--content,
#section-home-intro .home-intro--content p,
#section-home-intro .home-intro--content div,
.section-home-intro .home-intro--content,
.section-home-intro .home-intro--content p,
.catalog-mode .home-intro--content {
  color: #2d3b36 !important;
  font-size: 15.5px !important;
  line-height: 2.0 !important;
  font-weight: 400 !important;
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#section-home-intro .home-intro--content p,
.section-home-intro .home-intro--content p {
  margin-bottom: 14px !important;
  line-height: 2.0 !important;
}

#section-home-intro .home-intro--content p:last-child,
.section-home-intro .home-intro--content p:last-child {
  margin-bottom: 0 !important;
}

#section-home-intro .home-intro--content strong,
#section-home-intro .home-intro--content b,
.section-home-intro .home-intro--content strong,
.section-home-intro .home-intro--content b {
  color: #0c3830 !important;
  font-weight: 700 !important;
}

/* Tối ưu hiển thị điện thoại */
@media (max-width: 767px) {
  #section-home-intro,
  .section-home-intro,
  .catalog-mode .section-home-intro {
    padding: 34px 0 26px !important;
  }

  #section-home-intro .home-intro,
  .section-home-intro .home-intro,
  .catalog-mode .section-home-intro .home-intro {
    padding: 28px 18px 24px !important;
    border-radius: 16px !important;
  }

  #section-home-intro .intro-logo img,
  .section-home-intro .intro-logo img {
    width: 76px !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  #section-home-intro .home-intro--titles h2,
  .section-home-intro .home-intro--titles h2,
  .catalog-mode .home-intro--titles h2 {
    font-size: 20px !important;
  }

  #section-home-intro .home-intro--content,
  #section-home-intro .home-intro--content p,
  .section-home-intro .home-intro--content,
  .section-home-intro .home-intro--content p {
    font-size: 14px !important;
    line-height: 1.85 !important;
  }
}

/* =========================================================
   HTJ LUXURY PRODUCT IMAGE SKELETON & LOADING EFFECT
   Hiệu ứng Shimmer & Spinner sang trọng khi ảnh sản phẩm đang load
   ========================================================= */

/* 1. Khung chứa ảnh: Định hình sẵn tỷ lệ vuông 1:1 chống nhảy layout */
.catalog-mode .product-loop .product--image,
.catalog-mode .product-loop .lazy-img.first-image,
.product-loop-slider .product--image,
.product-loop-slider .lazy-img.first-image,
.productDetail--gallery .product-gallery,
.style_01 .product-gallery,
#quick-view-modal .product-gallery {
  position: relative !important;
  background-color: #f7f9f8 !important;
  overflow: hidden !important;
}

/* 2. Hiệu ứng sóng Shimmer ánh sáng lướt qua khi ảnh chưa tải xong */
.catalog-mode .product-loop .lazy-img.first-image:not(.htj-img-loaded)::before,
.product-loop-slider .lazy-img.first-image:not(.htj-img-loaded)::before,
.productDetail--gallery .product-gallery:not(.htj-img-loaded)::before,
.style_01 .product-gallery:not(.htj-img-loaded)::before,
#quick-view-modal .product-gallery:not(.htj-img-loaded)::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    90deg,
    rgba(240, 245, 243, 0.6) 0%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(240, 245, 243, 0.6) 100%
  ) !important;
  background-size: 200% 100% !important;
  animation: htj-img-shimmer 1.5s infinite linear !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* 3. Vòng xoay Spinner tinh tế ở giữa khung ảnh mang tông màu xanh chủ đạo */
.catalog-mode .product-loop .lazy-img.first-image:not(.htj-img-loaded)::after,
.product-loop-slider .lazy-img.first-image:not(.htj-img-loaded)::after,
.productDetail--gallery .product-gallery:not(.htj-img-loaded)::after,
.style_01 .product-gallery:not(.htj-img-loaded)::after,
#quick-view-modal .product-gallery:not(.htj-img-loaded)::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 26px !important;
  height: 26px !important;
  margin-top: -13px !important;
  margin-left: -13px !important;
  border: 2.2px solid rgba(12, 56, 48, 0.12) !important;
  border-top-color: #0c3830 !important;
  border-radius: 50% !important;
  animation: htj-img-spin 0.75s linear infinite !important;
  z-index: 2 !important;
  pointer-events: none !important;
  box-sizing: border-box !important;
}

/* 4. Trạng thái ảnh: ban đầu ẩn nhẹ để không giật hình, khi load xong mờ dần hiện ra (fade-in) */
.catalog-mode .product-loop .product--image img.img-loop,
.product-loop-slider .product--image img.img-loop,
.productDetail--gallery .product-gallery img,
.style_01 .product-gallery img,
#quick-view-modal .product-gallery img {
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
}

/* Khi ảnh đã load xong (hoặc có cache) */
.catalog-mode .product-loop .product--image img.img-loop.htj-loaded,
.product-loop-slider .product--image img.img-loop.htj-loaded,
.productDetail--gallery .product-gallery img.htj-loaded,
.style_01 .product-gallery img.htj-loaded,
#quick-view-modal .product-gallery img.htj-loaded {
  opacity: 1 !important;
}

/* Khi khung ảnh đã hoàn tất tải: tắt hoàn toàn shimmer và spinner, đưa nền về trắng sạch */
.htj-img-loaded {
  background-color: #ffffff !important;
}

.htj-img-loaded::before,
.htj-img-loaded::after {
  display: none !important;
  content: none !important;
  animation: none !important;
  opacity: 0 !important;
}

/* Failsafe: Tự động hiện ảnh sau 3.5s nếu xảy ra ngoại lệ mạng */
@keyframes htj-img-reveal-fallback {
  to {
    opacity: 1;
  }
}

.catalog-mode .product-loop .product--image img.img-loop:not(.htj-loaded),
.productDetail--gallery .product-gallery img:not(.htj-loaded),
#quick-view-modal .product-gallery img:not(.htj-loaded) {
  animation: htj-img-reveal-fallback 0.3s 3.5s forwards;
}

/* Keyframe animations */
@keyframes htj-img-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes htj-img-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* =========================================================
   HTJ v5.0.18 — RÀ SOÁT MOBILE (90% khách vào bằng điện thoại)
   Đặt cuối file để ghi đè các khối phía trên.
   ========================================================= */

/* 1. Tên sản phẩm trên thẻ: khung chữ cao cố định 42px trong khi 2 dòng chỉ
   cao 2 x 1.4em ≈ 39px, nên dấu của dòng thứ 3 lộ ra dưới dấu "…".
   Cho khung chữ cao đúng 2 dòng; h3 bên ngoài vẫn giữ chiều cao để các thẻ
   thẳng hàng. */
.catalog-mode .product-loop .proloop-detail h3 a {
  height: auto !important;
  min-height: 0 !important;
  max-height: 2.8em !important;
}

/* 2. Banner nhóm sản phẩm: ảnh cũ bị ép cao tối thiểu 220px (object-fit:
   contain) nên thừa nền xám trên/dưới ảnh (ảnh thật chỉ cao ~100px ở màn
   390px). Giữ đúng tỉ lệ banner 2048x527 để không nhảy trang khi ảnh tải. */
.wrapper-collection-header .collection-banner img {
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto 2048 / 527;
  object-fit: cover;
}

@media (max-width: 767px) {
  /* 3. Ô tìm kiếm: chữ dưới 16px thì iPhone TỰ PHÓNG TO trang mỗi lần bấm
     vào ô. Đưa lên 16px (placeholder giữ cỡ cũ cho gọn). */
  form.search-page input[name="q"] {
    font-size: 16px !important;
  }

  /* 5. Chân trang dạng thu gọn: mỗi tiêu đề còn lề dưới 20px + khoảng cách
     hàng 36px nên giữa các mục trống ~100px. Thu lại, tiêu đề là một hàng
     bấm cao đủ ngón tay; nội dung mở ra có khoảng đệm phía trên. */
  .htj-luxury-footer .htj-ft-row {
    row-gap: 8px;
  }
  .htj-luxury-footer .title-footer.htj-ft-title {
    margin-bottom: 0 !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    cursor: pointer;
  }
  .htj-luxury-footer .content-footer.block-collapse {
    padding-top: 14px;
  }
  /* Link điện thoại / email trong chân trang dễ bấm hơn. Đệm dọc trên phần tử
     inline chỉ nới vùng bấm, không đẩy dòng, nên bố cục giữ nguyên. */
  .htj-luxury-footer .htj-ft-info-text a[href^="tel"],
  .htj-luxury-footer .htj-ft-info-text a[href^="mailto"] {
    padding-block: 8px;
  }

  /* 7. Ngày đăng bài viết 10px quá nhỏ trên điện thoại */
  .article-post-meta,
  .article-post-meta time,
  .article-post-meta .author,
  .item-article .media-article time {
    font-size: 12px !important;
  }
}
/* =========================================================
   HTJ v5.0.19 — THANH LIÊN HỆ ĐÁY MÀN HÌNH (điện thoại <= 767px)
   Thay cụm 3 nút tròn nổi (Gọi / Zalo / Lên đầu) vốn che cột giá bên phải.
   Markup: snippets/htj-floating-contact.liquid (.htj-mobile-cta).
   Máy tính bảng và máy tính giữ cụm nút tròn như cũ.
   ========================================================= */
.htj-mobile-cta {
  display: none;
}

@media (max-width: 767px) {
  .htj-floating-dock {
    display: none !important;
  }

  .htj-mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    /* Dưới menu điện thoại (10000), lớp mờ tìm kiếm (998), popup/modal (1050+) */
    z-index: 950;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid rgba(12, 56, 48, 0.1);
    box-shadow: 0 -4px 16px rgba(12, 56, 48, 0.08);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  /* Chừa đúng chiều cao thanh để nội dung cuối trang không bị che */
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .htj-mobile-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none !important;
    color: #ffffff !important;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease, filter 0.15s ease;
  }

  .htj-mobile-cta__btn:active {
    transform: scale(0.97);
    filter: brightness(0.95);
  }

  .htj-mobile-cta__btn--call {
    background: linear-gradient(135deg, #18985b, #0c3830);
  }

  .htj-mobile-cta__btn--zalo {
    background: #0068ff;
  }

  .htj-mobile-cta__btn img {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 6px;
  }

  .htj-mobile-cta__btn svg {
    flex-shrink: 0;
  }

  /* Đang gõ (bàn phím mở) thì ẩn thanh, để không che gợi ý tìm kiếm / ô nhập.
     v5.0.23: trừ ô chọn size (radio) và ô lọc (checkbox) — chạm vào chúng trên Android
     cũng focus nhưng không mở bàn phím, trước đây làm thanh liên hệ biến mất sau khi chọn size. */
  body:has(input:not([type="radio"]):not([type="checkbox"]):focus, textarea:focus, select:focus) .htj-mobile-cta {
    display: none;
  }
}

/* =========================================================
   HTJ v5.0.22 — ĐỊA CHỈ / CHỈ ĐƯỜNG CỬA HÀNG TRÊN ĐIỆN THOẠI
   Thông tin lấy từ snippets/htj-store-info.liquid (một chỗ duy nhất).
   ① thanh trên cùng  ② nút thứ 3 thanh đáy  ③ thẻ trong menu  ④ dòng dưới giá SP
   ========================================================= */

/* ② Thanh đáy: 3 nút; "Chỉ đường" kiểu viền cho nhẹ hơn hai nút chốt đơn */
@media (max-width: 767px) {
  .htj-mobile-cta {
    gap: 6px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .htj-mobile-cta__btn {
    gap: 6px;
    font-size: 14px;
    white-space: nowrap;
  }
  .htj-mobile-cta__btn--map {
    background: #ffffff;
    color: #0c3830 !important;
    border: 1.5px solid #0c3830;
  }
}
@media (max-width: 374px) {
  .htj-mobile-cta__btn {
    gap: 4px;
    font-size: 13px;
  }
  .htj-mobile-cta__btn svg,
  .htj-mobile-cta__btn img {
    width: 18px;
    height: 18px;
  }
}

/* =========================================================
   HTJ v5.0.23 — HỎI MẪU NÀY QUA ZALO (trang sản phẩm)
   Markup: snippets/template-product-01.liquid (.htj-ask-zalo).
   JS: assets/htj-zalo-ask.js — bấm link zalo.me bất kỳ trên trang sản phẩm thì
   chép tên, SKU, size, giá, link của mẫu đang chọn và hiện .htj-zalo-toast.
   Màu nút trùng nút "Chat Zalo" ở thanh đáy (#0068ff).
   ========================================================= */
.htj-ask-zalo {
  margin: 18px 0 22px;
}
.htj-ask-zalo__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #0068ff;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(0, 104, 255, 0.22);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.htj-ask-zalo__btn:hover,
.htj-ask-zalo__btn:focus-visible {
  background: #0057d6;
  color: #ffffff !important;
}
.htj-ask-zalo__btn:focus-visible {
  outline: 3px solid rgba(0, 104, 255, 0.35);
  outline-offset: 2px;
}
.htj-ask-zalo__btn:active {
  transform: scale(0.98);
}
.htj-ask-zalo__btn img {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
}
.htj-ask-zalo__hint {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #606d69;
  text-align: center;
}
.htj-ask-zalo__hint[hidden] {
  display: none;
}

/* Thông báo "Đã chép": trên thanh liên hệ đáy (điện thoại), dưới menu/popup. */
.htj-zalo-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 960;
  width: max-content;
  max-width: 92vw;
  max-width: min(92vw, 420px);
  padding: 12px 16px;
  border-radius: 12px;
  background: #0c3830;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.htj-zalo-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.htj-zalo-toast[hidden] {
  display: none;
}
@media (max-width: 767px) {
  .htj-zalo-toast {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .htj-ask-zalo__btn,
  .htj-zalo-toast {
    transition: none;
  }
}

/* =========================================================
   HTJ v5.0.23 — TRANG DANH MỤC: BỘ LỌC TRÊN ĐƯỜNG DẪN
   templates/collection.liquid: mở link có sẵn bộ lọc (?gia=2&nhom=...) thì trang
   hiện danh sách gốc trước rồi mới tải danh sách đã lọc — làm mờ trong lúc đó.
   ========================================================= */
.listProduct-filter.htj-list-restoring {
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.layered_filter_tags .filter_tags_remove:focus-visible,
.layered_filter_tags .filter_tags_remove_all:focus-visible {
  outline: 2px solid #0c3830;
  outline-offset: 2px;
}

/* =========================================================
   TÌM MẪU BẰNG HÌNH ẢNH (v5.0.40) — nút máy ảnh trong ô tìm kiếm header.
   Giao diện cửa sổ kết quả nằm trong assets/htj-imgsearch.js (chỉ tải khi bấm nút).
   ========================================================= */
#site-header .htj-img-btn {
  background: transparent !important;
  border: none !important;
  color: #0c3830 !important;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 4px 0 0;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: none !important;
  transition: background 0.2s ease;
}
#site-header .htj-img-btn:hover,
#site-header .htj-img-btn:active {
  background: #f0f6f3 !important;
}
#site-header .htj-img-btn:focus-visible {
  outline: 2px solid #0c3830;
  outline-offset: 2px;
}
#site-header .htj-img-btn svg,
#site-header .htj-img-btn svg path,
#site-header .htj-img-btn svg circle {
  fill: none !important;
  stroke: #0c3830 !important;
}
/* v5.0.50: video sản phẩm — ảnh bìa + nút Play (bấm mới tải YouTube) */
.htj-video-facade {position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #0f1513; cursor: pointer; overflow: hidden;}
.htj-video-facade img {width: 100%; height: 100%; object-fit: cover; display: block;}
.htj-video-play {position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(12,56,48,.85); box-shadow: 0 6px 24px rgba(0,0,0,.3); transition: transform .2s ease, background .2s ease;}
.htj-video-play svg {width: 32px; height: 32px; margin-left: 4px; fill: #fff;}
.htj-video-facade:hover .htj-video-play {transform: scale(1.08); background: #0c3830;}
.htj-video-facade:focus-visible {outline: 3px solid #0c3830; outline-offset: -3px;}
.prod-video .htj-video-frame {position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000;}
/* Khung video không qua bước "đã tải ảnh" của theme: bỏ lớp xám + vòng xoay chờ, ảnh bìa luôn hiện. */
.prod-video .product-gallery__item, .prod-video .boxlazy-img__insert, .prod-video .boxlazy-img__aspect {background: #0f1513 !important;}
.prod-video .product-gallery__item::before, .prod-video .product-gallery__item::after,
.prod-video .boxlazy-img__insert::before, .prod-video .boxlazy-img__insert::after,
.prod-video .boxlazy-img__aspect::before, .prod-video .boxlazy-img__aspect::after {display: none !important; content: none !important; animation: none !important;}
.prod-video .htj-video-facade img {opacity: 1 !important; animation: none !important;}
.product-gallery.prod-video::before, .product-gallery.prod-video::after {display: none !important; content: none !important; animation: none !important;}

/* v5.0.52: ảnh nhỏ video dưới khung ảnh — ảnh rõ + nút Play nhỏ (trước: biểu tượng PNG xám phủ kín, ảnh mờ) */
.thumb_video .boxlazy-img__insert, .thumb_video .product-thumb__item {background: #0f1513 !important;}
.thumb_video .boxlazy-img__insert::before, .thumb_video .boxlazy-img__insert::after, .thumb_video .product-thumb__item::before, .thumb_video .product-thumb__item::after {display: none !important; content: none !important; animation: none !important;}
.thumb_video img.htj-thumb-video-img {width: 100%; height: 100%; object-fit: cover; opacity: 1 !important; animation: none !important; filter: none !important;}
.thumb_video .htj-thumb-play {position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(12,56,48,.85); box-shadow: 0 2px 8px rgba(0,0,0,.3); pointer-events: none; z-index: 2;}
.thumb_video .htj-thumb-play svg {width: 13px; height: 13px; margin-left: 2px; fill: #fff;}

/* v5.0.54: Khối "Video nổi bật" trên trang chủ (#section-home-video) */
.section-home-video {padding: 36px 0 16px;}
.htj-home-video-wrap {position: relative; width: 100%; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #0f1513; box-shadow: 0 10px 30px rgba(12,56,48,.12);}
.htj-home-video-wrap--1-1 {max-width: 560px; aspect-ratio: 1 / 1;}
.htj-home-video-wrap--16-9 {max-width: 860px; aspect-ratio: 16 / 9;}
.htj-home-video-wrap--9-16 {max-width: 380px; aspect-ratio: 9 / 16;}
.htj-home-video-wrap .htj-home-video__preload {width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none;}
.htj-home-video-wrap .htj-video-frame {position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; display: block;}
@media (max-width: 767px) {
  .section-home-video {padding: 24px 0 10px;}
  .htj-home-video-wrap {border-radius: 12px;}
  .htj-home-video-wrap--9-16 {max-width: 320px;}
}

/* v5.0.55: Video nổi bật dạng 2 cột (chữ trái nền đen, video phải) + bỏ dải trắng ở banner trang Giới thiệu */
.section-home-video--split {padding: 0; background: #000; margin: 28px 0 0;}
.section-home-video--split .htj-hv-grid {display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; max-width: 1920px; margin: 0 auto;}
.section-home-video--split .htj-hv-text {display: flex; align-items: center; padding: 48px 48px 48px max(60px, calc((100vw - 1900px) / 2 + 60px)); color: #fff;}
@media (min-width: 992px) and (max-width: 1399px) {
  .section-home-video--split .htj-hv-text {padding: 40px 36px 40px 24px;}
}
.section-home-video--split .htj-hv-text__inner {max-width: 580px; width: 100%;}
.section-home-video--split .htj-hv-title {margin: 0 0 16px; color: #fff; font-size: clamp(20px, 2vw, 30px); font-weight: 800; line-height: 1.25; letter-spacing: 0.02em; text-transform: uppercase;}
.section-home-video--split .htj-hv-list {margin: 0; padding-left: 20px; list-style: disc; color: #fff; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.65;}
.section-home-video--split .htj-hv-list li {margin: 0 0 6px; color: #fff;}
.section-home-video--split .htj-hv-gallery {display: flex; align-items: center; gap: 14px; margin-top: 24px; max-width: 480px;}
.section-home-video--split .htj-hv-gallery__item {flex: 1 1 0; min-width: 0; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #111; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);}
.section-home-video--split .htj-hv-gallery__item img {width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px; transition: transform 0.3s ease;}
.section-home-video--split .htj-hv-gallery__item:hover img {transform: scale(1.04);}
.section-home-video--split .htj-home-video-wrap {max-width: none; height: 100%; max-height: 680px; margin: 0; border-radius: 0; box-shadow: none; background: #000;}
.section-home-video--split .htj-home-video-wrap--1-1 {aspect-ratio: 1 / 1;}
.section-home-video--split .htj-home-video-wrap--16-9 {aspect-ratio: 16 / 9;}
.section-home-video--split .htj-home-video-wrap--9-16 {aspect-ratio: 9 / 16; max-width: none;}
.section-home-video:not(.section-home-video--split) .htj-hv-grid {display: block; max-width: 1200px; margin: 0 auto; padding: 0 15px;}
@media (max-width: 767px) {
  .section-home-video--split {margin-top: 16px;}
  .section-home-video--split .htj-hv-grid {grid-template-columns: 1fr;}
  .section-home-video--split .htj-hv-text {padding: 28px 20px 22px;}
  .section-home-video--split .htj-hv-title {font-size: 20px;}
  .section-home-video--split .htj-hv-list {font-size: 14px;}
  .section-home-video--split .htj-hv-gallery {margin-top: 18px; gap: 8px; max-width: 340px;}
  .section-home-video--split .htj-hv-gallery__item,
  .section-home-video--split .htj-hv-gallery__item img {border-radius: 10px;}
  .section-home-video--split .htj-home-video-wrap {max-height: none;}
}
/* Banner trang Giới thiệu: breadcrumb nằm trong nền tối, không nền trắng */
.section-about01-breadcrumb .headtitle-block .breadcrumb-shop {background: transparent !important; border: 0 !important; padding: 10px 0 0; margin: 0;}
.section-about01-breadcrumb .headtitle-block .breadcrumb-shop a,
.section-about01-breadcrumb .headtitle-block .breadcrumb-shop span,
.section-about01-breadcrumb .headtitle-block .breadcrumb-shop strong,
.section-about01-breadcrumb .headtitle-block .breadcrumb-shop li {color: #fff !important; font-weight: 400;}
.section-about01-breadcrumb .headtitle-block .breadcrumb-shop li.active strong {font-weight: 500;}

/* v5.0.56: video mp4 tự phát, không thanh điều khiển; nút bật/tắt tiếng */
.htj-home-video-wrap video.htj-video-frame {object-fit: cover; pointer-events: none;}
.htj-hv-sound {position: absolute; right: 14px; bottom: 14px; z-index: 3; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); cursor: pointer; display: flex; align-items: center; justify-content: center;}
.htj-hv-sound svg {width: 22px; height: 22px; fill: #fff;}
.htj-hv-sound:hover {background: rgba(0,0,0,.8);}

/* v5.0.61: giao diện — tên sản phẩm điện thoại, nút "Liên hệ", focus bàn phím, tương phản, vùng chạm chấm slider */
@media (max-width: 767px) {
  .catalog-mode .product-loop .proloop-detail {padding: 12px 10px 16px !important;}
  .catalog-mode .product-loop .proloop-detail h3 {height: auto; min-height: 2.76em;}
  .catalog-mode .product-loop .proloop-detail h3 a {font-size: 13px !important; line-height: 1.38 !important; max-height: 2.76em !important;}
}
.catalog-mode .product-loop .htj-contact-price {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid rgba(12, 56, 48, 0.16);
  border-radius: 999px;
  background: #edf3f0;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.catalog-mode .product-loop:hover .htj-contact-price,
.catalog-mode .product-loop:focus-within .htj-contact-price {
  background: var(--htj-primary, #0c3830);
  border-color: var(--htj-primary, #0c3830);
  color: #fff !important;
}
.owl-carousel .owl-nav button:focus-visible,
.owl-carousel .owl-dots button.owl-dot:focus-visible,
.htj-dock-btn:focus-visible,
.btn-collection:focus-visible {
  outline: 2px solid var(--htj-primary, #0c3830) !important;
  outline-offset: 2px !important;
}
.catalog-mode .product-loop .proloop--price .price-del,
.catalog-mode .product-loop .htj-compare-price,
.smart-search-wrapper .item-ult .title p del {color: #63736e !important;}
.htj-pnj-input::placeholder,
.htj-pnj-input-mb::placeholder {color: #64748b !important;}
@media (max-width: 767px) {
  .owl-carousel .owl-dots button.owl-dot {position: relative !important;}
  .owl-carousel .owl-dots button.owl-dot::after {content: ""; position: absolute; inset: -8px -4px;}
}
/* v5.0.62: góc dưới ảnh sản phẩm vuông, khớp khung (trước bị bo 8px đè bo 11px 11px 0 0 của khung) */
body.catalog-mode .product-loop .proloop-image img {border-radius: 11px 11px 0 0 !important;}

/* v5.0.65: số sản phẩm cạnh ô lọc (data-n do JS đặt trong templates/collection.liquid; nhãn chip không đổi) */
.htj-filter .checkbox-list label[data-n]::after {content: " (" attr(data-n) ")"; font-size: .88em; font-weight: 400; opacity: .6;}

/* v5.0.65/67: thanh "Bộ lọc / Sắp xếp" dính dưới đầu trang khi cuộn (điện thoại/tablet <=991px).
   top = --htj-hdr-h: chiều cao đầu trang dính (.mainHeader--height) do JS đo (templates/collection.liquid), mặc định 124px.
   #collection-body overflow:hidden chặn sticky -> clip; hai khối bọc không có khung/đệm riêng -> display:contents để thanh dính
   trong cả danh sách. Ngăn lọc nằm TRONG thanh: sticky tạo ngữ cảnh xếp lớp (z-index) riêng nên đầu trang (z 1001) che ngăn;
   v5.0.67: khi ngăn mở (body.open-filter) thanh trở về position:static -> không còn ngữ cảnh riêng, ngăn (fixed, z 9999) như trước v5.0.65. */
@media (max-width: 991px) {
  #collection-body {overflow: clip;}
  .collection-heading, .collection-heading__content {display: contents;}
  .collection-heading__content > .line-collection-content {position: sticky; top: var(--htj-hdr-h, 124px); z-index: 900;}
  body.open-filter .collection-heading__content > .line-collection-content {position: static; z-index: auto;}
}

/* =========================================================
   HTJ v5.0.73 — Làm đẹp bảng "Giá thành phẩm" và "Đặt hàng qua Zalo"
   (khu mô tả sản phẩm). Giữ nguyên cấu trúc bảng giá (htj-stone-price*.liquid);
   khối Zalo (snippets/htj-description-fallback.liquid) nay là thẻ + liên kết.
   Màu theo --htj-primary / --htj-zl (cài đặt htj_zalo_accent).
   ========================================================= */
.catalog-mode .htj-stone-price__table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #d9d3c4;
  /* Chú thích (thanh xanh) nằm NGOÀI hộp bảng nên bo góc bảng chỉ ở đáy, đầu bảng liền với thanh xanh */
  border-top: 0;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  font-size: 15px;
}
.catalog-mode .htj-stone-price__caption {
  padding: 16px 20px 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  border-radius: 16px 16px 0 0;
}
.catalog-mode .htj-stone-price__table thead th,
.catalog-mode .htj-stone-price__table tbody th,
.catalog-mode .htj-stone-price__table tbody td {
  border: 0;
  border-top: 1px solid #e6e0d0;
  padding: 14px 20px;
}
.catalog-mode .htj-stone-price__table thead th {
  background: #efebe0;
  color: #18211f;
  font-size: 14px;
  font-weight: 700;
}
.catalog-mode .htj-stone-price__table:not(.htj-ms__table) thead th:first-child,
.catalog-mode .htj-stone-price__table:not(.htj-ms__table) tbody th {text-align: left;}
.catalog-mode .htj-stone-price__table:not(.htj-ms__table) thead th:last-child,
.catalog-mode .htj-stone-price__table:not(.htj-ms__table) tbody td {text-align: right;}
.catalog-mode .htj-stone-price__table tbody th {font-weight: 600;}
.catalog-mode .htj-stone-price__table tbody td {color: var(--htj-primary, #0c3830);}
.catalog-mode .htj-stone-price__table:not(.htj-ms__table) tbody td {font-size: 17px;}
/* Bảng nhiều cỡ (4 cột, ô gộp dòng): giữ căn giữa + đệm nhỏ để cột giá không bị cắt */
.catalog-mode .htj-ms__table thead th,
.catalog-mode .htj-ms__table tbody th,
.catalog-mode .htj-ms__table tbody td {padding: 9px 10px;}
.catalog-mode .htj-stone-price__table .htj-sp-stack__head th {
  background: #efebe0;
  color: #18211f;
  font-size: 14px;
  font-weight: 700;
}
@media (max-width: 575px) {
  .catalog-mode .htj-stone-price__table:not(.htj-ms__table) thead th,
  .catalog-mode .htj-stone-price__table:not(.htj-ms__table) tbody th,
  .catalog-mode .htj-stone-price__table:not(.htj-ms__table) tbody td {padding: 12px 14px;}
  .catalog-mode .htj-stone-price__table:not(.htj-ms__table) tbody td {font-size: 16px;}
  .catalog-mode .htj-ms__table thead th,
  .catalog-mode .htj-ms__table tbody th,
  .catalog-mode .htj-ms__table tbody td {padding: 7px 6px;}
  .catalog-mode .htj-ms__table {font-size: 13px;}
}

/* v5.0.77 — Khối Zalo (snippets/htj-description-fallback.liquid) là MỘT THẺ liền khối:
   đầu xanh (mã công'tấm của hàng vàng + "ĐẶT HÀNG NGAY QUA ZALO"), thân trắng là các hàng
   liên hệ, chân xanh là Zalo OA + QR. Cùng bo 16px / viền be với bảng giá. */
.htj-zalo-fallback {
  --htj-zl: #0c3830;
  box-sizing: border-box;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d9d3c4;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--htj-ink, #18211f);
}
.htj-zalo__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 20px 14px;
  background: var(--htj-zl);
  color: #ffffff;
  text-align: center;
}
.htj-zalo__code-num {font-size: 26px; font-weight: 700; line-height: 1.15; letter-spacing: 0.02em;}
.htj-zalo__title {margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #ffffff;}
.htj-zalo-fallback .htj-zalo__list {margin: 0 !important; padding: 0 !important; list-style: none;}
.htj-zalo__list > li {margin: 0; padding: 0; list-style: none;}
.htj-zalo__row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  box-sizing: border-box;
  min-height: 56px;
  padding: 12px 20px;
  border-top: 1px solid #e6e0d0;
  color: var(--htj-ink, #18211f);
  text-decoration: none;
}
.htj-zalo__list > li:first-child .htj-zalo__row {border-top: 0;}
.htj-zalo__row:hover {background: #f6f3ec;}
.htj-zalo__row:focus-visible {outline: 2px solid var(--htj-zl); outline-offset: -2px;}
.htj-zalo__name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.htj-zalo__tel {
  flex: 0 0 auto;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--htj-zl);
  white-space: nowrap;
}
.htj-zalo__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  background: var(--htj-zl);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.htj-zalo__oa {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  background: var(--htj-zl);
  color: #ffffff;
}
.htj-zalo__qr {
  flex: none;
  box-sizing: border-box;
  width: 132px;
  height: 132px;
  padding: 8px;
  background: #ffffff;
  border-radius: 12px;
}
.htj-zalo__oa-text {display: flex; flex-direction: column; gap: 6px; flex: 1 1 160px; min-width: 0;}
.htj-zalo__eyebrow {font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #ffffff;}
.htj-zalo__oa-name {font-size: 19px; font-weight: 700; line-height: 1.25; color: #ffffff; text-decoration: none;}
.htj-zalo__oa-name:hover {text-decoration: underline;}
.htj-zalo__oa-name:focus-visible {outline: 2px solid #ffffff; outline-offset: 2px;}
@media (max-width: 575px) {
  .htj-zalo__row {
    flex-wrap: nowrap;
    padding: 10px 12px;
    gap: 8px;
    min-height: 50px;
  }
  .htj-zalo__name {
    font-size: 14px;
  }
  .htj-zalo__tel {
    font-size: 14.5px;
  }
  .htj-zalo__chip {
    height: 28px;
    padding: 0 9px;
    font-size: 12px;
    border-radius: 14px;
  }
  .htj-zalo__oa {flex-direction: column; text-align: center;}
  .htj-zalo__oa-text {flex-basis: auto; align-items: center;}
}
@media (max-width: 374px) {
  .htj-zalo__row {
    padding: 9px 8px;
    gap: 6px;
    min-height: 46px;
  }
  .htj-zalo__name {
    font-size: 12.5px;
  }
  .htj-zalo__tel {
    font-size: 13px;
  }
  .htj-zalo__chip {
    height: 26px;
    padding: 0 7px;
    font-size: 11px;
    border-radius: 13px;
  }
}
/* Theme gạch chân/tô màu mọi liên kết trong mô tả: khối Zalo tự đặt lại. */
.htj-zalo-fallback a,
.htj-zalo-fallback a:hover {text-decoration: none !important;}
.htj-zalo-fallback a.htj-zalo__oa-name {color: #ffffff !important;}
.htj-zalo-fallback a.htj-zalo__oa-name:hover {text-decoration: underline !important;}
.htj-zalo-fallback a.htj-zalo__row {color: var(--htj-ink, #18211f) !important;}

/* v5.0.77 — Bảng nhiều cỡ (htj-stone-price-multi): thanh tiêu đề mở/thu cùng kiểu dải xanh của thẻ */
.catalog-mode .htj-ms__summary {
  padding: 16px 44px 14px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  border-color: #0c3830;
  border-radius: 16px 16px 0 0;
}
.catalog-mode .htj-ms:not([open]) > .htj-ms__summary {
  border-bottom: 1px solid #0c3830;
  border-radius: 16px;
}
.catalog-mode .htj-ms__summary::after {right: 20px;}
.catalog-mode .htj-ms__table .htj-ms-size,
.catalog-mode .htj-ms__table .htj-ms-qty {background: #f8f5ee;}
@media (max-width: 575px) {
  .catalog-mode .htj-ms__summary {padding: 14px 40px 12px 14px; font-size: 13px;}
  .catalog-mode .htj-ms__summary::after {right: 14px;}
}
