/* Hairiel admin — Business details screen. */

.ha-screen--business [hidden] { display: none !important; }

/* WhatsApp number + floating button switch side by side. */
.ha-biz-wa { align-items: end; }
.ha-biz-wa__switch { padding-bottom: 22px; }
@media (max-width: 600px) { .ha-biz-wa__switch { padding-bottom: 0; } }

/* ---------- Weekly hours ---------- */
.ha-biz-week { display: flex; flex-direction: column; }
.ha-biz-day { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; min-height: 61px; padding: 10px 0; border-top: 1px solid var(--line); }
.ha-biz-day:first-child { border-top: 0; }
.ha-biz-day__name { flex: 0 0 104px; font-weight: 600; color: var(--ink); }
.ha-biz-day__state { flex: 0 0 92px; display: inline-flex; align-items: center; gap: 10px; min-height: 34px; }
.ha-biz-day__state-text { font-size: 13px; color: var(--ink); cursor: pointer; }
.ha-biz-day.is-closed .ha-biz-day__state-text { color: var(--muted); }
.ha-biz-day__times { flex: 1 1 0; min-width: 280px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.ha-biz-day__flag { display: none !important; }
.ha-biz-range { display: inline-flex; align-items: center; gap: 6px; }
.ha-biz-range__dash { color: var(--muted); }
.ha-app .ha-input.ha-biz-time { width: 122px; min-height: 36px; padding: 0 8px; font-variant-numeric: tabular-nums; }
.ha-biz-range--after { padding-left: 14px; border-left: 1px dashed var(--line); }
.ha-app .ha-biz-x { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-left: 2px; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.ha-app .ha-biz-x:hover { background: var(--soft); color: var(--bad); }
.ha-app .ha-biz-day__error { flex: 1 0 100%; margin: -2px 0 0 228px; }

@media (max-width: 782px) {
	.ha-app .ha-biz-day__error { margin-left: 0; }
}
@media (max-width: 600px) {
	.ha-biz-day { gap: 8px 12px; }
	.ha-biz-day__name { flex: 1 1 auto; }
	.ha-biz-day__state { flex: 0 0 auto; }
	.ha-biz-day__times { flex: 1 0 100%; min-width: 0; }
	.ha-biz-range--after { padding-left: 0; border-left: 0; }
	.ha-app .ha-input.ha-biz-time { width: 118px; }
}

/* ---------- Summary ---------- */
.ha-biz-summary { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 10px; background: var(--soft); }
.ha-biz-summary__head { display: flex; flex-direction: column; gap: 2px; }
.ha-biz-summary__line { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.ha-biz-summary__custom { padding-top: 2px; }

/* ---------- Closed days ---------- */
.ha-biz-closed { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.ha-biz-closed .ha-card__head .ha-label { margin: 0; }
.ha-biz-closed__list { display: flex; flex-direction: column; gap: 8px; }
.ha-biz-closed__list:empty { display: none; }
.ha-biz-closed__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.ha-biz-closed__icon { flex: none; display: flex; color: var(--muted); }
.ha-biz-closed__date { flex: 0 0 170px; }
.ha-biz-closed__name { flex: 1 1 180px; }
.ha-biz-closed__yearly { flex: none; font-size: 13px; min-height: 34px; }
.ha-biz-closed__remove { flex: none; margin-left: auto; }
.ha-app .ha-biz-closed__error { flex: 1 0 100%; margin: 0 0 0 28px; }
.ha-biz-closed__add { align-self: flex-start; }
@media (max-width: 600px) {
	.ha-biz-closed__date { flex: 1 1 150px; }
	.ha-biz-closed__name { flex: 1 0 100%; order: 3; }
	.ha-biz-closed__yearly { order: 4; }
	.ha-biz-closed__remove { order: 5; }
	.ha-app .ha-biz-closed__error { order: 6; margin-left: 0; }
}

/* ---------- Social ---------- */
.ha-biz-social { display: flex; flex-direction: column; gap: 14px; }
.ha-biz-social__row { display: flex; align-items: flex-end; gap: 12px; }
.ha-biz-social__row > .ha-field { flex: 1; }
.ha-biz-social__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--soft); color: var(--ink); display: flex; align-items: center; justify-content: center; }

/* ---------- Footer preview ---------- */
.ha-biz-foot { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 10px; background: var(--foot, #1a1614); color: var(--foot-ink, #cfc6bf); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.ha-biz-foot__brand { display: flex; flex-direction: column; gap: 4px; line-height: 1.05; color: var(--foot-head, #fff); }
.ha-biz-foot__top { font-size: 8px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; }
.ha-biz-foot__name { font-family: var(--foot-font, Poppins, sans-serif); font-size: 20px; font-weight: var(--foot-weight, 600); text-transform: var(--foot-case, none); letter-spacing: var(--foot-track, -.01em); }
.ha-biz-foot__logo { display: block; max-width: 140px; max-height: 40px; width: auto; height: auto; object-fit: contain; object-position: left center; }
.ha-biz-foot__text { display: flex; flex-direction: column; }
.ha-biz-foot__social { display: flex; gap: 10px; color: var(--foot-head, #fff); }
.ha-biz-foot__social:not(:has(> :not([hidden]))) { display: none; }
.ha-biz-foot__bottom { padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .14); }
