@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f8f9fa;
  --surface: #ffffff;
  --text: #212529;
  --muted: #6c757d;
  --brand-green: #1b5e20;
  --brand-green-light: #2e7d32;
  --brand-gold: #c68a18;
  --brand-gold-light: #f5b041;
  --accent: #2e7d32;
  --border: #e9ecef;
  --card-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  --maxw: 1180px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
}

a {
  color: var(--brand-green-light);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--brand-gold);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Top Bar ── */
.top-bar {
  background: #154318;
  color: #e8f5e9;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-contact {
  display: flex;
  gap: 20px;
}
.top-bar-contact a {
  color: #ffd54f;
  font-weight: 600;
}

/* ── Header ── */
.site-header {
  background: #0e3d1a;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.site-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}
.site-logo span {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.main-nav a {
  color: #f1f8e9;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 8px 4px;
  position: relative;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--brand-gold-light);
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-gold);
  transition: width 0.2s ease;
}
.main-nav a:hover::after {
  width: 100%;
}

/* Dropdown Navigation Menu */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  z-index: 1000;
  border: 1px solid #eef2f5;
}
.nav-dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeInDown 0.2s ease;
}
.nav-dropdown .dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: #2c3e50;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}
.nav-dropdown .dropdown-menu a::after {
  display: none;
}
.nav-dropdown .dropdown-menu a:hover {
  background: #f1f8e9;
  color: var(--brand-green);
  padding-left: 22px;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-cta {
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-light));
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
  cursor: pointer;
  border: none;
}
.header-cta:hover {
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-light));
  color: #fff !important;
  transform: translateY(-1px);
}

/* Hamburger toggle (ẩn ở desktop, hiện ở mobile qua media query) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #f1f8e9;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 140;
}
.nav-backdrop.active {
  display: block;
}

/* ── Hero Banner Slider ── */
.hero-slider {
  margin-top: 20px;
  margin-bottom: 24px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.hero-slider img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* Home Hero Swiper (top slider ảnh) */
.home-hero-swiper .swiper-slide img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}
.home-hero-swiper .swiper-button-next,
.home-hero-swiper .swiper-button-prev {
  color: #fff;
}
.home-hero-swiper .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.7;
}
.home-hero-swiper .swiper-pagination-bullet-active {
  background: var(--brand-gold, #d4a017);
  opacity: 1;
}
@media (max-width: 768px) {
  .home-hero-swiper .swiper-slide img { height: 240px; }
}

/* Slider Sản phẩm nổi bật */
.products-swiper {
  padding: 4px 4px 12px;
}
.products-swiper .swiper-pagination { display: none; }
.products-swiper .swiper-slide {
  height: auto;
  display: flex;
}
.products-swiper .product-card {
  width: 100%;
}
.products-swiper .swiper-button-next,
.products-swiper .swiper-button-prev {
  color: var(--brand-green);
}
.products-swiper .swiper-pagination {
  bottom: 6px;
}
.products-swiper .swiper-pagination-bullet-active {
  background: var(--brand-green);
}

/* Video Section */
.video-section {
  margin-bottom: 48px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.video-item {
  cursor: pointer;
}
.video-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.video-item .play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(198, 40, 40, 0.9);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.25s ease;
}
.video-item:hover .play-badge {
  background: #c62828;
  transform: translate(-50%, -50%) scale(1.1);
}
.video-title {
  margin-top: 12px;
  font-weight: 600;
  color: #333;
  text-align: center;
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.video-modal.active {
  display: flex;
}
.video-modal-inner {
  width: 100%;
  max-width: 900px;
  position: relative;
}
.video-modal-frame {
  position: relative;
  padding-top: 56.25%;
}
.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

/* ── Trust Signals Bar (Cam kết chất lượng) ── */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.trust-item {
  background: var(--surface);
  padding: 16px 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s ease;
}
.trust-item:hover {
  transform: translateY(-2px);
  border-color: var(--brand-green-light);
}
.trust-icon {
  font-size: 1.8rem;
  color: var(--brand-green);
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--brand-green);
  margin-bottom: 2px;
}
.trust-text span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── Section Titles ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--brand-green);
  padding-bottom: 10px;
  margin-bottom: 24px;
}
.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-green);
  text-transform: uppercase;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 20px;
  background: var(--brand-gold);
  border-radius: 2px;
}

/* ── Featured Products Grid (Gian hàng sản phẩm) ── */
.products-section {
  margin-bottom: 48px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border-color: #a5d6a7;
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand-gold);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-thumb {
  position: relative;
  width: 100%;
  padding-top: 75%;
  background: #fdfcf9;
  overflow: hidden;
}
.product-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.4s ease;
}
.product-card:hover .product-thumb img {
  transform: scale(1.06);
}
.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px 0;
  line-height: 1.4;
}
.product-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}
.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px dashed var(--border);
  padding-top: 12px;
  margin-top: auto;
}
.product-price {
  font-size: 1rem;
  font-weight: 800;
  color: #c62828;
  white-space: nowrap;
}
.btn-order-fast {
  background: var(--brand-green);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-order-fast:hover {
  background: var(--brand-gold);
}

/* ── Layout & Main Content ── */
.layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  margin-top: 30px;
  margin-bottom: 60px;
}
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }
}

/* ── Post Grid ── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.post-card {
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: #d1e7dd;
}
.post-card-thumb {
  position: relative;
  width: 100%;
  padding-top: 60%;
  background: #eee;
  overflow: hidden;
}
.post-card-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card-thumb img {
  transform: scale(1.05);
}
.post-card-body {
  padding: 16px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.post-card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-green);
  margin-bottom: 6px;
}
.post-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 10px 0;
}
.post-card-title a {
  color: var(--text);
}
.post-card-title a:hover {
  color: var(--brand-green);
}
.post-card-excerpt {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 14px 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-meta {
  font-size: 0.8rem;
  color: #8c98a4;
  border-top: 1px solid #f1f3f5;
  padding-top: 10px;
  margin-top: auto;
}

/* ── Single Post Content & In-Article CTA ── */
.post-article {
  background: var(--surface);
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}
.post-article-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-green);
  line-height: 1.3;
  margin-bottom: 12px;
}
.post-article-meta {
  display: flex;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.post-article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2c3e50;
}
.post-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}
.post-article-content h2, .post-article-content h3 {
  color: var(--brand-green);
  margin-top: 32px;
  margin-bottom: 12px;
}

.cta-box-post {
  background: linear-gradient(135deg, #e8f5e9 0%, #fff9c4 100%);
  border: 2px dashed var(--brand-green);
  border-radius: 12px;
  padding: 24px;
  margin: 36px 0;
  text-align: center;
}
.cta-box-post h3 {
  color: var(--brand-green);
  margin: 0 0 8px 0;
  font-size: 1.3rem;
}
.cta-box-post p {
  color: #444;
  margin: 0 0 16px 0;
  font-size: 0.95rem;
}

/* ── Sidebar ── */
.sidebar-widget {
  background: var(--surface);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}
.sidebar-widget-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-green);
  text-transform: uppercase;
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand-gold);
}
.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.sidebar-list li:last-child {
  border-bottom: none;
}
.sidebar-list a {
  color: var(--text);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
}
.sidebar-list a:hover {
  color: var(--brand-green);
}

/* ── Footer ── */
.site-footer {
  background: #113615;
  color: #cfd8dc;
  padding: 50px 0 20px 0;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  border-left: 3px solid var(--brand-gold);
  padding-left: 10px;
}
.footer-text {
  line-height: 1.7;
  font-size: 0.92rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.92rem;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.85rem;
  color: #8c98a4;
}

/* ── Floating Action Buttons (Zalo, Hotline, Quick Order) ── */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}
.fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  cursor: pointer;
  border: none;
}
.fab-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.fab-hotline {
  background: #e53935;
  animation: pulse-red 2s infinite;
}
.fab-zalo {
  background: #0068ff;
  animation: pulse-blue 2s infinite;
}
.fab-order {
  background: var(--brand-gold);
}
.fab-label {
  position: absolute;
  right: 62px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.fab-btn:hover .fab-label {
  opacity: 1;
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(229, 57, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
}
@keyframes pulse-blue {
  0% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(0, 104, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0); }
}

/* ── Modal Đặt Hàng Nhanh ── */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active {
  display: flex;
}
.modal-box {
  background: var(--surface);
  width: 100%;
  max-width: 480px;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: modal-slide-in 0.3s ease;
}
@keyframes modal-slide-in {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #888;
  cursor: pointer;
}
.modal-close:hover {
  color: #000;
}
.modal-title {
  color: var(--brand-green);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 6px 0;
  text-transform: uppercase;
}
.modal-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}
.btn-submit-order {
  width: 100%;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-light));
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
  transition: all 0.2s ease;
}
.btn-submit-order:hover {
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-light));
  transform: translateY(-1px);
}

/* ── Trang Chi Tiết Sản Phẩm (Full Width - Không Sidebar) ── */
.product-page-container {
  max-width: 1080px;
  margin: 0 auto 50px auto;
  padding: 0 16px;
}
.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #666;
  margin: 16px 0 20px 0;
}
.product-breadcrumb a {
  color: #444;
  text-decoration: none;
}
.product-breadcrumb a:hover {
  color: var(--brand-green);
}
.product-breadcrumb .active {
  color: var(--brand-green);
  font-weight: 600;
}

/* Product Header Card */
.product-header-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.product-badge-lg {
  display: inline-block;
  background: var(--brand-gold);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.product-detail-title {
  font-size: 1.8rem;
  color: var(--brand-green);
  margin: 0 0 8px 0;
  font-weight: 800;
}
.product-detail-meta {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
  color: #666;
}
.product-detail-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-header-action {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.product-detail-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #c62828;
}
.btn-order-huge {
  background: linear-gradient(135deg, var(--brand-gold), #b37400);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(198, 138, 24, 0.35);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-order-huge:hover {
  background: linear-gradient(135deg, #b37400, #8f5c00);
  transform: translateY(-2px);
}
.btn-hotline-huge {
  background: #e53935;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.btn-hotline-huge:hover {
  background: #c62828;
}

/* Product Content & Fieldset Accordions */
.product-main-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
fieldset.collapsible {
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px;
  margin-bottom: 24px;
  padding: 0;
  overflow: hidden;
}
fieldset.collapsible legend.panel-heading {
  display: block;
  width: 100%;
  background: #f4f7f6;
  margin: 0;
  padding: 12px 18px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-green);
  border-bottom: 1px solid #e0e0e0;
  border-radius: 8px 8px 0 0;
  position: relative;
  cursor: pointer;
}
fieldset.collapsible legend a {
  color: var(--brand-green);
  text-decoration: none;
}
fieldset.collapsible .panel-body {
  padding: 20px 24px;
  background: #fff;
}
fieldset.collapsible .field {
  display: flex;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
}
fieldset.collapsible .field-label {
  font-weight: 700;
  min-width: 180px;
  color: #333;
}

/* Fix: <fieldset> mặc định có min-width:min-content khiến Swiper (process/cert
   slider) tính sai và phình width lên ~2^25px -> slider trống. Ép min-width:0
   để fieldset co theo cột nội dung, và giới hạn bề rộng slider. */
fieldset.collapsible,
fieldset.collapsible .panel-body {
  min-width: 0;
  max-width: 100%;
}
fieldset.collapsible .field {
  min-width: 0;
}
.process-slider,
.cert_slider {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* ── Product Hero Grid (2 Columns) ── */
.product-hero-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
@media (max-width: 868px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 20px;
  }
}

/* Product Main Slider */
.product-gallery-col {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.product-main-slider {
  width: 100%;
  border-radius: 12px;
  background: #fdfdfd;
  border: 1px solid #eaeaea;
  position: relative;
  overflow: hidden;
}
.product-main-slider .swiper-slide {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
  background: #fff;
}
.hero-slide-img {
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.hero-slide-img:hover {
  transform: scale(1.04);
}

/* Product Thumb Slider */
.product-thumb-slider {
  margin-top: 12px;
  box-sizing: border-box;
}
.thumb-slide {
  height: 75px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #eee;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.thumb-slide.swiper-slide-thumb-active, .thumb-slide:hover {
  opacity: 1;
  border-color: var(--brand-green);
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
}

/* Product Info Column */
.product-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-trust-tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 16px;
}
.product-trust-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f4f8f4;
  padding: 4px 10px;
  border-radius: 6px;
}
.product-price-box {
  background: #fff8e1;
  border-left: 4px solid var(--brand-gold);
  padding: 12px 18px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.product-price-box .price-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
}
.product-highlights {
  margin-bottom: 22px;
}
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.5;
}
.highlight-item i {
  color: var(--brand-green);
  margin-top: 3px;
}
.product-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-zalo-huge {
  background: #0288d1;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.btn-zalo-huge:hover {
  background: #0277bd;
  transform: translateY(-2px);
}

/* Swiper Custom Navigation Buttons */
.swiper-button-next, .swiper-button-prev {
  color: var(--brand-green) !important;
  background: rgba(255, 255, 255, 0.9);
  width: 36px !important;
  height: 36px !important;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}
.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 14px !important;
  font-weight: bold;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
  background: var(--brand-green);
  color: #fff !important;
}
.swiper-pagination-bullet-active {
  background: var(--brand-green) !important;
}

/* Swiper Slider Chứng Nhận */
.cert_slider {
  padding: 10px 0 35px 0 !important;
  position: relative;
}
.cert_item {
  text-align: center;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.cert_item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.cert_item img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  border-radius: 6px;
  cursor: pointer;
}
.cert_item .caption {
  display: none;
}

/* Bottom CTA Banner */
.product-bottom-cta {
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
  color: #fff;
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
  margin-top: 36px;
}
.product-bottom-cta h3 {
  color: #ffd54f;
  margin: 0 0 10px 0;
  font-size: 1.4rem;
}
.product-bottom-cta p {
  color: #e8f5e9;
  max-width: 700px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =====================================================================
   RESPONSIVE — Mobile menu (drawer) & tổng thể
   ===================================================================== */
@media (max-width: 992px) {
  /* Hamburger + drawer */
  .menu-toggle { display: block; }
  .site-header { z-index: 200; }

  .main-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 290px;
    max-width: 84vw;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 88px 0 24px;
    box-shadow: -6px 0 24px rgba(0, 0, 0, 0.18);
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: 150;
  }
  .main-nav.open { right: 0; }

  .main-nav > a,
  .nav-dropdown .dropdown-toggle {
    width: 100%;
    padding: 14px 22px;
    font-size: 1rem;
    color: #333;
    text-transform: none;
    letter-spacing: 0;
    border-bottom: 1px solid #f0f0f0;
    justify-content: space-between;
  }
  .main-nav .header-cta { color: #fff; }
  .main-nav a::after { display: none !important; }

  /* Dropdown -> accordion trong drawer */
  .nav-dropdown { width: 100%; display: block; }
  .nav-dropdown .dropdown-menu,
  .nav-dropdown:hover .dropdown-menu {
    display: none;
    position: static;
    min-width: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: #f6faf4;
    animation: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .nav-dropdown .dropdown-menu a { padding: 12px 22px 12px 40px; }

  .header-cta {
    margin: 16px 22px 0;
    text-align: center;
    justify-content: center;
  }

  /* Top bar gọn gàng */
  .top-bar { font-size: 0.78rem; }
  .top-bar-inner { justify-content: center; text-align: center; }
  .top-bar-contact { gap: 10px 16px; flex-wrap: wrap; justify-content: center; }

  body.nav-open { overflow: hidden; }
  body.nav-open .floating-actions { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 14px; }
  .site-logo img { height: 46px; }

  /* Top-bar gọn trên mobile: ẩn câu giới thiệu dài, chỉ giữ hotline + email 1 hàng */
  .top-bar { padding: 6px 0; }
  .top-bar-inner > div:first-child { display: none; }
  .top-bar-contact {
    width: 100%;
    justify-content: center;
    gap: 6px 14px;
    font-size: 0.78rem;
  }

  .section-header { flex-wrap: wrap; gap: 8px; }
  .section-title { font-size: 1.25rem; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-info { padding: 12px; }
  .product-name { font-size: 0.95rem; }
  .btn-order-fast { padding: 8px 10px; font-size: 0.8rem; }

  .video-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: 1fr; }

  .floating-actions { bottom: 16px; right: 16px; }
}

@media (max-width: 400px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* Mục lục tự động trong bài viết (Xem nhanh) */
.post-toc {
  background: #f6faf4;
  border: 1px solid #e0ebe0;
  border-left: 4px solid var(--brand-green);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 0 0 24px;
}
.post-toc-head {
  font-weight: 800;
  color: var(--brand-green);
  margin-bottom: 8px;
  font-size: 1.02rem;
}
.post-toc-list {
  margin: 0;
  padding: 0 0 0 4px;
  list-style: none;
}
.post-toc-list li {
  margin: 5px 0;
  line-height: 1.5;
  position: relative;
  padding-left: 16px;
}
.post-toc-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-gold);
}
.post-toc-list li.toc-l2 {
  padding-left: 32px;
}
.post-toc-list li.toc-l2::before {
  left: 18px;
  background: #b0bec5;
}
.post-toc-list a {
  color: #33691e;
  text-decoration: none;
  font-size: 0.92rem;
}
.post-toc-list li.toc-l1 > a {
  font-weight: 600;
}
.post-toc-list a:hover {
  color: var(--brand-gold);
  text-decoration: underline;
}
/* Bù trừ header sticky khi cuộn tới heading */
.post-article-content h1[id],
.post-article-content h2[id],
.post-article-content h3[id] {
  scroll-margin-top: 90px;
}

/* ===== Trang Liên hệ ===== */
.contact-page { margin: 24px 0 48px; }
.contact-intro { max-width: 760px; color: var(--muted); margin: -6px 0 24px; }
.contact-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: start;
}
.contact-info {
  background: linear-gradient(160deg, #1b5e20, #2e7d32);
  color: #fff;
  border-radius: 14px;
  padding: 26px 24px;
  box-shadow: 0 8px 24px rgba(27, 94, 32, 0.25);
}
.contact-info-title {
  margin: 0 0 18px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}
.contact-info-list { list-style: none; margin: 0; padding: 0; }
.contact-info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  font-size: 0.94rem;
  line-height: 1.5;
}
.contact-info-list .ci-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #ffd54f;
}
.contact-info-list a { color: #ffd54f; font-weight: 600; }
.contact-cta-box {
  margin-top: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
}
.contact-cta-box i { font-size: 1.4rem; color: #ffd54f; }
.contact-cta-box a { color: #ffd54f; font-weight: 700; }

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px;
  box-shadow: var(--card-shadow);
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { margin-bottom: 16px; display: flex; flex-direction: column; }
.cf-field label { font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: #333; }
.cf-field label span { color: #c62828; }
.cf-field input,
.cf-field textarea {
  border: 1px solid #d7dee4;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
  width: 100%;
}
.cf-field input:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--brand-green-light);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}
.cf-field textarea { resize: vertical; min-height: 120px; }
.cf-submit {
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-light));
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 24px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.cf-submit:hover { background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-light)); transform: translateY(-1px); }
.cf-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.cf-status { margin-top: 14px; font-weight: 600; font-size: 0.92rem; }
.cf-status.ok { color: #2e7d32; }
.cf-status.err { color: #c62828; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cf-row { grid-template-columns: 1fr; gap: 0; }
}

/* Widget Sản phẩm ở sidebar */
.sidebar-products {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-products li {
  border-bottom: 1px solid var(--border);
}
.sidebar-products li:last-child {
  border-bottom: none;
}
.sp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  text-decoration: none;
}
.sp-thumb {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 8px;
  background: #fdfcf9;
  border: 1px solid var(--border);
  flex-shrink: 0;
  padding: 4px;
  transition: transform 0.25s ease;
}
.sp-item:hover .sp-thumb {
  transform: scale(1.05);
}
.sp-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.sp-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.35;
}
.sp-item:hover .sp-name {
  color: var(--brand-green);
}
.sp-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #c62828;
}

/* ===== Bảng (table) trong nội dung bài viết / sản phẩm ===== */
.post-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 0.92rem;
  background: #fff;
  border: 1px solid #e2ebe2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.post-article-content table thead th {
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-light));
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  font-size: 0.9rem;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.post-article-content table thead th:last-child { border-right: none; }
.post-article-content table td,
.post-article-content table th {
  padding: 11px 14px;
  border: 1px solid #e6ede6;
  vertical-align: top;
  line-height: 1.55;
}
.post-article-content table tbody tr:nth-child(even) { background: #f6faf4; }
.post-article-content table tbody tr:hover { background: #eef7ea; }
.post-article-content table td p,
.post-article-content table th p { margin: 0; }
/* Ô đầu mỗi hàng (nếu là <th> trong tbody) in đậm màu xanh */
.post-article-content table tbody th {
  background: #eef5ec;
  color: var(--brand-green);
  font-weight: 700;
}
/* Mobile: cho bảng cuộn ngang thay vì vỡ layout */
@media (max-width: 640px) {
  .post-article-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: normal;
  }
}
