/* =========================================================================
   TRANG CHỦ V2 — chỉ nạp khi vsetp_home_v2_mode() khác rỗng.
   Mọi quy tắc đều nằm trong #etp-home nên không ảnh hưởng trang khác và
   luôn thắng .vs-scope của theme cha. Dùng font sẵn có, không tải thêm.
   ========================================================================= */
#etp-home {
    --ink: #16382a;
    --body: #465b50;
    --green: #00813f;
    --forest: #124c32;
    --mint: #edf5ee;
    --sand: #f5ecd8;
    --clay: #f0dcc4;
    --sage: #d9ebdc;
    --sun: #f7c948;
    --line: #d5e2d8;
    --r: 20px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    color: var(--body);
    background: #fff;
    overflow-x: clip;
}
#etp-home [id] { scroll-margin-top: 110px; }
#etp-home img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; mix-blend-mode: multiply; }
#etp-home h1, #etp-home h2, #etp-home h3, #etp-home h4 { margin: 0; color: var(--ink); text-wrap: balance; }
#etp-home h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
#etp-home h2::after { content: none; }
#etp-home h3 { font-size: 1.0625rem; line-height: 1.4; font-weight: 700; }
#etp-home p { margin: 0; }
#etp-home a { color: inherit; text-decoration: none; }
#etp-home :is(a, button, summary, .eh-prods, .eh-cats, .eh-why, .eh-price):focus-visible { outline: 3px solid #e09b00; outline-offset: 3px; }

/* --- Dùng chung --- */
#etp-home .eh-sec { padding-block: clamp(3.25rem, 7vw, 6rem); }
#etp-home .eh-sec--tight { padding-top: 0; }
#etp-home .eh-sec--mint { background: var(--mint); }
#etp-home .eh-sec--mint + .eh-sec--tight { padding-top: clamp(3.25rem, 7vw, 6rem); }
#etp-home .eh-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
#etp-home .eh-head--stack { display: block; max-width: 40rem; }
#etp-home .eh-head--stack p { margin-top: .75rem; }
#etp-home .eh-arrow { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
#etp-home a:hover .eh-arrow { transform: translateX(4px); }
#etp-home .eh-more { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--green); font-weight: 600; }
#etp-home .eh-center { margin-top: 2.25rem; text-align: center; }
#etp-home .eh-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 50px; padding: .7rem 1.5rem; border: 1.5px solid transparent; border-radius: 12px;
    font: inherit; font-weight: 700; line-height: 1.25; white-space: nowrap; cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
#etp-home .eh-btn:active { transform: translateY(1px); }
#etp-home .eh-btn--fill { background: var(--green); color: #fff; }
#etp-home .eh-btn--fill:hover { background: var(--forest); }
#etp-home .eh-btn--line { border-color: var(--green); color: var(--green); background: #fff; }
#etp-home .eh-btn--line:hover { background: var(--green); color: #fff; }
#etp-home .eh-btn--sun { background: var(--sun); color: #17321f; }
#etp-home .eh-btn--sun:hover { background: #ffdb73; }
#etp-home .eh-btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
#etp-home .eh-btn--ghost:hover { background: #fff; color: var(--forest); }
#etp-home .eh-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
#etp-home .eh-tags a { display: inline-flex; align-items: center; min-height: 36px; padding: .3rem .75rem; border-radius: 8px; background: rgba(255, 255, 255, .13); font-size: .875rem; line-height: 1.3; transition: background-color .2s; }
#etp-home .eh-tags a:hover { background: rgba(255, 255, 255, .25); }
#etp-home .eh-tags--dark a { background: var(--mint); color: #006b34; font-weight: 600; }
#etp-home .eh-tags--dark a:hover { background: var(--sage); }
#etp-home .eh-plus { position: relative; flex: none; width: 20px; height: 20px; color: var(--green); }
#etp-home .eh-plus::before, #etp-home .eh-plus::after { content: ""; position: absolute; inset: 9px 1px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
#etp-home .eh-plus::after { transform: rotate(90deg); }
#etp-home details[open] > summary .eh-plus::after { transform: rotate(0); }
#etp-home summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; }
#etp-home summary::-webkit-details-marker { display: none; }
#etp-home .eh-nav { display: none; }

/* --- 1. Banner --- */
#etp-home .eh-hero { position: relative; overflow: hidden; padding-block: clamp(2rem, 4vw, 3.5rem) clamp(5.5rem, 9vw, 8rem); background: linear-gradient(112deg, #fbf6e9 0%, #f3f6e6 48%, #dcefe1 100%); }
#etp-home .eh-sprig { position: absolute; left: -46px; bottom: -70px; width: 250px; fill: none; stroke: #8dc7a1; stroke-width: 2; opacity: .6; }
#etp-home .eh-hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(2rem, 4vw, 4rem); }
#etp-home .eh-kicker { margin-bottom: .9rem; color: #006b34; font-weight: 700; }
#etp-home h1 { font-size: clamp(2.1rem, 4.3vw, 3.5rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 700; }
#etp-home h1 em { display: block; color: var(--green); font-style: normal; }
#etp-home h1 span { display: inline-block; white-space: nowrap; }
#etp-home .eh-lead { max-width: 33rem; margin-top: 1.25rem; font-size: 1.0625rem; line-height: 1.7; }
#etp-home .eh-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
#etp-home .eh-stage { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(5, 80px); gap: 14px; }
#etp-home .eh-tile { overflow: hidden; border-radius: 26px; }
#etp-home .eh-tile img { transition: transform .8s var(--ease); }
#etp-home .eh-tile:hover img { transform: scale(1.05); }
#etp-home .eh-tile--a { grid-area: 1 / 1 / 4 / 4; background: var(--clay); border-radius: 130px 130px 26px 26px; }
#etp-home .eh-tile--b { grid-area: 1 / 4 / 4 / 7; background: #cfe8d5; border-radius: 26px 110px 26px 26px; }
#etp-home .eh-tile--c { grid-area: 4 / 1 / 6 / 3; background: #f8e3a3; }
#etp-home .eh-tile--d { grid-area: 4 / 3 / 6 / 5; background: var(--sand); }
#etp-home .eh-tile--e { grid-area: 4 / 5 / 6 / 7; background: #bddfc8; border-radius: 26px 26px 110px 26px; }

/* --- 2. Ba lối vào --- */
#etp-home .eh-paths { position: relative; margin-top: -58px; }
#etp-home .eh-paths__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
#etp-home .eh-path { display: grid; grid-template-columns: minmax(0, 1fr) 118px; min-height: 138px; overflow: hidden; border-radius: var(--r); background: #fff; box-shadow: 0 14px 34px -18px rgba(18, 76, 50, .42); transition: transform .35s var(--ease), box-shadow .35s; }
#etp-home .eh-path:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -18px rgba(18, 76, 50, .5); }
#etp-home .eh-path__t { display: flex; flex-direction: column; justify-content: center; padding: 1.1rem 0 1.1rem 1.35rem; font-size: .9375rem; line-height: 1.5; }
#etp-home .eh-path__t strong { color: var(--ink); font-size: 1.125rem; }
#etp-home .eh-path__t .eh-arrow { margin-top: .6rem; color: var(--green); }
#etp-home .eh-path__img { overflow: hidden; margin-left: .75rem; background: var(--sage); }
/* Khung đứng thấy cả góc trên ảnh: phóng nhẹ để không lẹm nửa logo */
#etp-home :is(.eh-path__img, .eh-partner__img) img { transform: scale(1.3); transform-origin: 50% 75%; }
#etp-home .eh-path:nth-child(2) .eh-path__img { background: #f8e3a3; }
#etp-home .eh-path:nth-child(3) .eh-path__img { background: var(--clay); }

/* --- 3. Danh mục --- */
#etp-home .eh-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
#etp-home .eh-cat { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: var(--sage); }
#etp-home .eh-cat--ba-mia-sinh-hoc { background: var(--sand); }
#etp-home .eh-cat--khac { background: #faecc0; }
#etp-home .eh-cat__img { aspect-ratio: 1; overflow: hidden; }
#etp-home .eh-cat__img img { transition: transform .8s var(--ease); }
#etp-home .eh-cat:hover img { transform: scale(1.05); }
#etp-home .eh-cat__t { display: flex; flex: 1; flex-direction: column; gap: .4rem; padding: .5rem 1.5rem 1.5rem; color: #3b5145; }
#etp-home .eh-cat__t strong { color: var(--ink); font-size: 1.3rem; line-height: 1.3; letter-spacing: -.01em; }
#etp-home .eh-cat__n { display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: .6rem; color: #006b34; font-weight: 700; }

/* --- 4. Sản phẩm --- */
#etp-home .eh-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
#etp-home .eh-chip { min-height: 44px; padding: .5rem 1.1rem; border: 1px solid #b9d3c0; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: .9375rem; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s; }
#etp-home .eh-chip[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: #fff; }
#etp-home .eh-prods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem 1.1rem; }
#etp-home .eh-prod.is-off { display: none; }
#etp-home .eh-prod a { display: block; }
#etp-home .eh-prod__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; background: #fff; }
#etp-home .eh-prod__img img { mix-blend-mode: normal; transition: transform .7s var(--ease); }
#etp-home .eh-prod a:hover img { transform: scale(1.045); }
#etp-home .eh-prod__g { display: block; margin-top: .9rem; color: #006b34; font-size: .875rem; }
#etp-home .eh-prod a:hover h3 { color: var(--green); }

/* --- 5. Vì sao chọn --- */
#etp-home .eh-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
#etp-home .eh-why__i { display: flex; gap: 1rem; padding: 1.75rem 1.25rem; }
#etp-home .eh-why__i + .eh-why__i { border-left: 1px solid var(--line); }
#etp-home .eh-why svg { flex: none; width: 40px; height: 40px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#etp-home .eh-why p { margin-top: .3rem; font-size: .9375rem; line-height: 1.6; }

/* --- 6. Bảng báo giá theo nhóm --- */
#etp-home .eh-sec--forest { background: var(--forest); color: #d8eadf; }
#etp-home .eh-sec--forest :is(h2, h3) { color: #fff; }
#etp-home .eh-price { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto repeat(4, auto) auto; gap: 0 1.1rem; }
/* subgrid: các hàng của 3 cột luôn thẳng nhau dù chữ dài ngắn khác nhau */
#etp-home .eh-col { display: grid; grid-row: span 6; grid-template-rows: subgrid; padding: 1.6rem; border-radius: var(--r); background: #1b6041; }
#etp-home .eh-col h3 { padding-bottom: 1.1rem; font-size: 1.25rem; }
#etp-home .eh-row { padding-block: 1rem; border-top: 1px solid rgba(255, 255, 255, .18); }
#etp-home .eh-row h4 { margin-bottom: .45rem; color: var(--sun); font-size: .9375rem; line-height: 1.4; font-weight: 600; }
#etp-home .eh-row p { color: #eef7f1; line-height: 1.6; }
#etp-home .eh-row a { color: #fff; }
#etp-home .eh-col .eh-btn { align-self: end; margin-top: .75rem; }

/* --- 7. Giải pháp theo ngành --- */
#etp-home .eh-inds { display: grid; gap: .8rem; }
#etp-home .eh-ind { border-radius: var(--r); background: #fff; }
#etp-home .eh-ind summary { padding: 1.25rem 1.6rem; border-radius: var(--r); }
#etp-home .eh-ind__h { display: grid; gap: .15rem; }
#etp-home .eh-ind__h h3 { font-size: 1.2rem; }
#etp-home .eh-ind__b { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(1.25rem, 3vw, 2.75rem); padding: .25rem 1.6rem 1.6rem; }
#etp-home .eh-ind__b p { font-size: 1.0625rem; line-height: 1.7; }
#etp-home .eh-ind__b .eh-tags { margin-block: 1.1rem 1.5rem; }
#etp-home .eh-ind__img { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
#etp-home .eh-ind__img span { aspect-ratio: 1; overflow: hidden; border-radius: 16px; background: var(--sand); }
#etp-home .eh-ind__img span + span { background: var(--sage); }

/* --- 8. Quy trình --- */
#etp-home .eh-steps { counter-reset: s; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
#etp-home .eh-steps::before, #etp-home .eh-steps::after { content: ""; position: absolute; top: 23px; left: 0; right: calc((100% - 5rem) / 5 - 24px); height: 3px; border-radius: 3px; background: var(--line); }
#etp-home .eh-steps::after { background: var(--green); transform-origin: 0 50%; }
#etp-home .eh-steps li { counter-increment: s; position: relative; z-index: 1; }
#etp-home .eh-steps li::before { content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.1rem; border: 5px solid #fff; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; line-height: 1; }
#etp-home .eh-steps p { margin-top: .35rem; font-size: .9375rem; line-height: 1.6; }

/* --- 9. Hợp tác --- */
#etp-home .eh-partner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(1.5rem, 3.5vw, 3rem); border-radius: 28px; background: var(--sand); }
#etp-home .eh-partner p { margin-block: .9rem 1.6rem; line-height: 1.7; }
#etp-home .eh-partner__img { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
#etp-home .eh-partner__img span { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 100px 100px 16px 16px; background: #cfe8d5; }
#etp-home .eh-partner__img span:nth-child(2) { border-radius: 16px 16px 100px 100px; background: #ecd2b2; }
#etp-home .eh-partner__img span:nth-child(3) { background: #f7dc8c; }

/* --- 10. Hỏi đáp --- */
#etp-home .eh-faq { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(1rem, 4vw, 4rem); }
#etp-home .eh-ask { display: block; width: 100%; max-width: 320px; height: auto; margin-top: 1.25rem; }
#etp-home .eh-q { border-bottom: 1px solid var(--line); }
#etp-home .eh-q summary { min-height: 64px; padding-block: 1rem; }
#etp-home .eh-q > p { padding: 0 2.5rem 1.4rem 0; line-height: 1.7; }

/* --- 11. Liên hệ --- */
#etp-home .eh-contact { padding-block: clamp(3rem, 6vw, 5.5rem); background: var(--forest); color: #d8eadf; }
#etp-home .eh-contact h2 { color: #fff; }
#etp-home .eh-contact__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2rem, 4vw, 4rem); }
#etp-home .eh-contact__l > p { margin-top: .75rem; }
#etp-home .eh-art { display: block; width: 100%; max-width: 470px; height: auto; margin-block: 1.25rem; }
#etp-home .eh-direct { display: flex; flex-wrap: wrap; gap: .75rem; }
#etp-home .eh-hours { font-size: .9375rem; }
#etp-home .vs-form { margin: 0; padding: clamp(1.25rem, 2.5vw, 2.25rem); border: 0; border-radius: 24px; background: #fff; box-shadow: none; color: var(--body); }
#etp-home .vs-form :is(label, .vs-consent span) { color: var(--ink); }
#etp-home .vs-form .vs-consent { font-weight: 400; }
#etp-home .vs-form .req { color: #b3261e; }
#etp-home .vs-form .eh-btn { width: 100%; }
#etp-home .vs-form .eh-btn.is-loading { opacity: .65; pointer-events: none; }

/* =========================================================================
   CHUYỂN ĐỘNG — chỉ transform/opacity/nét vẽ. H1 và ảnh LCP không bị ẩn.
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
    #etp-home [data-rv] { transition: opacity .7s var(--ease) calc(var(--i, 0) * 70ms), transform .7s var(--ease) calc(var(--i, 0) * 70ms); }
    #etp-home [data-rv].eh-wait { opacity: 0; transform: translateY(26px); }
    /* Biểu trưng hỏi đáp: hai bong bóng bật ra lần lượt rồi vẽ dấu tích, chạy một lần. */
    #etp-home .eh-ask__b { transform-box: fill-box; transform-origin: 35% 100%; transition: transform .6s var(--ease) .2s; }
    #etp-home .eh-ask__b--a { transform-origin: 80% 100%; transition-delay: .45s; }
    #etp-home .eh-ask__ck { stroke-dasharray: 1; transition: stroke-dashoffset .5s var(--ease) .85s; }
    #etp-home .eh-wait .eh-ask__b { transform: scale(.55); }
    #etp-home .eh-wait .eh-ask__ck { stroke-dashoffset: 1; }

    #etp-home .eh-tile { animation: eh-rise 1s var(--ease) both; }
    #etp-home .eh-tile--b { animation-delay: .08s; }
    #etp-home .eh-tile--c { animation-delay: .16s; }
    #etp-home .eh-tile--d { animation-delay: .24s; }
    #etp-home .eh-tile--e { animation-delay: .32s; }
    #etp-home :is(.eh-sprig path, .eh-art__ck) { stroke-dasharray: 1; animation: eh-draw 1.8s var(--ease) both; }
    #etp-home .eh-sprig path:nth-child(n+2) { animation-delay: .5s; }

    #etp-home details[open] > :is(.eh-ind__b, p) { animation: eh-open .45s var(--ease) both; }
    #etp-home .eh-prod:not(.is-off) { animation: eh-open .45s var(--ease) both; }

    /* Cuộn tới đâu chạy tới đó, do trình duyệt xử lý, không tốn JS */
    @supports (animation-timeline: view()) {
        #etp-home .eh-steps::after { animation: eh-grow linear both; animation-timeline: view(); animation-range: entry 60% cover 55%; }
        #etp-home .eh-art__sheet { animation: eh-sheet linear both; animation-timeline: view(); animation-range: entry 10% cover 50%; }
        #etp-home .eh-art__ck { animation-timeline: view(); animation-range: cover 25% cover 45%; }
    }
}
@keyframes eh-rise { from { transform: translateY(28px); } }
@keyframes eh-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes eh-open { from { opacity: 0; transform: translateY(10px); } }
@keyframes eh-grow { from { transform: scaleX(0); } }
@keyframes eh-sheet { from { transform: translateY(34px); } }
@media print { #etp-home [data-rv].eh-wait { opacity: 1; transform: none; } }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
/* Dưới 1024px: tắt biểu mẫu, thay bằng nút gọi/Zalo */
@media (max-width: 1023px) {
    #etp-home .eh-contact__r { display: none; }
    #etp-home .eh-contact__in { grid-template-columns: 1fr; text-align: center; }
    #etp-home .eh-art { margin-inline: auto; }
    #etp-home .eh-direct { justify-content: center; }
    #etp-home .eh-hours { margin-top: .9rem; }
    #etp-home .eh-stage { grid-template-rows: repeat(5, 54px); gap: 10px; }
    #etp-home .eh-path { grid-template-columns: 1fr; }
    #etp-home .eh-path__t { padding-right: 1.35rem; }
    #etp-home .eh-path__img { display: none; }
    #etp-home .eh-prods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    #etp-home .eh-why { grid-template-columns: 1fr 1fr; }
    #etp-home .eh-why__i:nth-child(3) { border-left: 0; }
    #etp-home .eh-why__i:nth-child(n+3) { border-top: 1px solid var(--line); }
    #etp-home .eh-col { padding: 1.25rem; }
}

@media (max-width: 767px) {
    #etp-home .eh-hero { padding-block: 1.75rem 2rem; }
    #etp-home .eh-hero__in, #etp-home .eh-partner, #etp-home .eh-faq, #etp-home .eh-ind__b { grid-template-columns: minmax(0, 1fr); }
    #etp-home .eh-hero__in { gap: 1.75rem; }
    #etp-home .eh-lead { margin-top: .9rem; font-size: 1rem; }
    #etp-home .eh-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.25rem; }
    #etp-home .eh-actions .eh-btn { padding-inline: .5rem; }
    #etp-home .eh-stage { grid-template-rows: repeat(4, 62px); }
    #etp-home .eh-tile--a { grid-area: 1 / 1 / 5 / 5; border-radius: 120px 120px 22px 22px; }
    #etp-home .eh-tile--b { grid-area: 1 / 5 / 3 / 7; border-radius: 22px 60px 22px 22px; }
    #etp-home .eh-tile--c { grid-area: 3 / 5 / 5 / 7; border-radius: 22px 22px 60px 22px; }
    #etp-home :is(.eh-tile--d, .eh-tile--e) { display: none; }
    #etp-home :is(.eh-tile--b, .eh-tile--c) img { transform: scale(1.3); transform-origin: 50% 75%; }
    #etp-home .eh-sprig { display: none; }

    #etp-home .eh-paths { margin-top: 0; padding-top: 1rem; }
    #etp-home .eh-paths__in { grid-template-columns: 1fr; gap: 0; }
    #etp-home .eh-path { min-height: 0; overflow: visible; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
    #etp-home .eh-path:hover { transform: none; box-shadow: none; }
    #etp-home .eh-path__t { position: relative; padding: .85rem 2.5rem .85rem 0; }
    #etp-home .eh-path__t .eh-arrow { position: absolute; right: .25rem; top: 50%; margin: -10px 0 0; }

    /* Slider: cuộn ngang gốc của trình duyệt, hé thẻ kế tiếp để biết còn vuốt được */
    #etp-home [data-slider] {
        display: flex; gap: .85rem; margin-inline: -1rem; padding: 4px 1rem; scroll-padding-inline: 1rem;
        overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    }
    #etp-home [data-slider]::-webkit-scrollbar { display: none; }
    #etp-home [data-slider] > * { flex: 0 0 82%; min-width: 0; scroll-snap-align: start; }
    #etp-home .eh-prods > * { flex-basis: 62%; }
    #etp-home .eh-price > * { flex-basis: 88%; scroll-snap-stop: always; }
    #etp-home .eh-col { display: flex; flex-direction: column; }
    #etp-home .eh-col .eh-btn { align-self: stretch; margin-top: auto; }

    #etp-home .eh-why { border: 0; }
    #etp-home .eh-why__i, #etp-home .eh-why__i + .eh-why__i { padding: 1.25rem; border: 1px solid var(--line); border-radius: 16px; }
    #etp-home .eh-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 44px; margin-top: 1rem; }
    #etp-home .eh-nav__n { min-width: 3.5rem; text-align: center; font-variant-numeric: tabular-nums; }
    #etp-home .eh-nav button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
    #etp-home .eh-nav button:disabled { opacity: .35; cursor: default; }
    #etp-home .eh-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

    #etp-home .eh-head { margin-bottom: 1.25rem; }
    #etp-home .eh-chips { flex-wrap: nowrap; gap: .4rem; width: 100%; }
    #etp-home .eh-chip { flex: 1 1 auto; padding-inline: .5rem; font-size: .875rem; }
    #etp-home .eh-center { margin-top: 1rem; }
    #etp-home .eh-ind summary { padding: 1rem 1.15rem; }
    #etp-home .eh-ind__h { font-size: .9375rem; line-height: 1.5; }
    #etp-home .eh-ind__b { padding: 0 1.15rem 1.25rem; }
    #etp-home .eh-ind__b .eh-btn { width: 100%; }

    #etp-home .eh-steps { grid-template-columns: 1fr; gap: 0; }
    #etp-home .eh-steps::before, #etp-home .eh-steps::after { top: 10px; bottom: 60px; left: 22px; right: auto; width: 3px; height: auto; transform-origin: 50% 0; }
    #etp-home .eh-steps li { min-height: 86px; padding: .25rem 0 1rem 64px; }
    #etp-home .eh-steps li::before { position: absolute; left: 0; top: 0; }

    #etp-home .eh-direct { display: grid; grid-template-columns: 1fr; }
    #etp-home .eh-art { max-width: 300px; margin-block: .75rem 1rem; }
    #etp-home .eh-ask { max-width: 230px; margin-inline: auto; }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
    #etp-home .eh-steps::after { animation-name: eh-grow-y; }
}
@keyframes eh-grow-y { from { transform: scaleY(0); } }

/* Máy rất nhỏ (320px): hai nút banner không đủ chỗ đứng cạnh nhau */
@media (max-width: 359px) {
    #etp-home .eh-actions { grid-template-columns: minmax(0, 1fr); }
}
