.h5-all-category-page { max-width: 1180px; }
.h5-all-category-hero { align-items: center; background: linear-gradient(135deg, #17130f 0%, #352616 100%); border: 1px solid #76552a; border-radius: 15px; color: #f0dfc2; display: flex; gap: 16px; margin: 10px 0 20px; padding: 24px 26px; }
.h5-all-category-hero-icon { align-items: center; border: 2px solid #c69545; border-radius: 50%; color: #dfba71; display: flex; flex: 0 0 56px; font-size: 22px; height: 56px; justify-content: center; }
.h5-all-category-hero h1 { color: #f6e7ce; font-family: Georgia, "Noto Serif SC", serif; font-size: 27px; margin: 0 0 4px; }
.h5-all-category-hero p { color: #cdbb9e; font-size: 12px; margin: 0; }
.h5-all-category-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.h5-all-category-card { background: #fffdf9; border: 1px solid #dfd5c3; border-radius: 14px; box-shadow: 0 5px 18px rgba(42, 30, 18, .07); overflow: hidden; }
.h5-all-category-title { align-items: center; background: linear-gradient(135deg, #211910 0%, #3a2a18 100%); color: #f4e4ca; display: flex; gap: 12px; min-height: 78px; padding: 14px 16px; }
.h5-all-category-title:hover, .h5-all-category-title:focus { color: #fff2d9; }
.h5-all-category-title-icon { align-items: center; background: #100c08; border: 1px solid #a97835; border-radius: 10px; color: #d6b56e; display: flex; flex: 0 0 42px; font-size: 18px; height: 42px; justify-content: center; }
.h5-all-category-title strong { font-size: 18px; min-width: 0; }
.h5-all-category-title small { color: #d6b56e; margin-left: auto; white-space: nowrap; }
.h5-all-category-children { padding: 7px 15px 12px; }
.h5-all-category-child { border-bottom: 1px solid #eee5d7; padding: 11px 0; }
.h5-all-category-child:last-child { border-bottom: 0; }
.h5-all-category-child-name { color: #241b12; display: flex; font-size: 14px; font-weight: 600; justify-content: space-between; }
.h5-all-category-child-name i { color: #af8950; }
.h5-all-category-grandchildren { display: flex; flex-wrap: wrap; gap: 7px 8px; margin-top: 9px; }
.h5-all-category-grandchildren a { background: #f5eee2; border-radius: 14px; color: #786d61; font-size: 11px; padding: 4px 9px; }
.h5-all-category-grandchildren a:hover { background: #ead9bd; color: #4f3517; }
@media (max-width: 991px) { .h5-all-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .h5-all-category-page { padding-left: 12px; padding-right: 12px; }
  .h5-all-category-hero { border-radius: 12px; gap: 12px; margin: 6px 0 13px; padding: 17px 15px; }
  .h5-all-category-hero-icon { flex-basis: 46px; font-size: 18px; height: 46px; }
  .h5-all-category-hero h1 { font-size: 21px; }
  .h5-all-category-grid { gap: 12px; grid-template-columns: 1fr; }
  .h5-all-category-card { border-radius: 12px; }
  .h5-all-category-title { min-height: 68px; padding: 12px 13px; }
  .h5-all-category-title-icon { flex-basis: 38px; font-size: 16px; height: 38px; }
  .h5-all-category-title strong { font-size: 16px; }
  .h5-all-category-children { padding: 5px 13px 9px; }
}
