/* ==========================================================================
   Module: Certified Badge Section
   ========================================================================== */
.certified {
  background: #141414; /* Xám đậm giống header menu */
  border-top: 1px solid rgba(184, 146, 42, 0.2);
  border-bottom: 1px solid rgba(184, 146, 42, 0.2);
  padding-block: var(--space-6);
}

.certified__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.certified__logo img { 
  height: 50px; 
  width: auto; 
  object-fit: contain;
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.certified__divider {
  width: 1px;
  height: 32px;
  background: rgba(184, 146, 42, 0.3);
}

.certified__text {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-md);
  font-weight: var(--font-bold);
  color: var(--color-gold);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.certified__badges {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Gold Badge Style */
.badge--outline-gold {
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  background: transparent;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge--outline-gold:hover {
  background: var(--color-gold);
  color: var(--color-black);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184, 146, 42, 0.3);
}

@media (max-width: 991px) {
  .certified {
    padding-block: var(--space-4) !important;
  }
  .certified__divider { display: none; }
  .certified__inner { 
    gap: var(--space-3) !important; 
    flex-direction: column; 
    text-align: center; 
  }
  
  .certified__logo img {
    height: 40px !important; /* Thu nhỏ logo lại cho thanh ngang mỏng */
    margin-bottom: 2px !important;
  }

  .certified__text { 
    white-space: normal !important; 
    font-size: 0.8rem !important; /* Font nhỏ lại để không bị rớt dòng quá nhiều */
    letter-spacing: 0.5px !important;
    gap: 6px !important;
    justify-content: center !important;
    width: 90% !important;
    margin: 0 auto !important;
    line-height: 1.4 !important;
  }
  
  .certified__text svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
  }

  .certified__badges {
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
  }

  /* Ép gọn Badge viền vàng trên Mobile */
  .badge--outline-gold {
    padding: 4px 10px !important;
    font-size: 9px !important;
    flex: 0 0 auto !important;
  }
}
