/* ============================================
   VUA ĐỒ CÂU - Homepage Styles
   ============================================ */

:root {
  --green: #205350;
  --green-dark: #143836;
  --green-light: #e6efee;
  --green-soft: #c7dcda;
  --red: #e02d2d;
  --red-soft: #fde8e8;
  --orange: #ff9800;
  --text: #1a1a1a;
  --text-2: #4a4a4a;
  --text-3: #8a8a8a;
  --line: #e5e7eb;
  --line-2: #eeeeee;
  --bg: #f6f7f9;
  --bg-2: #fafafa;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --container: 1370px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family:
    "Be Vietnam Pro",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
}
input,
textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
}

/* ============================================
   HEADER
   ============================================ */

.header.shadow {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 32px;
  padding: 14px 0;
}
.logo img {
  height: 56px;
  width: auto;
}
.search {
  position: relative;
  max-width: 640px;
  width: 100%;
}
.search input {
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 0 56px 0 44px;
  font-size: 14px;
  outline: none;
  transition: border 0.15s;
}
.search input:focus {
  border-color: var(--green);
}
.search .ico-search {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
}
.search button:not(.cart-btn, .menu-toggle) {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 46px;
  height: 38px;
  background: var(--green);
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.search button:hover {
  background: var(--green-dark);
}

.hotline {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hotline-ico {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hotline-text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.hotline-text small {
  display: block;
  font-size: 11.5px;
  color: var(--text-3);
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 8px 4px;
}
.cart-btn .cart-ico {
  position: relative;
  color: var(--text);
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--green);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-btn > span:not(.cart-ico) {
  font-size: 13.5px;
}
.menu-toggle {
  display: none;
}

@media (max-width: 1100px) {
  .header-main {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }
  .hotline {
    display: none;
  }
}
@media (max-width: 768px) {
  .header-main {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 10px 0;
  }
  .logo {
    justify-self: center;
  }
  .logo img {
    height: 40px;
  }
  .menu-toggle {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    color: var(--text);
  }
  .search {
    order: 5;
    grid-column: 1 / -1;
  }
  .search input {
    height: 40px;
    padding-left: 38px;
    padding-right: 48px;
  }
  .search .ico-search {
    left: 12px;
  }
  .search button {
    height: 32px;
    width: 40px;
  }
  .cart-btn > span:not(.cart-ico) {
    display: none;
  }
  .cart-btn {
    padding: 6px 4px;
  }
  .cart-btn .cart-ico svg {
    width: 22px;
    height: 22px;
  }
}

/* ============================================
   NAV
   ============================================ */
.nav {
  background: #fff;
}
.nav-list,
.nav .menu {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.nav .menu > li > a,
.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
  transition: all 0.15s;
  letter-spacing: 0.2px;
}
.menu-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: middle;
}
.menu-link .menu-icon {
  margin-right: 4px;
}
.nav .menu > li > a:hover,
.nav .menu > li.current-menu-item > a,
.nav .menu > li.current-menu-parent > a,
.nav .menu > li.current-menu-ancestor > a,
.nav-list > li > a:hover,
.nav-list > li.active > a {
  color: var(--green);
  border-bottom-color: var(--green);
}
.nav .menu > li > a.sale,
.nav-list > li > a.sale {
  color: var(--red);
}
.nav .menu > li > a.sale:hover,
.nav-list > li > a.sale:hover {
  border-bottom-color: var(--red);
}

.menu-item-has-children,
.has-sub {
  position: relative;
}
.menu-item-has-children > a::after,
.has-sub > a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  display: inline-block;
  margin-left: 4px;
}

.sub-menu,
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--green);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s;
  z-index: 20;
  padding: 8px 0;
  list-style: none;
  margin: 0;
}
.menu-item-has-children:hover > .sub-menu,
.has-sub:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-menu li a,
.submenu li a {
  display: block;
  padding: 10px 18px;
  font-size: 13.5px;
  color: var(--text);
  text-transform: none;
  font-weight: 500;
  transition: all 0.12s;
}
.sub-menu li a:hover,
.sub-menu li.current-menu-item > a,
.submenu li a:hover {
  background: var(--green-light);
  color: var(--green);
  padding-left: 22px;
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }
}

/* ============================================
   HERO SLIDER (image only)
   ============================================ */
.hero {
  padding: 0;
  background: var(--bg);
}
.hero-slider {
  position: relative;
  overflow: hidden;
}
.hero-slider .owl-stage-outer {
  overflow: hidden;
}
.hero-slide {
  position: relative;
}
.hero-slide a {
  display: block;
  line-height: 0;
}
.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* dots */
.hero-slider .owl-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  margin: 0 !important;
  text-align: center;
  z-index: 4;
}
.hero-slider .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.25s ease;
  border-radius: 999px;
  margin: 0 4px;
}
.hero-slider .owl-dots .owl-dot.active span {
  background: #fff;
  width: 26px;
  border-radius: 4px;
}
@media (max-width: 480px) {
  .hero-slider .owl-dots {
    bottom: 0;
  }
}

/* nav buttons - elegant rounded with arrow */
.hero-slider .owl-nav {
  margin: 0 !important;
}
.hero-slider .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.92);
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--green-dark) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.hero-slider .owl-nav button:hover {
  background: var(--green-dark) !important;
  color: #fff !important;
  transform: translateY(-50%) scale(1);
}
.hero-slider .owl-nav button svg {
  display: block;
}
.hero-slider:hover .owl-nav button {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.hero-slider .owl-nav .owl-prev {
  left: 18px;
}
.hero-slider .owl-nav .owl-next {
  right: 18px;
}
.hero-slider .owl-nav button.disabled {
  opacity: 0 !important;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-slider .owl-nav button {
    width: 28px;
    height: 28px;
    opacity: 1;
  }
  .hero-slider .owl-nav button svg {
    width: 11px;
    height: 11px;
  }
  .hero-slider .owl-nav .owl-prev {
    left: 8px;
  }
  .hero-slider .owl-nav .owl-next {
    right: 8px;
  }
}

/* ============================================
   SERVICE STRIP
   ============================================ */
.services {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.services-slider .owl-stage {
  display: flex;
}
.service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 2px;
}
.service-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-ico svg {
  width: 20px;
  height: 20px;
}
.service-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}
.service-item small {
  display: block;
  color: var(--text-3);
  font-size: 11.5px;
  line-height: 1.35;
  margin-top: 3px;
}
/* native scroll fallback (mobile / before owl init) */
.services-slider:not(.owl-loaded) {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 0;
  padding-bottom: 4px;
}
.services-slider:not(.owl-loaded)::-webkit-scrollbar {
  display: none;
}
.services-slider:not(.owl-loaded) > .service-item {
  flex: 0 0 calc(45% - 6px);
  scroll-snap-align: start;
}
@media (max-width: 768px) {
  .services {
    padding: 16px 0;
  }
  .service-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 6px 4px;
  }
  .service-ico {
    width: 36px;
    height: 36px;
  }
  .service-ico svg {
    width: 18px;
    height: 18px;
  }
  .service-item strong {
    font-size: 12.5px;
  }
  .service-item small {
    font-size: 10.5px;
    margin-top: 2px;
  }
}

/* ============================================
   SECTION COMMON
   ============================================ */
section.block {
  padding: 20px 0;
}
section.block.bg {
  background: var(--bg);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 16px;
}
.section-head h2 {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.3px;
}
.section-head h2::before {
  content: "";
  width: 4px;
  height: 22px;
  background: var(--green);
  border-radius: 2px;
}
.section-head .see-all {
  color: var(--green);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.section-head .see-all:hover {
  color: var(--green-dark);
}
.section-head.center {
  justify-content: center;
}
.section-head.center h2 {
  letter-spacing: 1px;
  font-size: 22px;
}
.section-head.center h2::before {
  width: 60px;
  height: 1px;
  background: var(--line);
  border-radius: 0;
}
.section-head.center h2::after {
  content: "";
  width: 60px;
  height: 1px;
  background: var(--line);
  border-radius: 0;
}
@media (max-width: 768px) {
  .section-head h2,
  .section-head.center h2,
  .newsletter h2 {
    font-size: 14px;
  }
  .section-head h2::before {
    height: 16px;
  }
  .section-head.center h2::before,
  .section-head.center h2::after {
    width: 36px;
  }
}
@media (max-width: 480px) {
  section.block {
    padding: 15px 0;
  }
  .section-head {
    margin-bottom: 10px;
  }
}

/* ============================================
   CATEGORY GRID
   ============================================ */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.cat-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s ease;
}
.cat-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.cat-card .cat-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg);
  overflow: hidden;
}
.cat-card .cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.cat-card:hover .cat-img img {
  transform: scale(1.05);
}
.cat-card .cat-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.cat-card .cat-label svg {
  flex-shrink: 0;
  color: var(--text-3);
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}
.cat-card:hover .cat-label {
  color: var(--green);
}
.cat-card:hover .cat-label svg {
  color: var(--green);
  transform: translateX(3px);
}
@media (max-width: 1024px) {
  .cats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .cat-card .cat-label {
    padding: 8px 10px;
    gap: 6px;
    font-size: 12.5px;
  }
  .cat-card .cat-label svg {
    width: 12px;
    height: 12px;
  }
}
@media (max-width: 480px) {
  .cats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .cat-card .cat-label {
    padding: 6px 9px;
    gap: 4px;
    font-size: 10px;
  }
  .cat-card .cat-label svg {
    width: 11px;
    height: 11px;
  }
}

/* ============================================
   PRODUCT TABS
   ============================================ */
.tabs-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--line);
}
.tabs-title {
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 800;
  padding-right: 22px;
  margin-right: 4px;
  border-right: 2px solid var(--line);
  letter-spacing: 0.3px;
  flex-shrink: 0;
}
.tabs-nav {
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tabs-nav::-webkit-scrollbar {
  display: none;
}
.tabs-head .see-all {
  margin-left: auto;
  padding-bottom: 12px;
  flex-shrink: 0;
}
.tab-btn {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  position: relative;
  margin-bottom: -2px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s;
}
.tab-btn.active {
  color: var(--green);
  border-bottom-color: var(--green);
}
.tab-btn:hover {
  color: var(--green);
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 640px) {
  .tabs-head {
    gap: 0;
  }
  .tabs-title {
    font-size: 16px;
    padding: 8px 0;
    margin-right: 0;
    border-right: none;
    flex: 1 1 auto;
  }
  .tabs-head .see-all {
    font-size: 12.5px;
    padding-bottom: 0;
    padding: 8px 0;
  }
  .tabs-nav {
    width: 100%;
    margin-top: 0;
    gap: 2px;
  }
  .tab-btn {
    padding: 10px 12px;
  }
}

/* ============================================
   PRODUCT CARD
   ============================================ */
.products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.products.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.products.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.products.cols-5 {
  grid-template-columns: repeat(5, 1fr);
}
.products.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* list view (overrides any cols-* setting) */
.products.list-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.products.list-view .product {
  flex-direction: row;
  align-items: stretch;
}
.products.list-view .product-img {
  width: 220px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-right: 1px solid var(--line);
}
.products.list-view .product-info {
  flex: 1;
  padding: 16px 20px;
}
.products.list-view .product-name {
  font-size: 15px;
  min-height: 0;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  margin-bottom: 8px;
}
.products.list-view .product-spec {
  margin-bottom: 14px;
}
.products.list-view .product-price-line {
  margin-top: 0;
}
.products.list-view .product-price {
  font-size: 17px;
}
.products.list-view .product-meta {
  margin-top: 10px;
}
@media (max-width: 678px) {
  .products.list-view .product-img {
    width: 110px;
  }
  .products.list-view .product-info {
    padding: 10px 12px;
  }
  .products.list-view .product-name {
    font-size: 13px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .products.list-view .product-spec {
    display: none;
  }
  .products.list-view .product-meta {
    margin-top: 4px;
    font-size: 11px;
  }
}

/* slider mode for .products */
.products.owl-carousel {
  display: block;
  grid-template-columns: none;
  gap: 0;
  position: relative;
}
.products.owl-carousel .owl-stage {
  display: flex;
  padding: 2px 0 6px;
}
.products.owl-carousel .owl-item {
  display: flex;
}
.products.owl-carousel .owl-item .product {
  flex: 1;
  width: 100%;
}
.product-slider .owl-nav,
.product-slider-3 .owl-nav,
.product-slider-2 .owl-nav {
  margin: 0 !important;
}
.product-slider .owl-nav button,
.product-slider-3 .owl-nav button,
.product-slider-2 .owl-nav button {
  position: absolute;
  top: 38%;
  transform: translateY(-50%) scale(0.95);
  width: 38px;
  height: 38px;
  background: #fff !important;
  color: var(--green-dark) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  border: 1px solid var(--line) !important;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.2s,
    color 0.2s;
  z-index: 5;
}
.product-slider:hover .owl-nav button,
.product-slider-3:hover .owl-nav button,
.product-slider-2:hover .owl-nav button,
.hot-tabs:hover .owl-nav button {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.product-slider .owl-nav button:hover,
.product-slider-3 .owl-nav button:hover,
.product-slider-2 .owl-nav button:hover {
  background: var(--green) !important;
  color: #fff !important;
}
.product-slider .owl-nav .owl-prev,
.product-slider-3 .owl-nav .owl-prev,
.product-slider-2 .owl-nav .owl-prev {
  left: -16px;
}
.product-slider .owl-nav .owl-next,
.product-slider-3 .owl-nav .owl-next,
.product-slider-2 .owl-nav .owl-next {
  right: -16px;
}
.product-slider .owl-nav button.disabled,
.product-slider-3 .owl-nav button.disabled,
.product-slider-2 .owl-nav button.disabled {
  opacity: 0 !important;
  pointer-events: none;
}
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.18s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.product-img {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img img,
.product-img svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
}
.product-badge.new {
  background: var(--green);
}
.product-brand {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.7);
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 1;
  opacity: 0.8;
}
.product-info {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-info .brand-line {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}
.product-name {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}
.product:hover .product-name {
  color: var(--green);
}
.product-spec {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 8px;
}

.product-price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}
.product-price {
  color: var(--red);
  font-weight: 700;
  font-size: 15px;
}
.product-price-old {
  color: var(--text-3);
  font-size: 12.5px;
  text-decoration: line-through;
}
.product-meta {
  display: flex;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-3);
}

.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #f7b500;
  font-size: 11px;
}
.product-add {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  background: var(--green);
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.18s;
  z-index: 2;
}
.product:hover .product-add {
  opacity: 1;
  transform: translateY(0);
}
.product-add:hover {
  background: var(--green-dark);
}

@media (max-width: 1024px) {
  .products:not(.owl-carousel),
  .products.cols-4:not(.owl-carousel) {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1024px) {
  .products.cols-3:not(.owl-carousel):not(.list-view) {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 678px) {
  .products:not(.owl-carousel),
  .products.cols-4:not(.owl-carousel) {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .products.cols-3:not(.owl-carousel):not(.list-view) {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
@media (max-width: 640px) {
  .product-name {
    font-size: 12.5px;
  }
  .product-price-line {
    flex-wrap: wrap;
    gap: 4px 8px;
    row-gap: 2px;
    align-items: baseline;
  }
  .product-price {
    font-size: 14px;
    font-weight: 800;
  }
  .product-price-old {
    font-size: 11px;
  }
  .product-slider .owl-nav button {
    opacity: 1;
    width: 28px;
    height: 28px;
  }
  .product-slider .owl-nav button svg {
    width: 11px;
    height: 11px;
  }
  .product-slider .owl-nav .owl-prev {
    left: 2px;
  }
  .product-slider .owl-nav .owl-next {
    right: 2px;
  }
  .product-info {
    padding: 10px 8px 8px;
  }
}
@media (max-width: 480px) {
  .product-badge {
    top: 3px;
    left: 3px;
    font-size: 10px;
    padding: 2px 4px;
  }
  .product-meta {
    margin-top: 1px;
  }
}

/* ============================================
   PROMO BANNER
   ============================================ */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.promo-card {
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
}
.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: transform 0.5s ease;
}
.promo-card:hover::before {
  transform: scale(1.05);
}
.promo-card.a::before {
  background:
    linear-gradient(
      120deg,
      rgba(20, 56, 54, 0.88) 0%,
      rgba(32, 83, 80, 0.72) 60%,
      rgba(32, 83, 80, 0.55) 100%
    ),
    url("../images/promo-bg-1.jpg") center / cover no-repeat;
}
.promo-card.b::before {
  background:
    linear-gradient(
      120deg,
      rgba(44, 24, 16, 0.85) 0%,
      rgba(139, 69, 19, 0.65) 55%,
      rgba(212, 134, 30, 0.55) 100%
    ),
    url("../images/promo-bg-2.jpg") center / cover no-repeat;
}
.promo-card small {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  opacity: 0.85;
}
.promo-card .promo-title {
  display: block;
  font-size: 26px;
  margin: 6px 0 12px;
  line-height: 1.2;
  font-weight: 800;
}
.promo-card p {
  margin: 0 0 18px;
  opacity: 0.9;
  max-width: 320px;
}
.promo-card .promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 4px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  width: fit-content;
}
.promo-card .promo-cta:hover {
  border-color: #fff;
}
@media (max-width: 768px) {
  .promo-grid {
    grid-template-columns: 1fr;
  }
  .promo-card {
    padding: 24px;
    min-height: 140px;
  }
  .promo-card .promo-title {
    font-size: 20px;
  }
}

/* ============================================
   BRAND STRIP
   ============================================ */
.brand-strip {
  padding: 12px 0;
}
.brand-logo {
  height: 90px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition:
    filter 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}
.brand-logo:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
}
.brand-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.04);
}
@media (max-width: 768px) {
  .brand-logo {
    height: 70px;
    padding: 10px 14px;
  }
}

/* ============================================
   BLOG
   ============================================ */
.blog-grid {
  position: relative;
}
.blog-grid .owl-stage {
  display: flex;
  padding: 4px 0 8px;
}
.blog-grid .owl-item {
  display: flex;
}

/* native scroll fallback (mobile / before owl init) */
.blog-grid:not(.owl-loaded) {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 14px;
  padding: 4px 0 10px;
}
.blog-grid:not(.owl-loaded)::-webkit-scrollbar {
  display: none;
}
.blog-grid:not(.owl-loaded) > .blog-card,
.blog-grid:not(.owl-loaded) > .post-card {
  flex: 0 0 78%;
  scroll-snap-align: start;
}
@media (min-width: 640px) and (max-width: 899px) {
  .blog-grid:not(.owl-loaded) > .blog-card,
  .blog-grid:not(.owl-loaded) > .post-card {
    flex: 0 0 46%;
  }
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.18s;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}
.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.blog-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #d0e8db, #88c4a0);
  position: relative;
  overflow: hidden;
}
.blog-thumb.a {
  background: linear-gradient(135deg, #1f4e8d, #4a90d9);
}
.blog-thumb.b {
  background: linear-gradient(135deg, #b8470d, #ff8a3d);
}
.blog-thumb.c {
  background: linear-gradient(135deg, #143836, #2d7570);
}
.blog-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 30% 40%,
    rgba(255, 255, 255, 0.2),
    transparent 60%
  );
}
.blog-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.blog-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-3);
}
.blog-meta .tag {
  background: var(--green-light);
  color: var(--green);
  padding: 2px 10px;
  border-radius: 3px;
  font-weight: 600;
}
.blog-card h3 {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card:hover h3 {
  color: var(--green);
}
.blog-card p {
  font-size: 13px;
  color: var(--text-2);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card .read-more {
  color: var(--green);
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
/* blog slider nav */
.blog-grid .owl-nav {
  margin: 0 !important;
}
.blog-grid .owl-nav button {
  position: absolute;
  top: 38%;
  transform: translateY(-50%) scale(0.95);
  width: 40px;
  height: 40px;
  background: #fff !important;
  color: var(--green-dark) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  border: 1px solid var(--line) !important;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.2s,
    color 0.2s;
  z-index: 5;
}
.blog-grid:hover .owl-nav button {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.blog-grid .owl-nav button:hover {
  background: var(--green) !important;
  color: #fff !important;
}
.blog-grid .owl-nav .owl-prev {
  left: -14px;
}
.blog-grid .owl-nav .owl-next {
  right: -14px;
}
.blog-grid .owl-nav button.disabled {
  opacity: 0 !important;
  pointer-events: none;
}
@media (max-width: 768px) {
  .blog-grid .owl-nav button {
    opacity: 1;
    width: 26px;
    height: 26px;
  }
  .blog-grid .owl-nav button svg {
    width: 10px;
    height: 10px;
  }
  .blog-grid .owl-nav .owl-prev {
    left: 2px;
  }
  .blog-grid .owl-nav .owl-next {
    right: 2px;
  }
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
  background: linear-gradient(115deg, var(--green-dark), var(--green));
  color: #fff;
  padding: 40px 0;
}
.newsletter-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.newsletter h2 {
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 800;
}
.newsletter p {
  opacity: 0.9;
  margin: 0;
}
.newsletter-form {
  display: flex;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
  box-shadow: var(--shadow-lg);
}
.newsletter-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 14px;
  background: transparent;
  color: var(--text);
}
.newsletter-form button {
  background: var(--green-dark);
  color: #fff;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: background 0.15s;
}
.newsletter-form button:hover {
  background: #0a3318;
}
@media (max-width: 768px) {
  .newsletter-flex {
    grid-template-columns: 1fr;
  }
  .newsletter-form button {
    padding: 0 10px;
    font-size: 10px;
  }
  .newsletter-form {
    padding: 3px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #111;
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
  font-size: 13px;
}
.footer a:hover {
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer img.flogo {
  height: 56px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}
.footer .footer-title {
  display: block;
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.footer ul li {
  margin-bottom: 8px;
}
.footer .contact-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: flex-start;
}
.footer .contact-row svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}
.footer .socials {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
}
.footer .socials a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 0;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.15s;
}
.footer .socials a:hover {
  transform: translateY(-2px);
}
.footer .socials a svg,
.footer .socials a img {
  width: 36px;
  height: 36px;
  display: block;
}
.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
}
.payments {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.payments img {
  width: 32px;
  height: 32px;
  display: block;
  opacity: 0.92;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
.payments img:hover {
  opacity: 1;
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* footer accordion */
  .footer-col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-col:last-child {
    border-bottom: none;
  }
  .footer-col .footer-title {
    margin: 0;
    padding: 14px 0;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  .footer-col .footer-title::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-right: 4px;
    transition: transform 0.25s ease;
  }
  .footer-col .footer-title[aria-expanded="true"]::after {
    transform: rotate(-135deg);
    margin-top: 4px;
  }
  .footer-col .footer-col-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .footer-col .footer-col-body.open {
    max-height: 500px;
    padding-bottom: 14px;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    margin-bottom: 10px;
  }
  .footer-col-first {
    margin-bottom: 20px;
  }
}

/* ============================================
   MOBILE DRAWER MENU
   ============================================ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
  z-index: 100;
}
.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 86%;
  max-width: 360px;
  background: #fff;
  z-index: 101;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.drawer.open {
  transform: translateX(0);
}
.drawer.right {
  left: auto;
  right: 0;
  transform: translateX(100%);
  width: 90%;
  max-width: 420px;
}
.drawer.right.open {
  transform: translateX(0);
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.drawer-head .logo img {
  height: 38px;
}
.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.drawer-close:hover {
  background: var(--bg);
}
.drawer-search {
  padding: 14px 18px 4px;
}
.drawer-search .search {
  max-width: none;
}
.drawer-search input {
  height: 42px;
}

.menu-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.menu-item:first-child {
  border-top: none;
}
.menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  width: 100%;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  position: relative;
}
.menu-link .menu-ico {
  width: 22px;
  color: var(--text-2);
  display: flex;
}
.menu-link .chev {
  margin-left: auto;
  color: var(--text-3);
  transition: transform 0.2s;
  display: flex;
  align-items: center;
  /* Vùng bấm rộng hơn để mở/đóng sub-menu mà không đụng vào link */
  padding: 10px;
  margin-right: -10px;
  cursor: pointer;
}
.menu-item.active > .menu-link {
  background: var(--green-light);
  color: var(--green);
  position: relative;
}
.menu-item.active > .menu-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: var(--green);
  border-radius: 0 2px 2px 0;
}
.menu-item.active > .menu-link .menu-ico {
  color: var(--green);
}
.menu-item.open > .menu-link .chev {
  transform: rotate(180deg);
}
.menu-sub {
  display: none;
  background: var(--bg-2);
}
.menu-item.open > .menu-sub {
  display: block;
}
.menu-sub a {
  display: block;
  padding: 12px 18px 12px 52px;
  font-size: 14px;
  color: var(--text-2);
}
.menu-sub a:hover {
  color: var(--green);
}
.drawer-cta {
  margin: 14px 18px 18px;
  background: var(--green-dark);
  color: #fff;
  padding: 16px 18px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 14px;
}
.drawer-cta .ico-truck {
  color: #fff;
}
.drawer-cta strong {
  display: block;
  font-size: 15px;
  text-transform: uppercase;
}
.drawer-cta small {
  display: block;
  font-size: 12.5px;
  opacity: 0.85;
}
.drawer-cta .chev {
  margin-left: auto;
}

/* ============================================
   MINI CART
   ============================================ */
.cart-head {
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.cart-head .cart-head-title {
  display: block;
  padding: 18px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.cart-head .drawer-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0;
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-2);
}
.cart-item .ci-img {
  width: 80px;
  height: 80px;
  background: var(--bg);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cart-item .ci-img img,
.cart-item .ci-img svg {
  width: 90%;
  height: 90%;
  object-fit: contain;
}
.ci-info h4 {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}
.ci-info .ci-var {
  color: var(--text-3);
  font-size: 12.5px;
  margin-bottom: 6px;
}
.ci-info .ci-price {
  color: var(--red);
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 8px;
}
.qty {
  display: inline-flex;
  overflow: hidden;
}
.qty button {
  width: 32px;
  height: 32px;
  font-size: 16px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s;
}
.qty button:hover {
  background: var(--bg);
}
.qty input {
  width: 40px;
  height: 32px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px;
  outline: none;
}
.qty input::-webkit-inner-spin-button,
.qty input::-webkit-outer-spin-button {
  display: none;
}
.ci-remove {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  border: 1px solid var(--line);
  border-radius: 6px;
  align-self: flex-start;
  transition: all 0.12s;
}
.ci-remove:hover {
  background: var(--red-soft);
  border-color: var(--red);
}

.cart-foot {
  border-top: 1px solid var(--line);
  padding: 16px 18px 20px;
  background: #fff;
}
.cart-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
}
.cart-row.total {
  background: var(--green-light);
  padding: 14px 16px;
  margin: 10px -18px;
  font-size: 15px;
  font-weight: 700;
}
.cart-row.total .v {
  color: var(--red);
  font-size: 18px;
}
.btn-cod {
  width: 100%;
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  padding: 14px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
  transition: background 0.15s;
}
.btn-cod:hover {
  background: var(--green-dark);
}
.btn-cod small {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  text-transform: none;
  opacity: 0.9;
  margin-top: 2px;
}
.btn-view-cart {
  width: 100%;
  border: 1.5px solid var(--green);
  color: var(--green);
  border-radius: 8px;
  padding: 12px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.15s;
}
.btn-view-cart:hover {
  background: var(--green-light);
}
.cart-secure {
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.cart-empty {
  padding: 60px 24px;
  text-align: center;
  color: var(--text-3);
}
.cart-empty svg {
  opacity: 0.35;
  margin-bottom: 14px;
}

/* ============================================
   MOBILE BOTTOM NAV
   ============================================ */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  z-index: 40;
  padding: 6px 0 max(6px, env(safe-area-inset-bottom));
}
.bottom-nav-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 4px;
  font-size: 11px;
  color: var(--text-3);
  position: relative;
}
.bottom-nav a.active,
.bottom-nav a:hover {
  color: var(--green);
}
.bottom-nav .bn-call {
  margin-top: -22px;
  background: var(--green);
  color: #fff !important;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  justify-content: center;
  font-size: 0;
  align-self: center;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 14px rgba(32, 83, 80, 0.4);
  position: relative;
  animation: bnCallPulse 1.8s ease-out infinite;
}
.bottom-nav .bn-call::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(32, 83, 80, 0.5);
  animation: bnCallRing 1.8s ease-out infinite;
}
@keyframes bnCallPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
@keyframes bnCallRing {
  0% {
    box-shadow: 0 0 0 0 rgba(32, 83, 80, 0.55);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(32, 83, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(32, 83, 80, 0);
  }
}
@media (max-width: 768px) {
  .bottom-nav {
    display: block;
  }
  body {
    padding-bottom: 64px;
  }
}

/* ============================================
   UTIL
   ============================================ */
.no-scroll {
  overflow: hidden;
}
/* Brief highlight when bottom-nav "Mua ngay" jumps to the buy button */
.vdc-flash {
  animation: vdcFlash 1.2s ease-out;
}
@keyframes vdcFlash {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(32, 83, 80, 0);
  }
  30% {
    box-shadow: 0 0 0 4px rgba(32, 83, 80, 0.45);
  }
}
.text-red {
  color: var(--red);
}
.text-green {
  color: var(--green);
}
.placeholder-img {
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 8px,
      rgba(0, 0, 0, 0.03) 8px,
      rgba(0, 0, 0, 0.03) 10px
    ),
    linear-gradient(135deg, #fafafa, #ececec);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* sweetalert override */
.swal-button--confirm {
  background-color: var(--green) !important;
}
.swal-button--confirm:hover {
  background-color: var(--green-dark) !important;
}
.swal-button--cancel {
  color: var(--text-2) !important;
}
.swal-title {
  font-family: inherit !important;
}
.swal-text {
  font-family: inherit !important;
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-page {
  padding: 20px 0 60px;
}

.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 47.4%) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

/* ----- gallery ----- */
.pd-gallery {
  position: sticky;
  top: 12px;
}
.pd-main-img {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.pd-main-img .placeholder-img {
  height: 100%;
  font-size: 14px;
}
.pd-main-link {
  display: block;
  height: 100%;
}
.pd-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}
.pd-zoom {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  box-shadow: var(--shadow-sm);
  transition: all 0.15s;
}
.pd-zoom:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.pd-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.pd-thumbs li button {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.pd-thumbs li button:hover {
  border-color: var(--green);
}
.pd-thumbs li.active button {
  border-color: var(--green);
}
.pd-thumbs .placeholder-img {
  height: 100%;
  font-size: 10px;
}

/* ----- info ----- */
.pd-info {
  padding-top: 4px;
}
.pd-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}
.pd-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 18px;
}
.pd-meta .pd-brand {
  font-weight: 700;
  color: var(--text);
}
.pd-meta .stars {
  color: #f5a623;
  letter-spacing: 1px;
}
.pd-meta .stars em {
  color: var(--text-3);
  font-style: normal;
  margin-left: 2px;
  font-size: 12px;
}
.pd-meta .pd-divider {
  width: 1px;
  height: 14px;
  background: var(--line);
}
.pd-meta .pd-sold {
  color: var(--text-3);
}

.pd-price-line {
  padding: 14px 18px;
  background: var(--bg);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.pd-price-line .pd-price {
  color: var(--red);
  font-size: 26px;
  font-weight: 800;
}

.pd-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 16px;
}
.pd-tab {
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-2);
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s;
  letter-spacing: 0.3px;
}
.pd-tab:hover {
  color: var(--green);
}
.pd-tab.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.pd-excerpt {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0 0 18px;
}

.pd-section-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
  color: var(--text);
}

.variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.variant-list li {
  position: relative;
}
.variant-list input[type="radio"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.variant-list label {
  width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}
.variant-list label:hover {
  border-color: var(--green);
}
.variant-list input[type="radio"]:checked + label {
  border-color: var(--green);
  background: var(--green-light);
  box-shadow: inset 0 0 0 1px var(--green);
}
.variant-list .v-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg);
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.variant-list .v-thumb .placeholder-img {
  width: 100%;
  height: 100%;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.variant-list .v-text {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-2);
  line-height: 1.2;
  word-break: break-word;
}
.variant-list input[type="radio"]:checked + label .v-text {
  color: var(--green);
}

.pd-final-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 18px 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.pd-price-now {
  color: var(--red);
  font-size: 28px;
  font-weight: 800;
}
.pd-price-old {
  color: var(--text-3);
  font-size: 15px;
  text-decoration: line-through;
}

.pd-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.qty {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.qty-label {
  font-size: 12px;
  color: var(--text-2);
  font-weight: 600;
  letter-spacing: 0.2px;
}
.qty-box {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s;
}
.qty-box:hover,
.qty-box:focus-within {
  border-color: var(--green);
}
.qty-box button {
  width: 36px;
  height: 40px;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.12s,
    background 0.12s;
}
.qty-box button:hover {
  color: var(--green);
  background: var(--green-light);
}
.qty-box button:active {
  transform: scale(0.92);
}
.qty-box input {
  width: 38px;
  height: 40px;
  border: none;
  text-align: center;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  background: transparent;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
  padding: 0;
}
.qty-box input::-webkit-outer-spin-button,
.qty-box input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-add-cart {
  flex: 1;
  min-width: 200px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition:
    background 0.15s,
    transform 0.12s,
    box-shadow 0.15s;
}
.btn-add-cart:hover {
  box-shadow: 0 6px 18px rgba(32, 83, 80, 0.28);
}
.btn-add-cart:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}
.btn-add-cart:active {
  transform: translateY(0);
}

/* ----- frequently bought together ----- */
.bundle-section {
  padding: 36px 0 12px;
}
.section-title {
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  position: relative;
  padding-left: 14px;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: var(--green);
}

.bundle-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: stretch;
}
.bundle-items {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 6px;
}
.bundle-items::-webkit-scrollbar {
  display: none;
}

.b-card {
  flex: 1 1 140px;
  min-width: 0;
  max-width: 170px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.b-check {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 3;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.b-check input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.b-check span {
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  transition: all 0.15s;
}
.b-check input:checked + span {
  background: var(--green);
  border-color: var(--green);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.b-check input:disabled + span {
  background: var(--green-soft);
  border-color: var(--green-soft);
}

.b-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.b-card:hover .b-img {
  border-color: var(--green);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.b-img .placeholder-img {
  height: 100%;
  font-size: 10px;
}
.b-discount {
  position: absolute;
  left: 0;
  bottom: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px 2px 6px;
  border-radius: 0 4px 4px 0;
}
.b-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--green);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.b-name {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  color: var(--text);
}

.b-variant {
  font-size: 11.5px;
  color: var(--text-3);
  line-height: 1.3;
}
.b-variant-select {
  width: 100%;
  padding: 5px 22px 5px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  font-size: 11.5px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 8px;
  color: var(--text-2);
}
.b-variant-select:focus {
  outline: none;
  border-color: var(--green);
}

.b-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.b-old {
  color: var(--text-3);
  font-size: 11.5px;
  text-decoration: line-through;
}
.b-new {
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.b-plus {
  flex: 0 0 16px;
  align-self: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--text-3);
  text-align: center;
  margin-top: 60px;
}

/* summary panel */
.bundle-summary {
  background: linear-gradient(180deg, var(--green-light) 0%, #fff 60%);
  border: 1px solid var(--green-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  position: relative;
}
.b-sum-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 700;
}
.b-sum-row + .b-sum-row {
  padding-top: 8px;
  border-top: 1px dashed var(--green-soft);
}
.b-sum-vals {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.b-sum-old {
  color: var(--text-3);
  font-size: 11.5px;
  text-decoration: line-through;
  font-weight: 500;
}
.b-sum-new {
  color: var(--red);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}
.b-sum-row.save strong {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.btn-bundle-buy {
  margin-top: 2px;
  background: var(--green);
  color: #fff;
  border-radius: 6px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "ico label" "ico mini";
  align-items: center;
  gap: 1px 10px;
  text-align: left;
  transition:
    background 0.15s,
    box-shadow 0.15s,
    transform 0.12s;
  box-shadow: 0 3px 10px rgba(32, 83, 80, 0.16);
}
.btn-bundle-buy:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 18px rgba(32, 83, 80, 0.28);
  transform: translateY(-1px);
}
.btn-bundle-buy:active {
  transform: translateY(0);
}
.btn-bundle-buy svg {
  grid-area: ico;
  width: 18px;
  height: 18px;
}
.btn-bundle-buy > span {
  grid-area: label;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.btn-bundle-buy > span strong {
  font-weight: 900;
}
.btn-bundle-buy small {
  grid-area: mini;
  font-size: 10.5px;
  opacity: 0.9;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.btn-bundle-buy small em {
  font-style: normal;
  font-weight: 700;
}

/* ----- ADD-ON SLIDER (cross-sell, uses .product card markup) ----- */
.addon-slider {
  position: relative;
}

/* nav arrows (same style as .product-slider) */
.addon-slider .owl-nav {
  margin: 0 !important;
}
.addon-slider .owl-nav button {
  position: absolute;
  top: 38%;
  transform: translateY(-50%) scale(0.95);
  width: 38px;
  height: 38px;
  background: #fff !important;
  color: var(--green-dark) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  border: 1px solid var(--line) !important;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.2s,
    color 0.2s;
  z-index: 5;
}
.addon-slider:hover .owl-nav button {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.addon-slider .owl-nav button:hover {
  background: var(--green) !important;
  color: #fff !important;
}
.addon-slider .owl-nav .owl-prev {
  left: -16px;
}
.addon-slider .owl-nav .owl-next {
  right: -16px;
}
.addon-slider .owl-nav button.disabled {
  opacity: 0 !important;
  pointer-events: none;
}

/* variant select inside .product-info (used by addon cards) */
.product-variant-select {
  width: 100%;
  font-size: 12px;
  padding: 6px 26px 6px 10px;
  border: 1px solid var(--green-soft);
  border-radius: 5px;
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23205350' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
  appearance: none;
  -webkit-appearance: none;
  color: var(--text-2);
  margin: 6px 0;
  cursor: pointer;
}
.product-variant-select:focus {
  outline: none;
  border-color: var(--green);
}

/* add-to-cart button inside .product-info */
.btn-addon-add {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  background: var(--green-light);
  color: var(--green);
  border: 1px solid var(--green-soft);
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.btn-addon-add:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ----- addon: checkbox overlay on each card ----- */
.addon-product {
  position: relative;
}
.addon-product.checked {
  border-color: var(--green);
}
.addon-product .product-badge {
  left: auto;
  right: 8px;
}
@media (max-width: 480px) {
  .addon-product .product-badge {
    left: auto;
    right: 3px;
  }
}
.addon-check {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  width: 22px;
  height: 22px;
  cursor: pointer;
  display: inline-block;
}
.addon-check input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.addon-check-box {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #fff;
  border: 1.5px solid var(--line);
  position: relative;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.addon-check-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 0.15s ease;
}
.addon-check input:checked ~ .addon-check-box {
  background: var(--green);
  border-color: var(--green);
}
.addon-check input:checked ~ .addon-check-box::after {
  transform: rotate(45deg) scale(1);
}

/* ----- addon footer (bulk add) ----- */
.addon-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex-wrap: wrap;
}
.addon-foot-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-2);
}
.addon-foot-info svg {
  color: var(--green);
}
.addon-foot-info strong {
  color: var(--text);
  font-weight: 700;
}
.addon-foot-total {
  margin-left: auto;
  font-size: 13.5px;
  color: var(--text-2);
}
.addon-foot-total strong {
  color: var(--red);
  font-weight: 800;
  font-size: 17px;
  margin-left: 4px;
}
.btn-addon-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-addon-all:hover {
  background: var(--green-dark);
}
.btn-addon-all:disabled {
  background: var(--text-3);
  cursor: not-allowed;
  opacity: 0.65;
}

@media (max-width: 640px) {
  .product-variant-select {
    font-size: 11.5px;
    padding: 5px 22px 5px 8px;
  }
  .btn-addon-add {
    font-size: 11.5px;
    padding: 8px 10px;
  }
  .addon-slider .owl-nav button {
    opacity: 1;
    width: 28px;
    height: 28px;
  }
  .addon-slider .owl-nav button svg {
    width: 11px;
    height: 11px;
  }
  .addon-slider .owl-nav .owl-prev {
    left: 2px;
  }
  .addon-slider .owl-nav .owl-next {
    right: 2px;
  }

  .addon-check {
    top: 5px;
    left: 5px;
    width: 18px;
    height: 18px;
  }
  .addon-check-box {
    width: 18px;
    height: 18px;
  }
  .addon-check-box::after {
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
  }

  .addon-foot {
    gap: 8px 12px;
    padding: 12px 14px;
    margin-top: 14px;
  }
  .addon-foot-info {
    font-size: 12.5px;
  }
  .addon-foot-total {
    font-size: 12.5px;
    margin-left: 0;
  }
  .addon-foot-total strong {
    font-size: 15px;
  }
  .btn-addon-all {
    width: 100%;
    padding: 11px 16px;
    font-size: 12.5px;
  }
}

/* ----- service strip (full-width row between buy box & add-ons) ----- */
.pd-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 18px 22px;
  margin: 14px 0 28px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.pd-service {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: var(--text-2);
  line-height: 1.3;
}
.pd-service + .pd-service {
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
.pd-service-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--green-soft);
}
.pd-service-ico svg {
  width: 22px;
  height: 22px;
}
.pd-service-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.pd-service-text strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}
.pd-service-text small {
  font-size: 12px;
  color: var(--text-3);
}

/* ----- spec table ----- */
.spec-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.spec-table tr:nth-child(odd) {
  background: var(--bg);
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 18px;
  vertical-align: top;
}
.spec-table th {
  width: 30%;
  font-weight: 600;
  color: var(--text-2);
  border-right: 1px solid var(--line);
}
.spec-table td {
  color: var(--text);
}

/* ----- models table ----- */
.models-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.models-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 600px;
}
.models-table thead {
  background: var(--green);
  color: #fff;
}
.models-table th,
.models-table td {
  padding: 12px 14px;
  text-align: left;
}
.models-table th {
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.models-table tbody tr {
  border-top: 1px solid var(--line);
}
.models-table tbody tr:hover {
  background: var(--green-light);
}
.table-note {
  font-size: 12px;
  color: var(--text-3);
  margin: 10px 16px;
  font-style: italic;
}

/* ----- marketing hero ----- */
.mkt-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #0a0a0a;
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.mkt-hero-img {
  position: relative;
  min-height: 320px;
}
.mkt-hero-img .placeholder-img {
  height: 100%;
  background: linear-gradient(135deg, #1f3a4d, #0a1a2e);
  color: rgba(255, 255, 255, 0.5);
}
.mkt-hero-text {
  padding: 36px 36px;
}
.mkt-hero-text h2 {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.25;
  margin-bottom: 14px;
}
.mkt-hero-text p {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ----- tech features ----- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.tech-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.18s;
}
.tech-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--green);
}
.tech-img {
  aspect-ratio: 4 / 3;
  background: var(--bg);
  border-radius: 6px;
  overflow: hidden;
}
.tech-img .placeholder-img {
  height: 100%;
  font-size: 11px;
}
.tech-card h3 {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: var(--text);
}
.tech-card p {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}

/* ----- review block ----- */
.review-block {
  padding-bottom: 12px;
}
.review-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  align-items: start;
}
.review-points {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.review-points li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  border-bottom: 1px dashed var(--line-2);
}
.review-points li:last-child {
  border-bottom: none;
}
.review-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  background: var(--green-light);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23205350' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

.review-target {
  background: var(--green-light);
  border: 1px solid var(--green-soft);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.review-target > strong {
  display: block;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.target-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--text-2);
}
.target-list .ok {
  color: var(--green);
  font-weight: 900;
  flex-shrink: 0;
}
.target-list .no {
  color: var(--red);
  font-weight: 900;
  flex-shrink: 0;
}

/* ----- sticky bar (mobile) ----- */
.pd-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 8px 12px;
  z-index: 45;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  align-items: center;
  gap: 10px;
}
.pd-sticky-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pd-sticky-info strong {
  color: var(--red);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
}
.pd-sticky-info small {
  font-size: 11.5px;
  color: var(--text-3);
}
.pd-sticky-bar .btn-add-cart {
  flex: none;
  min-width: 0;
  width: auto;
  padding: 0 16px;
  height: 40px;
  font-size: 13px;
}

/* ----- responsive ----- */
@media (max-width: 1024px) {
  .pd-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .pd-gallery {
    position: relative;
  }
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mkt-hero {
    grid-template-columns: 1fr;
  }
  .mkt-hero-img {
    min-height: 220px;
  }
  .pd-services {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 16px;
  }
  .pd-service:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .product-page {
    padding: 14px 0 100px;
  }
  .pd-title {
    font-size: 18px;
  }
  .pd-price-line .pd-price {
    font-size: 20px;
  }
  .pd-price-now {
    font-size: 22px;
  }
  .pd-thumbs {
    grid-template-columns: repeat(5, 1fr);
  }
  .pd-tabs {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .pd-tabs::-webkit-scrollbar {
    display: none;
  }
  .pd-tab {
    padding: 10px 12px;
    font-size: 12.5px;
    white-space: nowrap;
  }

  /* bundle: stack summary below items on mobile */
  .bundle-wrap {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .b-card {
    flex: 0 0 130px;
  }
  .b-name {
    font-size: 11.5px;
    min-height: 2.6em;
  }
  .b-new {
    font-size: 13px;
  }
  .b-old {
    font-size: 11px;
  }
  .b-plus {
    margin-top: 50px;
    font-size: 16px;
    flex: 0 0 12px;
  }
  .bundle-summary {
    padding: 14px;
  }
  .b-sum-new {
    font-size: 17px;
  }

  .pd-services {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
    padding: 14px 12px;
    margin: 10px 0 22px;
  }
  .pd-service {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
  .pd-service + .pd-service {
    border-left: 0;
    padding-left: 0;
  }
  .pd-service-ico {
    width: 36px;
    height: 36px;
  }
  .pd-service-ico svg {
    width: 18px;
    height: 18px;
  }
  .pd-service-text strong {
    font-size: 12.5px;
  }
  .pd-service-text small {
    font-size: 11px;
  }

  .spec-table {
    font-size: 13px;
  }
  .spec-table th,
  .spec-table td {
    padding: 10px 12px;
  }
  .spec-table th {
    width: 38%;
  }

  .mkt-hero-text {
    padding: 22px 18px;
  }
  .mkt-hero-text h2 {
    font-size: 17px;
  }

  .tech-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .tech-card {
    padding: 10px;
  }
  .tech-card h3 {
    font-size: 12.5px;
  }
  .tech-card p {
    font-size: 11.5px;
  }

  .section-title {
    font-size: 16px;
  }

  /* sticky bar visible only on mobile */
  .pd-sticky-bar {
    display: flex;
    bottom: 56px;
  }
  body {
    padding-bottom: 0;
  }
}

/* ============================================
   ARCHIVE / CATEGORY PAGE
   ============================================ */
.breadcrumb {
  padding: 12px 0;
  background: var(--bg);
  font-size: 13px;
  color: var(--text-3);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--text-3);
}
.breadcrumb a {
  color: var(--text-2);
}
.breadcrumb a:hover {
  color: var(--green);
}
.breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.archive {
  padding: 24px 0 40px;
}
.archive-head {
  text-align: center;
  margin-bottom: 22px;
}
.archive-head h1 {
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  margin-bottom: 4px;
}
.archive-count {
  font-size: 13px;
  color: var(--text-3);
  margin: 0;
}
.archive-count strong {
  color: var(--green);
  font-weight: 700;
}

/* layout: HTML order = main, sidebar.
   CSS swap so sidebar visually appears on LEFT */
.archive-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-areas: "sidebar main";
  gap: 24px;
  align-items: start;
}
.archive-main {
  grid-area: main;
  min-width: 0;
}
.archive-sidebar {
  grid-area: sidebar;
}

/* toolbar */
.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.toolbar-info {
  font-size: 13px;
  color: var(--text-2);
  flex: 1;
}
.toolbar-info strong {
  color: var(--text);
}
.filter-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--green);
  background: #fff;
  color: var(--green);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover,
.filter-btn:focus-visible {
  background: var(--green);
  color: #fff;
}
.sort-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
}
.sort-by select {
  padding: 8px 32px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
  transition: border-color 0.15s;
}
.sort-by select:focus {
  outline: none;
  border-color: var(--green);
}

/* view toggle (grid / list) */
.view-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #fff;
  color: var(--text-2);
  border: 0;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.view-btn + .view-btn {
  border-left: 1px solid var(--line);
}
.view-btn:hover {
  color: var(--green);
}
.view-btn.active {
  background: var(--green);
  color: #fff;
}

/* load more */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 28px 0 10px;
}
.load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1.5px solid var(--green);
  color: var(--green);
  background: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.18s ease;
}
.load-more:hover {
  background: var(--green);
  color: #fff;
}
.load-more svg {
  transition: transform 0.2s;
}
.load-more:hover svg {
  transform: translateY(2px);
}

/* sidebar head (visible only inside the drawer on mobile) */
.archive-sidebar .sidebar-head {
  display: none;
}

/* sidebar widget */
.archive-sidebar .widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.archive-sidebar .widget-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.filter-chips a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  background: var(--green-light);
  color: var(--green);
  border-radius: 999px;
}
.filter-chips a span {
  font-size: 14px;
  line-height: 1;
}
.filter-chips a:hover {
  background: var(--green);
  color: #fff;
}
.filter-clear {
  font-size: 12.5px;
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.filter-list label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 4px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-2);
  border-radius: 4px;
  transition: background 0.12s;
}
.filter-list label:hover {
  background: var(--green-light);
  color: var(--green);
}
.filter-list input[type="checkbox"],
.filter-list input[type="radio"] {
  accent-color: var(--green);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
}
.filter-list label > span {
  flex: 1;
}
.filter-list label > em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--text-3);
}

.filter-list.rating .stars {
  color: #f5a623;
  letter-spacing: 1px;
  font-size: 14px;
}
.filter-list.rating .stars i {
  font-style: normal;
  color: #d6d6d6;
}

/* archive description */
.archive-desc {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.archive-desc h2 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.35;
}
.archive-desc h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin: 18px 0 8px;
}
.archive-desc-body {
  position: relative;
  max-height: 180px;
  overflow: hidden;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  transition: max-height 0.35s ease;
}
.archive-desc-body::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, #fff 90%);
  pointer-events: none;
  transition: opacity 0.25s;
}
.archive-desc-body.open {
  max-height: none;
}
.archive-desc-body.open::after {
  opacity: 0;
}
.archive-desc-body p {
  margin: 0 0 10px;
}
.archive-desc-body ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0 0 12px;
}
.archive-desc-body li {
  margin-bottom: 6px;
}
.archive-desc-body strong {
  color: var(--text);
  font-weight: 700;
}

.archive-desc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.18s;
}
.archive-desc-toggle:hover {
  background: var(--green);
  color: #fff;
}
.archive-desc-toggle .less {
  display: none;
}
.archive-desc-toggle[aria-expanded="true"] .more {
  display: none;
}
.archive-desc-toggle[aria-expanded="true"] .less {
  display: inline;
}
.archive-desc-toggle svg {
  transition: transform 0.25s;
}
.archive-desc-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* responsive */
@media (max-width: 1024px) {
  .archive-layout {
    grid-template-columns: 220px 1fr;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .archive {
    padding: 14px 0 24px;
  }
  .archive-head h1 {
    font-size: 20px;
  }
  .archive-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "main";
  }

  /* slide-in drawer FROM LEFT */
  .archive-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 86%;
    max-width: 340px;
    background: #fff;
    z-index: 110;
    padding: 0 0 100px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.18);
  }
  .archive-sidebar.open {
    transform: translateX(0);
  }
  .archive-sidebar .sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
  }
  .archive-sidebar .sidebar-head strong {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
  }
  .archive-sidebar .sidebar-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    border-radius: 50%;
    transition: background 0.15s;
  }
  .archive-sidebar .sidebar-close:hover {
    background: var(--bg);
    color: var(--text);
  }
  .archive-sidebar .widget {
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    margin: 0;
    padding: 14px 16px;
  }

  /* toolbar redesign: filter button | sort dropdown (count hidden) */
  .archive-toolbar {
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
  }
  .filter-btn {
    display: inline-flex;
    flex-shrink: 0;
  }
  .toolbar-info {
    display: none;
  }
  .sort-by {
    margin-left: auto;
    gap: 6px;
  }
  .sort-by > span {
    display: none;
  }
  .sort-by select {
    padding: 8px 30px 8px 12px;
    font-size: 12.5px;
    font-weight: 600;
  }
  .view-toggle {
    border-radius: 5px;
  }
  .view-btn {
    width: 30px;
    height: 30px;
  }
  .view-btn svg {
    width: 13px;
    height: 13px;
  }

  .archive-desc h2 {
    font-size: 16px;
  }
  .archive-desc-body {
    max-height: 120px;
    font-size: 13px;
  }
}

/* ============================================
   BRAND ARCHIVE PAGE (thuong-hieu.html)
   ============================================ */
.brand-archive {
  padding: 26px 0 60px;
}

.brand-archive-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 26px;
}
.brand-archive-head h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.25;
}
.brand-archive-head p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}

/* alphabet jump bar */
.brand-alpha {
  position: sticky;
  top: 60px;
  z-index: 10;
  background: #fff;
  border: 1px solid var(--green-soft);
  border-radius: var(--radius);
  padding: 8px 10px;
  margin: 0 0 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.brand-alpha-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.brand-alpha-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.brand-alpha-list a:hover {
  background: var(--green-light);
  color: var(--green);
}
.brand-alpha-list a.active {
  background: var(--green);
  color: #fff;
}
.brand-alpha-list a.is-disabled {
  color: var(--text-3);
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

/* brand section grouped by letter */
.brand-section {
  margin: 0 0 32px;
  scroll-margin-top: 110px;
}
.brand-letter-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--green);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-letter-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--green-soft), transparent);
  border-radius: 2px;
}
.brand-letter-title .b-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 800;
}

/* brand cards grid */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 12px 14px;
  background: #fff;
  border: 1px solid var(--green-soft);
  border-radius: var(--radius);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}
.brand-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--green-light), #fff);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 0;
}
.brand-card > * {
  position: relative;
  z-index: 1;
}
.brand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(32, 83, 80, 0.12);
  border-color: var(--green);
}
.brand-card:hover::before {
  opacity: 1;
}
.brand-card.featured {
  border-color: var(--green);
  background: linear-gradient(180deg, var(--green-light) 0%, #fff 70%);
}
.brand-logo {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.brand-logo img {
  max-width: 86%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: filter 0.2s ease;
}
.brand-card:hover .brand-logo img {
  filter: grayscale(0);
}
.brand-logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text);
  font-style: italic;
}
.brand-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 2px;
}
.brand-count {
  display: block;
  font-size: 11.5px;
  color: var(--text-3);
}

/* archive foot note */
.brand-archive-foot {
  margin-top: 24px;
  padding: 24px 28px;
  background: var(--green-light);
  border-radius: var(--radius-lg);
}
.brand-archive-foot h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--green);
  margin: 0 0 12px;
}
.brand-archive-foot p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
}
.brand-archive-foot p:last-child {
  margin-bottom: 0;
}

/* ============================================
   BRAND DETAIL HERO (chi-tiet-thuong-hieu.html)
   ============================================ */
.brand-hero {
  padding: 18px 0 6px;
}
.brand-hero-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
  background: linear-gradient(135deg, var(--green-light) 0%, #fff 70%);
  border: 1px solid var(--green-soft);
  border-radius: var(--radius-lg);
}
.brand-hero-logo {
  background: #fff;
  border: 1px solid var(--green-soft);
  border-radius: var(--radius);
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.brand-hero-logo img {
  max-width: 88%;
  max-height: 100%;
  object-fit: contain;
}
.brand-hero-body h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.25;
}
.brand-hero-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 12px;
}
.brand-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.brand-hero-meta li {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.2;
  padding-right: 18px;
  border-right: 1px solid var(--green-soft);
}
.brand-hero-meta li:last-child {
  border-right: none;
  padding-right: 0;
}
.brand-hero-meta li strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 2px;
}

/* brand detail uses archive layout (already styled); just trim top spacing */
.archive.brand-detail {
  padding-top: 16px;
}

/* ============================================
   RESPONSIVE - BRAND PAGES
   ============================================ */
@media (max-width: 1100px) {
  .brand-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 900px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .brand-hero-card {
    grid-template-columns: 170px 1fr;
    gap: 18px;
    padding: 18px;
  }
  .brand-hero-logo {
    height: 110px;
  }
  .brand-hero-body h1 {
    font-size: 20px;
  }
}
@media (max-width: 640px) {
  .brand-archive {
    padding: 18px 0 40px;
  }
  .brand-archive-head h1 {
    font-size: 22px;
  }
  .brand-archive-head p {
    font-size: 13px;
  }

  .brand-alpha {
    position: relative;
    top: 0;
    padding: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .brand-alpha::-webkit-scrollbar {
    display: none;
  }
  .brand-alpha-list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    min-width: max-content;
  }
  .brand-alpha-list a {
    min-width: 28px;
    height: 28px;
    font-size: 12.5px;
    padding: 0 4px;
  }

  .brand-section {
    margin-bottom: 24px;
    scroll-margin-top: 80px;
  }
  .brand-letter-title {
    font-size: 17px;
    gap: 10px;
  }
  .brand-letter-title .b-letter {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .brand-card {
    padding: 14px 8px 12px;
  }
  .brand-logo {
    height: 56px;
    margin-bottom: 8px;
  }
  .brand-logo-text {
    font-size: 18px;
  }
  .brand-name {
    font-size: 13px;
  }
  .brand-count {
    font-size: 11px;
  }

  .brand-archive-foot {
    padding: 18px 16px;
  }
  .brand-archive-foot h2 {
    font-size: 16px;
  }
  .brand-archive-foot p {
    font-size: 13px;
  }

  /* brand hero stacks on mobile */
  .brand-hero {
    padding: 12px 0 4px;
  }
  .brand-hero-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 16px;
    gap: 12px;
  }
  .brand-hero-logo {
    height: 90px;
    width: 160px;
    margin: 0 auto;
  }
  .brand-hero-body h1 {
    font-size: 18px;
  }
  .brand-hero-body p {
    font-size: 13px;
    line-height: 1.55;
  }
  .brand-hero-meta {
    justify-content: center;
    gap: 12px;
  }
  .brand-hero-meta li {
    padding-right: 12px;
    font-size: 11px;
  }
  .brand-hero-meta li strong {
    font-size: 14px;
  }
}
@media (max-width: 420px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   BLOG ARCHIVE PAGE (tin-tuc.html)
   ============================================ */
.blog-archive {
  padding: 26px 0 60px;
}

.blog-archive-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 22px;
}
.blog-archive-head h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.25;
}
.blog-archive-head p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}

/* CATEGORY TABS */
.blog-cats {
  margin: 0 0 26px;
  border-bottom: 1px solid var(--green-soft);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.blog-cats::-webkit-scrollbar {
  display: none;
}
.blog-cats ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: max-content;
}
.blog-cats a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}
.blog-cats a:hover {
  color: var(--green);
}
.blog-cats a.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* POSTS GRID */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 36px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.post-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--green-light);
  overflow: hidden;
  text-decoration: none;
}
.post-thumb .placeholder-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  background: linear-gradient(135deg, var(--green-light), var(--green-soft));
  padding: 12px;
}
.post-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-thumb img {
  transform: scale(1.05);
}
.wp-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-feature > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.post-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 4px 9px;
  border-radius: 4px;
  z-index: 2;
}
.post-body {
  padding: 14px 10px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.35;
}
.post-title a {
  color: var(--text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-title a:hover {
  color: var(--green);
}
.post-excerpt {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-meta {
  margin-top: auto;
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--text-3);
  align-items: center;
}
.post-meta .post-author {
  font-weight: 600;
  color: var(--text-2);
}
.post-meta .post-author::after {
  content: "·";
  margin-left: 10px;
  color: var(--text-3);
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 28px 0 0;
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--green-soft);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.page-link:hover {
  background: var(--green-light);
  color: var(--green);
  border-color: var(--green);
}
.page-link.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.page-link.dots {
  border: none;
  background: transparent;
  color: var(--text-3);
  pointer-events: none;
}

/* ============================================
   POST DETAIL PAGE (chi-tiet-tin-tuc.html)
   ============================================ */
.post-detail {
  padding: 18px 0 60px;
}

.post-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

/* MAIN ARTICLE */
.post-main {
  background: #fff;
  min-width: 0;
}

.post-head {
  margin-bottom: 22px;
}
.post-cat-line {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-3);
  margin-bottom: 10px;
}
.post-cat-tag {
  background: var(--green-light);
  color: var(--green);
  font-weight: 700;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: 4px;
  text-decoration: none;
}
.post-meta-sep {
  color: var(--text-3);
}

.post-head h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 14px;
}
.post-lead {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0 0 18px;
  padding: 14px 16px;
  background: var(--green-light);
  border-left: 3px solid var(--green);
  border-radius: 4px;
}

.post-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--green-soft);
  border-bottom: 1px solid var(--green-soft);
}
.post-author-ava {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.post-author-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.post-author-ava.lg {
  width: 60px;
  height: 60px;
}
.post-author-info {
  flex: 1;
  min-width: 0;
}
.post-author-info strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}
.post-author-info strong a {
  color: var(--text);
  text-decoration: none;
}
.post-author-info strong a:hover {
  color: var(--green);
}
.post-author-box strong a {
  color: var(--text);
  text-decoration: none;
}
.post-author-box strong a:hover {
  color: var(--green);
}
.post-author-info small {
  display: block;
  font-size: 12px;
  color: var(--text-3);
}

.post-share {
  display: flex;
  gap: 6px;
}
.post-share button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green-soft);
  background: #fff;
  border-radius: 50%;
  color: var(--green);
  cursor: pointer;
  transition: background 0.15s ease;
}
.post-share button:hover {
  background: var(--green-light);
}
.post-share button img {
  display: block;
}

/* feature image */
.post-feature {
  margin: 0 0 20px;
  border-radius: var(--radius);
  overflow: hidden;
}
.post-feature .placeholder-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--green-light), var(--green-soft));
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}
.post-feature figcaption {
  font-size: 12.5px;
  color: var(--text-3);
  font-style: italic;
  text-align: center;
  margin-top: 8px;
}

/* re-use .pd-content for body styling; tighten margins */
.post-content {
  margin: 0 0 24px;
}
.post-content blockquote {
  margin: 18px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--green);
  background: var(--green-light);
  font-style: italic;
  color: var(--text-2);
  border-radius: 0 4px 4px 0;
}

/* tags */
.post-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--green-soft);
  border-bottom: 1px solid var(--green-soft);
  margin-bottom: 24px;
}
.post-tags > strong {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 700;
}
.post-tags ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.post-tags li a {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 4px;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.post-tags li a:hover {
  background: var(--green);
  color: #fff;
}

/* author box */
.post-author-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: var(--green-light);
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.post-author-box strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.post-author-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-2);
}

/* related posts */
.related-posts {
  margin: 0 0 32px;
}
.related-posts > h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green);
  display: inline-block;
}
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-posts-grid .post-title {
  font-size: 14px;
}

/* comment form */
.post-comments {
  margin: 0;
}
.post-comments > h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green);
  display: inline-block;
}
.comment-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--green-soft);
  border-radius: 6px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s ease;
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--green);
}
.comment-form textarea {
  resize: vertical;
  min-height: 100px;
  margin-bottom: 12px;
}
.btn-submit-comment {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.btn-submit-comment:hover {
  filter: brightness(1.1);
}

/* ============================================
   POST SIDEBAR
   ============================================ */
.post-sidebar {
  min-width: 0;
}
.post-sidebar .widget {
  background: #fff;
  border: 1px solid var(--green-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 16px;
}
.post-sidebar .widget-title {
  display: block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--green);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-soft);
}

/* widget search */
.widget-search {
  display: flex;
  gap: 0;
  border: 1px solid var(--green-soft);
  border-radius: 6px;
  overflow: hidden;
}
.widget-search input {
  flex: 1;
  border: none;
  padding: 9px 12px;
  font-size: 13px;
  background: #fff;
  outline: none;
  min-width: 0;
}
.widget-search button {
  border: none;
  background: var(--green);
  color: #fff;
  padding: 0 14px;
  cursor: pointer;
}

/* widget categories */
.widget-cats {
  list-style: none;
  margin: 0;
  padding: 0;
}
.widget-cats li {
  border-bottom: 1px dashed var(--green-soft);
}
.widget-cats li:last-child {
  border-bottom: none;
}
.widget-cats a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 13.5px;
  color: var(--text);
  text-decoration: none;
  transition:
    color 0.15s ease,
    padding 0.15s ease;
}
.widget-cats a:hover {
  color: var(--green);
  padding-left: 6px;
}
.widget-cats a em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  background: var(--green-light);
  color: var(--green);
  padding: 2px 8px;
  border-radius: 10px;
}

/* widget popular posts */
.widget-posts {
  list-style: none;
  margin: 0;
  padding: 0;
}
.widget-posts li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--green-soft);
}
.widget-posts li:first-child {
  padding-top: 0;
}
.widget-posts li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.wp-thumb {
  flex-shrink: 0;
  width: 70px;
  height: 56px;
  background: var(--green-light);
  border-radius: 4px;
  overflow: hidden;
  display: block;
  position: relative;
}
.wp-thumb .placeholder-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  background: linear-gradient(135deg, var(--green-light), var(--green-soft));
  padding: 4px;
  text-align: center;
}
.wp-body {
  flex: 1;
  min-width: 0;
}
.wp-body h4 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.wp-body h4 a {
  color: var(--text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wp-body h4 a:hover {
  color: var(--green);
}
.wp-date {
  font-size: 11.5px;
  color: var(--text-3);
}

/* widget tags */
.widget-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.widget-tags a {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 4px;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.widget-tags a:hover {
  background: var(--green);
  color: #fff;
}

/* widget CTA */
.widget-cta {
  background: linear-gradient(135deg, var(--green) 0%, #2a6f6b 100%) !important;
  border-color: var(--green) !important;
  color: #fff;
}
.widget-cta .widget-title {
  color: #fff !important;
  border-bottom-color: rgba(255, 255, 255, 0.25) !important;
}
.widget-cta p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 12px;
}
.widget-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  color: var(--green);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease;
  width: 100%;
  justify-content: center;
}
.widget-cta-btn:hover {
  transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE - NEWS PAGES
   ============================================ */
@media (max-width: 1024px) {
  .post-detail-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 26px;
  }
  .post-head h1 {
    font-size: 26px;
  }
}
@media (max-width: 900px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .post-detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .post-head h1 {
    font-size: 22px;
  }
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .blog-archive {
    padding: 18px 0 40px;
  }
  .blog-archive-head h1 {
    font-size: 22px;
  }
  .blog-archive-head p {
    font-size: 13px;
  }
  .blog-cats a {
    padding: 8px 12px;
    font-size: 13px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .post-title {
    font-size: 15px;
  }
  .post-excerpt {
    font-size: 13px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .pagination {
    gap: 4px;
  }
  .page-link {
    min-width: 32px;
    height: 32px;
    font-size: 12.5px;
    padding: 0 6px;
  }

  /* post detail */
  .post-detail {
    padding: 12px 0 36px;
  }
  .post-head h1 {
    font-size: 19px;
  }
  .post-lead {
    font-size: 13.5px;
    padding: 11px 12px;
  }
  .post-author-row {
    gap: 10px;
    padding: 10px 0;
  }
  .post-author-ava {
    width: 34px;
    height: 34px;
  }
  .post-author-ava.lg {
    width: 50px;
    height: 50px;
  }
  .post-share button {
    width: 30px;
    height: 30px;
  }

  .post-feature .placeholder-img {
    aspect-ratio: 4 / 3;
    font-size: 13px;
  }

  .post-author-box {
    padding: 14px;
    gap: 12px;
  }
  .post-author-box p {
    font-size: 12.5px;
  }

  .related-posts > h2,
  .post-comments > h2 {
    font-size: 16px;
  }
  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .comment-form .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .comment-form input,
  .comment-form textarea {
    font-size: 13px;
    padding: 10px 12px;
  }

  /* sidebar full-width on mobile */
  .post-sidebar .widget {
    padding: 12px 14px;
    margin-bottom: 12px;
  }
}

/* ============================================
   ABOUT PAGE (gioi-thieu.html)
   ============================================ */
.about-page {
  padding: 0 0 60px;
}

/* HERO */
.about-hero {
  padding: 36px 0 28px;
  background: linear-gradient(135deg, var(--green-light) 0%, #fff 100%);
  border-bottom: 1px solid var(--green-soft);
  text-align: center;
}
.about-hero h1 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 14px;
  line-height: 1.25;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.about-hero p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 720px;
  margin: 0 auto;
}

/* STATS */
.about-stats {
  padding: 22px 0;
  background: var(--green);
  color: #fff;
}
.about-stats ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-stats li {
  text-align: center;
  position: relative;
}
.about-stats li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.about-stats strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
}
.about-stats span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
}

/* BLOCK */
.about-block {
  padding: 50px 0;
}
.about-block.alt {
  background: var(--green-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-grid.reverse .about-image {
  order: 0;
}
.about-grid.reverse .about-text {
  order: 1;
}
.about-text .kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--green);
  background: var(--green-light);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.about-text h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.3;
}
.about-text p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0 0 12px;
}
.about-image .placeholder-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--green-light), var(--green-soft));
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border-radius: var(--radius-lg);
}

/* COMMITMENTS */
.commitments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
}
.commitment-card {
  background: #fff;
  border: 1px solid var(--green-soft);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.commitment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(32, 83, 80, 0.12);
}
.commitment-card .c-ico {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.commitment-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}
.commitment-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}

/* BRANDS */
.about-brands {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  margin: 8px 0 14px;
}
.ab-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--green-soft);
  border-radius: var(--radius);
  padding: 14px 12px;
  height: 80px;
}
.ab-logo img {
  max-width: 88%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: filter 0.2s ease;
}
.ab-logo:hover img {
  filter: grayscale(0);
}
.about-brands-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--text-2);
  margin: 8px 0 0;
}

/* WHY LIST */
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
}
.why-list li svg {
  flex-shrink: 0;
  color: var(--green);
  margin-top: 2px;
}

/* CTA */
.about-cta {
  padding: 40px 0 0;
}
.about-cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  background: linear-gradient(135deg, var(--green) 0%, #2a6f6b 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}
.about-cta-card .cta-text h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.3;
}
.about-cta-card .cta-text p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}
.cta-actions {
  display: flex;
  gap: 10px;
}
.btn-cta-primary,
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}
.btn-cta-primary {
  background: #fff;
  color: var(--green);
}
.btn-cta-primary:hover {
  transform: translateY(-2px);
}
.btn-cta-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   CONTACT PAGE (lien-he.html)
   ============================================ */
.contact-page {
  padding: 26px 0 60px;
}

.contact-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}
.contact-head h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.25;
}
.contact-head p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}

/* INFO CARDS */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 36px;
}
.ci-card {
  background: #fff;
  border: 1px solid var(--green-soft);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.ci-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(32, 83, 80, 0.1);
}
.ci-ico {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.ci-card strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--green);
  margin-bottom: 6px;
}
.ci-card p {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
  font-weight: 600;
}
.ci-card p a {
  color: var(--text);
  text-decoration: none;
}
.ci-card p a:hover {
  color: var(--green);
}
.ci-card small {
  display: block;
  font-size: 11.5px;
  color: var(--text-3);
}
.ci-card > a {
  display: inline-block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}
.ci-socials {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}
.ci-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* FORM + SIDE LAYOUT */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  margin: 0 0 40px;
  align-items: start;
}
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--green-soft);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
}
.contact-form-wrap h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px;
}
.form-intro {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0 0 18px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.contact-form label > span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-2);
}
.contact-form label > span em {
  color: var(--red);
  font-style: normal;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--green-soft);
  border-radius: 6px;
  background: #fff;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text);
  transition: border-color 0.15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form label.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
}
.contact-form label.checkbox input {
  width: auto;
  accent-color: var(--green);
}
.btn-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    filter 0.15s ease,
    transform 0.15s ease;
}
.btn-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* SIDE CARDS */
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cs-card {
  background: #fff;
  border: 1px solid var(--green-soft);
  border-radius: var(--radius);
  padding: 18px 18px;
}
.cs-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--green);
  margin-bottom: 12px;
}
.cs-hours {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cs-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-2);
  border-bottom: 1px dashed var(--green-soft);
}
.cs-hours li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.cs-hours strong {
  color: var(--text);
  font-weight: 700;
}

.cs-card-cta {
  background: linear-gradient(135deg, var(--green) 0%, #2a6f6b 100%);
  color: #fff;
  border-color: var(--green);
}
.cs-card-cta .cs-title {
  color: #fff;
}
.cs-card-cta p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 12px;
}
.cs-call {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: #fff;
  color: var(--green);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  justify-content: center;
  margin-bottom: 10px;
  transition: transform 0.15s ease;
}
.cs-call:hover {
  transform: translateY(-2px);
}
.cs-chat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.cs-chat a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 5px;
  text-decoration: none;
}
.cs-chat-fb {
  background: #006aff;
  color: #fff;
}
.cs-chat-zalo {
  background: #fff;
  color: var(--green);
}

/* MAP */
.contact-map > h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px;
}
.contact-map > p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0 0 14px;
}
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--green-soft);
}
.map-frame iframe {
  display: block;
}

/* ============================================
   RESPONSIVE - ABOUT + CONTACT
   ============================================ */
@media (max-width: 1024px) {
  .about-brands {
    grid-template-columns: repeat(4, 1fr);
  }
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .about-hero {
    padding: 26px 0 22px;
  }
  .about-hero h1 {
    font-size: 24px;
  }
  .about-hero p {
    font-size: 14px;
  }

  .about-stats ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .about-stats li:nth-child(2)::after {
    display: none;
  }
  .about-stats strong {
    font-size: 24px;
  }

  .about-block {
    padding: 36px 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-grid.reverse .about-image {
    order: 1;
  }
  .about-grid.reverse .about-text {
    order: 0;
  }
  .about-text h2 {
    font-size: 21px;
  }

  .commitments-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .commitment-card {
    padding: 22px 18px;
  }

  .about-cta-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 22px;
    text-align: center;
  }
  .cta-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
@media (max-width: 640px) {
  .about-page {
    padding: 0 0 36px;
  }
  .about-hero h1 {
    font-size: 20px;
  }
  .about-hero p {
    font-size: 13px;
  }

  .about-stats {
    padding: 18px 0;
  }
  .about-stats strong {
    font-size: 21px;
  }
  .about-stats span {
    font-size: 11px;
  }

  .about-block {
    padding: 28px 0;
  }
  .about-text h2 {
    font-size: 18px;
  }
  .about-text p {
    font-size: 13.5px;
  }
  .about-text .kicker {
    font-size: 11px;
    padding: 3px 8px;
  }

  .commitment-card {
    padding: 18px 16px;
  }
  .commitment-card .c-ico {
    width: 54px;
    height: 54px;
  }
  .commitment-card h3 {
    font-size: 15px;
  }
  .commitment-card p {
    font-size: 12.5px;
  }

  .about-brands {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .ab-logo {
    height: 60px;
    padding: 8px;
  }

  .about-cta-card .cta-text h2 {
    font-size: 18px;
  }
  .about-cta-card .cta-text p {
    font-size: 13px;
  }
  .btn-cta-primary,
  .btn-cta-secondary {
    padding: 10px 16px;
    font-size: 13px;
  }

  /* contact */
  .contact-page {
    padding: 18px 0 36px;
  }
  .contact-head h1 {
    font-size: 21px;
  }
  .contact-head p {
    font-size: 13px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .ci-card {
    padding: 14px 10px;
  }
  .ci-ico {
    width: 40px;
    height: 40px;
  }
  .ci-card strong {
    font-size: 11.5px;
  }
  .ci-card p {
    font-size: 13px;
  }

  .contact-form-wrap {
    padding: 18px 16px;
  }
  .contact-form-wrap h2 {
    font-size: 17px;
  }
  .contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 13px;
    padding: 10px 12px;
  }

  .cs-card {
    padding: 14px;
  }
  .cs-call {
    font-size: 15px;
    padding: 10px 12px;
  }
  .cs-chat a {
    font-size: 11.5px;
    padding: 7px 8px;
  }

  .contact-map > h2 {
    font-size: 17px;
  }
  .map-frame iframe {
    height: 320px;
  }
}

/* ============================================
   DEFAULT STATIC PAGE - plain text content
   ============================================ */
.page-default {
  padding: 26px 0 60px;
}
.page-default h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 18px;
  line-height: 1.3;
}
.page-default h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin: 22px 0 10px;
  line-height: 1.35;
}
.page-default h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 16px 0 8px;
  line-height: 1.4;
}
.page-default p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0 0 12px;
}
.page-default ul,
.page-default ol {
  margin: 0 0 14px;
  padding-left: 22px;
}
.page-default li {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 6px;
}
.page-default a {
  color: var(--green);
  text-decoration: underline;
}
.page-default a:hover {
  text-decoration: none;
}

/* ============================================
   AUTHOR PAGE (tac-gia.html)
   ============================================ */
.author-page {
  padding: 26px 0 60px;
}

.author-hero {
  background: linear-gradient(135deg, var(--green-light) 0%, #fff 100%);
  border: 1px solid var(--green-soft);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  margin: 0 0 26px;
}
.author-hero-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
}
.author-ava-big {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--green);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.author-ava-big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.author-info h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 4px;
  line-height: 1.2;
}
.author-info .author-role {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--green);
  background: var(--green-soft);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.author-info .author-bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 12px;
}
.author-stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.author-stats li {
  list-style: none;
  font-size: 12.5px;
  color: var(--text-3);
  display: flex;
  gap: 6px;
  align-items: baseline;
}
.author-stats strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--green);
}
.author-socials {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.author-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--green-soft);
  color: var(--green);
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.author-socials a:hover {
  background: var(--green);
  color: #fff;
}

.author-posts-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 16px;
}
.author-posts-head h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--green);
  display: inline-block;
}
.author-posts-head small {
  font-size: 13px;
  color: var(--text-3);
}

@media (max-width: 1024px) {
  .page-article {
    padding: 26px 30px;
  }
}
@media (max-width: 640px) {
  .page-default {
    padding: 14px 0 36px;
  }
  .page-article {
    padding: 18px 16px;
    border-radius: var(--radius);
  }
  .page-header h1 {
    font-size: 20px;
  }
  .page-header .page-lead {
    font-size: 13px;
  }
  .num-steps > li {
    padding: 12px 14px 12px 50px;
  }
  .num-steps > li::before {
    width: 28px;
    height: 28px;
    font-size: 13px;
    left: 12px;
    top: 12px;
  }

  .author-hero {
    padding: 18px 16px;
  }
  .author-hero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }
  .author-ava-big {
    margin: 0 auto;
    width: 80px;
    height: 80px;
  }
  .author-info h1 {
    font-size: 19px;
  }
  .author-info .author-bio {
    font-size: 13px;
  }
  .author-stats {
    justify-content: center;
    gap: 14px;
  }
  .author-socials {
    justify-content: center;
  }
}

/* ============================================
   HOMEPAGE V2 - new layout components
   ============================================ */

/* HEAD DIVIDER (DANH MỤC NỔI BẬT with side lines) */
.head-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 22px;
  max-width: 520px;
}
.head-divider span {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green-soft));
  border-radius: 2px;
}
.head-divider span:last-child {
  background: linear-gradient(90deg, var(--green-soft), transparent);
}
.head-divider strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--green);
  text-transform: uppercase;
  white-space: nowrap;
}

/* CATEGORIES ROUND */
.cat-round-section {
  padding: 30px 0 8px;
}
.cat-round-list {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cat-round-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.cat-round-list a:hover {
  transform: translateY(-3px);
}
.cat-round-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--green-soft);
  display: block;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.cat-round-list a:hover .cat-round-img {
  border-color: var(--green);
  box-shadow: 0 6px 18px rgba(32, 83, 80, 0.15);
}
.cat-round-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cat-round-list strong {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  text-align: center;
  line-height: 1.35;
}
.cat-round-list a:hover strong {
  color: var(--green);
}

/* HOT GRID - 2 columns */
.hot-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 18px;
  align-items: start;
}

/* HOT TABS - card wrapper */
.tabs-wrap.hot-tabs {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
  min-width: 0;
}
.hot-tabs .tabs-head {
  display: flex;
  align-items: baseline;
  padding: 0;
  border-bottom: none;
  background: transparent;
  gap: 4px;
}
.hot-tabs .tabs-nav {
  display: flex;
  align-items: baseline;
  flex: 1;
  gap: 18px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.hot-tabs .tabs-nav::-webkit-scrollbar {
  display: none;
}

/* Static label for right column header */
.tab-btn-static {
  position: relative;
  padding: 4px 0;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text);
  text-transform: uppercase;
  white-space: nowrap;
}
.tab-btn-static.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #ff8a00;
  border-radius: 2px;
}

/* BOLD CONTRAST tabs: active = big bold dark, inactive = small light gray */
.hot-tabs .tab-btn {
  position: relative;
  padding: 6px 0;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--text-3);
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 0.15s ease,
    font-size 0.15s ease,
    font-weight 0.15s ease;
}
.hot-tabs .tab-btn:hover {
  color: var(--text-2);
}
.hot-tabs .tab-btn.active {
  color: var(--text);
  font-weight: 700;
}
.hot-tabs .tab-btn.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #ff8a00;
  border-radius: 2px;
}
.hot-tabs .tab-btn .fire {
  display: inline-block;
  margin-left: 2px;
}
.hot-tabs .see-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 0;
  margin-left: 16px;
  flex-shrink: 0;
}
.hot-tabs .see-all:hover {
  color: var(--green);
}
.hot-tabs .tab-panel {
  padding: 0;
}
.hot-tabs .products {
  gap: 14px;
}

/* Owl nav inside hot-tabs panels (positioned inside since wrapper has overflow:hidden) */
.hot-tabs .product-slider-3 .owl-nav .owl-prev,
.hot-tabs .product-slider-2 .owl-nav .owl-prev {
  left: 4px;
}
.hot-tabs .product-slider-3 .owl-nav .owl-next,
.hot-tabs .product-slider-2 .owl-nav .owl-next {
  right: 4px;
}
.hot-tabs .product-slider-3 .owl-nav button,
.hot-tabs .product-slider-2 .owl-nav button {
  width: 32px;
  height: 32px;
  opacity: 0;
}
.hot-tabs:hover .product-slider-3 .owl-nav button,
.hot-tabs:hover .product-slider-2 .owl-nav button {
  opacity: 1;
}

/* product card overrides for hot tabs / cards with anchor in h3 */
.product-name a {
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-name a:hover {
  color: var(--green);
}

/* COMBO BANNERS (2 cards) */
.combo-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
section.block:has(.combo-banners) {
  padding: 10px 0;
}
.combo-banner-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 28px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.combo-banner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}
.combo-banner-text {
  color: #fff;
  max-width: 60%;
}
.combo-title {
  display: block;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 8px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.combo-banner-text p {
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.combo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}
.combo-banner-card:hover .combo-cta {
  background: rgba(0, 0, 0, 0.55);
  transform: translateX(2px);
}
.combo-banner-card.lure .combo-cta {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}
.combo-banner-card.lure:hover .combo-cta {
  background: #fff;
  color: var(--green);
}

/* BLOCK HEAD - split with 3 parts (title / sub-tabs / see-all) */
.block-head {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 16px;
}
.block-head .block-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin: 0;
}
.block-head.split-3 {
  justify-content: space-between;
}
.block-head.split-3 .block-sub-tabs {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.block-sub-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.block-sub-tabs button {
  background: none;
  border: none;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  cursor: pointer;
  border-radius: 4px;
  position: relative;
  transition: color 0.15s ease;
}
.block-sub-tabs button:hover {
  color: var(--green);
}
.block-sub-tabs button.active {
  color: #ff8a00;
}
.block-sub-tabs button.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: #ff8a00;
  border-radius: 2px;
}
.block-head .see-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
}
.block-head .see-all:hover {
  color: var(--green);
}

/* MÁY CÂU 2-col split */
.may-cau-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.may-cau-col {
  display: flex;
  flex-direction: column;
}
.block-head.mini-split {
  background: transparent;
  border-bottom: none;
  padding-bottom: 0;
  justify-content: space-between;
  margin-bottom: 14px;
}
.block-head.mini-split .block-title {
  font-size: 16px;
}
@media (max-width: 480px) {
  .block-head.mini-split .block-title {
    font-size: 14px;
  }
}

/* MINI BANNER inside may-cau column */
.mini-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-decoration: none;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.mini-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.mini-banner small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  opacity: 0.9;
  margin-bottom: 2px;
}
.mini-banner strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 6px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.mini-banner em {
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.8px;
  opacity: 0.9;
  margin-bottom: 12px;
}
.mini-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  background: transparent;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  align-self: flex-start;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}
.mini-banner:hover .mini-cta {
  background: var(--green);
  color: #fff;
}

/* FEATURES STRIP (5 inline icon + text) */
section.block:has(.features-strip) {
  padding: 12px 0;
}
.features-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--green-soft);
  border-radius: var(--radius);
}
.feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  border-right: 1px solid var(--green-soft);
}
.feat-item:last-child {
  border-right: none;
}
.feat-ico {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-item strong {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--text);
  margin-bottom: 2px;
}
.feat-item small {
  display: block;
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.3;
}

/* ============================================
   RESPONSIVE - HOMEPAGE V2
   ============================================ */
@media (max-width: 1100px) {
  .cat-round-list {
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
  }
  .cat-round-img {
    width: 68px;
    height: 68px;
  }
  .products.cols-5 {
    grid-template-columns: repeat(4, 1fr);
  }
  .features-strip {
    grid-template-columns: repeat(5, 1fr);
    padding: 14px 12px;
  }
  .feat-item {
    padding: 0 4px;
  }
  .feat-item strong {
    font-size: 10.5px;
  }
  .feat-item small {
    font-size: 10px;
  }
}
@media (max-width: 900px) {
  .cat-round-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .cat-round-img {
    width: 72px;
    height: 72px;
  }

  .hot-tabs .tab-btn {
    padding: 6px 0;
  }
  .tab-btn-static {
    font-size: 15px;
    padding: 6px 0;
  }
  .hot-tabs .see-all {
    padding: 6px 0;
  }
  .hot-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .products.cols-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .products.cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .products.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .combo-banners {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .combo-title {
    font-size: 20px;
  }

  .block-head.split-3 {
    flex-wrap: wrap;
    gap: 10px;
  }
  .block-head.split-3 .block-sub-tabs {
    flex: 0 0 100%;
    justify-content: flex-start;
    order: 3;
  }

  .may-cau-split {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .mini-banner strong {
    font-size: 17px;
  }

  .features-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 4px;
  }
  .feat-item:first-child {
    grid-column: 1 / -1;
  }
  .feat-item {
    border-right: none;
    border-bottom: 1px dashed var(--green-soft);
    padding-bottom: 10px;
  }
  .feat-item:nth-last-child(-n + 1),
  .feat-item:nth-last-child(-n + 2) {
    border-bottom: none;
    padding-bottom: 0;
  }
}
@media (min-width: 768px) {
  .header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    transition: box-shadow 0.25s ease;
  }
}
@media (max-width: 768px) {
  .header {
    background: #fff;
    position: relative;
    top: 0;
    z-index: 50;
    transition: box-shadow 0.25s ease;
  }
}
@media (max-width: 640px) {
  .head-divider strong {
    font-size: 13px;
    letter-spacing: 1px;
  }
  .head-divider {
    margin-bottom: 14px;
  }

  .cat-round-section {
    padding: 18px 0 4px;
  }
  .cat-round-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .cat-round-img {
    width: 58px;
    height: 58px;
  }
  .cat-round-list strong {
    font-size: 11px;
  }

  .hot-tabs .tab-btn {
    padding: 6px 0;
  }
  .hot-tabs .tab-btn.active::after {
    left: 0;
    right: 0;
  }
  .tab-btn-static {
    font-size: 14px;
    padding: 6px 0;
  }
  .hot-tabs .tabs-nav {
    gap: 12px;
  }
  .hot-tabs .tabs-nav.small-center-item {
    justify-content: space-around;
  }
  .hot-tabs .see-all {
    font-size: 11.5px;
    margin-left: 8px;
    padding: 6px 0;
  }
  .hot-tabs .tab-panel {
    padding: 0;
  }

  .products.cols-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .products.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .products.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .products.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .combo-banner-card {
    padding: 20px 18px;
  }
  .combo-title {
    font-size: 17px;
  }
  .combo-banner-text {
    max-width: 70%;
  }
  .combo-banner-text p {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .combo-cta {
    padding: 7px 12px;
    font-size: 10.5px;
  }

  .block-head {
    gap: 10px;
    margin-bottom: 12px;
  }
  .block-head .block-title {
    font-size: 15px;
  }
  .block-sub-tabs button {
    padding: 6px 10px;
    font-size: 12px;
  }
  .block-head .see-all {
    font-size: 12px;
  }

  .may-cau-split {
    gap: 22px;
  }
  .mini-banner {
    padding: 12px 14px;
  }
  .mini-banner strong {
    font-size: 15px;
  }
  .mini-banner em {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .mini-cta {
    padding: 6px 10px;
    font-size: 9.5px;
  }

  .features-strip {
    padding: 12px;
  }
  .feat-ico {
    width: 30px;
    height: 30px;
  }
  .feat-item strong {
    font-size: 11px;
  }
  .feat-item small {
    font-size: 10.5px;
  }
}
