﻿/*
Theme Name: Theme Cloud1
Description: This is a child theme for Flatsome Theme
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
  /* ===== DESIGN TOKENS â€” MPE Design System ===== */
  /* Brand Navy (Primary) */
  --brand-navy: #1F5D8F;
  --brand-navy-hover: #174A72;
  --brand-navy-soft: #EDF4F9;

  /* Brand Green (Secondary) */
  --brand-green: #2B86A9;
  --brand-green-hover: #226B87;
  --brand-green-soft: #EDF7FA;

  /* Leaf Lime (Accent) */
  --brand-lime: #48AFC6;
  --brand-lime-hover: #3794AA;
  --brand-lime-soft: #EAF8FB;

  /* Leaf Blue (Support / Link / Info) */
  --brand-blue: #3B9FC0;
  --brand-blue-hover: #2E7F99;
  --brand-blue-soft: #E9F6FA;

  --primary: var(--brand-navy);
  --primary-hover: var(--brand-navy-hover);
  --primary-light: var(--brand-navy-soft);
  --secondary: var(--brand-green);
  --secondary-hover: var(--brand-green-hover);
  --accent: var(--brand-lime);
  --accent-hover: var(--brand-lime-hover);
  --success: #15803D;
  --success-soft: #ECFDF3;
  --warning: #D97706;
  --warning-soft: #FFF7E6;
  --danger: #B42318;
  --danger-soft: #FEF3F2;
  --info: var(--brand-blue);
  --info-soft: var(--brand-blue-soft);

  --bg: #FFFFFF;
  --surface: #F8FAFC;
  --border: #EAECF0;
  --border-hover: #D0D5DD;

  --heading: var(--brand-navy);
  --text: #344054;
  --muted: #667085;

  /* Gradients â€” MPE */
  --primary-gradient: linear-gradient(135deg, #1F5D8F 0%, #3B9FC0 100%);
  --hero-gradient: linear-gradient(180deg, #1F5D8F 0%, #2B86A9 100%);
  --footer-gradient: linear-gradient(180deg, #1F5D8F 0%, #2B86A9 100%);
  --secondary-gradient: linear-gradient(135deg, #2B86A9 0%, #48AFC6 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(3,3,89,.05);
  --shadow: 0 4px 12px rgba(3,3,89,.08);
  --shadow-md: 0 8px 24px rgba(3,3,89,.10);
  --shadow-lg: 0 12px 32px rgba(3,3,89,.12);

  /* Border Radius */
  --radius-sm: 4px;
  --radius: 14px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Transitions */
  --transition: all 0.2s ease;
  --transition-hover: all 0.25s cubic-bezier(.4,0,.2,1);

  /* Legacy aliases */
  --fs-color-primary: var(--primary);
  --fs-color-secondary: var(--secondary);
  --fs-color-success: var(--success);
  --fs-color-alert: var(--danger);
  --fs-color-base: var(--heading);
  --fs-experimental-link-color: var(--brand-blue);
  --fs-experimental-link-color-hover: var(--brand-blue-hover);
  --primary-color: var(--primary);
}

.header-bottom {
  border-bottom: 1px solid var(--border);
}

.icon-shopping-basket:before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url('../images/35918e-cart.png') no-repeat center/contain;
}

/* ===== Lucide icons ===== */
[data-lucide]::before,
[data-lucide]::after {
  content: none !important;
}

.header-button [data-lucide="menu"] {
  width: 22px;
  height: 22px;
  color: #3472f3;
}

.header-button .header-cart-link [data-lucide] {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.has-dropdown > a > [data-lucide] {
  width: 16px;
  height: 16px;
}

.header-vertical-menu__fly-out .nav-vertical-fly-out>li.menu-item>a>[data-lucide] {
  width: 16px;
  height: 16px;
}

.header-vertical-menu__opener [data-lucide] {
  color: #fff;
}

.header-vertical-menu__opener [data-lucide="menu"] {
  width: 20px;
  height: 20px;
}

.header-vertical-menu__opener [data-lucide="chevron-down"] {
  width: 14px;
  height: 14px;
}

#top-link [data-lucide] {
  width: 20px;
  height: 20px;
}

.dgwt-wcas-search-submit [data-lucide="search"] {
  width: 20px;
  height: 20px;
  color: #fff;
}

.hotline [data-lucide="phone"] {
  width: 26px;
  height: 26px;
  color: #fff;
}

.icon-box .icon-inner [data-lucide] {
  width: 41px;
  height: 41px;
}

@media (min-width: 769px) {
  .header-button .header-cart-link [data-lucide] {
    color: #fff;
  }
}

.right-5 {
  right: 5%
}

.font12 {
  font-size: 12px
}

.font14 {
  font-size: 14px
}

.text-lien-he {
  color: #3472f3;
  text-decoration: underline;
}

.font16,
.hotline-number,
.title-he-thong {
  font-size: 16px
}

.font20 {
  font-size: 20px
}

.font24 {
  font-size: 24px
}

.font28 {
  font-size: 28px
}

.font32 {
  font-size: 32px
}

.su-menh {
  border: 1px solid #EAEAEA;
  padding: 20px;
  background-color: #fff;
  border-radius: 15px;
}

.font16-2 {
  font-size: 16px;
  color: #0460E1;
}

.pd-1 {
  padding: 10px;
}

.pt-1 {
  padding-top: 10px;
}

.pt-2 {
  padding-top: 20px;
}

.pt-5 {
  padding-top: 50px;
}

.pb-1 {
  padding-bottom: 10px;
}

.pb-3 {
  padding-bottom: 30px;
}

.mt-1 {
  margin-top: 10px;
}

.gt {
  line-height: 16px;
  color: #fff;
}

.radius20 {
  border-radius: 20px;
  overflow: hidden;
}

.radius50 {
  border-radius: 50%;
}

.radius5 {
  border-radius: 5px;
}

.radius20 img {
  border-radius: 20px;
}

.fw400 {
  font-weight: 400;
}

.fw600 {
  font-weight: 600;
}

.gradient-background {
  background: var(--primary-gradient);
}

.header-main {
  background: var(--bg);
}

/* ===== Bottom header icon menu (site-header__bottom) â€” style hoplongtech ===== */
.site-header__bottom {
  position: relative;
  z-index: 10;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-wrapper .header-bg-container,
.header-wrapper .header-bg-color {
  pointer-events: none;
}

.menu-header__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
}

.menu-header__item {
  margin: 0;
}

.menu-header__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--heading);
  border-radius: var(--radius-sm);
  transition: var(--transition-hover);
  text-decoration: none;
}

.menu-header__link:hover,
.menu-header__link:focus {
  color: var(--brand-blue);
  background: var(--brand-navy-soft);
}

.menu-header__icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--brand-blue);
  transition: var(--transition);
}

.menu-header__icon svg {
  width: 100%;
  height: 100%;
}

.menu-header__link:hover .menu-header__icon {
  color: var(--brand-navy);
}

/* ===== Danh má»¥c sáº£n pháº©m trong header dÃ­nh (sticky) ===== */
.menu-header__category {
  display: none;
  position: relative;
  margin: 0;
}

#header .header-wrapper.stuck .menu-header__category {
  display: list-item;
}

body.archive #header .menu-header__category {
  display: list-item;
}

.menu-header__category-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--primary-gradient);
  color: #fff;
  cursor: pointer;
  border: 0;
  margin: 0;
  padding: 9px 14px;
  height: auto;
}

.menu-header__category-toggle .menu-header__icon,
.menu-header__category-toggle:hover .menu-header__icon {
  color: #fff;
}

.menu-header__category-toggle:hover,
.menu-header__category-toggle:focus {
  color: #fff;
  background: var(--primary-gradient);
  opacity: 0.92;
}

.menu-header__caret {
  display: inline-flex;
  width: 16px;
  height: 16px;
  margin-left: 2px;
  color: inherit;
}

.menu-header__caret svg {
  width: 100%;
  height: 100%;
}

.menu-header__category-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 32px rgba(3, 3, 89, 0.14);
  z-index: 30;
  overflow: visible;
}

.menu-header__category:hover .menu-header__category-panel,
.menu-header__category:focus-within .menu-header__category-panel {
  display: block;
}

.menu-header__category-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.menu-header__category-list > li {
  position: relative;
  margin: 0;
}

.menu-header__category-list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.2s, color 0.2s;
}

.menu-header__category-list > li > a:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-left-color: var(--primary);
}

.menu-header__category-list > li > a:after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--muted);
  border-right: 2px solid var(--muted);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.menu-header__category-list > li:hover > a:after {
  border-color: var(--primary);
}

.menu-header__category-list > li > ul {
  display: none;
  position: absolute;
  left: 100%;
  top: -7px;
  min-width: 230px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 10px 30px rgba(3, 3, 89, 0.12);
  z-index: 31;
}

.menu-header__category-list > li:hover > ul {
  display: block;
}

.menu-header__category-list > li > ul a {
  display: block;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.menu-header__category-list > li > ul a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.absolute-footer {
  background: var(--footer-gradient);
}

.breadcrumbs {
  font-weight: 400;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  width: 36px;
  height: 36px;
}

.lightbox-content {
  background-color: transparent
}

.single-product .row .row:not(.row-collapse) {
  margin-left: 0;
  margin-right: 0
}

h2 {
  font-size: 22px;
  color: var(--heading);
}

h3 {
  font-size: 18px;
  color: var(--heading);
}

h4 {
  font-size: 16px;
  color: var(--heading);
}

h2,
h3,
strong {
  font-weight: 700;
  color: var(--heading);
}

.tab-panels table {
  width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
  margin: 20px 0 !important;
  font-size: 16px !important;
  text-align: left !important;
  box-shadow: var(--shadow) !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden !important;
  border: 1px solid var(--border) !important;
}

.tab-panels table th,
.tab-panels table td {
  padding: 12px 15px !important;
  border: 1px solid var(--border) !important;
  width: 25% !important;
}

.tab-panels table th {
  background-color: var(--primary) !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

.tab-panels table tr:nth-child(even) {
  background-color: var(--surface) !important;
}

.header-button .header-cart-link.icon.primary.button.round.is-small {
  background: var(--primary);
  transition: var(--transition-hover);
  padding: 5px 12px;
}

.tab-panels table tr:hover {
  background-color: var(--primary-light) !important;
  transition: background-color .2s !important;
}

.tab-panels table a {
  color: var(--primary) !important;
  text-decoration: none !important;
}

.tab-panels table a:hover {
  text-decoration: underline !important;
}

.cart-container .variation-attributes {
  color: #888;
  display: inline-flex;
  gap: 15px;
  justify-content: flex-start;
}

.cart-container .variation-attributes li {
  list-style: none;
  padding-left: 0 !important;
  margin-left: 0 !important;
  font-size: 12px;
  font-weight: 500
}

.autocomplete-suggestion .search-price {
  display: flex;
  flex-direction: column
}

.product-thumbnails .is-nav-selected a,
.product-thumbnails a:hover {
  border-color: var(--primary);
  border-radius: var(--radius-md);
}

.product-thumbnails a {
  border: 2px solid transparent;
}

.product-thumbnails img {
  border-radius: var(--radius-md);
}

.add-to-cart-container .button.alt {
  background: var(--primary);
}

.line-pice {
  margin-top: -7px;
}

.sticky-wrapper {
  display: flex;
  align-items: flex-start;
  position: relative
}

.is-sticky-column {
  position: sticky;
  top: 100px;
  align-self: flex-start;
  height: fit-content
}

.menu-vertical-menu-container {
  display: flex;
  padding: 20px
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 500px
}

.menu-item {
  position: relative
}

.header-vertical-menu .menu-item:hover>a {
  background-color: var(--primary);
  color: #fff !important;
  border-radius: var(--radius);
}

.header-vertical-menu .menu-item:hover .sub-menu {
  display: block;
}

.header-vertical-menu .sub-menu a {
  text-decoration: none;
  color: var(--text);
}

.header-vertical-menu__fly-out .nav-vertical-fly-out>li.menu-item>a {
  padding: 3px 50px 8px 15px;
}

.header-vertical-menu__fly-out .nav-vertical-fly-out>li.menu-item>a>[data-lucide] {
  margin-right: 20px;
  position: absolute;
  right: 40px
}

.header-vertical-menu .menu-item .sub-menu a:hover {
  color: var(--primary) !important;
  background: none;
}

.header-vertical-menu .sub-menu a {
  transition: color .2s ease;
}

.nav-dropdown-default .nav-column li>a,
.nav-dropdown.nav-dropdown-default>li>a {
  border-bottom: 0 solid var(--border);
}

.header-search-form-wrapper input[type="search"] {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  box-shadow: none;
  color: var(--text);
  font-size: 1em;
  height: 3.1em;
  padding: 0 1em;
  width: 100%;
  transition: var(--transition);
}

.ux-search-submit.submit-button.secondary.button.icon.mb-0,
.coupon-form-inner .form-row-last .button,
.ux-mini-cart-footer .button.wc-forward:not(.checkout),
.ux-mini-cart-footer .button.checkout,
.header-vertical-menu__opener {
  background: var(--primary);
  border-radius: var(--radius-md);
  padding: 5px 12px;
  transition: var(--transition-hover);
}

.ux-search-submit.submit-button.secondary.button.icon.mb-0:hover,
.coupon-form-inner .form-row-last .button:hover,
.ux-mini-cart-footer .button.wc-forward:not(.checkout):hover,
.ux-mini-cart-footer .button.checkout:hover,
.header-vertical-menu__opener:hover {
  background: var(--primary-hover);
}

.coupon-form-inner .form-row-last .button,
.ux-mini-cart-footer .button.wc-forward:not(.checkout),
.ux-mini-cart-footer .button.checkout {
  padding: 1px 13px !important
}

.hotline-container {
  color: #fff
}

.hotline-container .title {
  font-size: 16px;
  margin-bottom: 20px
}

.hotline {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: space-around;
  font-size: 22px;
  font-weight: 700;
}

.hotline-item {
  display: flex;
  align-items: center
}

.hotline-item img {
  height: 20px;
  margin-right: 10px
}

.hotline-text {
  display: flex;
  flex-direction: column;
  font-size: 16px
}

.hotline-local {
  font-weight: 700
}

.menu-red a {
  color: red !important
}

.header-vertical-menu__fly-out,
.nav-dropdown-has-border .nav-dropdown {
  width: 310px;
  margin-top: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background: var(--bg);
}

.four-tieuchi {
  padding: 10px 10px 5px 10px;
  border: 1px solid var(--border);
  background-clip: padding-box;
  background-origin: padding-box;
  background-image: linear-gradient(var(--bg), var(--bg));
  margin-top: -31px;
}

.box-text-inner .count {
  display: none
}

.box-danhmuc .product-category.col h5 {
  font-size: 16px;
  text-transform: capitalize;
  margin-top: -5px
}

.box-danhmuc .box-text {
  padding-top: 0
}

.section-title span {
  font-size: 32px;
  color: var(--heading);
}

.section-title a {
  font-size: 16px;
  color: var(--primary);
}

.section-title .icon-angle-right:before {
  display: inline-block;
  transform: scale(1.5);
  padding-top: 9px;
}

.section-title-normal span {
  border-bottom: 1px solid var(--border);
  background: var(--primary-gradient);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: bottom;
  text-transform: capitalize;
}

.woocommerce-additional-fields .section-title-normal span,
.checkout-sidebar .section-title-normal span,
.woocommerce-billing-fields2 .section-title-normal span {
  display: inline-block;
  background-image: var(--primary-gradient);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: bottom center;
  padding-bottom: 3px;
  text-transform: capitalize;
}

.chungtoi {
  border: 1px solid #ddd;
  border-radius: 5px
}

.icon-box-img svg path {
  fill: none;
}

.du-an .is-divider,
.tin-tuc .is-divider,
.sidebar-inner .is-divider {
  display: none
}

.tin-tuc .cat-label {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
}

.blog-post-inner .category a,
.cat-label .category a,
.ux-newsbox .category a,
.blog-post-inner .cat-label a {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}

.header-item-customers:after {
  content: "";
  position: absolute;
  width: 85px;
  height: 25px;
  background: url('../images/35918e-icon-star.png') repeat-x
}

.modal-form-contact .wpcf7-form-control-wrap .wpcf7-form-control {
  height: 45px;
  border-radius: var(--radius);
  -webkit-text-fill-color: var(--muted) !important;
  margin-bottom: 15px;
}

.modal-form-contact .wpcf7-form-control.wpcf7-submit {
  display: block;
  width: 100%;
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius);
  padding: 10px 20px;
  font-weight: 600;
  transition: var(--transition-hover);
}

.modal-form-contact .wpcf7-form-control.wpcf7-submit:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.wpcf7-input-title {
  padding-bottom: 24px;
  font-size: 24px;
  font-weight: 600;
  color: var(--heading);
}

.title-he-thong {
  color: var(--primary);
  font-size: 20px;
  padding-bottom: 10px;
}

.badge-frame .badge-inner,
.badge-outline .badge-inner {
  background-color: var(--primary);
  border: none;
  color: #fff;
  padding: 5px 8px 6px;
  border-radius: var(--radius-sm);
  line-height: 18px;
}

.product-small.box {
  padding: .4em;
  border: none;
  border-radius: var(--radius-md);
  transition: var(--transition-hover);
  background: var(--bg);
}

.product-small.box:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.product-small.box::after {
  height: 80%
}

.row .section {
  padding-left: 0;
  padding-right: 0
}

.flickity-slider>.col:has(.product-small, .product) {
  position: relative
}

.flickity-slider>.col:has(.product-small, .product)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 90%;
  background-color: #E8E8E8
}

.flickity-slider>.col:has(.product-small, .product):nth-child(4n+1)::before {
  display: none
}

.row-small>.col:has(.product-small, .product) {
  position: relative
}

.row-small>.col:has(.product-small, .product)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 90%;
  background-color: #E8E8E8
}

.row-small>.col:has(.product-small, .product):nth-child(4n+1)::before {
  display: none
}

.nav-pagination>li i {
  font-size: 1.2em;
  top: 0;
  vertical-align: middle
}

.filter-title {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius);
  margin-bottom: 10px;
}

.category-page-row .filter-content {
  padding: 10px 0
}

.category-page-title .page-title-inner {
  min-height: 60px;
  padding-top: 10px;
  position: relative
}

.woocommerce-ordering,
.woocommerce-ordering select {
  display: inline-block;
  margin: 0
}

.category-page-row .flex-col.medium-text-center {
  border-bottom: 1px solid #ececec
}

.woocommerce-ordering {
  margin-left: auto !important;
  margin-bottom: 0 !important
}

.woocommerce-ordering select {
  padding: 5px 30px 8px 10px;
  border-radius: 4px;
  font-size: 14px
}

.woocommerce-pagination,
.nav-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 15px
}

.woocommerce-pagination .page-numbers,
.nav-pagination.page-numbers {
  display: flex;
  list-style: none;
  padding: 0
}

.woocommerce-pagination .page-numbers li,
.nav-pagination.page-numbers li {
  margin: 0 4px
}

.woocommerce-pagination .page-number,
.woocommerce-pagination .next,
.woocommerce-pagination .prev,
.nav-pagination .page-number,
.nav-pagination .next,
.nav-pagination .prev {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  font-size: 16px;
  color: var(--text);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition-hover);
  text-decoration: none;
}

.woocommerce-pagination .page-number:hover,
.woocommerce-pagination .next:hover,
.woocommerce-pagination .prev:hover,
.nav-pagination .page-number:hover,
.nav-pagination .next:hover,
.nav-pagination .prev:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.woocommerce-pagination .page-number.current,
.nav-pagination .page-number.current {
  background-color: var(--primary);
  color: #fff;
  border: none;
}

.woocommerce-pagination .next i,
.woocommerce-pagination .prev i,
.nav-pagination .next i,
.nav-pagination .prev i {
  font-size: 18px
}

.shop-container hr {
  display: none
}

.price-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  flex-wrap: wrap;
}


/* ===== CÃ“ GIáº¢M GIÃ ===== */
.price-wrapper:has(ins):has(del) .price ins {
  display: block;
  margin-bottom: 6px;
}

.price-wrapper:has(ins):has(del) .price del {
  display: block;
}

/* GiÃ¡ sau giáº£m */
.price-wrapper .price ins .amount {
  font-size: 18px;
  color: red;
  font-weight: bold;
}

/* GiÃ¡ gá»‘c */
.price-wrapper .price del .amount {
  font-size: 16px;
  color: var(--muted);
}


/* ===== KHÃ”NG GIáº¢M GIÃ ===== */
.price-wrapper:not(:has(ins)):not(:has(del)) .amount {
  font-size: 18px;
  color: red;
  font-weight: bold;
}

/* ============================
   1) CÃ“ GIáº¢M GIÃ â€“ TRONG .des-produc
=============================== */

/* TÃ¡ch 2 dÃ²ng */
.des-produc .price-wrapper:has(ins):has(del) .price ins {
  display: block;
  margin-bottom: 8px;
}

.des-produc .price-wrapper:has(ins):has(del) .price del {
  display: block;
}

/* GiÃ¡ sau giáº£m */
.des-produc .price-wrapper .price ins .amount {
  font-size: 22px;
  color: var(--danger);
  font-weight: 700;
}

/* GiÃ¡ gá»‘c */
.des-produc .price-wrapper .price del .amount {
  font-size: 16px;
  color: var(--muted);
}



/* ============================
   2) KHÃ”NG GIáº¢M GIÃ â€“ TRONG .des-produc
=============================== */

.des-produc .price-wrapper:not(:has(ins)):not(:has(del)) .amount {
  font-size: 22px;
  color: var(--danger);
  font-weight: 700;
}

.woocommerce-cart .product-subtotal:not(:has(ins)) .woocommerce-Price-amount {
  color: var(--danger) !important;
  font-weight: bold;
}

/* Fix alignment deviation when price has discount */
.price-row.align-middle {
  align-items: flex-start;
}

p.product-page-price {
  margin-bottom: 0;
  line-height: 1;
}

.title-gnt {
  font-size: 24px;
  color: var(--primary);
}

.des-produc .is-divider {
  height: 1px;
  max-width: 100%
}

.variations_form .ux-swatch.selected {
  border-radius: var(--radius);
}

.icon-box-contac {
  display: flex;
  align-items: center
}

.custom-quantity-wrapper {
  display: flex;
  align-items: center;
  gap: 50px
}

.custom-quantity-wrapper label {
  font-size: 16px;
  padding: 0 10px 0 0
}

.quantity input[type=number] {
  max-width: 3.5em;
  text-align: center;
  width: 4.5em
}

.is-form,
button.is-form,
button[type=submit].is-form,
input[type=button].is-form,
input[type=reset].is-form,
input[type=submit].is-form {
  background-color: var(--bg);
  color: var(--muted);
  font-weight: 400;
  text-transform: none;
  border-radius: var(--radius);
  padding: 0 10px;
}

input[type=number] {
  box-shadow: none;
}

.label label {
  font-size: 16px;
  padding: 0;
}

.woocommerce-variation-add-to-cart {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

body.single-product .single_add_to_cart_button,
body.single-product .ux-buy-now-button {
  text-transform: none;
  padding: 10px 24px;
  border-radius: var(--radius);
  min-width: 250px;
  flex: 1;
  margin: 20px 0;
  font-weight: 600;
  transition: var(--transition-hover);
}

body.single-product .single_add_to_cart_button:hover,
body.single-product .ux-buy-now-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.ux-buy-now-button {
  background-color: var(--accent);
  color: var(--heading);
}

.ux-buy-now-button:hover {
  background-color: var(--accent-hover);
}

.product-tags {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.tag-item {
  background-color: var(--primary-light);
  padding: 5px 12px;
  display: inline-block;
  color: var(--primary);
  border-radius: var(--radius-sm);
}

.button-container {
  display: flex;
  gap: 12px;
}

.custom-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  background: none;
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-hover);
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.custom-button:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.custom-button svg {
  margin-right: 8px;
  width: 20px;
  height: 20px
}

.product-info-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px
}

.product-info-heading .heading-title {
  font-weight: 600;
  font-size: 16px
}

.copy-info-button {
  background: none;
  border: none;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
}

.copy-text {
  font-size: 14px;
  text-transform: capitalize;
  font-weight: 400;
}

.copy-icon {
  width: 24px;
}

.product-info-table-wrapper {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border);
}

.product-info-table-wrapper .product-info-container {
  display: flex;
  justify-content: space-between;
  position: relative
}

.product-info-table-wrapper .product-info-container::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background-color: var(--border);
  transform: translateX(-50%);
}

.product-info-table-wrapper .product-column {
  width: 46%
}

.product-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 15px;
}

.field-label {
  font-weight: 500;
  color: var(--text);
}

.field-value {
  color: var(--heading);
  font-weight: 400;
  margin-left: 8px;
}

.specifications .product-info-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
}

.product-table {
  width: 50%;
  border-collapse: collapse;
  border: 1px solid var(--border);
}

.product-table th,
.product-table td {
  padding: 12px 15px;
  border: 1px solid var(--border);
  text-align: left;
  font-weight: 500;
}

.specifications .product-table th {
  background-color: var(--primary-light);
  text-transform: none;
  width: 50%;
}

.specifications .section-title-normal {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.specifications .section-title-normal span {
  padding-bottom: 23px;
}

.nav-line>li>a:before {
  display: none;
}

.woocommerce-tabs .wc-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.woocommerce-tabs .wc-tabs li {
  list-style: none;
  margin-right: 20px;
  padding-bottom: 5px;
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
}

.woocommerce-tabs .wc-tabs li.active {
  font-weight: 700;
  color: var(--heading);
  position: relative;
}

.woocommerce-tabs .wc-tabs li.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--primary-gradient);
}

.woocommerce-tabs .wc-tabs li a {
  text-decoration: none;
  text-transform: none;
  font-size: 20px;
  padding: 10px 0;
}

.woocommerce-tabs .wc-tabs li.active a {
  color: var(--heading);
}

.woocommerce-tabs .tab-panels .panel.active {
  display: block
}

.icon-uu-dai {
  align-items: center
}

blockquote.blockquote-text {
  position: relative;
  padding: 10px 40px;
  font-size: 24px;
  text-align: center;
  font-weight: 700;
  color: #3B9FC0;
  margin: 20px auto;
  display: inline-block;
  border-left: none;
}

blockquote.blockquote-text::before,
blockquote.blockquote-text::after {
  content: "ï¿½";
  font-size: 80px;
  color: #3B9FC0;
  position: absolute;
  line-height: 1;
  top: -10px;
}

blockquote.blockquote-text::before {
  left: -10px;
}

blockquote.blockquote-text::after {
  right: -10px;
  transform: scaleX(-1);
}

blockquote {
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  margin: 16px 0;
  padding: 10px 0 10px 20px;
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
  border-left: none !important;
  line-height: 1.6;
}

blockquote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}

blockquote a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

blockquote a:hover {
  opacity: 0.8;
  text-decoration: underline;
}
/* Responsive Tables for Mobile */
@media (max-width: 768px) {
  .entry-content table,
  .page-wrapper table,
  .post-content table {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
  }
  
  .entry-content table td,
  .entry-content table th,
  .page-wrapper table td,
  .page-wrapper table th,
  .post-content table td,
  .post-content table th {
    min-width: 120px !important;
  }
}


.woocommerce-cart-form__contents {
  width: 100%;
  border-collapse: collapse
}

.woocommerce-cart-form__contents thead th {
  text-align: left;
  text-transform: capitalize
}

.woocommerce-cart-form__contents td {
  padding: 12px;
  vertical-align: middle
}

.cart-container .product-thumbnail img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.product-name {
  font-weight: 700;
  color: var(--heading);
}

.product-quantity,
.product-subtotal {
  text-align: center !important;
}

.woocommerce-cart-form__contents,
.woocommerce-cart-form__contents th,
.woocommerce-cart-form__contents td {
  border: none !important;
}

.cart-container {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 15px;
  background: var(--bg);
}

.cart-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--heading);
}

.shop_table_responsive {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--border);
}

.shop_table_responsive th {
  border-bottom: 1px solid var(--border);
}

.product-remove a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--danger);
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition-hover);
}

.product-remove a:hover {
  background-color: var(--danger);
  color: #fff;
  border-color: var(--danger);
}

.custom-quantity .qty-input {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 16px;
  text-align: center;
  width: 79px;
  height: 40px;
  background-color: var(--surface);
  cursor: pointer;
}

.cart_totals th.product-name {
  display: none;
}

.cart_totals .button,
button[name="update_cart"],
#place_order {
  border-radius: var(--radius);
  background: var(--primary);
  text-transform: initial;
  font-weight: 600;
  transition: var(--transition-hover);
}

.cart_totals .button:hover,
button[name="update_cart"]:hover,
#place_order:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.select-resize-ghost,
.select2-container .select2-choice,
.select2-container .select2-selection,
input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
  background-color: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  height: 44px;
  transition: var(--transition);
}

input[type=date]:focus,
input[type=email]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=url]:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,91,172,.12);
  outline: none;
}

.select2-container .select2-choice>.select2-chosen,
.select2-container .select2-selection--single .select2-selection__rendered,
.select2-selection {
  line-height: 44px
}

label,
legend {
  color: var(--heading);
  font-weight: 600;
}

.woocommerce-hinh-thuc-thanh-toan {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 15px;
  margin-bottom: 10px;
  background: var(--bg);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.woocommerce-hinh-thuc-thanh-toan input[type="radio"] {
  margin: 0;
  transform: scale(1.2);
}

.woocommerce-hinh-thuc-thanh-toan label {
  margin: 0;
  cursor: pointer;
  font-size: 16px;
}

.payment_box {
  margin-left: 30px;
  padding: 10px;
}

.payment_methods li+li {
  border-top: 0 solid var(--border);
}

.woocommerce-hinh-thuc-thanh-toan:has(> input[type="radio"]:checked) {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,91,172,.12);
}

body.archive .blog-wrapper.blog-archive .archive-page-header .page-title,
body.search .blog-wrapper.blog-archive .archive-page-header .page-title {
  font-weight: 700
}

.flatsome-child-archive-blog {
  padding-top: 0 !important
}

.flatsome-child-archive-blog .post-item {
  position: relative
}

.flatsome-child-archive-blog .post-item:first-child .box-image {
  width: 100% !important
}

.flatsome-child-archive-blog .post-item:first-child .box-blog-post {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap
}

.flatsome-child-archive-blog .is-divider {
  display: none
}

.flatsome-child-archive-blog .post-item:first-child .box-text {
  padding-left: 0
}

.flatsome-child-archive-blog .post-item:first-child .post-title {
  font-size: 26px;
  font-weight: 700
}

.flatsome-child-archive-blog .post-title {
  font-size: 20px
}

.flatsome-child-archive-blog .box-image {
  border-radius: 10px
}

body.category-column-full-width #post-list .box-text,
.flatsome-child-archive-blog .box-vertical .box-text {
  text-align: right
}

body.category-column-full-width #post-list .box-text .from_the_blog_excerpt,
body.category-column-full-width #post-list .box-text .post-title,
.flatsome-child-archive-blog .box-vertical .box-text .from_the_blog_excerpt,
.flatsome-child-archive-blog .box-vertical .box-text .post-title {
  text-align: left
}

body.category-column-full-width #post-list .box-text a.button,
.flatsome-child-blog-slider .box-text a.button,
.button-related-post a,
.flatsome-child-archive-blog .box-text a.button {
  border: 0;
  color: var(--fs-color-success);
  padding: 0;
  text-transform: inherit;
  font-size: 14px;
  position: relative;
  font-weight: 500;
  margin: 10px 0 0;
  padding: 0 30px 0 0;
  background: url(assets/images/icon-readmore.png);
  background-repeat: no-repeat;
  background-size: 20px 7px;
  background-position: 100% 8px;
  display: inline-block;
  line-height: inherit;
  min-height: auto
}

.flatsome-child-blog-slider .box-text .post-title {
  font-size: 18px
}

.flatsome-child-blog-slider .box-text {
  text-align: right
}

.flatsome-child-blog-slider .box-text.text-left .post-title,
.flatsome-child-blog-slider .box-text.text-left .from_the_blog_excerpt {
  text-align: left
}

body.category-column-full-width #post-list .box-text .post-title {
  margin-bottom: 10px
}

.widget-title {
  display: block;
  width: 100%;
  padding: 10px 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius);
}

.widget-title.shop-sidebar {
  margin-bottom: 15px
}

.widget .is-divider {
  display: none
}

.widget>ul>li+li,
ul.menu>li+li {
  border-top: none
}

.widget .badge {
  height: 6em;
  width: 6em
}

.menu-main-menu-container {
  padding: 10px
}

.product-small .woocommerce-loop-product__title {
  line-height: 24px;
  height: 38px;
  overflow: hidden;
  font-size: 14px;
}

.product-small .woocommerce-loop-product__title a {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2
}

.checkout .section-title span {
  font-size: 18px
}

.product-thumb-with-qty {
  position: relative;
  display: inline-block
}

.product-qty-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #989898;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 50px;
  line-height: 1;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2)
}

.custom-cart-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  align-items: center
}

.custom-cart-list {
  margin-top: 10px
}

.custom-cart-item .thumb {
  flex-shrink: 0
}

.custom-cart-item .thumb img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #ccc
}

.product-name-custom-cart {
  font-weight: 400;
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 280px
}

.product-price-custom-cart {
  font-size: 13px;
  color: #444
}

.tam_tinh_oder thead,
.tam_tinh_oder tbody {
  display: none
}

.shop_table tfoot th {
  font-weight: 400;
  color: #545454;
  font-size: 16px;
  line-height: 24px
}

.shop_table span.amount {
  color: #545454;
  font-weight: 600;
  font-size: 16px
}

.cart-discount span.amount {
  color: red
}

.cart_totals tbody th {
  font-size: 16px
}

.product-gallery-video {
  position: relative
}

.video-overlay,
.video-thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none
}

.video-play-icon {
  width: 64px;
  height: 64px;
  object-fit: contain
}

.video-play-icon-small {
  width: 24px;
  height: 24px;
  object-fit: contain
}

.product-video-thumb {
  cursor: pointer;
  position: relative
}

.mfp-iframe-holder .mfp-content {
  max-width: 800px;
  height: 450px
}

ul.products.list {
  display: block;
  width: 100%
}

ul.products.list .product-list-view-item {
  display: flex;
  width: 100%;
  margin-bottom: 20px;
  border: 1px solid #eee;
  padding: 15px
}

ul.products.list .product-list-view-item .list-view-inner {
  display: flex;
  width: 100%
}

ul.products.list .product-list-view-item .product-image {
  width: 200px;
  margin-right: 20px;
  flex-shrink: 0
}

ul.products.list .product-list-view-item .product-content {
  flex-grow: 1
}

ul.products.list .product-list-view-item .product-excerpt {
  margin: 10px 0
}

.view-switcher {
  margin-bottom: 1em;
  float: right
}

.view-switcher label {
  margin-right: 10px;
  vertical-align: middle
}

.view-switcher .view-button {
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1
}

.view-switcher .view-button.active {
  background-color: var(--primary-color, #446084);
  color: #fff;
  border-color: var(--primary-color, #446084)
}

.products.list {
  display: block
}

.products.list .product-small.col {
  width: 100%;
  padding: 0 !important;
  margin-bottom: 1.5em
}

.products.list .product-list-view-item {
  box-shadow: none;
  border: 1px solid #ececec;
  padding: 1em
}

.products.list .product-list-view-item .col-inner {
  padding: 0
}

.products.list .product-list-view-item .box-text {
  padding-top: 0;
  font-size: .9em
}

ul.products.loading-view {
  opacity: .5;
  position: relative;
  transition: opacity .3s ease-in-out
}

ul.products.loading-view::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border: 4px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg)
  }

  100% {
    transform: rotate(360deg)
  }
}

.header-button .is-small {
  background: var(--primary);
}

.radius100 img {
  border-radius: 100%
}

.tai-lieu-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-top: 20px;
  padding: 5px
}

.tai-lieu-button {
  display: flex;
  align-items: center;
  background-color: var(--primary-light);
  padding: 12px 20px;
  text-decoration: none;
  color: var(--heading);
  transition: var(--transition-hover);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.tai-lieu-button:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.tai-lieu-item .download-icon {
  margin-right: 10px
}

.custom-product-page.single-product .product-gallery .flickity-slider .col a {
  display: block;
  border: 2px solid transparent;
  border-radius: 6px
}

.custom-product-page.single-product .product-gallery .flickity-slider .col.is-selected a {
  border-color: #05f
}

.support-banner-wrapper {
  position: relative;
  max-width: 600px;
  margin: auto;
  overflow: visible
}

.support-banner {
  background: var(--primary);
  color: #fff;
  padding: 0 30px;
  border-radius: var(--radius-md);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  min-height: 95px;
  position: relative;
}

.robot-image {
  position: absolute;
  left: -40px;
  bottom: -10px;
  width: 80px;
  height: auto;
  z-index: 2
}

.support-content {
  margin-left: 20px;
  flex: 1
}



.entry-meta {
  display: flex;
  justify-content: space-between;
  padding: 0 10px 0 0;
  width: 100%
}

.entry-meta .meta-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5em
}

.entry-meta .meta-right {
  display: flex;
  align-items: center;
  gap: .8em
}

.entry-meta .meta-left a[rel="author"] {
  font-weight: 700
}

.entry-content {
  padding-top: 0
}

#author-profile .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px
}

.entry-author.author-box {
  background-color: var(--primary-light);
  padding: 25px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.author-box .blog-author-image .avatar {
  border-radius: 50%;
}

.author-box .author-name {
  font-weight: 600;
  font-size: 1.15em;
  color: var(--heading);
  margin-bottom: 5px;
}

.author-box .author-desc {
  font-size: 1em;
  color: var(--muted);
  margin-top: 0;
  line-height: 1.6;
}

.author-box .author-name {
  margin-top: 0
}

.cat-hero-title {
  line-height: 1.25;
  margin: 6px 0 8px;
  font-weight: 700;
  text-align: center
}

.cat-hero-desc {
  margin: 0px;
  padding: 0px;
  opacity: .85;
  margin-left: auto;
  margin-right: auto;
  text-align: center
}

.subcat-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 25px 0;
  padding: 0;
  list-style: none
}

.subcat-btn {
  display: inline-block;
  padding: 15px 30px;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-hover);
}

.subcat-btn:hover {
  background: var(--primary-light);
}

.subcat-btn.is-active {
  background: var(--primary-light);
  box-shadow: inset 0 0 0 2px rgba(0,91,172,.12);
}

.ux-newsbox .box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.ux-newsbox .ratio-4-3 {
  position: relative;
  display: block;
  padding-top: 75%
}

.ux-newsbox .ratio-4-3 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.ux-newsbox-item+.ux-newsbox-item {
  border-top: 1px solid rgba(0, 0, 0, .06);
  padding-top: 12px
}

.fx-titlebar {
  margin: 0 0 12px
}

.fx-titlebar-row {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px
}

.fx-titlebar-row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #e6e6e6;
  pointer-events: none;
  z-index: 0
}

.fx-title {
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
  font-size: clamp(20px, 2.2vw, 28px)
}

.fx-title>span {
  position: relative;
  display: inline-block;
  text-transform: capitalize
}

.fx-title>span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  bottom: -10px;
  background: var(--primary-gradient);
  z-index: 1;
}

.single-product .fx-title {
  font-size: clamp(16px, 2vw, 20px);
}

.fx-more {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary);
  line-height: 1;
}

.fx-more:hover {
  text-decoration: underline
}

.fx-arr {
  margin-left: .35rem
}

.single-post .page-title-inner.container {
  max-width: 1070px !important;
  width: 100% !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px
}

.row-slider-image-box {
  padding-bottom: 40px
}

.row-slider-image-box .flickity-slider>.col>.col-inner {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  height: 100% !important;
  gap: 12px;
  padding-bottom: 8px
}

.portfolio-archive-breadcrumb {
  text-align: left;
  margin-bottom: 12px;
  font-size: 14px;
  color: #666
}

.portfolio-archive-breadcrumb a {
  color: inherit
}

.portfolio-archive-title {
  text-align: center;
  font-size: 32px;
}

.portfolio-archive-desc {
  text-align: center;
  max-width: 1120px;
  margin: 0 auto;
  color: #555
}

.widget-portfolio {
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.widget-title-portfolio {
  font-weight: 700;
  font-size: 16px;
  border-bottom: 1px solid #eaeaea;
}

.widget-portfolio .portfolio-nav {
  list-style: none;
  margin: 0;
  padding-top: 10px;
}

.widget-portfolio .portfolio-nav>li {
  margin: 0;
}

/* Ãp dá»¥ng chung cho <a> dÃ¹ cÃ³ náº±m trong <li> hay trong <h2> */
.widget-portfolio .portfolio-nav>li>a,
.widget-portfolio .portfolio-nav>li>h2>a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: var(--transition-hover);
  font-size: 16px;
  font-weight: 400;
  margin: 0;
  /* reset margin H2 */
}

/* Hover */
.widget-portfolio .portfolio-nav>li>a:hover,
.widget-portfolio .portfolio-nav>li>h2>a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* Active */
.widget-portfolio .portfolio-nav>li.current-menu-item>a,
.widget-portfolio .portfolio-nav>li.current-menu-item>h2>a {
  color: var(--primary);
  font-weight: 600;
}

.portfolio-side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.portfolio-single-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--heading);
}

.portfolio-single-excerpt {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.portfolio-right-editor {
  margin-top: 10px
}

.portfolio-right-editor img {
  max-width: 100%;
  height: auto;
  border-radius: 8px
}

#portfolio-content img {
  border-radius: 12px
}

#portfolio-content .entry-content>* {
  margin-bottom: 14px
}

.portfolio-sticky {
  position: sticky;
  top: 90px;
  align-self: flex-start
}

.acf-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 8px;
  margin: 8px 0;
  padding-bottom: 20px;
}

.acf-links__label {
  font-weight: 700;
  white-space: nowrap;
  margin: 0
}

.acf-links__label:after {
  content: ":";
  margin-left: 4px
}

.acf-links__items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.acf-links__items a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  text-decoration: none;
  color: var(--text);
  line-height: 1;
  transition: var(--transition-hover);
}

.acf-links__items a:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary) inset;
  color: var(--primary);
}

.acf-links p {
  margin: 0
}

h2.section-title-normal.product-section-title-related {
  border-bottom: 2px solid #ececec !important;
  padding-bottom: 4px
}

.item-partner .img-inner,
.item-partner .col-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center
}

.h100-inner .col-inner,
.h100 {
  height: 100%
}

.col.item-partner {
  padding: 10px !important
}

.item-partner .col-inner {
  background: var(--surface);
  height: 110px;
  transition: var(--transition-hover);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.dl-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 10px 15px;
  background: var(--primary-light);
  color: var(--heading);
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: var(--transition-hover);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.dl-card:hover {
  background: var(--primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
  border-color: var(--primary);
}

.dl-ic {
  width: 22px;
  height: 22px;
  flex: 0 0 22px
}

.dl-label {
  display: inline-block
}

/* Reset bullet + thá»¥t lá» cá»§a Flatsome */
.same-level-list,
.widget .same-level-list {
  margin: 0;
  padding: 0 !important;
  list-style: none;
}

.same-level-list li {
  margin: 0px 0;
  padding: 0;
  list-style: none;
  margin-left: 0 !important;
}

.same-level-list li::before {
  content: none !important;
}

.same-level-list a.cat-link {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
  min-height: 40px;
  text-decoration: none;
}

.same-level-list img.cat-icon {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.same-level-list .cat-name {
  position: relative;
  top: 1px;
}

/* h3 nhá» hÆ¡n cho tiÃªu Ä‘á» dá»± Ã¡n */
.portfolio-box .portfolio-box-title {
  font-size: 16px;
  /* nhá» hÆ¡n máº·c Ä‘á»‹nh */
  line-height: 1.35;
  font-weight: 600;
  text-transform: none;
  /* bá» uppercase náº¿u muá»‘n giá»¯ nguyÃªn thÃ¬ xÃ³a dÃ²ng nÃ y */
  margin: .35rem 0 0;
  color: var(--heading);
}

/* MÃ´ táº£ dÆ°á»›i tiÃªu Ä‘á» */
.portfolio-box-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 6px;
}

.row-slider-caretory-box .slide-grid {
  width: 100%;
}

.row-slider-caretory-box .slide-grid-inner {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: 16px;
}

/* KhÃ´ng váº½ váº¡ch ngÄƒn cá»™t á»Ÿ cÃ¡c slider tin tá»©c / dá»± Ã¡n */
.row.tin-tuc .flickity-slider>.col::before,
.row.tin-tuc .flickity-slider>.col::after,
.row.du-an .flickity-slider>.col::before,
.row.du-an .flickity-slider>.col::after {
  content: none !important;
  border: 0 !important;
  display: none !important;
}

/* Fix chiá»u cao tá»‘i thiá»ƒu cho box category */
.box-category.has-hover.box-default {
  min-height: 220px;
  /* hoáº·c 240px tÃ¹y báº¡n muá»‘n thoÃ¡ng hÆ¡n */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Chá»‰ Ä‘á»•i mÃ u link trong ná»™i dung thá»±c táº¿ (bÃ i, trang, mÃ´ táº£ sáº£n pháº©m) */
.entry-content>p a,
.entry-content>div:not(.ux-text):not(.ux-posts):not(.row):not(.col) a,
.page-content>p a,
.single-product .woocommerce-tabs .panel a,
.single-product .summary a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.entry-content>p a:hover,
.entry-content>div:not(.ux-text):not(.ux-posts):not(.row):not(.col) a:hover,
.page-content>p a:hover,
.single-product .woocommerce-tabs .panel a:hover,
.single-product .summary a:hover {
  color: var(--primary-hover);
}

.button-chuan {
  border-radius: 6px !important;
  padding: 0px 60px 0px 60px;
  border: 1px solid !important;
}

.form-row-first {
  margin-right: 2%;
}

.from-lien-he {
  background: #FAFAFA;
  border-radius: 25px;
  padding: 33px 30px 0px 30px;
  width: 80% !important;
}

.trang-lien-he {
  background: var(--secondary-gradient);
  width: 100%;
  padding: 5px 0px !important;
  border-radius: 5px !important;
}

.col.ct-lt {
  padding: 0 15px 0px !important;
}

.accordion .accordion-title {
  background: var(--primary-light);
  color: var(--primary);
  border: 0px !important;
  font-weight: 600;
  border-radius: var(--radius);
  font-size: 16px;
  position: relative;
  padding: 10px 45px 10px 30px;
}

.accordion .accordion-item {
  margin-bottom: 10px;
}

.accordion .accordion-title .toggle {
  position: absolute;
  right: 10px;
  left: inherit;
  transform: none;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  transform-origin: inherit;
  opacity: 1;
  justify-content: center;
  margin: 0px;
  top: 50%;
  transform: translate(0, -50%);
}

.category-banner-acf-container {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
}

.category-banner-acf-container img {
  display: block;
  width: 100%;
  height: auto;
}

.sibling-categories-tags {
  margin-bottom: 1.5em;
}

.sibling-tag-link {
  display: inline-block;
  padding: 5px 12px;
  margin: 0 10px 8px 0;
  border: 1px solid #e0e0e0;
  border-radius: 99px;
  font-size: 0.9em;
}

.sibling-tag-link h2 {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  margin: 0;
  display: inline;
}

.row-small.number>.col::before {
  display: none !important;
}

.giai-phap {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  overflow: hidden;
}

.phuong-an-trien-khai>.col {
  position: relative;
}

.phuong-an-trien-khai>.col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40%;
  right: -12px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url('../images/35918e-icon-arrow-right.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 10;
}

.row.hanhtrinh {
  max-width: 1000px;
  margin: 0 auto;
  --pill-h: 56px;
  --marker-h: 64px;
  --marker-w: 2px;
  --dot: 12px;
  --marker-color: #ADC9FF;
}

.row.hanhtrinh>.col {
  padding: 0 !important;
}

.row.hanhtrinh>.col>.col-inner {
  padding: 0 !important;
}


.row.hanhtrinh .trip1 .col-inner,
.row.hanhtrinh .trip2 .col-inner,
.row.hanhtrinh .trip3 .col-inner,
.row.hanhtrinh .trip4 .col-inner {
  height: var(--pill-h);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  padding: 0;
  margin-bottom: calc(var(--marker-h) + 24px);
}

.row.hanhtrinh .trip1 .col-inner {
  background: #097FED;
  border-top-left-radius: 9999px;
  border-bottom-left-radius: 9999px;
}

.row.hanhtrinh .trip2 .col-inner {
  background: #04A4E3;
  border-radius: 0;
}

.row.hanhtrinh .trip3 .col-inner {
  background: #26BDB8;
  border-radius: 0;
}

.row.hanhtrinh .trip4 .col-inner {
  background: #56CC84;
  border-top-right-radius: 9999px;
  border-bottom-right-radius: 9999px;
}


.row.hanhtrinh .tl-date {
  position: relative;
  width: 100%;
  height: var(--pill-h);
  display: grid;
  place-items: center;
  margin: 0;
  line-height: 1;
  color: #fff;
  font-weight: 700;
  letter-spacing: .5px;
}

.row.hanhtrinh .tl-date::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(-1 * var(--marker-h, 64px));
  width: var(--marker-w, 2px);
  height: var(--marker-h, 64px);
  background: var(--marker-color, #ADC9FF);
  z-index: 3;
}

.row.hanhtrinh .tl-date::before {
  /* cháº¥m */
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(-1 * var(--marker-h, 64px) - var(--dot, 12px)/2);
  width: var(--dot, 12px);
  height: var(--dot, 12px);
  border-radius: 50%;
  background: var(--marker-color, #ADC9FF);
  z-index: 3;
}


.row.hanhtrinh .text {
  text-align: center;
}

.row.hanhtrinh .text p {
  margin: 6px 0;
}


.four-tieuchi .icon-box-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.row-slider-caretory-box .slide-grid-inner>.col {
  min-height: 200px;
  height: auto !important;
}

.row-slider-caretory-box .col {
  padding: 0 5px;
}

.du-an .box-blog-post .image-cover,
.tin-tuc .box-blog-post .image-cover {
  padding-top: 66.66% !important;
  /* Tá»‰ lá»‡ 900:600 (3:2) */
}

.nav.nav-small>li>a {
  font-size: 15px;
  color: #344054;
}

.row.row-solid.contac-gt {
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px 34px;
  border: 1px solid var(--border);
}

/* Cá»™t trong row */
.row.row-solid.contac-gt>.col {
  padding: 18px 10px;
  border-left: 1px solid var(--border);
  /* váº¡ch ngÄƒn */
}

.row.row-solid.contac-gt>.col:first-child {
  border-left: 0;
  /* bá» váº¡ch á»Ÿ cá»™t Ä‘áº§u */
}

/* (Tuá»³ chá»n) Reset má»i pseudo cÃ³ sáºµn tá»« theme trong vÃ¹ng nÃ y */
.row.row-solid.contac-gt::before,
.row.row-solid.contac-gt::after,
.row.row-solid.contac-gt>.col::before,
.row.row-solid.contac-gt>.col::after {
  content: none !important;
  display: none !important;
}

/* Danh sÃ¡ch trong mÃ´ táº£ taxonomy (category/tag) */
.term-description ul,
.term-description ol,
.taxonomy-description ul,
.taxonomy-description ol,
.related-posts-extra-content ul,
.related-posts-extra-content ol {
  margin: 0 0 1em 1.25em;
  /* khoáº£ng cÃ¡ch & thá»¥t vÃ o trÃ¡i */
  padding: 0;
}

.term-description ul,
.taxonomy-description ul,
.related-posts-extra-content ul {
  list-style: disc;
  /* cháº¥m trÃ²n */
}

.term-description ol,
.taxonomy-description ol,
.related-posts-extra-content ol {
  list-style: decimal;
  /* sá»‘ thá»© tá»± */
}

.term-description li,
.taxonomy-description li,
.related-posts-extra-content li {
  margin: .25em 0;
  line-height: 1.6;
}


.nav-uppercase>li>a {
  text-transform: capitalize;
}

.mobile-sidebar-levels-2 .nav-slide>li>.sub-menu>li:not(.nav-slide-header)>a,
.mobile-sidebar-levels-2 .nav-slide>li>ul.children>li:not(.nav-slide-header)>a {
  text-transform: capitalize;
}

/* Newsbox: tiÃªu Ä‘á» 2 dÃ²ng (Ã´ to & Ã´ nhá») */
.ux-newsbox .post-title a,
.ux-newsbox .ux-newsbox-item h3 a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Newsbox: mÃ´ táº£ 3 dÃ²ng, 14px */
.ux-newsbox .from_the_blog_excerpt {
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4.5em;
  /* 1.5 * 3 */
}

/* Khu vá»±c khÃ¡c: related / tin-tuc / author â€” mÃ´ táº£ 3 dÃ²ng, 15px */
.related-posts-section-container .from_the_blog_excerpt,
.tin-tuc .from_the_blog_excerpt,
.author-posts .from_the_blog_excerpt {
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4.5em;
}

/* ----- Archive grid (tin-tuc) ONLY ----- */

/* TiÃªu Ä‘á»: 2 dÃ²ng, khÃ´ng áº£nh hÆ°á»Ÿng nÆ¡i khÃ¡c */
.row.tin-tuc .post-item h3.post-title {
  margin: 0;
}

.row.tin-tuc .post-item h3.post-title a {
  font-size: 18px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  /* fix 2 dÃ²ng */
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.5em * 2);
  word-break: break-word;
  height: 3em;
}

/* MÃ´ táº£: 2 dÃ²ng */
.row.tin-tuc .post-item .from_the_blog_excerpt.excerpt-archive {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.5;

}

/* Ãp cho Newsbox & Archive grid */
.ux-newsbox .image-cover,
.row.tin-tuc .image-cover {
  position: relative;
  overflow: hidden;
}

/* Anchor pháº£i chiáº¿m trá»n khung */
.ux-newsbox .image-cover>a,
.row.tin-tuc .image-cover>a,
.ux-newsbox .ratio-4-3 {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

/* áº¢nh fill kÃ­n (cháº¥p nháº­n mÃ©o) */
.ux-newsbox .image-cover img,
.row.tin-tuc .image-cover img,
.ux-newsbox .ratio-4-3 img {
  width: 100% !important;
  height: 100% !important;
  -o-object-fit: fill !important;
  object-fit: fill !important;
  /* <-- fill */
  object-position: center !important;
}

#toc_container {
  border-radius: 10px;
}

.custom-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.custom-item {
  flex: 1 1 45%;
  max-width: 500px;
}

.custom-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 12px 10px 0px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: var(--transition-hover);
}

.custom-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.custom-text-center {
  text-align: center;
}

.custom-heading {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 5px;
  line-height: 1.2;
}

.custom-description {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.custom-feedback-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

.custom-feedback-btn {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition-hover);
}

.custom-feedback-btn:hover {
  transform: translateY(-2px);
  color: var(--primary);
}

.custom-feedback-btn img {
  width: 32px;
  height: 32px;
  margin-bottom: 5px;
  filter: grayscale(1);
  transition: filter 0.2s ease-in-out;
}

.custom-feedback-btn:active img {
  filter: grayscale(0);
}

.custom-feedback-text {
  text-transform: capitalize;
}

.custom-divider {
  width: 1px;
  height: 60px;
  background-color: var(--border);
  margin: 0 10px;
}

.custom-social-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.custom-social-link img {
  width: 40px;
  height: 40px;
  transition: transform 0.2s ease-in-out;
}

.custom-social-link img:hover {
  transform: scale(1.1);
}

.custom-feedback-message {
  text-align: center;
  margin-top: 15px;
  font-weight: 600;
  color: var(--muted);
  min-height: 20px;
}

#feedback-section .custom-feedback-btn:hover img {
  filter: grayscale(0) !important;
}

#feedback-section .custom-feedback-btn:hover .custom-feedback-text {
  color: var(--primary);
}

.row.breadcrumbs-rm {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 6px 15px;
}

.row.breadcrumbs-rm .rank-math-breadcrumb,
.row.breadcrumbs-rm .rank-math-breadcrumb p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3;
}

.short-desc-content ul li {
  margin-left: 10px;
  line-height: 1.6;
  color: var(--text);
}

.related-posts-section-container .post-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4em;
  max-height: 2.8em;
}

.related-posts-section-container .post-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5em;
  max-height: 4.5em;
}

@media (max-width: 991px) {

  /* Layout chung */
  .portfolio-sticky {
    position: static;
    top: auto;
  }

  /* HÃ nh trÃ¬nh */
  .row.hanhtrinh {
    --pill-h: 52px;
    --marker-h: 56px;
    padding: 0 10px;
  }

  .row.hanhtrinh>.col {
    padding: 6px !important;
  }

  .row.hanhtrinh .trip1 .col-inner,
  .row.hanhtrinh .trip2 .col-inner,
  .row.hanhtrinh .trip3 .col-inner,
  .row.hanhtrinh .trip4 .col-inner {
    border-radius: 16px !important;
  }

  /* Subcat buttons */
  .subcat-buttons {
    gap: 10px;
    margin-top: -20px;
  }

  .subcat-btn {
    flex: 1 1 calc(50% - 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 10px;
    min-height: 44px;
    font-size: 14px;
    line-height: 1.3;
    border-radius: 5px;
    word-break: break-word;
    -webkit-tap-highlight-color: transparent;
  }

  .subcat-btn:hover {
    background: var(--primary-light);
  }

  .subcat-btn.is-active {
    background: var(--primary-light);
    box-shadow: inset 0 0 0 2px rgba(0,91,172,.12);
  }

  /* Contact block (xáº¿p dá»c) */
  .row.row-solid.contac-gt {
    padding: 18px;
  }

  .row.row-solid.contac-gt>.col {
    border-left: 0;
    border-top: 1px solid rgba(31, 102, 195, .25);
  }

  .row.row-solid.contac-gt>.col:first-child {
    border-top: 0;
  }
}

@media (max-width: 768px) {

  /* Typography */
  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 16px;
  }

  h4 {
    font-size: 14px;
  }

  /* Cart icon mÃ u xanh */
  .icon-shopping-basket:before {
    filter: none;
  }

  .header-button .header-cart-link.icon.primary.button.round.is-small {
    background: #fff;
    padding: 3px 7px !important;
    transition: all .3s ease-in-out;
    border-radius: 50%;
  }

  .header-bottom {
    background: var(--primary-gradient);
  }

  .header-button .is-small {
    background: #fff;
    padding: 3px 7px !important;
    transition: all .3s ease-in-out;
    border-radius: 50%;
    width: 36px;
    /* Äáº£m báº£o width = height */
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-button .icon-menu:before {
    color: #3472f3;
    font-size: 22px;
  }

  .header-main .top-divider {
    border-top: none;
  }

  .site-header__bottom .container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .menu-header__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    padding: 6px 0;
  }

  .menu-header__list::-webkit-scrollbar {
    display: none;
  }

  .menu-header__link {
    flex-shrink: 0;
    padding: 8px 10px;
    font-size: 13px;
  }

  .menu-header__icon {
    width: 18px;
    height: 18px;
  }

  .header-button a.icon.round>i, .header-button a.icon.round>svg {
    margin: 0 6px;
  }

  .acf-links__items a {
    padding: 7px 5px;
  }

  #logo img {
    max-height: 45px !important;
  }

  .header-search-form-wrapper input[type="search"] {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: none;
    color: #333;
    font-size: 0.85em;
    height: 2.8em;
    width: 100%;
  }

  .ux-search-submit.submit-button.secondary.button.icon.mb-0 {
    display: none;
  }

  /* Shop layout */
  .shop-controls-nested-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .shop-view-switcher,
  .woocommerce-ordering {
    width: 100%;
  }

  .shop-view-switcher {
    display: flex;
    justify-content: space-around;
  }

  .woocommerce-ordering select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
  }

  .from_the_blog_excerpt {
    display: none;
  }

  .shop-container .custom-sorting-tabs .sorting-tab {
    padding-bottom: 0;
  }

  .product-list-view-info .product-info-container {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .product-attributes-column,
  .product-column {
    width: 100% !important;
  }

  .product-info-table-wrapper .product-info-container::before {
    display: none;
  }

  .custom-button {
    width: 100%;
    min-width: unset;
  }

  .button-container {
    display: grid;
  }

  body.single-product .single_add_to_cart_button,
  body.single-product .ux-buy-now-button {
    margin: 15px 0 0;
  }

  /* Meta */
  .entry-meta {
    display: block;
  }

  /* Cards / News */
  .dl-card {
    min-height: 56px;
    padding: 12px 14px;
  }

  .fx-titlebar-row {
    gap: 10px;
  }

  /* Author info */
  .entry-author .flex-row {
    flex-direction: column;
    text-align: center;
  }

  .entry-author .flex-col.mr {
    flex-basis: auto !important;
    margin: 0 0 15px 0;
  }

  /* Custom container */
  .custom-container {
    flex-direction: column;
    align-items: center;
  }

  .custom-item {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }

  .custom-card {
    padding: 20px;
  }

  /* Newsbox clamp */
  .ux-newsbox .post-title a,
  .ux-newsbox .ux-newsbox-item h3 a {
    font-size: 16px;
    -webkit-line-clamp: 2;
  }

  .ux-newsbox .from_the_blog_excerpt {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }

  .related-posts-section-container .from_the_blog_excerpt,
  .tin-tuc .from_the_blog_excerpt,
  .author-posts .from_the_blog_excerpt {
    font-size: 15px;
    -webkit-line-clamp: 2;
  }

  .ux-newsbox-item {
    border-bottom: 1px solid #e9e9e9;
    padding: 12px 0;
  }

  ul.subcat-buttons>li {
    margin: 0;
    padding: 0;
  }

  /* Slider gap */
  .row-slider-caretory-box .slide-grid-inner {
    gap: 12px;
  }

  /* Khoáº£ng cÃ¡ch xung quanh danh sÃ¡ch */
  .off-canvas .nav-sidebar.nav-vertical,
  .nav.nav-sidebar.nav-vertical {
    padding: 8px 10px 14px;
  }

  /* Reset UL con */
  .nav-sidebar-ul,
  .nav.nav-sidebar.nav-vertical>li>.sub-menu {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  /* Má»—i item lÃ  1 "tháº»" tráº¯ng cÃ³ viá»n + bÃ³ng nháº¹ */
  .nav.nav-sidebar.nav-vertical>li.menu-item,
  .nav-sidebar-ul>li.menu-item {
    position: relative;
    margin-bottom: 10px;
  }

  .nav.nav-sidebar.nav-vertical>li.menu-item>a,
  .nav-sidebar-ul>li.menu-item>a {
    display: block;
    padding: 15px 48px 15px 14px;
    /* chá»«a chá»— cho nÃºt mÅ©i tÃªn bÃªn pháº£i */
    border: 1px solid #e0e6f1;
    border-radius: 10px;
    background: #fff;
    font-weight: 500;
    line-height: 1.35;
    box-shadow: 0 2px 10px rgba(59, 130, 246, .10);
  }

  /* NÃºt .toggle (mÅ©i tÃªn) náº±m bÃªn pháº£i, trÃ²n, dá»… báº¥m */
  .nav.nav-sidebar .menu-item>.toggle,
  .nav-sidebar-ul .menu-item>.toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: #fff;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .nav.nav-sidebar .menu-item>.toggle i,
  .nav-sidebar-ul .menu-item>.toggle i,
  .nav.nav-sidebar .menu-item>.toggle svg,
  .nav-sidebar-ul .menu-item>.toggle svg {
    font-size: 14px;
  }

  /* Khi má»Ÿ submenu cÃ³ thá»ƒ xoay icon náº¿u muá»‘n */
  .nav.nav-sidebar .menu-item[aria-expanded="true"]>.toggle i,
  .nav-sidebar-ul .menu-item[aria-expanded="true"]>.toggle i,
  .nav.nav-sidebar .menu-item[aria-expanded="true"]>.toggle svg,
  .nav-sidebar-ul .menu-item[aria-expanded="true"]>.toggle svg {
    transform: rotate(90deg);
  }

  /* Header "Back" cá»§a slide con */
  .nav-slide-header {
    margin-bottom: 8px;
  }

  .nav-slide-header>.toggle {
    width: 100%;
    padding: 15px 12px;
    border-radius: 10px;
    border: 1px solid #eaeef6;
    background: #f6f9ff;
    color: #1e40af;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .nav-sidebar.nav-vertical>li+li {
    border-top: none;
  }

  .nav-slide-header>.toggle i,
  .nav-slide-header>.toggle svg {
    font-size: 16px;
  }

  /* Card style cho item cáº¥p 2, cáº¥p 3 giá»‘ng cáº¥p 1 */
  .sub-menu.nav-sidebar-ul>li.menu-item>a {
    border: 1px solid #e0e6f1;
    border-radius: 10px;
    padding: 15px 48px 15px 14px;
    background: #fff;
    font-size: .8em;
    letter-spacing: .02em;
  }

  .nav-sidebar-ul>li.menu-item {
    padding-right: 10px;
  }

  .mobile-sidebar-levels-2 .nav-slide>li>.sub-menu>li:not(.nav-slide-header),
  .mobile-sidebar-levels-2 .nav-slide>li>ul.children>li:not(.nav-slide-header) {
    margin-top: 5px;
    padding-right: 8px;
    border-top: none;
  }

  /* Hover/active nháº¹ tay (khÃ´ng Ä‘á»•i layout) */
  .nav.nav-sidebar a:hover,
  .nav-sidebar-ul a:hover {
    border-color: #cfe0ff;
    box-shadow: 0 3px 12px rgba(59, 130, 246, .16);
  }

  /* Bá» gáº¡ch chÃ¢n & Ä‘áº£m báº£o vÃ¹ng báº¥m */
  .nav.nav-sidebar a,
  .nav-sidebar-ul a {
    text-decoration: none;
  }

  .nav.nav-sidebar .menu-item[aria-expanded="true"]>a,
  .nav-sidebar-ul .menu-item[aria-expanded="true"]>a,
  .nav.nav-sidebar .menu-item>a:hover,
  .nav-sidebar-ul .menu-item>a:hover,
  .nav.nav-sidebar .current-menu-item>a,
  .nav.nav-sidebar .current-menu-ancestor>a {
    background: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(0, 91, 172, .25);
    border: none !important;
    /* â† Ã©p bá» border gá»‘c */
    outline: none !important;
  }

  .product-info-table-wrapper .product-info-container,
  .specifications .product-info-container {
    display: grid;
    justify-content: normal;
  }

  .product-table {
    width: 100%;
  }

  .row.row-small {
    margin-bottom: 0 !important;
  }

  .row.row-small .col {
    margin-bottom: 5px !important;
    /* giáº£m khoáº£ng cÃ¡ch dá»c giá»¯a 2 khá»‘i */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .tab-panels .product-info-container table th {
    background-color: var(--primary-light) !important;
    color: var(--text) !important;
    font-weight: 500 !important;
    text-transform: none !important;
  }

  /* áº¨n khá»‘i TÃ i liá»‡u danh má»¥c */
  body.single-product .tai-lieu-wrapper {
    display: none !important;
  }

  /* áº¨n cÃ¡c thumbnail/áº£nh liÃªn quan cá»§a gallery */
  body.single-product .product-thumbnails,
  body.single-product .flex-control-thumbs,
  body.single-product .woocommerce-product-gallery .thumbnails {
    display: none !important;
  }

  /* TÄƒng nháº­n diá»‡n dots */
  body.single-product .flickity-page-dots {
    bottom: 12px;
  }

  body.single-product .flickity-page-dots .dot {
    width: 6px;
    height: 6px;
    opacity: .35;
  }

  body.single-product .flickity-page-dots .dot.is-selected {
    width: 16px;
    border-radius: 8px;
    opacity: 1;
  }

  .rank-math-breadcrumb,
  .rank-math-breadcrumb p {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.4;
    font-size: 12px !important;
    /* chá»‰nh cá»¡ chá»¯ nhá» */
  }

  .row.pd-1 {
    margin-top: 0 !important;
    padding-top: 0 !important;
    font-size: 14px;
  }

  .shop-container .col.show_product {
    padding-bottom: 15px !important;
  }

  /* áº¨n gáº¡ch dÆ°á»›i & line trang trÃ­ tiÃªu Ä‘á» */
  .fx-titlebar-row::after,
  .fx-title>span::after {
    display: none !important;
  }

  .sibling-categories-tags {
    display: flex;
    gap: .75rem;
    /* khoáº£ng cÃ¡ch giá»¯a cÃ¡c tag */
    overflow-x: auto;
    /* kÃ©o ngang */
    padding: .25rem .5rem;
    scroll-snap-type: x mandatory;
    /* bÃ¡m Ä‘iá»ƒm khi dá»«ng */
    -webkit-overflow-scrolling: touch;
    /* mÆ°á»£t trÃªn iOS */
  }

  .sibling-categories-tags::-webkit-scrollbar {
    display: none;
  }

  /* áº©n scrollbar */

  .sibling-categories-tags .sibling-tag-link {
    padding: .5rem .75rem;
    white-space: nowrap;
    display: inline-flex;
  }

  .sibling-categories-tags .sibling-tag-link h2 {
    margin: 0;
    font-size: 14px;
    line-height: 1;
  }

  .woocommerce-tabs ul.wc-tabs.small-nav-collapse {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    gap: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
    padding: 0;
    margin: 0;
    scrollbar-width: none;
  }

  .woocommerce-tabs ul.wc-tabs.small-nav-collapse::-webkit-scrollbar {
    display: none;
  }

  .woocommerce-tabs ul.wc-tabs.small-nav-collapse>li {
    display: inline-flex !important;
    width: auto !important;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: flex-end;
  }

  /* Link tab */
  .woocommerce-tabs ul.wc-tabs.small-nav-collapse>li>a {
    position: relative;
    display: inline-block;
    padding: 10px 0 12px;
    font-weight: 600;
    color: #5f6368;
    text-decoration: none;
    background-repeat: no-repeat;
    background-position: center calc(100% - 1px);
    background-size: 0 2px;
    transition: background-size .25s ease, color .15s ease;
  }

  /* Tab active: chá»¯ xanh + gáº¡ch gradient ngáº¯n */
  .woocommerce-tabs ul.wc-tabs.small-nav-collapse>li.active>a {
    color: #1a73e8 !important;

  }

  .woocommerce-tabs .wc-tabs li.active::after {
    bottom: 0px;
  }

  .title-gnt,
  .title-gnt+div {
    display: none !important;
  }

  .cart-container .col.text-right {
    display: none !important;
  }

  .checkout-right {
    display: none;
  }

  .cart-container {
    margin: 15px;
  }

  /**** car mobile ****/
  .woocommerce-cart #content {
    background-color: #f5f5f5 !important;
  }


  /* Loáº¡i bá» padding/margin thá»«a cá»§a Flatsome trÃªn mobile */
  .woocommerce-cart #content,
  .woocommerce-cart .col-inner,
  .woocommerce-cart .large-12 {
    padding: 0 !important;
    margin: 0 !important;
  }

  .mobile-cart-header {
    background: white;
    padding: 15px;
    justify-content: space-between;
    margin: 10px;
    border-radius: 8px;
  }

  .mobile-cart-header h2 {
    margin: 0;
    font-size: 16px;
  }

  /* Cá»¥c sáº£n pháº©m ná»•i, ná»n tráº¯ng, bo viá»n */
  .mobile-cart-item {
    background: white;
    padding: 15px;
    border-bottom: none;
    margin: 0 10px 10px 10px;
    border-radius: 8px;
    margin-bottom: -0.5em;
    position: relative;
  }

  .mobile-cart-item-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .mobile-product-image {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
  }

  .mobile-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-product-details {
    flex: 1;
    min-width: 0;
    padding-right: 35px;
  }

  /* TiÃªu Ä‘á» sáº£n pháº©m khÃ´ng láº¥n vÃ o icon xÃ³a */
  .mobile-product-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    max-width: 90%;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .mobile-product-variations {
    font-size: 11px;
    color: #888;
    margin: 0;
    padding: 0;
  }

  .mobile-product-variations li {
    list-style: none;
    margin-bottom: 2px;
  }

  /* Äiá»u chá»‰nh vá»‹ trÃ­ Price vÃ  Quantity */
  .mobile-quantity-price {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
  }

  .mobile-product-price {
    text-align: right;
    flex-shrink: 0;
  }


  .mobile-product-price {
    text-align: right;
    flex-shrink: 0;
  }

  .mobile-product-price .current-price {
    text-decoration: none !important;
  }

  /* Nháº¯m vÃ o tháº» con chá»©a giÃ¡ trá»‹ vÃ  tÄƒng Æ°u tiÃªn */
  .mobile-product-price .current-price,
  .mobile-product-price .current-price .woocommerce-Price-amount {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    text-decoration: none !important;
  }

  .mobile-product-price .original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    display: block;
    margin-top: 2px;
  }


  /* NÃºt xÃ³a */
  .mobile-remove-button {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    line-height: 1;
  }

  .mobile-remove-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* Quantity Control */
  .mobile-qty-box {
    display: flex;
    align-items: center;
    flex-grow: 1;
  }

  .custom-quantity {
    display: flex;
    align-items: center;
  }

  /* Download Section */
  .mobile-download-section {
    padding: 15px;
    background: white;
    margin: 20px 10px 10px 10px;
    border-radius: 8px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
  }

  .mobile-download-section a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    font-size: 12px;
  }

  .mobile-download-section img {
    width: 18px;
    height: 18px;
    margin-right: 4px;
  }

  .mobile-download-section span {
    font-size: 12px;
    color: var(--primary);
  }

  /* MÃ£ Æ¯u ÄÃ£i */
  .mobile-coupon-section {
    background: white;
    padding: 15px;
    margin: 0 10px 10px 10px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }

  .mobile-coupon-section h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #333;
  }

  .mobile-coupon-form {
    display: flex;
    gap: 8px;
  }

  .mobile-coupon-form input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
  }

  .mobile-coupon-form button {
    padding: 5px 8px;
    background: #f5f5f5;
    color: #666;
    border-radius: 8px;
    font-size: 12px;
    text-transform: none;
  }

  /* Táº¡m TÃ­nh & Tá»•ng */
  .mobile-cart-totals {
    background: white;
    padding: 15px;
    margin: 0 10px 20px 10px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-top: 1px solid #e0e0e0;
  }

  .mobile-cart-totals h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
  }

  .mobile-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
    color: #666;
  }

  .mobile-total-row.final {
    font-weight: 600;
    font-size: 15px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
    color: #333;
    margin-top: 5px;
  }

  .mobile-checkout-button {
    background: var(--primary);
    color: white;
    padding: 10px;
    border-radius: var(--radius);
    margin-top: 20px;
    text-align: center;
    display: block;
    font-weight: 600;
    transition: var(--transition-hover);
  }

  .mobile-checkout-button:hover {
    background: var(--primary-hover);
  }

  /* ============================
   QUANTITY â€” Gá»ŒN THEO áº¢NH
   ============================ */
  .custom-quantity .quantity {
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    height: 30px;
    /* nhá» láº¡i */
  }

  .custom-quantity .quantity .minus,
  .custom-quantity .quantity .plus {
    width: 26px !important;
    /* nhá» hÆ¡n ná»¯a */
    height: 30px !important;
    font-size: 16px !important;
    background: #fafafa;
    border: none !important;
    color: #555;
    padding: 0;
  }

  .custom-quantity .quantity input.qty {
    width: 34px !important;
    height: 30px !important;
    font-size: 14px !important;
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: var(--bg);
  }

  /* Thu nhá» toÃ n bá»™ cá»¥m */
  .custom-quantity {
    transform: scale(0.85);
    transform-origin: left center;
    /* canh trÃ¡i */
  }

}

@media (min-width: 769px) {

  /* Cart icon tráº¯ng */
  .icon-shopping-basket:before {
    filter: brightness(0) invert(1);
  }
}

@media (min-width: 992px) {

  .row-large>.col,
  .row-large>.flickity-viewport>.flickity-slider>.col {
    margin-bottom: 0;
    padding: 0 30px;
  }

  /* Sticky header tinh gá»n */
  #header .header-wrapper.stuck #masthead,
  #header .header-wrapper.stuck .header-bg-container {
    display: none !important;
  }

  #header .header-wrapper.stuck .header-bottom {
    display: block !important;
    visibility: visible !important;
    padding: 10px;
  }

  #header .header-wrapper+.sticky-placeholder {
    height: 0 !important;
  }
}

@media (max-width: 480px) {
  .row.hanhtrinh>.col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.product-short-description-box {
  padding-top: 20px;
}

.short-desc-content {
  padding: 20px;
}

.product-meta-details {
  padding-bottom: 20px;
}

/* Footer column titles - white */
#footer .col-inner > p.uppercase,
#footer .col-inner > p.uppercase strong {
  color: #fff !important;
}

/* ===== Homepage hero: category nav + slideshow + video ===== */
.slide-content {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.category-navigation {
  width: 250px;
  flex: 0 0 250px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: visible;
  position: relative;
  box-shadow: 0 2px 8px rgba(3, 3, 89, 0.06);
  display: flex;
  flex-direction: column;
}

.category-navigation__head {
  background: var(--primary-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 10px 10px 0 0;
}

.category-navigation__head [data-lucide="grid"] {
  width: 20px;
  height: 20px;
  color: #fff;
  flex: 0 0 auto;
}

.category-navigation__head p {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}

.category-navigation__list {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-navigation__list > ul {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.category-navigation__list > ul > li {
  position: relative;
  margin: 0;
}

.category-navigation__list > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border-left: 3px solid transparent;
}

.category-navigation__list > ul > li > a:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-left-color: var(--primary);
}

.category-navigation__list > ul > li > [data-lucide="chevron-right"] {
  width: 16px;
  height: 16px;
  color: var(--muted);
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.category-navigation__list > ul > li > a:hover + [data-lucide="chevron-right"],
.category-navigation__list > ul > li:hover > [data-lucide="chevron-right"] {
  color: var(--primary);
}

.category-navigation__sub {
  display: none;
  position: absolute;
  left: 100%;
  top: -7px;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 10px 30px rgba(3, 3, 89, 0.12);
  z-index: 20;
  padding: 8px 0;
}

.category-navigation__list > ul > li:hover .category-navigation__sub {
  display: block;
}

.category-navigation__sub a {
  display: block;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.category-navigation__sub a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.slide-content__detail.slides {
  flex: 1;
  min-width: 0;
  position: relative;
}

.s-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(3, 3, 89, 0.08);
  height: 100%;
}

.s-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 992px) {
  .category-navigation {
    width: 220px;
    flex-basis: 220px;
  }
}

@media (max-width: 768px) {
  .slide-content {
    flex-direction: column;
  }

  .category-navigation {
    width: 100%;
    flex-basis: 100%;
  }

  .category-navigation__sub {
    position: static;
    display: none;
    border-left: none;
    border-radius: 0;
    box-shadow: none;
    padding-left: 24px;
  }

  .category-navigation__list > ul > li {
    border-bottom: 1px solid var(--border);
  }

  .category-navigation__list > ul > li:last-child {
    border-bottom: none;
  }
}


/* ===== Masthead (hoplongtech style) - MPE ===== */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.main-header__search {
  flex: 1;
  min-width: 0;
}

.main-header__search .header-search-form-wrapper,
.main-header__search .dgwt-wcas-search-wrapp {
  width: 100%;
}

.main-header__search .dgwt-wcas-sf-wrapp {
  position: relative;
  background: #fff;
  border: 1px solid #D9D9D9;
  border-radius: 5px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.main-header__search .dgwt-wcas-sf-wrapp:focus-within {
  border-color: var(--brand-blue, #3B9FC0);
  box-shadow: 0 0 0 3px var(--brand-blue-soft, #E9F6FA);
}

.main-header__search .dgwt-wcas-sf-wrapp input.dgwt-wcas-search-input {
  width: 100%;
  height: 40px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  box-shadow: none;
  padding: 0 80px 0 20px;
}

.main-header__search .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit {
  position: absolute;
  inset: auto 0 0 auto;
  background: var(--brand-blue, #3B9FC0);
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  width: 74px;
  height: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.main-header__search .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:hover {
  background: var(--brand-blue-hover, #2E7F99);
}

.main-header__search .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit svg {
  position: static;
  display: inline-block;
  width: 20px;
  height: 20px;
}

.main-header__search .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit span {
  display: none;
}

.main-header__search .dgwt-wcas-preloader,
.main-header__search .dgwt-wcas-voice-search {
  display: none;
}

.main-header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.main-header-cta .item-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary, #1F5D8F);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 5px 12px;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.main-header-cta .item-cta:hover {
  background: var(--soft, #EDF4F9);
  border-color: var(--brand-blue, #3B9FC0);
}

.main-header-cta .item-cta [data-lucide] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.main-header-cta .item-cta strong {
  color: var(--primary, #1F5D8F);
  font-size: 15px;
}

.systerm {
  position: relative;
}

.systerm-lists {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 340px;
  max-width: 380px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(2, 2, 63, 0.18);
  padding: 8px;
  z-index: 999;
}

.systerm-lists__item {
  display: block;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

.systerm-lists__item:last-child {
  border-bottom: none;
}

.systerm-lists__item:hover {
  background: var(--soft, #EDF4F9);
}

.systerm-lists__item .name {
  display: block;
  color: var(--primary, #1F5D8F);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.systerm-lists__item .description {
  display: block;
  color: var(--muted, #667085);
  font-size: 13px;
  line-height: 1.4;
}

.main-header-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.main-header-icon .icon-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary, #1F5D8F);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.main-header-icon .icon-top a:hover {
  background: var(--soft, #EDF4F9);
  border-color: var(--brand-blue, #3B9FC0);
}

.main-header-icon .icon-top [data-lucide] {
  width: 20px;
  height: 20px;
}

@media (min-width: 850px) and (max-width: 1140px) {
  .main-header-cta .item-cta {
    padding: 8px 10px;
    font-size: 13px;
  }
  .main-header-cta {
    gap: 10px;
  }
}

@media (max-width: 1024px) and (min-width: 850px) {
  .main-header {
    gap: 10px;
  }
  .main-header-cta .systerm .item-cta span {
    display: none;
  }
  .main-header-cta .systerm .item-cta [data-lucide="chevron-down"] {
    display: none;
  }
}

/* ===== Masthead compact / light background overrides ===== */
#masthead .header-inner {
  min-height: 0;
  padding-top: 8px;
  padding-bottom: 8px;
}

#masthead .main-header {
  gap: 24px;
}

#masthead .main-header-cta .hotline .item-cta {
  height: 35px;
  overflow: visible;
  padding-left: 0;
}

#masthead .main-header-cta .hotline .item-cta .hotline-icon {
  height: 52px;
  width: auto;
  flex-shrink: 0;
  margin-left: -6px;
}

#masthead .main-header-icon [data-lucide] {
  color: var(--primary, #1F5D8F);
  width: 20px;
  height: 20px;
}

#masthead .top-divider {
  border-color: var(--border);
  opacity: 1;
}