@import url('https://fonts.cdnfonts.com/css/sf-pro-display');

/* ===== UNLAYERED OVERRIDES ===== */
:root {
  --bs-body-font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

body {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* ===== CASCADE LAYERS DEFINITION ===== */
@layer reset, base, theme, components, utilities;

@layer reset {
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
}

@layer base {
  :root {
    /* Brand Colors */
    --color-brand-green: #097544;
    --color-brand-green-dark: #075f36;
    --color-brand-green-light: #f1fbf6;
    --color-accent: #A1C038;

    /* Neutral Colors */
    --color-text-dark: #1e293b;
    --color-text-muted: #64748b;
    --color-border-subtle: #e2e8f0;

    /* Typography */
    --font-heading: 'SF Pro Display', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'SF Pro Display', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Transitions & Shadows */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 8px -1px rgba(15, 23, 42, 0.03);
    --shadow-medium: 0 12px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  }

  body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    font-size: 16px !important;
    line-height: 24px !important;
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
  }

  h1,
  h3,
  h4,
  h5,
  h6 {
    font-family: var(--font-heading);
    font-weight: 700;
  }

  /* Custom Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #f1f5f9;
  }

  ::-webkit-scrollbar-thumb {
    background: var(--color-brand-green);
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: var(--color-brand-green-dark);
  }
}

@layer theme {
  .bg-brand-green {
    background-color: var(--color-brand-green) !important;
  }

  .bg-dark-green {
    background-color: var(--color-brand-green-dark) !important;
  }

  .text-brand-green {
    color: var(--color-brand-green) !important;
  }

  .text-accent {
    color: var(--color-accent) !important;
  }
}



/* ===== PREMIUM HEADER ===== */
/* ===== PREMIUM HEADER ===== */
.header {
  background-color: var(--color-brand-green) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0;
  z-index: 1050;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

body.admin-bar .header {
  top: 32px !important;
}

@media (max-width: 782px) {
  body.admin-bar .header {
    top: 46px !important;
  }
}


.brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.brand-subtitle {
  font-size: 0.72rem;
}

.btn-mega-toggle {
  height: 44px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background-color: transparent !important;
  border: 1.5px solid var(--color-accent) !important;
  color: #ffffff !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  white-space: nowrap !important;
}

.btn-mega-toggle i {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-mega-toggle:hover {
  background-color: #ffffff !important;
  color: var(--color-brand-green, #097544) !important;
  border-color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15), 0 2px 6px rgba(0, 0, 0, 0.05);
  transform: translateY(-1.5px);
}

.btn-mega-toggle:hover i {
  transform: scale(1.18);
}

.btn-mega-toggle.active {
  background-color: #0e6833 !important;
  border-color: #0e6833 !important;
  color: #ffffff !important;
}

.btn-mega-toggle.active:hover {
  background-color: #ffffff !important;
  color: #0e6833 !important;
  border-color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15), 0 2px 6px rgba(0, 0, 0, 0.05);
  transform: translateY(-1.5px);
}

/* Search Input Field */
.search-wrapper {
  position: relative;
}

.search-input {
  height: 44px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background-color: #f8fafc !important;
  color: var(--color-text-dark) !important;
  font-size: 1rem !important;
  border: none !important;
  transition: var(--transition-smooth);
}

.btn-search-circle {
  width: 34px !important;
  height: 34px !important;
  right: 6px !important;
  background-color: #e6f4ea !important;
  /* light green circle */
  color: var(--color-brand-green) !important;
  /* green search icon */
  border: none !important;
  transition: var(--transition-smooth);
}

.btn-search-circle:hover {
  background-color: var(--color-brand-green) !important;
  color: #ffffff !important;
}

/* Action Buttons with Premium Glassmorphism & Micro-animations */
.btn-action-pill {
  height: 44px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background-color: #0D6833 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.btn-action-pill i {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-action-pill:hover {
  background-color: #ffffff !important;
  color: var(--color-brand-green, #097544) !important;
  border-color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15), 0 2px 6px rgba(0, 0, 0, 0.05);
  transform: translateY(-1.5px);
}

.btn-action-pill:hover i {
  transform: scale(1.18);
}

/* Scientific Cart Badge Styling */
.action-badge {
  position: absolute !important;
  top: 0px;
  right: -12px;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 700 !important;
  background-color: var(--color-accent, #ffb703) !important;
  color: var(--color-brand-green-dark, #075f36) !important;
  border: 1.5px solid var(--color-brand-green, #097544) !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 2;
  transform: translateY(-50%) !important;
}


/* ===== MEGA MENU OVERLAY ===== */
.mega-menu-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100vh;
  padding-top: 12px;
  background-color: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1040;
  display: none;
  animation: slideDownMenu 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mega-menu-overlay.show {
  display: block;
}

@keyframes slideDownMenu {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mega-menu-overlay .container {
  background-color: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid #e2e8f0 !important;
}

.mega-sidebar-link {
  transition: var(--transition-smooth);
  color: #475569 !important;
}

.mega-sidebar-link:hover,
.mega-sidebar-link.active {
  background-color: #e8f5ed !important;
  color: #097544 !important;
  border-radius: 8px !important;
}

.mega-sidebar-link.highlight {
  background-color: #f1f5f9 !important;
  color: #334155 !important;
  border-radius: 8px !important;
}

.mega-sidebar-link.highlight:hover {
  background-color: #e2e8f0 !important;
  color: #1e293b !important;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  margin-top: 16px;
  margin-bottom: 8px;
  padding-left: 12px;
  padding-right: 12px;
}

.sidebar-header::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background-color: #e2e8f0;
}

/* Thương hiệu trong sidebar menu (chuyển trang danh mục của thương hiệu) */
.mega-sidebar-brands .mega-sidebar-brand {
  height: 36px;
  padding: 4px 8px;
  transition: var(--transition-smooth);
}

.mega-sidebar-brands .mega-sidebar-brand:hover {
  border-color: #097544 !important;
  box-shadow: 0 2px 8px rgba(9, 117, 68, 0.1);
}

/* Chevron accordion mobile */
.mega-acc-chevron {
  font-size: 13px;
  transition: transform 0.25s ease;
}

.mega-sidebar-link[aria-expanded="true"] .mega-acc-chevron,
.mega-sidebar-link.active .mega-acc-chevron {
  transform: rotate(180deg);
}

.mega-menu-overlay .col-lg-3 {
  background-color: #f8fafc !important;
}

span.fw-500.text-dark.lh-sm.title-single-data-menu {
  font-size: 13px !important;
  font-weight: 400 !important;
}

.brand-box {
  padding: 15px 0 !important;
  background-color: #ffffff;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.brand-box:hover {
  border-color: #097544 !important;
  box-shadow: 0 4px 10px rgba(9, 117, 68, 0.08);
}

.cat-action-box {
  background-color: #ffffff;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  cursor: pointer;
  height: 110px;
}

.cat-action-box:hover {
  border-color: #097544 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(9, 117, 68, 0.08);
}

.cat-action-box svg,
.cat-action-box img {
  margin-bottom: 6px;
  flex-shrink: 0;
}

.cat-action-box svg {
  color: #097544 !important;
}

.cat-action-box span {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  line-height: 1.25 !important;
  display: block;
  text-align: center;
}

.mega-menu-overlay .col-md-4 h5 {
  color: #097544 !important;
  border-bottom: none !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
  padding-bottom: 0 !important;
}

.mega-specs-content p {
  margin-top: 0 !important;
  margin-bottom: 6px !important;
  font-size: 16px !important;
}

.mega-specs-content p:last-child {
  margin-bottom: 0 !important;
}

.mega-menu-overlay .col-md-4 ul {
  gap: 8px !important;
}

.mega-menu-overlay .col-md-4 li {
  font-size: 12px !important;
  color: #64748b !important;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.mega-menu-overlay .col-md-4 li:hover {
  color: #097544 !important;
}

.mega-menu-overlay .col-lg-2 {
  background-color: #ffffff !important;
  border-left: 1px solid #e2e8f0 !important;
  padding: 16px !important;
}

/* ===== MOBILE MEGA MENU: FULLSCREEN ACCORDION (FPTSHOP style) ===== */
@media (max-width: 991.98px) {
  body.menu-open {
    overflow: hidden;
  }

  .mega-menu-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    padding-top: 0;
    z-index: 1060;
    background-color: rgba(15, 23, 42, 0.5);
  }

  .mega-menu-overlay .container {
    max-width: 100% !important;
    height: 100%;
    border-radius: 0 !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mega-menu-overlay .mobile-menu-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fff !important;
  }

  /* Sidebar chiếm toàn bộ bề rộng: accordion list */
  .mega-menu-overlay .col-lg-3 {
    border-end: none !important;
    padding: 12px 12px 24px !important;
    background-color: #ffffff !important;
  }

  /* Ẩn cột banner bên phải trên mobile */
  .mega-menu-overlay .col-lg-2 {
    display: none !important;
  }

  .mega-sidebar-link {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-bottom: 8px;
    min-height: 46px;
  }

  .mega-sidebar-brands {
    margin-bottom: 10px;
  }

  .mega-sidebar-brands .mega-sidebar-brand {
    height: 42px;
  }

  /* Accordion pane: nội dung tab hiển thị inline dưới mục */
  .mega-acc-pane.tab-pane {
    display: none !important;
    opacity: 1 !important;
    padding: 10px 4px 18px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 10px;
  }

  .mega-acc-pane.tab-pane.show {
    display: block !important;
  }

  .mega-acc-pane .cat-action-box {
    height: 92px;
  }

  .mega-acc-pane h3.d-lg-none {
    display: none !important;
  }
}

.sidebar-mini-thumb {
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: block;
}

.sidebar-mini-thumb img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1.08);
  transition: var(--transition-smooth);
}

.sidebar-mini-thumb:hover {
  border-color: #097544 !important;
  transform: scale(1.02);
}


/* ===== HERO SLIDER SECTION ===== */
.main-slider-wrapper {
  height: 450px;
  border-radius: 8px;
}

.category-slider-wrapper {
  height: 160px;
  border-radius: 8px;
}

.main-slider-wrapper .carousel-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Slide Center Button Overlay */
.slide-cta-btn {
  position: absolute;
  top: 57%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff !important;
  color: #0c5c36 !important;
  font-weight: 700;
  font-size: 16px;
  padding: 10px 32px !important;
  border-radius: 8px !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
  z-index: 5;
}

.slide-cta-btn:hover {
  background-color: #f8fafc !important;
  color: #097544 !important;
  transform: translate(-50%, -53%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Carousel Arrows Navigation */
.carousel-nav-btn {
  width: 36px;
  height: 36px;
  background-color: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-size: 1rem;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: scale(1.05);
}

/* Custom text indicators at the bottom of the main carousel */
.carousel-tabs-indicators {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.carousel-tabs-indicators::-webkit-scrollbar {
  display: none;
}

.carousel-tabs-indicators button {
  border-bottom: 1.75px solid transparent !important;
  border-top: none !important;
  opacity: 1;
  transition: var(--transition-smooth);
  border-radius: 0;
  font-size: 14px !important;
  padding: 11px 10px !important;
  height: auto;
  color: #555555 !important;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
}

.carousel-tabs-indicators button.active {
  border-bottom: 1.75px solid var(--color-brand-green, #097544) !important;
  background-color: #ffffff !important;
  color: var(--color-brand-green, #097544) !important;
  opacity: 1;
  font-weight: 500;
}

.carousel-tabs-indicators button:not(.active) {
  background-color: #ffffff !important;
  color: #777 !important;
}

.carousel-tabs-indicators button:hover:not(.active) {
  background-color: #ffffff !important;
  color: #097544 !important;
}

/* Sidebar Stack Cards (Right) */
.side-banner-card {
  height: calc((450px - 32px) / 3);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: 8px;
}

.side-banner-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-medium);
}



/* ===== BẠN ĐANG TÌM GÌ SECTION ===== */
.custom-card-hover {
  height: 320px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-card-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent 40%, rgba(15, 23, 42, 0.9) 95%);
  transition: opacity 0.4s ease;
  z-index: 1;
  opacity: 1;
}

.custom-card-hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent 40%, rgba(0, 93, 55, 0.9) 95%);
  transition: opacity 0.4s ease;
  z-index: 2;
  opacity: 0;
}

.custom-card-hover:hover::before {
  opacity: 0;
}

.custom-card-hover:hover::after {
  opacity: 1;
}

.custom-card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}

.custom-card-body {
  position: relative;
  z-index: 3;
}

.custom-card-body h3 {
  font-size: 22px !important;
}

.custom-card-body p {
  font-size: 16px !important;
  font-weight: 400 !important;
}

.btn-white-pill {
  background-color: #ffffff !important;
  color: var(--color-brand-green) !important;
  border: none !important;
  transition: var(--transition-smooth) !important;
}

.btn-white-pill:hover {
  background-color: var(--color-accent) !important;
  color: var(--color-brand-green-dark) !important;
  transform: translateY(-2px) !important;
}

.btn-outline-white-pill {
  transition: var(--transition-smooth) !important;
}

.btn-outline-white-pill:hover {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.btn-card-more {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 1.5px solid #ffffff !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
}

.btn-card-more:hover {
  background-color: #ffffff !important;
  color: var(--color-brand-green, #097544) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}


/* ===== ADDITIONAL PRE-EXISTING SECTIONS ===== */
.advantage-card {
  transition: var(--transition-smooth);
  border: 1px solid var(--color-border-subtle);
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium) !important;
}

.advantage-card .icon-box {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.advantage-card:hover .icon-box {
  background-color: var(--color-brand-green) !important;
  color: #ffffff !important;
}

.about-image-wrapper {
  padding: 15px;
}

.about-image-wrapper .img-frame {
  top: 0;
  left: 0;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  border: 3px solid var(--color-brand-green);
  background-color: transparent;
  z-index: 1;
  transform: translate(30px, 30px);
  border-radius: 12px;
}

.about-image-wrapper img {
  border-radius: 12px;
  z-index: 2;
}

.experience-badge {
  bottom: -10px;
  right: 30px;
  z-index: 3;
  width: 120px;
  height: 120px;
  border-radius: 50% !important;
  box-shadow: var(--shadow-medium);
}

.btn-filter {
  background-color: #ffffff;
  color: var(--color-text-dark);
  border: 1px solid var(--color-border-subtle);
  transition: var(--transition-smooth);
}

.btn-filter:hover,
.btn-filter.active {
  background-color: var(--color-brand-green);
  color: #ffffff;
  border-color: var(--color-brand-green);
}

.product-card {
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border-subtle) !important;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(9, 117, 68, 0.15) !important;
}

.product-img-box {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-img-box img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-out;
}

.product-card:hover .product-img-box img {
  transform: scale(1.05);
}

.product-card-wrapper.hide {
  display: none;
}

.service-item {
  transition: var(--transition-smooth);
}

.service-item:hover {
  background-color: #ffffff !important;
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.gallery-card {
  aspect-ratio: 3 / 2;
  cursor: pointer;
  overflow: hidden;
}

.gallery-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  background: linear-gradient(to top, rgba(7, 95, 54, 0.95) 0%, rgba(7, 95, 54, 0.4) 60%, transparent 100%);
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.footer {
  background-color: #131622 !important;
  color: #a0aec0 !important;
  border-top: none !important;
}

.footer-heading {
  position: relative;
  padding-bottom: 8px;
  color: #ffffff !important;
  font-size: 14px !important;
}

.footer-heading-no-bar {
  color: #ffffff !important;
  font-size: 14px !important;
}

.footer-link {
  color: #a0aec0 !important;
  transition: var(--transition-smooth);
  display: inline-block;
  font-size: 16px !important;
}

.footer-link:hover {
  color: #ffffff !important;
  transform: translateX(3px);
}

.footer-socials .social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #212638 !important;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
}

.footer-socials .social-btn:hover {
  background-color: var(--color-brand-green) !important;
  transform: translateY(-2px);
}

.payment-badge {
  transition: var(--transition-smooth);
  cursor: pointer;
}

.payment-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

/* Registration Overlapping Banner */


.cta-registration-wrapper {
  position: relative;
  z-index: 10;
}

body.home .cta-registration-wrapper {
  position: relative;
  z-index: 10;
  background: #f8faf5;
}

.cta-registration-card {
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  position: relative;
  bottom: -50px;
}

.cta-form-wrapper form {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0 !important;
  border-radius: 50px !important;
  padding: 4px;
}

.cta-form-wrapper input {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.cta-form-wrapper input::placeholder {
  color: #94a3b8;
}

/* Blog Custom Styling (No cards, pure text under image) */
.blog-featured-card-custom {
  cursor: pointer;
}

.featured-img-box-custom {
  transition: var(--transition-smooth);
}

.blog-featured-card-custom:hover .featured-img-box-custom {
  box-shadow: 0 8px 24px rgba(9, 117, 68, 0.12);
}

.blog-featured-card-custom:hover .blog-title {
  color: var(--color-brand-green) !important;
}

.blog-list-item-custom {
  cursor: pointer;
  transition: var(--transition-smooth);
}

.blog-list-item-custom:hover .blog-list-title-custom {
  color: var(--color-brand-green) !important;
}

.blog-thumb-box-custom {
  width: 180px !important;
  height: 115px !important;
}

.blog-date {
  font-size: 16px;
  color: #777777 !important;
}

.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Toggle Button styles */
.float-contact-btn {
  width: 60px;
  height: 60px;
  border-radius: 50% !important;
  background-color: #0e7037;
  border: none;
  box-shadow: 0 4px 16px rgba(14, 112, 55, 0.3);
  cursor: pointer !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 1000;
}

.float-contact-btn img {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.float-contact-btn:hover {
  transform: scale(1.05);
  background-color: #0c5f2e;
}

.float-contact-btn-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-contact-btn-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(14, 112, 55, 0.25);
  animation: contactPulse 2s infinite;
  z-index: 998;
  pointer-events: none;
}

.float-contact-btn-wrapper::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(14, 112, 55, 0.15);
  animation: contactPulseDouble 2s infinite;
  z-index: 997;
  pointer-events: none;
}

@keyframes contactPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@keyframes contactPulseDouble {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Contact Panel Card */
.float-contact-panel {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 290px;
  background-color: #ffffff;
  border-radius: 18px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  z-index: 1001;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}

.float-contact-panel.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Panel caret pointing down */
.float-contact-panel::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 24px;
  width: 12px;
  height: 12px;
  background-color: #ffffff;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  transform: rotate(45deg);
  z-index: 1002;
}

/* Header of the panel */
.float-contact-header {
  background-color: #0e7037;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.float-contact-header:hover {
  background-color: #0a582b;
}

.float-contact-header-icon {
  width: 44px;
  height: 44px;
  background-color: #b5db58;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-contact-header-icon img {
  width: 18px;
  height: 18px;
  animation: headerPhoneShake 1.5s infinite;
}

@keyframes headerPhoneShake {

  0%,
  100% {
    transform: rotate(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: rotate(-10deg);
  }

  20%,
  40%,
  60%,
  80% {
    transform: rotate(10deg);
  }
}

.float-contact-header-info {
  display: flex;
  flex-direction: column;
}

.float-contact-header-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 2px 0;
  font-weight: 500;
}

.float-contact-header-number {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  font-family: var(--font-body);
}

/* List Items inside panel */
.float-contact-list {
  background-color: #ffffff;
}

.float-contact-item {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b !important;
}

.float-contact-item:last-child {
  border-bottom: none;
}

.float-contact-item.item-zalo {
  background-color: #f0f4f8;
  /* default light grey/blue for zalo */
}

.float-contact-item.item-zalo:hover {
  background-color: #e2e8f0;
}

.float-contact-item.item-messenger {
  background-color: #ffffff;
}

.float-contact-item.item-messenger:hover {
  background-color: #f1f5f9;
}

.float-contact-item.item-quote {
  background-color: #ffffff;
}

.float-contact-item.item-quote:hover {
  background-color: #f1f5f9;
}

.float-contact-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
}

.float-contact-item-icon img,
.float-contact-item-icon svg {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.float-contact-item-text {
  font-size: 16px;
  font-weight: 600;
  color: #334155;
  transition: color 0.2s ease;
}

.float-contact-item:hover .float-contact-item-text {
  color: #0e7037;
}

/* ===== NEW SECTIONS STYLING ===== */

.featured-products-section {
  background-color: #f5faf6 !important;
}

.project-filters-bar::-webkit-scrollbar {
  display: none !important;
}

.project-filters-bar {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
  scroll-behavior: smooth;
}

.project-filters-nav-wrapper,
.prod-filters-nav-wrapper,
.brands-slider-nav-wrapper {
  position: relative;
}

.filter-nav-fade {
  display: none;
}

.btn-filter-pill {
  background-color: #ffffff !important;
  color: var(--color-text-dark) !important;
  border: 1px solid #ECECEC !important;
  padding: 8px 24px !important;
  border-radius: 50px !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  transition: var(--transition-smooth) !important;
}

.btn-filter-pill:hover,
.btn-filter-pill:focus,
.btn-filter-pill:active,
.btn-filter-pill.active {
  background-color: #12713A !important;
  color: #ffffff !important;
  border-color: #12713A !important;
  box-shadow: none !important;
}

/* Trust Brands Bar */
.brand-logo-card {
  border: 1.5px solid var(--color-border-subtle) !important;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.brand-logo-card:hover,
.brand-logo-card.active {
  border-color: var(--color-brand-green) !important;
  box-shadow: 0 4px 15px rgba(9, 117, 68, 0.08);
}

.brand-logo-card svg {
  max-width: 100%;
  height: auto;
}

/* Products Slider */
.products-slider-wrapper {
  position: relative;
}

.products-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;
  /* Firefox */
  -ms-overflow-style: none !important;
  /* IE and Edge */
}

.products-grid::-webkit-scrollbar {
  display: none !important;
  /* Chrome, Safari, Opera */
}

.products-grid>.col {
  flex-shrink: 0 !important;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  background-color: #ffffff;
  border: 1px solid var(--color-brand-green) !important;
  color: var(--color-brand-green) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
}

.slider-arrow.disabled {
  border-color: #e2e8f0 !important;
  color: #cbd5e1 !important;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.slider-arrow:not(.disabled):hover {
  background-color: var(--color-brand-green) !important;
  color: #ffffff !important;
  border-color: var(--color-brand-green) !important;
  box-shadow: 0 4px 12px rgba(9, 117, 68, 0.15);
}

.slider-arrow.arrow-left {
  left: -60px;
}

.slider-arrow.arrow-right {
  right: -60px;
}



/* Product Card */
.product-item-card {
  transition: var(--transition-smooth);
  position: relative;
}

.product-item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium) !important;
  border-color: rgba(9, 117, 68, 0.15) !important;
}

.product-item-card .badge-status {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  z-index: 2;
}

.product-img-holder {
  overflow: hidden;
  background-color: #f1f5f9;
}

.product-img-holder img {
  transition: transform 0.5s ease;
}

.product-item-card:hover .product-img-holder img {
  transform: scale(1.05);
}

.product-name {
  font-size: 18px !important;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.product-desc {
  font-size: 16px !important;
}

.product-desc .text-dark {
  color: #000000 !important;
}

.product-item-card:hover .product-name {
  color: var(--color-brand-green-dark) !important;
}

.price-box .price-current {
  font-size: 1.05rem;
}

.price-box .price-discount {
  color: #ef4444;
  font-weight: 600;
  font-size: 0.78rem;
}

.color-dots-row {
  margin-top: 10px !important;
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
}

.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  border: 2px solid transparent !important;
  margin: 0 !important;
  transition: all 0.2s ease;
}

.color-dot:hover:not(.active) {
  transform: scale(1.15);
}

.color-dot.color-green {
  background-color: #097544;
}

.color-dot.color-grey {
  background-color: #8c8c8c;
}

.color-dot.color-beige {
  background-color: #e5d3b3;
}

.color-dot.active {
  border-color: #ffffff !important;
  box-shadow: 0 0 0 2px var(--color-brand-green, #097544) !important;
}

.btn-outline-green-pill {
  background-color: transparent !important;
  color: var(--color-brand-green) !important;
  border: 1px solid var(--color-brand-green) !important;
  padding: 8px 32px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  border-radius: 50px !important;
  transition: var(--transition-smooth) !important;
  display: inline-block;
}

.btn-outline-green-pill:hover {
  background-color: var(--color-brand-green) !important;
  color: #ffffff !important;
}

.btn-green-pill {
  background-color: var(--color-brand-green);
  color: #ffffff;
  border: none;
  transition: var(--transition-smooth);
  padding: 10px 30px;
  font-size: 16px !important;
  font-weight: 700;
}

.btn-green-pill:hover {
  background-color: var(--color-brand-green-dark);
  box-shadow: 0 4px 12px rgba(9, 117, 68, 0.2);
}

/* Product Category Grid */
.category-card {
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1.5px solid var(--color-border-subtle) !important;
  text-decoration: none !important;
}

.category-card:hover,
.category-card.active {
  border-color: var(--color-brand-green) !important;
  box-shadow: 0 8px 25px rgba(9, 117, 68, 0.08);
  transform: translateY(-4px);
}

.category-card .icon-circle {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  background-color: #f1fbf6;
  /* Subtle green background by default */
}

.category-card:hover .icon-circle,
.category-card.active .icon-circle {
  background-color: var(--color-brand-green) !important;
}

.category-card .icon-circle img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.category-card:hover .icon-circle img,
.category-card.active .icon-circle img {
  filter: brightness(0) invert(1);
}

.category-card:hover h3,
.category-card.active h3 {
  color: var(--color-brand-green) !important;
}

.cat-tab-pane {
  animation: fadeInCat 0.25s ease-in-out;
}

@keyframes fadeInCat {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Completed Projects Slider */
.projects-carousel-section {
  background-image: url('../images/bg-duan.png') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f7faf7;
}

/* Slider wrapper chứa nút prev/next absolute */
.projects-carousel-section .position-relative {
  padding: 0 30px;
  overflow: visible;
}

#proj-prev,
#proj-next {
  z-index: 10;
}

#proj-prev {
  left: -20px;
}

#proj-next {
  right: -20px;
}

#projects-slider-track {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 45px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  /* Firefox */
  -ms-overflow-style: none !important;
  /* IE and Edge */
}

#projects-slider-track::-webkit-scrollbar {
  display: none !important;
  /* Chrome, Safari, Opera */
}

.project-card-col {
  width: 50%;
}



.project-slide-card {
  height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  cursor: pointer;
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.project-slide-card:hover {
  box-shadow: var(--shadow-medium);
}

.project-overlay {
  position: absolute;
  bottom: -30px;
  left: 20px;
  right: 20px;
  border-radius: 16px;
  padding: 24px !important;
  transition: var(--transition-smooth);
  z-index: 2;
  background-color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

.project-overlay .project-title {
  color: var(--color-brand-green-dark, #075f36) !important;
  transition: var(--transition-smooth);
}

.project-overlay .project-excerpt {
  color: var(--color-text-muted) !important;
  transition: var(--transition-smooth);
}

/* Hover state: background transitions to green, text transitions to white */
.project-slide-card:hover .project-overlay {
  background-color: #12713a !important;
}

.project-slide-card:hover .project-overlay .project-title {
  color: #ffffff !important;
}

.project-slide-card:hover .project-overlay .project-excerpt {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Custom Tags & Button on Project Card */
.project-tag {
  color: #64748b;
  border-color: #cbd5e1 !important;
  background-color: #f8fafc;
  transition: all 0.2s ease;
}

.project-more-btn {
  color: #12713a !important;
  background-color: #ffffff !important;
  border: none !important;
  transition: all 0.2s ease;
}

.project-card-btn-wrapper {
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, height 0.3s ease;
}

/* Hover styles for tags and button */
.project-slide-card:hover .project-tag {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  background-color: transparent !important;
}

.project-slide-card:hover .project-card-btn-wrapper {
  opacity: 1;
  height: auto;
  margin-top: 5px;
}

/* Layout helper for vertical archive grid columns to prevent overlapping */
.project-list-grid .project-card-col {
  margin-bottom: 40px !important;
}

.btn-nav-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid var(--color-brand-green) !important;
  color: var(--color-brand-green) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-nav-circle.disabled {
  border-color: #e2e8f0 !important;
  color: #cbd5e1 !important;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.btn-nav-circle:not(.disabled):hover {
  background-color: var(--color-brand-green) !important;
  color: #ffffff !important;
  border-color: var(--color-brand-green) !important;
  box-shadow: 0 4px 12px rgba(9, 117, 68, 0.15);
}

.dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background-color: #d1d5db !important;
  display: inline-block;
  cursor: pointer;
  transition: all 0.25s ease !important;
}

.dot:hover:not(.active) {
  background-color: #9ca3af !important;
}

.dot.active {
  background-color: var(--color-brand-green, #097544) !important;
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
}

#project-dots,
#partner-dots {
  gap: 5px !important;
}

/* Partner Logos */
.partners-logos-section {
  background-image: url('../images/bg-kh.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: min(100%, 1200px) auto;
  background-color: #ffffff !important;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
  margin-top: 50px !important;
}

#partners-logos-container {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;
  /* Firefox */
  -ms-overflow-style: none !important;
  /* IE and Edge */
}

#partners-logos-container::-webkit-scrollbar {
  display: none !important;
  /* Chrome, Safari, Opera */
}

#partners-logos-container>.col {
  flex-shrink: 0 !important;
}

.partner-logo-box {
  aspect-ratio: 16 / 7;
  transition: var(--transition-smooth);
  border: 1px solid #e2e8f0 !important;
  background-color: #ffffff !important;
  border-radius: 10px !important;
  overflow: hidden;
}

.partner-logo-img {
  max-height: 48px;
  max-width: 80%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.partner-logo-box:hover {
  border-color: var(--color-brand-green) !important;
  background-color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(9, 117, 68, 0.08);
}

.partner-logo-box:hover .partner-logo-img {
  transform: scale(1.05);
}

/* Blog & Experience */
.blog-featured-card {
  transition: var(--transition-smooth);
}

.blog-featured-card:hover {
  box-shadow: var(--shadow-medium) !important;
  transform: translateY(-4px);
  border-color: rgba(9, 117, 68, 0.15) !important;
}

.featured-img-box {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.featured-img-box img {
  transition: transform 0.5s ease;
}

.blog-featured-card:hover .featured-img-box img {
  transform: scale(1.03);
}

.blog-list-card {
  transition: var(--transition-smooth);
  cursor: pointer;
}

.blog-list-card:hover {
  box-shadow: var(--shadow-medium) !important;
  transform: translateY(-2px);
  border-color: rgba(9, 117, 68, 0.15) !important;
}

.blog-thumb-box {
  width: 100px;
  height: 75px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.blog-thumb-box img {
  transition: transform 0.5s ease;
}

.blog-list-card:hover .blog-thumb-box img {
  transform: scale(1.05);
}

.blog-list-title {
  font-size: 16px !important;
  transition: var(--transition-smooth);
}

.blog-list-card:hover .blog-list-title {
  color: var(--color-brand-green) !important;
}

/* Mobile Menu helper elements (hidden on desktop) */
.mobile-menu-header {
  display: none !important;
}

.mobile-menu-search {
  display: none !important;
}



/* ===== ESTIMATION MODAL & CART OFF-CANVAS DRAWER ===== */
#cartOffcanvas {
  width: 400px;
  max-width: 90vw;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  z-index: 1060 !important;
}

.offcanvas-backdrop {
  z-index: 1055 !important;
}

.cart-item-card {
  border-color: var(--color-border-subtle) !important;
  transition: var(--transition-smooth);
}

.cart-item-card:hover {
  border-color: var(--color-brand-green) !important;
  box-shadow: var(--shadow-soft);
}

.cart-item-img-wrapper {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.qty-selector button {
  transition: background-color 0.2s ease;
}

.qty-selector button:hover {
  background-color: #e2e8f0 !important;
}

.btn-remove-item {
  opacity: 0.4;
  transition: all 0.2s ease;
}

.btn-remove-item:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Modal Calculator styling */
.calculation-results-box {
  background-color: #f8fafc;
  border-color: var(--color-border-subtle) !important;
}

.bg-light-green-subtle {
  background-color: #f1fbf6 !important;
}

#calculatorModal .modal-header {
  border-bottom: 2px solid #085a33 !important;
}

#calculatorModal input:focus,
#calculatorModal select:focus {
  border-color: var(--color-brand-green) !important;
  box-shadow: 0 0 0 3px rgba(9, 117, 68, 0.15) !important;
}

/* Form input height adjustment */
#cart-checkout-form .form-control,
#calculatorModal .form-control,
#calculatorModal .form-select {
  height: 40px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 40px !important;
}

/* Section title font size */
h2.title-section {
  font-size: 28px !important;
}



/* ===== CATEGORY PAGE COMPONENT STYLES ===== */
.category-banner-section {
  background: linear-gradient(135deg, var(--color-brand-green-light) 0%, #f7faf5 100%) !important;
}

.filter-sidebar-card {
  border-color: var(--color-border-subtle) !important;
  background-color: #ffffff;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 100px;
}

.filter-section h5 {
  font-size: 13px !important;
  font-weight: 800;
  color: var(--color-brand-green);
  border-bottom: 1px solid var(--color-border-subtle) !important;
  padding-bottom: 8px;
  margin-bottom: 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Sidebar Category Tree styling */
.sidebar-category-list {
  margin: 0;
  padding: 0;
}

.sidebar-cat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  background-color: transparent;
}

.sidebar-cat-header:hover {
  background-color: var(--color-brand-green-light);
}

.sidebar-cat-header:hover .sidebar-cat-link {
  color: #12713A !important;
}

.sidebar-cat-header.active {
  background-color: var(--color-brand-green-light);
  border-left: 4px solid #12713A;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.sidebar-cat-header.active .sidebar-cat-link {
  color: #12713A !important;
  font-weight: 700 !important;
}

.sidebar-cat-link {
  color: var(--color-text-dark) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.sidebar-subcat-list {
  margin: 0;
  list-style: none;
  border-left: 1px dashed var(--color-border-subtle);
  margin-left: 20px;
  animation: slideDownCollapse 0.25s ease-out;
}

@keyframes slideDownCollapse {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sidebar-subcat-link {
  display: block;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--color-text-muted) !important;
  text-decoration: none !important;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.sidebar-subcat-link:hover {
  color: #12713A !important;
  background-color: var(--color-brand-green-light);
  padding-left: 16px;
}

.sidebar-subcat-link.active {
  color: #12713A !important;
  font-weight: 700 !important;
  background-color: rgba(18, 113, 58, 0.05);
}

.sidebar-cat-header .toggle-icon {
  font-size: 12px;
  color: var(--color-text-muted);
  transition: transform 0.25s ease;
}

.sidebar-cat-header.active .toggle-icon {
  color: #12713A;
}

.sidebar-cat-header .rotate-180 {
  transform: rotate(180deg);
}

/* Custom checkbox styles */
.custom-checkbox-wrapper {
  display: flex;
  align-items: center;
  padding-left: 0 !important;
}

.custom-checkbox-wrapper label {
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-dark);
  user-select: none;
  transition: var(--transition-smooth);
}

.custom-checkbox-wrapper label:hover {
  color: #12713A;
}

.custom-checkbox {
  width: 18px !important;
  height: 18px !important;
  margin-top: 0 !important;
  margin-right: 10px !important;
  cursor: pointer;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 4px !important;
  transition: var(--transition-smooth) !important;
}

.custom-checkbox:checked {
  background-color: #12713A !important;
  border-color: #12713A !important;
}

.custom-checkbox:focus {
  border-color: #12713A !important;
  box-shadow: 0 0 0 3px rgba(18, 113, 58, 0.15) !important;
}

/* Custom Pagination styling */
.pagination-custom .page-item {
  margin: 0 4px;
}

.pagination-custom .page-link {
  width: 38px;
  height: 38px;
  border-radius: 50% !important;
  color: var(--color-text-dark) !important;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--color-border-subtle) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  transition: var(--transition-smooth);
  background-color: #ffffff;
  box-shadow: none !important;
}

.pagination-custom .page-link:hover {
  background-color: var(--color-brand-green-light) !important;
  border-color: #12713A !important;
  color: #12713A !important;
}

.pagination-custom .page-item.active .page-link {
  background-color: #12713A !important;
  border-color: #12713A !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(18, 113, 58, 0.25) !important;
}

.pagination-custom .page-item.disabled .page-link {
  color: #cbd5e1 !important;
  background-color: #f8fafc !important;
  border-color: var(--color-border-subtle) !important;
  cursor: not-allowed;
}

/* Form Select inputs on Category Page */
#sort-select:focus {
  border-color: #12713A !important;
  box-shadow: 0 0 0 3px rgba(18, 113, 58, 0.15) !important;
}

/* Mobile offcanvas customizations */
#filterOffcanvas {
  border-right: none !important;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.08) !important;
}

#filterOffcanvas .offcanvas-header {
  border-bottom: 1px solid var(--color-border-subtle) !important;
  background-color: #ffffff !important;
}

#filterOffcanvas .offcanvas-title {
  font-size: 16px !important;
  color: #12713A !important;
}

@layer utilities {
  .fs-7 {
    font-size: 0.9rem !important;
  }

  .fs-7.5 {
    font-size: 0.84rem !important;
  }

  .fs-8 {
    font-size: 0.78rem !important;
  }

  .fw-300 {
    font-weight: 300 !important;
  }

  .fw-500 {
    font-weight: 500 !important;
  }

  .fw-600 {
    font-weight: 600 !important;
  }

  .fw-700 {
    font-weight: 700 !important;
  }

  .fw-800 {
    font-weight: 800 !important;
  }

  .max-w-450 {
    max-width: 450px;
  }

  .max-w-600 {
    max-width: 600px;
  }

  .uppercase {
    text-transform: uppercase;
  }

  .tracking-wide {
    letter-spacing: 0.8px;
  }

  .letter-spacing-wide {
    letter-spacing: 1.2px;
  }

  .leading-relaxed {
    line-height: 1.65;
  }


  .fs-9 {
    font-size: 0.7rem !important;
  }

}

/* ===== CATEGORY PAGE STYLES ===== */

/* Brand Card */
.cat-brand-card {
  height: 74px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.cat-brand-card img {
  max-height: 34px !important;
  max-width: 85% !important;
  object-fit: contain !important;
  transition: transform 0.25s ease !important;
}

.cat-brand-card:hover {
  border-color: var(--color-brand-green, #097544) !important;
  box-shadow: 0 6px 16px rgba(9, 117, 68, 0.08) !important;
}

.cat-brand-card:hover img {
  transform: scale(1.05);
}

.cat-brand-card.active {
  border-color: #12713A !important;
  border-width: 1px !important;
  box-shadow: 0 2px 8px rgba(18, 113, 58, 0.12);
}

/* Need Card */
.cat-need-card {
  height: 100% !important;
  min-height: 176px !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 24px 16px !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.cat-need-card img {
  width: 48px !important;
  height: 48px !important;
  margin-bottom: 14px !important;
  object-fit: contain !important;
  transition: transform 0.3s ease !important;
}

.cat-need-card p {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  line-height: 1.4 !important;
  margin-bottom: 4px !important;
}

.cat-need-card span {
  font-size: 14px !important;
  color: #64748b !important;
  font-weight: 400 !important;
}

.cat-need-card:hover {
  border-color: var(--color-brand-green, #097544) !important;
  box-shadow: 0 10px 25px rgba(9, 117, 68, 0.1) !important;
  transform: translateY(-4px) !important;
}

.cat-need-card:hover img {
  transform: scale(1.08);
}

.cat-need-card.active {
  border: 1.5px solid var(--color-brand-green, #097544) !important;
  box-shadow: 0 6px 16px rgba(9, 117, 68, 0.06) !important;
}

/* Countdown box */
.countdown-box {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 8px 0 !important;
  width: 90px !important;
  font-size: 14px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
  flex-shrink: 0 !important;
}

.countdown-num {
  font-weight: 800 !important;
  color: #1e293b !important;
  font-size: 15px !important;
  display: inline-block !important;
  width: 22px !important;
  text-align: center !important;
  font-variant-numeric: tabular-nums !important;
}

.countdown-label {
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

/* Product image holder */
.product-img-holder {
  width: 100%;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-holder img {
  transition: transform 0.3s ease;
}

.product-item-card:hover .product-img-holder img {
  transform: scale(1.05);
}

/* Badge status */
.badge-status {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  line-height: 1.4;
}

/* Price styling */
.price-box {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
}

.price-current {
  width: 100% !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #ef4444 !important;
  margin-bottom: 2px !important;
  display: block !important;
}

.price-old {
  font-size: 13px !important;
  color: #94a3b8 !important;
}

.price-discount {
  font-size: 11px !important;
  font-weight: 600 !important;
  background-color: #fee2e2 !important;
  color: #ef4444 !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  display: inline-block !important;
}

/* Color dots */
.color-dots-row {
  gap: 5px !important;
}

.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid transparent !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.color-dot:hover:not(.active) {
  transform: scale(1.15);
}

.color-dot.active {
  border-color: #ffffff !important;
  box-shadow: 0 0 0 2px var(--color-brand-green, #097544) !important;
}

.color-dot.color-green {
  background-color: #5b7b5d;
}

.color-dot.color-grey {
  background-color: #9ca3af;
}

.color-dot.color-beige {
  background-color: #d4c5a9;
}

.cat-editorial-text {
  position: relative;
}

.cat-editorial-text.collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  pointer-events: none;
}

#filter-criteria {
  scroll-margin-top: 90px;
}

/* Filter Pill */
.cat-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-filter-pill.dropdown-toggle::after {
  display: none !important;
}

.cat-filter-pill:hover {
  border-color: #12713A;
  color: #12713A;
}

.cat-filter-pill.active {
  border-color: #12713A;
  color: #12713A;
  background: rgba(18, 113, 58, 0.04);
}

/* Sort Pill */
.cat-sort-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-sort-pill:hover {
  border-color: #12713A;
  color: #12713A;
}

.cat-sort-pill.active {
  border-color: #12713A;
  color: #12713A;
  background: rgba(18, 113, 58, 0.04);
  font-weight: 600;
}

/* FAQ Accordion */
.cat-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cat-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.cat-faq-item.active {
  border-color: #12713A;
}

.cat-faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 18px !important;
  color: #1e293b;
  gap: 12px;
}

.cat-faq-header span {
  font-size: 18px !important;
}

.cat-faq-item.active .cat-faq-header {
  color: #12713A;
}

.cat-faq-icon-minus {
  display: none;
}

.cat-faq-icon-plus {
  display: inline;
  color: #64748b;
}

.cat-faq-item.active .cat-faq-icon-minus {
  display: inline;
  color: #12713A;
}

.cat-faq-item.active .cat-faq-icon-plus {
  display: none;
}

.cat-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  font-size: 14px !important;
}

.cat-faq-body p,
.cat-faq-body div {
  font-size: 14px !important;
}

.cat-faq-item.active .cat-faq-body {
  max-height: 300px;
  padding: 0 20px 16px;
}

/* News Sidebar */
.cat-news-item {
  transition: all 0.15s ease;
  padding: 4px;
  border-radius: 8px;
}

.cat-news-item:hover {
  background: #f8fafc;
}

/* Product Name */
.text-dark-green {
  color: #12713A;
}

/* Product card hover */
.product-item-card {
  transition: all 0.2s ease;
}

.product-item-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* ===== PRODUCT DETAIL PAGE STYLES ===== */

/* Gallery */
.product-gallery-main {
  position: relative;
  border-color: #e2e8f0 !important;
}

.gallery-arrow {
  width: 46px;
  height: 46px;
  background: #ffffff !important;
  color: #64748b !important;
  border: 1px solid #e2e8f0 !important;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.gallery-arrow.arrow-left {
  left: 20px !important;
}

.gallery-arrow.arrow-right {
  right: 20px !important;
}

.gallery-arrow.active-arrow {
  border-color: var(--color-brand-green, #097544) !important;
  color: var(--color-brand-green, #097544) !important;
}

.gallery-arrow.disabled-arrow {
  border-color: #e2e8f0 !important;
  color: #cbd5e1 !important;
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
}

.gallery-arrow:not(.disabled-arrow):hover {
  background: #ffffff !important;
  color: var(--color-brand-green, #097544) !important;
  border-color: var(--color-brand-green, #097544) !important;
  box-shadow: 0 4px 16px rgba(9, 117, 68, 0.12) !important;
}

.gallery-arrow:active {
  transform: translateY(-50%) scale(0.95) !important;
}

.gallery-thumbnails {
  gap: 12px !important;
}

.gallery-thumbnails .thumb-item {
  width: 78px;
  height: 78px;
  border: 1.5px solid #eaeaea !important;
  border-radius: 8px !important;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gallery-thumbnails .thumb-item:hover {
  border-color: #cbd5e1 !important;
}

.gallery-thumbnails .thumb-item.active {
  border-color: #12713A !important;
  border-width: 1.5px !important;
}

/* Spec Grid basic info */
.spec-grid-item {
  border-color: #f1f5f9 !important;
  transition: all 0.2s ease;
  background-color: #fafbfb !important;
}

.spec-grid-item:hover {
  border-color: #e2e8f0 !important;
  background-color: #f8fafc !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

/* Accessory checkbox item buy along */
.shadow-2xs {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.check-promo-buy-along:checked {
  background-color: #12713A;
  border-color: #12713A;
}

/* Document Download List */
.document-download-item {
  background-color: #fff;
  border-color: #e2e8f0 !important;
}

.document-download-item:hover {
  border-color: #12713A !important;
  box-shadow: 0 4px 12px rgba(18, 113, 58, 0.05);
}

.document-download-item:hover .doc-icon-box {
  background-color: rgba(18, 113, 58, 0.08) !important;
  color: #12713A !important;
}

/* Star rating progress */
.w-10 {
  width: 10% !important;
}

/* Related blog articles list */
.related-post-item {
  border-radius: 8px;
}

.related-post-item:hover {
  background-color: #f8fafc;
}

.related-post-item:hover h6 {
  color: #12713A !important;
}

/* QA Threads and Avatars */
.qa-thread-item .avatar {
  flex-shrink: 0;
}

.admin-response-box {
  border-color: #12713A !important;
}

/* General hover underscore */
.hover-underline:hover {
  text-decoration: underline !important;
}

/* ============================================
   DETAIL PAGE - Product Info Panel
   ============================================ */

/* Cursor pointer utility */
.cursor-pointer {
  cursor: pointer;
}

/* Product info panel */
.product-info-panel {
  padding: 0 0 0 12px;
}

/* Spec grid items */
.spec-grid-item {
  transition: var(--transition-smooth);
  border-color: #e8ecef !important;
}

.spec-grid-item:hover {
  border-color: var(--color-brand-green) !important;
  background-color: #F0FBF4 !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(9, 117, 68, 0.08);
}

/* Dimension inputs */
#dim-width,
#dim-height,
#dim-qty {
  font-size: 14px;
  height: 38px;
  border-color: #dee2e6;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#dim-width:focus,
#dim-height:focus,
#dim-qty:focus {
  border-color: var(--color-brand-green);
  box-shadow: 0 0 0 3px rgba(18, 113, 58, 0.1);
}

/* Buy package items */
label[for^="pkg"] {
  transition: all 0.2s ease;
  cursor: pointer;
  border-color: #e8ecef !important;
  background-color: #fff !important;
}

label[for^="pkg"]:hover {
  border-color: var(--color-brand-green) !important;
  background-color: #FAFFF7 !important;
  box-shadow: 0 2px 6px rgba(9, 117, 68, 0.06);
}

label[for^="pkg"] .form-check-input:checked {
  background-color: var(--color-brand-green);
  border-color: var(--color-brand-green);
}

/* Action buttons */
#btn-add-to-cart-detail {
  height: 50px;
  border: 1px solid var(--color-brand-green) !important;
  color: var(--color-brand-green) !important;
  background-color: #fff !important;
  transition: all 0.2s ease;
}

#btn-add-to-cart-detail:hover {
  background-color: var(--color-brand-green) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(9, 117, 68, 0.2);
}

#btn-add-to-cart-detail:hover img {
  filter: brightness(0) invert(1);
}

.btn-contact-custom span {
  font-size: 15px !important;
  font-weight: 400;
}

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

#btn-buy-now-detail {
  height: 50px;
  background-color: var(--color-brand-green) !important;
  border: none !important;
  line-height: 1.2;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(9, 117, 68, 0.15);
}

#btn-buy-now-detail:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(9, 117, 68, 0.25);
}

/* Contact quick link buttons */
.btn-contact-custom {
  border: 1px solid var(--color-accent) !important;
  color: var(--color-text-dark) !important;
  background-color: #fff !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px !important;
  text-decoration: none;
  gap: 5px !important;
}

.note-data-chat {
  margin: 20px 0;
}

.btn-contact-custom svg {
  position: relative !important;
  top: 2px;
}

.btn-contact-custom:hover {
  background-color: #ffffff !important;
  border-color: var(--color-brand-green) !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 4px 15px rgba(9, 117, 68, 0.12), 0 2px 6px rgba(0, 0, 0, 0.05) !important;
  color: var(--color-brand-green) !important;
}

/* Detail page spec grid card styling */
.spec-container-card {
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 16px !important;
}

.spec-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Custom calculation form inputs styling */
.form-control-calc {
  height: 44px !important;
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  font-size: 0.9rem !important;
  color: var(--color-text-dark) !important;
  background-color: #ffffff !important;
  transition: all 0.2s ease !important;
}

.form-control-calc::placeholder {
  color: #94a3b8 !important;
  font-weight: 500 !important;
}

.form-control-calc:focus {
  border-color: var(--color-brand-green) !important;
  box-shadow: 0 0 0 3px rgba(9, 117, 68, 0.1) !important;
  outline: none !important;
}

/* Estimation card styling */
.estimation-card {
  background-color: #f1fbf6 !important;
  border: 1px solid #d4edda !important;
  border-radius: 12px !important;
  padding: 16px !important;
}

/* Highlight icon boxes beneath gallery */
.row.g-3.mt-4 .p-3.border.rounded-3 {
  transition: all 0.2s ease;
}

.row.g-3.mt-4 .p-3.border.rounded-3:hover {
  border-color: var(--color-brand-green) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}



/* Styling for secondary outline buttons (gray outline) to match the estimation button hover behavior */
.btn-outline-secondary {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-outline-secondary i {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-outline-secondary:hover {
  background-color: #ffffff !important;
  color: var(--color-brand-green, #097544) !important;
  border-color: var(--color-brand-green, #097544) !important;
  box-shadow: 0 4px 15px rgba(9, 117, 68, 0.12) !important;
  transform: translateY(-1.5px) !important;
}

.btn-outline-secondary:hover i {
  transform: scale(1.15) !important;
}

/* Also style the outline brand green buttons (e.g. in detail.html) to hover consistently */
.btn-outline-brand-green {
  background-color: transparent !important;
  color: var(--color-brand-green, #097544) !important;
  border: 1.5px solid var(--color-brand-green, #097544) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-outline-brand-green:hover {
  background-color: #ffffff !important;
  color: var(--color-brand-green, #097544) !important;
  border-color: var(--color-brand-green, #097544) !important;
  box-shadow: 0 4px 15px rgba(9, 117, 68, 0.12) !important;
  transform: translateY(-1.5px) !important;
}

/* Buy Along Card */
.buy-along-card {
  border: 1px solid #cbd5e1 !important;
  background-color: #f8fafc !important;
  border-radius: 12px !important;
}

.buy-along-list h6 {
  font-size: 14px !important;
}

.buy-along-list::-webkit-scrollbar {
  width: 4px;
}

.buy-along-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 2px;
}

.buy-along-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}

.buy-along-img-box {
  width: 50px;
  height: 50px;
  border: 1px solid #e2e8f0;
  background-color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2px;
}

.buy-along-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Features Expand/Collapse and Attachments styling */
.editorial-detail-content.collapsed-content {
  max-height: 420px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}

.editorial-detail-content.expanded-content {
  max-height: 10000px;
  transition: max-height 0.4s ease;
}

.expand-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 75%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  pointer-events: none;
}

.btn-expand-features {
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  color: #475569 !important;
  pointer-events: auto;
  transition: all 0.2s ease;
  z-index: 10;
}

.btn-expand-features:hover {
  border-color: var(--color-brand-green) !important;
  color: var(--color-brand-green) !important;
  transform: translateY(-1px);
}

.editorial-detail-content.expanded-content+.expand-wrapper {
  position: relative;
  height: auto;
  background: none;
  padding-top: 20px;
  padding-bottom: 0;
  margin-top: 15px;
}

.hover-green {
  transition: color 0.2s ease;
}

.hover-green:hover {
  color: var(--color-brand-green) !important;
}

/* Detail Highlights & Documents Card styling to match mockup precisely */
.detail-highlights-card {
  background-color: #ffffff !important;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

/* Q&A Custom Mockup Styling */
.qa-user-avatar {
  width: 38px;
  height: 38px;
  background-color: #097544;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  border-radius: 6px;
  flex-shrink: 0;
}

.qa-admin-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #12713A;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  flex-shrink: 0;
  overflow: hidden;
  padding: 8px;
}

.qa-admin-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qa-thread-reply-wrapper {
  margin-left: 38px;
}

.qa-thread-line {
  position: absolute;
  left: -20px;
  top: -24px;
  bottom: 20px;
  width: 14px;
  border-left: 1.5px solid #e2e8f0;
  border-bottom: 1.5px solid #e2e8f0;
  border-bottom-left-radius: 8px;
}

.qa-prompt-box textarea:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

/* Custom separation line style */
.text-light-gray {
  color: #cbd5e1 !important;
}

/* Brand green button styling */
.btn-brand-green {
  background-color: var(--color-brand-green) !important;
  color: #ffffff !important;
  transition: all 0.2s ease !important;
  border: none !important;
}

.btn-brand-green:hover {
  background-color: var(--color-brand-green-dark) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(9, 117, 68, 0.2) !important;
}

/* Estimation summary box styling */
.estimation-summary-box {
  padding: 15px 20px !important;
  border-radius: 8px !important;
  background-color: rgba(18, 113, 58, 0.05) !important;
  border: 1px solid rgba(18, 113, 58, 0.15) !important;
}

.estimation-summary-box .row {
  --bs-gutter-x: 10px !important;
  --bs-gutter-y: 10px !important;
}

/* Product detail panel section title */
.panel-section-title {
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 24px !important;
  color: #323232 !important;
}

/* Product detail current price styling */
#detail-current-price {
  font-family: var(--font-body) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 32px !important;
  color: #F31F1B !important;
}

/* Product detail price label styling */
.price-label {
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 24px !important;
  color: #323232 !important;
}

/* Accessory item title styling */
.accessory-item-title {
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 24px !important;
  color: #323232 !important;
}

/* Override category card typography moved to unlayered overrides */

.post-meta span {
  text-transform: capitalize;
}

.post-meta-row {
  text-transform: capitalize;
}

.single-post-title {
  font-size: 30px;
  line-height: 38px;
  letter-spacing: -0.5px;
  font-weight: 500;
}

.web-breadcrumb {
  padding: 20px 0;
}

.web-breadcrumb p {
  margin-bottom: 0;
  color: #323232;
}

.project-hero-banner .web-breadcrumb,
.news-hero-banner .web-breadcrumb {
  background-color: transparent;
}

.project-hero-banner .web-breadcrumb *,
.news-hero-banner .web-breadcrumb * {
  color: #fff;
}

.project-hero-banner .web-breadcrumb .container,
.news-hero-banner .web-breadcrumb .container {
  padding: 0;
  width: 100%;
}

.web-breadcrumb p a {
  color: #777777;
  text-decoration: none;
}

.web-breadcrumb .separator {
  color: #777777;
  margin: 0 5px;
}

.project-hero-banner .web-breadcrumb .separator,
.news-hero-banner .web-breadcrumb .separator {
  color: #fff;
}

.about-breadcrumb .breadcrumb-item,
.contact-breadcrumb .breadcrumb-item {
  font-family: var(--font-body);
  font-size: 14px;
}

.about-breadcrumb .breadcrumb-item a,
.contact-breadcrumb .breadcrumb-item a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}


.about-breadcrumb .breadcrumb-item a:hover,
.contact-breadcrumb .breadcrumb-item a:hover {
  color: var(--color-brand-green, #097544);
}

.about-breadcrumb .breadcrumb-item.active,
.contact-breadcrumb .breadcrumb-item.active {
  color: #1e293b;
  font-weight: 400;
}

.about-breadcrumb .breadcrumb-item+.breadcrumb-item::before,
.contact-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: #cbd5e1;
  content: "/";
  padding-left: 12px;
  padding-right: 12px;
}

/* ===== RANK MATH BREADCRUMBS STYLES ===== */
.about-breadcrumb .rank-math-breadcrumb {
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  margin-bottom: 0 !important;
  color: #64748b !important;
}

.about-breadcrumb .rank-math-breadcrumb a {
  color: #64748b !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.about-breadcrumb .rank-math-breadcrumb a:hover {
  color: var(--color-brand-green, #097544) !important;
}

.about-breadcrumb .rank-math-breadcrumb .separator {
  color: #cbd5e1 !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.about-breadcrumb .rank-math-breadcrumb .last {
  color: #1e293b !important;
  font-weight: 400 !important;
}

/* ===== LIEN HE (CONTACT) PAGE CUSTOM STYLES ===== */
.contact-title {
  color: var(--color-text-dark);
  font-size: 28px;
}

.text-dark-gray {
  color: #334155 !important;
}

.contact-info-icon {
  color: #12713a !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-form .form-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.contact-form .form-control {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: #ffffff;
}

.contact-form .form-control:focus {
  border-color: #12713a !important;
  box-shadow: 0 0 0 3px rgba(18, 113, 58, 0.15) !important;
  outline: none;
}

.contact-form textarea.form-control {
  resize: vertical;
}

.contact-form .btn-brand-green {
  background-color: #12713a !important;
  border-color: #12713a !important;
}

.contact-form .btn-brand-green:hover {
  background-color: #0e6833 !important;
  border-color: #0e6833 !important;
}

.contact-info-list li {
  line-height: 1.6;
}

.contact-info-list span {
  font-size: 14.5px;
}

/* ===== GIOI THIEU (ABOUT) PAGE CUSTOM STYLES ===== */

.about-collage-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.about-collage-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 530px;
  padding-top: 100px;
}

.about-video-box {
  flex-grow: 1;
  height: 0;
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
}

.about-play-btn {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-green);
  font-size: 28px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding-left: 4px;
  /* offset play icon slightly for perfect centering */
}

.about-play-btn:hover {
  transform: scale(1.12);
  background-color: #ffffff;
  color: var(--color-brand-green-dark);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.about-hotline-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: transparent;
  width: fit-content;
  transition: all 0.3s ease;
  flex-shrink: 0;
  text-decoration: none !important;
}

.about-hotline-card:hover {
  transform: translateY(-2.5px);
}

.about-hotline-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #e8f5ed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hotline-icon img {
  width: 20px;
  height: 20px;
}

li.d-flex.align-items-start.data-list {
  gap: 8px;
}

.about-hotline-text .label {
  font-size: 14px;
  color: #64748b;
  font-weight: 400;
  line-height: 1.3;
}

.about-hotline-text .number {
  font-size: 20px;
  font-weight: 800;
  color: #12713a;
  line-height: 1.3;
}

.about-collage-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 528px;
}

.about-collage-right-img {
  height: calc(50% - 10px);
  border-radius: 16px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.about-title {
  color: var(--color-text-dark);
  font-size: 28px;
}

.about-description p {
  font-size: 15px !important;
  line-height: 1.8;
  color: #475569;
}

/* Vision Section Styling */
.vision-title {
  color: var(--color-text-dark);
  font-size: 28px;
}

.vision-image-box {
  height: 480px;
  background-color: #f1f5f9;
}

.vision-description p {
  font-size: 15px !important;
  line-height: 1.8;
  color: #475569;
}

/* Mission Section Styling */
.mission-section {
  background: linear-gradient(to bottom, rgba(236, 251, 210, 0) 0%, rgba(236, 251, 210, 1) 100%);
}

.mission-title {
  color: var(--color-text-dark);
  font-size: 28px;
}

.mission-image-box {
  height: 480px;
  background-color: #f1f5f9;
}

.mission-timeline {
  position: relative;
  padding-left: 0;
}

.mission-timeline::before {
  content: "";
  position: absolute;
  left: 60px;
  top: 15px;
  bottom: 15px;
  width: 1px;
  border-left: 1px dashed #cbd5e1;
  z-index: 1;
}

.mission-item {
  position: relative;
  margin-bottom: 30px;
}

.mission-item:last-child {
  margin-bottom: 0;
}

.mission-item-header {
  position: relative;
  z-index: 2;
}

.mission-number {
  display: inline-block;
  width: 40px;
  color: var(--color-brand-green);
  font-size: 18px;
  font-weight: 700;
  text-align: right;
}

.mission-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-brand-green);
  border-radius: 50%;
  margin-left: 16px;
  margin-right: 16px;
}

.mission-item-title {
  color: var(--color-text-dark);
  font-size: 18px;
  font-weight: 700;
}

.mission-item-body {
  padding-left: 80px;
  margin-top: 8px;
}

.mission-item-body p {
  font-size: 15px !important;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 0;
}

/* Brand Marquee Styling */
.brand-marquee-section {
  background-color: var(--color-brand-green);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.brand-marquee-wrapper {
  display: flex;
  width: 100%;
}

.brand-marquee-scroll {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  animation: marquee-scroll 25s linear infinite;
}

.brand-marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 0 40px;
  white-space: nowrap;
}

.brand-marquee-item img.marquee-logo {
  width: auto;
  filter: brightness(0) invert(1);
}

.brand-marquee-item .marquee-text {
  letter-spacing: 0.5px;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}



/* Custom styling for the project single sidebar quote box */
.project-sidebar-quote-box {
  background-color: rgba(18, 113, 58, 0.03) !important;
  border: 1px solid rgba(18, 113, 58, 0.12) !important;
  transition: all 0.2s ease;
}

.project-sidebar-quote-box:hover {
  border-color: rgba(18, 113, 58, 0.25) !important;
  box-shadow: 0 4px 12px rgba(18, 113, 58, 0.05) !important;
}

/* Custom Related Projects Slider & Project Lightbox styles */
#related-projects-slider-track {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding-bottom: 45px !important;
}

#related-projects-slider-track::-webkit-scrollbar {
  display: none !important;
}

.project-collage img {
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.project-collage img:hover {
  opacity: 0.9;
  transform: scale(1.01);
}

.project-lightbox-modal {
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(15, 23, 42, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.project-lightbox-modal.show .lightbox-content img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  z-index: 100000;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: #12713a;
}

h3.blog-title {
  font-size: 22px;
}

h3.blog-title {
  font-size: 22px;
}

h3.blog-list-title-custom.mt-1.mb-0.text-dark.lh-sm.transition-color.hover-green-title {
  font-size: 18px;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 30px;
  padding: 16px;
  cursor: pointer;
  text-decoration: none;
  z-index: 100000;
  user-select: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #12713a;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.project-template-default {
  background: linear-gradient(to bottom, #f3fce4ff 0%, rgba(255, 255, 255, 0) 100%);
}

.project-breadcrumb {
  border-bottom: 0px !important;
}

.info-image-project,
.single-project-content,
.project-sidebar-quote-box-single,
.single-post-detail-box,
.sidebar-widget {
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;
}

/* Block báo giá bên phải trang dự án: dính lại khi scroll (desktop) */
@media (min-width: 992px) {
  .project-sidebar-quote-box-single {
    position: sticky;
    top: 100px;
  }
}

.blog-list-card,
.blog-featured-card-custom {
  border-radius: 12px;
  background: #fff;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;
  overflow: hidden;
}

.blog-list-card .card-body,
.blog-featured-card-custom .featured-content-custom {
  padding: 20px;
}

.blog-list-card-horizontal {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px !important;
}

.blog-list-card-horizontal .card-img-box {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.blog-list-card-horizontal .card-img-box a {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-list-card-horizontal .card-img-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.blog-featured-card-custom .featured-img-box-custom {
  width: 100%;
  height: 380px;
  overflow: hidden;
}





.project-list-grid {
  --bs-gutter-x: 30px !important;
  --bs-gutter-y: 30px !important;
}

#projects-slider-track,
#related-projects-slider-track {
  --bs-gutter-x: 30px !important;
}

#related-proj-prev,
#related-proj-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

#related-proj-prev {
  left: -60px;
}

#related-proj-next {
  right: -60px;
}



/* ===== PREMIUM NEWS & ARTICLE STYLINGS ===== */
.transition-scale {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.transition-color {
  transition: color 0.25s ease !important;
}

.transition-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

/* Cards Hover & Animations */
.blog-list-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(9, 117, 68, 0.25) !important;
}

.blog-list-card:hover .transition-scale,
.blog-featured-card-custom:hover .transition-scale,
.hover-green-parent:hover .transition-scale {
  transform: scale(1.05);
}

.hover-green-title {
  color: #1e293b;
}

.hover-green-title:hover {
  color: var(--color-brand-green, #097544) !important;
}

/* Sidebar Styling Updates */
.news-sidebar .sidebar-widget {
  border: none !important;
}

/* Modern Widget Title Accent */
.news-sidebar .widget-title {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #097544 !important;
  margin-bottom: 20px !important;
  padding-bottom: 8px;
  position: relative;
  border-bottom: none !important;
}

.news-sidebar .widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #097544;
  border-radius: 2px;
}

/* Modern Search Widget */
.sidebar-widget .search-input {
  height: 44px !important;
  font-size: 0.9rem;
  border-radius: 50px !important;
  padding-right: 50px;
  padding-left: 20px;
  border: 1px solid #e2e8f0 !important;
  background-color: #f8fafc !important;
  box-shadow: none !important;
  transition: all 0.25s ease !important;
}

.sidebar-widget .search-input:focus {
  border-color: #097544 !important;
  background-color: #fff !important;
  box-shadow: 0 0 0 3px rgba(9, 117, 68, 0.1) !important;
}

.sidebar-widget .btn-search-circle {
  right: 6px;
  width: 32px;
  height: 32px;
  background-color: #097544 !important;
  border: none !important;
  color: #ffffff !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 4px rgba(9, 117, 68, 0.2) !important;
}

.sidebar-widget .btn-search-circle:hover {
  background-color: #0c824c !important;
  transform: translateY(-50%) scale(1.05) !important;
}

/* Modern Categories Widget */
.sidebar-categories li a {
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  font-size: 14px;
  justify-content: space-between;
  color: #475569 !important;
  text-decoration: none !important;
}

.sidebar-categories li a:hover {
  background-color: #f1fbf6;
  color: #097544 !important;
  padding-left: 16px;
}

.sidebar-categories li a .badge {
  background-color: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
  font-size: 11px !important;
  transition: all 0.25s ease;
}

.sidebar-categories li a:hover .badge {
  background-color: #097544 !important;
  border-color: #097544 !important;
  color: #fff !important;
}

/* Modern Recent Posts Widget */
.sidebar-recent-item {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.sidebar-recent-item:hover {
  background-color: #f8fafc;
}

.sidebar-recent-item .sidebar-recent-thumb {
  width: 80px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sidebar-recent-item .sidebar-recent-thumb img {
  transition: transform 0.4s ease;
}

.sidebar-recent-item:hover .sidebar-recent-thumb img {
  transform: scale(1.08);
}

.sidebar-recent-item .sidebar-recent-content {
  flex-grow: 1;
}

.sidebar-recent-item .sidebar-recent-title {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  line-height: 1.4 !important;
  margin-top: 2px;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}



.sidebar-recent-item:hover .sidebar-recent-title {
  color: #097544 !important;
}

.sidebar-recent-item .blog-date {
  font-size: 10px;
  color: #94a3b8;
  display: block;
  margin-bottom: 2px;
}

/* Premium Numerical Pagination */
.news-pagination ul.page-numbers {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
  align-items: center;
}

.news-pagination ul.page-numbers li {
  margin: 0;
  padding: 0;
}

.news-pagination ul.page-numbers a.page-numbers,
.news-pagination ul.page-numbers span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.news-pagination ul.page-numbers span.page-numbers.current {
  background-color: var(--color-brand-green, #097544) !important;
  border-color: var(--color-brand-green, #097544) !important;
  color: #ffffff !important;
}

.news-pagination ul.page-numbers a.page-numbers:hover {
  border-color: var(--color-brand-green, #097544);
  color: var(--color-brand-green, #097544);
  background-color: #f1fbf6;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(9, 117, 68, 0.1);
}

/* Social Share Button Hover Styles */
.hover-fb:hover {
  background-color: #1877f2 !important;
  color: #ffffff !important;
  border-color: #1877f2 !important;
  transform: scale(1.08);
}

.hover-copy:hover {
  background-color: var(--color-brand-green, #097544) !important;
  color: #ffffff !important;
  border-color: var(--color-brand-green, #097544) !important;
  transform: scale(1.08);
}

.hover-fb,
.hover-copy {
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.hover-green-border {
  transition: all 0.2s ease;
}

.hover-green-border:hover {
  border-color: var(--color-brand-green, #097544) !important;
  color: var(--color-brand-green, #097544) !important;
  background-color: #f1fbf6 !important;
}

/* Rich Content Body Typography inside Single Post Detail Box & Project Description */
.single-post-content p,
.project-description-content p {
  margin-bottom: 24px;
  line-height: 1.8;
  color: #475569;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.project-description-content h2,
.project-description-content h3,
.project-description-content h4 {
  color: #0f172a;
  font-weight: 700;
  margin-top: 35px;
  margin-bottom: 15px;
}

.single-post-content h2,
.project-description-content h2 {
  font-size: 22px;
  border-left: 4px solid var(--color-brand-green, #097544);
  padding-left: 15px;
  line-height: 1.4;
  margin-top: 40px;
  margin-bottom: 20px;
}

.single-post-content h3,
.project-description-content h3 {
  font-size: 18px;
}

.single-post-content h4,
.project-description-content h4 {
  font-size: 16px;
}

.single-post-content ul,
.single-post-content ol,
.project-description-content ul,
.project-description-content ol {
  margin-bottom: 24px;
  padding-left: 20px;
  color: #475569;
}

.single-post-content li,
.project-description-content li {
  margin-bottom: 8px;
}

.single-post-content blockquote {
  padding: 20px 24px;
  margin: 30px 0;
  background-color: #f8fafc;
  border-left: 4px solid var(--color-brand-green, #097544);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 16px;
  color: #334155;
  line-height: 1.7;
}

.single-post-content blockquote p:last-child {
  margin-bottom: 0;
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sidebar-widget .sidebar-recent-item .blog-date {
  font-size: 13px !important;
}

.product-template-default.single.single-product {
  background: linear-gradient(to bottom, #f3fce4ff 0%, rgba(236, 251, 210, 0) 100%);
}

.post-template-default.single.single-post {
  background: #ffffff !important;
}

.post-meta-row {
  margin-bottom: 20px;
  font-size: 15px;
}

div#news-grid-row .blog-list-title {
  font-size: 18px !important;
}

/* Product Lightbox Modal */
.product-lightbox-modal {
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* Theo visual viewport thật trên iOS (không nhảy theo thanh toolbar Safari)
     để popup và 2 nút next/prev luôn ở đúng trung tâm màn hình */
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-lightbox-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.product-lightbox-modal .lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 100000;
  transition: color 0.2s ease;
}

.product-lightbox-modal .lightbox-close:hover {
  color: #12713A;
}

.product-lightbox-modal .lightbox-content {
  max-width: 90%;
  max-height: 85%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-lightbox-modal .lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.product-lightbox-modal.show .lightbox-content img {
  transform: scale(1);
}

.product-lightbox-modal .lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 30px;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
  user-select: none;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

.product-lightbox-modal .lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #12713A;
}

.product-lightbox-modal .lightbox-prev {
  left: 30px;
}

.product-lightbox-modal .lightbox-next {
  right: 30px;
}



/* Buy-along items styling */
.buy-along-item {
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 6px;
  transition: all 0.2s ease;
  background-color: #fff;
}

.buy-along-item:hover {
  border-color: var(--color-brand-green);
  background-color: #f9fdfa;
}

.buy-along-item input[type="checkbox"] {
  border-radius: 4px;
  width: 18px;
  height: 18px;
  border: 1.5px solid #ccc;
  cursor: pointer;
  accent-color: var(--color-brand-green);
}

.buy-along-item input[type="checkbox"]:checked {
  background-color: var(--color-brand-green);
  border-color: var(--color-brand-green);
}

.buy-along-item img {
  border-radius: 6px;
  border: 1px solid #eaeaea;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.buy-along-item:hover img {
  transform: scale(1.05);
}

.buy-along-item .accessory-item-title {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  color: #333 !important;
  margin-bottom: 4px !important;
}

.buy-along-item .text-danger {
  color: #c0392b !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.buy-along-item .text-decoration-line-through {
  font-size: 12px !important;
  color: #999 !important;
}

/* Restyle editorial product detail content */
.editorial-detail-content {
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #334155 !important;
  /* Premium Slate Grey for body text */
}

/* Headings (h1, h2, h3, h4, h5, h6) styling */
.editorial-detail-content h1,
.editorial-detail-content h2,
.editorial-detail-content h3,
.editorial-detail-content h4,
.editorial-detail-content h5,
.editorial-detail-content h6 {
  font-family: var(--font-heading) !important;
  color: var(--color-brand-green-dark) !important;
  /* Premium brand deep green */
  font-weight: 700 !important;
  margin-top: 28px !important;
  margin-bottom: 12px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
}

.editorial-detail-content h1:first-child,
.editorial-detail-content h2:first-child,
.editorial-detail-content h3:first-child,
.editorial-detail-content h4:first-child,
.editorial-detail-content h5:first-child,
.editorial-detail-content h6:first-child {
  margin-top: 0 !important;
}

.editorial-detail-content h1 {
  font-size: 20px !important;
}

.editorial-detail-content h2 {
  font-size: 18px !important;
}

.editorial-detail-content h3 {
  font-size: 16px !important;
}

.editorial-detail-content h4 {
  font-size: 15px !important;
}

.editorial-detail-content h5 {
  font-size: 14px !important;
}

.editorial-detail-content h6 {
  font-size: 13px !important;
}

/* Paragraph spacing */
.editorial-detail-content p {
  margin-bottom: 16px !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #475569 !important;
}

/* Strong / bold tags acting as sub-headers or inline accents */
.editorial-detail-content strong,
.editorial-detail-content b {
  color: var(--color-text-dark) !important;
  font-weight: 700 !important;
}

/* Paragraphs that contain only a strong tag (used as headers) */
.editorial-detail-content p>strong:only-child,
.editorial-detail-content p>b:only-child {
  font-family: var(--font-heading) !important;
  color: var(--color-brand-green-dark) !important;
  font-size: 16px !important;
  display: block !important;
  margin-top: 24px !important;
  margin-bottom: 8px !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
}

/* First paragraph title helper */
.editorial-detail-content p:first-child>strong:only-child,
.editorial-detail-content p:first-child>b:only-child {
  margin-top: 0 !important;
}

/* Lists styling */
.editorial-detail-content ul,
.editorial-detail-content ol {
  padding-left: 0 !important;
  margin-top: 8px !important;
  margin-bottom: 18px !important;
}

.editorial-detail-content li {
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #475569 !important;
  margin-bottom: 8px !important;
  list-style: none !important;
  position: relative !important;
  padding-left: 20px !important;
}

/* Custom bullet indicator for list items */
.editorial-detail-content ul li::before {
  content: "" !important;
  position: absolute !important;
  left: 4px !important;
  top: 10px !important;
  width: 6px !important;
  height: 6px !important;
  background-color: var(--color-brand-green) !important;
  border-radius: 50% !important;
}

.editorial-detail-content ol {
  counter-reset: my-counter !important;
}

.editorial-detail-content ol li::before {
  counter-increment: my-counter !important;
  content: counter(my-counter) "." !important;
  position: absolute !important;
  left: 0 !important;
  color: var(--color-brand-green) !important;
  font-weight: 700 !important;
}

/* === PRODUCT REVIEW MODAL POPUP & ATTACHMENTS === */
.review-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 999999 !important;
  opacity: 0;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.review-modal-overlay.show {
  opacity: 1;
  visibility: visible !important;
  pointer-events: auto !important;
}

.review-modal-container {
  background: #ffffff !important;
  width: 92% !important;
  max-width: 550px !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.review-modal-overlay.show .review-modal-container {
  transform: scale(1);
}

.review-modal-header {
  padding: 16px 20px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: text;
  justify-content: space-between !important;
}

.review-modal-title {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  color: var(--color-text-dark) !important;
  margin: 0 !important;
  font-size: 18px !important;
}

.review-modal-close {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
  line-height: 1 !important;
  transition: color 0.2s ease !important;
}

.review-modal-close:hover {
  color: #ef4444 !important;
}

.review-modal-body {
  padding: 20px !important;
  max-height: 70vh !important;
  overflow-y: auto !important;
}

.review-modal-footer {
  padding: 14px 20px !important;
  border-top: 1px solid #f1f5f9 !important;
  background-color: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
}

/* Interactive Star Rating Selector */
.rating-stars-select i {
  cursor: pointer !important;
  transition: transform 0.15s ease, color 0.15s ease !important;
}

.rating-stars-select i:hover {
  transform: scale(1.2) !important;
}

.rating-stars-select i.bi-star-fill {
  color: #f59e0b !important;
}

.rating-stars-select i.bi-star {
  color: #cbd5e1 !important;
}

/* Image Upload Dropzone area */
.image-upload-dropzone {
  border: 2px dashed #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 20px !important;
  text-align: center !important;
  cursor: pointer !important;
  background-color: #f8fafc !important;
  transition: all 0.2s ease !important;
}

.image-upload-dropzone:hover {
  border-color: var(--color-brand-green) !important;
  background-color: #f0fdf4 !important;
}

.image-upload-dropzone i {
  color: #64748b !important;
  transition: color 0.2s ease !important;
}

.image-upload-dropzone:hover i {
  color: var(--color-brand-green) !important;
}

/* Image Previews Grid */
.review-image-previews-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px !important;
}

.preview-thumb-item {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1px solid #e2e8f0 !important;
}

.preview-thumb-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.preview-thumb-remove {
  position: absolute !important;
  top: 4px !important;
  right: 4px !important;
  width: 18px !important;
  height: 18px !important;
  background-color: rgba(239, 68, 68, 0.9) !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11px !important;
  cursor: pointer !important;
  line-height: 1 !important;
  border: none !important;
  transition: background-color 0.2s ease !important;
  z-index: 20 !important;
}

.preview-thumb-remove:hover {
  background-color: #dc2626 !important;
}

/* Attached Images grid on Review Item */
.review-attached-image-wrapper {
  overflow: hidden !important;
  border-radius: 8px !important;
  background-color: #fff !important;
  border: 1.5px solid #e2e8f0 !important;
  padding: 2px !important;
}

.review-attached-image-wrapper:hover img {
  transform: scale(1.06) !important;
}

/* ===== CUSTOM 404 PAGE STYLES ===== */
.error-404-number-container {
  font-size: 140px;
  line-height: 1;
  color: var(--color-brand-green, #097544);
}

.error-404-face {
  width: 110px;
  height: 110px;
  background-color: #e2f6ec;
  border-radius: 50%;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.face-eye-mask {
  width: 68px;
  height: 30px;
  background-color: var(--color-brand-green, #097544);
  border-radius: 6px;
}

.eye-x {
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  font-family: Arial, sans-serif;
  line-height: 1;
}

.face-mouth {
  width: 14px;
  height: 7px;
  border: 2px solid var(--color-brand-green, #097544);
  border-top: 0;
  border-radius: 0 0 7px 7px;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
}

.footer-contact-info {
  max-width: 460px;
  font-size: 16px !important;
  color: #ffffff !important;
}

.footer-contact-info li,
.footer-contact-info span {
  font-size: 16px !important;
  color: #ffffff !important;
}



.page-template-page-du-toan {
  background: linear-gradient(to bottom, #f3fce4ff 0%, rgba(255, 255, 255, 0) 100%);
}

/* ===== FLOATING ACTION OVERRIDES ===== */
/* Hide floating headset panel/buttons when any modal is open */
body.modal-open .floating-actions {
  display: none !important;
}

/* Shift floating action panel up on mobile screen layouts to prevent overlap with sticky quick contact bar or navigation buttons */


/* ===== SEARCH AUTOCOMPLETE CUSTOM STYLES ===== */
.search-autocomplete-results {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
  left: 0;
  right: 0;
  top: 100%;
  max-height: 480px !important;
  overflow-y: auto !important;
}

/* Custom premium scrollbar styling */
.search-autocomplete-results::-webkit-scrollbar {
  width: 6px;
}

.search-autocomplete-results::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 0 12px 12px 0;
}

.search-autocomplete-results::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.search-autocomplete-results::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  background-color: #ffffff;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background-color: #f8fafc !important;
}

.autocomplete-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  background-color: #f1f5f9;
}

.autocomplete-title {
  color: #1e293b !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

.autocomplete-item:hover .autocomplete-title {
  color: var(--color-brand-green, #097544) !important;
}

.autocomplete-price {
  font-size: 13px !important;
  color: #dc3545 !important;
  font-weight: 700 !important;
  margin-top: 2px;
}

.autocomplete-price del {
  color: #94a3b8 !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  margin-right: 6px;
}

.autocomplete-price ins {
  text-decoration: none !important;
  color: #dc3545 !important;
}

.autocomplete-all-link {
  background-color: #f8fafc !important;
  color: var(--color-brand-green, #097544) !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 12px !important;
  border-top: 1px solid #f1f5f9 !important;
  transition: all 0.2s ease !important;
  display: block;
  text-align: center;
  text-decoration: none;
}

.autocomplete-all-link:hover {
  background-color: #f1f5f9 !important;
  color: #12713a !important;
}

/* ===== MODULE DANH MỤC GÓC KINH NGHIỆM / TIN TỨC ===== */
.news-highlight-box {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.featured-primary-card .featured-img-holder {
  background-color: #f1f5f9;
}

.featured-primary-card .featured-title {
  font-size: 19px;
  line-height: 1.4;
  color: #1e293b;
}

.sub-featured-card .sub-img-holder {
  background-color: #f1f5f9;
}

.sub-featured-card .sub-title {
  font-size: 14px;
  line-height: 1.4;
  color: #1e293b;
}

/* Horizontal Cards in list */
.news-horizontal-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid #e5e7eb !important;
}

.news-horizontal-card:hover {
  transform: translateY(-2px);
  border-color: #12713a !important;
  box-shadow: 0 4px 15px rgba(18, 113, 58, 0.08);
}

.news-h-thumb {
  width: 220px;
  height: 140px;
  background-color: #f1f5f9;
}

.news-h-title {
  font-size: 16px;
  line-height: 1.4;
  color: #1e293b;
}

/* Trending Posts Widget */
.trending-posts-widget {
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.trending-item {
  border-color: #f1f5f9 !important;
  transition: background-color 0.2s ease;
}

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

.trending-thumb {
  background-color: #f1f5f9;
}

.trending-title {
  font-size: 13.5px;
  line-height: 1.35;
  color: #1e293b;
}

/* Utilities */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shadow-2xs {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* ========================================================
   SINGLE POST REDESIGN (10 MODULES)
   ======================================================== */

.single-post-main-section {
  background: #ffffff !important;
}

/* Hero Section */
.single-post-hero {
  border: none;
  background: transparent;
  padding: 0;
}

.single-hero-thumb-box img {
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.single-hero-thumb-box:hover img {
  transform: scale(1.02);
}

.single-post-title {
  color: #111827;
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: -0.3px;
  font-weight: 700;
}

@media (min-width: 992px) {
  .single-post-title {
    font-size: 30px;
    line-height: 1.35;
  }
}

.single-post-sapo {
  color: #4b5563;
  font-size: 14.5px;
  line-height: 1.65;
}

/* Share Buttons */
.single-share-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background-color: #fff;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.single-share-btn.share-fb:hover {
  background-color: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.single-share-btn.share-x:hover {
  background-color: #000;
  border-color: #000;
  color: #fff;
}

.single-share-btn.share-zalo {
  font-weight: 700;
  font-size: 12px;
}

.single-share-btn.share-zalo:hover {
  background-color: #0068ff;
  border-color: #0068ff;
  color: #fff;
}

.single-share-btn.share-copy:hover {
  background-color: var(--color-brand-green, #097544);
  border-color: var(--color-brand-green, #097544);
  color: #fff;
}

/* Sticky TOC */
.single-toc-sticky-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  scrollbar-width: thin;
  scrollbar-color: #e2e8f0 transparent;
}

.single-toc-sticky-box::-webkit-scrollbar {
  width: 3px;
}

.single-toc-sticky-box::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.toc-item-level-2 .toc-link {
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.5;
  padding: 3px 0;
  border-left: none;
}

.toc-item-level-3 .toc-link {
  font-size: 12.5px;
  color: #6b7280;
  line-height: 1.45;
  padding: 2px 0 2px 14px;
  border-left: none;
}

.toc-link:hover {
  color: #7c3aed !important;
}

.toc-link.active {
  color: #7c3aed !important;
  font-weight: 600;
}

/* Content Headings Scroll Offset & Typography matching Demo */
.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  scroll-margin-top: 100px;
}

.single-post-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  border-left: none !important;
  padding-left: 0 !important;
  margin-top: 36px;
  margin-bottom: 16px;
}

.single-post-content h3 {
  font-size: 19px;
  font-weight: 600;
  color: #1f2937;
  margin-top: 28px;
  margin-bottom: 12px;
}

.single-post-content p {
  color: #374151;
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Blockquote in Content */
.single-post-content blockquote {
  padding: 16px 20px;
  margin: 24px 0;
  background-color: #faf5ff;
  border-left: 4px solid #7c3aed;
  border-radius: 0 8px 8px 0;
  font-style: normal;
  font-size: 14.5px;
  color: #4b5563;
  line-height: 1.7;
}

/* Sticky Ad Banners */
.single-post-banners-sticky {
  z-index: 10;
}

.single-ad-banner {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.single-ad-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Author Box */
.single-post-author-box {
  background-color: #f8f7fd !important;
  border: 1px solid #ede9fe !important;
  border-radius: 14px !important;
  padding: 24px !important;
}

.author-name-link:hover h5 {
  color: #7c3aed !important;
}

/* Rating Card */
.single-post-rating-card {
  background-color: #f9fafb !important;
  border: 1px solid #f3f4f6 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  padding: 20px !important;
}

.star-btn-rate {
  background: transparent;
  border: none;
  font-size: 22px;
  color: #d1d5db;
  cursor: pointer;
  padding: 0 3px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.star-btn-rate:hover {
  transform: scale(1.2);
}

.star-btn-rate.active,
.star-btn-rate.hovered {
  color: #f59e0b !important;
}

/* Related Posts Slider */
.related-posts-slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.related-posts-slider-track::-webkit-scrollbar {
  display: none;
}

.related-post-slide-item {
  flex: 0 0 calc((100% - 32px) / 3);
  width: calc((100% - 32px) / 3);
  scroll-snap-align: start;
}

@media (max-width: 991px) {
  .related-post-slide-item {
    flex: 0 0 calc((100% - 16px) / 2);
    width: calc((100% - 16px) / 2);
  }
}

@media (max-width: 576px) {
  .related-post-slide-item {
    flex: 0 0 88%;
    width: 88%;
  }
}

.related-slider-arrow {
  position: absolute;
  top: calc(50% - 20px);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.related-slider-arrow.prev-arrow {
  left: -15px;
}

.related-slider-arrow.next-arrow {
  right: -15px;
}

.related-slider-arrow:hover {
  background-color: var(--color-brand-green, #097544);
  color: #ffffff;
  border-color: var(--color-brand-green, #097544);
  box-shadow: 0 6px 16px rgba(9, 117, 68, 0.25);
}

.related-slider-arrow.disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* ===== SINGLE PRODUCT STICKY LAYOUT ===== */
@media (min-width: 992px) {
  .product-gallery-col {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 90px;
    z-index: 20;
    align-self: flex-start;
  }

  .product-attachments-col {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 90px;
    z-index: 20;
    align-self: flex-start;
  }

  body.admin-bar .product-gallery-col,
  body.admin-bar .product-attachments-col {
    top: 122px;
  }
}

/* ===== CART & QA FORM STYLES ===== */
.cart-form-alert {
  background-color: #fde8e8 !important;
  color: #e02424 !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  border: 1px solid #fbd5d5 !important;
}

#cart-checkout-form label {
  font-weight: 600;
  font-size: 13px;
  color: #334155;
}

#cart-checkout-form .form-control {
  border-color: #cbd5e1;
  font-size: 14px;
  padding: 8px 12px;
  height: 42px;
}

#cart-checkout-form .form-control:focus {
  border-color: var(--color-brand-green);
  box-shadow: 0 0 0 3px rgba(18, 113, 58, 0.1);
}

/* ===== HIDE PLACEHOLDER ON FOCUS / CLICK ===== */
input:focus::placeholder,
textarea:focus::placeholder,
input:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder,
input:focus::-moz-placeholder,
textarea:focus::-moz-placeholder {
  color: transparent !important;
  opacity: 0 !important;
}

/* ===== QA FORM PLACEHOLDER & FONT SIZE ===== */
#qa-submit-form .form-control,
.reply-qa-textarea {
  font-size: 13px !important;
}

#qa-submit-form .form-control::placeholder,
#qa-submit-form .form-control::-webkit-input-placeholder,
#qa-submit-form .form-control::-moz-placeholder,
.reply-qa-textarea::placeholder,
.reply-qa-textarea::-webkit-input-placeholder,
.reply-qa-textarea::-moz-placeholder {
  font-size: 13px !important;
  color: #94a3b8 !important;
  font-weight: 400 !important;
}
/* ============================================
   TRANG THƯƠNG HIỆU (taxonomy product_brand)
   ============================================ */

/* Slide khuyến mãi */
.brand-promo-section .brand-promo-carousel {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.brand-promo-section .brand-promo-slide {
  display: flex;
  min-height: 380px;
  background: #fff;
}

.brand-promo-section .brand-promo-media {
  flex: 1 1 60%;
  overflow: hidden;
}

.brand-promo-section .brand-promo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-promo-section .brand-promo-text {
  flex: 1 1 40%;
  padding: 40px;
  background: #fff;
}

.brand-promo-section .brand-promo-title {
  font-size: 34px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.brand-promo-section .brand-promo-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.brand-promo-section .brand-promo-note {
  font-size: 15px;
  color: #64748b;
}

.brand-promo-section .brand-promo-note strong {
  color: #dc2626;
  font-weight: 700;
}

.brand-promo-section .brand-promo-cta {
  align-self: flex-start;
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

/* Khối danh mục brand: card cha 2 dòng + grid card con */
.brand-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 16px;
}

.brand-cat-parent {
  grid-row: span 2;
  grid-column: span 1;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.brand-cat-parent:hover {
  box-shadow: 0 12px 28px rgba(9, 117, 68, 0.14);
  transform: translateY(-2px);
}

.brand-cat-parent-img {
  min-height: 0;
}

.brand-cat-parent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-cat-parent-body h3 {
  font-size: 17px;
  color: #0f172a;
}

.brand-cat-section .category-card {
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.brand-cat-section .category-card:hover {
  box-shadow: 0 12px 28px rgba(9, 117, 68, 0.14);
  transform: translateY(-2px);
}

/* Slider sản phẩm nổi bật */
.brand-products-section .products-slider-wrapper {
  padding: 0 8px;
}

.brand-products-section .slider-arrow {
  z-index: 5;
}

.brand-products-section .btn-outline-brand {
  border: 1.5px solid var(--color-brand-green, #097544);
  color: var(--color-brand-green, #097544) !important;
  background: transparent;
  transition: all 0.2s ease;
}

.brand-products-section .btn-outline-brand:hover {
  background: var(--color-brand-green, #097544);
  color: #fff !important;
}

/* Nội dung giới thiệu */
.brand-editorial-section {
  background: #f8fafc;
}

.brand-editorial-box {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.brand-editorial-box h2 {
  color: #0f172a;
}

.brand-editorial-toggle {
  border: 1px solid #cbd5e1;
  color: #475569;
  background: #fff;
}

.brand-editorial-toggle:hover {
  border-color: var(--color-brand-green, #097544);
  color: var(--color-brand-green, #097544) !important;
}

@media (max-width: 991.98px) {
  .brand-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-cat-parent {
    grid-column: span 2;
    grid-row: span 1;
  }

  .brand-promo-section .brand-promo-slide {
    flex-direction: column;
    min-height: unset;
  }

  .brand-promo-section .brand-promo-media img {
    max-height: 220px;
  }

  .brand-promo-section .brand-promo-text {
    padding: 24px;
  }

  .brand-promo-section .brand-promo-title {
    font-size: 26px;
  }
}

/* ============================================
   KHỐI CHỌN BỘ LỌC AVAKIDS (trang danh mục)
   ============================================ */
.cat-need-picker {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.cat-filter-badge {
  width: 140px;
  min-width: 140px;
  height: 48px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1.5px solid;
  user-select: none;
  line-height: 1.25;
}

.badge-nhu-cau {
  background: #f0faf3;
  border-color: #86efac;
  color: #166534;
}

.badge-thuong-hieu {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1e40af;
}

.badge-chat-lieu {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.cat-filter-scroll-container {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
}

.cat-filter-scroll-container::-webkit-scrollbar {
  display: none !important;
}

/* Pill nhu cầu */
.cat-need-pills {
  flex-wrap: nowrap;
}

.cat-need-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  height: 48px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.cat-need-pill:hover {
  border-color: #166534;
  background: #f0faf3;
}

.cat-need-pill.active {
  border-color: #166534 !important;
  background: #f0faf3 !important;
  box-shadow: 0 0 0 2px rgba(22, 101, 52, 0.2);
}

.cat-need-pill-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}

.cat-need-pill-name {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.2;
}

.cat-need-pill.active .cat-need-pill-name {
  color: #166534;
  font-weight: 700;
}

/* Lưới thương hiệu */
.cat-need-brands {
  flex-wrap: nowrap;
}

.cat-need-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  height: 48px;
  min-width: 110px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.cat-need-brand:hover {
  border-color: #1e40af !important;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
}

.cat-need-brand.active {
  border-color: #1e40af !important;
  background: #eff6ff !important;
  box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.2);
}

.cat-need-brand-logo {
  max-width: 90px;
  max-height: 30px;
  object-fit: contain;
}

/* Lưới chất liệu */
.cat-need-materials {
  flex-wrap: nowrap;
}

.cat-need-material {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  height: 48px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.cat-need-material:hover {
  border-color: #92400e;
  background: #fffbeb;
}

.cat-need-material.active {
  border-color: #92400e !important;
  background: #fffbeb !important;
  box-shadow: 0 0 0 2px rgba(146, 64, 14, 0.2);
}

.cat-need-material-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.cat-need-material-name {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.2;
}

.cat-need-material.active .cat-need-material-name {
  color: #92400e;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .cat-filter-badge {
    width: 100% !important;
    min-width: 0 !important;
    height: 32px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
  }

  .cat-need-pill,
  .cat-need-brand,
  .cat-need-material {
    height: 40px !important;
    padding: 6px 10px !important;
  }

  .cat-need-pill-name,
  .cat-need-material-name {
    font-size: 12px !important;
  }

  .cat-need-brand {
    min-width: 85px !important;
  }

  .cat-need-brand-logo {
    max-height: 22px !important;
    max-width: 75px !important;
  }
}

/* ============================================
   MODULE SEARCH (autocomplete + trang kết quả)
   ============================================ */
.search-autocomplete-results {
  border-radius: 14px !important;
}

.search-trending-pill {
  background: #f8fafc;
  border-color: #e2e8f0;
  transition: all 0.2s ease;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-trending-pill:hover {
  border-color: var(--color-brand-green, #097544);
  color: var(--color-brand-green, #097544) !important;
}

.search-suggest-item:hover {
  background: #f0faf3;
}

.search-suggest-product:hover {
  background: #f8fafc;
}

/* Dropdown sắp xếp trên trang danh mục */
.sort-dropdown-item.active {
  color: var(--color-brand-green, #097544) !important;
  background-color: #f0faf3;
  font-weight: 600;
}

.sort-dropdown-item:hover {
  background-color: #f0faf3;
}

/* Tiêu đề gợi ý bài viết trong empty state: clamp 2 dòng */
.search-suggest-post-title {
  font-size: 12.5px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Trang kết quả tìm kiếm */
.search-tab-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  transition: all 0.2s ease;
}

.search-tab-btn:hover {
  border-color: var(--color-brand-green, #097544);
  color: var(--color-brand-green, #097544) !important;
}

.search-tab-btn.active {
  background: var(--color-brand-green, #097544);
  border-color: var(--color-brand-green, #097544);
  color: #fff !important;
}

.search-filter-box {
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.search-filter-item {
  border: 1px solid transparent;
}

.search-filter-item:hover {
  background: #f0faf3;
}

.search-filter-item.active {
  background: #f0faf3;
  border-color: rgba(9, 117, 68, 0.25);
}

.search-sort-pill {
  background: #fff;
  color: #475569;
  transition: all 0.2s ease;
}

.search-sort-pill:hover {
  border-color: var(--color-brand-green, #097544);
  color: var(--color-brand-green, #097544) !important;
}

.search-sort-pill.active {
  background: var(--color-brand-green, #097544);
  border-color: var(--color-brand-green, #097544);
  color: #fff !important;
}

.search-post-card {
  transition: all 0.25s ease;
}

.search-post-card:hover {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.search-post-thumb {
  height: 160px;
  overflow: hidden;
}
