/* ========================================
   WEBSITE HTX - Global Styles
   ======================================== */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-image: url('../images/NEN02.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #2c7a3f;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #1a4d25;
}

/* Container & Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.row.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.row.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .row.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .row.cols-2 {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }
}

/* ========================================
   HEADER STYLES - Two-tier design
   ======================================== */

/* Site Header Container */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ========== TOP HEADER ========== */
.top-header {
  background-image: url('../assets/img/TOPHEADER.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
}

.top-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 0;
}

.top-header-container {
  position: relative;
  z-index: 1;
}

.top-header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Logo Section */
.logo-section {
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo-icon {
  width: 80px;
  height: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #AD1E26;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.logo-slogan {
  font-size: 0.95rem;
  font-style: italic;
  color: #AD1E26;
  font-family: Georgia, serif;
}

.logo-tax-code {
  font-size: 0.7rem;
  font-style: normal;
  color: #AD1E26;
  font-family: Arial, sans-serif;
  display: block;
  margin-top: 0;
  line-height: 1.2;
}

.logo-address {
  font-size: 0.7rem;
  font-style: normal;
  color: #AD1E26;
  font-family: Arial, sans-serif;
  display: block;
  margin-top: 0;
  line-height: 1.2;
}

/* Top Header Right Section */
.top-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Hotline */
.header-hotline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #f8f9fa;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.header-hotline:hover {
  background-color: #e9ecef;
}

.hotline-icon {
  font-size: 1.2rem;
}

.hotline-number {
  font-weight: 600;
  color: #AD1E26;
  font-size: 1.05rem;
}

/* Search Box */
.header-search {
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  transition: border-color 0.3s ease;
}

.header-search:focus-within {
  border-color: #AD1E26;
}

.search-input {
  border: none;
  outline: none;
  padding: 8px 12px;
  background: transparent;
  font-size: 0.95rem;
  width: 200px;
}

.search-btn {
  background: transparent;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.search-btn:hover {
  background-color: #e9ecef;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  gap: 4px;
  background-color: #f8f9fa;
  border-radius: 6px;
  padding: 4px;
  position: relative;
  z-index: 100;
}

.lang-btn {
  background: transparent;
  border: none;
  font-size: 1.3rem;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  line-height: 1;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  touch-action: manipulation;
  user-select: none;
}

.lang-btn:hover {
  background-color: #e9ecef;
}

.lang-btn.active {
  background-color: #AD1E26;
  transform: scale(1.1);
}

/* Mobile specific improvements */
@media (max-width: 900px) {
  .language-switcher {
    padding: 6px;
    gap: 6px;
  }
  
  .lang-btn {
    font-size: 1.5rem;
    padding: 6px 10px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .lang-btn:active {
    transform: scale(0.95);
    background-color: #e9ecef;
  }
  
  .lang-btn.active:active {
    transform: scale(1.05);
  }
}

/* Cart */
.header-cart {
  position: relative;
}

.cart-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background-color: #f8f9fa;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  position: relative;
}

.cart-link:hover {
  background-color: #e9ecef;
}

.cart-icon {
  font-size: 1.3rem;
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: #AD1E26;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #AD1E26;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ========== MAIN NAVIGATION ========== */
.main-navigation {
  background-color: #AD1E26;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.nav-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.nav-text {
  line-height: 1;
}

.nav-link:hover {
  background-color: rgba(0, 0, 0, 0.15);
  border-bottom-color: #ffffff;
}

.nav-link.active {
  background-color: rgba(0, 0, 0, 0.2);
  border-bottom-color: #ffffff;
}

/* Dropdown arrow indicator */
.has-dropdown > .nav-link::after {
  content: '▼';
  font-size: 0.7rem;
  margin-left: 6px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  opacity: 0.8;
}

.has-dropdown.dropdown-active > .nav-link::after {
  transform: rotate(180deg);
  opacity: 1;
}

.has-dropdown > .nav-link:hover::after {
  opacity: 1;
}

/* Dropdown Menu - Enhanced Professional Design */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border: none;
  border-radius: 8px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  pointer-events: none;
  overflow: hidden;
  max-height: 0;
  margin-top: 8px;
}

/* Ensure only one dropdown is visible at a time */
.nav-item:not(.dropdown-active) .dropdown-menu {
  display: none;
}

.has-dropdown.dropdown-active .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  max-height: 600px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-link {
  display: block;
  padding: 14px 20px;
  color: #333333;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 3px solid transparent;
  position: relative;
}

.dropdown-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #AD1E26, #d63846);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-link:hover {
  background: linear-gradient(90deg, rgba(173, 30, 38, 0.08), rgba(255, 255, 255, 0));
  border-left-color: #AD1E26;
  color: #AD1E26;
  padding-left: 28px;
}

.dropdown-link:hover::before {
  width: 4px;
}

/* Mega Menu */
.mega-menu {
  min-width: 400px;
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  gap: 20px;
}

.mega-menu .dropdown-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px;
}

.mega-menu-section {
  flex: 1;
  min-width: 180px;
}

.mega-menu-section h4 {
  color: #AD1E26;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #AD1E26;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
  .nav-link {
    padding: 14px 16px;
    font-size: 0.9rem;
  }
  
  .nav-icon {
    font-size: 1rem;
  }
  
  .search-input {
    width: 100px;
  }
}

@media (max-width: 768px) {
  /* Hide desktop elements except language switcher */
  .top-header-right > *:not(.mobile-menu-toggle):not(.language-switcher) {
    display: none;
  }
  
  /* Show language switcher on mobile */
  .language-switcher {
    display: flex !important;
  }
  
  .mobile-menu-toggle {
    display: none !important;
  }
  
  /* Mobile Top Header */
  .top-header-container {
    padding: 10px 15px;
  }
  
  /* Ensure top-header-right is visible and aligned properly on mobile */
  .top-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .logo-name {
    font-size: 1rem;
  }
  
  .logo-slogan {
    font-size: 0.8rem;
  }
  
  .logo-icon {
    font-size: 2rem;
  }
  
  /* Mobile Navigation */
  .main-navigation {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    background-color: #AD1E26;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  }
  
  .main-navigation.active {
    left: 0;
  }
  
  .nav-container {
    padding: 0;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 0;
  }
  
  .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-link {
    padding: 16px 20px;
    border-bottom: none;
  }
  
  .has-dropdown > .nav-link::after {
    float: right;
    transform: rotate(0deg);
  }
  
  .has-dropdown.active > .nav-link::after {
    transform: rotate(180deg);
  }
  
  .nav-link:hover,
  .nav-link.active {
    background-color: rgba(0, 0, 0, 0.2);
    border-left: 4px solid #ffffff;
    padding-left: 16px;
  }
  
  /* Mobile Dropdown - Accordion Style */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.08));
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
  }
  
  .has-dropdown.active .dropdown-menu {
    max-height: 500px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  
  .dropdown-link {
    color: #ffffff;
    padding: 14px 20px 14px 40px;
    border-left: none;
    font-size: 0.9rem;
  }
  
  .dropdown-link::before {
    display: none;
  }
  
  .dropdown-link:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    color: #ffffff;
    padding-left: 48px;
    border-left: 3px solid rgba(255, 255, 255, 0.5);
  }
  
  /* Mega Menu Mobile */
  .mega-menu .dropdown-content {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }
  
  .mega-menu-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
  }
  
  .mega-menu-section h4 {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
  }
  
  .mega-menu-section .dropdown-link {
    padding: 10px 0 10px 20px;
  }
}

@media (max-width: 480px) {
  .logo-name {
    font-size: 0.9rem;
  }
  
  .logo-slogan {
    display: none;
  }
  
  .logo-icon {
    width: 60px;
  }
}

.dropdown-link:hover {
  background-color: #f0f8f4;
  color: #2c7a3f;
  padding-left: 2rem;
}

.dropdown-link.active {
  background-color: #e8f4f0;
  color: #2c7a3f;
  font-weight: 500;
  border-left: 3px solid #2c7a3f;
  padding-left: calc(1.5rem - 3px);
}

/* Mega Menu */
.mega-menu {
  min-width: 400px;
}

.mega-menu .dropdown-content {
  flex-direction: row;
  padding: 1.5rem;
  gap: 2rem;
}

.mega-menu-section {
  flex: 1;
  min-width: 150px;
}

.mega-menu-section h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2c7a3f;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mega-menu-section .dropdown-link {
  padding: 0.5rem 0;
  border-left: none;
  font-size: 0.9rem;
}

.mega-menu-section .dropdown-link:hover {
  padding-left: 0.75rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    margin: 0;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
  }

  .main-nav.active {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
  }

  .nav-item {
    border-bottom: 1px solid #f0f0f0;
    position: relative;
  }

  .nav-link {
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0;
  }

  .nav-item.has-dropdown > .nav-link::after {
    content: '▼';
    font-size: 0.75rem;
    transition: transform 0.3s ease;
  }

  .nav-item.has-dropdown.open > .nav-link::after {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0;
    box-shadow: none;
    border: none;
    background-color: #f8f9fa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    pointer-events: auto;
  }

  .nav-item.has-dropdown.open .dropdown-menu {
    max-height: 500px;
  }

  .dropdown-content {
    padding: 0;
  }

  .dropdown-link {
    padding: 0.75rem 40px;
    border-left: none;
  }

  .dropdown-link:hover {
    padding-left: 40px;
  }

  .mega-menu {
    min-width: auto;
  }

  .mega-menu .dropdown-content {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }

  .mega-menu-section {
    border-bottom: 1px solid #e0e0e0;
  }

  .mega-menu-section h4 {
    padding: 1rem 40px 0.5rem 40px;
    margin-bottom: 0;
  }

  .mega-menu-section .dropdown-link {
    padding: 0.5rem 40px;
  }

  .header-container {
    flex-wrap: wrap;
  }
}

/* Footer */
footer {
  background-color: #2c7a3f;
  color: #fff;
  padding: 3rem 20px 1rem;
  margin-top: 4rem;
  clear: both;
  position: relative;
  width: 100%;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #d0e8d9;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #d0e8d9;
}

@media (max-width: 768px) {
  footer {
    padding: 2rem 20px 1rem;
  }

  .footer-content {
    gap: 1.5rem;
  }
}

/* Breadcrumb */
.breadcrumb {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: #666;
}

.breadcrumb li::after {
  content: '/';
  margin-left: 0.5rem;
  color: #999;
}

.breadcrumb li:last-child::after {
  content: '';
}

.breadcrumb a {
  color: #2c7a3f;
}

/* ========================================
   FEATURED PRODUCT - Sản phẩm chủ lực
   ======================================== */
  

.featured-product-section {
  padding: 3rem 20px;
  background-color: #fff;
}

.featured-product-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

/* Product Gallery */
.product-gallery {
  position: sticky;
  top: 100px;
}

.main-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background-color: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.gallery-nav:hover {
  background-color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
  left: 10px;
}

.gallery-nav.next {
  right: 10px;
}

.thumbnail-gallery {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
}

.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.thumbnail:hover {
  opacity: 1;
  transform: scale(1.05);
}

.thumbnail.active {
  border-color: #6B8E23;
  opacity: 1;
}

.info-btn {
  width: 100%;
  padding: 0.75rem;
  background-color: #f8f9fa;
  border: 2px solid #6B8E23;
  border-radius: 8px;
  color: #6B8E23;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  position: sticky;
  bottom: 20px;
  z-index: 10;
}

.info-btn:hover {
  background-color: #6B8E23;
  color: #fff;
}

/* Product Details */
.product-details {
  padding: 1rem 0;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.product-title-underline {
  width: 60px;
  height: 3px;
  background-color: #6B8E23;
  margin-bottom: 2rem;
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.spec-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.spec-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f8f4;
  border-radius: 8px;
}

.spec-content {
  flex: 1;
  line-height: 1.6;
  color: #555;
}

.spec-content strong {
  color: #333;
  display: block;
  margin-bottom: 0.25rem;
}

.product-process {
  background-color: #f0f8f4;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #6B8E23;
}

.process-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c7a3f;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.process-content {
  color: #555;
  line-height: 1.6;
}

@media (max-width: 968px) {
  .featured-product-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .product-gallery {
    position: static;
  }
  
  .product-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .featured-product-section {
    padding: 2rem 15px;
  }
  
  .thumbnail-gallery {
    justify-content: center;
  }
  
  .thumbnail {
    width: 60px;
    height: 60px;
  }
  
  .gallery-nav {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
  
  .product-title {
    font-size: 1.4rem;
  }
  
  .spec-icon {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
}

/* ========================================
   PRODUCT GRID - Sản phẩm tương tự
   ======================================== */

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #AD1E26;
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #AD1E26;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.product-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  background-color: #f8f9fa;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 1rem;
  text-align: center;
}

.product-info h3 {
  font-size: 1rem;
  color: #333;
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .product-image {
    height: 150px;
  }
  
  .product-info h3 {
    font-size: 0.9rem;
  }
}

/* ========================================
   CONTACT SECTION - Liên hệ & Đăng ký
   ======================================== */

.contact-section {
  background:
    linear-gradient(
      rgba(234, 230, 230, 0.85),
     
    ),
    url('images\NEN02.webp');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 20px;
}


.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Contact Info */
.contact-info {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: #6B8E23;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.info-icon span {
  color: #fff;
  font-size: 1.5rem;
}

.contact-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background-color: #f8f9fa;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.contact-item:hover {
  background-color: #e9ecef;
}

.contact-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.map-container {
  margin-top: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Register Form */
.register-form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

.form-input:focus {
  outline: none;
  border-color: #6B8E23;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.1);
}

.form-input::placeholder {
  color: #999;
}

.btn-submit {
  background-color: #6B8E23;
  color: #fff;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px rgba(107, 142, 35, 0.3);
}

.btn-submit:hover {
  background-color: #5a7a1e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 142, 35, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

@media (max-width: 968px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 2rem 15px;
  }
  
  .contact-info,
  .register-form {
    padding: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-title,
  .form-title {
    font-size: 1.1rem;
  }
}

.breadcrumb li:last-child {
  color: #333;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: #2c7a3f;
  color: #fff;
}

.btn-primary:hover {
  background-color: #1a4d25;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(44, 122, 63, 0.3);
}

.btn-secondary {
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  background-color: #e8e8e8;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #2c7a3f;
  color: #2c7a3f;
}

.btn-outline:hover {
  background-color: #2c7a3f;
  color: #fff;
}

/* Sections */
section {
  padding: 3rem 20px;
}

section.hero {
  background: url('../assets/img/htx01.JPG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 10rem 20px;
  min-height: 600px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

section.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #fff;
}

section.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #e0e8e0;
}

section.bg-light {
  position: relative;
  background-image: url('../images/NEN02.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

section.bg-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 0;
}

section.bg-light > * {
  position: relative;
  z-index: 1;
}

section.bg-white {
  position: relative;
  background-image: url('../images/NEN02.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

section.bg-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 0;
}

section.bg-white > * {
  position: relative;
  z-index: 1;
}

/* Background cho section sản phẩm khác */
section.bg-product-section {
  background-color: #78e0a2;
  padding: 3rem 20px;
}

/* Cards */
.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #f0f0f0;
}

.card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-text {
  color: #666;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.card-footer {
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #333;
}

input, textarea, select {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #2c7a3f;
  box-shadow: 0 0 0 3px rgba(44, 122, 63, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  margin-top: 1rem;
}

.form-error {
  color: #dc3545;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.form-success {
  background-color: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-muted {
  color: #999;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.img-fluid {
  width: 100%;
  height: auto;
}

/* Lists */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

ul li, ol li {
  margin-bottom: 0.5rem;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

table th {
  background-color: #f8f9fa;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #ddd;
}

table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

table tbody tr:hover {
  background-color: #f8f9fa;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
  list-style: none;
}

.pagination a, .pagination span {
  padding: 0.5rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #2c7a3f;
}

.pagination a:hover {
  background-color: #f0f0f0;
}

.pagination .active span {
  background-color: #2c7a3f;
  color: #fff;
  border-color: #2c7a3f;
}

/* Accordion */
.accordion-item {
  border: 1px solid #ddd;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.accordion-header {
  background-color: #f8f9fa;
  padding: 1rem;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  background-color: #efefef;
}

.accordion-body {
  display: none;
  padding: 1rem;
}

.accordion-body.active {
  display: block;
}

.accordion-icon::after {
  content: '▼';
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon::after {
  transform: rotate(-180deg);
}

/* Responsive */
@media (max-width: 768px) {
  section {
    padding: 2rem 20px;
  }

  section.hero {
    padding: 3rem 20px;
  }

  section.hero h1 {
    font-size: 2rem;
  }

  .row {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  section.hero h1 {
    font-size: 1.5rem;
  }

  .btn {
    width: 100%;
  }

  nav ul {
    width: 100vw;
    margin-left: -20px;
  }
}

/* Lazy Load Placeholder */
.lazy-img {
  background-color: #f0f0f0;
  overflow: hidden;
}

.lazy-img.loading {
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

/* Loading State */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #2c7a3f;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Common Hero Banner with Background Image Slider */
/* Class này dùng cho các trang khác (không tự động slide) */
.hero-banner {
  position: relative;
  color: #fff;
  padding: 4rem 20px;
  text-align: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('../assets/img/htx01.JPG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-banner > * {
  position: relative;
  z-index: 1;
}

/* Hero Banner Slider - Chỉ dùng cho trang chủ */
.hero-banner-slider {
  position: relative;
  color: #fff;
  padding: 4rem 20px;
  text-align: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* First image layer */
.hero-banner-slider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/img/htx01.JPG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  animation: fadeInOut1 9s ease-in-out infinite;
}

/* Second image layer */
.hero-banner-slider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/img/htx02.JPG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0;
  animation: fadeInOut2 9s ease-in-out infinite;
}

/* Third image layer */
.hero-banner-slider .banner-slide-3 {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 128%;
  background-image: url('../assets/img/2 (1).png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0;
  animation: fadeInOut3 7s ease-in-out infinite;
}

/* Animation keyframes for 3 images (9s total cycle) */
@keyframes fadeInOut1 {
  0%, 30% {
    opacity: 1;
  }
  33%, 100% {
    opacity: 0;
  }
}

@keyframes fadeInOut2 {
  0%, 30% {
    opacity: 0;
  }
  33%, 63% {
    opacity: 1;
  }
  66%, 100% {
    opacity: 0;
  }
}

@keyframes fadeInOut3 {
  0%, 63% {
    opacity: 0;
  }
  66%, 97% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.hero-banner-slider > *:not(::before):not(::after) {
  position: relative;
  z-index: 1;
}

.hero-banner h1,
.hero-banner-slider h1,
.hero-banner h2 {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-banner p {
  color: #e0e8e0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Intro Section with Background */
.intro-section-with-bg {
  background-image: url('../images/NEN01.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 3rem 20px 2rem;
}

.intro-section-with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.intro-section-with-bg .container {
  position: relative;
  z-index: 2;
}

/* Featured Product Section Enhanced */
.featured-product-section-enhanced {
  min-height: 100vh;
  padding: 2rem 20px 4rem;
  position: relative;
  display: flex;
  align-items: center;
}

.featured-product-section-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(44, 122, 63, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(26, 77, 37, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.section-title-featured {
  text-align: center;
  font-size: 2.5rem;
  color: #AD1E26;
  margin-bottom: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}

.section-title-featured::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #AD1E26, #8B1820);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.featured-product-section-enhanced .featured-product-wrapper {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(44, 122, 63, 0.15);
  padding: 2rem;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(44, 122, 63, 0.1);
}

.featured-product-section-enhanced .featured-product-wrapper:hover {
  box-shadow: 0 12px 40px rgba(44, 122, 63, 0.25);
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

.featured-product-section-enhanced .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Full-height on large screens for featured product section */
@media (min-width: 1200px) {
  .featured-product-section-enhanced {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
  
  .featured-product-section-enhanced .container {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .intro-section-with-bg {
    padding: 2rem 20px;
  }

  .featured-product-section-enhanced {
    padding: 2rem 20px;
  }

  .section-title-featured {
    font-size: 1.8rem;
  }

  .featured-product-section-enhanced .featured-product-wrapper {
    padding: 1rem;
  }
}

/* Print Styles */
@media print {
  header, footer, .no-print {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    text-decoration: underline;
  }
}

/* Product Split Hero (image left, content right) */
.product-split-hero {
  padding: 0;
  margin: 2rem 0;
}
.product-split-hero .split-hero-inner {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 0;
  align-items: stretch;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
}
.product-split-hero .split-image {
  position: relative;
  overflow: hidden;
}
.product-split-hero .split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-split-hero .split-content {
  background-color: #FFD54E;
  color: #FFF;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  min-height: 25vh;
  height: 100%;
}
.product-split-hero .eyebrow {
  color: #AD1E26;
  font-weight: 800px;
  letter-spacing: 2px;
  margin-bottom: 0.25rem;
}
.product-split-hero .split-title {
  font-size: 2rem;
  margin: 0;
  letter-spacing: 2px;
  font-weight: 800;
  color: #AD1E26;
  text-shadow: 
    2px 2px 0 #fff,
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    3px 3px 8px rgba(0, 0, 0, 0.3);
}
.product-split-hero .split-sub {
  margin-top: 0.2rem;
  font-size: 1.75rem;
  opacity: 0.95;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Divider line for split sections */
.split-divider {
  width: 100%;
  max-width: 800px;
  height: 2px;
  background: WHITE;
  margin: 30px 0;
  font-size: 0;
  line-height: 0;
}

.product-split-hero .split-desc {
  color: rgba(255,255,255,0.92);
  max-width: 36ch;
}
.product-split-hero .split-btn {
  display: inline-block;
  margin-top: 0.625rem;
  padding: 0.6rem 1rem;
  background: #AD1E26;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 1000PX;
  box-shadow: 0 6px 18px rgba(50,82,63,0.12);
  align-self: flex-start;
}

/* Dark variant - reverse color scheme */
.product-split-hero.dark .split-content {
  background: linear-gradient(135deg, #27AE60 0%, #229954 50%, #1E8449 100%); /* green gradient */
}

.product-split-hero.dark .split-btn.outline {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.product-split-hero.dark .split-btn.outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .product-split-hero .split-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  
  .product-split-hero .split-content {
    padding: 1.5rem 1rem;
    text-align: left;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .product-split-hero .split-image {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
  }
  
  .product-split-hero .split-image img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
  }
  
  /* Dark variant keeps same order */
  .product-split-hero.dark .split-content {
    width: 100%;
    max-width: 100%;
  }
  
  /* Adjust text sizes for mobile */
  .product-split-hero .split-content p {
    font-size: 0.75rem;
    line-height: 1.5;
    margin: 0.5rem 0;
  }
  
  /* Divider responsive */
  .split-divider {
    width: 100%;
    max-width: 100%;
    margin: 10px 0;
    height: 1px;
  }
  
  /* Button responsive */
  .product-split-hero .split-btn {
    width: 100%;
    text-align: center;
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }
  
  .product-split-hero .split-title {
    font-size: 1.2rem;
  }
}

/* Very small screens - adjust further */
@media (max-width: 576px) {
  .product-split-hero .split-content {
    padding: 1rem 0.75rem;
  }
  
  .product-split-hero .split-content p {
    font-size: 0.7rem;
    line-height: 1.4;
  }
  
  .product-split-hero .split-btn {
    font-size: 0.75rem;
    padding: 0.5rem 0.6rem;
  }
}

/* Ensure the split takes full-height on large screens */
@media (min-width: 1200px) {
  .product-split-hero .split-hero-inner {
    min-height: 50vh;
    align-items: stretch;
  }
  .product-split-hero .split-image img {
    height: 50vh;
    object-position: center right;
  }
  .product-split-hero .split-content {
    min-height: 50vh;
    justify-content: center;
  }
}

