/* HomeDecorFanLight 6.1.3 — Product Finder, Compare and Zalo consultation. */
:root{--hdfl-advisor-ink:#171817;--hdfl-advisor-muted:#73736f;--hdfl-advisor-line:#dedbd3;--hdfl-advisor-surface:#f7f5f0;--hdfl-advisor-accent:#aa8155}
.hdfl-product-finder,.hdfl-product-compare{width:min(100%,1320px);margin-inline:auto;padding:clamp(48px,7vw,96px) clamp(18px,4vw,48px);background:#fff;color:var(--hdfl-advisor-ink)}
.hdfl-product-finder__head,.hdfl-product-compare__head{max-width:780px;margin-bottom:44px}.hdfl-product-finder__head h2,.hdfl-product-compare__head h1{margin:.2em 0;font-size:clamp(38px,5vw,72px);line-height:1}.hdfl-product-finder__head p,.hdfl-product-compare__head p{max-width:650px;color:var(--hdfl-advisor-muted)}
.hdfl-product-finder__progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid var(--hdfl-advisor-line);margin-bottom:40px}.hdfl-product-finder__progress button{display:flex;align-items:center;gap:10px;padding:18px 12px;border:0;border-right:1px solid var(--hdfl-advisor-line);background:transparent;color:var(--hdfl-advisor-muted);font-size:12px;text-transform:uppercase;letter-spacing:.04em}.hdfl-product-finder__progress button:last-child{border-right:0}.hdfl-product-finder__progress button[aria-current=step]{color:var(--hdfl-advisor-ink);font-weight:700}.hdfl-product-finder__progress button span{display:grid;place-items:center;width:28px;height:28px;border:1px solid currentColor;border-radius:50%;font-size:10px}
.hdfl-product-finder fieldset{min-height:310px;margin:0;padding:0;border:0}.hdfl-product-finder legend{display:block;width:100%;margin-bottom:28px;font-size:clamp(25px,3vw,38px);font-weight:600}.hdfl-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hdfl-choice-grid--compact{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:24px}.hdfl-choice-grid label{position:relative;margin:0}.hdfl-choice-grid input{position:absolute;opacity:0;pointer-events:none}.hdfl-choice-grid span{display:flex;align-items:center;min-height:76px;padding:18px;border:1px solid var(--hdfl-advisor-line);background:#fff;cursor:pointer;transition:border-color .2s,background .2s,transform .2s}.hdfl-choice-grid input:checked+span{border-color:var(--hdfl-advisor-ink);background:var(--hdfl-advisor-surface);box-shadow:inset 0 0 0 1px var(--hdfl-advisor-ink)}.hdfl-choice-grid input:focus-visible+span{outline:2px solid var(--hdfl-advisor-accent);outline-offset:2px}.hdfl-choice-grid label:hover span{transform:translateY(-2px)}
.hdfl-finder-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.hdfl-finder-fields label{display:grid;gap:8px}.hdfl-finder-fields label>span{font-size:12px;font-weight:600}.hdfl-finder-fields input,.hdfl-finder-fields select{width:100%;height:52px;margin:0;border:1px solid var(--hdfl-advisor-line);background:#fff;padding:0 14px}.hdfl-product-finder__actions{display:flex;justify-content:space-between;gap:12px;margin-top:30px}.hdfl-product-finder__actions .hdfl-button{min-width:140px;justify-content:center}
.hdfl-product-finder__results{margin-top:56px;padding-top:48px;border-top:1px solid var(--hdfl-advisor-line)}.hdfl-finder-results__head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:26px}.hdfl-finder-results__head h3{margin:0;font-size:34px}.hdfl-finder-results__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.hdfl-finder-card{display:flex;flex-direction:column;border:1px solid var(--hdfl-advisor-line);background:#fff}.hdfl-finder-card figure{aspect-ratio:1/1;margin:0;background:var(--hdfl-advisor-surface);overflow:hidden}.hdfl-finder-card figure img{width:100%;height:100%;object-fit:contain;padding:18px}.hdfl-finder-card__body{display:flex;flex:1;flex-direction:column;padding:20px}.hdfl-finder-card h4{margin:0 0 8px;font-size:23px}.hdfl-finder-card__facts{margin:0 0 14px;color:var(--hdfl-advisor-muted);font-size:12px}.hdfl-finder-card__reasons{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 18px;padding:0;list-style:none}.hdfl-finder-card__reasons li{padding:5px 8px;border-radius:999px;background:var(--hdfl-advisor-surface);font-size:10px}.hdfl-finder-card__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}.hdfl-finder-card__actions a,.hdfl-finder-card__actions button{min-height:42px;justify-content:center}
.hdfl-compare-button,.hdfl-zalo-cta{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 11px;border:1px solid var(--hdfl-advisor-line);background:#fff;color:var(--hdfl-advisor-ink);font-size:11px;font-weight:600;cursor:pointer}.hdfl-compare-button[aria-pressed=true]{border-color:var(--hdfl-advisor-ink);background:var(--hdfl-advisor-ink);color:#fff}.hdfl-zalo-cta__mark{display:inline-grid;place-items:center;border-radius:999px;background:#0877ff;color:#fff;padding:3px 6px;font-size:9px}.product-small .hdfl-compare-button,.product-small .hdfl-zalo-cta{width:calc(50% - 4px);margin-top:8px}.product-small .hdfl-compare-button+.hdfl-zalo-cta{margin-left:4px}
.hdfl-compare-tray{position:fixed;z-index:9998;left:50%;bottom:18px;transform:translateX(-50%);display:grid;grid-template-columns:auto minmax(180px,1fr) auto auto;align-items:center;gap:16px;width:min(calc(100% - 32px),980px);padding:14px 16px;background:#171817;color:#fff;box-shadow:0 16px 50px rgba(0,0,0,.25)}.hdfl-compare-tray>div:first-child{display:grid}.hdfl-compare-tray>div:first-child strong{font-size:18px}.hdfl-compare-tray>div:first-child span{font-size:10px;color:#bbb}.hdfl-compare-tray__items{display:flex;gap:8px;min-width:0;overflow:hidden}.hdfl-compare-tray__items button{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid #444;background:#252525;color:#fff;padding:7px 9px;font-size:11px}.hdfl-compare-tray .hdfl-button{min-height:42px;background:#fff!important;color:#171817!important}.hdfl-compare-tray__clear{border:0;background:transparent;color:#fff;text-decoration:underline;font-size:11px}
.hdfl-compare-differences{display:inline-flex;align-items:center;gap:8px;margin-top:16px}.hdfl-compare-table-wrap{overflow-x:auto;border:1px solid var(--hdfl-advisor-line)}.hdfl-compare-table{width:100%;min-width:820px;border-collapse:collapse;margin:0}.hdfl-compare-table th,.hdfl-compare-table td{width:25%;padding:15px;border-right:1px solid var(--hdfl-advisor-line);border-bottom:1px solid var(--hdfl-advisor-line);vertical-align:top}.hdfl-compare-table th:first-child,.hdfl-compare-table td:first-child{width:190px;background:var(--hdfl-advisor-surface);font-size:12px}.hdfl-compare-table th:last-child,.hdfl-compare-table td:last-child{border-right:0}.hdfl-compare-product-head{position:relative}.hdfl-compare-product-head img{width:100%;aspect-ratio:1/1;object-fit:contain;background:var(--hdfl-advisor-surface)}.hdfl-compare-product-head h3{margin:12px 0 4px;font-size:20px}.hdfl-compare-product-head button{position:absolute;top:8px;right:8px;width:32px;height:32px;border:1px solid var(--hdfl-advisor-line);background:#fff}.hdfl-compare-row-same[hidden]{display:none}.hdfl-compare-empty{padding:50px;border:1px dashed var(--hdfl-advisor-line);text-align:center}.hdfl-compare-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.hdfl-consultation-modal[hidden]{display:none}.hdfl-consultation-modal{position:fixed;z-index:10020;inset:0;display:grid;place-items:center;padding:18px}.hdfl-consultation-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.58);backdrop-filter:blur(4px)}.hdfl-consultation-modal__panel{position:relative;z-index:1;width:min(100%,780px);max-height:calc(100vh - 36px);overflow:auto;padding:clamp(24px,4vw,48px);background:#fff;box-shadow:0 26px 80px rgba(0,0,0,.3)}.hdfl-consultation-modal__close{position:absolute;top:12px;right:12px;width:40px;height:40px;border:1px solid var(--hdfl-advisor-line);background:#fff;font-size:25px}.hdfl-consultation-modal header{max-width:600px;margin-bottom:28px}.hdfl-consultation-modal header h2{margin:6px 0 10px;font-size:clamp(32px,5vw,52px)}.hdfl-consultation-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hdfl-consultation-form__grid label{display:grid;gap:7px}.hdfl-consultation-form__grid label>span{font-size:11px;font-weight:600}.hdfl-consultation-form__grid input,.hdfl-consultation-form__grid textarea{width:100%;margin:0;border:1px solid var(--hdfl-advisor-line);background:#fff}.hdfl-consultation-form__wide{grid-column:1/-1}.hdfl-consultation-form__grid small{color:var(--hdfl-advisor-muted);font-size:10px}.hdfl-consultation-consent{display:flex;align-items:flex-start;gap:9px;margin:20px 0;font-size:11px}.hdfl-consultation-consent input{margin-top:3px}.hdfl-consultation-status{margin-top:12px;font-size:12px}.hdfl-consultation-status.is-error{color:#b42318}.hdfl-consultation-success textarea{width:100%;min-height:180px;margin:16px 0;background:var(--hdfl-advisor-surface);font-size:12px}.hdfl-consultation-success>div{display:flex;gap:10px}.hdfl-honeypot{position:absolute!important;left:-9999px!important}.hdfl-modal-open{overflow:hidden}.hdfl-zalo-floating{position:fixed;z-index:9994;right:18px;bottom:18px;display:grid;place-items:center;width:66px;height:66px;border:0;border-radius:50%;background:#0877ff;color:#fff;box-shadow:0 12px 34px rgba(8,119,255,.35);cursor:pointer}.hdfl-zalo-floating strong{font-size:13px}.hdfl-zalo-floating span{font-size:9px}.hdfl-compare-tray:not([hidden])~.hdfl-zalo-floating{bottom:100px}
.hdfl-native-product-summary__commerce .hdfl-product-actions-v4{display:flex;flex-wrap:wrap;gap:8px}.hdfl-native-product-summary__commerce .hdfl-compare-button,.hdfl-native-product-summary__commerce .hdfl-zalo-cta{min-height:46px;padding-inline:16px}
@media(max-width:849px){.hdfl-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hdfl-choice-grid--compact{grid-template-columns:repeat(2,minmax(0,1fr))}.hdfl-finder-results__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hdfl-compare-tray{grid-template-columns:auto 1fr auto}.hdfl-compare-tray__items{display:none}.hdfl-compare-tray__clear{grid-column:1/-1;display:none}.hdfl-zalo-floating{bottom:82px}.hdfl-consultation-form__grid{grid-template-columns:1fr}.hdfl-consultation-form__wide{grid-column:auto}}
@media(max-width:549px){.hdfl-product-finder__progress{grid-template-columns:repeat(4,1fr)}.hdfl-product-finder__progress button{justify-content:center;font-size:0;padding:12px 4px}.hdfl-product-finder__progress button span{font-size:10px}.hdfl-product-finder fieldset{min-height:390px}.hdfl-choice-grid,.hdfl-choice-grid--compact,.hdfl-finder-fields,.hdfl-finder-results__grid{grid-template-columns:1fr}.hdfl-choice-grid span{min-height:58px}.hdfl-product-finder__actions{position:sticky;bottom:0;z-index:3;margin-inline:-18px;padding:12px 18px;background:rgba(255,255,255,.94);backdrop-filter:blur(8px)}.hdfl-finder-card__actions{grid-template-columns:1fr}.hdfl-compare-tray{bottom:8px;width:calc(100% - 16px);padding:10px}.hdfl-compare-tray .hdfl-button{padding:9px 12px}.hdfl-zalo-floating{right:12px;bottom:86px;width:58px;height:58px}.hdfl-consultation-modal{padding:0}.hdfl-consultation-modal__panel{width:100%;height:100%;max-height:100vh;padding:28px 18px}.hdfl-consultation-success>div{flex-direction:column}}
.hdfl-product-card-v4__advisor-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.hdfl-product-card-v4__advisor-actions .hdfl-compare-button,.hdfl-product-card-v4__advisor-actions .hdfl-zalo-cta{width:100%}

/* 6.1.1 stability additions. */
.hdfl-finder-results__notice{margin:0 0 24px;padding:14px 16px;border-left:3px solid var(--hdfl-advisor-accent);background:var(--hdfl-advisor-surface);font-size:13px}
.hdfl-finder-debug{margin:0 0 16px;padding:10px;border:1px dashed var(--hdfl-advisor-line);font-size:11px}.hdfl-finder-debug pre{overflow:auto;max-height:180px;margin:8px 0 0;padding:10px;background:#171817;color:#fff;font-size:10px}
.hdfl-form-error{padding:14px 16px;border-left:3px solid #b42318;background:#fff2f0;color:#8a1c13}
.hdfl-compare-table thead th{position:sticky;top:0;z-index:2;background:#fff}.hdfl-compare-table thead th:first-child{z-index:3;background:var(--hdfl-advisor-surface)}
.hdfl-compare-row-different th:first-child{box-shadow:inset 3px 0 0 var(--hdfl-advisor-accent)}
.hdfl-compare-share-status{align-self:center;color:var(--hdfl-advisor-muted);font-size:11px}
@media(max-width:849px){.hdfl-compare-table{min-width:720px}.hdfl-compare-table th,.hdfl-compare-table td{padding:12px}.hdfl-compare-product-head h3{font-size:16px}.hdfl-compare-product-head img{max-height:170px}.hdfl-compare-actions{position:sticky;bottom:0;z-index:4;padding:12px;background:rgba(255,255,255,.96);backdrop-filter:blur(8px)}}
