/* Hạt Quê Nhà (hatdieu) — trang trong y hệt mockup (Giới thiệu x1.604, Cửa hàng x1.452, SP x1.542, Liên hệ x1.387), dùng biến màu trang chủ (10-03) */
.hdi-built #main, .hdi-built #content { background: #fff !important; }
.hdi-built .page-title, .hdi-built .shop-page-title, .hdi-built .product-page-title, .woocommerce-page.hdi-built .page-title { display: none !important; }
.hdi-page, .hdi-sec { word-break: normal !important; }
.hdi-wrap { max-width: 1290px; margin: 0 auto; padding: 0 15px; }
.hdi-page img, .hdi-sec img { max-width: 100%; }
.hdi-sec .col-inner > p:empty { display: none; }
#header .header-nav-main > li.hdi-cur > a { color: var(--hd-or) !important; }
#header .header-nav-main > li.hdi-cur > a { box-shadow: inset 0 -2px 0 var(--hd-or); }
.hdi-svg { width: 1em; height: 1em; display: inline-block; vertical-align: middle; }
.hdi-h2 { color: var(--hd-br) !important; font-family: "Baloo 2", "Be Vietnam Pro", sans-serif !important; font-size: 44px !important; font-weight: 800 !important; line-height: 50px !important; letter-spacing: -.01em; margin: 0 !important; }
.hdi-sub { color: var(--hd-text); font-size: 19px; line-height: 28px; margin: 4px 0 0; }
.hdi-kick { color: var(--hd-or); font-size: 16px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; margin: 0 0 10px; }
.hdi-p { color: var(--hd-text); font-size: 18px; line-height: 30px; margin: 0 0 14px; }
/* ---------- dải đầu trang ---------- */
.hdi-band { position: relative; background: #F7EBDC var(--hdi-bg, none) right center / cover no-repeat; min-height: 220px; overflow: hidden; }
.hdi-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,240,227,.97) 0%, rgba(250,240,227,.92) 40%, rgba(250,240,227,.4) 56%, rgba(250,240,227,0) 68%); pointer-events: none; }
.hdi-band .hdi-wrap { position: relative; padding-top: 28px; padding-bottom: 34px; }
.hdi-band-about { min-height: 322px; } .hdi-band-about .hdi-wrap { padding-top: 38px; }
.hdi-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; color: var(--hd-muted); font-size: 15px; line-height: 22px; margin: 0 0 14px; }
.hdi-crumb a { color: var(--hd-text) !important; } .hdi-crumb a:hover { color: var(--hd-or) !important; } .hdi-crumb i { font-style: normal; color: #A69A8F; } .hdi-crumb span { color: var(--hd-or); }
.hdi-h1 { color: var(--hd-br) !important; font-family: "Baloo 2", "Be Vietnam Pro", sans-serif !important; font-size: 66px !important; font-weight: 800 !important; line-height: 70px !important; letter-spacing: -.015em; margin: 0 0 6px !important; }
.hdi-lead { color: var(--hd-ink); font-size: 23px; line-height: 32px; max-width: 620px; }
/* ---------- giới thiệu ---------- */
.section.hdi-story-sec { padding: 30px 0 28px !important; }
.hdi-story { display: grid; grid-template-columns: minmax(0, 590fr) minmax(0, 650fr); gap: 32px; align-items: center; }
.hdi-story .hdi-h2 { margin-bottom: 18px !important; }
.hdi-chips { display: flex; gap: 16px; margin-top: 10px; }
.hdi-chip { display: flex; align-items: center; gap: 12px; flex: 0 1 186px; min-width: 0; padding: 14px 16px; background: #fff; border: 1px solid var(--hd-line); border-radius: 8px; box-shadow: 0 3px 10px rgba(80,50,20,.06); }
.hdi-chip img { width: 30px; height: 30px; flex: 0 0 auto; }
.hdi-chip b { display: block; color: var(--hd-ink); font-size: 17px; font-weight: 600; line-height: 22px; } .hdi-chip span { color: var(--hd-muted); font-size: 16px; line-height: 22px; }
.hdi-story-img { border-radius: 10px; overflow: hidden; aspect-ratio: 650 / 432; background: #F3ECE3; }
.hdi-story-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.section.hdi-val-sec { padding: 26px 0 34px !important; }
.hdi-vals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.hdi-val { background: #fff; border: 1px solid #F1E3D1; border-radius: 8px; padding: 24px 22px 24px; text-align: center; min-height: 250px; }
.hdi-val img { width: 82px; height: 82px; display: block; margin: 0 auto 10px; }
.hdi-val h3 { color: var(--hd-br) !important; font-size: 25px !important; font-weight: 700 !important; line-height: 32px !important; margin: 0 0 10px !important; }
.hdi-val div { color: var(--hd-text); font-size: 17px; line-height: 27px; }
.section.hdi-proc-sec { padding: 34px 0 10px !important; }
.hdi-procs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 20px; }
.hdi-proc { background: #fff; border: 1px solid var(--hd-line); border-radius: 8px; overflow: hidden; }
.hdi-proc-img { aspect-ratio: 414 / 254; overflow: hidden; background: #F3ECE3; } .hdi-proc-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hdi-proc h3 { color: var(--hd-br) !important; font-size: 22px !important; font-weight: 700 !important; line-height: 28px !important; margin: 14px 18px 4px !important; }
.hdi-proc div:last-child { color: var(--hd-text); font-size: 16px; line-height: 24px; margin: 0 18px 16px; }
.section.hdi-cm-sec { padding: 28px 0 28px !important; }
.hdi-cm { display: grid; grid-template-columns: minmax(0, 712fr) minmax(0, 548fr); gap: 50px; align-items: center; margin-top: 18px; }
.hdi-cm-img { border-radius: 8px; overflow: hidden; aspect-ratio: 712 / 310; background: #F3ECE3; } .hdi-cm-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hdi-cmi { display: flex; align-items: flex-start; gap: 22px; } .hdi-cmi + .hdi-cmi { margin-top: 30px; }
.hdi-cmi img { width: 58px; height: 58px; flex: 0 0 auto; }
.hdi-cmi h3 { color: var(--hd-br) !important; font-size: 23px !important; font-weight: 700 !important; line-height: 30px !important; margin: 0 0 4px !important; }
.hdi-cmi div div { color: var(--hd-text); font-size: 17px; line-height: 26px; }
.section.hdi-cta-sec { padding: 28px 0 !important; }
.hdi-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.hdi-cta-btns { display: flex; gap: 14px; flex: 0 0 auto; }
.hdi-cta .hd-btn { min-height: 60px; min-width: 280px; font-size: 19px; border-radius: 30px; }
.hdi-call img { width: 26px; height: 26px; margin-right: 14px; }
/* dải cam kết dùng chung */
.hdi-pro { background: var(--hd-cream); }
.hdi-pro .hd-fts { min-height: 136px; }
/* ---------- cửa hàng ---------- */
.hdi-shop-main { display: grid; grid-template-columns: 296px minmax(0, 1fr); gap: 30px; padding-top: 26px; padding-bottom: 32px; align-items: start; }
.hdi-side, .hdi-rg { background: #fff; border: 1px solid #EFE6DA; border-radius: 8px; box-shadow: 0 3px 12px rgba(80,50,20,.05); }
.hdi-side { padding: 18px 20px 22px; }
.hdi-side-t { display: flex; align-items: center; gap: 12px; color: var(--hd-br); font-family: "Baloo 2", "Be Vietnam Pro", sans-serif !important; font-size: 30px; font-weight: 800; line-height: 36px; padding-bottom: 14px; border-bottom: 1px solid var(--hd-line); }
.hdi-side-t img { width: 28px; height: 28px; }
.hdi-grp { padding: 16px 0 14px; border-bottom: 1px solid var(--hd-line); }
.hdi-grp-t { color: var(--hd-br); font-size: 20px; font-weight: 700; line-height: 26px; margin-bottom: 10px; }
.hdi-ck { display: flex !important; align-items: center; gap: 14px; color: var(--hd-text); font-size: 16.5px; font-weight: 400 !important; line-height: 24px; margin: 0 0 12px !important; cursor: pointer; }
.hdi-ck input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0 !important; }
.hdi-ck i { flex: 0 0 auto; width: 22px; height: 22px; border: 1.5px solid #CFC5BA; border-radius: 4px; background: #fff; position: relative; }
.hdi-ck input:checked + i { background: var(--hd-g2); border-color: var(--hd-g2); }
.hdi-ck input:checked + i::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hdi-ck input:focus-visible + i { outline: 2px solid var(--hd-or); outline-offset: 2px; }
.hdi-range { position: relative; height: 22px; margin: 4px 10px 12px; }
.hdi-range::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 5px; border-radius: 3px; background: #E5DDD3; }
.hdi-range span { position: absolute; top: 9px; height: 5px; left: var(--a); right: calc(100% - var(--b)); background: var(--hd-g2); border-radius: 3px; }
.hdi-range span::before, .hdi-range span::after { content: ""; position: absolute; top: -7px; width: 19px; height: 19px; border-radius: 50%; background: var(--hd-g2); }
.hdi-range span::before { left: -9px; } .hdi-range span::after { right: -9px; }
.hdi-pin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hdi-pin label { margin: 0 !important; font-weight: 400 !important; } .hdi-pin small { display: block; color: var(--hd-muted); font-size: 14px; line-height: 20px; margin-bottom: 4px; }
.hdi-pin input { height: 44px !important; margin: 0 !important; border: 1px solid #DCD3C8 !important; border-radius: 4px !important; box-shadow: none !important; font-size: 16px !important; padding: 0 12px !important; color: var(--hd-ink) !important; }
.hdi-apply { display: block; width: 100%; height: 46px; margin: 14px 0 4px !important; border: 0; border-radius: 6px; background: var(--hd-or); color: #fff; font-size: 17px; font-weight: 600; text-transform: none; letter-spacing: 0; cursor: pointer; }
.hdi-apply:hover { background: var(--hd-or2); }
.hdi-clear { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--hd-or) !important; font-size: 16px; text-decoration: underline !important; text-underline-offset: 3px; }
.hdi-clear img { width: 20px; height: 20px; }
.hdi-rg { margin-top: 24px; padding: 18px 20px 12px; background: #FEF8F1; }
.hdi-rg-t { display: flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--hd-br); font-size: 19px; font-weight: 700; line-height: 28px; margin-bottom: 10px; }
.hdi-rg-t img { width: 30px; height: 30px; }
.hdi-rg a { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid #EFE2D1; color: var(--hd-text) !important; font-size: 16.5px; line-height: 22px; }
.hdi-rg a i { color: #A69A8F; font-size: 18px; } .hdi-rg a:hover, .hdi-rg a.on { color: var(--hd-or) !important; } .hdi-rg a.on { font-weight: 600; }
.hdi-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.hdi-count { color: var(--hd-text); font-size: 17px; }
.hdi-sort { position: relative; margin: 0 !important; } .hdi-sort .hdi-svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; font-size: 18px; color: var(--hd-ink); }
.hdi-sort select { height: 46px !important; min-width: 254px; margin: 0 !important; padding: 0 40px 0 18px !important; border: 1px solid #DCD3C8 !important; border-radius: 6px !important; background: #fff none !important; box-shadow: none !important; font-size: 16.5px !important; color: var(--hd-ink) !important; -webkit-appearance: none; appearance: none; }
.hdi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.hdi-pc { background: #fff; border: 1px solid var(--hd-line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.hdi-pc[hidden] { display: none; }
.hdi-pc-img { display: block; aspect-ratio: 321 / 298; overflow: hidden; background: #F8EFE3; }
.hdi-pc-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; } .hdi-pc-img:hover img { transform: scale(1.04); }
.hdi-pc-b { padding: 14px 18px 18px; display: flex; flex-direction: column; flex: 1 1 auto; }
.hdi-pc-t { color: var(--hd-ink) !important; font-size: 20px !important; font-weight: 600 !important; line-height: 28px !important; margin: 0 0 6px !important; min-height: 56px; }
.hdi-pc-t a { color: inherit !important; } .hdi-pc-t a:hover { color: var(--hd-g2) !important; }
.hdi-pc-p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; margin: auto 0 10px; }
.hdi-pc-p b { color: var(--hd-or); font-size: 26px; font-weight: 700; line-height: 34px; } .hdi-pc-p del { color: #9A8F86; font-size: 15px; }
.hdi-pc .hd-cart { height: 44px; font-size: 16.5px; } .hdi-pc .added_to_cart { display: none; }
.hdi-empty { padding: 30px; text-align: center; color: var(--hd-text); background: var(--hd-cream); border-radius: 8px; }
.hdi-empty[hidden] { display: none; }
.hdi-pages { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.hdi-pages button, .hdi-pages a, .hdi-pages span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; margin: 0 !important; padding: 0 8px; border: 1px solid #DCD3C8; border-radius: 6px; background: #fff; color: var(--hd-ink) !important; font-size: 16px; font-weight: 500; line-height: 1; text-transform: none; letter-spacing: 0; cursor: pointer; }
.hdi-pages .on, .hdi-pages .current { background: var(--hd-g2); border-color: var(--hd-g2); color: #fff !important; }
.hdi-pages button[disabled] { opacity: .45; cursor: default; }
/* ---------- chi tiết SP ---------- */
.hdi-pd .hdi-crumb { margin: 18px 0 18px; font-size: 14px; } .hdi-pd .hdi-crumb span { color: var(--hd-text); }
.hdi-pd-top { display: grid; grid-template-columns: minmax(0, 670fr) minmax(0, 530fr); gap: 38px; align-items: start; padding-bottom: 36px; }
.hdi-pd-main { border-radius: 8px; overflow: hidden; aspect-ratio: 670 / 532; background: #F8EFE3; } .hdi-pd-main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hdi-pd-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 14px; }
.hdi-pd-thumbs button { margin: 0 !important; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; aspect-ratio: 154 / 142; background: #F8EFE3; cursor: pointer; min-height: 0; }
.hdi-pd-thumbs button.on { border-color: var(--hd-g2); } .hdi-pd-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hdi-pd-title { color: var(--hd-br) !important; font-family: "Baloo 2", "Be Vietnam Pro", sans-serif !important; font-size: 42px !important; font-weight: 800 !important; line-height: 46px !important; margin: 0 0 12px !important; }
.hdi-pd-chip { display: inline-flex; align-items: center; gap: 8px; background: #EEF7E6; color: var(--hd-ink); border-radius: 6px; padding: 6px 14px; font-size: 16px; line-height: 22px; margin-bottom: 14px; }
.hdi-pd-chip img { width: 20px; height: 20px; }
.hdi-pd-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; } .hdi-pd-price b { color: var(--hd-or); font-size: 36px; font-weight: 700; line-height: 44px; } .hdi-pd-price del { color: #9A8F86; font-size: 18px; }
.hdi-pd-desc { color: var(--hd-text); font-size: 17px; line-height: 27px; padding-bottom: 18px; border-bottom: 1px solid var(--hd-line); margin-bottom: 18px; }
.hdi-pd-l { color: var(--hd-ink); font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.hdi-pd-ws { display: flex; gap: 16px; margin-bottom: 20px; }
.hdi-pd-ws span, .hdi-pd-ws a { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 24px; border-radius: 22px; font-size: 16px; }
.hdi-pd-ws span { background: var(--hd-g2); color: #fff; min-width: 98px; font-weight: 600; } .hdi-pd-ws a { border: 1.5px solid #CFC5BA; color: var(--hd-ink) !important; min-width: 168px; }
.hdi-pd-row { display: grid; grid-template-columns: 148px minmax(0, 1fr); align-items: center; gap: 12px; margin-bottom: 14px; font-size: 17px; }
.hdi-pd-row span { color: var(--hd-br); } .hdi-pd-row b { color: var(--hd-ink); font-weight: 500; }
.hdi-pd-qrow span { color: var(--hd-ink); }
.hdi-qty { display: inline-flex; align-items: stretch; border: 1px solid #DCD3C8; border-radius: 6px; overflow: hidden; width: max-content; height: 46px; }
.hdi-qty button { margin: 0 !important; width: 46px; min-height: 0; padding: 0; background: #F6F2EE; border: 0; color: var(--hd-ink); font-size: 18px; cursor: pointer; }
.hdi-qty input { width: 62px !important; height: 46px !important; margin: 0 !important; border: 0 !important; border-left: 1px solid #DCD3C8 !important; border-right: 1px solid #DCD3C8 !important; box-shadow: none !important; text-align: center; font-size: 17px !important; padding: 0 !important; -moz-appearance: textfield; }
.hdi-qty input::-webkit-outer-spin-button, .hdi-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hdi-pd-act { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0 22px; }
.hdi-btn-buy, .hdi-btn-line { display: flex !important; align-items: center; justify-content: center; height: 58px; margin: 0 !important; border-radius: 30px; font-size: 19px; font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1; cursor: pointer; }
.hdi-btn-buy { background: var(--hd-or); color: #fff !important; border: 0; } .hdi-btn-buy:hover { background: var(--hd-or2); }
.hdi-btn-line { border: 2px solid var(--hd-br); color: var(--hd-br) !important; background: #fff; } .hdi-btn-line:hover { background: var(--hd-br); color: #fff !important; }
.hdi-pd-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hdi-pd-badges > div { display: flex; align-items: center; gap: 12px; padding: 0 12px; color: var(--hd-g2); font-size: 16px; font-weight: 500; line-height: 21px; }
.hdi-pd-badges > div + div { border-left: 1px solid #E3D9CC; } .hdi-pd-badges img { width: 44px; height: 44px; flex: 0 0 auto; }
.hdi-pd-call { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; color: var(--hd-ink) !important; font-size: 17px; font-weight: 600; }
.hdi-pd-call img { width: 22px; height: 22px; }
.hdi-tabs { border-bottom: 1px solid var(--hd-line); }
.hdi-tabs .hdi-wrap { display: flex; gap: 10px; }
.hdi-tabs button { margin: 0 !important; padding: 0 42px; height: 56px; min-height: 0; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--hd-ink); font-size: 20px; font-weight: 500; text-transform: none; letter-spacing: 0; cursor: pointer; }
.hdi-tabs button.on { border-bottom-color: var(--hd-g2); color: var(--hd-g2); font-weight: 700; }
.hdi-panes { padding-top: 28px; padding-bottom: 32px; }
.hdi-pane[hidden] { display: none !important; }
.hdi-pd-feat { display: grid; grid-template-columns: minmax(0, 800fr) minmax(0, 400fr); gap: 38px; align-items: start; }
.hdi-pd-h2 { color: var(--hd-br) !important; font-family: "Baloo 2", "Be Vietnam Pro", sans-serif !important; font-size: 38px !important; font-weight: 800 !important; line-height: 44px !important; margin: 0 0 8px !important; }
.hdi-pd-txt p, .hdi-pd-spec p { color: var(--hd-text); font-size: 17px; line-height: 27px; margin: 0 0 16px; }
.hdi-pd-fig { margin: 0 0 18px; border-radius: 8px; overflow: hidden; aspect-ratio: 800 / 284; background: #F3ECE3; } .hdi-pd-fig img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hdi-pd-h3 { color: var(--hd-br) !important; font-size: 22px !important; font-weight: 700 !important; line-height: 28px !important; margin: 0 0 6px !important; }
.hdi-pd-box { background: #FEF7EE; border: 1px solid #F1E3D1; border-radius: 8px; padding: 22px 22px 18px; }
.hdi-pd-box h3 { color: var(--hd-br) !important; font-size: 23px !important; font-weight: 700 !important; line-height: 30px !important; margin: 0 0 8px !important; }
.hdi-pd-box h3 + table + h3 { margin-top: 26px !important; }
.hdi-pd-box table, .hdi-pd-tbl { width: 100%; border-collapse: collapse; margin: 0 !important; }
.hdi-pd-box th, .hdi-pd-box td, .hdi-pd-tbl th, .hdi-pd-tbl td { border: 0 !important; border-bottom: 1px solid #EADCCB !important; padding: 11px 6px !important; font-size: 16.5px; line-height: 22px; color: var(--hd-text); text-align: left; font-weight: 400; text-transform: none !important; letter-spacing: 0 !important; }
.hdi-pd-box th { width: 48%; }
.hdi-pd-note { color: var(--hd-muted); font-size: 15px; font-style: italic; margin-top: 14px; }
.hdi-pd-tbl { max-width: 760px; } .hdi-pd-tbl th { width: 220px; color: var(--hd-br); font-weight: 600; }
.hdi-gift { position: relative; min-height: 242px; background: #6B3A1C var(--hdi-bg, none) left center / cover no-repeat; }
.hdi-gift::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(107,58,28,0) 30%, rgba(107,58,28,.65) 52%, rgba(107,58,28,.92) 62%); }
.hdi-gift .hdi-wrap { position: relative; }
.hdi-gift-in { margin-left: auto; width: 540px; max-width: 100%; padding: 42px 0 38px; }
.hdi-gift-k { color: #fff; font-size: 20px; line-height: 26px; margin-bottom: 4px; }
.hdi-gift-h { color: #fff !important; font-family: "Baloo 2", "Be Vietnam Pro", sans-serif !important; font-size: 42px !important; font-weight: 800 !important; line-height: 48px !important; margin: 0 0 6px !important; }
.hdi-gift-d { color: rgba(255,255,255,.92); font-size: 18px; line-height: 26px; margin-bottom: 18px; }
.hdi-gift .hd-btn { min-width: 238px; min-height: 50px; font-size: 18px; }
.hdi-rel { padding: 30px 0 30px; }
.hdi-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; } .hdi-head .hdi-h2 { width: fit-content; flex: 0 1 auto; min-width: 0; }
.hdi-relg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hdi-relg .hdi-pc-img { aspect-ratio: 290 / 214; }
/* ---------- liên hệ ---------- */
.section.hdi-ct-sec { padding: 30px 0 28px !important; }
.hdi-ct { display: grid; grid-template-columns: minmax(0, 735fr) minmax(0, 470fr); gap: 0; }
.hdi-ct-form { padding-right: 30px; border-right: 1px solid var(--hd-line); }
.hdi-ct-info { padding-left: 30px; }
.hdi-ct .hdi-h2 { font-size: 42px !important; line-height: 48px !important; }
.hdi-ct-form .hdi-sub { margin-bottom: 18px; }
.hdi-ct form p { margin: 0 !important; }
.hdi-fc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 26px; }
.hdi-fc > div { min-width: 0; } .hdi-fc .c, .hdi-fc .d, .hdi-fc .e, .hdi-fc .f { grid-column: 1 / -1; }
.hdi-lb { display: block; color: var(--hd-ink); font-size: 17px; font-weight: 500; line-height: 24px; margin-bottom: 8px; } .hdi-lb i { color: #E0301E; font-style: normal; }
.hdi-fc input[type=text], .hdi-fc input[type=tel], .hdi-fc input[type=email], .hdi-fc select, .hdi-fc textarea { width: 100%; height: 48px; margin: 0 !important; border: 1px solid #DCD3C8 !important; border-radius: 6px !important; box-shadow: none !important; background-color: #fff; font-size: 16px !important; padding: 0 18px !important; color: var(--hd-ink) !important; }
.hdi-fc textarea { height: 98px !important; min-height: 98px; padding: 12px 18px !important; }
.hdi-fc .wpcf7-form-control-wrap { display: block; }
.hdi-fc input[type=submit] { display: inline-flex; align-items: center; height: 54px; margin: 6px 0 0 !important; padding: 0 60px 0 40px !important; border: 0; border-radius: 28px; background: var(--hd-or) url(icons/i-arrow-w.png) right 30px center / 20px 20px no-repeat; color: #fff; font-size: 19px; font-weight: 700; text-transform: none; letter-spacing: 0; cursor: pointer; }
.hdi-fc input[type=submit]:hover { background-color: var(--hd-or2); }
.hdi-ct-safe { display: flex; align-items: center; gap: 10px; color: var(--hd-muted); font-size: 15px; margin-top: 16px; } .hdi-ct-safe img { width: 18px; height: 18px; }
.hdi-ct-info .hdi-h2 { margin-bottom: 18px !important; }
.hdi-ci { display: flex; align-items: center; gap: 22px; padding: 20px 22px; margin-bottom: 18px; border: 1px solid var(--hd-line); border-radius: 8px; background: #fff; box-shadow: 0 3px 12px rgba(80,50,20,.05); }
.hdi-ci-ic { flex: 0 0 auto; width: 88px; height: 88px; border-radius: 8px; background: #FBF2DF; display: flex; align-items: center; justify-content: center; }
.hdi-ci-ic img { width: 46px; height: 46px; }
.hdi-ci > span:last-child { min-width: 0; } .hdi-ci b { display: block; color: var(--hd-ink); font-size: 18px; font-weight: 600; line-height: 24px; }
.hdi-ci strong { display: block; color: var(--hd-br); font-family: "Baloo 2", "Be Vietnam Pro", sans-serif !important; font-size: 26px; font-weight: 700; line-height: 32px; }
.hdi-ci-mail { font-size: 22px !important; overflow-wrap: anywhere; } .hdi-ci em { display: block; color: var(--hd-muted); font-size: 15.5px; font-style: normal; line-height: 22px; }
.hdi-ct-time { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--hd-line); color: var(--hd-text); font-size: 17px; } .hdi-ct-time img { width: 26px; height: 26px; } .hdi-ct-time b { color: var(--hd-ink); }
.section.hdi-map-sec { padding: 14px 0 26px !important; }
.hdi-map { position: relative; margin-top: 18px; height: 282px; border-radius: 6px; overflow: hidden; background: #EEE; }
.hdi-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.hdi-map-card { position: absolute; left: 51%; top: 16px; width: 238px; background: #fff; border-radius: 8px; box-shadow: 0 6px 22px rgba(0,0,0,.16); padding: 14px 18px 16px; color: var(--hd-text); font-size: 15px; line-height: 22px; }
.hdi-map-logo { display: flex; align-items: center; gap: 8px; color: var(--hd-br); font-family: "Baloo 2", "Be Vietnam Pro", sans-serif !important; font-size: 21px; font-weight: 700; margin-bottom: 4px; } .hdi-map-logo img { width: 36px; height: 36px; }
.hdi-map-card a { display: inline-flex; margin-top: 10px; padding: 5px 18px; border: 1.5px solid var(--hd-or); border-radius: 18px; color: var(--hd-or) !important; font-size: 15px; font-weight: 600; }
.section.hdi-faq-sec { padding: 4px 0 30px !important; }
.hdi-faq { display: grid; grid-template-columns: minmax(0, 430fr) minmax(0, 830fr); gap: 0; align-items: start; }
.hdi-faq-k { color: var(--hd-br); font-family: Georgia, "Times New Roman", serif !important; font-size: 23px; line-height: 30px; margin-bottom: 6px; }
.hdi-faq .hdi-h2 { font-size: 44px !important; }
.hdi-faq-r details { border: 1px solid var(--hd-line); border-radius: 6px; background: #fff; margin-bottom: 12px; }
.hdi-faq-r summary { position: relative; list-style: none; cursor: pointer; padding: 15px 52px 15px 48px; color: var(--hd-ink); font-size: 18px; font-weight: 600; line-height: 26px; }
.hdi-faq-r summary::-webkit-details-marker { display: none; }
.hdi-faq-r summary::before { content: "›"; position: absolute; left: 22px; top: 12px; color: var(--hd-or); font-size: 24px; font-weight: 400; transition: transform .2s; }
.hdi-faq-r details[open] summary::before { transform: rotate(-90deg); }
.hdi-faq-r summary::after { content: "+"; position: absolute; right: 22px; top: 11px; color: var(--hd-or); font-size: 26px; font-weight: 400; }
.hdi-faq-r details[open] summary::after { content: "–"; }
.hdi-faq-r details > div { padding: 0 52px 16px 48px; color: var(--hd-text); font-size: 16px; line-height: 26px; }
.hdi-faq-r a { color: var(--hd-or) !important; }
/* ---------- tin tức / bài viết / trang chính sách ---------- */
.hdi-blog-main { padding-top: 32px; padding-bottom: 34px; }
.hdi-bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hdi-bc { background: #fff; border: 1px solid var(--hd-line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.hdi-bc-img { display: block; aspect-ratio: 408 / 230; overflow: hidden; background: #F3ECE3; } .hdi-bc-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; } .hdi-bc-img:hover img { transform: scale(1.04); }
.hdi-bc-b { padding: 16px 22px 22px; } .hdi-bc-m { color: var(--hd-muted); font-size: 14.5px; margin-bottom: 6px; }
.hdi-bc-t { color: var(--hd-ink) !important; font-size: 21px !important; font-weight: 600 !important; line-height: 28px !important; margin: 0 0 8px !important; } .hdi-bc-t a { color: inherit !important; } .hdi-bc-t a:hover { color: var(--hd-g2) !important; }
.hdi-bc-x { color: var(--hd-text); font-size: 16px; line-height: 25px; margin: 0 0 12px; }
.hdi-post-head { background: #FBF3E8; } .hdi-post-head .hdi-wrap { padding-top: 26px; padding-bottom: 28px; }
.hdi-post-t { font-size: 52px !important; line-height: 58px !important; max-width: 980px; }
.hdi-post-m { display: flex; align-items: center; gap: 8px; color: var(--hd-muted); font-size: 16px; margin-top: 6px; }
.hdi-post-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; padding-top: 34px; padding-bottom: 36px; align-items: start; }
.hdi-post-fig { margin: 0 0 24px; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 7; background: #F3ECE3; } .hdi-post-fig img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hdi-post-c, .hdi-doc-c { color: var(--hd-text); font-size: 18px; line-height: 30px; }
.hdi-post-c p, .hdi-doc-c p { margin: 0 0 16px; }
.hdi-post-c h2, .hdi-doc-c h2 { color: var(--hd-br) !important; font-family: "Baloo 2", "Be Vietnam Pro", sans-serif !important; font-size: 32px !important; font-weight: 800 !important; line-height: 38px !important; margin: 26px 0 12px !important; }
.hdi-doc-c h2:first-child { margin-top: 0 !important; }
.hdi-post-c ul, .hdi-doc-c ul { margin: 0 0 18px; padding: 0; list-style: none; }
.hdi-post-c li, .hdi-doc-c li { position: relative; padding-left: 30px; margin: 0 0 10px !important; }
.hdi-post-c li::before, .hdi-doc-c li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--hd-g2); }
.hdi-post-c a, .hdi-doc-c a { color: var(--hd-or) !important; text-decoration: underline; text-underline-offset: 3px; }
.hdi-side-box, .hdi-side-cta { border: 1px solid #F1E3D1; border-radius: 8px; padding: 20px 22px; background: #FEF7EE; }
.hdi-side-box { margin-bottom: 20px; background: #fff; }
.hdi-side-box h3, .hdi-side-cta h3 { color: var(--hd-br) !important; font-size: 22px !important; font-weight: 700 !important; line-height: 28px !important; margin: 0 0 12px !important; }
.hdi-mini { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--hd-line); }
.hdi-mini img { width: 72px; height: 72px; border-radius: 6px; object-fit: cover; flex: 0 0 auto; }
.hdi-mini b { display: block; color: var(--hd-ink); font-size: 16px; font-weight: 600; line-height: 22px; } .hdi-mini em { color: var(--hd-or); font-size: 17px; font-style: normal; font-weight: 700; }
.hdi-side-cta p { color: var(--hd-text); font-size: 16px; line-height: 25px; margin: 0 0 14px; }
.hdi-side-cta .hd-btn { width: 100%; min-height: 52px; font-size: 18px; } .hdi-side-cta .hd-btn img { width: 22px; height: 22px; margin-right: 10px; }
.hdi-side-mail { display: block; margin-top: 12px; text-align: center; color: var(--hd-br) !important; font-size: 15.5px; overflow-wrap: anywhere; }
.hdi-rel-post { background: #FDF8F2; }
.section.hdi-doc-sec { padding: 34px 0 36px !important; }
.hdi-doc { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 50px; align-items: start; }
.hdi-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 4px 0 20px; }
.hdi-steps > div { border: 1px solid var(--hd-line); border-radius: 8px; padding: 18px 18px 8px; background: #fff; }
.hdi-steps b { display: block; color: var(--hd-or); font-family: "Baloo 2", sans-serif !important; font-size: 34px; line-height: 38px; }
.hdi-steps h3 { color: var(--hd-br) !important; font-size: 19px !important; font-weight: 700 !important; line-height: 26px !important; margin: 4px 0 6px !important; }
.hdi-steps p { font-size: 15.5px; line-height: 24px; }
/* ruler:manual (10-03, đo ruler trang trong; header/logo/dải cam kết là khối trang chủ — không sửa ở đây) */
@media (min-width: 850px) {
	.hdi-val img { width: 108px; height: 108px; } .hdi-val h3 { font-size: 30px !important; line-height: 36px !important; }
	.hdi-chip img { width: 36px; height: 36px; } .hdi-pd-chip img { width: 26px; height: 26px; }
	.hdi-band-about .hdi-h1 { font-size: 74px !important; line-height: 78px !important; } .hdi-band-shop .hdi-h1 { font-size: 78px !important; line-height: 82px !important; }
	.hdi-rel .hdi-h2 { font-size: 36px !important; line-height: 42px !important; } .hdi-ct-time img { width: 34px; height: 34px; }
}
/* ---------- khoảng giữa ---------- */
@media (min-width: 850px) and (max-width: 1199px) {
	.hdi-shop-main { grid-template-columns: 250px minmax(0, 1fr); gap: 22px; } .hdi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hdi-story, .hdi-cm { gap: 26px; } .hdi-chips { gap: 12px; } .hdi-chip { min-width: 0; padding: 10px 12px; }
	.hdi-cta { flex-direction: column; align-items: flex-start; } .hdi-cta .hd-btn { min-width: 240px; }
	.hdi-pd-feat { grid-template-columns: minmax(0, 1fr) 320px; } .hdi-pd-badges > div { padding: 0 6px; font-size: 14.5px; } .hdi-pd-badges img { width: 34px; height: 34px; }
	.hdi-relg { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hdi-ci { gap: 14px; padding: 16px; } .hdi-ci-ic { width: 64px; height: 64px; } .hdi-ci-mail { font-size: 18px !important; }
	.hdi-post-main, .hdi-doc { grid-template-columns: minmax(0, 1fr) 280px; gap: 30px; } .hdi-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hdi-faq { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
/* ---------- mobile ---------- */
@media (max-width: 849px) {
	.hdi-band, .hdi-band-about { min-height: 0; padding-top: 190px; background: #F6EBDC; }
	.hdi-band::before { inset: 0 0 auto 0; height: 190px; background: var(--hdi-bg, none) 78% 50% / cover no-repeat; }
	.hdi-band .hdi-wrap, .hdi-band-about .hdi-wrap { padding-top: 18px; padding-bottom: 22px; }
	.hdi-h1 { font-size: 40px !important; line-height: 46px !important; } .hdi-lead { font-size: 17px; line-height: 26px; }
	.hdi-h2, .hdi-faq .hdi-h2, .hdi-ct .hdi-h2 { font-size: 30px !important; line-height: 36px !important; } .hdi-sub { font-size: 16px; line-height: 24px; }
	.hdi-p { font-size: 16px; line-height: 26px; }
	.hdi-story, .hdi-cm, .hdi-ct, .hdi-faq, .hdi-shop-main, .hdi-pd-top, .hdi-pd-feat, .hdi-post-main, .hdi-doc { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.hdi-story > *, .hdi-cm > * { min-width: 0; }
	.hdi-chips { flex-direction: column; gap: 10px; } .hdi-chip { flex: 0 0 auto; padding: 10px 14px; } .hdi-chip b, .hdi-chip span { display: inline; } .hdi-chip span::before { content: ' · '; }
	.hdi-vals, .hdi-procs { grid-template-columns: minmax(0, 1fr); gap: 14px; } .hdi-val { min-height: 0; padding: 18px; } .hdi-val img { width: 60px; height: 60px; } .hdi-val div br { display: none; }
	.hdi-cmi + .hdi-cmi { margin-top: 18px; } .hdi-cmi img { width: 44px; height: 44px; } .hdi-cmi h3 { font-size: 19px !important; line-height: 26px !important; }
	.hdi-cta { flex-direction: column; align-items: stretch; } .hdi-cta-btns { flex-direction: column; } .hdi-cta .hd-btn { min-width: 0; width: 100%; }
	.hdi-pro .hd-fts { min-height: 0; }
	.hdi-shop-main { padding-top: 16px; } .hdi-side-t { cursor: pointer; font-size: 24px; padding-bottom: 0; border-bottom: 0; } .hdi-side-t::after { content: "+"; margin-left: auto; font-size: 26px; color: var(--hd-or); }
	.hdi-side-in { display: none; } .hdi-side.is-open .hdi-side-in { display: block; } .hdi-side.is-open .hdi-side-t { border-bottom: 1px solid var(--hd-line); padding-bottom: 12px; }
	.hdi-rg { display: none; }
	.hdi-bar { flex-wrap: wrap; } .hdi-count { font-size: 15px; } .hdi-sort select { min-width: 0; width: 220px; font-size: 15px !important; padding-left: 12px !important; }
	.hdi-grid, .hdi-relg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.hdi-pc-b { padding: 10px 10px 12px; } .hdi-pc-t { font-size: 15px !important; line-height: 21px !important; min-height: 42px; } .hdi-pc-p b { font-size: 19px; line-height: 26px; } .hdi-pc-p del { font-size: 13px; } .hdi-pc .hd-cart { height: 40px; font-size: 14px; }
	.hdi-pd-title { font-size: 30px !important; line-height: 36px !important; } .hdi-pd-price b { font-size: 28px; }
	.hdi-pd-thumbs { gap: 8px; } .hdi-pd-badges > div { flex-direction: column; text-align: center; font-size: 13.5px; gap: 6px; padding: 0 4px; } .hdi-pd-badges img { width: 34px; height: 34px; }
	.hdi-pd-row { grid-template-columns: 130px minmax(0, 1fr); font-size: 16px; }
	.hdi-tabs .hdi-wrap { gap: 0; overflow-x: auto; } .hdi-tabs button { padding: 0 16px; font-size: 17px; height: 50px; flex: 0 0 auto; }
	.hdi-pd-h2 { font-size: 28px !important; line-height: 34px !important; }
	.hdi-gift { padding-top: 170px; background-size: auto 170px; background-position: 15% 0; background-color: #6B3A1C; }
	.hdi-gift::before { display: none; } .hdi-gift-in { width: auto; padding: 22px 0 26px; } .hdi-gift-h { font-size: 30px !important; line-height: 36px !important; } .hdi-gift .hd-btn { width: 100%; }
	.hdi-head { flex-wrap: wrap; }
	.hdi-ct-form { padding-right: 0; border-right: 0; } .hdi-ct-info { padding-left: 0; }
	.hdi-fc { grid-template-columns: minmax(0, 1fr); } .hdi-fc input[type=submit] { width: 100%; justify-content: center; }
	.hdi-ci { gap: 14px; padding: 14px; } .hdi-ci-ic { width: 60px; height: 60px; } .hdi-ci-ic img { width: 32px; height: 32px; } .hdi-ci strong { font-size: 21px; line-height: 28px; } .hdi-ci-mail { font-size: 17px !important; }
	.hdi-map { height: 300px; } .hdi-map-card { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; }
	.hdi-faq-r summary { padding: 13px 44px 13px 40px; font-size: 16px; } .hdi-faq-r summary::before { left: 16px; } .hdi-faq-r summary::after { right: 16px; } .hdi-faq-r details > div { padding: 0 16px 14px 40px; }
	.hdi-bgrid { grid-template-columns: minmax(0, 1fr); } .hdi-post-t { font-size: 32px !important; line-height: 38px !important; }
	.hdi-post-c, .hdi-doc-c { font-size: 16.5px; line-height: 27px; } .hdi-post-c h2, .hdi-doc-c h2 { font-size: 26px !important; line-height: 32px !important; }
	.hdi-steps { grid-template-columns: minmax(0, 1fr); }
}
