/* ==========================================================================
   Hadim v1.1.3–1.1.14 — WooCommerce + sua hinh thuc trang ban hang
   (1.1.4 them: muc 6 tang do uu tien nut Woo; muc 11 CSS menu chinh.
    1.1.5 them: muc 12 huy hieu san pham + tinh chinh cot thong tin/breadcrumb;
    muc 13 hai the thong tin sau tab mo ta.
    1.1.6: muc 3 + muc 9 dong bo khung trang san pham ve 1280px bang dung
    header/footer; rieng nut Woo va menu desktop con duoc ep cung them bang
    khoi <style id="hadim-critical-css"> in o wp_head uu tien 999 trong
    functions.php — vi tren web that muc 6/11 cua file nay khong thang duoc.
    1.1.8: TAT CAT ANH san pham — muc 5 bo khung vuong 1:1 o trang chi tiet
    (anh rong 100% theo cot, cao tu dong theo ti le goc, object-fit: contain,
    khung chua khong ep chieu cao); muc 10 the san pham doi sang khung anh
    co dinh 220px + object-fit: contain tren nen trang am de luoi deu ma
    KHONG cat anh. Kem filter PHP tat crop cho cac co anh Woo trong
    functions.php.
    1.1.9: SUA SELECTOR NUT GIO HANG — "body .woocommerce ..." thanh
    "body.woocommerce ..." o muc 6 cua file nay va khoi hadim-critical-css
    trong functions.php: class woocommerce nam tren chinh the body nen
    dang cu khong bao gio khop. Xem ghi chu dai o dau muc 6.
    1.1.10: TRANG GIO HANG — muc 14 moi: ep rieng nut "Tien hanh thanh
    toan" (a.checkout-button trong .wc-proceed-to-checkout) bang selector
    cuc manh kem ca shorthand "background" (muc 6 chua phu duoc tren web
    that: nut con nen gan den, chu xanh dam); doi mau tieu de cot bang
    gio tu hong dam #9d174d (rule .entry-content table th thua tu theme
    goc trong style.css) ve xanh che tren nen kem; bo min-width 640px cua
    bang trong .entry-content khoi bang gio de cot Tong khong tran/cat
    mep phai, them cuon ngang cho form gio tren mobile; dinh dang o anh
    thu nho 96px/anh 80px di kem filter PHP xuat anh co 'medium' trong
    functions.php.
    1.1.11: THANH TOAN GON kieu Viet Nam — muc 15 moi dinh dang dong
    bao phi van chuyen (web khong tu tinh phi ship; shop lien he bao
    phi, khach dong y moi giao). Phan rut gon cac o dien nam o PHP
    trong functions.php: filter woocommerce_checkout_fields — form
    chi con ho va ten, so dien thoai, mot o dia chi ghi day du va
    ghi chu; email khong bat buoc; tat han dia chi giao hang rieng.)
    1.1.12: THANH TOAN / CAM ON — muc 16 moi: nut "Dat hang"
    (#place_order) van tim vi moi rule cu treo vao "body.woocommerce"
    trong khi trang thanh toan co dien khong co class "woocommerce"
    tren body (chi co o div boc ben trong) — doi sang selector neo
    body.woocommerce-checkout + #payment; dong thoi mo rong override
    mau nhan hang (th) bang shop_table tu trang gio (muc 14b) sang
    trang thanh toan, trang cam on va trang tai khoan, het mau
    do/hong #9d174d thua tu style.css.
    1.1.13: POLISH GOM — muc 17 doi nen o mo ta phuong thuc thanh
    toan (.payment_box, chua cau "Tra tien mat khi giao hang." cua
    COD) tu xam tim nhat mac dinh cua Woo ve nen kem #FAF8F0, chu
    #1f2937. Kem theo PHP trong functions.php: bat ho tro trich doan
    (excerpt) cho Trang de nhap meta description dung y.
    1.1.14: THE SAN PHAM DEU NHAU — viet lai muc 10: bo khung anh ep
    220px cua 1.1.8 (anh the hien dung ti le file goc, cao tu dong);
    ul.products thanh flex wrap + li.product flex column de cac the
    cung hang cao bang nhau; tieu de giu dung 2 dong (min-height 2.8em
    + line-clamp 2); gia margin-top:auto day xuong day, nut Chon thang
    hang giua cac the. Chi sua CSS, khong dong PHP/HTML.
    1.1.22: BO KHOI VAN CHUYEN + CAI THIEN THANH TOAN — phan bo
    hang Shipment nam o PHP trong functions.php (filter
    woocommerce_cart_needs_shipping -> false; web khong tinh ship,
    shop bao phi qua dien thoai). Muc 18 moi o day: o nhap thanh
    toan cao toi thieu 44px de cham, nhan dam ro, cot don hang lam
    ro ten + goi trong luong + so luong, dong tong cong noi bat
    xanh che dam, nut "Dat hang" to va dai het chieu ngang cot;
    dong thong bao duoi nut doi dinh dang o muc 15 thanh dong chu
    nho (va doi ca cau chu + vi tri in o PHP: ngay duoi nut dat).
   File nay duoc enqueue sau assets/hadim.css (chi khi WooCommerce dang bat)
   de khong phai dong vao file CSS bien dich Tailwind.
   Mau chu dao: xanh che #0D4726, xanh phu #5A6E5F, nen kem #FAF8F0.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Dau trang: logo gon hon + bot dem doc, header dinh khong chiem man hinh
   -------------------------------------------------------------------------- */
.hadim-site-header .hadim-site-logo {
    height: 60px;
    max-height: 64px;
    width: auto;
}

.hadim-site-header .hadim-main-navigation > div {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

@media (max-width: 640px) {
    .hadim-site-header .hadim-site-logo {
        height: 40px;
        max-height: 44px;
    }
}

/* --------------------------------------------------------------------------
   2. Nut ve dau trang: dinh vi an toan, khong bi cat o mep phai
   (truoc day #hadim-to-top khong co CSS dinh vi o bat ky dau trong theme)
   -------------------------------------------------------------------------- */
#hadim-to-top {
    position: fixed !important;
    right: 1.25rem !important;
    bottom: 2rem !important;
    z-index: 90;
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    background: #ffffff;
    color: #0D4726;
    border: 1px solid #e3dfc9;
    box-shadow: 0 4px 14px rgba(13, 71, 38, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

#hadim-to-top.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#hadim-to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 767px) {
    /* Tren mobile day nut len tren thanh CTA dinh o day man hinh */
    #hadim-to-top {
        right: 1rem !important;
        bottom: 5.5rem !important;
    }
}

/* --------------------------------------------------------------------------
   3. Khung noi dung trang ban hang: DONG BO dung chieu rong header/footer.
   Header (header.php) va footer (footer.php) deu dung khung Tailwind
   max-w-screen-xl = --breakpoint-xl = 80rem = 1280px, dem ngang px-4
   (1rem), tu breakpoint 2xl (>=1536px) thi px-0.
   Ban 1.1.3 tung tu dat 1200px (theo .hadim-container cua cac khoi noi
   dung trang chu trong style.css) nen trang san pham hep hon header/footer
   80px va lech dem ngang (1.5rem so voi 1rem). Ban 1.1.6 sua ve 1280px +
   dem ngang giong het header/footer, ap dung cho ca wrapper san pham —
   va vi tab mo ta, 2 the thong tin, san pham lien quan deu nam trong
   #primary nen tu dong cung khung.
   -------------------------------------------------------------------------- */
body.single-product #primary,
body.woocommerce-page #primary {
    max-width: 1280px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 1rem 2.5rem;
    box-sizing: border-box;
}

@media (min-width: 1536px) {
    /* Khop 2xl:px-0 cua header/footer */
    body.single-product #primary,
    body.woocommerce-page #primary {
        padding-left: 0;
        padding-right: 0;
    }
}

/* --------------------------------------------------------------------------
   4. An sidebar widget mac dinh o cac trang ban hang
   (trang san pham/cua hang da go hook woocommerce_sidebar bang PHP;
    day la lop CSS du phong cho gio hang/thanh toan/tai khoan va danh muc)
   -------------------------------------------------------------------------- */
body.single-product #secondary,
body.post-type-archive-product #secondary,
body.tax-product_cat #secondary,
body.tax-product_tag #secondary,
body.woocommerce-cart #secondary,
body.woocommerce-checkout #secondary,
body.woocommerce-account #secondary {
    display: none;
}

/* --------------------------------------------------------------------------
   5. Trang chi tiet san pham: 2 cot can doi
   Cot anh toi da ~500px, bo goc nhe, vien mong.
   v1.1.8: BO khung vuong 1:1 — anh hien DAY DU theo ti le goc, khong cat:
   anh rong 100% theo chieu rong cot, chieu cao TU DONG theo ti le anh goc,
   object-fit: contain (phong khi co rule khac an chieu cao thi anh van nam
   tron trong khung, khong bi cat canh nao). Khung chua khong ep chieu cao:
   flex-viewport cua FlexSlider hay bi JS gan chieu cao co dinh theo anh
   dau tien — ep height: auto !important de khung theo dung anh dang hien.
   -------------------------------------------------------------------------- */
body.single-product.woocommerce div.product div.images {
    width: 44%;
    max-width: 500px;
}

body.single-product.woocommerce div.product div.summary {
    width: 52%;
}

body.single-product .woocommerce-product-gallery .flex-viewport {
    height: auto !important;
    border: 1px solid #e3dfc9;
    border-radius: 12px;
}

body.single-product .woocommerce-product-gallery img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs {
    margin-top: 0.6rem;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
    height: auto;
    border-radius: 8px;
}

@media (max-width: 860px) {
    body.single-product.woocommerce div.product div.images,
    body.single-product.woocommerce div.product div.summary {
        width: 100%;
        float: none;
    }

    body.single-product.woocommerce div.product div.images {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.5rem;
    }
}

/* Tieu de + gia (v1.1.5: tieu de ha xuong 1.5rem cho can doi, khong qua to) */
body.single-product div.product .product_title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #0D4726;
    font-size: 1.45rem;
    font-weight: 700;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
    color: #9ca3af;
    font-size: 1rem;
    font-weight: 400;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   6. Nut Woo chinh: nen xanh che dam #0D4726, chu trang, hover #09331b
   v1.1.4: TANG DO UU TIEN — ban 1.1.3 dung selector ".woocommerce a.button"
   (khong !important) nen chua thang duoc CSS mac dinh cua WooCommerce
   11.3.1, nut "Them vao gio hang" tren web that con mau xanh la nhat (sage).
   Ban 1.1.4-1.1.8 dung selector "body .woocommerce ..." kem !important cho
   mau nen, mau chu va mau vien; bao phu nut them gio (ke ca
   .single_add_to_cart_button), nut thanh toán (a.checkout-button,
   #place_order) va nut cap nhat gio (button.button).
   v1.1.9: SUA NGUYEN NHAN GOC — mau "body .woocommerce ..." ( dau cach)
   DOI HOI mot phan tu .woocommerce NAM TRONG body, nhung tren trang san
   pham class "woocommerce" nam tren CHINH the <body> (body class gom
   "woocommerce woocommerce-page single-product ..."), khong co phan tu
   con nao mang class woocommerce bao quanh nut. Vi vay moi rule nut tu
   1.1.4 den 1.1.8 KHONG BAO GIO khop phan tu that, du co !important —
   nut giu mau tim mac dinh cua Woo. Nay doi sang "body.woocommerce ..."
   (ghep class tren cung the body) va ghi them dang ".woocommerce ..."
   cho nut them vao gio de chac an. Gia san pham dung #0D4726 tu 1.1.3
   (muc 5, selector ".woocommerce div.product ..." khop vi body la to
   tien) nen sau ban nay nut cung tong xanh dam voi gia va logo.
   -------------------------------------------------------------------------- */
body.woocommerce a.button,
body.woocommerce button.button,
body.woocommerce input.button,
body.woocommerce #respond input#submit,
body.woocommerce a.button.alt,
body.woocommerce button.button.alt,
body.woocommerce input.button.alt,
body.woocommerce .single_add_to_cart_button,
body.single-product.woocommerce button.single_add_to_cart_button,
.woocommerce .single_add_to_cart_button,
body.woocommerce a.checkout-button,
body.woocommerce #place_order {
    background-color: #0D4726 !important;
    color: #ffffff !important;
    border-color: #0D4726 !important;
    border-radius: 10px;
    font-weight: 600;
}

body.woocommerce a.button:hover,
body.woocommerce button.button:hover,
body.woocommerce input.button:hover,
body.woocommerce #respond input#submit:hover,
body.woocommerce a.button.alt:hover,
body.woocommerce button.button.alt:hover,
body.woocommerce input.button.alt:hover,
body.woocommerce .single_add_to_cart_button:hover,
body.single-product.woocommerce button.single_add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button:hover,
body.woocommerce a.checkout-button:hover,
body.woocommerce #place_order:hover {
    background-color: #09331b !important;
    border-color: #09331b !important;
    color: #ffffff !important;
}

body.woocommerce button.button.alt.disabled,
body.woocommerce button.button.alt:disabled,
body.woocommerce button.button.alt:disabled[disabled],
body.woocommerce button.button:disabled[disabled] {
    background-color: #0D4726 !important;
    color: #ffffff !important;
    opacity: 0.65;
}

/* Thong bao Woo (them gio thanh cong...) dung mau che thay mau mac dinh */
.woocommerce-message {
    border-top-color: #0D4726;
}

.woocommerce-message::before {
    color: #0D4726;
}

/* --------------------------------------------------------------------------
   7. Hop chon bien the + o so luong: vien gon, cao vua, khong keo qua rong
   -------------------------------------------------------------------------- */
.woocommerce div.product form.cart .variations select {
    width: 100%;
    max-width: 300px;
    height: 44px;
    padding: 0 0.6rem;
    border: 1px solid #d8d3bf;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.woocommerce div.product form.cart .quantity .qty {
    width: 76px;
    height: 44px;
    border: 1px solid #d8d3bf;
    border-radius: 8px;
    text-align: center;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.woocommerce div.product form.cart .button {
    height: 44px;
    padding: 0 1.5rem;
    line-height: 1;
}

/* --------------------------------------------------------------------------
   8. Hop cam ket duoi nut gio hang (noi dung in bang PHP trong functions.php)
   Lap khoang trong cot thong tin ben phai anh.
   -------------------------------------------------------------------------- */
.hadim-product-commitments {
    margin-top: 1.1rem;
    background: #f6f3e8;
    border: 1px solid #e3dfc9;
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
}

.hadim-product-commitments p {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0 0 0.5rem;
    font-size: 0.93rem;
    line-height: 1.5;
    color: #374151;
}

.hadim-product-commitments p:last-child {
    margin-bottom: 0;
}

.hadim-commit-check {
    color: #0D4726;
    font-weight: 700;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   9. Tab mo ta: tieu de tab mau che; panel trai day khung chung 1280px.
   (Ban 1.1.3 gioi han panel 820px cho de doc; ban 1.1.6 bo gioi han nay
   de khu vuc tab cung chieu rong voi wrapper/header/footer theo yeu cau
   dong bo — canh trai/phai cua tab thang hang voi chan trang.)
   -------------------------------------------------------------------------- */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: #5A6E5F;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #0D4726;
}

.woocommerce div.product .woocommerce-tabs .panel {
    max-width: 100%;
    line-height: 1.75;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: 1.25rem;
    color: #0D4726;
    margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   10. The san pham (trang cua hang + san pham lien quan + khoi san pham
       o trang chu): dong bo voi the san pham trang chu.
   v1.1.8: khung anh cao co dinh 220px + object-fit: contain tren nen
   trang am #FDFDFA — luoi the van deu nhau nhung anh nam TRON trong
   khung, khong bi cat (anh ti le khac khung se co khoang dem nen trang
   am o tren/duoi hoac hai ben, chap nhan duoc). Ap dung chung cho ca
   trang cua hang, san pham lien quan/upsell va khoi [products] o trang
   chu vi cung dung chung markup ul.products cua Woo.
   v1.1.14: THE PHAI DEU NHAU + ANH THEO TI LE TU NHIEN (user chup man
   hinh that chi ra 2 loi: ten dai 2 dong / ten ngan 1 dong lam gia va
   nut "Chon" moi the mot cao do; khung anh ep 220px cua 1.1.8 khong
   con dung y user — anh phai hien dung ti le file goc):
   - Bo height 220px + object-fit o anh the: anh rong 100% theo cot,
     cao TU DONG theo ti le file (giong cach muc 5 xu ly anh trang chi
     tiet o 1.1.8), chi giu nen trang am + bo goc.
   - ul.products thanh flex + flex-wrap: Woo mac dinh xep the bang
     float (moi the mot chieu cao doc lap). Flex item khong ke thua
     float/clear nen cot khong vo — width % + margin tung cot cua Woo
     giu nguyen, the trong cung mot hang tu gian CAO BANG NHAU nho
     align-items: stretch mac dinh cua flex. (Khong dung height:100%
     cho li: voi flex-wrap nhieu hang, % tinh theo chieu cao TOAN BO
     ul se lam the cao bang ca luoi — stretch theo tung hang moi dung.)
   - li.product thanh flex column; the <a> boc anh + tieu de + gia
     (a.woocommerce-LoopProduct-link) thanh flex column + flex:1 de
     chiem het phan chieu cao con lai cua the.
   - Tieu de giu DUNG 2 DONG cho moi the: min-height = 2 x line-height
     (1rem x 1.4 x 2 = 2.8em), kem line-clamp 2 chan ten qua dai pha the.
   - Gia co margin-top:auto -> tu day xuong day vung noi dung (ngay
     tren nut); nut .button la flex item cuoi cua the + margin-top co
     dinh -> gia va nut thang hang giua cac the trong cung hang.
   - Mobile: CSS smallscreen cua Woo dat li width 48% (2 cot) — flex
     wrap tu xu ly, cac rule tren khong phu thuoc so cot nen van deu.
   v1.1.19: BO NUT "Chon" khoi the (functions.php go hook in nut khoi
   woocommerce_after_shop_loop_item) — gia tro thanh phan tu CUOI the:
   the <a> LoopProduct-link van flex:1 va .price van margin-top:auto
   nen gia nam sat day vung noi dung, thang hang giua cac the cung
   hang nhu truoc. Rule .button ben duoi khong con khop phan tu nao
   trong luoi — giu lai vo hai, phong khi nut duoc bat lai sau nay.
   -------------------------------------------------------------------------- */
.woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
}

.woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e8e4d2;
    border-radius: 12px;
    padding: 1rem;
    box-sizing: border-box;
}

/* The <a> boc anh, tieu de va gia: gian het phan con lai cua the de
   margin-top:auto cua gia day gia xuong sat nut o day the. */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.woocommerce ul.products li.product a img {
    width: 100%;
    height: auto;
    background: #FDFDFA;
    border-radius: 8px;
    margin-bottom: 0.8rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1rem;
    line-height: 1.4;
    color: #1f2937;
    padding: 0 0 0.3rem;
    /* Giu dung chieu cao 2 dong du ten ngan (1 dong) hay dai (2 dong) */
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.woocommerce ul.products li.product .price {
    color: #0D4726;
    font-weight: 700;
    font-size: 1.05rem;
    /* Day gia xuong day vung noi dung, ngay tren nut Chon */
    margin-top: auto;
}

.woocommerce ul.products li.product .button {
    /* Nut la muc cuoi cua the flex column: thang hang giua cac the
       cung hang nho the cao bang nhau + gia da day xuong day */
    align-self: flex-start;
    margin-top: 0.75rem;
}

.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 {
    font-size: 1.35rem;
    color: #0D4726;
    margin: 2rem 0 1rem;
}

/* --------------------------------------------------------------------------
   11. Menu chinh (v1.1.4): CSS TUONG MINH, khong phu thuoc utility Tailwind

   Chan doan (chi tiet trong CHANGELOG-v1.1.4.md):
   - header.php in <ul class="hadim-nav-menu hidden lg:!flex">: viec xep
     ngang tren desktop phu thuoc hoan toan vao utility "lg:!flex" cua file
     CSS bien dich; style.css lai dinh san cho .hadim-nav-menu giao dien
     THE (nen #f9fafb, vien, bo goc, dem) ma khong co display:flex nao.
     Khi utility khong ap dung duoc tren web that, <ul> roi ve display:block
     -> cac muc xep doc trong khung the, dung hinh user chup.
   - JS (assets/hadim.js) chi lam 2 viec: nut #hadim-menu-button bat/tat
     class "hidden" tren <ul> + doi aria-expanded; submenu mobile la
     accordion bang class "open" (tren <li>) va "show" (tren .sub-menu).
     CSS duoi day khop dung co che do, khong sua JS, khong doi HTML.

   File nay (woo.css) chi tai khi WooCommerce dang bat — dung tinh trang
   shop hien tai (giong cac sua header o muc 1 cua ban 1.1.3).
   -------------------------------------------------------------------------- */

/* --- Desktop >=1024px: MOT HANG NGANG, khong nen the / khong vien / khong bong --- */
@media (min-width: 1024px) {
    .hadim-site-header .hadim-nav-menu-container {
        flex: 0 1 auto;
        min-width: 0;
        background: transparent;
    }

    .hadim-site-header ul.hadim-nav-menu {
        display: flex !important; /* thang ca class "hidden" dang dinh tren <ul> */
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.15rem;
        margin: 0;
        padding: 0;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .hadim-site-header .hadim-nav-menu > li {
        flex: 0 1 auto;
        min-width: 0;
    }

    .hadim-site-header .hadim-nav-menu > li > a {
        font-size: 15px;
        padding: 0.5rem 0.6rem;
        white-space: nowrap;
    }

    /* Submenu desktop: tha xuong khi hover (co che san co trong style.css),
       chi doi nen sang trang am + vien mong dong bo shop */
    .hadim-site-header .hadim-nav-menu .sub-menu {
        background: #FDFDFA;
        border: 1px solid #e3dfc9;
        border-radius: 12px;
    }

    /* Nut hamburger chi dung o man hinh <1024px */
    .hadim-site-header #hadim-menu-button {
        display: none !important;
    }
}

/* --- Mobile <1024px: an mac dinh; khi JS mo -> panel doc gon duoi header --- */
@media (max-width: 1023.5px) {
    .hadim-site-header .hadim-nav-menu-container {
        position: absolute;
        top: calc(100% + 8px);
        left: 1rem;
        right: 1rem;
        z-index: 130;
    }

    .hadim-site-header ul.hadim-nav-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
        margin: 0;
        padding: 0.5rem;
        background: #FDFDFA;
        border: 1px solid #e3dfc9;
        border-radius: 12px;
        box-shadow: 0 12px 32px rgba(13, 71, 38, 0.16);
    }

    /* JS dong menu bang cach them class "hidden" vao <ul> */
    .hadim-site-header ul.hadim-nav-menu.hidden {
        display: none !important;
    }

    .hadim-site-header .hadim-nav-menu > li > a {
        padding: 0.65rem 0.8rem;
        font-size: 0.95rem;
        color: #374151;
    }

    /* Accordion submenu mobile: JS bat class "show" tren .sub-menu
       (kem class "open" tren <li>); mac dinh an, khong dung absolute */
    .hadim-site-header .hadim-nav-menu .sub-menu {
        position: static;
        display: none;
        min-width: 0;
        margin: 0;
        background: rgba(13, 71, 38, 0.04);
        border: none;
        border-radius: 8px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0.25rem 0 0.25rem 1rem;
    }

    .hadim-site-header .hadim-nav-menu .sub-menu.show {
        display: block;
    }
}

/* --------------------------------------------------------------------------
   12. (v1.1.5) Huy hieu san pham + tinh chinh cot thong tin va breadcrumb
   - Hang huy hieu (noi dung in bang PHP: hadim_product_badges, summary
     uu tien 15 — giua gia va mo ta ngan): 3 nhan vien thuoc vien xanh che.
   - Breadcrumb: nho lai, nhat hon, bot chiem cho phia tren trang.
   - Cot thong tin: khoang cach giua cac khoi deu nhau hon.
   -------------------------------------------------------------------------- */
.hadim-product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.35rem 0 0.9rem;
}

.hadim-product-badge {
    display: inline-block;
    padding: 0.28rem 0.7rem;
    border: 1px solid #0D4726;
    border-radius: 9999px;
    background: rgba(13, 71, 38, 0.05);
    color: #0D4726;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
}

body.single-product .woocommerce-breadcrumb {
    font-size: 0.85rem;
    color: #8a927f;
    margin-bottom: 1.1rem;
}

body.single-product .woocommerce-breadcrumb a {
    color: #5A6E5F;
}

body.single-product .woocommerce-breadcrumb a:hover {
    color: #0D4726;
}

/* Khoang cach deu trong cot thong tin (summary) */
body.single-product div.product div.summary p.price,
body.single-product div.product div.summary span.price {
    margin: 0.35rem 0 0.75rem;
}

body.single-product div.product .woocommerce-product-details__short-description {
    line-height: 1.65;
    color: #374151;
    margin-bottom: 1.1rem;
}

body.single-product div.product form.cart {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

body.single-product div.product .product_meta {
    font-size: 0.88rem;
    color: #5A6E5F;
}

/* --------------------------------------------------------------------------
   13. (v1.1.5) Hai the thong tin sau tab mo ta: "Cach pha che ngon" va
   "Dong goi va giao hang" (noi dung in bang PHP:
   hadim_product_info_cards, sau tab, truoc upsell/san pham lien quan).
   Hai the canh nhau trong khung chung (1280px, da dong bo voi
   header/footer tu 1.1.6); mobile xep doc.
   -------------------------------------------------------------------------- */
.hadim-product-info-cards {
    clear: both;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 2rem 0 0.5rem;
}

.hadim-info-card {
    background: #FDFDFA;
    border: 1px solid #e3dfc9;
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
    box-sizing: border-box;
}

.hadim-info-card-title {
    color: #0D4726;
    font-size: 1.1rem;
    line-height: 1.35;
    margin: 0 0 0.85rem;
}

/* Danh sach buoc pha che: so tron xanh che */
.hadim-steps {
    list-style: none;
    counter-reset: hadim-step;
    margin: 0;
    padding: 0;
}

.hadim-steps li {
    counter-increment: hadim-step;
    position: relative;
    padding-left: 2.15rem;
    margin-bottom: 0.7rem;
    line-height: 1.6;
    color: #374151;
    font-size: 0.95rem;
}

.hadim-steps li:last-child {
    margin-bottom: 0;
}

.hadim-steps li::before {
    content: counter(hadim-step);
    position: absolute;
    left: 0;
    top: 0.12rem;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 9999px;
    background: #0D4726;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Danh sach dong goi/giao hang: dau tich xanh che nhu hop cam ket */
.hadim-pack-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hadim-pack-list li {
    position: relative;
    padding-left: 1.55rem;
    margin-bottom: 0.7rem;
    line-height: 1.6;
    color: #374151;
    font-size: 0.95rem;
}

.hadim-pack-list li:last-child {
    margin-bottom: 0;
}

.hadim-pack-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #0D4726;
    font-weight: 700;
}

@media (max-width: 700px) {
    .hadim-product-info-cards {
        grid-template-columns: 1fr;
        margin-top: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   14. (v1.1.10) Trang GIO HANG: nut thanh toan, bang gio, anh thu nho
   Sau 1.1.9 nut them gio (trang san pham) va nut Chon (trang cua hang) da
   xanh che dung chuan, rieng trang gio con 4 loi:
   (a) Nut "Tien hanh thanh toan" (a.checkout-button.button.alt.wc-forward
       trong .cart_totals .wc-proceed-to-checkout) tren web that van nen
       gan den than, chu xanh dam — rule muc 6 (body.woocommerce
       a.checkout-button, ca ban trong hadim-critical-css) chua thang
       duoc tren trang nay. Ban nay ep rieng bang selector cuc manh
       (chua ca .woocommerce-cart + .woocommerce-page + day du chuoi to
       tien .cart_totals .wc-proceed-to-checkout + du bo class cua nut)
       va khai ca shorthand "background" lan "background-color", deu
       !important; dong thoi ghi them mot ban giong het trong
       hadim-critical-css (wp_head 999) lam lop phu thu hai.
   (b) Tieu de cot bang ("SAN PHAM", "TONG") mau hong dam #9d174d do
       thua rule ".entry-content thead th, .entry-content table th"
       trong style.css (mau theme hoa goc). Selector duoi day manh hon
       han (0,3,2 so voi 0,1,2) + !important cho mau chu: doi ve xanh
       che #0D4726, giu nen kem nhe #FAF8F0.
   (c) Cot "Tong" sat/cat mep phai: mot phan do rule ".entry-content
       table { min-width: 640px }" (style.css) ep bang rong toi thieu
       trong khi cot chua form gio hep hon (trang gio cua Woo chia form
       va .cart_totals), bang tran khoi khung ma khong co cho cuon.
       O day bo min-width cho bang gio, khoa width 100% + box-sizing,
       bo ca min-width 110px ma rule goc ep cho cot thu 4, va can le
       phai day du cho cot Tong ca o tieu de lan o du lieu.
   (d) O anh thu nho trong bang trong rong: khong co CSS nao cua theme
       an anh (da grep "product-thumbnail"/"thumbnail" trong style.css
       va file nay — sach); kha nang file co anh mac dinh
       'woocommerce_thumbnail' cua muc gio khong duoc sinh/khong ton
       tai. Da co filter PHP woocommerce_cart_item_thumbnail trong
       functions.php ep xuat anh co 'medium' (khong cat); CSS duoi day
       chi dinh kich thuoc hien thi: o 96px, anh 80px, cao tu dong theo
       ti le goc.
   -------------------------------------------------------------------------- */

/* --- 14a. Nut "Tien hanh thanh toan": xanh che dam, chu trang --- */
body.woocommerce-cart.woocommerce.woocommerce-page .woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button.button.alt.wc-forward,
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout a.checkout-button {
    background: #0D4726 !important;
    background-color: #0D4726 !important;
    color: #ffffff !important;
    border-color: #0D4726 !important;
}

body.woocommerce-cart.woocommerce.woocommerce-page .woocommerce .cart_totals .wc-proceed-to-checkout a.checkout-button.button.alt.wc-forward:hover,
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
    background: #09331b !important;
    background-color: #09331b !important;
    color: #ffffff !important;
    border-color: #09331b !important;
}

/* --- 14b + 14c. Bang gio: mau tieu de cot, khong tran, cot Tong thoang --- */
body.woocommerce-cart .woocommerce table.shop_table.cart {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    box-sizing: border-box;
}

body.woocommerce-cart .woocommerce table.shop_table th,
body.woocommerce-cart .woocommerce table.shop_table td {
    min-width: 0;
    padding: 0.8rem 0.9rem;
    box-sizing: border-box;
    vertical-align: middle;
}

body.woocommerce-cart .woocommerce table.shop_table thead th,
body.woocommerce-cart .woocommerce table.shop_table th {
    background: #FAF8F0;
    background-color: #FAF8F0;
    color: #0D4726 !important;
    border-color: #DCE5DA;
    white-space: normal;
    text-align: left;
}

body.woocommerce-cart .woocommerce table.shop_table th.product-total,
body.woocommerce-cart .woocommerce table.shop_table td.product-total,
body.woocommerce-cart .woocommerce table.shop_table td.product-subtotal {
    text-align: right;
    padding-right: 1rem;
}

/* --- 14d. Anh thu nho trong bang gio: luon co mat, ti le tu nhien --- */
body.woocommerce-cart .woocommerce table.shop_table td.product-thumbnail {
    width: 96px;
}

body.woocommerce-cart .woocommerce table.shop_table td.product-thumbnail img {
    display: block;
    width: 80px;
    max-width: 80px;
    height: auto;
    border-radius: 8px;
}

/* --- Mobile: form gio cuon ngang trong khung chua, bang khong vo --- */
@media (max-width: 768px) {
    body.woocommerce-cart .woocommerce-cart-form {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }

    body.woocommerce-cart .woocommerce table.shop_table.cart {
        min-width: 540px;
    }
}

/* --------------------------------------------------------------------------
   15. Trang THANH TOAN gon (v1.1.11): dong bao phi van chuyen + o dien
   rong thoang. Cac o ho ten / dien thoai / email / dia chi da duoc ep
   class form-row-wide (rong ca hang) tu filter PHP
   hadim_simplify_checkout_fields trong functions.php.
   v1.1.22: dong thong bao doi vi tri in — khong con la hop kem o
   cot thong tin khach, ma la MOT DONG CHU NHO ngay duoi nut "Dat
   hang" trong #payment (PHP in qua woocommerce_review_order_after_
   submit, cau da hop nhat ca y goi xac nhan don lan bao phi ship).
   Muc nay dinh dang lai dong do thanh chu nho gon, bo khung hop cu.
   Selector theo bai hoc 1.1.9: class woocommerce-checkout nam tren
   chinh the body — dung "body.woocommerce-checkout ...".
   -------------------------------------------------------------------------- */
body.woocommerce-checkout .hadim-checkout-ship-note {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0.75rem 0 0;
    text-align: center;
}

body.woocommerce-checkout .woocommerce-billing-fields .form-row {
    margin-bottom: 0.9rem;
}

/* --------------------------------------------------------------------------
   16. v1.1.12 — HAI LOI MAU CON SOT O TRANG THANH TOAN / CAM ON
   (a) Nut "Dat hang" (#place_order) VAN TIM mac dinh cua Woo du muc 6
       va hadim-critical-css da co rule cho #place_order tu 1.1.9.
       Nguyen nhan: moi rule do deu treo vao "body.woocommerce ..." —
       nhung trang thanh toan co dien la MOT TRANG WORDPRESS THUONG
       chua shortcode [woocommerce_checkout], khong phai trang
       is_woocommerce(). WooCommerce chi gan class "woocommerce" len
       <body> o cac trang is_woocommerce() (cua hang / danh muc / chi
       tiet san pham); o trang thanh toan, body chi co
       "woocommerce-checkout" + "woocommerce-page", con class
       "woocommerce" nam o the DIV boc noi dung ben trong. Vi vay
       "body.woocommerce #place_order" khong khop bat ky phan tu nao
       tren trang thanh toan — cung mot ho loi selector voi vu nut
       gio hang 1.1.9, chi khac trang. Mau tim con lai la rule goc cua
       WooCommerce (.woocommerce button.button.alt, nen #7f54b3,
       specificity 0,3,1, khong !important): no thang theo mac dinh vi
       chang co rule theme nao cham duoc toi nut tren trang nay.
       Bang chung noi bo: muc 15 phai dung "body.woocommerce-checkout"
       moi chay; muc 14a o trang gio thang nho selector hau due
       "body.woocommerce-cart .woocommerce ..." (khong phu thuoc
       body.woocommerce).
       Cach sua: selector neo vao nhung gi that su co tren trang
       thanh toan — body.woocommerce-checkout, div.woocommerce boc
       ngoai, form.checkout va #payment (div chua nut) — kem ca
       shorthand "background" lan "background-color", deu !important.
       Mot ban giong het nam trong hadim-critical-css (wp_head 999).
   (b) Nhan hang (th) trong bang "Don hang cua ban" o trang thanh
       toan va bang chi tiet don o trang cam on (order-received) van
       do/hong #9d174d: rule thua tu theme goc trong style.css —
       ".entry-content table th { color:#9d174d }" (0,1,2). Override
       muc 14b chi phu trang gio (body.woocommerce-cart) nen hai bang
       nay chua duoc phu. O day mo rong override theo dung mau 14b
       sang trang thanh toan (bang order review + bang order_details
       cua trang cam on — trang cam on dung chung trang thanh toan
       nen body co ca "woocommerce-order-received") va trang tai
       khoan, cong mot selector tong quat cho moi bang shop_table:
       mau chu ve xanh che #0D4726 tren nen kem #FAF8F0.
   -------------------------------------------------------------------------- */

/* --- 16a. Nut "Dat hang": xanh che dam, chu trang --- */
body.woocommerce-checkout .woocommerce #payment #place_order,
body.woocommerce-checkout form.checkout #payment #place_order,
.woocommerce form.checkout #payment #place_order,
.woocommerce #payment #place_order,
#place_order {
    background: #0D4726 !important;
    background-color: #0D4726 !important;
    color: #ffffff !important;
    border-color: #0D4726 !important;
}

body.woocommerce-checkout .woocommerce #payment #place_order:hover,
body.woocommerce-checkout .woocommerce #payment #place_order:focus,
.woocommerce form.checkout #payment #place_order:hover,
.woocommerce form.checkout #payment #place_order:focus,
.woocommerce #payment #place_order:hover,
.woocommerce #payment #place_order:focus,
#place_order:hover,
#place_order:focus {
    background: #09331b !important;
    background-color: #09331b !important;
    color: #ffffff !important;
    border-color: #09331b !important;
}

/* --- 16b. Nhan hang (th) bang don hang: het do/hong, ve xanh che --- */
body.woocommerce-checkout .woocommerce table.shop_table thead th,
body.woocommerce-checkout .woocommerce table.shop_table th,
body.woocommerce-account .woocommerce table.shop_table thead th,
body.woocommerce-account .woocommerce table.shop_table th,
.woocommerce table.shop_table thead th,
.woocommerce table.shop_table th {
    background: #FAF8F0;
    background-color: #FAF8F0;
    color: #0D4726 !important;
    border-color: #DCE5DA;
    white-space: normal;
}

/* --------------------------------------------------------------------------
   17. O mo ta phuong thuc thanh toan (.payment_box) — v1.1.13
   Woo mac dinh cho o nay nen xam tim nhat (#dfdcde): o hien cau "Tra tien
   mat khi giao hang." ngay duoi dong chon COD o trang thanh toan. Doi nen
   ve kem #FAF8F0 va mau chu ve mau chu thuong cua theme (#1f2937), kem
   mui ten ::before phia tren o (Woo ve bang border-bottom) cho cung mau.
   Selector neo dung cau truc trang thanh toan co dien nhu muc 16a:
   body.woocommerce-checkout + div.woocommerce boc ngoai + #payment;
   selector manh nhat chua 1 ID nen thang rule mac dinh cua Woo ma khong
   can !important, va pham vi chi trong #payment nen khong anh huong
   cac khoi khac.
   -------------------------------------------------------------------------- */
body.woocommerce-checkout .woocommerce #payment .payment_box,
.woocommerce #payment .payment_box {
    background-color: #FAF8F0;
    color: #1f2937;
}

body.woocommerce-checkout .woocommerce #payment .payment_box::before,
.woocommerce #payment .payment_box::before {
    border-bottom-color: #FAF8F0;
}

/* --------------------------------------------------------------------------
   18. v1.1.22 — CAI THIEN TRANG THANH TOAN: de dien tren dien thoai,
   cot don hang ro rang, nut dat hang lon.
   Nguyen tac: chi CSS tren cau truc checkout co dien mac dinh cua
   Woo (theme khong chep de template checkout) — selector neo vao
   body.woocommerce-checkout + div.woocommerce nhu muc 16/17.
   (a) O nhap: cao toi thieu 44px cho de cham, rong het chieu ngang
       o (cac o da form-row-wide tu filter PHP), nhan dam va cach o
       vua phai. (b) Cot "Don hang cua ban": ten san pham + dong goi
       trong luong (dl.variation cua Woo) doc ro, dong Tong cong noi
       bat xanh che dam. Hang van chuyen khong con nua do filter PHP
       woocommerce_cart_needs_shipping — bang khong de dong thua.
   (c) Nut "Dat hang": mau da chot o muc 16a; muc nay them kich
       thuoc — dai het chieu ngang cot chua no, chu to, cao 52px.
   (d) Bo cuc: may tinh giu 2 cot cua Woo, chi gon khoang cach tieu
       de muc; dien thoai ep mot cot chac chan (Woo von xep mot cot,
       day la lop chot de khong theme/plugin nao lam lech).
   -------------------------------------------------------------------------- */

/* --- 18a. O nhap de cham + nhan ro rang --- */
body.woocommerce-checkout .woocommerce form.checkout .form-row label {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

body.woocommerce-checkout .woocommerce form.checkout .form-row input.input-text,
body.woocommerce-checkout .woocommerce form.checkout .form-row select,
body.woocommerce-checkout .woocommerce form.checkout .form-row textarea {
    border-radius: 8px;
    box-sizing: border-box;
    min-height: 44px;
    padding: 0.6rem 0.8rem;
    width: 100%;
}

body.woocommerce-checkout .woocommerce form.checkout .form-row textarea {
    min-height: 76px;
}

/* --- 18b. Tieu de cac muc gon lai --- */
body.woocommerce-checkout .woocommerce form.checkout h3,
body.woocommerce-checkout .woocommerce #order_review_heading {
    font-size: 1.15rem;
    margin: 0 0 0.8rem;
}

/* --- 18c. Cot don hang: ten + goi + so luong ro, tong cong noi bat --- */
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table .product-name {
    font-weight: 500;
    line-height: 1.5;
}

body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table .product-name .variation {
    color: #5A6E5F;
    font-size: 0.88rem;
    font-weight: 400;
    margin: 0.15rem 0 0;
}

body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table .product-name .variation dt,
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table .product-name .variation dd {
    display: inline-block;
    float: none;
    margin: 0;
}

body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table .product-name .variation dd p {
    display: inline;
}

body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table .order-total th,
body.woocommerce-checkout .woocommerce table.woocommerce-checkout-review-order-table .order-total td {
    border-top: 2px solid #0D4726;
    color: #0D4726;
    font-size: 1.15rem;
    font-weight: 700;
}

/* --- 18d. Nut "Dat hang" to, dai het chieu ngang cot --- */
body.woocommerce-checkout .woocommerce #payment #place_order,
body.woocommerce-checkout form.checkout #payment #place_order {
    border-radius: 10px;
    float: none;
    font-size: 1.05rem;
    font-weight: 700;
    min-height: 52px;
    padding: 0.95rem 1.5rem;
    width: 100%;
}

/* --- 18e. Dien thoai: mot cot gon, cac khoi cach nhau vua phai --- */
@media (max-width: 768px) {
    body.woocommerce-checkout .woocommerce form.checkout #customer_details,
    body.woocommerce-checkout .woocommerce #order_review_heading,
    body.woocommerce-checkout .woocommerce #order_review {
        clear: both;
        float: none;
        width: 100%;
    }

    body.woocommerce-checkout .woocommerce #order_review_heading {
        margin-top: 1.4rem;
    }
}

/* --------------------------------------------------------------------------
   19. v1.1.24 — Nut bam chon goi (trong luong) thay o select cua Woo
   JS (assets/woo-variations.js) dung mot hang nut ngay cho o select cu;
   select goc chi an bang class truy cap .hadim-sw-hidden (van o trong DOM
   de logic variation_form cua Woo doc gia tri nhu binh thuong).
-------------------------------------------------------------------------- */
.hadim-sw-hidden {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
}

form.variations_form .hadim-swatches {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

form.variations_form .hadim-sw-btn {
    align-items: center;
    background: #fff;
    border: 1.5px solid #b9c8b9;
    border-radius: 10px;
    color: inherit;
    cursor: pointer;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    font: inherit;
    justify-content: center;
    line-height: 1.25;
    min-height: 48px;
    padding: 8px 6px;
    text-align: center;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

form.variations_form .hadim-sw-btn:hover {
    border-color: #0D4726;
}

form.variations_form .hadim-sw-btn:focus-visible {
    outline: 2px solid #0D4726;
    outline-offset: 2px;
}

form.variations_form .hadim-sw-btn .hadim-sw-name {
    font-size: 1rem;
    font-weight: 700;
}

form.variations_form .hadim-sw-btn .hadim-sw-price {
    font-size: 0.85rem;
    margin-top: 2px;
    opacity: 0.85;
}

/* Goi dang chon: Mau B (user chot 29/11/2026) — nen kem, vien xanh che
   dam 2.5px, chu xanh dam + dau tich o goc tren ben phai */
form.variations_form .hadim-sw-btn.is-active {
    background: #FAF8F0;
    border: 2.5px solid #0D4726;
    color: #0D4726;
    font-weight: 700;
    position: relative;
}

form.variations_form .hadim-sw-btn.is-active .hadim-sw-price {
    font-weight: 700;
    opacity: 1;
}

/* Dau tich goc tren ben phai cua nut dang chon. Nut la flex column, chu
   nam giua nut nen dau tich o goc khong de len chu gia/trong luong. */
form.variations_form .hadim-sw-btn.is-active::after {
    color: #0D4726;
    content: "✓";
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    position: absolute;
    right: 6px;
    top: 2px;
}

/* Goi het hang: mo di, khong bam duoc */
form.variations_form .hadim-sw-btn.is-out,
form.variations_form .hadim-sw-btn:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

/* Dien thoai hep: van mot hang 3 nut co deu, chu nho lai mot bac */
@media (max-width: 480px) {
    form.variations_form .hadim-swatches {
        gap: 6px;
    }

    form.variations_form .hadim-sw-btn {
        padding: 7px 3px;
    }

    form.variations_form .hadim-sw-btn .hadim-sw-name {
        font-size: 0.95rem;
    }

    form.variations_form .hadim-sw-btn .hadim-sw-price {
        font-size: 0.8rem;
    }
}

/* --------------------------------------------------------------------------
   20. v1.1.26 — Khu vuc chon goi xep chong gon + an lien ket "Xoa"
   Bang bien the cua Woo la table hai cot (nhan o trai, gia tri o phai)
   khien hang nut bi day sang phai, chua khoang trong lon o giua, nut
   khong trai het chieu ngang cot tom tat. Doi hang bien the sang dang
   xep chong bang CSS thuan (nhan thanh mot dong rieng phia tren, o gia
   tri full width ngay duoi) — khong chep de template cua Woo.
   Pham vi: chi trang san pham (body.single-product), noi duy nhat co
   bang bien the va nut chon goi cua theme; san pham don gian khong co
   bang nay nen khong bi anh huong.
   v1.1.27: SUA SELECTOR CHET — ban 1.1.26 viet cac rule muc nay dang
   "body.single-product .woocommerce div.product ..." (buoc hau due
   ".woocommerce"), doi hoi mot phan tu con mang class woocommerce
   nam trong body. Tren trang san pham class "woocommerce" nam NGAY
   TREN the body (body co class "single-product ... woocommerce
   woocommerce-page ... theme-hadim") va khong co div boc nao mang
   class do, nen toan bo muc 20 khong khop phan tu nao (cung goc loi
   voi vu nut tim 1.1.13 va ghi chu o muc 16). Nay doi sang dang ghep
   class tren cung the body "body.single-product.woocommerce
   div.product ..." — cung dang muc 5 dang dung cho trang san pham
   (div.images / div.summary) va da chay dung tu truoc. Noi dung cac
   rule giu nguyen, chi sua selector.
-------------------------------------------------------------------------- */
body.single-product.woocommerce div.product form.cart table.variations {
    display: block;
    width: 100%;
    margin-bottom: 0.75rem;
}

body.single-product.woocommerce div.product form.cart table.variations tbody,
body.single-product.woocommerce div.product form.cart table.variations tr {
    display: block;
    width: 100%;
}

/* Nhan "Trong luong": mot dong rieng phia tren, cach hang nut ~8px.
   Woo mac dinh de line-height 2em cho o nhan lam dong nhan cao thua —
   ha ve 1.4 cho gon. */
body.single-product.woocommerce div.product form.cart table.variations td.label,
body.single-product.woocommerce div.product form.cart table.variations th.label {
    display: block;
    line-height: 1.4;
    margin-bottom: 8px;
    padding: 0;
    width: 100%;
}

/* O gia tri chua hang nut: full width de 3 nut trai het chieu ngang */
body.single-product.woocommerce div.product form.cart table.variations td.value {
    display: block;
    line-height: 1.4;
    padding: 0;
    width: 100%;
}

body.single-product form.variations_form .hadim-swatches {
    width: 100%;
}

/* An han lien ket "Xoa" (reset_variations cua Woo): khach doi goi bang
   cach cham nut khac, goi 500g luon duoc chon san nen trang thai
   "chua chon" khong can toi; an de tranh khach lon tuoi bam nham lam
   mat lua chon va mo nut mua. JS cua Woo doi visibility cua lien ket
   nay bang style inline nen phai dung display:none !important moi
   an dut duoc. Co che reset trong JS (woo-variations.js) giu nguyen,
   chi an phan tu hien thi nay. */
body.single-product.woocommerce div.product form.cart a.reset_variations {
    display: none !important;
}

/* --------------------------------------------------------------------------
   21. v1.1.30 — Tuy chon GOI QUA o trang thanh toan + thong tin goi
   qua o trang cam on / chi tiet don cua khach.
   Hai truong moi do PHP them vao nhom 'order' cua
   woocommerce_checkout_fields (functions.php): o tich
   .hadim-gift-wrap-field va o loi nhan .hadim-gift-message-field,
   in cung khu vuc ghi chu don hang. Trang thanh toan la trang
   shortcode nen selector dung dang hau due
   "body.woocommerce-checkout .woocommerce ..." nhu muc 16/17/18
   (da kiem chung song) — KHONG ap dung bai hoc selector cua trang
   san pham o muc 20 vao day.
   -------------------------------------------------------------------------- */

/* --- 21a. O tich goi qua: hop kem nhe de khach thay ngay la mot tuy
   chon rieng; o vuong 22px + nhan dam cho de cham, de doc. Muc 18a
   khong dinh vao o nay vi no chi nham input.input-text/select/
   textarea, con o tich cua Woo la input.input-checkbox. --- */
body.woocommerce-checkout .woocommerce form.checkout .hadim-gift-wrap-field {
    background: #FAF8F0;
    border: 1px solid #e3dfc9;
    border-radius: 10px;
    margin-top: 1rem;
    padding: 0.8rem 1rem;
}

body.woocommerce-checkout .woocommerce form.checkout .hadim-gift-wrap-field label.checkbox {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-weight: 600;
    gap: 0.6rem;
    margin: 0;
}

body.woocommerce-checkout .woocommerce form.checkout .hadim-gift-wrap-field input.input-checkbox {
    accent-color: #0D4726;
    flex-shrink: 0;
    height: 22px;
    margin: 0;
    min-height: 22px;
    width: 22px;
}

/* --- 21b. O loi nhan thiep: muc 18a da cho textarea cao toi thieu
   76px va rong het o; o nay chi can mot nuoc thoang hon vi loi nhan
   thuong ngan. --- */
body.woocommerce-checkout .woocommerce form.checkout .hadim-gift-message-field textarea {
    min-height: 64px;
}

/* --- 21c. Khoi thong tin goi qua o trang cam on va trang xem don
   trong tai khoan (HTML do hadim_gift_info_html() in sau bang chi
   tiet don): nen kem nhat cung gam hop cam ket muc 8, chu vua phai,
   khong lan at bang don. Hai trang nay deu la trang shortcode/trang
   tai khoan nen dung class rieng cua theme, khong neo vao body. --- */
.hadim-order-gift-info {
    background: #f6f3e8;
    border: 1px solid #e3dfc9;
    border-radius: 12px;
    margin: 1rem 0;
    padding: 0.9rem 1.1rem;
}

.hadim-order-gift-info p {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 0.4rem;
}

.hadim-order-gift-info p:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   22. Huy hieu khuyen mai "-X%" (v1.1.32): trang tri lai span.onsale
   cua Woo cho dung nhan dien shop.

   Chan doan: v1.1.31 da doi chu huy hieu thanh phan tram bang filter
   woocommerce_sale_flash, nhung kieu dang van la mac dinh cua Woo:
   tron xanh o-liu (#77a464, chu trang). Rieng o the san pham, rule
   vong lap cua Woo dat margin -0.5em o goc phai tren nen huy hieu
   tran ra nua ngoai the va bi mep the cat mat mot phan (user che
   chua dep). Muc nay chi la CSS cua theme — khong sua file goc Woo,
   khong chep de template Woo.

   Cau truc that va specificity (khong can !important o dau):
   - The san pham: dung lai tien to ".woocommerce ul.products
     li.product" nhu cac rule the o tren (da kiem chung song), cong
     them "span" truoc .onsale thanh (0,5,3) — thang rule vong lap
     cua Woo ".woocommerce ul.products li.product .onsale" (0,4,2)
     va rule goc ".woocommerce span.onsale" (0,2,1); CSS theme van
     nap sau CSS Woo nen cang chac.
   - Trang san pham don: class woocommerce nam ngay tren the body
     (bai hoc 1.1.13/1.1.27) nen selector gan chuoi
     "body.single-product.woocommerce ..." (0,4,3), thang rule goc
     cua Woo (0,2,1).
   - Diem neo vi tri: o the, huy hieu neo theo li.product (CSS layout
     cua Woo da dat position:relative cho li); o trang san pham, neo
     theo khung anh. Dat le 10px + margin 0 la huy hieu nam tron ben
     trong goc anh, khong tran ra ngoai, khong bi cat.

   Cap nhat v1.1.37 (theo mau ruoubiangoai.vn cua chinh user — trang
   Flatsome dung huy hieu tron do tuoi #ed1c24, chu trang dam, goc
   tren-TRAI anh): user che huy hieu vang goc phai xau, nen doi nen
   sang do #ed1c24 + chu trang, va chuyen huy hieu o the san pham tu
   goc phai sang goc TRAI cho thong nhat ca hai vi tri. Hinh tron,
   duong kinh 52px, bong mem va noi dung "-X%" giu nguyen.

   Cap nhat v1.1.39 (user van che "xau", bao lam Y HET mau ben kia):
   do truc tiep CSS Flatsome cua ruoubiangoai.vn thi mau khac ban
   1.1.37 o bon diem — vong tron 2.8em theo co chu bao quanh (khong
   phai 52px co dinh) nen chu ~1em trong rat "day" vong; chu dam
   "bolder" voi line-height .85; vong tron TREO RA NGOAI mep trai
   anh -.4em va cach dinh anh 30px; va KHONG co bong. Muc 22d ben
   duoi ghi de dung bon diem nay, giu nguyen mau do #ed1c24 va noi
   dung "-X%".

   Cap nhat v1.1.40 (user bao nhin truc tiep ruoubiangoai.vn: huy
   hieu ben do DAU CO TRON — va dung la khong tron): soi lai tan
   goc thi trang do dung Flatsome + theme con TU TUY BIEN, chinh
   theme con da ghi de huy hieu tron mac dinh cua Flatsome thanh
   NHAN CHU NHAT NHO o muc "BADGE SALE (goc tren trai - do)" trong
   CSS cua ho. Hai ban 1.1.37/1.1.39 sai vi chi do CSS Flatsome goc
   ma khong thay lop ghi de cua theme con. So do that cua nhan:
   chu nhat bo goc 4px, nen do #ed1c24, chu trang, font-weight 700,
   font-size 11px, padding 4px 8px, min-width 38px, chu can giua;
   vi tri goc tren-TRAI cach mep tren va mep trai anh dung 8px, nam
   gon TRONG anh (khong treo ra ngoai, khong bong). Muc 22e ben
   duoi ghi de toan bo 22a-22d theo dung cac so nay.
   -------------------------------------------------------------------------- */

/* --- 22a. Kieu chung ca hai vi tri: tron do tuoi #ed1c24 (mau
   ruoubiangoai.vn, v1.1.37 — truoc v1.1.32 la vang goi che #C9A227),
   chu trang #FFFFFF dam de doc, duong kinh 52px du cho ca dang
   "-25%" sau nay, bong nhe cho noi khoi anh. Woo goc cho
   min-width/min-height 3.236em va padding .202em — muc nay dat lai
   ca ba ve 52px/0 de tron deu. --- */
.woocommerce ul.products li.product span.onsale,
body.single-product.woocommerce div.product span.onsale {
    align-items: center;
    background-color: #ed1c24;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(13, 71, 38, 0.28);
    color: #FFFFFF;
    display: flex;
    font-size: 0.9rem;
    font-weight: 700;
    height: 52px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    min-height: 52px;
    min-width: 52px;
    padding: 0;
    width: 52px;
}

/* --- 22b. The san pham (cua hang, khoi san pham trang chu, san pham
   lien quan): goc TRAI tren, lui vao trong 10px (v1.1.37 chuyen tu
   goc phai sang trai theo mau ruoubiangoai.vn; dat ca left:10px va
   right:auto de huy can phai mac dinh cua Woo) — thay cho margin am
   -0.5em mac dinh cua Woo lam tran huy hieu. --- */
.woocommerce ul.products li.product span.onsale {
    left: 10px;
    right: auto;
    top: 10px;
}

/* --- 22c. Trang san pham don: giu phia TRAI tren cua anh nhu mac
   dinh Woo, chi lui vao trong 10px cho tron ven trong anh. --- */
body.single-product.woocommerce div.product span.onsale {
    left: 10px;
    top: 10px;
}

/* --- 22d. Chinh lai theo so do that cua mau Flatsome ruoubiangoai.vn
   (v1.1.39) — ghi de 22a/22b/22c o tren, cung selector nen thang
   nho thu tu nap sau trong file, khong can !important:
   - Kich thuoc: vong tron 2.8em x 2.8em tinh theo font-size cua
     chinh huy hieu. Dat font-size: 1rem (bang co chu bao quanh
     ~1em nhu mau) nen vong ~44.8px va chu "-X%" 1rem chiem ti le
     lon trong vong nhu mau — ban 52px + chu 0.9rem cua 22a nhin
     "rong" la sai o diem nay. Woo goc dat min-width/min-height
     3.236em nen phai ghi de ca hai ve 2.8em.
   - Chu: trang (giu tu 22a), font-weight 800 (tuong duong "bolder"
     cua mau khi chu bao quanh dang 400), line-height .85 nhu mau.
   - Bong: bo han (box-shadow: none) — mau khong co bong; cai bong
     xanh rgba(13,71,38,.28) cua 22a la sai mau.
   - Vi tri the san pham: mau dat hop chua cach dinh anh 30px va
     keo vong tron sang trai -.4em cho treo nua ngoai mep trai anh.
     O the cua minh huy hieu neo theo li.product (padding-box),
     con anh nam lui vao trong dung bang padding the 1rem (muc 10,
     khong co ghi de mobile) — nen cong thuc theo mep ANH la:
     top: calc(1rem + 30px), left: calc(1rem - 0.4em). Vong tron
     theo do chi treo qua mep ANH, van nam tron trong vung padding
     cua the (16px - ~6.4px > 0) nen khong dung mep the.
   - Vi tri trang san pham don: diem neo (div.product / khung anh)
     trung mep trai + dinh anh (cot anh dung dau, sat dinh khung)
     nen dung thang so cua mau: top: 30px, left: -.4em.
   - Overflow: ra soat toan bo woo.css + style.css — KHONG rule nao
     dat overflow:hidden len li.product, the <a> boc anh, ul.products
     hay div.images/gallery (hai overflow:hidden trong woo.css la
     cua tieu de cat dong va class an truy cap, khong lien quan;
     style.css khong co rule san pham). Bo goc nam ngay tren chinh
     the img (muc 10: 8px; muc 5: 12px) nen khong lop boc nao can
     overflow:hidden de giu bo goc. Van dat overflow:visible tuong
     minh cho cac lop boc trong pham vi huy hieu de phong CSS cua
     Woo/FlexSlider co rule cat phan treo ra ngoai: rieng the <a>
     boc anh ma bi cat thi se an mat ~6.4px phan treo cua vong. --- */
.woocommerce ul.products li.product span.onsale,
body.single-product.woocommerce div.product span.onsale {
    box-shadow: none;
    font-size: 1rem;
    font-weight: 800;
    height: 2.8em;
    line-height: 0.85;
    min-height: 2.8em;
    min-width: 2.8em;
    width: 2.8em;
}

.woocommerce ul.products li.product span.onsale {
    left: calc(1rem - 0.4em);
    top: calc(1rem + 30px);
}

body.single-product.woocommerce div.product span.onsale {
    left: -0.4em;
    top: 30px;
}

.woocommerce ul.products li.product,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
body.single-product.woocommerce div.product div.images,
body.single-product.woocommerce div.product .woocommerce-product-gallery {
    overflow: visible;
}

/* --- 22e. Doi han sang NHAN CHU NHAT NHO theo CSS that cua theme
   con ruoubiangoai.vn (v1.1.40) — ghi de toan bo 22a/22b/22c/22d o
   tren, dung lai dung selector nen thang nho thu tu nap sau trong
   file, khong can !important. Phai liet ke du moi thuoc tinh con
   sot cua kieu tron cu de khong thuoc tinh nao lot qua:
   - border-radius: 50% (22a) -> 4px nhu mau.
   - width/height 52px (22a) roi 2.8em (22d) -> auto; min-width/
     min-height 52px (22a) roi 2.8em (22d) -> min-width 38px nhu
     mau, min-height 0 (go ca min-height 3.236em mac dinh cua Woo).
   - font-size 0.9rem (22a) roi 1rem (22d) -> 11px nhu mau;
     font-weight 800 cua 22d -> 700 nhu mau; line-height .85 cua
     22d -> 1.2.
   - padding 0 (22a) -> 4px 8px nhu mau; box-shadow: none (giu tu
     22d, mau khong co bong); nen #ed1c24 + chu trang giu nguyen
     (da dung tu 22a) nhung ghi lai cho du bo.
   - display:flex + align-items/justify-content:center cua 22a giu
     nguyen de chu can giua ca hai chieu trong nhan; them
     text-align:center cho chac.
   - Vi tri: cong thuc calc/treo -.4em + top 30px cua 22d -> top
     8px, left 8px o ca hai vi tri nhu mau (nhan nam gon trong anh,
     cach deu mep tren va mep trai anh 8px). O the san pham huy
     hieu neo theo li.product con anh lui vao bang padding the 1rem
   (muc 10) — mau khong co lop padding nay nen so 8px cua mau tinh
   tu mep anh; o day giu nguyen diem neo va cong thuc hien co cua
   theme: top/left tinh tu mep the cong them dung 8px thay cho
   30px/-.4em cua 22d, tuc top: calc(1rem + 8px), left: calc(1rem
   + 8px) — quy ve mep anh van dung 8px nhu mau. Trang san pham
   don diem neo trung mep anh nen dung thang 8px/8px. --- */
.woocommerce ul.products li.product span.onsale,
body.single-product.woocommerce div.product span.onsale {
    background-color: #ed1c24;
    border-radius: 4px;
    box-shadow: none;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    height: auto;
    line-height: 1.2;
    min-height: 0;
    min-width: 38px;
    padding: 4px 8px;
    text-align: center;
    width: auto;
}

.woocommerce ul.products li.product span.onsale {
    left: calc(1rem + 8px);
    right: auto;
    top: calc(1rem + 8px);
}

body.single-product.woocommerce div.product span.onsale {
    left: 8px;
    top: 8px;
}

/* --------------------------------------------------------------------------
   23. Khoang cach luoi san pham (v1.1.33): rut gon khoang cach giua
   cac the o Cua hang + khoi [products] trang chu + san pham lien quan.

   Chan doan co che khoang cach TRUOC ban nay:
   - Muc 10 (v1.1.14) chi doi ul.products thanh flex + flex-wrap va
     li.product thanh flex column; theme KHONG dat gap cho ul va
     KHONG dat margin/width cho li — comment o muc 10 ghi ro "width %
     + margin tung cot cua Woo giu nguyen".
   - Khoang cach vi the den tu CSS layout cua Woo
     (woocommerce-layout.css, rule ".woocommerce ul.products
     li.product" va cac rule theo cot ".woocommerce.columns-N ..."):
     margin: 0 3.8% 2.992em 0; width: 22.05% (luoi 4 cot). Quy ra
     khung chua 1280px cua shop: khoang ngang ~3.8% x ~1250px ~ 47px,
     khoang doc 2.992em ~ 48px — dung con so user thay "cach xa qua"
     trong anh chup desktop 4 the mot hang. Tren dien thoai,
     woocommerce-smallscreen.css ep li width 48% (2 cot), margin
     duoi van 2.992em.
   - Vi ul da la flex (muc 10) nen float/clear cua Woo khong con tac
     dung, nhung margin va width % cua li van ap dung nguyen ven —
     do la toan bo khoang cach hien tai.

   Cach lam cua muc nay (chi CSS theme, khong sua file goc Woo,
   khong chep de template):
   - Chuyen khoang cach tu margin cua tung the sang "gap" cua ul:
     gap 16px desktop (ngang va doc deu 16px), 12px tren dien thoai.
   - margin cua li dua ve 0 (bo ca le phai 3.8% lan le duoi 2.992em
     cua Woo) de khong cong don hai co che.
   - Width moi cua li tinh theo cong thuc tru gap: (100% - (N-1) x
     gap) / N cho tung so cot N ma ul mang class columns-N (markup
     loop-start cua Woo in class nay cho ca cua hang, shortcode
     [products] va san pham lien quan); rule mac dinh khong kem class
     cot = cong thuc 4 cot nhu hien trang shop. The rong ra tuong
     ung (4 cot o khung ~1250px: tu ~276px len ~300px) — chap nhan
     duoc, dung y user muon gon khoang trang.
   - flex: 0 0 <width> (flex-basis) de the khong bi flex co gian
     lam lech cong thuc khi gap + width cong lai dung 100%.

   Specificity (khong dung !important):
   - ".woocommerce ul.products" (0,2,1) dat gap: Woo khong dat gap
     cho ul.products nen khong co rule nao can thang.
   - ".woocommerce ul.products li.product" (0,3,2) dat margin 0 +
     width mac dinh: bang specificity rule layout cua Woo (0,3,2)
     nhung CSS theme nap SAU CSS Woo nen thang; rule nay cung la
     dung selector muc 10 da kiem chung song.
   - ".woocommerce ul.products.columns-N li.product" (0,4,2): cao
     hon cac rule theo cot cua Woo (".woocommerce.columns-N
     ul.products li.product" cung (0,4,2) nhung nap truoc theme).
   - Dien thoai: Woo smallscreen ep 2 cot bang chinh selector
     (0,3,2) trong media max-width 768px; khoi media cua muc nay
     liet ke ca selector columns-N (0,4,2) de thang ca rule desktop
     cua chinh theme o tren (cung specificity nhung xep sau trong
     file) — moi the dung cong thuc 2 cot tru gap 12px.
   -------------------------------------------------------------------------- */

/* --- 23a. Desktop: gap 16px, bo margin Woo, width theo so cot --- */
.woocommerce ul.products {
    gap: 16px;
}

.woocommerce ul.products li.product {
    margin: 0;
    width: calc((100% - 48px) / 4);
    flex: 0 0 calc((100% - 48px) / 4);
}

.woocommerce ul.products.columns-2 li.product {
    width: calc((100% - 16px) / 2);
    flex: 0 0 calc((100% - 16px) / 2);
}

.woocommerce ul.products.columns-3 li.product {
    width: calc((100% - 32px) / 3);
    flex: 0 0 calc((100% - 32px) / 3);
}

.woocommerce ul.products.columns-4 li.product {
    width: calc((100% - 48px) / 4);
    flex: 0 0 calc((100% - 48px) / 4);
}

.woocommerce ul.products.columns-5 li.product {
    width: calc((100% - 64px) / 5);
    flex: 0 0 calc((100% - 64px) / 5);
}

.woocommerce ul.products.columns-6 li.product {
    width: calc((100% - 80px) / 6);
    flex: 0 0 calc((100% - 80px) / 6);
}

/* --- 23b. Dien thoai (<=768px): Woo smallscreen ep 2 cot — gap
   12px, moi the (100% - 12px) / 2. Liet ke ca selector columns-N
   de thang rule desktop cua muc 23a trong cung file. --- */
@media (max-width: 768px) {
    .woocommerce ul.products {
        gap: 12px;
    }

    .woocommerce ul.products li.product,
    .woocommerce ul.products.columns-2 li.product,
    .woocommerce ul.products.columns-3 li.product,
    .woocommerce ul.products.columns-4 li.product,
    .woocommerce ul.products.columns-5 li.product,
    .woocommerce ul.products.columns-6 li.product {
        width: calc((100% - 12px) / 2);
        flex: 0 0 calc((100% - 12px) / 2);
    }
}

/* --- 23c. Tat phan tu gia ::before / ::after cua Woo tren luoi
   san pham (bo sung v1.1.34). CSS cua Woo (woocommerce-layout.css
   va woocommerce.css) co rule di san clearfix thoi float:
     .woocommerce ul.products::before { content: " "; display: table }
     .woocommerce ul.products::after  { content: " "; display: table;
                                        clear: both }
   Khi ul la block/float thi phan tu gia vo hinh, nhung tu v1.1.14
   ul.products cua theme la FLEX container: phan tu gia tro thanh
   MOT MON FLEX THAT. ::before chiem vi tri dau hang 1 cong mot
   khe gap 16px -> hang 1 lech phai ~16px va chi con cho cho 3
   the (the thu 4 bi day xuong hang 2); hang 2 khong co phan tu
   gia nen du 4 the — dung hien tuong da kiem chung tren web that.
   display: none lam phan tu gia khong tao hop nen khong the la
   flex item. ::after (clear: both) trong flex khong con y nghia:
   flex item khong float va container flex tu chua dung chieu cao
   cac hang, khong can clearfix — tat ca hai cho dong bo va tranh
   ::after cung thanh mot flex item o cuoi luoi sau nay.
   Specificity: selector duoi day (0,2,2) bang dung rule cua Woo
   (0,2,2) nhung CSS theme nap SAU CSS Woo nen thang — khong can
   !important. Pham vi: moi ul.products (cua hang, shortcode
   [products] trang chu, san pham lien quan — cung markup). --- */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}
