.htks-hours {
	--hours-red: #c72b2f;
	--hours-ink: #17202a;
	--hours-muted: #687580;
	--hours-line: #e1e6e8;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--hours-line);
	border-radius: 24px;
	box-shadow: 0 24px 65px rgba(23,32,42,.1);
	color: var(--hours-ink);
}
.htks-hours-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding: 35px 38px 28px; background: linear-gradient(135deg, #17242c, #29414e); color: #fff; }
.htks-hours-kicker { margin: 0 0 7px; color: #a9d9ee; font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.htks-hours-header h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; letter-spacing: -.045em; }
.htks-hours-header p:last-child { max-width: 680px; margin: 14px 0 0; color: rgba(255,255,255,.7); font-size: .9rem; }
.htks-hours-privacy { display: flex; align-items: center; gap: 9px; max-width: 230px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.74); font-size: .7rem; }
.htks-hours-privacy svg { width: 20px; height: 20px; flex: 0 0 20px; fill: #8ed4b0; }
.htks-hours-controls { display: grid; grid-template-columns: 1.35fr .65fr .75fr 1fr 1fr; gap: 15px; padding: 28px 38px 18px; }
.htks-hours-controls label { display: grid; gap: 6px; color: var(--hours-muted); font-size: .7rem; font-weight: 850; letter-spacing: .04em; }
.htks-hours-controls input[type="text"], .htks-hours-controls input[type="date"], .htks-hours-controls select { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid var(--hours-line); border-radius: 10px; background: #fff; color: var(--hours-ink); font: inherit; font-size: .88rem; letter-spacing: 0; }
.htks-hours-controls input:focus, .htks-hours-controls select:focus, .htks-hours-day select:focus { border-color: var(--hours-red); outline: 3px solid rgba(199,43,47,.1); }
.htks-hours-check { display: flex !important; grid-column: 1 / -1; align-items: center; gap: 9px !important; width: max-content; cursor: pointer; }
.htks-hours-check input { width: 18px; height: 18px; accent-color: var(--hours-red); }
.htks-hours-barrier { display: flex; align-items: baseline; gap: 7px; margin: 0 38px 28px; padding: 16px 20px; border: 1px solid #dbe5e9; border-radius: 13px; background: #f3f7f8; }
.htks-hours-barrier span { margin-right: auto; color: var(--hours-muted); font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.htks-hours-barrier strong { font-size: 1.7rem; letter-spacing: -.04em; }
.htks-hours-barrier small { color: var(--hours-muted); }
.htks-hours-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 0 38px 18px; }
.htks-hours-toolbar h3 { margin: 0; font-size: 1.35rem; letter-spacing: -.025em; }
.htks-hours-toolbar p { margin: 2px 0 0; color: var(--hours-muted); font-size: .8rem; }
.htks-hours-actions { display: flex; gap: 8px; }
.htks-hours-button { min-height: 40px; padding: 8px 15px; border: 1px solid var(--hours-line); border-radius: 9px; background: #fff; color: var(--hours-ink); font-weight: 850; cursor: pointer; }
.htks-hours-button-holidays { display: inline-flex; align-items: center; gap: 7px; }
.htks-hours-button-holidays svg { width: 17px; height: 17px; fill: currentColor; }
.htks-hours-button:hover { border-color: var(--hours-red); color: var(--hours-red); }
.htks-hours-button-save { border-color: var(--hours-red); background: var(--hours-red); color: #fff; }
.htks-hours-button-save:hover { background: #a92327; color: #fff; }
.htks-hours-calendar { padding: 0 38px 35px; }
.htks-hours-weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 9px; margin-bottom: 8px; color: var(--hours-muted); font-size: .63rem; font-weight: 900; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.htks-hours-weekdays span:nth-last-child(-n+2) { color: var(--hours-red); }
.htks-hours-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 9px; }
.htks-hours-day-spacer { min-width: 0; }
.htks-hours-day { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 1px 7px; min-width: 0; padding: 11px; border: 1px solid var(--hours-line); border-radius: 12px; background: #fff; }
.htks-hours-day > span { font-size: 1.15rem; font-weight: 900; }
.htks-hours-day > small { color: var(--hours-muted); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.htks-hours-day select { grid-column: 1 / -1; min-width: 0; width: 100%; margin-top: 6px; padding: 7px; border: 1px solid var(--hours-line); border-radius: 8px; background: #f7f8f9; color: var(--hours-ink); font-size: .72rem; }
.htks-hours-day.is-holiday { border-color: #efd5d6; background: #fffafa; }
.htks-hours-day.is-holiday > span { color: var(--hours-red); }
.htks-hours-day.is-official-holiday { box-shadow: inset 0 3px 0 var(--hours-red); }
.htks-hours-results { display: grid; grid-template-columns: 1fr 1.3fr 1fr; background: #17242c; color: #fff; }
.htks-hours-results > div { display: grid; gap: 5px; padding: 24px 30px; border-right: 1px solid rgba(255,255,255,.1); }
.htks-hours-results > div:last-child { border-right: 0; }
.htks-hours-results span { color: rgba(255,255,255,.6); font-size: .7rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.htks-hours-results strong { font-size: 1.25rem; }
.htks-hours-results b { font: inherit; }
.htks-hours-notice { min-height: 22px; margin: 0; padding: 8px 38px; color: #26744a; font-size: .75rem; text-align: right; }
.htks-holiday-dialog {
	width: min(620px, calc(100% - 28px));
	max-height: calc(100vh - 40px);
	padding: 0;
	overflow: auto;
	border: 0;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 30px 100px rgba(15,28,37,.35);
	color: var(--hours-ink);
}
.htks-holiday-dialog::backdrop { background: rgba(10,19,25,.62); backdrop-filter: blur(4px); }
.htks-holiday-modal > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 25px 27px 20px; border-bottom: 1px solid var(--hours-line); }
.htks-holiday-modal > header p { margin: 0 0 4px; color: var(--hours-red); font-size: .66rem; font-weight: 900; letter-spacing: .13em; }
.htks-holiday-modal > header h3 { margin: 0; font-size: 1.55rem; letter-spacing: -.035em; }
.htks-holiday-close { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--hours-line); border-radius: 50%; background: #fff; color: var(--hours-ink); font-size: 1.55rem; line-height: 1; cursor: pointer; }
.htks-holiday-close:hover { border-color: var(--hours-red); color: var(--hours-red); }
.htks-holiday-list { display: grid; gap: 8px; padding: 20px 27px; }
.htks-holiday-item { display: grid; grid-template-columns: 145px 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--hours-line); border-radius: 11px; background: #fafbfb; }
.htks-holiday-item time { color: var(--hours-muted); font-size: .72rem; font-weight: 800; }
.htks-holiday-item strong { font-size: .87rem; }
.htks-holiday-item button { padding: 6px 9px; border: 1px solid #efd5d6; border-radius: 7px; background: #fff; color: var(--hours-red); font-size: .68rem; font-weight: 850; cursor: pointer; }
.htks-holiday-empty { margin: 5px 0; padding: 25px; border: 1px dashed var(--hours-line); border-radius: 11px; color: var(--hours-muted); text-align: center; }
.htks-holiday-form { display: grid; grid-template-columns: .85fr 1.4fr auto; align-items: end; gap: 11px; margin: 0 27px; padding: 18px; border-radius: 14px; background: #f2f6f7; }
.htks-holiday-form h4 { grid-column: 1 / -1; margin: 0 0 3px; font-size: .95rem; }
.htks-holiday-form label { display: grid; gap: 5px; color: var(--hours-muted); font-size: .66rem; font-weight: 850; }
.htks-holiday-form input { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid var(--hours-line); border-radius: 8px; background: #fff; color: var(--hours-ink); font: inherit; font-size: .8rem; }
.htks-holiday-form button { min-height: 42px; padding: 8px 15px; border: 0; border-radius: 8px; background: var(--hours-red); color: #fff; font-weight: 850; cursor: pointer; }
.htks-holiday-help { margin: 0; padding: 16px 27px 24px; color: var(--hours-muted); font-size: .68rem; }

@media (max-width: 900px) {
	.htks-hours-controls { grid-template-columns: repeat(2, 1fr); }
	.htks-hours-weekdays { font-size: .56rem; letter-spacing: 0; }
}
@media (max-width: 600px) {
	.htks-hours { border-radius: 18px; }
	.htks-hours-header { flex-direction: column; padding: 27px 21px 23px; }
	.htks-hours-privacy { max-width: none; }
	.htks-hours-controls { grid-template-columns: 1fr; padding: 22px 21px 16px; }
	.htks-hours-check { width: auto; }
	.htks-hours-barrier { margin: 0 21px 24px; }
	.htks-hours-toolbar { align-items: flex-start; flex-direction: column; padding: 0 21px 16px; }
	.htks-hours-actions { width: 100%; }
	.htks-hours-button { flex: 1; justify-content: center; }
	.htks-hours-calendar { padding: 0 21px 28px; }
	.htks-hours-weekdays, .htks-hours-day-spacer { display: none; }
	.htks-hours-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.htks-hours-results { grid-template-columns: 1fr; }
	.htks-hours-results > div { padding: 18px 21px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
	.htks-hours-results > div:last-child { border-bottom: 0; }
	.htks-hours-notice { padding-inline: 21px; }
	.htks-holiday-modal > header, .htks-holiday-list { padding-inline: 19px; }
	.htks-holiday-item { grid-template-columns: 1fr auto; }
	.htks-holiday-item time { grid-column: 1 / -1; }
	.htks-holiday-form { grid-template-columns: 1fr; margin-inline: 19px; }
	.htks-holiday-form h4 { grid-column: auto; }
	.htks-holiday-help { padding-inline: 19px; }
}
