/* Hoa Mây (shophoa) — trang trong theo mockup Astra 09-29 (giới thiệu, cửa hàng, sản phẩm, liên hệ). Biến/lớp hm-* từ hm-home.css. */
.hmi-page { background: var(--hm-cream); }
.hmi-wrap { max-width: 1380px; margin: 0 auto; padding: 0 15px; }
.hmi-crumb { font-size: 13.5px !important; color: var(--hm-muted) !important; margin: 12px 0 !important; } .hmi-crumb a { color: inherit !important; } .hmi-crumb b { color: var(--hm-pink); font-weight: 500; }
.hmi-k { color: var(--hm-green) !important; font-size: 13.5px !important; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px !important; display: flex; align-items: center; gap: 12px; }
.hmi-k::after { content: ""; width: 44px; height: 1px; background: currentColor; } .hmi-kd { color: var(--hm-muted) !important; }
.hmi-p { font-size: 15.5px !important; line-height: 1.7 !important; color: var(--hm-ink) !important; margin: 0 0 12px !important; }
.hmi-small { font-size: 13.5px !important; color: var(--hm-muted) !important; margin: 0 0 14px !important; }
.hmi-sub { text-align: center; font-size: 15px !important; color: var(--hm-muted) !important; margin: 0 0 20px !important; }
.hmi-head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 4px; }
.hmi-leaf { display: inline-block; width: 46px; height: 24px; flex: 0 0 46px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 24'%3E%3Cpath d='M2 12h40' stroke='%234E8A5C' stroke-width='1.5'/%3E%3Cg fill='%234E8A5C'%3E%3Cellipse cx='14' cy='7' rx='6' ry='2.6' transform='rotate(-30 14 7)'/%3E%3Cellipse cx='14' cy='17' rx='6' ry='2.6' transform='rotate(30 14 17)'/%3E%3Cellipse cx='26' cy='7' rx='6' ry='2.6' transform='rotate(-30 26 7)'/%3E%3Cellipse cx='26' cy='17' rx='6' ry='2.6' transform='rotate(30 26 17)'/%3E%3Cellipse cx='39' cy='12' rx='5' ry='2.4'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat; }
.hmi-leaf-r { transform: scaleX(-1); } .hmi-leaf-s { width: 28px; height: 22px; flex-basis: 28px; }
.hmi-h2l { font-size: 38px !important; margin-bottom: 14px !important; }
.hmi-h3 { font-family: "Playfair Display", serif !important; font-size: 24px !important; font-weight: 500 !important; color: var(--hm-ink) !important; margin: 18px 0 10px !important; }
/* hero */
.hmi-hero { position: relative; display: flex; align-items: center; height: 370px; padding: 0 60px; background-size: cover; background-position: right center; overflow: hidden; }
.hmi-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251,248,242,.95) 0%, rgba(251,248,242,.75) 38%, rgba(251,248,242,0) 60%); } .hmi-hero > * { position: relative; }
.hmi-htitle { font-size: 60px !important; color: var(--hm-green) !important; line-height: 1.1 !important; margin: 0 0 12px !important; }
.hmi-hlead { font-size: 18px !important; color: var(--hm-ink) !important; margin: 0 !important; }
.hmi-hnote { position: absolute !important; right: 4%; top: 22%; font-size: 26px !important; color: var(--hm-muted) !important; transform: rotate(-8deg); line-height: 1.2 !important; margin: 0 !important; }
.hmi-hero-c { height: 260px; } .hmi-hero-s { height: 220px; margin-top: 14px; } .hmi-hero-s .hmi-htitle, .hmi-hero-c .hmi-htitle { font-size: 50px !important; }
/* giới thiệu */
.hmi-story { display: grid; grid-template-columns: 44% 1fr; gap: 40px; align-items: center; }
.hmi-simg { position: relative; height: 480px; border-radius: 6px; background-size: cover; background-position: center; }
.hmi-simg p { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 8px; padding: 12px 18px; margin: 0 !important; font-family: "Playfair Display", serif; font-size: 18px; color: var(--hm-green); line-height: 1.2; }
.hmi-vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; }
.hmi-vals p { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; margin: 0 !important; background: #fff; border: 1px solid #ECE7DC; border-radius: 6px; padding: 26px 22px; font-size: 14.5px !important; color: var(--hm-muted) !important; line-height: 1.55 !important; }
.hmi-vals img { width: 62px; height: 62px; } .hmi-vals b { font-family: "Playfair Display", serif; font-size: 22px; font-weight: 500; color: var(--hm-ink); }
.hmi-band .section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251,238,240,.96) 0%, rgba(251,238,240,.75) 42%, rgba(251,238,240,0) 65%); }
.hmi-bt { font-size: 44px !important; color: var(--hm-red) !important; margin-bottom: 14px !important; line-height: 1.15 !important; }
.hmi-cc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hmi-cc p { display: flex; gap: 16px; align-items: flex-start; margin: 0 !important; padding: 0 16px; border-left: 1px solid #E3DDD0; } .hmi-cc p:first-child { border-left: 0; }
.hmi-cc i, .hmi-cl i { width: 62px; height: 62px; flex: 0 0 62px; border-radius: 50%; border: 1.5px solid var(--hm-green); display: flex; align-items: center; justify-content: center; }
.hmi-cc span, .hmi-cl span { display: flex; flex-direction: column; font-size: 13.5px; color: var(--hm-muted); gap: 2px; } .hmi-cc b, .hmi-cl b { color: var(--hm-ink); font-size: 16px; } .hmi-cc em { font-style: normal; font-size: 21px; font-weight: 700; color: var(--hm-green); }
.hmi-cc small { font-size: 12.5px; color: var(--hm-muted); }
.hmi-mi { display: block; width: 28px; height: 28px; background: var(--hm-green); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
/* liên hệ */
.hmi-cl p { display: flex; gap: 18px; align-items: center; margin: 0 0 14px !important; } .hmi-cl i { width: 52px; height: 52px; flex-basis: 52px; background: #EAF0E6; border: 0; } .hmi-cl a { color: var(--hm-ink) !important; }
.hmi-care { display: flex; gap: 14px; align-items: center; background: #EEF3EA; border-radius: 6px; padding: 14px 18px; margin: 6px 0 0 !important; } .hmi-care span { display: flex; flex-direction: column; font-size: 13.5px; color: var(--hm-muted); } .hmi-care b { font-family: "Playfair Display", serif; font-size: 18px; font-weight: 500; color: var(--hm-green); }
.hmi-form { background: #fff; border: 1px solid #ECE7DC; border-radius: 6px; padding: 24px 28px; }
.hmi-form h3 { font-family: "Playfair Display", serif !important; font-size: 30px !important; font-weight: 500 !important; color: var(--hm-green) !important; margin: 0 0 6px !important; }
.hmi-form .hmi-frow > p { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; } .hmi-form br { display: none; }
.hmi-form label { display: block; font-size: 14px; font-weight: 600; color: var(--hm-ink); margin: 0 0 12px; } .hmi-form label em { color: var(--hm-red); font-style: normal; }
.hmi-form .wpcf7-form-control-wrap { display: block; }
.hmi-form input:not([type=checkbox]):not([type=submit]), .hmi-form select, .hmi-form textarea { margin: 5px 0 0 !important; height: 44px; border: 1px solid #DDD6C8 !important; box-shadow: none !important; font-size: 14.5px; border-radius: 4px !important; }
.hmi-form textarea { height: 100px !important; }
.hmi-form .wpcf7 input[type=submit] { width: 100%; background: var(--hm-green) !important; color: #fff !important; min-height: 50px; font-size: 16px; font-weight: 600; text-transform: none; letter-spacing: 0; border: 0; border-radius: 4px; margin: 4px 0 6px; }
.hmi-map { position: relative; height: 330px; border-radius: 6px; overflow: hidden; margin-bottom: 20px; } .hmi-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.hmi-mapcard { position: absolute; left: 22px; top: 22px; background: #fff; border-radius: 6px; padding: 16px 20px; box-shadow: 0 10px 24px rgba(0,0,0,.14); font-size: 13.5px; color: var(--hm-ink); display: flex; flex-direction: column; gap: 8px; }
.hmi-mct { display: flex; align-items: center; gap: 10px; } .hmi-mct b { font-family: "Playfair Display", serif; font-size: 22px; font-weight: 500; color: var(--hm-green); } .hmi-mapcard .hm-btn { min-height: 38px; font-size: 13.5px; padding: 0 16px; }
/* cửa hàng */
.hmi-shop { display: grid; grid-template-columns: 250px 1fr; gap: 20px; padding-bottom: 30px; }
.hmi-box { background: #fff; border: 1px solid #ECE7DC; margin-bottom: 14px; } .hmi-box ul { list-style: none; margin: 0 !important; padding: 8px 14px; } .hmi-box li { margin: 0 !important; }
.hmi-box > ul:not(.hmi-checks) a { display: flex; align-items: center; gap: 10px; padding: 8px 6px; font-size: 14.5px; color: var(--hm-ink) !important; } .hmi-box em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--hm-muted); }
.hmi-box li.on a { background: #EEF3EA; color: var(--hm-green) !important; font-weight: 600; }
.hmi-checks a { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--hm-ink) !important; } .hmi-checks i { width: 16px; height: 16px; border: 1.5px solid #B9B3A6; border-radius: 3px; }
.hmi-apply { display: block; margin: 0 14px 14px; text-align: center; background: var(--hm-green); color: #fff !important; padding: 9px; font-size: 14.5px; font-weight: 600; }
.hmi-vban { display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; height: 300px; padding: 22px 18px; background-size: cover; background-position: center bottom; color: var(--hm-ink) !important; font-size: 13.5px; }
.hmi-vban b { font-size: 30px; color: var(--hm-red); font-weight: 600; line-height: 1.1; } .hmi-vban em { font-style: normal; align-self: flex-start; background: var(--hm-green); color: #fff; padding: 7px 14px; font-size: 13px; font-weight: 600; margin-top: 6px; }
.hmi-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 14px; color: var(--hm-muted); } .hmi-bar form { margin: 0; } .hmi-bar select { margin: 0 !important; height: 38px; min-width: 180px; font-size: 14px; }
.hmi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hmi-card { background: #fff; border: 1px solid #ECE7DC; display: flex; flex-direction: column; }
.hmi-cimg { position: relative; display: block; aspect-ratio: 1 / 1.05; background-size: cover; background-position: center; }
.hmi-cimg .hm-badge { position: absolute; left: 10px; top: 10px; }
.hmi-cbody { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; } .hmi-cname { font-size: 14.5px; color: var(--hm-ink) !important; font-weight: 500; line-height: 1.35; min-height: 38px; }
.hmi-stars { color: #F2B633; font-size: 13px; letter-spacing: 1px; }
.hmi-pr { display: flex; align-items: center; gap: 8px; } .hmi-pr del { color: #A8A29A; font-size: 12.5px; } .hmi-pr b { color: var(--hm-red); font-size: 16px; } .hmi-pr img { margin-left: auto; }
.hmi-buy { margin-top: 6px; text-align: center; background: var(--hm-green); color: #fff !important; font-size: 14px; font-weight: 600; padding: 8px; }
.hmi-pages { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 20px 0; } .hmi-pages .page-numbers { width: 32px; height: 32px; border: 1px solid #DDD6C8; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: var(--hm-ink); background: #fff; }
.hmi-pages .current { background: var(--hm-green); border-color: var(--hm-green); color: #fff; } .hmi-pages small { margin-left: 10px; font-size: 13px; color: var(--hm-muted); }
.hmi-bans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .hmi-ban { display: flex; flex-direction: column; justify-content: center; gap: 4px; height: 170px; padding: 0 26px; background-size: cover; background-position: right center; color: var(--hm-ink) !important; }
.hmi-ban b { font-family: "Playfair Display", serif; font-size: 26px; font-weight: 500; color: var(--hm-green); } .hmi-ban em { font-style: normal; font-size: 16px; } .hmi-ban em.hm-scr { font-size: 34px; color: var(--hm-red); } .hmi-ban .hm-btn { align-self: flex-start; min-height: 38px; font-size: 13.5px; margin-top: 8px; }
/* sản phẩm */
.hmi-ptop { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding-bottom: 24px; }
.hmi-pmain { position: relative; display: block; height: 460px; background-size: cover; background-position: center; } .hmi-pmain .hm-badge { position: absolute; left: 14px; top: 14px; }
.hmi-pthumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; } .hmi-pthumbs span { height: 100px; background-size: cover; background-position: center; border: 2px solid transparent; cursor: pointer; } .hmi-pthumbs span.on { border-color: var(--hm-green); }
.hmi-ptitle { font-size: 40px !important; margin: 0 0 6px !important; }
.hmi-prate { display: flex; align-items: center; gap: 8px; font-size: 13.5px !important; color: var(--hm-muted) !important; margin: 0 0 10px !important; } .hmi-prate i { width: 8px; height: 8px; border-radius: 50%; background: #3FA35B; margin-left: 10px; } .hmi-prate b { color: #3FA35B; font-weight: 500; }
.hmi-pprice { display: flex; align-items: center; gap: 14px; font-size: 34px !important; font-weight: 700; color: var(--hm-red) !important; margin: 0 0 10px !important; } .hmi-pprice del { font-size: 17px; font-weight: 400; color: #A8A29A; } .hmi-pprice span { font-size: 14px; font-weight: 500; color: var(--hm-red); }
.hmi-pshort p { font-size: 15px !important; color: var(--hm-ink) !important; margin: 0 0 6px !important; } .hmi-sku { font-size: 13px !important; color: var(--hm-muted) !important; margin: 0 0 12px !important; }
.hmi-note { display: block; font-size: 14px; font-weight: 600; color: var(--hm-ink); margin: 0 0 12px; } .hmi-note textarea { margin: 6px 0 0 !important; height: 60px !important; min-height: 0; font-size: 14px; }
.hmi-qtyrow { display: flex; align-items: center; gap: 20px; font-size: 14.5px; margin-bottom: 14px; }
.hmi-qty { display: inline-flex; border: 1px solid #DDD6C8; height: 40px; background: #fff; } .hmi-qty button { margin: 0; width: 36px; min-height: 0; padding: 0; background: none; font-size: 18px; } .hmi-qty input { width: 48px !important; margin: 0 !important; border: 0 !important; text-align: center; height: 38px; box-shadow: none !important; }
.hmi-pbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.hmi-order, .hmi-cartb { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; font-size: 15px; font-weight: 700; text-transform: uppercase; }
.hmi-order { background: var(--hm-green); color: #fff !important; } .hmi-order img { filter: brightness(0) invert(1); } .hmi-cartb { border: 1.5px solid var(--hm-green); color: var(--hm-green) !important; }
.hmi-callrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; } .hmi-callrow a { display: flex; align-items: center; gap: 10px; color: var(--hm-ink) !important; font-size: 15px; } .hmi-callrow b { color: var(--hm-green); font-size: 18px; }
.hmi-chat { border: 1.5px solid var(--hm-green); padding: 8px 16px; color: var(--hm-green) !important; font-weight: 600; }
.hmi-gift { display: flex; align-items: center; gap: 12px; font-size: 14px !important; color: var(--hm-ink) !important; margin: 0 !important; }
.hmi-tabs { display: flex; gap: 36px; border-bottom: 1px solid #E3DDD0; margin: 20px 0 22px !important; } .hmi-tabs a { padding: 10px 6px; font-size: 15px; color: var(--hm-ink) !important; } .hmi-tabs a.on { color: var(--hm-green) !important; box-shadow: inset 0 -2px 0 var(--hm-green); font-weight: 600; }
.hmi-desc { display: grid; grid-template-columns: 1fr 42%; gap: 30px; margin-bottom: 26px; } .hmi-desc p { font-size: 15px !important; color: var(--hm-ink) !important; line-height: 1.7 !important; }
.hmi-dimg { position: relative; min-height: 380px; background-size: cover; background-position: center; } .hmi-dimg .hm-scr { position: absolute; right: 22px; top: 30px; font-size: 24px; color: var(--hm-muted); transform: rotate(-6deg); line-height: 1.2; }
.hmi-ticks { list-style: none; margin: 0 0 12px !important; } .hmi-ticks li { position: relative; padding-left: 30px; margin: 0 0 8px !important; font-size: 14.5px; }
.hmi-ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--hm-green); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.hmi-tip { display: flex; gap: 12px; align-items: center; background: #EEF3EA; padding: 12px 16px; font-size: 13.5px !important; }
.hmi-rel { padding-bottom: 30px; }
@media (max-width: 849px) {
  .hmi-hero { padding: 0 20px; height: 300px; } .hmi-htitle { font-size: 36px !important; } .hmi-hnote { display: none; }
  .hmi-story, .hmi-vals, .hmi-cc, .hmi-shop, .hmi-ptop, .hmi-desc, .hmi-bans { grid-template-columns: 1fr; } .hmi-cc p { border: 0; padding: 0; }
  .hmi-simg { height: 320px; } .hmi-side { order: 2; } .hmi-grid { grid-template-columns: 1fr 1fr; } .hmi-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hmi-form .hmi-frow > p { grid-template-columns: 1fr; gap: 0; } .hmi-pmain { height: 320px; } .hmi-ptitle { font-size: 30px !important; } .hmi-callrow { flex-direction: column; align-items: flex-start; } .hmi-bt { font-size: 30px !important; }
}
/* r2 */
.hmi-head .hm-h2 { flex: 0 0 auto !important; width: fit-content !important; margin: 0 !important; }
.hmi-head { justify-content: center !important; }
.woocommerce-page .shop-page-title, .woocommerce-page .product-page-title, .single-product .page-title, .tax-product_cat .page-title, .post-type-archive-product .page-title { display: none !important; }
.hmi-vban { position: relative; } .hmi-vban::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251,248,242,.94) 0%, rgba(251,248,242,.7) 45%, rgba(251,248,242,0) 75%); } .hmi-vban > * { position: relative; }
.hmi-ban { position: relative; } .hmi-ban::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251,248,242,.9) 0%, rgba(251,248,242,.6) 45%, rgba(251,248,242,0) 70%); } .hmi-ban > * { position: relative; }
/* ruler:auto BEGIN — tools/astra-bridge/lab/ruler_fix.py, đừng sửa tay */
@media (min-width: 850px) {
  body:not(.home) .hmi-box img { width: 28px !important; height: 28px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  body:not(.home) .hmi-pr img { width: 26px !important; height: 26px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  body:not(.home) .hmi-small img { width: 20px !important; height: 20px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
}
@media (max-width: 849px) {
  body:not(.home) .hmi-box img { width: 22px !important; height: 22px !important; }
  body:not(.home) .hmi-pr img { width: 18px !important; height: 18px !important; }
  body:not(.home) .hmi-small img { width: 14px !important; height: 14px !important; }
}
/* ruler:auto END */

/* 2026-10-04 lá trang trí bên phải bị wpautop bọc <p> -> lệch lên */
.hmi-head > p { display: contents; }
/* 2026-10-04 tin tức + bài viết + trang phụ (Chính sách đại lý, Tuyển dụng, Hàng mới về) */
.hmb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; margin: 36px 0 50px; }
.hmb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hmb-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hmb-card { background: #fff; border: 1px solid #ECE7DC; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.hmb-img { display: block; aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.hmb-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.hmb-meta { font-size: 13px !important; color: var(--hm-muted) !important; margin: 0 0 8px !important; display: flex; gap: 10px; align-items: center; }
.hmb-meta span { color: var(--hm-pink); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.hmb-card h3 { font-family: "Playfair Display", serif !important; font-size: 21px !important; font-weight: 600 !important; line-height: 1.3 !important; margin: 0 0 8px !important; }
.hmb-card h3 a { color: var(--hm-ink) !important; }
.hmb-ex { font-size: 14.5px !important; color: var(--hm-muted) !important; line-height: 1.6 !important; margin: 0 0 12px !important; }
.hmb-more { margin-top: auto; color: var(--hm-green) !important; font-weight: 600; font-size: 14.5px; }
.hmb-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 120px; }
.hmb-box { background: #fff; border: 1px solid #ECE7DC; border-radius: 6px; padding: 20px 22px; }
.hmb-box h4 { font-family: "Playfair Display", serif !important; font-size: 20px !important; color: var(--hm-ink) !important; font-weight: 600 !important; margin: 0 0 12px !important; }
.hmb-recent a { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px dashed #ECE7DC; color: var(--hm-ink) !important; }
.hmb-recent a:first-child { border-top: 0; }
.hmb-recent span { flex: 0 0 64px; height: 64px; border-radius: 4px; background-size: cover; background-position: center; }
.hmb-recent b { font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.hmb-recent em { display: block; font-style: normal; font-weight: 400; font-size: 12.5px; color: var(--hm-muted); margin-top: 2px; }
.hmb-recent em.hmb-price { color: var(--hm-red); font-weight: 700; font-size: 14px; }
.hmb-call { background: var(--hm-green); border-radius: 6px; padding: 22px; display: flex; flex-direction: column; gap: 4px; color: rgba(255,255,255,.85); font-size: 14px; }
.hmb-call img { filter: brightness(0) invert(1); margin-bottom: 6px; }
.hmb-call b { color: #fff; font-size: 18px; } .hmb-call a { color: #fff !important; font-size: 26px; font-weight: 700; margin-top: 4px; }
.hmb-single { margin-top: 18px; }
.hmb-article .hmi-k { margin-bottom: 8px !important; }
.hmb-title { font-size: 40px !important; line-height: 1.2 !important; margin: 0 0 10px !important; }
.hmb-pmeta { margin-bottom: 20px !important; }
.hmb-fimg { aspect-ratio: 16 / 9; border-radius: 6px; background-size: cover; background-position: center; margin-bottom: 22px; }
.hmb-lead { font-size: 18px !important; line-height: 1.65 !important; color: var(--hm-ink) !important; font-style: italic; border-left: 3px solid var(--hm-pink); padding-left: 16px; margin: 0 0 18px !important; }
.hmb-content p { font-size: 16.5px !important; line-height: 1.8 !important; color: var(--hm-ink) !important; margin: 0 0 16px !important; }
.hmb-content h2 { font-family: "Playfair Display", serif !important; font-size: 26px !important; font-weight: 600 !important; color: var(--hm-green) !important; margin: 28px 0 10px !important; }
.hmb-content ul { list-style: none; margin: 0 0 18px !important; }
.hmb-content li { position: relative; padding-left: 26px; margin: 0 0 10px !important; font-size: 16px; line-height: 1.7; color: var(--hm-ink); }
.hmb-content li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--hm-pink); opacity: .85; }
.hmb-content blockquote { margin: 24px 0 !important; padding: 20px 24px; background: #fff; border: 1px solid #ECE7DC; border-left: 4px solid var(--hm-green); border-radius: 0 6px 6px 0; }
.hmb-content blockquote p { font-family: "Playfair Display", serif; font-size: 19px !important; font-style: italic; margin: 0 !important; color: var(--hm-green) !important; }
.hmb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 !important; }
.hmb-tags a { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid #ECE7DC; color: var(--hm-ink) !important; font-size: 13.5px; }
.hmb-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; border-radius: 6px; background: #F7E3E6; }
.hmb-cta b { display: block; font-family: "Playfair Display", serif; font-size: 21px; color: var(--hm-ink); } .hmb-cta span { font-size: 14.5px; color: var(--hm-muted); }
.hmb-cta a, .hmx-btn { flex: 0 0 auto; display: inline-flex; align-items: center; padding: 0 24px; height: 46px; background: var(--hm-green); color: #fff !important; font-weight: 600; border-radius: 4px; white-space: nowrap; }
.hmb-rel { padding-bottom: 50px; } .hmb-rel .hmi-head { margin-bottom: 22px; }
.hmx-sec { margin: 44px 0; }
.hmx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hmx-c { text-align: center; margin: 26px 0 0 !important; font-size: 15.5px; color: var(--hm-ink); } .hmx-c a:not(.hmx-btn) { color: var(--hm-green) !important; font-weight: 600; }
.hmx-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hmx-cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hmx-cards > div { background: #fff; border: 1px solid #ECE7DC; border-radius: 6px; padding: 26px 22px; text-align: center; }
.hmx-cards img { width: 54px; height: 54px; margin: 0 auto 12px; display: block; }
.hmx-cards h3 { font-family: "Playfair Display", serif !important; font-size: 20px !important; font-weight: 600 !important; color: var(--hm-ink) !important; margin: 0 0 8px !important; }
.hmx-cards p { font-size: 14.5px !important; color: var(--hm-muted) !important; line-height: 1.6 !important; margin: 0 !important; }
.hmx-steps ol { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 20px 0 0 !important; }
.hmx-steps li { margin: 0 !important; display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid #ECE7DC; border-radius: 6px; padding: 20px; font-size: 15px; color: var(--hm-ink); line-height: 1.6; }
.hmx-steps li b { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--hm-green); color: #fff; display: flex; align-items: center; justify-content: center; font-family: "Playfair Display", serif; font-size: 18px; }
.hmx-jobs { display: flex; flex-direction: column; gap: 14px; }
.hmx-job { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border: 1px solid #ECE7DC; border-radius: 6px; padding: 22px 26px; }
.hmx-job h3 { font-family: "Playfair Display", serif !important; font-size: 22px !important; font-weight: 600 !important; color: var(--hm-ink) !important; margin: 0 0 4px !important; }
.hmx-job p { font-size: 15px !important; color: var(--hm-muted) !important; margin: 0 !important; line-height: 1.6 !important; }
.hmx-job p.hmx-tag { color: var(--hm-pink) !important; font-weight: 600; font-size: 13.5px !important; margin-bottom: 6px !important; }
@media (min-width: 850px) and (max-width: 1199px) { .hmb-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; } .hmx-grid, .hmx-cards, .hmx-steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hmb-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 849px) {
  .hmb-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 24px 0 36px; } .hmb-side { position: static; }
  .hmb-grid, .hmb-grid3, .hmx-cards, .hmx-cards3, .hmx-steps ol { grid-template-columns: minmax(0, 1fr); } .hmx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hmb-title { font-size: 28px !important; } .hmb-cta, .hmx-job { flex-direction: column; align-items: flex-start; }
}
/* 2026-10-04: sau khi bỏ <p> bọc lá (display:contents), tiêu đề dài + 2 lá tràn ngang 390 -> h2 co được, lá nhỏ lại */
.hmi-head h2 { min-width: 0; }
@media (max-width: 549px) { .hmi-head { gap: 8px; } .hmi-leaf { width: 26px; flex-basis: 26px; background-size: contain; } }
.hmi-bar { flex-wrap: wrap; gap: 10px; } .hmi-main { min-width: 0; }
.hmi-head > p:empty { display: none; } .hmi-head h2 { flex: 0 1 auto; text-align: center; }
@media (max-width: 549px) { .hmi-head .hmi-leaf { display: none; } }
@media (min-width: 850px) and (max-width: 1199px) { .hmi-shop { grid-template-columns: 220px minmax(0, 1fr) !important; } .hmi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } .hmi-grid > * { min-width: 0; } }
@media (max-width: 849px) { .hmi-cc { grid-template-columns: minmax(0, 1fr) !important; } .hmi-cc span { min-width: 0; } .hmi-cc em { overflow-wrap: anywhere; font-size: 18px !important; } }
/* 2026-10-04 trang SP: ảnh chính 496px cover khung 657x460 (phóng 1.3x, cắt 14%) -> contain trên nền kem; cột phải mô tả
   bị kéo cao 1205px (ảnh 600 phóng 2x, giống lỗi thucpham10) -> thẻ ảnh vuông dính khi cuộn */
.hmi-pmain { background-size: contain !important; background-repeat: no-repeat; background-color: #fff; }
.hmi-pthumbs span { background-size: contain !important; background-repeat: no-repeat; background-color: #fff; }
.hmi-desc { grid-template-columns: minmax(0, 1fr) 380px !important; align-items: start; }
.hmi-dimg { min-height: 0 !important; aspect-ratio: 1 / 1; position: sticky; top: 120px; }
@media (max-width: 849px) { .hmi-desc { grid-template-columns: minmax(0, 1fr) !important; } .hmi-dimg { display: none; } }
