/* Compact light footer (Mewurk-style): links + legal at the top, contact strip, one-line bottom bar. */
.ws-footer.hf { background: var(--ws-soft); color: var(--ws-text); border-top: 1px solid var(--ws-line); padding: 40px 0 0; font-size: 13.5px; }
.hf .ws-logo { color: var(--ws-ink); }
.hf a { color: var(--ws-text); transition: color .15s ease; }
.hf a:hover { color: var(--ws-brand); }
.hf-h { margin: 0 0 10px; color: var(--ws-ink); font: 700 12px var(--ws-head); text-transform: uppercase; letter-spacing: .06em; }

.hf-top { display: grid; grid-template-columns: minmax(230px, 1.6fr) repeat(auto-fit, minmax(130px, 1fr)); gap: 28px; padding-bottom: 26px; }
.hf-brand p { margin: 10px 0 14px; max-width: 320px; line-height: 1.55; }
.hf-brand .ws-logo { display: inline-flex; }
.hf .ws-logo-foot { height: 72px; }
.hf-brand .ws-logo > img { max-height: 48px; width: auto; }
.hf-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.hf-news { max-width: 320px; }
.hf-news b { display: block; color: var(--ws-ink); font-size: 13px; margin-bottom: 8px; }
.hf-news-row { display: flex; border: 1px solid var(--ws-line); border-radius: 999px; background: var(--ws-card); padding: 3px; }
.hf-news-row input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 6px 12px; font-size: 13px; color: var(--ws-ink); outline: none; }
.hf-news-row button { border: 0; border-radius: 999px; background: var(--ws-brand); color: #fff; font-weight: 600; font-size: 12.5px; padding: 6px 14px; cursor: pointer; }

.hf-mid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1.3fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--ws-line); align-items: start; }
.hf-mid > div > a, .hf-txt { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; line-height: 1.45; }
.hf-mid i { color: var(--ws-brand); }
.hf-stores { display: flex; flex-wrap: wrap; gap: 8px; }
.hf-store { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ws-line); background: var(--ws-card); border-radius: 9px; padding: 5px 11px; color: var(--ws-ink) !important; }
.hf-store i { font-size: 20px; color: var(--ws-ink) !important; }
.hf-store span { display: grid; font-weight: 700; font-size: 12.5px; line-height: 1.1; }
.hf-store small { font-weight: 500; font-size: 9.5px; color: var(--ws-muted); }
.hf-store:hover { border-color: var(--ws-brand); }
.hf-trust { display: grid; gap: 6px; }
.hf-trust span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.hf-trust i { color: #16A34A !important; }

.hf-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px 22px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--ws-line); font-size: 12.5px; color: var(--ws-muted); }
.hf-bar nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 600; }
.hf-bar nav a { color: var(--ws-ink); }
.hf-bar .ws-theme-switch { margin: 0; background: var(--ws-card); border: 1px solid var(--ws-line); }
.hf-bar .ws-theme-switch button { color: var(--ws-muted); padding: 4px 10px; font-size: 12.5px; }
.hf-bar .ws-theme-switch button.on { background: var(--ws-tint); color: var(--ws-brand); }
[data-theme="dark"] .ws-footer.hf { background: #0A1222; }

@media (max-width: 1080px) {
	.hf-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hf-brand { grid-column: 1 / -1; }
	.hf-brand p, .hf-news { max-width: 520px; }
	.hf-mid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.hf-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
	.hf-mid { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
	.hf-mid .hf-wide { grid-column: 1 / -1; }
	.hf-mid > div > a { font-size: 12.5px; word-break: break-all; }
	.hf-bar { flex-direction: column; align-items: flex-start; }
}

/* Compact footer (v2) */
.ws-footer.hf { padding-top: 22px; font-size: 12.5px; }
.hf-top { gap: 18px; padding-bottom: 14px; }
.hf-h { margin-bottom: 6px; font-size: 11px; }
.hf-col ul { gap: 2px; }
.hf-col a { line-height: 1.45; }
.hf-brand p { margin: 6px 0 8px; line-height: 1.45; font-size: 12.5px; }
.hf .ws-logo-foot { height: 60px; }
.hf-news b { margin-bottom: 5px; font-size: 12px; }
.hf-news-row input { padding: 4px 10px; }
.hf-news-row button { padding: 4px 12px; }
.hf-mid { padding: 12px 0; gap: 16px; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; }
.hf-mid > div > a, .hf-txt { margin-bottom: 2px; }
.hf-store { padding: 3px 9px; } .hf-store i { font-size: 17px; } .hf-store span { font-size: 11.5px; }
.hf-trust { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.hf-trust span { font-size: 11.5px; }
.hf-bar { padding: 8px 0; }
.hf-bar .ws-theme-switch button { padding: 2px 8px; }
@media (max-width: 1080px) { .hf-mid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Footer v2: brand · columns · "Need help?" card, trust strip, one-line bottom bar ---------- */
.hf2 { position: relative; background: linear-gradient(180deg, color-mix(in srgb, var(--ws-brand, #008CDB) 5%, var(--ws-bg)), var(--ws-bg) 60%); border-top: 0; }
.hf2::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--ws-brand, #008CDB), #16A34A); }
.hf2-top { display: grid; grid-template-columns: minmax(260px, 1.5fr) repeat(var(--hf2-cols, 2), minmax(130px, 1fr)) minmax(300px, 1.45fr); gap: 32px; padding: 52px 0 36px; align-items: start; }
.hf2-top.no-help { grid-template-columns: minmax(260px, 1.5fr) repeat(var(--hf2-cols, 2), minmax(140px, 1fr)); }
.hf2-brand p { color: var(--ws-muted); font-size: 14.5px; line-height: 1.65; margin: 14px 0 18px; max-width: 380px; }
.hf2 .hf-h { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ws-ink); margin: 6px 0 16px; }
.hf2-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.hf2-col a { color: var(--ws-muted); font-size: 14.5px; transition: color .15s, padding .15s; }
.hf2-col a:hover { color: var(--ws-brand, #008CDB); padding-left: 3px; }
.hf2-help { border-radius: 18px; padding: 22px; color: #fff; background: linear-gradient(140deg, color-mix(in srgb, var(--ws-brand, #008CDB) 85%, #0B1220), var(--ws-brand, #008CDB) 55%, #16A34A); box-shadow: 0 24px 50px -30px color-mix(in srgb, var(--ws-brand, #008CDB) 80%, transparent); display: flex; flex-direction: column; gap: 9px; }
.hf2-help-h { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; margin: 0; color: #fff; }
.hf2-help-h i { font-size: 22px; }
.hf2-help-t { margin: 0 0 6px; font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.hf2-help > a:not(.hf2-help-btn), .hf2-help > span { display: flex; align-items: flex-start; gap: 9px; color: #fff; font-size: 13.5px; overflow-wrap: anywhere; }
.hf2-help > a:not(.hf2-help-btn) i, .hf2-help > span i { font-size: 17px; margin-top: 1px; opacity: .9; }
.hf2-help > a:not(.hf2-help-btn):hover { text-decoration: underline; }
.hf2-help-btn { margin-top: 8px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: color-mix(in srgb, var(--ws-brand, #008CDB) 80%, #0B1220); font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; box-shadow: 0 10px 20px -12px rgba(2, 6, 23, .5); }
.hf2-help-btn:hover { transform: translateY(-1px); }
.hf2-help small { color: rgba(255, 255, 255, .85); font-size: 12.5px; } .hf2-help small a { color: #fff; font-weight: 700; }
.hf2-strip { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; padding: 20px 0; border-top: 1px solid var(--ws-line); }
.hf2-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.hf2-trust span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: color-mix(in srgb, var(--ws-brand, #008CDB) 8%, var(--ws-bg)); border: 1px solid var(--ws-line); font-size: 13px; color: var(--ws-ink); }
.hf2-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 18px 0 22px; border-top: 1px solid var(--ws-line); font-size: 13.5px; color: var(--ws-muted); }
.hf2-bar nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-left: auto; }
.hf2-bar nav a { color: var(--ws-muted); } .hf2-bar nav a:hover { color: var(--ws-brand, #008CDB); }
.hf2-bar .ws-theme-switch { margin-left: 0; }
@media (max-width: 1100px) { .hf2-top, .hf2-top.no-help { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hf2-brand { grid-column: 1 / -1; } .hf2-help { grid-column: 1 / -1; } }
@media (max-width: 600px) { .hf2-top, .hf2-top.no-help { grid-template-columns: 1fr 1fr; gap: 26px 18px; padding-top: 38px; } .hf2-bar nav { margin-left: 0; } }
[data-theme="dark"] .hf2 { background: var(--ws-bg); }
.hf2-help > a[href^="mailto:"] { white-space: nowrap; overflow-wrap: normal; }
.hf2 .hf-news-row { display: flex; min-width: 0; max-width: 100%; } .hf2 .hf-news-row input { min-width: 0; flex: 1; }
@media (max-width: 600px) { .hf2-bar { justify-content: center; text-align: center; } .hf2-bar nav { justify-content: center; width: 100%; } .hf2-help > a[href^="mailto:"] { white-space: normal; overflow-wrap: anywhere; } }

[data-theme="dark"] .hf2-help-btn { color: #0B4FA8; }
