/* Header CFC theo số đo của header Catbox (đo trực tiếp trên catbox.vn): phông Be Vietnam Pro, cỡ chữ, khoảng cách, độ dày.
 * Màu giữ theo thương hiệu CFC (cam, nâu). Chỉ áp cho màn hình từ 768px trở lên; bản điện thoại giữ nguyên. */
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-vietnamese-400-normal.woff2') format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-vietnamese-500-normal.woff2') format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-vietnamese-600-normal.woff2') format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-vietnamese-700-normal.woff2') format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 800; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-vietnamese-800-normal.woff2') format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-weight: 800; font-style: normal; font-display: swap;
  src: url('/static/fonts/be-vietnam-pro-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

header[data-header-drop] { font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
header[data-header-drop] .mega-menu-wrapper, header[data-header-drop] .mega-menu-wrapper * { font-family: inherit; }

@media (min-width: 768px) {
  /* Thanh trên: cao 64px + viền 1px, nền trắng */
  header[data-header-drop] .cfc-top { height: 65px; border-bottom: 1px solid #e4e4e7; background: #fff; }
  header[data-header-drop] .cfc-wrap { max-width: 1280px; width: 100%; margin-inline: auto; padding-inline: 24px; gap: 16px; }
  /* Mỗi khối header nằm trên lưới 12 cột để kéo thả được trong Sửa trực tiếp (vị trí lưu ở cài đặt hd_layout) */
  header[data-header-drop] .cfc-top .cfc-wrap,
  header[data-header-drop] .cfc-navbar .cfc-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; align-items: center; justify-content: normal; }
  header[data-header-drop] .cfc-topright, header[data-header-drop] .cfc-navleft { display: contents; }
  header[data-header-drop] .cfc-logo { justify-self: start; }
  header[data-header-drop] .cfc-hotline { justify-self: end; }
  header[data-header-drop] .cfc-social { justify-self: end; }
  header[data-header-drop] .cfc-prodwrap { align-self: stretch; min-width: 0; }
  header[data-header-drop] .cfc-prodwrap .cfc-prod { width: 100%; min-width: 0; }
  header[data-header-drop] .cfc-nav { align-self: stretch; margin-left: 0; min-width: 0; }
  header[data-header-drop] .cfc-search { justify-self: end; width: 100%; max-width: 298px; }
  header[data-header-drop] .cfc-search input { flex: 1; width: auto; min-width: 0; }
  /* Logo cao 44px như logo vuông của Catbox */
  header[data-header-drop] .cfc-logo { gap: 0; }
  header[data-header-drop] .cfc-logo img { height: 44px; max-height: 44px; width: auto; }
  /* Nút hotline: cao 38px, chữ 14,2px đậm, giãn chữ 0,01em, bo tròn hoàn toàn, đổ bóng nhẹ */
  header[data-header-drop] .cfc-hotline { height: 38px; padding: 0 18px; gap: 8px; font-size: 14.2px; font-weight: 700; letter-spacing: .01em; line-height: 1.55; box-shadow: 0 4px 10px rgba(0, 0, 0, .14); }
  header[data-header-drop] .cfc-hotline:hover { transform: none; box-shadow: 0 4px 10px rgba(0, 0, 0, .14); }
  header[data-header-drop] .cfc-hotline svg { width: 17px; height: 17px; }
  /* Mạng xã hội: nút tròn 34px, biểu tượng 20px, cách nhau 4px, không nền */
  header[data-header-drop] .cfc-social { gap: 4px; }
  header[data-header-drop] .cfc-social a { width: 34px; height: 34px; background: transparent; color: #4a4e56; }
  header[data-header-drop] .cfc-social a svg { width: 20px; height: 20px; }
  header[data-header-drop] .cfc-social a:hover { background: #f5f5f6; color: #0b0b0c; }

  /* Thanh menu: cao 42px, không đổ bóng */
  header[data-header-drop] .cfc-navbar { box-shadow: none; }
  header[data-header-drop] .cfc-navbar .cfc-wrap { height: 42px; }
  /* Nút Sản phẩm: chữ 11px đậm, hoa, giãn 0,04em, đệm 16px, rộng tối thiểu 170px */
  header[data-header-drop] .cfc-prod { width: auto; min-width: 0; padding: 0 16px; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 1.55; }
  header[data-header-drop] .cfc-prod > div { gap: 8px; }
  header[data-header-drop] .cfc-prod svg { width: 16px; height: 16px; }
  header[data-header-drop] .cfc-prod > svg { width: 14px; height: 14px; }
  /* Các mục menu: chữ 11px đậm 600, hoa, giãn 0,03em, đệm 14px, cách nhau 2px; mục đang xem gạch chân dày 3px */
  header[data-header-drop] .cfc-nav { gap: 2px; margin-left: 8px; }
  header[data-header-drop] .cfc-nav > a { padding: 0 14px; font-size: 11px; font-weight: 600; letter-spacing: .03em; line-height: 1.55; }
  header[data-header-drop] .cfc-nav > a:hover { background: rgba(255, 255, 255, .12); }
  header[data-header-drop] .cfc-nav > a.text-primary { box-shadow: inset 0 -3px 0 var(--color-primary, #e67e22); }
  /* Ô tìm kiếm vừa chiều cao thanh menu */
  header[data-header-drop] .cfc-search { height: 30px; }
  header[data-header-drop] .cfc-search input { font-size: 12px; }
  header[data-header-drop] .cfc-search button { padding: 0 12px; }
}

/* Tiêu đề cấp 4 trong bài viết, sản phẩm, chính sách */
.prose-catbox h4 { margin: 20px 0 6px; font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--color-ink, #191c1d); }
