/* Desktop single-row header */
.header__menu--desktop-inline {
  display: none !important;
}

.desktop-search-panel {
  display: contents;
}

@media (min-width: 1200px) {
  .headerTop__slogan,
  .headerBottom,
  .widthBox.primary__header {
    display: none !important;
  }

  .headerTop {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .headerTop__container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    min-height: 72px;
    padding: 8px 0;
  }

  .logo__Container--center {
    order: 1;
    flex: 0 0 auto;
    text-align: left;
  }

  .logo__Container {
    width: 118px;
    margin: 0;
  }

  .logo__Container:before {
    content: none;
  }

  .logo-header {
    display: flex;
    align-items: center;
  }

  img.logo-croll,
  .logo-header img {
    width: 118px;
    max-width: 118px;
    height: auto;
    max-height: 56px;
    object-fit: contain;
  }

  .header__menu--desktop-inline {
    order: 2;
    display: flex !important;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
  }

  .header__menu--desktop-inline .menu {
    width: 100%;
    margin-left: 100px;
  }

  .header__menu--desktop-inline .menu ul.primary-menu {
    justify-content: flex-start;
    gap: 70px;
    width: 100%;
  }

  .header__menu--desktop-inline .menu ul.primary-menu > li > a {
    padding: 24px 0 !important;
    color: #333;
    font-size: 15px;
    line-height: 1.2;
    position: relative;
  }

  .header__menu--desktop-inline .menu ul.primary-menu > li > a:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 17px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
  }

  .header__menu--desktop-inline .menu ul.primary-menu > li > a.active,
  .header__menu--desktop-inline .menu ul.primary-menu > li > a.current,
  .header__menu--desktop-inline .menu ul.primary-menu > li:hover > a {
    color: #dd7100;
  }

  .header__menu--desktop-inline .menu ul.primary-menu > li > a.active:before,
  .header__menu--desktop-inline .menu ul.primary-menu > li > a.current:before,
  .header__menu--desktop-inline .menu ul.primary-menu > li:hover > a:before {
    transform: scaleX(1);
  }

  .header__menu--desktop-inline .menu ul li ul {
    top: 68px;
    z-index: 9999;
  }

  .header__menu--desktop-inline .menu ul li:hover > ul {
    top: 58px;
  }

  .headerTop__menu {
    order: 3;
    flex: 0 0 auto;
  }

  .google__map-menu {
    order: 4;
    flex: 0 0 auto;
  }

  form.form-search.form-search-d {
    position: relative;
    width: auto;
    height: auto;
    background: transparent;
    border: 0;
  }

  button.btn-search,
  .google__map-menu a {
    width: auto;
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 999px;
    background: #fff;
    color: #333;
    transition:
      color 0.25s ease,
      border-color 0.25s ease,
      background 0.25s ease;
  }

  button.btn-search {
    padding: 0;
  }

  .google__map-menu a {
    gap: 8px;
    padding: 0 14px;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }

  .google__map-menu a svg {
    margin-right: 0;
  }

  button.btn-search:hover,
  button.btn-search.active,
  .google__map-menu a:hover {
    color: #dd7100;
    border-color: #dd7100;
  }

  button.btn-search:hover svg path,
  button.btn-search.active svg path,
  .google__map-menu a:hover svg path {
    fill: #dd7100;
  }

  .desktop-search-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    width: 270px;
    height: 44px;
    padding: 0 6px 0 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .form-search-d.active .desktop-search-panel,
  .form-search-d:focus-within .desktop-search-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  form.form-search.form-search-d .desktop-search-panel input.keyword {
    width: 100%;
    height: 100%;
    padding: 0;
    text-indent: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #333;
  }

  .desktop-search-submit {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    padding: 0;
  }

  .desktop-search-submit:hover svg path {
    fill: #dd7100;
  }
}

/* News listing */
.section-tin-tuc .content-main {
  padding: 40px 0 55px;
}

.section-tin-tuc .widthBox {
  width: 100%;
  box-sizing: border-box;
}

.section-tin-tuc .news-list-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 30px;
  margin: 30px 0 0;
}

.section-tin-tuc .news-list-col {
  width: 100%;
  max-width: none;
  padding: 0;
}

.section-tin-tuc .box__tintuc {
  height: 100%;
  min-width: 0;
  display: flex !important;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.section-tin-tuc .box__tintuc:hover {
  transform: translateY(-4px);
  border-color: rgba(221, 113, 0, 0.35) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.section-tin-tuc .box__tintuc--pic {
  width: 100%;
  max-width: none;
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  background: #f6f6f6;
}

.section-tin-tuc .box__tintuc--pic .hover-scale {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
}

.section-tin-tuc .box__tintuc--pic img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.section-tin-tuc .box__tintuc:hover .box__tintuc--pic img {
  transform: scale(1.04);
}

.section-tin-tuc .box__tintuc--content {
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
}

.section-tin-tuc .box__tintuc--content h3 {
  margin: 0 0 10px;
}

.section-tin-tuc .box__tintuc--name {
  max-width: 100%;
  min-height: 48px;
  display: -webkit-box;
  overflow: hidden;
  color: #222;
  font-family: Lora, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  text-transform: none;
  text-overflow: ellipsis;
  overflow-wrap: anywhere;
  word-break: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.section-tin-tuc .box__tintuc--name:hover {
  color: #dd7100;
}

.section-tin-tuc .box__tintuc--date {
  order: -1;
  margin: 0 0 9px;
  color: #8a8a8a;
}

.section-tin-tuc .box__tintuc--date p {
  margin: 0;
  color: inherit;
  font-family: Lora, serif;
  font-size: 13px;
  line-height: 1.4;
}

.section-tin-tuc .box__tintuc--desc {
  max-width: 100%;
  min-height: 69px;
  margin: 0 0 18px;
  display: -webkit-box;
  overflow: hidden;
  color: #666;
  font-family: Lora, serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 23px;
  text-transform: none;
  text-overflow: ellipsis;
  overflow-wrap: anywhere;
  word-break: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.section-tin-tuc .box__tintuc--desc * {
  display: inline;
  margin: 0;
  white-space: normal !important;
}

.section-tin-tuc a.box__tintuc--btn.transition,
.section-tin-tuc .box__tintuc--btn {
  position: static !important;
  width: fit-content;
  max-width: 100%;
  margin-top: auto;
  padding: 9px 18px;
  border-radius: 999px;
  background: #dd7100;
  color: #fff;
  font-family: Lora, serif;
  font-size: 14px;
  line-height: 1;
  text-transform: capitalize;
  white-space: nowrap;
}

.section-tin-tuc a.box__tintuc--btn.transition:hover,
.section-tin-tuc .box__tintuc--btn:hover {
  background: #222;
  color: #fff;
}

.section-tin-tuc .pagination-home {
  margin-top: 34px;
}

@media (max-width: 1199px) {
  .section-tin-tuc .news-list-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .section-tin-tuc .content-main {
    padding: 24px 0 35px;
  }

  .section-tin-tuc .news-list-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .section-tin-tuc .box__tintuc--content {
    padding: 15px;
  }

  .section-tin-tuc .box__tintuc--name {
    min-height: auto;
    font-size: 17px;
    line-height: 23px;
  }

  .section-tin-tuc .box__tintuc--desc {
    min-height: auto;
    margin-bottom: 15px;
    -webkit-line-clamp: 2;
  }
}

/* Product category listing */
.product-listing-page .content-main {
  padding: 36px 0 56px;
}

.product-listing-page .title-main {
  margin-bottom: 28px;
}

.product-listing-page .title-main h2 {
  margin: 0;
  color: #1f1f1f;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: 0;
}

.product-listing-page .container__product {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  max-width: 100%;
}

.product-listing-page .productCategory {
  width: auto;
  position: sticky;
  top: 92px;
}

.product-listing-page .container__product > .row {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 28px;
  margin: 0;
}

.product-listing-page .product_custom.custome-product {
  flex: initial !important;
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.product-listing-page .product_custom.custome-product > a {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.055);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-listing-page .product_custom.custome-product > a:hover {
  transform: translateY(-4px);
  border-color: rgba(221, 113, 0, 0.34);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.product-listing-page .categoryProduct__item--photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  box-sizing: border-box;
  background: #f6f3f0;
}

.product-listing-page .categoryProduct__item--photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-listing-page .product_custom.custome-product > a:hover .categoryProduct__item--photo img {
  transform: scale(1.04);
}

.product-listing-page .categoryProduct__item--content {
  width: 100%;
  min-width: 0;
  min-height: 84px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px 14px 18px;
  margin: 0;
  text-align: center;
}

.product-listing-page h3.categoryProduct__item--title {
  max-width: 100%;
  margin: 0;
  display: -webkit-box !important;
  overflow: hidden !important;
  color: #242424;
  font-family: Lora, serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 23px;
  letter-spacing: 0;
  text-transform: none;
  text-overflow: ellipsis;
  white-space: normal !important;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-listing-page .product_custom.custome-product > a:hover h3.categoryProduct__item--title {
  color: #dd7100;
}

.product-listing-page .col-sticky {
  position: static;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.055);
}

.product-listing-page .box-category > h3 {
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: #111;
  font-size: 16px;
  line-height: 1.3;
}

.product-listing-page .list-category {
  margin: 0;
}

.product-listing-page .list-category li {
  margin: 0;
}

.product-listing-page .list-category li + li {
  margin-top: 4px;
}

.product-listing-page .list-category li a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: #333;
  font-family: Lora, serif;
  font-size: 15px;
  line-height: 1.35;
  transition: color 0.2s ease, background 0.2s ease;
}

.product-listing-page .list-category li.active > a,
.product-listing-page .list-category li a:hover {
  background: rgba(221, 113, 0, 0.1);
  color: #dd7100;
}

.product-listing-page .pagination-home {
  margin-top: 34px;
}

@media (max-width: 1199px) {
  .product-listing-page .container__product {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 24px;
  }

  .product-listing-page .container__product > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .product-listing-page .content-main {
    padding: 24px 0 38px;
  }

  .product-listing-page .title-main {
    margin-bottom: 20px;
  }

  .product-listing-page .title-main h2 {
    font-size: 28px;
  }

  .product-listing-page .container__product {
    display: block;
    width: 100%;
    overflow: hidden;
  }

  .product-listing-page .productCategory {
    width: 100%;
    position: static;
    margin-bottom: 22px;
  }

  .product-listing-page .col-sticky {
    padding: 14px;
  }

  .product-listing-page .list-category {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .product-listing-page .list-category li,
  .product-listing-page .list-category li + li {
    margin: 0;
  }

  .product-listing-page .list-category li a {
    padding: 8px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    font-size: 14px;
    white-space: nowrap;
  }

  .product-listing-page .list-category ul,
  .product-listing-page .plus-toggle,
  .product-listing-page .cat-toggle {
    display: none !important;
  }

  .product-listing-page .container__product > .row {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-listing-page .product_custom.custome-product,
  .product-listing-page .product_custom.custome-product > a,
  .product-listing-page .categoryProduct__item--content,
  .product-listing-page h3.categoryProduct__item--title {
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .product-listing-page .categoryProduct__item--content {
    min-height: 70px;
    padding: 12px 10px 14px;
  }

  .product-listing-page h3.categoryProduct__item--title {
    width: calc(100vw - 72px) !important;
    font-size: 14px;
    line-height: 20px;
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 420px) {
  .product-listing-page .container__product > .row {
    gap: 16px;
  }
}
