/* Nhà Máy Mỹ Phẩm Hải Đăng (giacongmypham) — trang chủ theo mockup giacongmypham-home/mockups/home-desktop-v1.png (719px -> 1440 = x2.003) */
:root { --hdg-b: #27a8e0; --hdg-b2: #1690c8; --hdg-nv: #1d3f72; --hdg-ink: #111827; --hdg-mut: #4b5563; --hdg-line: #e3e9ef; --hdg-bl: #edf8fe;
  --hdg-f: 'Be Vietnam Pro', 'Inter', Arial, sans-serif; --hdg-fh: 'Plus Jakarta Sans', 'Be Vietnam Pro', Arial, sans-serif; }
body, p, li, a, span, div, input, select, textarea, button, label, .nav > li > a { font-family: var(--hdg-f) !important; }
h1, h2, h3, h4, h5, h6 { font-family: var(--hdg-fh) !important; }
h1 a, h2 a, h3 a, h4 a { font-family: inherit !important; }
body { background: #fff; }
#main, .home #main { background-color: #fff !important; background-image: none !important; }
.hdg-ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: 0 0 auto; }
#button-contact-vr, .button-contact-vr, #zalo-vr, #phone-vr, .absolute-footer, .float-contact, .hotline-phone-ring-wrap, #header-contact { display: none !important; }
img[src=""] { visibility: hidden; }

/* ---------- header ---------- */
#top-bar { background: var(--hdg-b) !important; }
#top-bar .hdg-tb { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 13.5px !important; white-space: nowrap; }
#top-bar .hdg-tb a, #top-bar .hdg-tb span { color: #fff !important; font-size: 13.5px !important; }
#top-bar .hdg-tb i { font-style: normal; opacity: .85; }
#header .header-main { background: #fff !important; border-bottom: 0; }
#header .header-wrapper { box-shadow: 0 1px 0 #edf1f5 !important; border-bottom: 0 !important; }
#logo { width: auto !important; margin: 0 52px 0 0 !important; top: 0 !important; }
#logo img { display: none !important; }
#header #logo a { display: block; position: relative; padding-left: 66px; font-size: 29px !important; line-height: 1.1 !important; font-weight: 800 !important; color: #1679b9 !important; text-transform: uppercase !important; letter-spacing: .01em; top: 0; margin: 0; white-space: nowrap; font-family: var(--hdg-fh) !important; }
#header #logo a::before { content: ""; position: absolute; left: 0; top: 50%; width: 56px; height: 66px; margin-top: -33px; background: url("icons/logo.png") center/contain no-repeat; }
#header #logo a::after { content: "Nhà Máy Mỹ Phẩm"; position: absolute; left: 66px; top: 0; font-size: 16px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--hdg-b); white-space: nowrap; }
#header #logo a { padding-top: 20px; }
#header .header-main .flex-left { flex: 1 1 auto; }
#header .header-nav-main { flex-wrap: nowrap; align-items: center; }
#header .flex-left .header-nav-main > li { margin: 0 16px !important; }
#header .flex-left .header-nav-main > li > a { font-size: 14.5px !important; font-weight: 500 !important; color: #23262d !important; text-transform: none !important; padding: 0 !important; line-height: 40px !important; white-space: nowrap; background: transparent !important; flex-wrap: nowrap !important; }
#header .header-nav-main > li > a::after, #header .header-nav-main > li > a::before { display: none !important; }
#header .flex-left .header-nav-main > li > a:hover, #header .flex-left .header-nav-main > li.current-menu-item > a { color: var(--hdg-b) !important; }
#header .flex-right .header-nav-main > li { margin: 0 !important; }
#header .header-button-1 .button { height: 47px; min-height: 47px; width: 211px; padding: 0 !important; margin: 0 !important; display: inline-flex; align-items: center; justify-content: center; border-radius: 5px !important; background: var(--hdg-b) !important; border: 0 !important; color: #fff !important; font-size: 15px !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0; line-height: 1 !important; box-shadow: none !important; }
#header .header-button-1 .button span { font-size: inherit !important; }
#header .header-button-1 .button:hover { background: var(--hdg-b2) !important; }
#header .mobile-nav i, #header .mobile-nav .icon-menu { color: var(--hdg-nv) !important; }
#header .nav-icon a, #header .mobile-nav .nav-icon a { background: transparent !important; color: var(--hdg-nv) !important; }

/* ---------- chung ---------- */
.section.hdg-sec, .section.hdg-hero, .section.hdg-footer { padding: 0 !important; }
.hdg-sec .col, .hdg-hero .col, .hdg-footer .col { padding-bottom: 0 !important; }
.hdg-sec p:not([class]), .hdg-footer p:not([class]), .hdg-hero p:not([class]) { display: contents; }
.hdg-h2 { font-size: 38.5px; line-height: 1.22; font-weight: 700; color: var(--hdg-ink); margin: 0; letter-spacing: -.015em; }
.hdg-c { text-align: center; }
.hdg-sub { font-size: 16.5px; color: var(--hdg-mut); margin-top: 6px; }
.hdg-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdg-head h2 { flex: 0 1 auto; width: fit-content; min-width: 0; }
.hdg-all { flex: 0 0 auto; color: var(--hdg-b) !important; font-size: 17px; font-weight: 600; display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.hdg-all .hdg-ic { font-size: 20px; }
.hdg-sec h3 a { color: inherit !important; }
.hdg-btn-b, .hdg-btn-o { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 47px; border-radius: 5px; font-size: 15.5px; font-weight: 600; }
.hdg-btn-b { width: 202px; background: var(--hdg-b); color: #fff !important; } .hdg-btn-b:hover { background: var(--hdg-b2); }
.hdg-btn-o { width: 203px; border: 1.5px solid #1f2937; color: #111 !important; background: #fff; } .hdg-btn-o:hover { border-color: var(--hdg-b); color: var(--hdg-b) !important; }

/* ---------- hero ---------- */
.section.hdg-hero { min-height: 575px; align-items: flex-start !important; }
.hdg-hero .section-bg img.bg { object-position: 100% 50%; }
.hdg-hero-in { position: relative; z-index: 2; padding: 64px 0 40px 33px; }
.hdg-h1 { font-size: 57px; line-height: 1.15; font-weight: 800; color: #0b0f19 !important; margin: 0; letter-spacing: -.02em; }
.hdg-hero-s { font-size: 18px; line-height: 1.6; color: #374151; margin-top: 14px; }
.hdg-checks { list-style: none; margin: 16px 0 0; padding: 0; }
.hdg-checks li { position: relative; padding-left: 45px; margin: 0 0 9px !important; font-size: 17px; line-height: 29px; color: #374151; }
.hdg-checks li::before { content: ""; position: absolute; left: 0; top: 0; width: 29px; height: 29px; border-radius: 50%; background: var(--hdg-b) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 3.6 3.6 7.4-8'/%3E%3C/svg%3E") center/17px no-repeat; }
.hdg-btns { display: flex; gap: 22px; margin-top: 24px; }

/* ---------- câu chuyện ---------- */
.section.hdg-story-sec { padding: 34px 0 52px !important; }
.hdg-story { display: grid; grid-template-columns: minmax(0, 633fr) minmax(0, 667fr); gap: 50px; align-items: center; }
.hdg-story > * { min-width: 0; }
.hdg-story-img { position: relative; display: block; height: 346px; border-radius: 6px; overflow: hidden; background: #e6eef5; margin-left: 18px; }
.hdg-story-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hdg-play { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; background: var(--hdg-b); border: 4px solid #fff; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 40px; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.hdg-play .hdg-ic { margin-left: 4px; }
.hdg-story-b .hdg-h2 { margin-bottom: 18px; }
.hdg-story-p { font-size: 17px; line-height: 1.65; color: #374151; margin-bottom: 14px; }
.hdg-btn-sm { width: 148px; height: 47px; margin-top: 10px; }

/* ---------- vì sao ---------- */
.section.hdg-why-sec { padding: 28px 0 32px !important; background-color: var(--hdg-bl) !important; }
.hdg-whys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.hdg-whys > * { min-width: 0; }
.hdg-why { position: relative; background: #fff; border-radius: 10px; margin-top: 62px; padding: 132px 14px 26px; text-align: center; box-shadow: 0 4px 16px rgba(39,168,224,.08); }
.hdg-why-img { position: absolute; left: 50%; top: -62px; width: 180px; height: 180px; margin-left: -90px; border-radius: 50%; overflow: hidden; background: #dbeaf3; box-shadow: 0 6px 18px rgba(17,24,39,.12); }
.hdg-why-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hdg-why h3 { font-size: 21px; line-height: 1.45; font-weight: 700; color: var(--hdg-ink); margin: 0 0 10px; }
.hdg-why h3 + div { font-size: 16px; line-height: 1.65; color: var(--hdg-mut); text-align: left; padding: 0 18px; }

/* ---------- danh mục gia công ---------- */
.section.hdg-cat-sec { padding: 34px 0 22px !important; }
.hdg-cat-sec .hdg-head { padding: 0 6px 0 22px; }
.hdg-tabs { display: flex; gap: 0; margin: 12px 0 0 22px; border-bottom: 1.5px solid var(--hdg-line); padding-left: 0; }
.hdg-tab { appearance: none; background: transparent !important; border: 0 !important; margin: 0 52px -1.5px 0 !important; padding: 10px 0 12px !important; font-size: 17px !important; font-weight: 500 !important; color: #3d4451 !important; text-transform: none !important; letter-spacing: 0 !important; line-height: 1.2 !important; min-height: 0 !important; border-bottom: 3px solid transparent !important; cursor: pointer; box-shadow: none !important; }
.hdg-tab.is-on { color: var(--hdg-b) !important; border-bottom-color: var(--hdg-b) !important; padding-left: 22px !important; padding-right: 22px !important; margin-left: -22px !important; margin-right: 30px !important; }
.hdg-pgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 22px; margin: 30px 0 0 22px; }
.hdg-pgrid > * { min-width: 0; }
.hdg-pc { display: flex; flex-direction: column; background: #fff; border: 1px solid #edf0f3; border-radius: 6px; padding: 8px 8px 0; box-shadow: 0 2px 10px rgba(17,24,39,.04); color: var(--hdg-ink) !important; transition: box-shadow .2s; }
.hdg-pc.is-off { display: none; }
.hdg-pc-img { display: block; height: 191px; background: #eceef1; border-radius: 3px; overflow: hidden; }
.hdg-pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hdg-pc-t { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 8px 4px; text-align: center; font-size: 16.5px; line-height: 1.3; font-weight: 500; color: #1f2937; }
.hdg-pc:hover { box-shadow: 0 8px 22px rgba(39,168,224,.16); }

/* ---------- quy trình ---------- */
.section.hdg-proc-sec { padding: 16px 0 26px !important; }
.hdg-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 0; margin-top: 16px; }
.hdg-steps > * { min-width: 0; }
.hdg-st { position: relative; text-align: center; padding: 0 10px; }
.hdg-st::before { content: ""; position: absolute; top: 18px; left: calc(50% + 34px); width: calc(100% - 68px); height: 2px; background: #cfe8f6; }
.hdg-st:nth-child(4n)::before { display: none; }
.hdg-st > b { position: relative; display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--hdg-b); color: #fff; font-size: 16px; font-weight: 700; align-items: center; justify-content: center; }
.hdg-st img { display: block; width: 54px; height: 54px; object-fit: contain; margin: 10px auto 6px; }
.hdg-st h3 { font-size: 18.5px; font-weight: 700; color: var(--hdg-ink); margin: 0 0 6px; }
.hdg-st h3 + div { font-size: 15px; line-height: 1.5; color: #6b7280; }

/* ---------- trọn gói + cộng đồng ---------- */
.section.hdg-duo-sec { padding: 26px 0 26px !important; background-color: #e8f5fd !important; }
.hdg-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hdg-duo > * { min-width: 0; }
.hdg-du { display: flex; align-items: center; gap: 33px; margin-left: -12px; }
.hdg-du + .hdg-du { border-left: 1.5px solid #c9e3f2; padding-left: 28px; gap: 34px; margin-left: 0; }
.hdg-du-img { flex: 0 0 325px; width: 325px; height: 290px; border-radius: 6px; overflow: hidden; background: #d6e9f4; }
.hdg-du + .hdg-du .hdg-du-img { flex-basis: 345px; width: 345px; }
.hdg-du-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hdg-du-b h2 { font-size: 31px; line-height: 1.3; font-weight: 700; color: var(--hdg-ink); margin: 0 0 14px; }
.hdg-du-b > div { font-size: 16px; line-height: 1.65; color: var(--hdg-mut); margin-bottom: 20px; }
.hdg-du .hdg-btn-sm { width: 168px; height: 46px; margin-top: 0; }
.hdg-du + .hdg-du .hdg-btn-sm { width: 165px; }

/* ---------- form ---------- */
.section.hdg-form-sec { padding: 30px 0 0 !important; }
.hdg-fw { display: grid; grid-template-columns: minmax(0, 764fr) minmax(0, 516fr); gap: 20px; margin-top: 18px; }
.hdg-fw > * { min-width: 0; }
.hdg-fcard { background: #fff; border: 1px solid var(--hdg-line); border-radius: 8px; padding: 26px 26px 26px 30px; box-shadow: 0 4px 16px rgba(17,24,39,.04); }
.hdg-f-img { display: block; height: 374px; border-radius: 6px; overflow: hidden; background: #e6eef5; }
.hdg-f-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hdg-cf7 .hdg-fg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.hdg-cf7 .hdg-fg > * { min-width: 0; }
.hdg-cf7 label { display: block; font-size: 14px; font-weight: 500; color: #374151; margin: 0; }
.hdg-cf7 label em { color: #e11d48; font-style: normal; }
.hdg-cf7 .wpcf7-form-control-wrap { display: block; margin-top: 7px; }
.hdg-cf7 input[type=text], .hdg-cf7 input[type=tel], .hdg-cf7 input[type=email], .hdg-cf7 input[type=number], .hdg-cf7 select, .hdg-cf7 textarea { width: 100%; height: 40px; margin: 0 !important; border: 1px solid #d5dbe3 !important; border-radius: 5px !important; box-shadow: none !important; font-size: 14px; padding: 0 16px; color: var(--hdg-ink); background-color: #fff; }
.hdg-cf7 textarea { height: 72px; min-height: 72px; padding: 10px 16px; resize: vertical; }
.hdg-cf7 .wpcf7-submit, .hdg-cf7 button[type=submit] { grid-column: 1 / -1; width: 100%; height: 46px; margin: 4px 0 0 !important; border: 0; border-radius: 5px; background: var(--hdg-b) !important; color: #fff !important; font-size: 16px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.hdg-cf7 .wpcf7-submit:hover { background: var(--hdg-b2) !important; }
.hdg-cf7 .wpcf7-spinner { position: absolute; right: 12px; margin: 0; }
.hdg-cf7 .wpcf7-response-output { margin: 10px 0 0 !important; font-size: 13.5px; }

/* ---------- tin tức ---------- */
.section.hdg-news-sec { padding: 40px 0 26px !important; }
.hdg-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 18px; }
.hdg-posts > * { min-width: 0; }
.hdg-po { background: #fff; border: 1px solid var(--hdg-line); border-radius: 6px; overflow: hidden; box-shadow: 0 2px 10px rgba(17,24,39,.04); }
.hdg-po-img { display: block; height: 182px; background: #e6eef5; overflow: hidden; }
.hdg-po-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hdg-po-b { padding: 16px 36px 18px; }
.hdg-po-t { font-size: 19px; line-height: 1.35; font-weight: 700; color: var(--hdg-ink); margin: 0 0 10px; min-height: 52px; }
.hdg-po-t a:hover { color: var(--hdg-b) !important; }
.hdg-po-e { font-size: 15.5px; line-height: 1.6; color: var(--hdg-mut); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 74px; }
.hdg-po-m { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--hdg-b) !important; font-size: 16px; font-weight: 600; }

/* ---------- footer ---------- */
#footer .section.hdg-footer { border-top: 0 !important; }
.section.hdg-footer { padding: 34px 0 30px !important; background-color: #f5f9fc !important; border-top: 1px solid var(--hdg-line); }
.section.hdg-fbar-sec { padding: 0 !important; background-color: var(--hdg-b) !important; border-top: 0; }
.hdg-ft { display: grid; grid-template-columns: minmax(0, 325fr) minmax(0, 377fr) minmax(0, 323fr) minmax(0, 275fr); }
.hdg-ft > * { min-width: 0; }
.hdg-ft-col { border-left: 1px solid #dfe7ee; padding-left: 54px; }
.hdg-ft-logo { display: inline-flex; align-items: center; gap: 12px; color: #1679b9 !important; padding-left: 28px; }
.hdg-ft-logo img { width: 58px; height: 66px; object-fit: contain; }
.hdg-ft-logo span { display: flex; flex-direction: column; font-family: var(--hdg-fh) !important; font-size: 26px; line-height: 1.05; font-weight: 800; text-transform: uppercase; color: #1679b9; }
.hdg-ft-logo small { font-size: 16px; font-weight: 600; text-transform: none; color: var(--hdg-b); margin-bottom: 4px; }
.hdg-ft-tag { font-size: 15.5px; line-height: 1.6; color: #4b5563; margin-top: 18px; padding-left: 28px; }
.hdg-ft-col h4 { font-size: 16.5px; font-weight: 700; color: var(--hdg-ink) !important; margin: 0 0 16px; text-transform: none; letter-spacing: 0; }
.hdg-ft-col > a { display: block; font-size: 15.5px; line-height: 1.4; color: #4b5563 !important; margin-bottom: 10px; }
.hdg-ft-col > a:hover { color: var(--hdg-b) !important; }
.hdg-ft-ct > div { display: flex; align-items: flex-start; gap: 18px; font-size: 15.5px; line-height: 1.55; color: #374151; margin-bottom: 10px; }
.hdg-ft-ct .hdg-ic { font-size: 20px; color: var(--hdg-b); margin-top: 2px; }
.hdg-ft-ct a { color: #374151 !important; }
.hdg-fbar { padding: 12px 0; text-align: center; font-size: 14.5px; color: #fff; }
.hdg-footer a[href^="mailto"] { overflow-wrap: anywhere; }

/* ---------- mobile ---------- */
@media (max-width: 849px) {
  #top-bar { display: none; }
  #header #logo a { padding-left: 40px; padding-top: 14px; font-size: 18px !important; }
  #header #logo a::before { width: 32px; height: 38px; margin-top: -19px; }
  #header #logo a::after { left: 40px; top: 0; font-size: 11.5px; }
  #logo { margin: 0 !important; }
  #header .header-inner > .show-for-medium.flex-left, #header .header-inner > .show-for-medium.flex-right { flex: 1 1 0; margin: 0 !important; }
  #header .header-inner > #logo { flex: 0 0 auto; }
  #header .header-inner > .show-for-medium.flex-right .mobile-nav { justify-content: flex-end; }
  #header .mobile-nav a.hdg-mcall { display: inline-flex !important; width: 40px; height: 40px; border-radius: 50%; background: var(--hdg-b); color: #fff !important; align-items: center; justify-content: center; font-size: 18px; padding: 0 !important; }
  .section.hdg-hero { min-height: 0; padding-top: 250px !important; background-color: #f2f9fd !important; }
  .section.hdg-hero .section-bg { top: 0; bottom: auto; height: 250px; }
  .section.hdg-hero .section-bg img.bg { object-position: 75% 40%; }
  .hdg-hero-in { padding: 24px 0 32px; }
  .hdg-h1 { font-size: 33px; } .hdg-hero-s { font-size: 16px; } .hdg-hero-s br, .hdg-story-p br, .hdg-du-b br { display: none; }
  .hdg-checks li { font-size: 15.5px; padding-left: 38px; } .hdg-checks li::before { width: 26px; height: 26px; }
  .hdg-btns { flex-direction: column; gap: 10px; } .hdg-btns a { width: 100%; height: 50px; }
  .hdg-h2 { font-size: 26px; }
  .hdg-head { flex-wrap: wrap; gap: 6px 16px; } .hdg-all { font-size: 15px; }
  .section.hdg-story-sec { padding: 28px 0 34px !important; }
  .hdg-story { grid-template-columns: minmax(0, 1fr); gap: 22px; } .hdg-story-img { margin-left: 0; height: 210px; }
  .hdg-story-p { font-size: 15.5px; }
  .hdg-whys { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 0; }
  .hdg-why { margin-top: 70px; padding: 100px 18px 22px; } .hdg-why-img { width: 140px; height: 140px; margin-left: -70px; top: -56px; }
  .hdg-why h3 br { display: none; }
  .hdg-cat-sec .hdg-head { padding: 0; }
  .hdg-tabs { margin-left: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .hdg-tab { margin-right: 22px !important; font-size: 15px !important; flex: 0 0 auto; }
  .hdg-tab.is-on { padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 22px !important; }
  .hdg-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; }
  .hdg-pc-img { height: 140px; } .hdg-pc-t { font-size: 14px; min-height: 46px; }
  .hdg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 8px; } .hdg-st::before { display: none; }
  .hdg-st h3 { font-size: 15px; } .hdg-st h3 + div { font-size: 13.5px; }
  .hdg-duo { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hdg-du, .hdg-du + .hdg-du { flex-direction: column; align-items: stretch; gap: 16px; border-left: 0; padding-left: 0; }
  .hdg-du-img, .hdg-du + .hdg-du .hdg-du-img { flex: none; width: 100%; height: 210px; }
  .hdg-du-b h2 { font-size: 24px; } .hdg-du-b h2 br { display: none; }
  .hdg-fw { grid-template-columns: minmax(0, 1fr); } .hdg-f-img { display: none; }
  .hdg-fcard { padding: 20px 16px; } .hdg-cf7 .hdg-fg { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hdg-posts { grid-template-columns: minmax(0, 1fr); gap: 18px; } .hdg-po-b { padding: 14px 16px 16px; } .hdg-po-t { min-height: 0; font-size: 17px; }
  .hdg-ft { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 16px; }
  .hdg-ft-brand, .hdg-ft-ct { grid-column: 1 / -1; }
  .hdg-ft-col { border-left: 0; padding-left: 0; } .hdg-ft-logo, .hdg-ft-tag { padding-left: 0; }
}

/* mid-fix */
@media (min-width: 850px) and (max-width: 1399px) {
  #logo { margin-right: 22px !important; }
  #header .flex-left .header-nav-main > li { margin: 0 8px !important; }
  #header .header-button-1 .button { width: 180px; font-size: 14px !important; }
  .hdg-du { gap: 30px; } .hdg-du + .hdg-du { padding-left: 30px; gap: 30px; } .hdg-du-img, .hdg-du + .hdg-du .hdg-du-img { flex-basis: 260px; width: 260px; }
  .hdg-du-b h2 { font-size: 26px; }
}
@media (min-width: 850px) and (max-width: 1199px) {
  #header #logo a { font-size: 21px !important; } #header #logo a::after { font-size: 13px; }
  .hdg-h1 { font-size: 44px; } .hdg-hero-in { padding-left: 0; }
  .hdg-hero .section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.95) 0, rgba(255,255,255,.8) 40%, rgba(255,255,255,0) 62%); }
  .hdg-why { padding: 120px 16px 22px; } .hdg-why-img { width: 150px; height: 150px; margin-left: -75px; } .hdg-why h3 { font-size: 17px; }
  .hdg-pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hdg-duo { grid-template-columns: minmax(0, 1fr); gap: 24px; } .hdg-du + .hdg-du { border-left: 0; padding-left: 0; }
  .hdg-po-b { padding: 14px 18px 16px; }
  .hdg-ft-col { padding-left: 24px; }
}
/* /mid-fix */
/* _midwidth: header Flatsome ở 850-1399px (laptop nhỏ/tablet ngang) — menu dựng theo mockup 1440 tràn phải; dùng chung mọi site */
@media (min-width: 850px) and (max-width: 1399px) {
  #header .header-nav-main > li, #header .header-bottom-nav > li { margin-left: 6px !important; margin-right: 6px !important; }
  #header .header-nav-main > li > a, #header .header-bottom-nav > li > a { font-size: 14px !important; }
  #header .header-search-form { max-width: 300px !important; width: 300px !important; margin-left: 20px !important; }
}
@media (min-width: 850px) and (max-width: 1199px) {
  #logo { width: auto !important; max-width: 210px !important; } #logo a { font-size: 21px !important; }
  #header .header-main .flex-right .header-button-1, #header .header-main .flex-right li.html, #header .header-search-form, #top-bar .flex-right { display: none !important; }
  #header .header-nav-main > li, #header .header-bottom-nav > li { margin-left: 3px !important; margin-right: 3px !important; }
  #header .header-nav-main > li > a, #header .header-bottom-nav > li > a { font-size: 13px !important; }
  #header .flex-col { min-width: 0; } #header .header-inner, #header .header-bottom .container { overflow: hidden; }
}
.col-inner a[href^="mailto"], .col-inner a[href^="tel"] { overflow-wrap: anywhere; }
