/*
Theme Name: Blocksy Child - Máy Móc Đa Năng Nông Cơ
Theme URI: https://maymocdanang.pages.dev/
Description: Giao diện chuẩn mực Nông Cơ Máy Móc Đa Năng Tân Phú - Tỷ lệ vàng 74/26, Menu neo cố định, Tìm kiếm nhanh, Popup chi tiết thông số ren ốc, tối ưu chuyển đổi qua Zalo & Hotline.
Author: Máy Móc Đa Năng Tân Phú
Template: blocksy
Version: 4.5.0
Text Domain: blocksy-child
*/

:root {
  --primary: #15803d;
  --primary-dark: #166534;
  --primary-deep: #14532d;
  --primary-light: #22c55e;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --gold: #d97706;
  --gold-bg: #fffbeb;
  --dark: #0f172a;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-page: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 15px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -5px rgba(21, 128, 61, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* =================================================================
   TOP PROMO BAR
   ================================================================= */
.acd-promo-topbar {
  background: #14532d;
  color: #bbf7d0;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.acd-promo-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.acd-promo-badge-pill {
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.acd-promo-ticker {
  flex: 1;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.acd-promo-top-btn {
  background: #0068ff;
  color: #fff !important;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.acd-promo-top-btn:hover { opacity: 0.9; }

/* =================================================================
   HEADER (STICKY & BRANDING)
   ================================================================= */
.acd-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
/* Khi Admin dang nhap tren PC (>= 783px), thanh Admin bar la fixed 32px */
@media (min-width: 783px) {
  body.admin-bar .acd-header {
    top: 32px;
  }
}

/* Tren Mobile (<= 782px), thanh Admin bar troi theo trang, header phai dinh sat mep tren (top: 0) */
@media (max-width: 782px) {
  .acd-header,
  body.admin-bar .acd-header {
    top: 0 !important;
  }
}
.acd-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}
.acd-header-top-row {
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}
.acd-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.acd-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.acd-logo-img {
  height: 50px;
  width: auto;
  max-width: 235px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}
.acd-logo:hover .acd-logo-img {
  transform: scale(1.02);
}
@media (max-width: 768px) {
  .acd-logo-img {
    height: 40px;
    max-width: 175px;
  }
}
@media (max-width: 420px) {
  .acd-logo-img {
    height: 35px;
    max-width: 145px;
  }
}
.logo-circle-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(21, 128, 61, 0.25);
}
.logo-circle-icon.mini {
  width: 30px;
  height: 30px;
  font-size: 14px;
}
.acd-logo-brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  display: block;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.acd-logo-sub {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  display: block;
}
.acd-header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.acd-header-hotline-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid #bbf7d0;
}
.acd-hotline-icon {
  color: var(--primary);
  font-size: 16px;
}
.acd-hotline-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 700;
  line-height: 1;
}
.acd-hotline-link {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-dark);
  text-decoration: none;
}
.acd-btn-book-header {
  background: #0068ff;
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 104, 255, 0.25);
  transition: transform 0.15s;
}
.acd-btn-book-header:hover { transform: translateY(-1px); }
.acd-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--primary-dark);
}

/* NAVIGATION + SEARCH BAR */
.acd-header-nav-row {
  padding: 8px 0;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.nav-with-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.acd-nav-list {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.acd-nav-list li a {
  text-decoration: none;
  color: #1e293b;
  font-weight: 700;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 8px;
  position: relative;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.acd-nav-list li a:hover {
  background: #f0fdf4;
  color: #15803d;
}
.acd-nav-list li.active a {
  background: #dcfce7;
  color: #166534;
  font-weight: 800;
}
.acd-nav-list li.has-sub {
  position: relative;
}
.acd-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 6px 0;
  min-width: 230px;
  list-style: none;
  display: none;
  z-index: 1000;
}
.acd-dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.acd-nav-list li.has-sub:hover .acd-dropdown {
  display: block;
}
.acd-dropdown li a {
  padding: 9px 18px;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #334155;
  border-radius: 0;
  transition: all 0.15s ease;
}
.acd-dropdown li a:hover {
  background: #f0fdf4;
  color: var(--primary);
  padding-left: 22px;
}

/* Instant Search Input in Header */
.header-search-box {
  position: relative;
  width: 270px;
  flex-shrink: 0;
}
.header-search-box input {
  width: 100%;
  padding: 8px 34px 8px 36px;
  border: 1.5px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 13.5px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 600;
  transition: all 0.2s;
}
.header-search-box input:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
  outline: none;
}
.search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 13px;
  pointer-events: none;
}
  outline: none;
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.1);
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 12px;
}
.search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  font-size: 12px;
}

/* =================================================================
   HERO BANNER
   ================================================================= */
.acd-hero {
  background: linear-gradient(135deg, #14532d 0%, #15803d 100%);
  color: var(--white);
  padding: 45px 0 55px;
  position: relative;
  overflow: hidden;
}
.acd-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.acd-hero-content {
  flex: 1 1 650px;
}
.acd-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 800;
  color: #fef08a;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.2);
}
.acd-hero-heading {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.acd-hero-desc {
  font-size: 16px;
  color: #dcfce7;
  margin-bottom: 24px;
  max-width: 620px;
  line-height: 1.6;
}
.acd-hero-desc strong {
  color: #fef08a;
}
.acd-hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.acd-btn-call {
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
  transition: transform 0.15s;
}
.acd-btn-call:hover { transform: translateY(-2px); }
.call-icon-wrap {
  font-size: 20px;
}
.btn-lines small {
  display: block;
  font-size: 11px;
  opacity: 0.9;
}
.btn-lines strong {
  font-size: 16px;
  font-weight: 800;
}
.acd-btn-zalo {
  background: #0068ff;
  color: #fff !important;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(0, 104, 255, 0.35);
  transition: transform 0.15s;
}
.acd-btn-zalo:hover { transform: translateY(-2px); }
.zalo-circle-badge {
  background: #fff;
  color: #0068ff;
  font-weight: 900;
  font-size: 11px;
  padding: 4px 6px;
  border-radius: 6px;
}
.calligraphy-circle {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 3px dashed rgba(254, 240, 138, 0.6);
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fef08a;
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  line-height: 1.4;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.25);
  animation: floatCircle 4s ease-in-out infinite;
}
@keyframes floatCircle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* =================================================================
   TRUST BAR (DẢI 4 CAM KẾT)
   ================================================================= */
.acd-trust-bar {
  margin-top: -25px;
  position: relative;
  z-index: 10;
  margin-bottom: 35px;
}
.acd-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 15px;
}
.acd-trust-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
}
.trust-icon-box {
  width: 44px;
  height: 44px;
  background: #f0fdf4;
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.acd-trust-text strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--dark);
}
.acd-trust-text span {
  font-size: 12px;
  color: var(--text-muted);
}

/* =================================================================
   SPOTLIGHT PROMO BOX
   ================================================================= */
.acd-promo-spotlight {
  background: linear-gradient(135deg, #0f291e 0%, #164e37 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #fff;
  border: 2px solid #eab308;
  box-shadow: 0 10px 30px rgba(22, 78, 55, 0.25);
  margin-bottom: 35px;
  position: relative;
  overflow: hidden;
}
.acd-promo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 12px;
}
.acd-promo-flash-badge {
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 4px;
}
.acd-promo-headline {
  font-size: 20px;
  font-weight: 800;
  color: #fef08a;
}
.acd-golden-clock {
  font-size: 13px;
  background: rgba(0,0,0,0.3);
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(234, 179, 8, 0.4);
}
.acd-promo-messages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.acd-promo-msg-box {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
}
.acd-promo-cards-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.acd-promo-mini-card {
  background: #fff;
  color: var(--dark);
  border-radius: 8px;
  padding: 8px 12px;
  flex: 1;
  min-width: 170px;
}
.mini-card-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 3px;
}
.mini-card-desc {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
}
.acd-promo-cta-btn {
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 13.5px;
  padding: 12px 20px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
  transition: transform 0.15s;
}
.acd-promo-cta-btn:hover { transform: translateY(-1px); }

/* =================================================================
   MAIN LAYOUT (74% CỘT TRÁI - 26% SIDEBAR PHẢI)
   ================================================================= */
.acd-main-wrapper {
  margin: 30px 0 60px;
}
.acd-content-sidebar-row {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.acd-main-column {
  flex: 1 1 74%;
  min-width: 0;
}
.acd-sidebar-column {
  flex: 0 0 26%;
  min-width: 290px;
  position: sticky;
  top: 145px;
  transition: top 0.2s ease;
}
@media (min-width: 993px) {
  body.admin-bar .acd-sidebar-column {
    top: 180px;
  }
}

.content-section {
  margin-bottom: 45px;
}
.section-header-flex {
  margin-bottom: 18px;
}
.section-title-main {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1.3;
}
.section-subtitle-main {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Category Nav Tabs */
.category-nav-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 20px;
}
.cat-btn {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--text-main);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.cat-btn.active, .cat-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.no-result-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  margin-bottom: 20px;
}
.no-result-alert a {
  color: #0068ff;
  font-weight: 700;
}

/* Product Card Grid (Phong Phát Style - Full Width 5 Cột Rộng Rãi Chuẩn 1400px) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1280px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}
@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.product-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: #22c55e;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.product-thumb {
  height: 185px;
  background: #f8fafc;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
}
.product-thumb img.product-thumb-img,
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.product-card:hover .product-thumb img {
  transform: scale(1.05);
}
.thumb-icon {
  font-size: 3.5rem;
  color: #94a3b8;
}
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}
.price-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 3px 8px;
  border-radius: 6px;
}
.product-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-title {
  font-weight: 800;
  font-size: 15.5px;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.35;
}
.product-compat {
  display: inline-block;
  background: #f0fdf4;
  color: #15803d;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid #bbf7d0;
  padding: 3px 8px;
  border-radius: 5px;
  margin-bottom: 8px;
  align-self: flex-start;
}
.product-text {
  font-size: 13px;
  color: #475569;
  margin-bottom: 12px;
  flex-grow: 1;
  line-height: 1.5;
}
.card-btn-action {
  margin-top: auto;
}
.btn-card-detail {
  display: block;
  background: #f0fdf4;
  color: #15803d;
  border: 1.5px solid #bbf7d0;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 12.5px;
  text-align: center;
  transition: all 0.2s ease;
}
.product-card:hover .btn-card-detail {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* =================================================================
   BẮT BỆNH MÁY MÓC NHANH (BLOG 4 CỘT CHUẨN PHONG PHÁT E-COMMERCE)
   ================================================================= */
.blog-grid-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .blog-grid-four {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .blog-grid-four {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.blog-card-pro {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.blog-card-pro:hover {
  transform: translateY(-4px);
  border-color: #15803d;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.blog-card-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.blog-thumb-wrap {
  width: 100%;
  height: 185px;
  background: #f1f5f9;
  overflow: hidden;
  position: relative;
}
.blog-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.blog-card-pro:hover .blog-thumb-img {
  transform: scale(1.05);
}
.blog-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #94a3b8;
  background: #f8fafc;
}
.blog-body-wrap {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-date-line {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 6px;
}
.blog-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}
.blog-card-pro:hover .blog-card-title {
  color: #15803d;
}
.blog-card-excerpt {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}
.blog-read-more {
  font-size: 13px;
  font-weight: 700;
  color: #0068ff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  transition: all 0.2s ease;
}
.blog-card-pro:hover .blog-read-more {
  color: #15803d;
  transform: translateX(3px);
}

/* =================================================================
   ABOUT & NEWS ROW
   ================================================================= */
.about-news-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.about-box-card {
  background: #fbfdfb;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.about-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 4px;
}
.about-card-tag {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}
.about-card-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}
.about-chips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.about-chip {
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--primary-deep);
}
.btn-about-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-dark);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}
.news-box-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.news-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.news-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-deep);
}
.news-card-link {
  font-size: 12px;
  font-weight: 700;
  color: #0068ff;
  text-decoration: none;
}
.article-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}
.article-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.article-thumb-icon {
  width: 36px;
  height: 36px;
  background: #f1f5f9;
  color: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.article-title a {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  line-height: 1.35;
  display: block;
}
.article-title a:hover { color: var(--primary); }
.article-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* =================================================================
   SIDEBAR
   ================================================================= */
.sidebar-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.sidebar-box.booking {
  border-top: 4px solid var(--primary);
}
.sidebar-box-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-box-text {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.45;
}
.sidebar-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
}
.sidebar-input:focus {
  outline: none;
  border-color: var(--primary);
}
.btn-sidebar-book {
  background: #0068ff;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.2s;
}
.btn-sidebar-book:hover { opacity: 0.9; }

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-info-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 6px 0;
}
.contact-icon {
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  flex-shrink: 0;
}
.contact-lbl {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}
.contact-val {
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.contact-val:hover {
  opacity: 0.85;
  text-decoration: underline;
}
.map-embed-wrap {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =================================================================
   SPEC MODAL (POPUP CHI TIẾT SẢN PHẨM)
   ================================================================= */
.spec-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 15px;
}
.spec-modal.open {
  display: flex;
}
.spec-modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.spec-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spec-modal-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.modal-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.spec-modal-header h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
}
.modal-price-wrap {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-price-label {
  font-size: 12px;
  color: var(--text-muted);
}
.modal-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}
.spec-modal-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  margin-bottom: 20px;
}
.spec-box, .compat-box, .tip-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
}
.spec-box h4, .compat-box h4, .tip-box h4 {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #334155;
  font-weight: 600;
}
.spec-modal-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.btn-modal-zalo {
  background: #0068ff;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-modal-call {
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* =================================================================
   SMART CONVERSION CHAT POPUP WIDGET
   ================================================================= */
.pk236-chat-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
}

/* Khi mở menu Drawer trên Mobile, ẩn hoàn toàn chat popup và floating bar để không bị che khuất */
body.drawer-open .pk236-chat-wrap,
body.drawer-open .mobile-bottom-nav,
body.drawer-open .clinic-floating-contact {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.pk236-chat-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.25s ease;
  border: 2px solid #ffffff;
}
.pk236-chat-btn:hover {
  transform: scale(1.08);
}
.pk236-chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ffffff;
  color: #dc2626;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #dc2626;
  animation: pkBounce 2s infinite;
}
@keyframes pkBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.pk236-chat-box {
  position: absolute;
  bottom: 64px;
  right: 0;
  width: 275px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.18);
  overflow: hidden;
  display: none;
  flex-direction: column;
  animation: pkSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  border: 1px solid #fed7aa;
}
.pk236-chat-box.open { display: flex; }
@keyframes pkSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.pk236-chat-head {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pk236-chat-doc {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pk236-doc-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pk236-doc-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background: #22c55e;
  border-radius: 50%;
  border: 1.5px solid #fff;
}
.pk236-doc-info h4 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.pk236-doc-info p {
  margin: 1px 0 0;
  font-size: 9.5px;
  color: rgba(255,255,255,0.9);
}
.pk236-close-btn {
  background: rgba(255,255,255,0.22);
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.pk236-chat-body {
  padding: 12px;
  background: #f8fafc;
}
.pk236-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.pk236-btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  color: #fff !important;
}
.pk236-btn-zalo { background: #0068ff; }
.pk236-btn-mess { background: #0084ff; }
.pk236-btn-call-sub { background: var(--primary); }

/* =================================================================
   FLOATING DESKTOP CONTACT & MOBILE BOTTOM BAR
   ================================================================= */
.clinic-floating-contact {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.clinic-floating-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  color: #fff !important;
  transition: transform 0.2s;
}
.clinic-floating-btn:hover { transform: translateY(-2px); }
.clinic-floating-btn.zalo { background: #0068ff; }
.clinic-floating-btn.hotline { background: var(--accent); }

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 6px 12px;
  z-index: 9999;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
}
.mobile-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  flex: 1;
  padding: 4px 0;
  transition: transform 0.15s;
}
.mobile-bottom-item:active {
  transform: scale(0.95);
}
.mobile-bottom-item svg, .mobile-bottom-item i {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-bottom-item.messenger-item {
  color: #0084ff;
}
.mobile-bottom-item.zalo-item {
  color: #0068ff;
}
.mobile-bottom-item.call-item {
  color: #15803d;
}
.mobile-bottom-item.active {
  color: var(--primary);
}

/* =================================================================
   MOBILE DRAWER
   ================================================================= */
.acd-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99999;
  display: none;
}
.acd-mobile-overlay.open { display: block; }
.acd-mobile-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 100000;
  box-shadow: 4px 0 20px rgba(0,0,0,0.2);
  transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.acd-mobile-drawer.open { left: 0; }
.drawer-header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 14px;
}
.drawer-close {
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
}
.drawer-search {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.drawer-search input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
}
.drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 10px 0;
}
.drawer-nav ul { list-style: none; }
.drawer-nav ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  color: #0f172a;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}
.drawer-nav ul li a:hover, .drawer-nav ul li a:active {
  background: #f0fdf4;
  color: var(--primary);
  padding-left: 24px;
}
.drawer-parent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
}
.drawer-parent-row .drawer-parent-link {
  flex: 1;
  border-bottom: none !important;
}
.drawer-sub-count {
  font-size: 11px;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 3px 8px;
  border-radius: 9999px;
  margin-right: 16px;
  white-space: nowrap;
}
.drawer-sub-list {
  list-style: none;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.drawer-sub-list li a {
  padding: 10px 20px 10px 32px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  border-bottom: 1px dashed #e2e8f0 !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.drawer-sub-list li:last-child a {
  border-bottom: none !important;
}
.drawer-sub-list li a:hover {
  background: #f0fdf4 !important;
  color: var(--primary) !important;
  padding-left: 36px !important;
}
.drawer-sub-list li a i {
  font-size: 10px;
  color: #94a3b8;
}
.drawer-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer-btn {
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.drawer-btn.call { background: var(--accent); color: #fff; }
.drawer-btn.zalo { background: #0068ff; color: #fff; }

/* =================================================================
   RESPONSIVE CHO MOBILE & TABLET
   ================================================================= */
@media (max-width: 992px) {
  .acd-content-sidebar-row {
    flex-direction: column;
  }
  .acd-main-column {
    flex: 1 1 100%;
  }
  .acd-sidebar-column {
    flex: 1 1 100%;
    width: 100%;
    position: static;
    top: auto;
  }
  .acd-nav-list { display: none; }
  .header-search-box { width: 100%; }
  .acd-mobile-toggle { display: block; }
  .acd-header-hotline-pill { display: none; }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 60px; /* Chừa chỗ cho mobile nav bar */
  }
  /* Ẩn 3 khối cam kết nhỏ và 3 nút CTA lớn ở khối Hero trên Mobile (vì đã có thanh Mobile Bottom Nav cố định ở đáy màn hình) */
  .single-top-actions,
  .product-trust-strip,
  .product-action-grid {
    display: none !important;
  }
  .product-detail-hero {
    margin-bottom: 18px;
    border-radius: 10px;
    padding: 14px;
  }
  .product-price-hero {
    padding: 10px 14px;
    margin-bottom: 12px;
  }
  .price-main-number {
    font-size: 25px;
  }
  .single-product-top-bar {
    margin: 8px 0 14px;
    padding: 10px 14px;
    border-radius: 8px;
  }
  .price-val {
    font-size: 26px;
  }
  .single-moq-alert {
    padding: 12px 14px;
    margin: -4px 0 18px;
  }
  .mobile-bottom-nav {
    display: flex;
  }
  .clinic-floating-contact {
    display: none;
  }
  .pk236-chat-wrap {
    bottom: 72px;
    right: 12px;
  }
  .acd-hero {
    padding: 25px 0 35px;
  }
  .acd-hero-heading {
    font-size: 26px;
  }
  .calligraphy-circle {
    display: none;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .product-thumb {
    height: 120px;
  }
  .thumb-icon {
    font-size: 2.5rem;
  }
  .product-title {
    font-size: 13px;
  }
  .product-text {
    display: none;
  }
  .acd-promo-messages {
    grid-template-columns: 1fr;
  }
  .acd-promo-cards-row {
    flex-direction: column;
  }
  .acd-promo-mini-card {
    width: 100%;
  }
  .spec-modal-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}


/* =================================================================
   BREADCRUMBS & SINGLE POST STYLING (CHUYÊN BIỆT NÔNG CƠ)
   ================================================================= */
.acd-trust-grid.trust-grid-two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 760px;
  margin: 0 auto;
}

.acd-breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 12.5px;
}
.acd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.acd-breadcrumb a {
  color: var(--primary-deep);
  text-decoration: none;
  font-weight: 600;
}
.acd-breadcrumb a:hover { color: var(--primary); }
.acd-breadcrumb .sep { color: #cbd5e1; }
.acd-breadcrumb .current { color: var(--dark); font-weight: 700; }

.acd-single-article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 35px;
}
.acd-single-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
}
.acd-single-cat {
  display: inline-block;
  background: #f0fdf4;
  color: var(--primary);
  border: 1px solid #bbf7d0;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.acd-single-title {
  font-size: 28px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 12px;
}
.acd-single-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.acd-single-content {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}
.acd-single-content p {
  margin-bottom: 16px;
}
.acd-single-content h2 {
  font-size: 21px;
  font-weight: 800;
  color: #14532d;
  border-left: 4px solid var(--primary);
  padding-left: 12px;
  margin: 30px 0 14px;
}
.acd-single-content h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 22px 0 10px;
}
.acd-single-content ul, .acd-single-content ol {
  margin-bottom: 18px;
  padding-left: 24px;
}
.acd-single-content li {
  margin-bottom: 8px;
}
.acd-single-content .lead {
  font-size: 16px;
  font-weight: 500;
  background: #f8fafc;
  border-left: 4px solid var(--primary);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 22px;
}
.article-product-recommend {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 16px;
  margin: 24px 0;
}
.article-product-recommend h4 {
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 6px;
}

.acd-article-cta-box {
  background: linear-gradient(135deg, #14532d 0%, #15803d 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-box-left {
  width: 100%;
}
.cta-box-left h3 {
  font-size: 18px;
  font-weight: 800;
  color: #fef08a;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cta-commit-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 8px 0 0 !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cta-commit-list li {
  font-size: 13.5px;
  color: #f0fdf4;
  display: flex;
  align-items: baseline;
  gap: 9px;
  line-height: 1.45;
  margin-bottom: 0 !important;
}
.cta-commit-list li i {
  color: #fef08a;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 3px;
}
.cta-commit-list li strong {
  color: #ffffff;
  font-weight: 800;
}
.cta-box-left p {
  font-size: 13px;
  color: #dcfce7;
  line-height: 1.5;
  margin: 0;
}
.cta-box-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}
.cta-btn-action {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 8px 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  min-width: 0;
}
.cta-btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  filter: brightness(1.05);
}
.cta-btn-zalo {
  background: #0068ff;
}
.cta-btn-mess {
  background: #0084ff;
}
.cta-btn-call {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}
.cta-btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}
.cta-btn-icon.cta-icon-zalo {
  color: #0068ff;
}
.cta-btn-icon.cta-icon-zalo .zalo-txt {
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: -0.4px;
  line-height: 1;
}
.cta-btn-icon.cta-icon-mess {
  color: #0084ff;
  font-size: 18px;
}
.cta-btn-icon.cta-icon-call {
  color: #ea580c;
  font-size: 15px;
}
.cta-btn-action .btn-lines {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
}
.cta-btn-action .btn-lines strong {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff !important;
  display: block;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cta-btn-action .btn-lines small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 500;
  display: block;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .cta-box-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .cta-btn-action {
    min-height: 52px;
    padding: 10px 14px;
    gap: 12px;
  }
  .cta-btn-icon {
    width: 38px;
    height: 38px;
  }
  .cta-btn-icon.cta-icon-zalo .zalo-txt {
    font-size: 11.5px;
  }
  .cta-btn-icon.cta-icon-mess {
    font-size: 20px;
  }
  .cta-btn-icon.cta-icon-call {
    font-size: 17px;
  }
  .cta-btn-action .btn-lines strong {
    font-size: 15px;
  }
  .cta-btn-action .btn-lines small {
    font-size: 11.5px;
  }
}
.problem-link-text {
  font-size: 11.5px;
  font-weight: 800;
  color: #0068ff;
  margin-top: 4px;
  display: inline-block;
}
.section-view-all {
  font-size: 13px;
  font-weight: 800;
  color: #0068ff;
  text-decoration: none;
}
.section-view-all:hover { text-decoration: underline; }


/* =================================================================
   PRODUCT SINGLE TOP BAR & SPECS BOX STYLING
   ================================================================= */
.single-product-top-bar {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 18px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.single-price-box {
  display: flex;
  flex-direction: column;
}
.price-lbl {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
}
.price-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
}
.single-top-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-single-top-zalo {
  background: #0068ff;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 104, 255, 0.25);
  transition: transform 0.15s;
}
.btn-single-top-zalo:hover { transform: translateY(-1px); }

.btn-single-top-mess {
  background: #0084ff;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 132, 255, 0.25);
  transition: transform 0.15s;
}
.btn-single-top-mess:hover { transform: translateY(-1px); }

.btn-single-top-call {
  background: var(--primary);
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
  transition: transform 0.15s;
}
.btn-single-top-call:hover { transform: translateY(-1px); }

/* KHUNG THÔNG BÁO QUY CÁCH SỈ & SỐ LƯỢNG TỐI THIỂU (MOQ) - 1 CỘT DUY NHẤT, NỘI DUNG XUỐNG HÀNG */
.single-moq-alert {
  background: #fffbeb;
  border: 1.5px dashed #f59e0b;
  border-radius: 10px;
  padding: 14px 18px;
  margin: -10px 0 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.1);
  width: 100%;
}
.moq-alert-badge {
  background: #f59e0b;
  color: #ffffff;
  font-weight: 800;
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.moq-alert-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.moq-alert-content strong {
  font-size: 15.5px;
  font-weight: 800;
  color: #b45309;
  line-height: 1.45;
}
.moq-alert-content span {
  font-size: 12.5px;
  color: #78350f;
  line-height: 1.45;
}

/* CHIP HIỂN THỊ QUY ĐỊNH BÁN SỈ / SỐ LƯỢNG TỐI THIỂU Ở THẺ SẢN PHẨM */
.product-moq-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 6px;
  width: fit-content;
  max-width: 100%;
}
.product-moq-chip i {
  color: #d97706;
  font-size: 11px;
  flex-shrink: 0;
}

/* THÔNG BÁO TOAST TỰ ĐỘNG SAO CHÉP KHI BẤM CHAT */
.mmdn-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-25px);
  background: #0f172a;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  z-index: 10000000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 90vw;
  width: max-content;
  border: 1px solid rgba(255,255,255,0.18);
}
.mmdn-toast strong {
  color: #fef08a;
  text-decoration: underline;
}
.mmdn-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.product-specs-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 12px 0 22px;
}
.product-specs-box ul {
  list-style: none;
  padding-left: 0 !important;
  margin-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.product-specs-box li {
  font-size: 14.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0 !important;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-compat-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-left: 4px solid #0284c7;
  border-radius: 0 8px 8px 0;
  padding: 14px 20px;
  margin: 12px 0 22px;
}
.product-compat-box p {
  color: #0369a1;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 0 !important;
  line-height: 1.5;
}

.product-tip-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #d97706;
  border-radius: 0 8px 8px 0;
  padding: 14px 20px;
  margin: 12px 0 22px;
}
.product-tip-box p {
  color: #92400e;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 0 !important;
  line-height: 1.55;
}

.product-commit-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #16a34a;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 12px 0 22px;
}
.product-commit-box ul {
  list-style: none;
  padding-left: 0 !important;
  margin-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.product-commit-box li {
  font-size: 14.5px;
  color: #14532d;
  margin-bottom: 0 !important;
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.5;
}
.product-commit-box li strong {
  color: #15803d;
  font-weight: 800;
}

/* =================================================================
   PHONG PHÁT E-COMMERCE FULL-WIDTH STYLING (MODERN & SPACIOUS)
   ================================================================= */
.acd-main-fullwidth {
  width: 100%;
  max-width: 100%;
}

/* 1. Hero 2 Cột 50/50 Sản Phẩm */
.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
  gap: 28px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 30px;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .product-detail-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
  }
}

/* Gallery Ảnh Bên Trái */
.product-gallery-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.product-main-image-wrap {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
  padding: 16px;
}
@media (max-width: 640px) {
  .product-main-image-wrap {
    height: 280px;
  }
}
.product-hero-img {
  max-height: 370px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.product-main-image-wrap:hover .product-hero-img {
  transform: scale(1.04);
}
.product-hero-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 5rem;
  color: #94a3b8;
}
.product-badge-float {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #1d4ed8;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 2;
}

/* 3 Cam Kết Vàng Dưới Ảnh (Phong Phát Style) */
.product-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
@media (max-width: 768px) {
  .product-trust-strip {
    display: none !important;
  }
}
.trust-mini-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: all 0.2s;
}
.trust-mini-item:hover {
  background: #f0fdf4;
  border-color: #86efac;
}
.trust-mini-icon {
  font-size: 17px;
  color: #15803d;
  margin-bottom: 2px;
}
.trust-mini-text strong {
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
  display: block;
  line-height: 1.3;
}
.trust-mini-text span {
  font-size: 10.5px;
  color: #64748b;
  display: block;
  line-height: 1.3;
}

/* Cột Thông Tin Bên Phải */
.product-info-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.product-cat-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.product-cat-tag {
  font-size: 12px;
  font-weight: 600;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 3px 8px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.product-title-large {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 8px;
}
@media (max-width: 640px) {
  .product-title-large {
    font-size: 20px;
  }
}
.product-meta-row {
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.product-meta-row .stock-status {
  color: #16a34a;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.product-meta-row .sep {
  color: #cbd5e1;
}

/* Khung Giá Phong Phát */
.product-price-hero {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
.price-main-number {
  font-size: 30px;
  font-weight: 900;
  color: #dc2626;
  letter-spacing: -0.5px;
  line-height: 1;
}
.price-ship-badge {
  font-size: 12px;
  font-weight: 700;
  color: #ea580c;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Thông số tóm tắt (Bullet Points) */
.product-quick-specs {
  margin-bottom: 20px;
  background: #fafaf9;
  border-radius: 8px;
  padding: 12px 14px;
  border: 1px solid #f5f5f4;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
.specs-title {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.specs-list li {
  font-size: 13.5px;
  color: #475569;
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.45;
}
.specs-list li i {
  color: #15803d;
  font-size: 7px;
  position: relative;
  top: -2px;
}

/* Bộ nút hành động lớn (Phong Phát Call-to-action) */
.product-action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 5px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
@media (max-width: 768px) {
  .product-action-grid {
    display: none !important;
  }
}
.btn-product-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
.btn-product-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.btn-product-hero.zalo {
  background: #0068ff;
}
.btn-product-hero.call {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}
.btn-product-hero.mess {
  background: #0084ff;
}
.btn-hero-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.btn-hero-text strong {
  font-size: 14.5px;
  font-weight: 800;
  display: block;
  letter-spacing: -0.2px;
}
.btn-hero-text small {
  font-size: 11.5px;
  opacity: 0.92;
  display: block;
}

/* 2. Khối Thường Mua Cùng Nhau (Cross-sell) */
.cross-sell-section {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 22px;
  margin-bottom: 30px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.cross-sell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 12px;
}
.cs-header-left h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}
.cs-header-left p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}
.cs-consult-combo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  color: #15803d;
  border: 1.5px solid #86efac;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
}
.cs-consult-combo-btn:hover {
  background: #15803d;
  color: #ffffff;
  border-color: #15803d;
}
.cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
@media (max-width: 640px) {
  .cross-sell-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .cs-consult-combo-btn {
    width: 100%;
    justify-content: center;
  }
  .cross-sell-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.cross-sell-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease-in-out;
  position: relative;
}
.cross-sell-card:hover {
  background: #ffffff;
  border-color: #15803d;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.08);
  transform: translateY(-2px);
}
.cs-thumb-box {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cs-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #15803d;
  font-size: 18px;
  background: #f0fdf4;
}
.cs-info {
  flex: 1;
  min-width: 0;
}
.cs-info strong {
  font-size: 13px;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 700;
  line-height: 1.35;
}
.cs-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 3px;
}
.cs-price {
  font-size: 13px;
  font-weight: 800;
  color: #dc2626;
}
.cs-ship-tag {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}
.cs-view-btn {
  color: #cbd5e1;
  font-size: 12px;
  transition: all 0.2s;
  padding-left: 4px;
}
.cross-sell-card:hover .cs-view-btn {
  color: #15803d;
  transform: translateX(3px);
}

/* 3. Khối Bài Viết Chi Tiết Full-Width */
.product-full-content-box {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 30px;
  margin-bottom: 35px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
@media (max-width: 640px) {
  .product-full-content-box {
    padding: 16px;
  }
}
.content-box-header {
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.content-box-header h2 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

/* =================================================================
   4. CHÂN TRANG PHONG PHÁT E-COMMERCE (FULL-WIDTH LUXURY FOOTER)
   ================================================================= */
.phongphat-footer {
  background: #0f172a;
  color: #f1f5f9;
  margin-top: 50px;
  border-top: 4px solid #15803d;
}
.footer-trust-strip {
  background: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}
.footer-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 860px) {
  .footer-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .footer-trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.footer-trust-col {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ft-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.ft-text strong {
  display: block;
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.3;
}
.ft-text span {
  display: block;
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.3;
}
.footer-main-content {
  padding: 40px 0 35px;
}
.footer-cols-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 30px;
}
@media (max-width: 960px) {
  .footer-cols-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
}
@media (max-width: 580px) {
  .footer-cols-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-brand-logo {
  color: #22c55e;
  font-size: 24px;
}
.footer-brand-name {
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
}
.footer-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 8px;
  line-height: 1.45;
}
.footer-contact-row i {
  color: #22c55e;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact-row a {
  color: #f97316;
  font-weight: 700;
  text-decoration: none;
}
.footer-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 8px;
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: #22c55e;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links li a {
  color: #94a3b8;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.15s, padding-left 0.15s;
  display: inline-block;
}
.footer-links li a:hover {
  color: #4ade80;
  padding-left: 5px;
}
.footer-social-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ft-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none;
  transition: opacity 0.2s;
}
.ft-btn:hover {
  opacity: 0.9;
}
.ft-btn.ft-zalo { background: #0068ff; }
.ft-btn.ft-mess { background: #0084ff; }
.ft-btn.ft-call { background: #ea580c; }

.footer-copyright {
  background: #090e1a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 0;
  font-size: 12.5px;
  color: #64748b;
}
.copyright-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 768px) {
  .copyright-inner {
    flex-direction: column;
    text-align: center;
  }
  .phongphat-footer {
    padding-bottom: 60px; /* chừa khoảng trống cho bottom nav mobile */
  }
}

/* ==========================================================================
   15. SEO INTERNAL LINKS & IN-CONTENT FIGURE IMAGE (Chuẩn SEO & WebP)
   ========================================================================== */
a.mmdn-interlink {
  color: #15803d !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1.5px !important;
  text-underline-offset: 3px !important;
  transition: all 0.2s ease !important;
  padding: 1px 3px;
  border-radius: 3px;
}
a.mmdn-interlink:hover {
  color: #047857 !important;
  background-color: #ecfdf5 !important;
  text-decoration: underline !important;
}

/* In-Content Image Figure */
.mmdn-content-figure {
  margin: 32px auto !important;
  text-align: center;
  max-width: 640px;
}
.mmdn-content-figure img {
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  display: block !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  height: auto !important;
  border: 1px solid #e2e8f0 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mmdn-content-figure img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}
.mmdn-content-figure .mmdn-figcaption {
  font-size: 13px !important;
  color: #64748b !important;
  margin-top: 10px !important;
  font-style: italic !important;
  line-height: 1.5 !important;
  display: block;
}
