/* HLA FreshFarm - Global Styles */
body {
  font-family: 'Inter', sans-serif;
  background-color: #faf8f3;
}
.heading-font {
  font-family: 'Playfair Display', serif;
}
.gradient-bg {
  background: linear-gradient(135deg, #5a4a3a 0%, #3d2f24 100%);
}
.gradient-green {
  background: linear-gradient(135deg, #66a530 0%, #4d7d24 100%);
}
.gradient-orange {
  background: linear-gradient(135deg, #ff7a50 0%, #ff5722 100%);
}
.gradient-herbal {
  background: linear-gradient(135deg, #7fb069 0%, #5d8c4b 100%);
}
.gradient-incense {
  background: linear-gradient(135deg, #c9a76b 0%, #9d7f4d 100%);
}
.gradient-khoai {
  background: linear-gradient(135deg, #f59e0b, #d97706 100%);
}
.gradient-nu {
  background: linear-gradient(135deg, #8b6f47 0%, #5a4a3a 100%);
}
.gradient-earth {
  background: linear-gradient(135deg, #8b6f47 0%, #5a4a3a 100%);
}
.hero-overlay {
  background: linear-gradient(to bottom, rgba(102, 165, 48, 0.2), rgba(61, 47, 36, 0.7));
}
.beige-bg { background-color: #d1beaa; }
.brown-bg { background-color: #5a4a3a; }
.section-padding { padding: 4rem 1rem; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.float-animation { animation: float 3s ease-in-out infinite; }
.floating { animation: float 3s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.cta-pulse { animation: pulse 2s infinite; }

/* Navigation cards (homepage) */
.nav-link {
  transition: all 0.3s ease;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-link:hover {
  background: linear-gradient(135deg, #66a530 0%, #4d7d24 100%);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(102, 165, 48, 0.3);
}
.nav-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
}
.nav-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Product cards (products listing) */
.product-card {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-color: #66a530;
}
.product-image {
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-image img { transform: scale(1.1); }
.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: white;
}
.product-content { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.product-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 1rem; color: #5a4a3a; }
.product-desc { color: #6b7280; line-height: 1.75; margin-bottom: 1.5rem; flex: 1; }
.product-features { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.feature-tag { background: #f3f4f6; padding: 0.4rem 0.8rem; border-radius: 0.5rem; font-size: 0.875rem; color: #4b5563; }

.price-quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 0.75rem;
  flex-wrap: nowrap;
}
@media (max-width: 480px) {
  .price-quantity-row { flex-wrap: wrap; justify-content: center; }
  .price-quantity-row .product-price { width: 100%; margin-bottom: 0.5rem; text-align: center; }
  .price-quantity-row .quantity-control { margin-right: auto; }
}
.price-quantity-row .product-price { display: flex; flex-direction: column; gap: 0.25rem; }
.price-quantity-row .quantity-control { display: flex; align-items: center; gap: 0.5rem; }
.price-quantity-row .quantity-control input {
  width: 50px;
  padding: 0.4rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.price-quantity-row .quantity-control input:focus { outline: none; border-color: #66a530; }

.price-original { font-size: 1rem; color: #9ca3af; text-decoration: line-through; }
.price-sale { font-size: 1.5rem; font-weight: 700; color: #66a530; }

.btn-order-now, .btn-add-cart {
  padding: 0.6rem 1.2rem;
  background: #66a530;
  color: white;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-order-now:hover, .btn-add-cart:hover {
  background: #5a9428;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 165, 48, 0.3);
}
.btn-view-detail {
  display: inline-block;
  width: 100%;
  padding: 1rem;
  text-align: center;
  border-radius: 0.75rem;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
}
.btn-view-detail:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); }

/* Theme colors per product */
.theme-nhangvetiver .price-sale { color: #5d8c4b; }
.theme-nhangvetiver .btn-order-now, .theme-nhangvetiver .btn-view-detail, .theme-nhangvetiver .btn-add-cart { background: linear-gradient(135deg, #66a530 0%, #4d7d24); }
.theme-nuvetiver .price-sale { color: #5a4a3a; }
.theme-nuvetiver .btn-order-now, .theme-nuvetiver .btn-view-detail, .theme-nuvetiver .btn-add-cart { background: linear-gradient(135deg, #8b6f47 0%, #5a4a3a); }
.theme-thaomoc .price-sale { color: #5d8c4b; }
.theme-thaomoc .btn-order-now, .theme-thaomoc .btn-view-detail, .theme-thaomoc .btn-add-cart { background: linear-gradient(135deg, #7fb069 0%, #5d8c4b); }
.theme-nutram .price-sale { color: #9d7f4d; }
.theme-nutram .btn-order-now, .theme-nutram .btn-view-detail, .theme-nutram .btn-add-cart { background: linear-gradient(135deg, #c9a76b, #9d7f4d); }
.theme-hongtreogio .price-sale { color: #ff5722; }
.theme-hongtreogio .btn-order-now, .theme-hongtreogio .btn-view-detail, .theme-hongtreogio .btn-add-cart { background: linear-gradient(135deg, #ff7a50, #ff5722); }
.theme-khoaideoqb .price-sale { color: #d97706; }
.theme-khoaideoqb .btn-order-now, .theme-khoaideoqb .btn-view-detail, .theme-khoaideoqb .btn-add-cart { background: linear-gradient(135deg, #f59e0b, #d97706); }

/* Product card actions row: Chi tiết + Mua ngay (horizontal) */
.product-actions { display: flex; gap: 0.5rem; }
.product-actions .btn-detail {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  white-space: nowrap;
  border: 2px solid #e5e7eb;
  background: white;
  color: #374151;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.product-actions .btn-detail:hover { border-color: #66a530; color: #66a530; transform: translateY(-2px); }
.product-actions .btn-buy-now {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: white;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.product-actions .btn-buy-now:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4); }

/* Sản phẩm chưa niêm yết giá (Admin đặt giá bán = 0đ) — thay khối giá/số lượng
   bằng lời gọi "Liên hệ để biết giá", và thay nút "Mua ngay" bằng nút gọi hotline */
.price-quantity-row--contact { justify-content: center; }
.price-contact {
  font-weight: 700;
  font-size: 1rem;
  color: #5a4a3a;
}
.price-contact i { color: #66a530; }
.product-actions .btn-call {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: white;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #66a530 0%, #4d7d24 100%);
  box-shadow: 0 2px 8px rgba(102, 165, 48, 0.3);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
}
.product-actions .btn-call:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(102, 165, 48, 0.4); color: white; }

/* Category filter buttons */
.category-filter { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 3rem; }
.filter-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  border: 2px solid #e5e7eb;
  background: white;
  color: #6b7280;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active { background: #66a530; border-color: #66a530; color: white; }

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}
.modal.show { display: flex; align-items: center; justify-content: center; }
.modal-content {
  background-color: white;
  margin: auto;
  padding: 0;
  border-radius: 1.5rem;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease;
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}
#cartModal .modal-content, #orderFormModal .modal-content { max-width: 600px; }
.modal-header {
  background: linear-gradient(135deg, #66a530 0%, #4d7d24 100%);
  color: white;
  padding: 2rem;
  position: relative;
}
.modal-header h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.modal-close {
  position: absolute;
  right: 1.5rem; top: 1.5rem;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.3); transform: rotate(90deg); }
.modal-body { padding: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: #374151; }
.form-group input, .form-group textarea, .form-group select, .form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus, .form-input:focus {
  outline: none;
  border-color: #66a530;
  box-shadow: 0 0 0 3px rgba(102, 165, 48, 0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.payment-method-options { display: flex; flex-direction: column; gap: 0.75rem; }
.payment-method-option {
  display: flex; align-items: center; gap: 0.75rem;
  border: 2px solid #e5e7eb; border-radius: 0.75rem;
  padding: 0.75rem 1rem; cursor: pointer; transition: all 0.3s ease;
}
.payment-method-option:hover { border-color: #a8d08d; }
.payment-method-option input[type="radio"] { width: auto; accent-color: #66a530; }
.payment-method-option.active { border-color: #66a530; background: rgba(102, 165, 48, 0.06); }
.payment-method-option .pm-icon { font-size: 1.25rem; color: #66a530; width: 1.5rem; text-align: center; }
.payment-method-option .pm-label { font-weight: 600; color: #374151; }
.payment-method-option .pm-desc { font-size: 0.8rem; color: #6b7280; }
.bank-info-box {
  display: none;
  background: #fffbeb; border: 2px solid #fde68a; border-radius: 0.75rem;
  padding: 1rem; margin-top: 0.75rem; font-size: 0.9rem; color: #374151;
}
.bank-info-box.show { display: block; }
.bank-info-box p { margin-bottom: 0.35rem; }
.form-actions { display: flex; gap: 1rem; margin-top: 2rem; }
.btn-submit {
  flex: 1;
  padding: 1rem;
  background: linear-gradient(135deg, #66a530 0%, #4d7d24 100%);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(102, 165, 48, 0.3); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-detail {
  flex: 1;
  padding: 1rem;
  background: white;
  color: #66a530;
  border: 2px solid #66a530;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-detail:hover { background: #f3f4f6; }

/* Cart */
.cart-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: #f9fafb; border-radius: 0.75rem; margin-bottom: 0.75rem; }
.cart-item-image { width: 80px; height: 80px; border-radius: 0.5rem; object-fit: cover; }
.cart-item-details { flex: 1; }
.cart-item-name { font-weight: 600; color: #374151; margin-bottom: 0.25rem; }
.cart-item-price { color: #66a530; font-weight: 700; font-size: 1.125rem; }
.cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.quantity-btn { width: 32px; height: 32px; border-radius: 0.5rem; border: 2px solid #e5e7eb; background: white; color: #374151; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.quantity-btn:hover { border-color: #66a530; color: #66a530; }
.quantity-input { width: 60px; text-align: center; border: 2px solid #e5e7eb; border-radius: 0.5rem; padding: 0.25rem; font-weight: 600; }
.btn-remove { color: #ef4444; background: #fee2e2; border: none; padding: 0.5rem 1rem; border-radius: 0.5rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.btn-remove:hover { background: #fca5a5; }
.cart-summary { background: #f3f4f6; padding: 1.5rem; border-radius: 0.75rem; margin-top: 1rem; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.5rem; font-weight: 700; color: #66a530; margin-top: 0.5rem; }
.empty-cart { text-align: center; padding: 3rem 1rem; color: #9ca3af; }
.empty-cart i { font-size: 4rem; margin-bottom: 1rem; }

/* Toast messages */
.success-message, .error-message {
  display: none;
  position: fixed;
  top: 2rem; right: 2rem;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  animation: slideInRight 0.4s ease;
  max-width: 90vw;
}
.success-message { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.error-message { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.success-message.show, .error-message.show { display: flex; align-items: center; gap: 0.75rem; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Loading spinner */
.loading-spinner {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3000;
}
.loading-spinner.show { display: block; }
.spinner {
  width: 60px; height: 60px;
  border: 6px solid #f3f4f6;
  border-top: 6px solid #66a530;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Contact page */
.badge-green { background: #66a530; color: white; padding: 0.5rem 1rem; border-radius: 2rem; font-weight: 600; display: inline-block; }
.badge-earth { background: #8b6f47; color: white; padding: 0.5rem 1rem; border-radius: 2rem; font-weight: 600; display: inline-block; }
.badge-warm { background: #d4a574; color: white; padding: 0.5rem 1rem; border-radius: 2rem; font-weight: 600; display: inline-block; }
.badge-incense { background: #c9a76b; color: #3d2f24; padding: 0.5rem 1rem; border-radius: 2rem; font-weight: 600; display: inline-block; }
.badge-orange { background: #ff7a50; color: white; padding: 0.5rem 1rem; border-radius: 2rem; font-weight: 600; display: inline-block; }
.badge-khoai { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: white; padding: 0.5rem 1rem; border-radius: 2rem; font-weight: 600; display: inline-block; }
.quote-large {
  font-size: 1.75rem;
  line-height: 2.25rem;
  font-weight: 300;
  font-style: italic;
  position: relative;
  padding-left: 2rem;
  border-left: 4px solid #66a530;
}
.section-image { min-height: 400px; background-size: cover; background-position: center; border-radius: 1rem; }
.contact-card { transition: all 0.3s ease; }
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); }

/* Video page */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.video-container iframe, .video-container video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.video-card {
  background: white; border-radius: 1rem; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); transition: all 0.3s ease;
}
.video-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); }
.gallery-image { border-radius: 1rem; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; cursor: pointer; }
.gallery-image:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); }

/* Timeline (about page) */
.timeline-item { position: relative; padding-left: 3rem; padding-bottom: 3rem; border-left: 2px solid #66a530; }
.timeline-item:last-child { border-left: none; }
.timeline-dot {
  position: absolute; left: -0.75rem; top: 0;
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: #66a530;
  border: 4px solid white;
  box-shadow: 0 0 0 2px #66a530;
}

/* Comparison table */
.comparison-table th, .comparison-table td { padding: 1rem; text-align: left; border-bottom: 1px solid #e5e7eb; }
.comparison-table th { background: #f9fafb; font-weight: 700; color: #5a4a3a; }

/* Production process step boxes (product story banner) */
.process-step-box {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1.25rem 0.75rem;
  transition: all 0.3s ease;
}
.process-step-box:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-4px); }
.process-step-icon { font-size: 2.25rem; margin-bottom: 0.5rem; }

/* Ritual / thanh tẩy steps (6 bước thanh tẩy năng lượng) */
.ritual-stage-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.ritual-stage-title h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #5a4a3a;
}
.ritual-stage-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #66a530;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}
.ritual-step-card {
  background: white;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-top: 3px solid #66a530;
  transition: all 0.3s ease;
  position: relative;
}
.ritual-step-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12); }
.ritual-step-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(102, 165, 48, 0.12);
  color: #66a530;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.ritual-step-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #66a530;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

/* Commitments (Cam Kết Từ HLA FreshFarm) */
.commitment-card {
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}
.commitment-card:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-4px); }

/* FAQ accordion (native <details>/<summary>, no JS required) */
.faq-item {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.faq-summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: background 0.2s ease;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary:hover { background: #f9fafb; }
.faq-chevron { color: #66a530; transition: transform 0.3s ease; flex-shrink: 0; margin-left: 1rem; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 1.5rem 1.25rem; color: #4b5563; }
.faq-answer p { line-height: 1.6; }

/* ==================== V3.0 Brand Refresh — Header/Footer + Trang chủ ====================
   Bộ nhận dạng thương hiệu mới (theo Home.png tham chiếu): xanh lá đậm #134817 (đo màu chính
   xác từ thanh thông báo / nút CTA / footer trong ảnh mẫu) + nền kem #faf3e9. Các class dưới đây
   là MỚI, không sửa đổi các class gradient-green/gradient-bg/brown-bg hiện có (đang dùng ở
   Products/About/Contact/Video) để tránh phá vỡ giao diện các trang khác. */
:root {
  --brand-green: #134817;
  --brand-green-dark: #0d3411;
  --brand-cream: #faf3e9;
}
.brand-green-bg { background-color: var(--brand-green); }
.brand-green-text { color: var(--brand-green); }
.brand-cream-bg { background-color: var(--brand-cream); }

/* Top announcement bar */
.site-topbar { background-color: var(--brand-green); color: #fff; font-size: 0.8125rem; }
.site-topbar a { color: rgba(255, 255, 255, 0.9); transition: color 0.2s ease; }
.site-topbar a:hover { color: #fff; }

/* Main white navbar */
.site-navbar { background-color: #fff; }
.site-navbar .nav-menu-link {
  color: #374151;
  font-weight: 600;
  font-size: 0.9375rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}
.site-navbar .nav-menu-link:hover,
.site-navbar .nav-menu-link.active {
  color: var(--brand-green);
  border-bottom-color: var(--brand-green);
}
.site-navbar .nav-icon-btn {
  color: #374151;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  transition: all 0.2s ease;
}
.site-navbar .nav-icon-btn:hover { background: var(--brand-cream); color: var(--brand-green); }

/* Pill buttons */
.btn-pill-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--brand-green);
  color: #fff;
  padding: 0.9rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-pill-primary:hover { background-color: var(--brand-green-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(19, 72, 23, 0.3); color: #fff; }
.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #fff;
  color: var(--brand-green);
  padding: 0.7rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  border: 2px solid #e5e7eb;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-pill-outline:hover { border-color: var(--brand-green); color: var(--brand-green); transform: translateY(-2px); }
.btn-pill-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #fff;
  color: #1f2937;
  padding: 0.65rem 1.35rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-pill-white:hover { background-color: var(--brand-cream); transform: translateY(-2px); }

/* Hero (Trang chủ) — banner ảnh full-width dạng slide chuyển (v3.1.0), chữ nằm bên trái đè lên
   ảnh (theo Home.png/sec_hero.png). Mỗi slide (.home-hero-banner) xếp chồng tuyệt đối trong
   .home-hero-slider, chỉ slide .active hiển thị — nội dung do Admin quản lý ở /admin/banner. */
.home-hero-section { background-color: var(--brand-cream); }
.home-hero-slider {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}
.home-hero-banner {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Khi có nhiều slide, mỗi slide xếp chồng tuyệt đối lên nhau, chỉ .active mới hiện + bắt sự kiện */
.home-hero-slider .home-hero-slide {
  position: absolute;
  inset: 0;
  min-height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
  z-index: 1;
}
.home-hero-slider .home-hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.home-hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Lớp phủ mờ dần từ màu kem (bên trái, nơi đặt chữ) sang trong suốt (bên phải, lộ ảnh) —
   ảnh hero vốn đã sáng/mờ ở nửa trái nên lớp phủ chỉ cần nhẹ để chữ luôn rõ. */
.home-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--brand-cream) 0%, rgba(250, 243, 233, 0.85) 30%, rgba(250, 243, 233, 0.35) 55%, rgba(250, 243, 233, 0) 75%);
  z-index: 1;
}
.home-hero-banner-content {
  position: relative;
  z-index: 2;
}
@media (max-width: 767px) {
  .home-hero-banner { min-height: 480px; }
  .home-hero-banner::before {
    background: linear-gradient(180deg, var(--brand-cream) 0%, rgba(250, 243, 233, 0.9) 45%, rgba(250, 243, 233, 0.55) 70%, rgba(250, 243, 233, 0.25) 100%);
  }
}

/* Nút mũi tên + chấm điều hướng của slider — chỉ render khi có >1 slide (xem Home.tsx) */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--brand-green, #2f6b2f);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.hero-slider-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.hero-slider-arrow-prev { left: 1rem; }
.hero-slider-arrow-next { right: 1rem; }
.hero-slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}
.hero-slider-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-slider-dot.active { background: var(--brand-green, #2f6b2f); transform: scale(1.2); }
@media (max-width: 767px) {
  .hero-slider-arrow { width: 2.1rem; height: 2.1rem; font-size: 0.85rem; }
}

/* Feature strip (2 khối 4 icon: cam kết + tin cậy) */
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-strip-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.5rem 1.25rem;
}
.feature-strip-item + .feature-strip-item { border-left: 1px solid #e8e2d8; }
.feature-strip-item .fs-icon {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: rgba(19, 72, 23, 0.08);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}
.feature-strip-item .fs-title { font-weight: 700; color: #1f2937; font-size: 0.9375rem; line-height: 1.3; }
.feature-strip-item .fs-desc { color: #6b7280; font-size: 0.8125rem; line-height: 1.3; }
@media (max-width: 1024px) {
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-strip-item:nth-child(2n+1) { border-left: none; }
  .feature-strip-item:nth-child(n+3) { border-top: 1px solid #e8e2d8; }
}
@media (max-width: 560px) {
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip-item { border-left: none !important; }
  .feature-strip-item:nth-child(n+2) { border-top: 1px solid #e8e2d8; }
}

/* Danh mục sản phẩm (category cards) */
.category-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.category-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2); }
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 12, 0.15) 0%, rgba(8, 20, 10, 0.85) 100%);
}
.category-card-icon {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: #fff;
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.category-card-body { position: relative; z-index: 2; padding: 1.75rem; color: #fff; }
.category-card-body h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.25; }
.category-card-body p { color: rgba(255, 255, 255, 0.85); font-size: 0.9375rem; margin-bottom: 1.25rem; line-height: 1.4; }

/* Sản phẩm nổi bật (home featured products) — biến thể gọn hơn .product-card cho trang chủ */
.home-product-card {
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid #f0ebe0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.home-product-card:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12); }
.home-product-card .hpc-image { height: 220px; overflow: hidden; }
.home-product-card .hpc-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.home-product-card:hover .hpc-image img { transform: scale(1.08); }
.home-product-card .hpc-body { padding: 1.25rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.home-product-card .hpc-title { font-weight: 700; font-size: 1.125rem; color: #1f2937; margin-bottom: 0.4rem; }
.home-product-card .hpc-desc { color: #6b7280; font-size: 0.875rem; line-height: 1.45; margin-bottom: 1rem; flex: 1; }
.home-product-card .hpc-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.home-product-card .hpc-price { font-weight: 700; font-size: 1.0625rem; color: var(--brand-green); }
.home-product-card .hpc-contact { font-weight: 700; font-size: 0.9375rem; color: #1f2937; }

/* Section heading ornament: "— 🍃 —" giữa gạch ngang, dùng cho "Danh mục sản phẩm" */
.section-heading-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.75rem auto 0;
}
.section-heading-divider .divider-line { width: 3rem; height: 1px; background: #d8cfc0; }
.section-heading-divider .divider-icon { color: var(--brand-green); font-size: 0.9rem; }

/* Footer v3 (dark green) */
.site-footer-v3 { background-color: var(--brand-green); color: rgba(255, 255, 255, 0.85); }
.site-footer-v3 h3 {
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer-v3 a { transition: color 0.2s ease; }
.site-footer-v3 a:hover { color: #fff; }
.site-footer-v3 .footer-social-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.site-footer-v3 .footer-social-icon:hover { background: rgba(255, 255, 255, 0.25); transform: translateY(-2px); }
