/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}




/* ========================================================
   LOẠI BỎ HOÀN TOÀN VIỀN HỒNG TRÊN TABS TRANG SẢN PHẨM (OVERRIDE)
   ======================================================== */
.woocommerce-tabs.tabs-khung-cheo .tab-panels,
.woocommerce-tabs .tab-panels,
.woocommerce-tabs .woocommerce-Tabs-panel,
.woocommerce-tabs #tab-description,
.woocommerce-tabs #tab-additional_information,
.woocommerce-tabs .entry-content,
div.woocommerce-tabs.tabs-khung-cheo .tab-panels,
div.woocommerce-tabs .tab-panels {
  border: 1px solid #e2e8f0 !important;
  border-top: none !important;
  border-image: none !important;
  box-shadow: none !important;
  background: #ffffff !important;
}

.woocommerce-tabs.tabs-khung-cheo .nav > li > a,
.woocommerce-tabs ul.wc-tabs > li > a,
ul.woocommerce-tabs.tabs-khung-cheo .nav > li > a,
.woocommerce-tabs.tabs-khung-cheo ul.wc-tabs > li > a {
  border: 1px solid #e2e8f0 !important;
  border-image: none !important;
  background: #f8fafc !important;
  color: #475569 !important;
  box-shadow: none !important;
  transform: none !important;
}

.woocommerce-tabs.tabs-khung-cheo .nav > li.active > a,
.woocommerce-tabs ul.wc-tabs > li.active > a,
ul.woocommerce-tabs.tabs-khung-cheo .nav > li.active > a,
.woocommerce-tabs.tabs-khung-cheo ul.wc-tabs > li.active > a {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #ffffff !important;
  border-image: none !important;
  color: #1e293b !important;
  box-shadow: none !important;
  transform: none !important;
}


.woocommerce-tabs,
.woocommerce-tabs .tab-panels,
.woocommerce-tabs .woocommerce-Tabs-panel {
    border: 1px solid #e2e8f0 !important;
    border-image: none !important;
    box-shadow: none !important;
}


/* ========================================================
   BẢNG THÔNG SỐ KỸ THUẬT SẢN PHẨM (CHUẨN HỢP THÀNH)
   ======================================================== */
.ht-product-specs {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  margin: 15px 0 20px 0;
  transition: all 0.3s ease;
}

.ht-product-specs:hover {
  box-shadow: 0 8px 24px -2px rgba(15, 23, 42, 0.07);
  border-color: #e2e8f0;
}

.ht-specs-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #f1f5f9;
}

.ht-specs-table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 !important;
  border: none !important;
}

.ht-specs-table tbody tr {
  border-bottom: 1px solid #f1f5f9 !important;
  transition: background-color 0.2s ease;
}

.ht-specs-table tbody tr:last-child {
  border-bottom: none !important;
}

.ht-specs-table tbody tr:hover {
  background-color: #fafbfd;
}

.ht-specs-table td.spec-label {
  width: 36%;
  padding: 8px 12px 8px 0 !important;
  color: #64748b !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  letter-spacing: 0.2px;
  vertical-align: middle !important;
  border: none !important;
  line-height: 1.4 !important;
}

.ht-specs-table td.spec-value {
  width: 64%;
  padding: 8px 0 8px 10px !important;
  color: #0f172a !important;
  font-weight: 500 !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  vertical-align: middle !important;
  border: none !important;
}

/* Chi tiết SEO bài viết trong tab mô tả */
.hopthanh-product-content {
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
}

.hopthanh-product-content .lead {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: #1e293b;
  margin-bottom: 24px;
  background: #f8fafc;
  padding: 18px 22px;
  border-radius: 8px;
  border-left: 4px solid #10b981;
}

.hopthanh-product-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 32px 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hopthanh-product-content h2::before {
  content: '';
  width: 4px;
  height: 18px;
  background: #10b981;
  border-radius: 2px;
  display: inline-block;
}

.hopthanh-product-content h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: #1e293b;
  margin: 20px 0 10px 0;
}

.hopthanh-product-content .specs-bullet-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 22px 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.hopthanh-product-content .specs-bullet-list li {
  padding: 10px 16px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  font-size: 14px;
}

.hopthanh-product-content .specs-bullet-list li:last-child {
  border-bottom: none;
}

.hopthanh-product-content .specs-bullet-list li strong {
  min-width: 180px;
  color: #475569;
  font-weight: 600;
}

.hopthanh-product-content .faq-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 12px;
}

.hopthanh-product-content .faq-q {
  font-weight: 700;
  color: #0f172a;
  font-size: 14.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hopthanh-product-content .company-info-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #a7f3d0;
  border-left: 4px solid #10b981;
  padding: 18px 22px;
  border-radius: 8px;
  margin-top: 30px;
}
