/* Header + chân trang delarchi.com — VTN 25/09/2026 (bản 2: header kiểu sàn TMĐT, chân trang nền tối) */
:root { --dl-c: #f0643f; --dl-c2: #e2512c; --dl-soft: #ffe6dc; --dl-ink: #2a1d17; --dl-ink2: #3a2a22; --dl-muted: #6d5d55; --dl-cream: #fff7f1; --dl-line: #f1e4dc; }

/* ---------- Thanh trên cùng: cam ---------- */
#top-bar { background: var(--dl-c) !important; }
#top-bar .flex-row { min-height: 34px; }
#top-bar .flex-left { flex: 1; justify-content: center; }
#top-bar .html_topbar_left, #top-bar .nav > li.html { font-family: "Be Vietnam Pro", sans-serif; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #fff; }
.dl-top { display: inline-flex; gap: 20px; align-items: center; }
.dl-top span + span::before { content: "•"; margin-right: 20px; opacity: .7; }
.dl-top a { color: #fff !important; font-weight: 800; }

/* ---------- Header một hàng: logo · menu · tìm kiếm · tài khoản · giỏ ---------- */
#masthead { border-bottom: 1px solid var(--dl-line); }
#masthead .header-nav-main > li { margin: 0 2px; }
#masthead .header-nav-main > li > a { font-family: "Be Vietnam Pro", sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 15px !important; font-weight: 600 !important; color: var(--dl-ink) !important; padding: 9px 14px !important; border-radius: 999px; white-space: nowrap; transition: background .15s, color .15s; }
#masthead .header-nav-main > li > a::before { display: none !important; }
#masthead .header-nav-main > li > a:hover, #masthead .header-nav-main > li.active > a { background: var(--dl-soft); color: var(--dl-c) !important; }
#masthead .header-nav-main { flex-wrap: nowrap !important; }
#masthead > .header-inner, #top-bar > .flex-row { max-width: 1400px; }
#masthead #logo { flex: none !important; width: 140px !important; margin-right: 12px; }
#masthead #logo img { width: auto !important; max-width: 100%; max-height: 66px !important; height: auto !important; }
#masthead .account-item > a { height: 42px !important; min-height: 42px !important; line-height: 1 !important; padding: 0 16px !important; }
#masthead .flex-right .header-search-form { width: 250px; }
.header .searchform .search-field { height: 42px !important; border-radius: 999px 0 0 999px !important; background: var(--dl-cream) !important; border: 1.5px solid var(--dl-line) !important; border-right: 0 !important; box-shadow: none !important; padding: 0 16px !important; font-family: "Be Vietnam Pro", sans-serif; font-size: 14px !important; color: var(--dl-ink); }
.header .searchform .search-field:focus { background: #fff !important; border-color: var(--dl-c) !important; }
.header .searchform .search-field::placeholder { color: #9b8a80 !important; opacity: 1 !important; }
#header .searchform .ux-search-submit.button, #header .searchform .ux-search-submit.button.secondary { height: 42px !important; min-width: 46px; border-radius: 0 999px 999px 0 !important; margin: 0 !important; background-color: var(--dl-c) !important; color: #fff !important; }
#header .searchform .ux-search-submit.button:hover { background-color: var(--dl-c2) !important; }
#header .searchform .ux-search-submit.button i { color: #fff !important; }
.header-main .account-item > a { font-family: "Be Vietnam Pro", sans-serif; font-weight: 600; text-transform: none; font-size: 14px; color: var(--dl-ink) !important; border: 1.5px solid var(--dl-line); border-radius: 999px; padding: 0 16px !important; min-height: 42px; display: inline-flex; align-items: center; gap: 6px; }
.header-main .account-item > a:hover { border-color: var(--dl-c); color: var(--dl-c) !important; }
.header-main .header-divider { display: none; }
.header-main .header-search > a i { color: var(--dl-ink) !important; }
@media (max-width: 1360px) {
	#masthead .header-nav-main > li > a { font-size: 14px !important; padding: 8px 10px !important; }
	#masthead .flex-right .header-search-form { width: 200px; }
}
@media (max-width: 1150px) {
	#masthead .header-nav-main > li > a { font-size: 13.5px !important; padding: 7px 7px !important; }
	#masthead .flex-right .header-search-form { width: 160px; }
	.header-main .account-item > a { padding: 0 12px !important; }
	#logo { width: 120px !important; }
}

/* ---------- Chân trang: nền tối ---------- */
.absolute-footer { display: none !important; }
#footer { background: var(--dl-ink); }
.dlf { font-family: "Be Vietnam Pro", system-ui, sans-serif; color: #e9dcd4; background: var(--dl-ink); }
.dlf *, .dlf *::before, .dlf *::after { box-sizing: border-box; }
.dlf a { text-decoration: none; }
.dlf p { margin: 0; }
.dlf-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.dlf-cta { background: linear-gradient(120deg, #f0643f 0%, #f58a5b 70%, #f7a26f 100%); color: #fff; }
.dlf-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 34px; padding-bottom: 34px; }
.dlf-cta h3 { color: #fff; font-family: inherit; font-size: 24px; font-weight: 800; margin: 0 0 4px; letter-spacing: -0.01em; }
.dlf-cta p { color: rgba(255, 255, 255, .92); font-size: 15px; }
.dlf-btn { flex: none; display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: #fff; color: var(--dl-c) !important; font-weight: 800; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .35); transition: transform .15s; }
.dlf-btn:hover { transform: translateY(-2px); }

.dlf-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; padding-top: 64px; padding-bottom: 52px; }
.dlf h4 { font-family: inherit; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin: 0 0 20px; }
.dlf ul { list-style: none; margin: 0; padding: 0; }
.dlf li { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: #bfaea4; }
.dlf li a { color: #bfaea4 !important; transition: color .15s; }
.dlf li a:hover { color: #fff !important; }
.dlf-logo { display: inline-block; background: #fff; border-radius: 20px; padding: 12px 18px; margin-bottom: 20px; }
.dlf-logo img { width: 120px; height: auto; display: block; }
.dlf-brand p { color: #bfaea4; font-size: 15px; line-height: 1.65; max-width: 320px; }
.dlf-social { display: flex; gap: 10px; margin-top: 22px; }
.dlf-social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); display: inline-flex; align-items: center; justify-content: center; color: #fff !important; transition: background .15s; }
.dlf-social a:hover { background: var(--dl-c); border-color: var(--dl-c); }
.dlf-social svg { width: 18px; height: 18px; fill: currentColor; }
.dlf-social .dlf-zalo { font-size: 12px; font-weight: 800; }
.dlf-contact li span { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #8f7c71; margin-bottom: 3px; }
.dlf-contact li a { color: #ff9a78 !important; font-weight: 800; font-size: 20px; }
.dlf-bct img { width: 140px; height: auto; margin-top: 8px; border-radius: 6px; }

.dlf-bottom { border-top: 1px solid rgba(255, 255, 255, .1); background: #20150f; }
.dlf-bottom-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: #8f7c71; }

/* ---------- Nút Zalo / gọi nổi trên điện thoại ---------- */
@media (max-width: 849px) {
	#button-contact-vr { transform: scale(.68); transform-origin: right bottom; bottom: 14px !important; }
	.dlf-cols { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
	.dlf-brand, .dlf-contact { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.dlf-wrap { padding: 0 16px; }
	.dlf-cta-in { flex-direction: column; align-items: stretch; }
	.dlf-btn { justify-content: center; }
	.dlf-cta h3 { font-size: 20px; }
	.dlf-cols { padding-top: 44px; padding-bottom: 36px; }
	.dlf-bottom-in { flex-direction: column; gap: 6px; }
	.dlf li { font-size: 14px; }
}
@media (min-width: 850px) and (max-width: 1150px) {
	#masthead #logo { width: 110px !important; margin-right: 4px; }
	#masthead .header-nav-main.nav-left > li:nth-child(4) { display: none; }
	#masthead .flex-right .header-search-form { width: 140px; }
	#masthead .flex-right > ul > li { margin-left: 6px !important; }
	#masthead .account-item > a { padding: 0 12px !important; }
}

/* ---------- Nút Gọi / Zalo kiểu vtngroup.net ---------- */
#button-contact-vr { display: none !important; }
.dlm-bar { position: fixed; z-index: 990; font-family: "Be Vietnam Pro", system-ui, sans-serif; transition: transform .3s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
.dlm-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 14px; font-weight: 700; font-size: 15px; color: #fff !important; text-decoration: none; }
.dlm-bar svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dlm-call { background: var(--dl-c); }
.dlm-zalo { background: #0068ff; }
/* Máy tính: 2 nút gọn xếp dọc góc phải dưới */
@media (min-width: 850px) {
	.dlm-bar { right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
	.dlm-bar a { padding: 0 18px 0 16px; justify-content: flex-start; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .45); transition: transform .15s; }
	.dlm-bar a:hover { transform: translateY(-2px); }
	.dlm-bar.away { opacity: 0; pointer-events: none; transform: translateY(12px); }
}
/* Điện thoại: thanh 2 nút dính đáy như vtngroup.net */
@media (max-width: 849px) {
	.dlm-bar { left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--dl-line); }
	.dlm-bar.away { transform: translateY(110%); }
	body.has-dlm-bar #footer { padding-bottom: 62px; }
	body.has-dlm-bar .back-to-top { bottom: 76px !important; }
	/* Trang sản phẩm: thanh "Thêm vào giỏ" dính đáy của Flatsome đẩy lên trên thanh Gọi/Zalo */
	body.has-dlm-bar .sticky-add-to-cart--active { bottom: 62px !important; }
}

/* ---------- Khối "Cần tư vấn…" thành thẻ nổi, tách khỏi chân trang; nút Chat Zalo màu Zalo (25/09) ---------- */
#footer, .dlf { background: transparent !important; }
.dlf-cta { background: linear-gradient(transparent 50%, var(--dl-ink) 50%); color: #fff; padding: 0 20px; }
.dlf-cta-in { max-width: 1200px; margin: 0 auto; padding: 32px 40px !important; border-radius: 26px; background: linear-gradient(120deg, #f0643f 0%, #f58a5b 70%, #f7a26f 100%); box-shadow: 0 24px 48px -28px rgba(120, 50, 20, .6); position: relative; overflow: hidden; }
.dlf-cta-in::after { content: ""; position: absolute; right: -60px; top: -90px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 255, 255, .12); pointer-events: none; }
.dlf-cta-in > * { position: relative; z-index: 1; }
/* Phần còn lại của chân trang giữ nền nâu tràn hết bề ngang */
.dlf-cta ~ * { background: var(--dl-ink); box-shadow: 0 0 0 100vmax var(--dl-ink); clip-path: inset(0 -100vmax); }
.dlf-btn { gap: 10px; background: #0068ff !important; color: #fff !important; box-shadow: 0 14px 26px -14px rgba(0, 60, 180, .9); }
.dlf-btn:hover { background: #0057d6 !important; }
.dlf-zalo-ic { display: inline-grid; place-items: center; height: 24px; padding: 0 7px; border-radius: 7px; background: #fff; color: #0068ff; font-size: 11.5px; font-weight: 800; letter-spacing: -.02em; }
@media (max-width: 849px) {
	.dlf-cta { padding: 28px 16px 0; background: linear-gradient(transparent 60%, var(--dl-ink) 60%); }
	.dlf-cta-in { padding: 24px 20px !important; border-radius: 20px; gap: 16px; }
	.dlf-btn { min-height: 50px; }
}
.dlf-cta { background: linear-gradient(var(--dlf-top, #fff) 50%, var(--dl-ink) 50%); }
.dlf-btn { white-space: nowrap; }
@media (max-width: 849px) {
	.dlf-cta { background: linear-gradient(var(--dlf-top, #fff) 60%, var(--dl-ink) 60%); }
	.dlf-btn { font-size: 15px; padding: 0 16px; justify-content: center; }
}
/* dgs-menu-850: 25/09 thêm "Góc sáng tạo" vào menu → màn 850–1000px thu nhỏ logo/ô tìm kiếm/khoảng mục để header không tràn */
@media (min-width: 850px) and (max-width: 1000px) {
	#masthead #logo { width: 96px !important; }
	#masthead .flex-right .header-search-form { width: 92px; }
	#masthead .header-nav-main > li { margin: 0 1px; }
	#masthead .header-nav-main > li > a { padding: 7px 5px !important; font-size: 13px !important; }
}
