/* Wriai Deals – CSS bổ sung cho theme.json. Màu, font lấy từ preset. Icon dạng mask (--ic-*) sinh từ bộ Lucide (ISC). */

:root {
	--ic-search: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2711%27%20cy%3D%2711%27%20r%3D%278%27%2F%3E%3Cpath%20d%3D%27m21%2021-4.3-4.3%27%2F%3E%3C%2Fsvg%3E");
	--ic-truck: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M14%2018V6a2%202%200%200%200-2-2H4a2%202%200%200%200-2%202v11a1%201%200%200%200%201%201h2%27%2F%3E%3Cpath%20d%3D%27M15%2018H9%27%2F%3E%3Cpath%20d%3D%27M19%2018h2a1%201%200%200%200%201-1v-3.65a1%201%200%200%200-.22-.62l-3.48-4.35A1%201%200%200%200%2017.52%208H14%27%2F%3E%3Ccircle%20cx%3D%2717%27%20cy%3D%2718%27%20r%3D%272%27%2F%3E%3Ccircle%20cx%3D%277%27%20cy%3D%2718%27%20r%3D%272%27%2F%3E%3C%2Fsvg%3E");
	--ic-shield: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M20%2013c0%205-3.5%207.5-7.66%208.95a1%201%200%200%201-.67-.01C7.5%2020.5%204%2018%204%2013V6a1%201%200%200%201%201-1c2%200%204.5-1.2%206.24-2.72a1.17%201.17%200%200%201%201.52%200C14.51%203.81%2017%205%2019%205a1%201%200%200%201%201%201z%27%2F%3E%3Cpath%20d%3D%27m9%2012%202%202%204-4%27%2F%3E%3C%2Fsvg%3E");
	--ic-trend: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M22%2017%2013.5%208.5l-5%205L2%207%27%2F%3E%3Cpath%20d%3D%27M16%2017h6v-6%27%2F%3E%3C%2Fsvg%3E");
	--ic-wallet: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M19%207V4a1%201%200%200%200-1-1H5a2%202%200%200%200%200%204h15a1%201%200%200%201%201%201v4h-3a2%202%200%200%200%200%204h3a1%201%200%200%200%201-1v-2a1%201%200%200%200-1-1%27%2F%3E%3Cpath%20d%3D%27M3%205v14a2%202%200%200%200%202%202h15a1%201%200%200%200%201-1v-4%27%2F%3E%3C%2Fsvg%3E");
	--ic-refresh: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M3%2012a9%209%200%200%201%209-9%209.75%209.75%200%200%201%206.74%202.74L21%208%27%2F%3E%3Cpath%20d%3D%27M21%203v5h-5%27%2F%3E%3Cpath%20d%3D%27M21%2012a9%209%200%200%201-9%209%209.75%209.75%200%200%201-6.74-2.74L3%2016%27%2F%3E%3Cpath%20d%3D%27M8%2016H3v5%27%2F%3E%3C%2Fsvg%3E");
	--ic-zap: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2014a1%201%200%200%201-.78-1.63l9.9-10.2a.5.5%200%200%201%20.86.46l-1.92%206.02A1%201%200%200%200%2013%2010h7a1%201%200%200%201%20.78%201.63l-9.9%2010.2a.5.5%200%200%201-.86-.46l1.92-6.02A1%201%200%200%200%2011%2014z%27%2F%3E%3C%2Fsvg%3E");
	--ic-ticket: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M2%209a3%203%200%200%201%200%206v2a2%202%200%200%200%202%202h16a2%202%200%200%200%202-2v-2a3%203%200%200%201%200-6V7a2%202%200%200%200-2-2H4a2%202%200%200%200-2%202Z%27%2F%3E%3Cpath%20d%3D%27M13%205v2M13%2017v2M13%2011v2%27%2F%3E%3C%2Fsvg%3E");
	--ic-arrow: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%2012h14%27%2F%3E%3Cpath%20d%3D%27m12%205%207%207-7%207%27%2F%3E%3C%2Fsvg%3E");
	--ic-chev: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m9%2018%206-6-6-6%27%2F%3E%3C%2Fsvg%3E");
	--ic-copy: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20width%3D%2714%27%20height%3D%2714%27%20x%3D%278%27%20y%3D%278%27%20rx%3D%272%27%2F%3E%3Cpath%20d%3D%27M4%2016c-1.1%200-2-.9-2-2V4c0-1.1.9-2%202-2h10c1.1%200%202%20.9%202%202%27%2F%3E%3C%2Fsvg%3E");
	--ic-clock: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%2710%27%2F%3E%3Cpath%20d%3D%27M12%206v6l4%202%27%2F%3E%3C%2Fsvg%3E");
	--ic-news: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2022h16a2%202%200%200%200%202-2V4a2%202%200%200%200-2-2H8a2%202%200%200%200-2%202v16a2%202%200%200%201-2%202Zm0%200a2%202%200%200%201-2-2v-9c0-1.1.9-2%202-2h2%27%2F%3E%3Cpath%20d%3D%27M18%2014h-8M15%2018h-5%27%2F%3E%3Cpath%20d%3D%27M10%206h8v4h-8z%27%2F%3E%3C%2Fsvg%3E");
	--ic-scale: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m16%2016%203-8%203%208c-.87.65-1.92%201-3%201s-2.13-.35-3-1Z%27%2F%3E%3Cpath%20d%3D%27m2%2016%203-8%203%208c-.87.65-1.92%201-3%201s-2.13-.35-3-1Z%27%2F%3E%3Cpath%20d%3D%27M7%2021h10M12%203v18%27%2F%3E%3Cpath%20d%3D%27M3%207h2c2%200%205-1%207-2%202%201%205%202%207%202h2%27%2F%3E%3C%2Fsvg%3E");
	--ic-msg: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M7.9%2020A9%209%200%201%200%204%2016.1L2%2022Z%27%2F%3E%3C%2Fsvg%3E");
	--ic-info: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%2710%27%2F%3E%3Cpath%20d%3D%27M12%2016v-4M12%208h.01%27%2F%3E%3C%2Fsvg%3E");
	--ic-check: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M20%206%209%2017l-5-5%27%2F%3E%3C%2Fsvg%3E");
	--ic-ext: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M15%203h6v6%27%2F%3E%3Cpath%20d%3D%27M10%2014%2021%203%27%2F%3E%3Cpath%20d%3D%27M18%2013v6a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2V8a2%202%200%200%201%202-2h6%27%2F%3E%3C%2Fsvg%3E");
}

:root {
	--wdl-ink: var(--wp--preset--color--ink);
	--wdl-ink2: var(--wp--preset--color--ink-2);
	--wdl-muted: var(--wp--preset--color--muted);
	--wdl-line: var(--wp--preset--color--line);
	--wdl-line2: var(--wp--preset--color--line-2);
	--wdl-soft: var(--wp--preset--color--surface);
	--wdl-soft2: var(--wp--preset--color--surface-2);
	--wdl-red: var(--wp--preset--color--primary);
	--wdl-redsoft: var(--wp--preset--color--accent);
	--wdl-green: var(--wp--preset--color--good);
	--wdl-radius: var(--wp--custom--radius, 14px);
	--wdl-shadow: var(--wp--custom--shadow, 0 1px 2px rgba(16,18,24,.04), 0 6px 20px rgba(16,18,24,.05));
	--wdl-hd-top: 34px;
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
img { height: auto; max-width: 100%; }
a { text-underline-offset: 2px; }
.wdl-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; box-sizing: border-box; }
.wdl-main { min-height: 50vh; }
.wdl-main > * { margin-block: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.wdl-site-header, .wdl-site-footer { margin: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Biểu tượng (sprite) */
.wdl-ic { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wdl-ic--sm { width: 15px; height: 15px; }
.wdl-ic--lg { width: 22px; height: 22px; }

/* ---------- Dải trên cùng ---------- */
.wdl-site-header { position: sticky; top: calc(var(--wdl-hd-top) * -1); z-index: 60; background: #fff; }
.admin-bar .wdl-site-header { top: calc(32px - var(--wdl-hd-top)); }
@media (max-width: 782px) { .admin-bar .wdl-site-header { top: calc(46px - var(--wdl-hd-top)); } }
.wdl-topbar { border-bottom: 1px solid var(--wdl-line); font-size: 12.5px; color: var(--wdl-ink2); height: var(--wdl-hd-top); box-sizing: border-box; background: #fff; }
.wdl-topbar-in { display: flex; justify-content: space-between; align-items: center; height: 100%; gap: 16px; }
.wdl-topbar p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wdl-topbar strong { color: var(--wdl-ink); font-weight: 600; }
.wdl-tb-l::before { content: ""; display: inline-block; vertical-align: -3px; margin-right: 6px; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--ic-truck) center/contain no-repeat; mask: var(--ic-truck) center/contain no-repeat; }
.wdl-tb-r a { margin-left: 18px; text-decoration: none; color: var(--wdl-ink2); }
.wdl-tb-r a:hover { color: var(--wdl-red); }

/* ---------- Header ---------- */
.wdl-hd-main { background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.6) blur(10px); backdrop-filter: saturate(1.6) blur(10px); }
.wdl-hd { display: flex; align-items: center; gap: 28px; padding-block: 16px; flex-wrap: nowrap; }
.wdl-logo { display: flex; align-items: center; gap: 10px; flex: none; margin: 0; }
.wdl-logo .wp-block-site-logo { margin: 0; line-height: 0; }
.wdl-logo .wp-block-site-logo img { border-radius: 10px; width: 38px; height: 38px; }
.wdl-logo-t { display: flex; flex-direction: column; line-height: 1.1; margin: 0; }
.wdl-logo-t > * { margin: 0; }
.wdl-brand { font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.wdl-brand a { text-decoration: none; color: var(--wdl-ink); }
.wdl-brand i { font-style: normal; color: var(--wdl-red); }
.wdl-tagline { font-size: 11px; color: var(--wdl-muted); font-weight: 500; margin-top: 3px !important; white-space: nowrap; }
.wdl-search { flex: 1; min-width: 0; margin: 0; }
.wdl-search .wp-block-search__inside-wrapper { position: relative; display: flex; align-items: center; gap: 8px; background: var(--wdl-soft); border: 1px solid var(--wdl-line); border-radius: 12px; padding: 4px 5px 4px 40px; transition: .15s; }
.wdl-search .wp-block-search__inside-wrapper::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: var(--wdl-muted); -webkit-mask: var(--ic-search) center/contain no-repeat; mask: var(--ic-search) center/contain no-repeat; }
.wdl-search .wp-block-search__inside-wrapper:focus-within { background: #fff; border-color: var(--wdl-ink); box-shadow: 0 0 0 4px rgba(15,17,21,.06); }
.wdl-search .wp-block-search__input { border: 0; background: none; padding: 9px 0; font: inherit; font-size: 14.5px; outline: none; min-width: 0; flex: 1; }
.wdl-search .wp-block-search__button { background: var(--wdl-ink); color: #fff; padding: 9px 18px; border-radius: 8px; font-weight: 600; font-size: 13.5px; border: 0; margin: 0; cursor: pointer; }
.wdl-search .wp-block-search__button:hover { background: #262a33; }
.wdl-search.is-page { max-width: 640px; margin-top: 16px; }
.wdl-hd-links { display: flex; gap: 2px; align-items: center; flex: none; }
.wdl-hd-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: 13px; text-decoration: none; color: var(--wdl-ink2); white-space: nowrap; }
.wdl-hd-link:hover { background: var(--wdl-soft); color: var(--wdl-ink); }

/* Thanh chuyên mục + mega */
.wdl-cats { border-top: 1px solid var(--wdl-line); border-bottom: 1px solid var(--wdl-line); background: #fff; }
.wdl-cats-in { display: flex; gap: 4px; align-items: center; padding-block: 9px; }
.wdl-cat { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 9px; font-size: 13.5px; white-space: nowrap; font-weight: 500; color: var(--wdl-ink2); text-decoration: none; }
.wdl-cat:hover { background: var(--wdl-soft); color: var(--wdl-ink); }
.wdl-cat.is-on { background: var(--wdl-ink); color: #fff; }
.wdl-cat.is-hl { color: var(--wdl-red); }
.wdl-cats-gap { flex: 1; }
.wdl-allcats { position: relative; flex: none; }
.wdl-mega { display: none; position: absolute; left: 0; top: 100%; width: min(940px, 92vw); background: #fff; border: 1px solid var(--wdl-line); border-radius: 16px; box-shadow: 0 18px 50px rgba(16,18,24,.14); padding: 24px; grid-template-columns: repeat(3, 1fr) 250px; gap: 26px; z-index: 70; margin-top: 8px; }
.wdl-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.wdl-allcats:hover .wdl-mega, .wdl-allcats:focus-within .wdl-mega { display: grid; }
.wdl-mega-col ul { list-style: none; margin: 10px 0 0; padding: 0; }
.wdl-mega-col li { margin: 0; }
.wdl-mega-head { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 14px; text-decoration: none; padding-bottom: 8px; border-bottom: 1px solid var(--wdl-line); }
.wdl-mega-head:hover { color: var(--wdl-red); }
.wdl-mega-col li a { display: flex; align-items: center; gap: 9px; padding: 8px 0; font-size: 13.5px; text-decoration: none; color: var(--wdl-ink2); font-weight: 500; }
.wdl-mega-col li a span { margin-left: auto; font-size: 11.5px; color: var(--wdl-muted); background: var(--wdl-soft); border-radius: 10px; padding: 1px 8px; }
.wdl-mega-col li a.is-post { display: block; line-height: 1.4; padding: 6px 0; }
.wdl-mega-col li a:hover { color: var(--wdl-red); }
.wdl-mega-feat { display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: var(--wdl-soft); border-radius: 12px; padding: 10px; }
.wdl-mega-img { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 16/10; background: var(--wdl-soft2); }
.wdl-mega-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wdl-mega-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--wdl-red); font-weight: 700; margin-top: 4px; }
.wdl-mega-title { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--wdl-ink); }

/* ---------- Khối chung ---------- */
.wdl-sec { padding-block: 36px; }
.wdl-sec--tight { padding-top: 12px; }
.wdl-sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.wdl-sec-h > * { margin: 0; }
.wdl-sec-h h2, .wdl-h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 0; }
.wdl-sec-r { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.wdl-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--wdl-muted); display: flex; align-items: center; gap: 6px; margin: 0 0 4px; }
.wdl-eyebrow.is-red { color: var(--wdl-red); }
.wdl-eyebrow.is-zap::before, .wdl-eyebrow.is-news::before, .wdl-eyebrow.is-ticket::before, .wdl-eyebrow.is-scale::before { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--ic-zap) center/contain no-repeat; mask: var(--ic-zap) center/contain no-repeat; }
.wdl-eyebrow.is-news::before { -webkit-mask-image: var(--ic-news); mask-image: var(--ic-news); }
.wdl-eyebrow.is-ticket::before { -webkit-mask-image: var(--ic-ticket); mask-image: var(--ic-ticket); }
.wdl-eyebrow.is-scale::before { -webkit-mask-image: var(--ic-scale); mask-image: var(--ic-scale); }
.wdl-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 13.5px; color: var(--wdl-ink2); white-space: nowrap; text-decoration: none; }
.wdl-more:hover { color: var(--wdl-red); }
.wdl-more.is-link a { text-decoration: none; color: inherit; }
.wdl-more.is-link::after { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--ic-chev) center/contain no-repeat; mask: var(--ic-chev) center/contain no-repeat; }
.wdl-card-box { background: #fff; border: 1px solid var(--wdl-line); border-radius: var(--wdl-radius); }

/* Đồng hồ đếm ngược */
.wdl-cd { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.wdl-cd span { background: var(--wdl-ink); color: #fff; border-radius: 7px; padding: 4px 8px; font-variant-numeric: tabular-nums; font-weight: 600; min-width: 32px; text-align: center; line-height: 1.4; }
.wdl-cd i { font-style: normal; color: var(--wdl-ink); font-weight: 700; }
.wdl-cd-wrap { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--wdl-muted); font-weight: 500; margin: 0; }

/* ---------- Hero ---------- */
.wdl-hero-wrap { padding-top: 28px; }
.wdl-hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.wdl-hero-main { background: linear-gradient(180deg, #fff, var(--wdl-soft)); border: 1px solid var(--wdl-line); border-radius: 20px; padding: 44px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; }
.wdl-hero-main::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(208,16,30,.08), transparent 65%); pointer-events: none; }
.wdl-hero-main > * { margin: 0; position: relative; z-index: 1; }
.wdl-pill { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--wdl-line2); padding: 5px 11px; border-radius: 20px; font-size: 12.5px; font-weight: 600; color: var(--wdl-ink2); }
.wdl-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wdl-red); }
.wdl-pill.is-dark { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.wdl-hero h1, .wdl-banner h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; margin: 18px 0 14px; max-width: 560px; }
.wdl-hero h1 em, .wdl-banner h1 em { font-style: normal; color: var(--wdl-red); }
.wdl-lead { color: var(--wdl-ink2); font-size: 16px; max-width: 470px; line-height: 1.6; }
.wdl-ctas { margin-top: 26px !important; gap: 10px; }
.wdl-btn-go .wp-block-button__link { background: var(--wdl-ink); color: #fff; padding: 13px 20px; border-radius: 11px; font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; }
.wdl-btn-go .wp-block-button__link::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ic-arrow) center/contain no-repeat; mask: var(--ic-arrow) center/contain no-repeat; }
.wdl-btn-read .wp-block-button__link { background: #fff; color: var(--wdl-ink); border: 1px solid var(--wdl-line2); padding: 13px 20px; border-radius: 11px; font-weight: 600; font-size: 14.5px; }
.wdl-btn-read .wp-block-button__link:hover { border-color: var(--wdl-ink); background: #fff; color: var(--wdl-ink); }
.wdl-stats { display: flex; gap: 32px; margin-top: 34px !important; padding-top: 24px; border-top: 1px solid var(--wdl-line); width: 100%; flex-wrap: wrap; }
.wdl-stats p { margin: 0; line-height: 1.4; }
.wdl-stats strong { display: block; font-size: 22px; letter-spacing: -.02em; font-weight: 700; }
.wdl-stats span { font-size: 12.5px; color: var(--wdl-muted); }

/* Deal của ngày */
.wdl-dod { border: 1px solid var(--wdl-line); background: #fff; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--wdl-shadow); }
.wdl-dod > *, .wdl-dod-h > * { margin: 0; }
.wdl-dod-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wdl-dod-h .wdl-eyebrow { margin: 0; }
.wdl-dod .wdl-p-media { aspect-ratio: 16/10; border-radius: 14px; }
.wdl-dod h3 { font-size: 17px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; }
.wdl-dod .wdl-price strong { font-size: 24px; }
.wdl-dod .wp-block-buttons { margin-top: auto; }
.wdl-dod .wp-block-button { width: 100%; }
.wdl-dod .wdl-btn-buy .wp-block-button__link { padding: 13px 20px; font-size: 14.5px; border-radius: 11px; }

/* Dải cam kết */
.wdl-trust { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--wdl-line); border-radius: var(--wdl-radius); margin-top: 20px; background: #fff; }
.wdl-trust-i { margin: 0; padding: 18px 20px 18px 70px; position: relative; font-size: 13px; color: var(--wdl-muted); line-height: 1.45; }
.wdl-trust-i + .wdl-trust-i { border-left: 1px solid var(--wdl-line); }
.wdl-trust-i strong { display: block; font-size: 14px; color: var(--wdl-ink); font-weight: 600; }
.wdl-trust-i::before { content: ""; position: absolute; left: 20px; top: 50%; margin-top: -19px; width: 38px; height: 38px; border-radius: 10px; background: var(--wdl-soft); }
.wdl-trust-i::after { content: ""; position: absolute; left: 30px; top: 50%; margin-top: -9px; width: 18px; height: 18px; background: var(--wdl-ink); -webkit-mask: var(--ic-shield) center/contain no-repeat; mask: var(--ic-shield) center/contain no-repeat; }
.wdl-trust-i.is-trend::after { -webkit-mask-image: var(--ic-trend); mask-image: var(--ic-trend); }
.wdl-trust-i.is-wallet::after { -webkit-mask-image: var(--ic-wallet); mask-image: var(--ic-wallet); }
.wdl-trust-i.is-refresh::after { -webkit-mask-image: var(--ic-refresh); mask-image: var(--ic-refresh); }

/* ---------- Thẻ sản phẩm / flash sale ---------- */
.wdl-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.wdl-p { background: #fff; border: 1px solid var(--wdl-line); border-radius: var(--wdl-radius); overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; transition: box-shadow .2s, border-color .2s; min-width: 0; }
.wdl-p:hover { box-shadow: var(--wdl-shadow); border-color: var(--wdl-line2); }
.wdl-p > * { margin: 0; }
.wdl-p > *:not(.wdl-p-media) { margin-inline: 14px; }
.wdl-p-media { position: relative; aspect-ratio: 1/1; background: var(--wdl-soft); overflow: hidden; }
.wdl-p-media > * { margin: 0; }
.wdl-p-media figure, .wdl-p-img { margin: 0; height: 100%; }
.wdl-p-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wdl-off { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--wdl-red); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; line-height: 1.4; margin: 0; }
.wdl-off-inline { display: inline-block; background: var(--wdl-redsoft); color: var(--wdl-red); font-weight: 700; font-size: 12px; padding: 2px 7px; border-radius: 6px; margin-left: 6px; line-height: 1.4; vertical-align: 2px; }
.wdl-store { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--wdl-ink2); margin: 0; line-height: 1.4; align-self: flex-start; }
.wdl-sd { width: 7px; height: 7px; border-radius: 50%; background: #8a8f9a; display: inline-block; flex: none; }
.wdl-store--shopee .wdl-sd { background: #ee4d2d; }
.wdl-store--lazada .wdl-sd { background: #0f146d; }
.wdl-store--tiki .wdl-sd { background: #1a94ff; }
.wdl-store--tiktok .wdl-sd { background: #111; }
.wdl-p-t { font-size: 13.5px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.wdl-p-t a { text-decoration: none; color: var(--wdl-ink); }
.wdl-p-t a:hover { color: var(--wdl-red); }
.wdl-price { margin: 0; color: var(--wdl-muted); font-size: 12.5px; line-height: 1.4; }
.wdl-price strong { color: var(--wdl-red); font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.wdl-price s { color: var(--wdl-muted); font-size: 12.5px; margin-left: 6px; font-weight: 400; }
.wdl-prog { display: flex; flex-direction: column; gap: 5px; font-size: 11.5px; color: var(--wdl-muted); }
.wdl-prog-tr { height: 5px; background: var(--wdl-soft2); border-radius: 5px; overflow: hidden; }
.wdl-prog-tr i { display: block; height: 100%; background: var(--wdl-ink); border-radius: 5px; }
.wdl-prog.is-hot .wdl-prog-tr i { background: var(--wdl-red); }
.wdl-prog.is-hot span { color: var(--wdl-red); font-weight: 600; }
.wdl-p .wp-block-buttons { margin-top: auto !important; padding-top: 4px; }
.wdl-p .wp-block-button { width: 100%; }
.wdl-btn-buy .wp-block-button__link { background: var(--wdl-ink); color: #fff; border-radius: 9px; padding: 10px 12px; font-size: 13px; font-weight: 600; width: 100%; text-align: center; display: inline-flex; gap: 6px; justify-content: center; align-items: center; box-sizing: border-box; text-decoration: none; }
.wdl-btn-buy .wp-block-button__link::after { content: ""; width: 14px; height: 14px; background: currentColor; flex: none; -webkit-mask: var(--ic-ext) center/contain no-repeat; mask: var(--ic-ext) center/contain no-repeat; }
.wdl-btn-buy .wp-block-button__link:hover { background: #262a33; color: #fff; }
.wdl-btn-buy.is-full, .wdl-btn-buy.is-full .wp-block-button__link { width: 100%; }

/* ---------- Voucher ---------- */
.wdl-band { background: var(--wdl-soft); border-block: 1px solid var(--wdl-line); padding-block: 36px; margin-top: 12px; }
.wdl-coupons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wdl-cp { background: #fff; border: 1px solid var(--wdl-line); border-radius: var(--wdl-radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; position: relative; min-width: 0; }
.wdl-cp > * { margin: 0; }
.wdl-cp::before, .wdl-cp::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--wdl-soft); border: 1px solid var(--wdl-line); bottom: 58px; } /* khớp đường gạch đứt: đệm 18 + hàng mã 34 + khoảng 10 + lề 4 */
.wdl-cp::before { left: -9px; clip-path: inset(0 0 0 50%); }
.wdl-cp::after { right: -9px; clip-path: inset(0 50% 0 0); }
.wdl-cp-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.wdl-cp-top > * { margin: 0; }
.wdl-cp-exp { font-size: 12px; color: var(--wdl-muted); display: flex; align-items: center; gap: 5px; }
.wdl-cp-exp::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--ic-clock) center/contain no-repeat; mask: var(--ic-clock) center/contain no-repeat; }
.wdl-cp-val { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.wdl-cp-desc { font-size: 13px; color: var(--wdl-ink2); margin-top: -6px !important; }
.wdl-cp hr.wp-block-separator.wdl-cp-sep { border: 0; border-top: 1px dashed var(--wdl-line2); margin: 4px 0; height: 0; background: none; opacity: 1; width: 100%; max-width: none; }
.wdl-cp-code { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.wdl-cp-code > * { margin: 0; }
.wdl-cp code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 600; font-size: 13px; letter-spacing: .04em; background: none; padding: 0; color: var(--wdl-ink); }
.wdl-copy .wp-block-button__link { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 12.5px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--wdl-line2); background: #fff; color: var(--wdl-ink); }
.wdl-copy .wp-block-button__link::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--ic-copy) center/contain no-repeat; mask: var(--ic-copy) center/contain no-repeat; }
.wdl-copy .wp-block-button__link:hover { border-color: var(--wdl-ink); background: #fff; color: var(--wdl-ink); }
.wdl-copy.is-done .wp-block-button__link { border-color: var(--wdl-green); color: var(--wdl-green); }
.wdl-copy.is-done .wp-block-button__link::before { -webkit-mask-image: var(--ic-check); mask-image: var(--ic-check); }

/* ---------- Hai cột + cột phải ---------- */
.wdl-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.wdl-col-main > *:first-child { margin-top: 0; }
.wdl-aside { display: flex; flex-direction: column; gap: 20px; }
.wdl-aside > * { margin: 0; }
.wdl-tabs { display: flex; gap: 4px; flex-wrap: wrap; background: var(--wdl-soft); padding: 4px; border-radius: 11px; }
.wdl-tabs a { padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--wdl-ink2); text-decoration: none; }
.wdl-tabs a:hover { color: var(--wdl-ink); }
.wdl-tabs a.is-on { background: #fff; color: var(--wdl-ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); font-weight: 600; }

/* Thẻ bài viết */
.wdl-chip a, a.wdl-chip, span.wdl-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 6px; background: var(--wdl-redsoft); color: var(--wdl-red); text-decoration: none; line-height: 1.5; }
.wdl-chip { margin: 0; align-self: flex-start; }
.wdl-chip.is-onimg, span.wdl-chip.is-onimg { background: #fff; align-self: flex-start; }
.wdl-chip .wp-block-post-terms__separator { display: none; }
.wdl-card { background: #fff; border: 1px solid var(--wdl-line); border-radius: var(--wdl-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; height: 100%; box-sizing: border-box; min-width: 0; }
.wdl-card:hover { box-shadow: var(--wdl-shadow); }
.wdl-card > * { margin: 0; }
.wdl-card-media { display: block; margin: 0; overflow: hidden; background: var(--wdl-soft); }
.wdl-card-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; transition: transform .4s; }
.wdl-card:hover .wdl-card-media img { transform: scale(1.03); }
.wdl-card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.wdl-card-body > * { margin: 0; }
.wdl-card-title { font-size: 16.5px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; }
.wdl-card-title a { text-decoration: none; color: var(--wdl-ink); }
.wdl-card-title a:hover { color: var(--wdl-red); }
.wdl-card-excerpt { font-size: 13.5px; color: var(--wdl-ink2); }
.wdl-card-excerpt p { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wdl-card-excerpt .wp-block-post-excerpt__more-text { display: none; }
.wdl-by { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--wdl-muted); flex-wrap: wrap; }
.wdl-by > * { margin: 0; }
.wdl-by > * + *::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: #c3c6cd; margin-right: 8px; vertical-align: middle; }
.wdl-by .wp-block-post-author { display: flex; align-items: center; gap: 8px; }
.wdl-by .wp-block-post-author__avatar { margin: 0; }
.wdl-by .wp-block-post-author__avatar img { border-radius: 50%; border: 1px solid var(--wdl-line2); display: block; }
.wdl-by .wp-block-post-author__content { margin: 0; }
.wdl-by .wp-block-post-author__byline { display: none; }
.wdl-by .wp-block-post-author__name { margin: 0; font-size: 12.5px; }
.wdl-by a { color: inherit; text-decoration: none; }
.wdl-by .wp-block-post-author__avatar + .wp-block-post-author__content::before { content: none; }
.wdl-inprod { display: flex; gap: 12px; align-items: center; border: 1px solid var(--wdl-line); border-radius: 11px; padding: 10px; margin-top: auto !important; background: #fff; }
.wdl-inprod-img { width: 46px; height: 46px; border-radius: 9px; background: var(--wdl-soft); display: grid; place-items: center; color: var(--wdl-ink2); flex: none; overflow: hidden; }
.wdl-inprod-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wdl-inprod-x { flex: 1; min-width: 0; font-size: 12.5px; line-height: 1.35; }
.wdl-inprod-x b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; font-size: 13px; }
.wdl-inprod-x .wdl-price strong { font-size: 13.5px; }
.wdl-inprod-x .wdl-price s { font-size: 11.5px; }
.wdl-adlabel { display: block; font-size: 10.5px; color: var(--wdl-muted); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.wdl-inprod-btn { display: inline-flex; align-items: center; gap: 5px; background: var(--wdl-ink); color: #fff; font-size: 12px; font-weight: 600; padding: 8px 11px; border-radius: 8px; white-space: nowrap; text-decoration: none; }
.wdl-inprod-btn:hover { background: #262a33; color: #fff; }

.wdl-loop .wp-block-post-template { gap: 20px; margin: 0; padding: 0; list-style: none; }
.wdl-loop .wp-block-post-template > li { margin: 0; display: flex; }
.wdl-loop .wp-block-post-template > li > * { width: 100%; }
.wdl-loop--feat .wp-block-post-template > li:first-child { grid-column: 1 / -1; }
.wdl-loop--feat .wp-block-post-template > li:first-child .wdl-card { display: grid; grid-template-columns: 1.1fr 1fr; }
.wdl-loop--feat .wp-block-post-template > li:first-child .wdl-card-media { height: 100%; }
.wdl-loop--feat .wp-block-post-template > li:first-child .wdl-card-media img { height: 100%; min-height: 320px; aspect-ratio: auto; }
.wdl-loop--feat .wp-block-post-template > li:first-child .wdl-card-body { padding: 28px; gap: 12px; justify-content: center; }
.wdl-loop--feat .wp-block-post-template > li:first-child .wdl-card-title { font-size: 23px; line-height: 1.3; letter-spacing: -.02em; font-weight: 700; }
.wdl-loop--feat .wp-block-post-template > li:first-child .wdl-card-excerpt { font-size: 15px; }
.wdl-loop--feat .wp-block-post-template > li:first-child .wdl-card-excerpt p { -webkit-line-clamp: 3; }
.wdl-loop--rows .wp-block-post-template > li .wdl-card { display: grid; grid-template-columns: 300px 1fr; }
.wdl-loop--rows .wdl-card-media { height: 100%; }
.wdl-loop--rows .wdl-card-media img { height: 100%; aspect-ratio: auto; min-height: 220px; }
.wdl-loop .wp-block-query-pagination { margin-top: 32px; gap: 8px; font-weight: 600; font-size: 14px; }
.wdl-loop .wp-block-query-pagination a, .wdl-loop .page-numbers { text-decoration: none; padding: 6px 12px; border-radius: 8px; }
.wdl-loop .page-numbers.current { background: var(--wdl-ink); color: #fff; }
.wdl-cards { display: grid; gap: 20px; }
.wdl-cards--4 { grid-template-columns: repeat(4, 1fr); }
.wdl-cards .wdl-card-body { padding: 14px; }
.wdl-cards .wdl-card-title { font-size: 15px; }
.wdl-cards .wdl-by { font-size: 12px; }
.wdl-more-wrap { margin-top: 24px; }

/* ---------- Cột phải ---------- */
.wdl-box { background: #fff; border: 1px solid var(--wdl-line); border-radius: var(--wdl-radius); padding: 20px; }
.wdl-box > * { margin-block: 0; }
.wdl-box-t { font-size: 15px !important; font-weight: 700; margin: 0 0 14px !important; display: flex; gap: 8px; align-items: center; letter-spacing: 0; line-height: 1.3; }
.wdl-rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.wdl-rank li { margin: 0; }
.wdl-rank a { display: flex; gap: 14px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; padding: 11px 0; border-top: 1px solid var(--wdl-line); font-weight: 500; text-decoration: none; }
.wdl-rank li:first-child a { border-top: 0; padding-top: 0; }
.wdl-rank a:hover { color: var(--wdl-red); }
.wdl-no { font-weight: 700; font-size: 13px; color: var(--wdl-muted); width: 22px; height: 22px; border-radius: 6px; background: var(--wdl-soft); display: grid; place-items: center; flex: none; }
.wdl-rank li:nth-child(-n+3) .wdl-no { background: var(--wdl-ink); color: #fff; }
.wdl-top-p { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--wdl-line); text-decoration: none; }
.wdl-box-t + .wdl-top-p { border-top: 0; padding-top: 0; }
.wdl-top-img { width: 54px; height: 54px; border-radius: 10px; background: var(--wdl-soft); flex: none; overflow: hidden; display: block; }
.wdl-top-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wdl-top-x { flex: 1; font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--wdl-ink); }
.wdl-top-x .wdl-price strong { font-size: 14px; }
.wdl-top-p:hover .wdl-top-x { color: var(--wdl-red); }
.wdl-mini { list-style: none; margin: 0; padding: 0; }
.wdl-mini li { margin: 0; }
.wdl-mini a { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--wdl-line); text-decoration: none; font-size: 13.5px; font-weight: 500; line-height: 1.4; }
.wdl-mini li:first-child a { border-top: 0; padding-top: 0; }
.wdl-mini img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; }
.wdl-mini a:hover { color: var(--wdl-red); }
.wdl-subs { background: var(--wdl-ink); color: #fff; border-color: var(--wdl-ink); }
.wdl-subs .wdl-box-t { color: #fff; }
.wdl-subs .wdl-box-t::before, .wdl-box-t.is-msg::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ic-msg) center/contain no-repeat; mask: var(--ic-msg) center/contain no-repeat; }
.wdl-subs p { font-size: 13px; color: #b8bcc6; margin-bottom: 14px; }
.wdl-subs-form { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.wdl-subs-form input { border: 1px solid #2b2f38; background: #191c22; color: #fff; border-radius: 9px; padding: 11px 12px; font: inherit; font-size: 13.5px; outline: none; }
.wdl-subs-form input:focus { border-color: #5a606c; }
.wdl-subs-form button { background: #fff; color: var(--wdl-ink); border: 0; border-radius: 9px; padding: 11px; font: inherit; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.wdl-disc { font-size: 12.5px; color: var(--wdl-ink2); padding: 16px; background: var(--wdl-soft); border-radius: var(--wdl-radius); line-height: 1.55; }
.wdl-disc p { margin: 0; font-size: 12.5px; }
.wdl-disc a { text-decoration: underline; }
.wdl-promo > * { margin: 0; }
.wdl-promo .wp-block-cover { border-radius: var(--wdl-radius); overflow: hidden; }

/* ---------- Chân trang ---------- */
.wdl-footer { border-top: 1px solid var(--wdl-line); margin-top: 48px; padding-top: 48px; font-size: 13.5px; color: var(--wdl-ink2); background: #fff; }
.wdl-ft { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.wdl-ft > * { margin: 0; }
.wdl-ft-brand > * { margin: 0 0 14px; }
.wdl-ft-about { max-width: 320px; }
.wdl-ft-stores { display: flex; gap: 6px; flex-wrap: wrap; }
.wdl-ft-stores span { border: 1px solid var(--wdl-line2); padding: 4px 9px; border-radius: 6px; font-size: 11.5px; font-weight: 600; color: var(--wdl-ink2); }
.wdl-footer h5 { color: var(--wdl-ink); font-size: 13px; margin: 0 0 14px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.wdl-footer ul { list-style: none; margin: 0; padding: 0; }
.wdl-footer li { margin: 8px 0; }
.wdl-footer a { text-decoration: none; color: var(--wdl-ink2); }
.wdl-footer a:hover { color: var(--wdl-red); }
.wdl-ft-note p { font-size: 12.5px; color: var(--wdl-muted); line-height: 1.55; margin: 0; }
.wp-block-group.wdl-copy { margin-top: 32px; padding-block: 20px 24px; font-size: 12.5px; color: var(--wdl-muted); position: relative; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wp-block-group.wdl-copy::before { content: ""; position: absolute; left: 20px; right: 20px; top: 0; border-top: 1px solid var(--wdl-line); }
.wp-block-group.wdl-copy p { margin: 0; font-size: 12.5px; }
.wp-block-group.wdl-copy a { color: inherit; }

/* Thanh dưới điện thoại + thông báo nhỏ */
.wdl-bnav { display: none; }
.wdl-toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(16px); background: var(--wdl-ink); color: #fff; padding: 11px 16px; border-radius: 11px; font-size: 13.5px; opacity: 0; transition: .25s; pointer-events: none; z-index: 100; box-shadow: 0 10px 30px rgba(0,0,0,.18); max-width: 90vw; }
.wdl-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Bài viết ---------- */
.wdl-article { min-width: 0; }
.wdl-article > * { margin-block: 0; }
.wdl-article > * + * { margin-top: 18px; }
.wdl-single-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.18; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 14px !important; }
.wdl-by--lg { font-size: 13.5px; margin-bottom: 4px; }
.wdl-by--lg .wp-block-post-author__name { font-size: 13.5px; font-weight: 600; color: var(--wdl-ink); }
.wdl-single-image { margin-top: 22px !important; }
.wdl-single-image img { border-radius: 18px; width: 100%; display: block; }
.wdl-toc { background: var(--wdl-soft); border: 1px solid var(--wdl-line); border-radius: 12px; padding: 14px 18px; }
.wdl-toc summary { font-weight: 700; cursor: pointer; font-size: 14px; }
.wdl-toc ol { margin: 10px 0 0; padding-left: 20px; font-size: 14px; display: grid; gap: 6px; }
.wdl-toc a { text-decoration: none; color: var(--wdl-ink2); }
.wdl-toc a:hover { color: var(--wdl-red); }
.wdl-content { font-size: 1.0625rem; line-height: 1.78; color: #1d2128; }
.wdl-content > * { margin-block: 0; }
.wdl-content > * + * { margin-top: 1.2em; }
.wdl-content h2 { font-size: 1.55rem; margin-top: 2em; padding-top: .3em; letter-spacing: -.02em; scroll-margin-top: 140px; }
.wdl-content h3 { font-size: 1.22rem; margin-top: 1.6em; scroll-margin-top: 140px; }
.wdl-content h4 { font-size: 1.05rem; margin-top: 1.4em; }
.wdl-content a { color: var(--wdl-red); text-underline-offset: 3px; }
.wdl-content ul, .wdl-content ol { padding-left: 1.4em; }
.wdl-content li + li { margin-top: .4em; }
.wdl-content figure { margin-inline: 0; }
.wdl-content img { border-radius: 14px; }
.wdl-content blockquote, .wdl-content .wp-block-quote { background: var(--wdl-soft); border-left: 4px solid var(--wdl-red); border-radius: 0 12px 12px 0; padding: 18px 22px; margin-inline: 0; }
.wdl-content blockquote p { margin: 0; font-size: 1.1rem; font-weight: 500; line-height: 1.6; }
.wdl-content blockquote cite { display: block; margin-top: 10px; font-size: .875rem; color: var(--wdl-muted); font-style: normal; }
.wdl-content .wp-block-table, .wdl-content figure.wp-block-table { overflow-x: auto; }
.wdl-content table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; border: 1px solid var(--wdl-line); border-radius: 12px; overflow: hidden; }
.wdl-content th, .wdl-content td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--wdl-line); text-align: left; vertical-align: top; }
.wdl-content thead th { background: var(--wdl-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--wdl-ink2); border-bottom: 1px solid var(--wdl-line2); }
.wdl-content tbody tr:last-child td { border-bottom: 0; }
.wdl-content tbody tr:nth-child(even) td { background: #fcfcfd; }
.wdl-content figcaption, .wdl-content .wp-element-caption { font-size: .8125rem; color: var(--wdl-muted); margin-top: 8px; text-align: left; }
.wdl-content details { border: 1px solid var(--wdl-line); border-radius: 12px; padding: 14px 18px; background: #fff; }
.wdl-content details + details { margin-top: 10px; }
.wdl-content summary { font-weight: 600; cursor: pointer; font-size: 1rem; }
.wdl-content details[open] summary { margin-bottom: 8px; color: var(--wdl-red); }
.wdl-content details p { margin: 0; font-size: 1rem; }
.wdl-box-note { background: var(--wdl-soft); border: 1px solid var(--wdl-line); border-left: 4px solid var(--wdl-ink); border-radius: 12px; padding: 18px 22px; }
.wdl-box-note > * { margin-block: 0; }
.wdl-box-note h4 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--wdl-red); margin: 0 0 8px; }
.wdl-box-note ul { margin: 0; padding-left: 1.2em; }

/* Hộp sản phẩm trong bài */
.wdl-product { border: 1px solid var(--wdl-line); border-radius: 18px; padding: 22px; background: #fff; box-shadow: var(--wdl-shadow); margin-block: 1.6em !important; }
.wdl-product .wp-block-columns { gap: 24px; margin: 0; }
.wdl-product-img { margin: 0; }
.wdl-product-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; display: block; }
.wdl-product .wdl-store { margin: 0 0 6px; }
.wdl-product .wdl-product-name { font-size: 1.3rem; line-height: 1.3; margin: 0 0 8px; letter-spacing: -.02em; }
.wdl-product .wdl-price { margin: 0 0 12px; }
.wdl-product .wdl-price strong { font-size: 1.6rem; letter-spacing: -.02em; }
.wdl-product .wdl-price s { font-size: .9375rem; }
.wdl-checks { list-style: none; padding: 0 !important; margin: 0 0 16px; font-size: .9375rem; line-height: 1.5; }
.wdl-checks li { position: relative; padding-left: 26px; margin: 0 0 7px !important; }
.wdl-checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; background: var(--wdl-green); -webkit-mask: var(--ic-check) center/contain no-repeat; mask: var(--ic-check) center/contain no-repeat; }
.wdl-product .wp-block-buttons { margin: 0; }
.wdl-product .wdl-btn-buy .wp-block-button__link { background: var(--wdl-red); padding: 13px 22px; font-size: .9375rem; border-radius: 11px; width: auto; }
.wdl-product .wdl-btn-buy .wp-block-button__link:hover { background: #a90c18; }

.wdl-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 16px 0; border-block: 1px solid var(--wdl-line); font-size: 13px; }
.wdl-share-label { font-weight: 700; margin-right: 4px; }
.wdl-share-btn { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--wdl-line2); background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--wdl-ink); text-decoration: none; cursor: pointer; }
.wdl-share-btn:hover { border-color: var(--wdl-ink); }
.wdl-share-msg { color: var(--wdl-green); font-weight: 600; }
.wdl-tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.wdl-tags .wp-block-post-terms__separator { display: none; }
.wdl-tags a { padding: 5px 12px; border-radius: 999px; background: var(--wdl-soft); color: var(--wdl-ink2); text-decoration: none; font-weight: 500; }
.wdl-tags a:hover { background: var(--wdl-ink); color: #fff; }
.wdl-author { display: flex; gap: 16px; align-items: flex-start; background: var(--wdl-soft); border-radius: 16px; padding: 20px; }
.wdl-author img { border-radius: 50%; width: 64px; height: 64px; flex: none; }
.wdl-author p { margin: 0; }
.wdl-author-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--wdl-muted); font-weight: 600; }
.wdl-author-name { font-weight: 700; font-size: 1.0625rem; }
.wdl-author-name a { text-decoration: none; }
.wdl-author-bio { font-size: 13.5px; color: var(--wdl-ink2); margin-top: 4px !important; }
.wdl-related { padding-top: 12px; }
.wdl-related .wdl-h2 { margin-bottom: 20px; }

.wdl-comments h2 { font-size: 1.3rem; margin: 16px 0; }
.wdl-comments ol { list-style: none; padding: 0; margin: 0; }
.wdl-comment { padding: 16px 0; border-top: 1px solid var(--wdl-line); }
.wdl-comment-head { font-size: 13px; color: var(--wdl-muted); }
.wdl-comment-head a { color: inherit; text-decoration: none; }
.wdl-comments .comment-author-name, .wdl-comments .wp-block-comment-author-name { font-weight: 700; color: var(--wdl-ink); }
.wdl-comments .wp-block-comment-content p { margin: 6px 0; font-size: .9375rem; }
.wdl-comments .wp-block-comment-reply-link a { font-size: 13px; font-weight: 600; text-decoration: none; }
.wdl-comments .children, .wdl-comments .wp-block-comment-template ol { margin-left: 32px; }
.wdl-comments .comment-respond { margin-top: 24px; }
.wdl-comments .comment-reply-title { font-size: 1.15rem; font-weight: 700; }
.wdl-comments form p { margin: 0 0 12px; }
.wdl-comments label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.wdl-comments input[type="text"], .wdl-comments input[type="email"], .wdl-comments textarea { width: 100%; border: 1px solid var(--wdl-line2); border-radius: 10px; padding: 11px 13px; font: inherit; font-size: 14.5px; box-sizing: border-box; }
.wdl-comments .comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; }
.wdl-comments .comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.wdl-comments .form-submit input, .wdl-comments .wp-block-button__link { background: var(--wdl-ink); color: #fff; border: 0; padding: 12px 20px; border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; }

/* Kiểu bài rộng + tập trung */
.wdl-wide-head { padding-top: 40px; text-align: center; }
.wdl-wide-head > * { margin-inline: auto; }
.wdl-wide-head .wdl-chip { display: flex; justify-content: center; align-self: auto; }
.wdl-wide-head .wdl-single-title { max-width: 900px; }
.wdl-wide-head .wdl-by { justify-content: center; }
.wdl-single-image.is-wide { margin-top: 28px !important; max-width: 1240px; }
.wdl-single-image.is-wide img { border-radius: 22px; max-height: 560px; }
.wdl-wrap.wdl-article--wide { max-width: 840px; margin-top: 32px; }
.wdl-wrap.wdl-article--focus { max-width: 740px; padding-top: 48px; }
.wdl-article--focus .wdl-single-title { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.wdl-focus-ex { font-size: 1.125rem; color: var(--wdl-ink2); line-height: 1.6; }
.wdl-focus-ex p { margin: 0; }
.wdl-focus-ex .wp-block-post-excerpt__more-text { display: none; }
.wdl-article--focus .wp-block-separator { border: 0; border-top: 1px solid var(--wdl-line); margin: 22px 0 !important; opacity: 1; background: none; }
.wdl-article--focus .wdl-content { font-size: 1.125rem; }
.wdl-article--focus .wdl-product { box-shadow: none; }

/* ---------- Lưu trữ, tìm kiếm, 404, trang ---------- */
.wdl-archive-head { padding-bottom: 8px; }
.wdl-archive-head > * { margin-block: 0; }
.wdl-archive-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); letter-spacing: -.03em; font-weight: 800; margin: 4px 0 8px; }
.wdl-archive-head .wp-block-term-description { color: var(--wdl-ink2); max-width: 680px; }
.wdl-404 { text-align: center; padding-block: 56px 24px; }
.wdl-404 > * { margin-inline: auto; }
.wdl-404-n { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; letter-spacing: -.05em; color: var(--wdl-red); line-height: 1; margin: 0; }
.wdl-404 .wdl-search { margin-inline: auto; }
.wdl-page h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; }
.wdl-page > * + * { margin-top: 18px; }

/* ---------- Trang chủ kiểu 2: banner + hàng cuộn ngang ---------- */
.wdl-banner { background: radial-gradient(900px 340px at 85% -20%, rgba(208,16,30,.55), transparent 70%), #0f1115; color: #fff; padding-block: 56px 48px; }
.wdl-banner-in > * { margin-block: 0; }
.wdl-banner h1 { color: #fff; max-width: 880px; }
.wdl-banner .wdl-lead { color: #c4c8d1; }
.wdl-store-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; }
.wdl-store-tiles > * { margin: 0; }
.wdl-store-tile a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 18px 40px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none; position: relative; transition: background .2s; }
.wdl-store-tile a:hover { background: rgba(255,255,255,.14); color: #fff; }
.wdl-store-tile .wdl-sd { position: absolute; left: 20px; top: 25px; width: 9px; height: 9px; }
.wdl-store-tile strong { font-size: 16px; }
.wdl-store-tile a span:not(.wdl-sd) { font-size: 12.5px; color: #aab0bb; }
.wdl-main--stores .wdl-hero-wrap { padding-top: 24px; }
.wdl-scroll .wdl-grid, .wdl-scroll .wdl-coupons { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 12px; scrollbar-width: thin; }
.wdl-scroll .wdl-grid > .wdl-p { flex: 0 0 224px; scroll-snap-align: start; }
.wdl-scroll .wdl-coupons > .wdl-cp { flex: 0 0 270px; scroll-snap-align: start; }

/* ---------- Trang chủ kiểu 3: tạp chí ---------- */
.wdl-top { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; padding-top: 28px; }
.wdl-big { position: relative; border-radius: 20px; overflow: hidden; min-height: 460px; background: #0f1115 var(--wdl-big-img) center/cover; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; gap: 12px; text-decoration: none; isolation: isolate; }
.wdl-big::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,17,21,0) 20%, rgba(15,17,21,.88) 100%); z-index: -1; }
.wdl-big-title { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; max-width: 640px; }
.wdl-big-ex { font-size: 15px; color: #d6d9e0; max-width: 600px; line-height: 1.55; }
.wdl-big-prod { align-self: flex-start; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 8px 12px; font-size: 13px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wdl-big-prod b { color: #ffb3b9; }
.wdl-top-list { display: flex; flex-direction: column; gap: 12px; }
.wdl-row { display: grid; grid-template-columns: 124px 1fr; gap: 14px; border: 1px solid var(--wdl-line); border-radius: var(--wdl-radius); padding: 10px; text-decoration: none; background: #fff; align-items: center; transition: box-shadow .2s; flex: 1; }
.wdl-row:hover { box-shadow: var(--wdl-shadow); }
.wdl-row-img { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: var(--wdl-soft); }
.wdl-row-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wdl-row-x { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wdl-row-cat { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--wdl-red); font-weight: 700; }
.wdl-row-t { font-size: 14.5px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wdl-row-d { font-size: 12px; color: var(--wdl-muted); }
.wdl-dt { overflow-x: auto; }
.wdl-dt table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px; margin: 0; }
.wdl-dt th, .wdl-dt td { padding: 14px 18px; border-bottom: 1px solid var(--wdl-line); text-align: left; vertical-align: middle; }
.wdl-dt tr:last-child td { border-bottom: 0; }
.wdl-dt th { font-size: 12px; color: var(--wdl-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.wdl-dt-no { font-weight: 800; font-size: 18px; color: var(--wdl-muted); width: 40px; }
.wdl-dt tr:nth-child(-n+3) .wdl-dt-no { color: var(--wdl-red); }
.wdl-dt-prod { display: flex; align-items: center; gap: 14px; }
.wdl-dt-prod b { display: block; font-weight: 600; font-size: 14px; line-height: 1.35; }
.wdl-dt-img { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--wdl-soft); flex: none; }
.wdl-dt-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wdl-dt-post { font-size: 12.5px; color: var(--wdl-muted); text-decoration: underline; }
.wdl-dt td.wdl-price strong { font-size: 16px; }
.wdl-dt-act { width: 150px; }
.wdl-dt-act .wp-block-buttons { margin: 0; }
.wdl-dt-act .wp-block-button { width: 100%; }

/* ---------- Co giãn ---------- */
@media (max-width: 1080px) {
	.wdl-grid { grid-template-columns: repeat(3, 1fr); }
	.wdl-coupons { grid-template-columns: repeat(2, 1fr); }
	.wdl-cols { grid-template-columns: 1fr; }
	.wdl-aside { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
	.wdl-hero { grid-template-columns: 1fr; }
	.wdl-ft { grid-template-columns: 1fr 1fr; }
	.wdl-cards--4 { grid-template-columns: repeat(2, 1fr); }
	.wdl-top { grid-template-columns: 1fr; }
	.wdl-top-list { display: grid; grid-template-columns: 1fr 1fr; }
	.wdl-hd-link span { display: none; }
	.wdl-hd-link { padding: 9px; }
	.wdl-store-tiles { grid-template-columns: repeat(2, 1fr); }
	.wdl-mega { display: none !important; }
	.wdl-cats-in { overflow-x: auto; scrollbar-width: none; }
	.wdl-cats-in::-webkit-scrollbar { display: none; }
	.wdl-loop--rows .wp-block-post-template > li .wdl-card { grid-template-columns: 240px 1fr; }
}
@media (max-width: 720px) {
	:root { --wdl-hd-top: 34px; }
	.wdl-wrap { padding-inline: 16px; }
	.wdl-topbar-in .wdl-tb-r { display: none; }
	.wdl-hd { flex-wrap: wrap; gap: 12px; padding-block: 12px; }
	.wdl-search { order: 3; flex-basis: 100%; }
	.wdl-hd-links { margin-left: auto; }
	.wdl-tagline { display: none; }
	.wdl-hero-main { padding: 26px; }
	.wdl-hero h1 { font-size: 2rem; }
	.wdl-stats { gap: 20px; }
	.wdl-trust { grid-template-columns: 1fr 1fr; }
	.wdl-trust-i:nth-child(3) { border-left: 0; }
	.wdl-trust-i:nth-child(n+3) { border-top: 1px solid var(--wdl-line); }
	.wdl-trust-i { padding-right: 12px; }
	.wdl-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.wdl-p > *:not(.wdl-p-media) { margin-inline: 10px; }
	.wdl-coupons { grid-template-columns: 1fr; }
	.wdl-loop--feat .wp-block-post-template > li:first-child .wdl-card, .wdl-loop--rows .wp-block-post-template > li .wdl-card { grid-template-columns: 1fr; }
	.wdl-loop--feat .wp-block-post-template > li:first-child .wdl-card-media img, .wdl-loop--rows .wdl-card-media img { min-height: 0; aspect-ratio: 16/10; height: auto; }
	.wdl-loop--feat .wp-block-post-template > li:first-child .wdl-card-body { padding: 18px; }
	.wdl-loop .wp-block-post-template.is-layout-grid { grid-template-columns: 1fr; }
	.wdl-aside { grid-template-columns: 1fr; }
	.wdl-ft { grid-template-columns: 1fr; }
	.wdl-cards--4 { grid-template-columns: 1fr; }
	.wdl-sec-h { align-items: flex-start; }
	.wdl-sec-h h2 { font-size: 21px; }
	.wdl-top-list { grid-template-columns: 1fr; }
	.wdl-big { min-height: 380px; padding: 22px; }
	.wdl-store-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
	.wdl-store-tile a { padding: 14px 14px 14px 32px; }
	.wdl-store-tile .wdl-sd { left: 14px; top: 20px; }
	.wdl-banner { padding-block: 36px; }
	.wdl-product { padding: 16px; }
	.wdl-product .wp-block-columns { gap: 14px; }
	.wp-block-group.wdl-copy::before { left: 16px; right: 16px; }
	.wdl-scroll .wdl-grid > .wdl-p { flex-basis: 190px; }
	.wdl-wide-head { padding-top: 24px; }
	body { padding-bottom: 66px; }
	.wdl-bnav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--wdl-line); z-index: 90; justify-content: space-around; padding: 8px 0 10px; }
	.wdl-bnav a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--wdl-muted); font-weight: 500; text-decoration: none; }
	.wdl-bnav a.is-on { color: var(--wdl-ink); font-weight: 600; }
	.wdl-toast { bottom: 84px; }
}

/* Phần tử con trực tiếp của lưới: bỏ khoảng cách dọc do layout của WordPress thêm */
.wdl-grid > *, .wdl-coupons > *, .wdl-cards > *, .wdl-store-tiles > *, .wdl-hero > *, .wdl-trust > *, .wdl-top > *, .wdl-top-list > *, .wdl-ft > *, .wdl-cols > *, .wdl-stats > *, .wdl-ctas > * { margin-block: 0 !important; }
.wdl-ctas.wp-block-buttons .wdl-btn-read .wp-block-button__link, .wdl-btn-read.wp-block-button .wp-block-button__link { border: 1px solid var(--wdl-line2); background: #fff; }

/* ---------- Form đăng ký (Wriai Toolkit) ---------- */
.wriai-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.wdl-subs-form button[disabled] { opacity: .6; cursor: wait; }
[data-wriai-subscribe-msg] { margin: 0; font-size: 13px; line-height: 1.45; min-height: 0; }
[data-wriai-subscribe-msg].is-ok { color: #5ee0b0; }
[data-wriai-subscribe-msg].is-error { color: #ff9aa2; }
[data-wriai-subscribe-msg]:empty { display: none; }

/* ---------- Khung xem trước slot trong Site Editor ---------- */
.wdl-slot-ph { border: 1px dashed var(--wdl-line2); border-radius: 12px; background: var(--wdl-soft); padding: 16px 18px; color: var(--wdl-ink2); font-size: 13px; line-height: 1.5; display: flex; flex-direction: column; gap: 2px; }
.wdl-slot-ph strong { color: var(--wdl-ink); font-size: 14px; }
.wdl-slot-edit { min-width: 0; }

/* ---------- Menu điện thoại ---------- */
.wdl-burger { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--wdl-line2); background: #fff; color: var(--wdl-ink); cursor: pointer; padding: 0; flex: none; }
.wdl-burger:hover { border-color: var(--wdl-ink); }
.wdl-burger .wdl-ic { width: 22px; height: 22px; }
.wdl-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.wdl-drawer.is-open { visibility: visible; pointer-events: auto; }
.wdl-drawer-bg { position: absolute; inset: 0; background: rgba(15,17,21,.55); opacity: 0; transition: opacity .25s; }
.wdl-drawer.is-open .wdl-drawer-bg { opacity: 1; }
.wdl-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 360px); background: #fff; transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; box-shadow: -18px 0 50px rgba(0,0,0,.18); }
.wdl-drawer.is-open .wdl-drawer-panel { transform: none; }
.wdl-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--wdl-line); flex: none; }
.wdl-drawer-title { font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; }
.wdl-drawer-x { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--wdl-line2); background: #fff; color: var(--wdl-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.wdl-dm { overflow-y: auto; padding: 8px 12px 28px; flex: 1; -webkit-overflow-scrolling: touch; }
.wdl-dm ul { list-style: none; margin: 0; padding: 0; }
.wdl-dm li { margin: 0; }
.wdl-dm-a, .wdl-dm-sub summary { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--wdl-ink); text-decoration: none; cursor: pointer; list-style: none; }
.wdl-dm-sub summary::-webkit-details-marker { display: none; }
.wdl-dm-a:hover, .wdl-dm-sub summary:hover { background: var(--wdl-soft); }
.wdl-dm-a.is-hl { color: var(--wdl-red); }
.wdl-dm-a .wdl-ic, .wdl-dm-sub summary .wdl-ic { color: var(--wdl-ink2); }
.wdl-dm-sub summary .wdl-dm-chev { margin-left: auto; transition: transform .2s; }
.wdl-dm-sub[open] summary .wdl-dm-chev { transform: rotate(180deg); }
.wdl-dm-sub ul { margin: 0 0 6px 22px; padding-left: 12px; border-left: 2px solid var(--wdl-line); }
.wdl-dm-sub .wdl-dm-a { font-weight: 500; font-size: 14.5px; padding: 10px; }
.wdl-dm-label { margin: 18px 10px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wdl-muted); }
html.wdl-lock, html.wdl-lock body { overflow: hidden; }
@media (max-width: 782px) {
	.wdl-burger { display: inline-flex; order: 2; margin-left: auto; }
	.wdl-hd .wdl-logo { order: 1; }
	.wdl-hd .wdl-search { order: 3; }
	.wdl-hd-links { display: none; }
	.wdl-cats { display: none; }
}
@media (min-width: 783px) { .wdl-drawer { display: none; } }
.admin-bar .wdl-drawer { top: 46px; }
@media (min-width: 783px) { .admin-bar .wdl-drawer { top: 0; } }
@media (max-width: 720px) { .wdl-bnav { z-index: 50; } }
