/* ==========================================================================
   KK Static pages — Our Store, History, Contact, KLBD, Terms, Privacy, Pesach
   guide/shopping list. Page intro + body copy rules live in kk-base.css.
   ========================================================================== */

.kk-page { font-family: var(--kk-font); color: var(--kk-text); line-height: 1.65; }

/* ============ Our Store — family logo scroller ============ */

.kk-family-scroller { padding: 36px 0 8px; background: var(--kk-bg); }

.kk-family-scroller .kk-wp-logos {
	padding: 18px 0;
	border-top: 1px solid var(--kk-line);
	border-bottom: 1px solid var(--kk-line);
	overflow: hidden;
	mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.kk-family-scroller .kk-wp-logos__track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: kk-family-scroll 30s linear infinite;
}

.kk-family-scroller .kk-wp-logos__track:hover { animation-play-state: paused; }

@keyframes kk-family-scroll {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-25%); }
}

.kk-family-scroller .kk-wp-logos__item {
	flex-shrink: 0;
	width: 180px;
	height: 76px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 18px;
	opacity: 0.9;
}

.kk-family-scroller .kk-wp-logos__item img { max-height: 64px; max-width: 150px; object-fit: contain; }

@media (prefers-reduced-motion: reduce) {
	.kk-family-scroller .kk-wp-logos__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ============ Department cards ============ */

.kk-dept-grid { display: grid; gap: 24px; }
.kk-dept-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 24px; }
.kk-dept-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.kk-dept-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--kk-line);
	border-radius: var(--kk-radius);
	overflow: hidden;
	box-shadow: none;
	transition: border-color var(--kk-duration-md) var(--kk-ease), box-shadow var(--kk-duration-md) var(--kk-ease);
}

.kk-dept-card:hover { border-color: var(--kk-line-strong); box-shadow: var(--kk-shadow-md); transform: none; }

.kk-dept-card__image {
	position: relative;
	aspect-ratio: 4 / 3;
	height: auto;
	background-size: cover;
	background-position: center;
	background-color: var(--kk-surface-2);
}

.kk-dept-grid--4 .kk-dept-card__image { height: auto; aspect-ratio: 4 / 3; }
.kk-dept-card__overlay { display: none; }

.kk-dept-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; text-align: left; }

.kk-dept-card__title {
	font-size: 19px;
	font-weight: 600;
	color: var(--kk-ink);
	margin: 0 0 8px;
	text-transform: none;
	letter-spacing: -0.005em;
}

.kk-dept-card__desc { font-size: 14px; color: var(--kk-text-2); line-height: 1.6; margin: 0 0 14px; flex: 1; }

.kk-dept-card__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	min-height: 32px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--kk-ink);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: var(--kk-gold);
	text-transform: none;
	letter-spacing: 0;
}

.kk-dept-card__btn:hover { color: var(--kk-gold-deep); }
.kk-dept-card__btn svg { transition: transform var(--kk-duration) var(--kk-ease); }
.kk-dept-card__btn:hover svg { transform: translateX(2px); }

/* ============ Store info / stats band ============ */

.kk-store-info { padding: 48px 0; background: var(--kk-surface); border-top: 1px solid var(--kk-line); color: var(--kk-text); }

.kk-store-info__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; text-align: left; }
.kk-store-info__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.kk-store-info__item {
	padding: 22px 24px;
	background: #fff;
	border: 1px solid var(--kk-line);
	border-radius: var(--kk-radius);
	opacity: 1;
	transform: none;
}

.kk-store-info__item h4 { font-size: 15px; font-weight: 600; color: var(--kk-gold-deep); margin: 0 0 8px; letter-spacing: 0.02em; }
.kk-store-info__grid--4 .kk-store-info__item h4 { font-size: 30px; color: var(--kk-ink); letter-spacing: -0.02em; margin-bottom: 4px; }
.kk-store-info__item p { font-size: 14.5px; color: var(--kk-text-2); line-height: 1.65; margin: 0; }
.kk-store-info__item p strong { color: var(--kk-ink); }
.kk-store-info__item a { color: var(--kk-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--kk-gold); }
.kk-store-info__item a:hover { color: var(--kk-gold-deep); }

/* Scroll reveal on history stats (kept subtle) */
.kk-store-info__item { transition: opacity 0.5s ease, transform 0.5s ease; }
.kk-page .kk-store-info__grid--4 .kk-store-info__item { opacity: 0; transform: translateY(16px); }
.kk-page .kk-store-info__grid--4 .kk-store-info__item.kk-revealed { opacity: 1; transform: translateY(0); }

/* ============ History timeline ============ */

.kk-timeline { position: relative; padding: 24px 0 8px; max-width: 980px; margin: 0; }

.kk-timeline__line {
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 2px;
	background: var(--kk-line-strong);
	transform: translateX(-50%) scaleY(0);
	transform-origin: top center;
	transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.kk-timeline__line--grow { transform: translateX(-50%) scaleY(1); }

.kk-timeline__item { position: relative; width: 50%; padding-bottom: 56px; opacity: 0; transition: opacity 0.6s ease, transform 0.6s ease; }
.kk-timeline__item:last-child { padding-bottom: 0; }
.kk-timeline__item--right { margin-left: 50%; padding-left: 48px; transform: translateX(24px); }
.kk-timeline__item--left { margin-left: 0; padding-right: 48px; text-align: right; transform: translateX(-24px); }
.kk-timeline__item.kk-revealed { opacity: 1; transform: translateX(0); }

.kk-timeline__dot {
	position: absolute;
	top: 8px;
	width: 14px;
	height: 14px;
	background: var(--kk-gold);
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--kk-gold);
	z-index: 2;
	transform: scale(0);
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}

.kk-timeline__item.kk-revealed .kk-timeline__dot { transform: scale(1); }
.kk-timeline__item--right .kk-timeline__dot { left: -7px; }
.kk-timeline__item--left .kk-timeline__dot { right: -7px; }

.kk-timeline__body { position: relative; }

.kk-timeline__year {
	display: block;
	font-family: var(--kk-font);
	font-size: 32px;
	font-weight: 600;
	color: var(--kk-gold-deep);
	line-height: 1;
	margin-bottom: 8px;
	letter-spacing: -0.02em;
}

.kk-timeline__title { font-family: var(--kk-font); font-size: 24px; font-weight: 600; color: var(--kk-ink); margin: 0 0 10px; line-height: 1.3; }
.kk-timeline__text { font-size: 15px; color: var(--kk-text-2); line-height: 1.7; margin: 0; }

.kk-timeline__item .kk-timeline__year,
.kk-timeline__item .kk-timeline__title,
.kk-timeline__item .kk-timeline__text { opacity: 0; transform: translateY(8px); transition: opacity 0.45s ease 0.15s, transform 0.45s ease 0.15s; }
.kk-timeline__item.kk-revealed .kk-timeline__year,
.kk-timeline__item.kk-revealed .kk-timeline__title,
.kk-timeline__item.kk-revealed .kk-timeline__text { opacity: 1; transform: translateY(0); }

/* ============ Contact ============ */

.kk-ct-main { padding: 40px 0 64px; background: var(--kk-bg); }

.kk-ct-main__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 32px; align-items: start; }

.kk-ct-form__card {
	background: #fff;
	border: 1px solid var(--kk-line);
	border-radius: var(--kk-radius-lg);
	padding: 32px 32px 28px;
	box-shadow: none;
}

.kk-ct-form__heading { font-family: var(--kk-font); font-size: 26px; font-weight: 600; color: var(--kk-ink); margin: 0 0 6px; }
.kk-ct-form__sub { font-size: 14.5px; color: var(--kk-text-2); line-height: 1.6; margin: 0 0 22px; }

.kk-ct-sidebar { display: flex; flex-direction: column; gap: 16px; overflow: visible; }

.kk-ct-card {
	background: #fff;
	border: 1px solid var(--kk-line);
	border-radius: var(--kk-radius-lg);
	padding: 22px 24px;
	box-shadow: none;
	transition: none;
}

.kk-ct-card:hover { box-shadow: none; border-color: var(--kk-line); }

.kk-ct-card__title {
	font-family: var(--kk-font);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--kk-gold-deep);
	margin: 0 0 14px;
}

.kk-ct-card__title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.kk-ct-card__title-row .kk-ct-card__title { margin-bottom: 0; }
.kk-ct-card__week-range { font-size: 12.5px; color: var(--kk-text-3); margin: 0 0 8px; }

.kk-ct-today {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	margin: 0 0 12px;
	background: var(--kk-gold-pale);
	border: 1px solid var(--kk-gold-soft);
	border-radius: var(--kk-radius-sm);
	font-size: 14px;
}

.kk-ct-today__label { font-weight: 600; color: var(--kk-ink); white-space: nowrap; }
.kk-ct-today__time { font-weight: 600; color: var(--kk-ink); margin-left: auto; }

.kk-ct-detail { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--kk-border-light); }
.kk-ct-detail:last-of-type { border-bottom: none; padding-bottom: 0; }

.kk-ct-detail__icon {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--kk-surface);
	color: var(--kk-gold-deep);
	border-radius: var(--kk-radius-sm);
}

.kk-ct-detail:hover .kk-ct-detail__icon { background: var(--kk-gold-soft); color: var(--kk-gold-deep); }
.kk-ct-detail__icon--wa { background: #EAF7EE; color: #1FA855; }
.kk-ct-detail:hover .kk-ct-detail__icon--wa { background: #DDF2E3; color: #1FA855; }

.kk-ct-detail__value { font-size: 14.5px; color: var(--kk-text-2); line-height: 1.5; margin: 0; }
.kk-ct-detail__value a { color: var(--kk-ink); font-weight: 500; text-decoration: none; }
.kk-ct-detail__value a:hover { color: var(--kk-gold-deep); text-decoration: underline; text-underline-offset: 3px; }

.kk-ct-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: var(--kk-radius-xs);
	font-size: 12px;
	font-weight: 600;
	background: var(--kk-surface);
	color: var(--kk-text-2);
}

.kk-ct-badge--open { background: var(--kk-green-light); color: var(--kk-green-dark); }
.kk-ct-badge--closed { background: var(--kk-red-light); color: var(--kk-red); }
.kk-ct-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.kk-ct-hours-list { border-radius: var(--kk-radius-sm); overflow: visible; }

.kk-ct-hours__row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--kk-border-light); }
.kk-ct-hours__row:last-child { border-bottom: none; }
.kk-ct-hours__row--today { background: var(--kk-gold-pale); margin: 0 -12px; padding: 9px 12px; border-radius: var(--kk-radius-xs); }
.kk-ct-hours__row--special { background: rgba(180, 83, 9, 0.04); }
.kk-ct-hours__row--special .kk-ct-hours__dayname { color: var(--kk-ink); font-weight: 600; }

.kk-ct-hours__day { display: flex; align-items: baseline; gap: 8px; }
.kk-ct-hours__dayname { font-size: 14px; font-weight: 500; color: var(--kk-text); }
.kk-ct-hours__row--today .kk-ct-hours__dayname { font-weight: 600; color: var(--kk-ink); }
.kk-ct-hours__date { font-size: 12px; color: var(--kk-text-3); }
.kk-ct-hours__row--today .kk-ct-hours__date { color: var(--kk-gold-deep); }
.kk-ct-hours__time { font-size: 14px; color: var(--kk-text-2); font-weight: 500; text-align: right; }
.kk-ct-hours__row--today .kk-ct-hours__time { color: var(--kk-ink); font-weight: 600; }
.kk-ct-hours-note { font-size: 12px; color: var(--kk-text-3); margin: 12px 0 0; line-height: 1.45; }

.kk-ct-hours__row--shabbos {
	position: relative;
	background: var(--kk-gold-pale);
	margin: 0 -12px;
	padding: 9px 12px;
	border-radius: var(--kk-radius-xs);
	cursor: pointer;
	border: 1px solid var(--kk-gold-soft);
}

.kk-ct-hours__row--shabbos .kk-ct-hours__dayname { font-weight: 600; color: var(--kk-ink); }
.kk-ct-hours__row--shabbos .kk-ct-hours__time { color: var(--kk-ink); font-weight: 600; }
.kk-ct-hours__row--shabbos:hover { background: var(--kk-gold-soft); }

.kk-ct-zmanim-icon { margin-left: 6px; vertical-align: middle; transition: transform 0.2s; }
.kk-ct-zmanim-icon--candle { color: #D97706; opacity: 0.8; }
.kk-ct-zmanim-icon--havdalah { color: var(--kk-gold-deep); opacity: 0.8; }
.kk-ct-hours__row--shabbos:hover .kk-ct-zmanim-icon { opacity: 1; transform: scale(1.12); }

.kk-ct-zmanim-tip {
	position: absolute;
	right: calc(100% + 12px);
	top: 50%;
	transform: translateY(-50%);
	z-index: 100;
	background: #fff;
	border: 1px solid var(--kk-line);
	border-radius: var(--kk-radius);
	padding: 14px 16px 10px;
	min-width: 220px;
	box-shadow: var(--kk-shadow-lg);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s, transform 0.2s;
	white-space: nowrap;
}

.kk-ct-zmanim-tip::after { content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-left-color: #fff; }
.kk-ct-hours__row--shabbos:hover .kk-ct-zmanim-tip,
.kk-ct-zmanim--active .kk-ct-zmanim-tip { opacity: 1; pointer-events: auto; }
.kk-ct-zmanim--active .kk-ct-zmanim-icon { opacity: 1; transform: scale(1.12); }

.kk-ct-zmanim-tip__header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--kk-line); }
.kk-ct-zmanim-tip__title { font-size: 13px; font-weight: 600; color: var(--kk-ink); }
.kk-ct-zmanim-tip__hebrew { font-size: 14px; color: var(--kk-text-2); direction: rtl; }
.kk-ct-zmanim-tip__extras { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--kk-line); }
.kk-ct-zmanim-tip__extra { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 2px 0; }
.kk-ct-zmanim-tip__extra-name { font-size: 12px; color: var(--kk-text-2); font-weight: 500; }
.kk-ct-zmanim-tip__extra-heb { font-size: 12.5px; color: var(--kk-text-3); direction: rtl; }
.kk-ct-zmanim-tip__row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; }
.kk-ct-zmanim-tip__row + .kk-ct-zmanim-tip__row { border-top: 1px solid var(--kk-border-light); }
.kk-ct-zmanim-tip__label { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--kk-text-2); font-weight: 500; }
.kk-ct-zmanim-tip__ico { flex-shrink: 0; opacity: 0.8; }
.kk-ct-zmanim-tip__ico--candle { color: #D97706; }
.kk-ct-zmanim-tip__ico--havdalah { color: var(--kk-gold-deep); }
.kk-ct-zmanim-tip__time { font-weight: 600; color: var(--kk-ink); font-size: 13px; background: var(--kk-gold-soft); padding: 2px 8px; border-radius: var(--kk-radius-xs); }
.kk-ct-zmanim-tip__footer { display: flex; align-items: center; gap: 4px; margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--kk-border-light); font-size: 11px; color: var(--kk-text-3); }
.kk-ct-zmanim-tip__footer svg { opacity: 0.5; }

.kk-ct-hours-list,
.kk-ct-card--hours { overflow: visible; }

@media (max-width: 900px) {
	.kk-ct-zmanim-tip { left: 0; right: 0; top: calc(100% + 6px); transform: none; min-width: 0; white-space: normal; }
	.kk-ct-zmanim-tip::after { display: none; }
	.kk-ct-hours__row--shabbos:hover .kk-ct-zmanim-tip,
	.kk-ct-zmanim--active .kk-ct-zmanim-tip { transform: none; }
}

.kk-ct-socials__row { display: flex; gap: 8px; flex-wrap: wrap; }

.kk-ct-social {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 14px;
	border-radius: var(--kk-radius-sm);
	background: #fff;
	border: 1px solid var(--kk-line-strong);
	color: var(--kk-gold-deep);
	font-size: 13.5px;
	font-weight: 500;
	text-decoration: none;
	transition: border-color var(--kk-duration) var(--kk-ease), background var(--kk-duration) var(--kk-ease);
}

.kk-ct-social span { color: var(--kk-ink); }
.kk-ct-social:hover { border-color: var(--kk-ink); background: #fff; transform: none; color: var(--kk-gold-deep); }
.kk-ct-social:hover span { color: var(--kk-ink); }
.kk-ct-social--wa { color: #1FA855; }
.kk-ct-social--wa:hover { background: #fff; color: #1FA855; }

/* Map + directions — sits directly under the page intro */
.kk-ct-find { position: relative; min-height: 460px; border-top: 1px solid var(--kk-line); margin-top: 28px; scroll-margin-top: 120px; }
.kk-ct-find__map { position: absolute; inset: 0; }
.kk-ct-find__map iframe { display: block; width: 100%; height: 100%; filter: saturate(0.85); }
.kk-ct-find__overlay { position: relative; z-index: 1; padding: 40px 0; }

.kk-ct-find__card {
	max-width: 380px;
	background: #fff;
	border: 1px solid var(--kk-line);
	border-radius: var(--kk-radius-lg);
	padding: 28px 26px 26px;
	box-shadow: var(--kk-shadow-lg);
}

.kk-ct-find__heading { font-family: var(--kk-font); font-size: 20px; font-weight: 600; color: var(--kk-ink); margin: 0 0 18px; }
.kk-ct-find__routes { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.kk-ct-route { display: flex; gap: 12px; align-items: flex-start; }
.kk-ct-route__icon { flex-shrink: 0; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--kk-surface); color: var(--kk-gold-deep); border-radius: var(--kk-radius-sm); }
.kk-ct-route strong { display: block; font-size: 14px; font-weight: 600; color: var(--kk-ink); margin-bottom: 2px; }
.kk-ct-route p { font-size: 13.5px; color: var(--kk-text-2); line-height: 1.5; margin: 0; }

.kk-ct-find__directions-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 22px;
	background: var(--kk-gold);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	border-radius: var(--kk-radius-sm);
	text-decoration: none;
	transition: background var(--kk-duration) var(--kk-ease);
}

.kk-ct-find__directions-btn:hover { background: var(--kk-gold-deep); color: #fff; transform: none; }

/* Our stores — two branch cards (map + address + hours + getting here), under the page intro */
.kk-ct-stores { padding: 28px 0 8px; border-top: 1px solid var(--kk-line); margin-top: 28px; scroll-margin-top: 120px; }
.kk-ct-stores__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }

.kk-ct-store {
	background: #fff;
	border: 1px solid var(--kk-line);
	border-radius: var(--kk-radius-lg);
	overflow: visible;
	scroll-margin-top: 120px;
}

.kk-ct-store__map { height: 250px; border-radius: var(--kk-radius-lg) var(--kk-radius-lg) 0 0; overflow: hidden; background: var(--kk-surface); }
.kk-ct-store__map iframe { display: block; width: 100%; height: 100%; filter: saturate(0.85); }
.kk-ct-store__body { padding: 22px 24px 24px; }

.kk-ct-store__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.kk-ct-store__name { font-family: var(--kk-font); font-size: 22px; font-weight: 600; color: var(--kk-ink); margin: 0; line-height: 1.2; }

.kk-ct-store__hours { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--kk-line); overflow: visible; }
.kk-ct-store__hours .kk-ct-card__title { margin-bottom: 0; }
.kk-ct-store__hours .kk-ct-card__week-range { margin: 0; }
.kk-ct-store__hours .kk-ct-card__title-row { margin-bottom: 12px; }

/* Zmanim tooltips: below the row inside store cards (side placement would clip at the grid edge) */
.kk-ct-store .kk-ct-zmanim-tip { left: 0; right: 0; top: calc(100% + 6px); transform: none; min-width: 0; white-space: normal; }
.kk-ct-store .kk-ct-zmanim-tip::after { display: none; }
.kk-ct-store .kk-ct-hours__row--shabbos:hover .kk-ct-zmanim-tip,
.kk-ct-store .kk-ct-zmanim--active .kk-ct-zmanim-tip { transform: none; }

.kk-ct-store__routes { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 20px; padding-top: 16px; border-top: 1px solid var(--kk-line); }

/* Sidebar quick links to each store */
.kk-ct-store-link { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--kk-border-light); text-decoration: none; color: inherit; }
.kk-ct-store-link:last-child { border-bottom: none; padding-bottom: 0; }
.kk-ct-store-link__icon { flex-shrink: 0; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--kk-surface); color: var(--kk-gold-deep); border-radius: var(--kk-radius-sm); }
.kk-ct-store-link:hover .kk-ct-store-link__icon { background: var(--kk-gold-soft); }
.kk-ct-store-link__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.kk-ct-store-link__text strong { font-size: 14px; font-weight: 600; color: var(--kk-ink); }
.kk-ct-store-link:hover .kk-ct-store-link__text strong { color: var(--kk-gold-deep); }
.kk-ct-store-link__text span { font-size: 12.5px; color: var(--kk-text-3); line-height: 1.4; }
.kk-ct-store-link__status { flex-shrink: 0; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: var(--kk-radius-xs); background: var(--kk-surface); color: var(--kk-text-2); }
.kk-ct-store-link__status:empty { display: none; }
.kk-ct-store-link__status.is-open { background: var(--kk-green-light); color: var(--kk-green-dark); }
.kk-ct-store-link__status.is-closed { background: var(--kk-red-light); color: var(--kk-red); }

.kk-ct-media { padding: 56px 0; background: var(--kk-bg); }
.kk-ct-media__video { position: relative; width: 100%; padding-bottom: 56.25%; border-radius: var(--kk-radius-lg); overflow: hidden; border: 1px solid var(--kk-line); }
.kk-ct-media__video iframe, .kk-ct-media__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kk-ct-media__image { border-radius: var(--kk-radius-lg); overflow: hidden; border: 1px solid var(--kk-line); }
.kk-ct-media__image img { display: block; width: 100%; height: auto; }

/* ============ Hours table (generic) ============ */

.kk-hours { margin-top: 32px; }
.kk-hours table { width: 100%; border-collapse: collapse; }
.kk-hours th, .kk-hours td { padding: 12px 16px; font-size: 14px; text-align: left; border-bottom: 1px solid var(--kk-line); }
.kk-hours th { font-weight: 600; color: var(--kk-ink); width: 50%; }
.kk-hours td { color: var(--kk-text-2); }

/* ============ Legal content (Terms, Privacy) ============ */

.kk-legal { counter-reset: legal-section; }

.kk-legal h2 {
	counter-increment: legal-section;
	font-size: 19px !important;
	margin-top: 40px !important;
	padding-top: 28px;
	border-top: 1px solid var(--kk-line);
}

.kk-legal h2:first-child { margin-top: 0 !important; padding-top: 0; border-top: none; }
.kk-legal ul ul { margin-top: 8px; margin-bottom: 8px; }
.kk-legal__date { margin-top: 36px !important; padding-top: 20px; border-top: 1px solid var(--kk-line); font-size: 13px !important; color: var(--kk-text-3) !important; }

.kk-legal__accordion { margin-top: 32px; border: 1px solid var(--kk-line); border-radius: var(--kk-radius); overflow: hidden; }
.kk-legal__accordion + .kk-legal__accordion { margin-top: 16px; }

.kk-legal__accordion-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	background: var(--kk-surface);
	color: var(--kk-ink);
	font-family: var(--kk-font);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	user-select: none;
	transition: background var(--kk-duration) var(--kk-ease);
}

.kk-legal__accordion-trigger::-webkit-details-marker { display: none; }
.kk-legal__accordion-trigger:hover { background: var(--kk-surface-2); color: var(--kk-ink); }
.kk-legal__chevron { flex-shrink: 0; transition: transform 0.25s ease; color: var(--kk-text-3); }
.kk-legal__accordion[open] .kk-legal__chevron { transform: rotate(180deg); }
.kk-legal__accordion-body { padding: 24px; background: #fff; border-top: 1px solid var(--kk-line); }
.kk-legal__accordion-body p { font-size: 14.5px; line-height: 1.7; color: var(--kk-text-2); margin: 0 0 14px; }
.kk-legal__accordion-body p:last-child { margin-bottom: 0; }
.kk-legal__accordion-body strong { color: var(--kk-ink); }
.kk-legal__accordion-body a { color: var(--kk-gold-deep); text-decoration: underline; }
.kk-legal__dates { background: var(--kk-gold-pale); border-left: 3px solid var(--kk-gold); padding: 12px 16px; border-radius: 0 var(--kk-radius-sm) var(--kk-radius-sm) 0; font-weight: 500; color: var(--kk-ink) !important; }

@keyframes kk-accordion-flash {
	0%   { box-shadow: 0 0 0 0 rgba(197,163,85,0.5); }
	50%  { box-shadow: 0 0 0 5px rgba(197,163,85,0.25); }
	100% { box-shadow: 0 0 0 0 rgba(197,163,85,0); }
}

.kk-legal__accordion--highlight { animation: kk-accordion-flash 1s ease-in-out 3; }

/* ============ KLBD ============ */

.kk-highlight-box {
	background: var(--kk-gold-pale);
	border-left: 3px solid var(--kk-gold);
	border-radius: 0 var(--kk-radius-sm) var(--kk-radius-sm) 0;
	padding: 20px 24px;
	margin: 24px 0;
}

.kk-highlight-box p { color: var(--kk-ink) !important; font-size: 15px; margin: 0; }
.kk-highlight-box p + p { margin-top: 10px; }

/* Keeps the shared container width so the logo lines up with the body copy. */
.kk-klbd-hero { display: flex; align-items: center; gap: 24px; text-align: left; }
.kk-klbd-hero__logo { width: 88px; height: 88px; flex-shrink: 0; filter: none; }
.kk-klbd-hero__text { flex: 1; }
.kk-klbd-hero .kk-page-hero__title { text-align: left; margin-bottom: 8px; }
.kk-klbd-hero .kk-page-hero__desc { text-align: left; margin-left: 0; }

/* ============ Responsive ============ */

@media (max-width: 960px) {
	.kk-dept-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kk-store-info__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.kk-timeline__line { left: 20px; }
	.kk-timeline__item,
	.kk-timeline__item--right,
	.kk-timeline__item--left { width: 100%; margin-left: 0; padding-left: 48px; padding-right: 0; text-align: left; transform: translateX(-16px); }
	.kk-timeline__dot,
	.kk-timeline__item--right .kk-timeline__dot,
	.kk-timeline__item--left .kk-timeline__dot { left: 13px; right: auto; }
	.kk-timeline__year { font-size: 26px; }
	.kk-store-info__grid { grid-template-columns: 1fr; gap: 16px; }
	.kk-ct-main__grid { grid-template-columns: 1fr; gap: 24px; }
	.kk-ct-form__card { padding: 24px 20px 22px; }
	.kk-ct-find { min-height: auto; }
	.kk-ct-find__map { position: relative; height: 280px; }
	.kk-ct-find__overlay { padding: 0; }
	.kk-ct-find__card { max-width: 100%; border-radius: 0 0 var(--kk-radius-lg) var(--kk-radius-lg); border-top: none; box-shadow: none; }
	.kk-ct-stores__grid { grid-template-columns: 1fr; gap: 20px; }
	.kk-ct-store__map { height: 220px; }
}

@media (max-width: 768px) {
	.kk-dept-grid--3,
	.kk-dept-grid--4 { grid-template-columns: 1fr; }
	.kk-family-scroller .kk-wp-logos__item { width: 130px; height: 60px; padding: 0 10px; }
	.kk-family-scroller .kk-wp-logos__item img { max-height: 48px; max-width: 110px; }
	.kk-timeline__title { font-size: 18px; }
	.kk-timeline__item { padding-bottom: 36px; }
}

@media (max-width: 600px) {
	.kk-klbd-hero { flex-direction: column; align-items: flex-start; gap: 16px; }
	.kk-klbd-hero__logo { width: 72px; height: 72px; }
	.kk-ct-main { padding: 28px 0 44px; }
	.kk-ct-form__heading { font-size: 20px; }
	.kk-store-info { padding: 36px 0; }
}

/* ----- Closed days: calm rows, plain "Closed" (no pills, tints or boxes) ----- */
.kk-ct-hours__row--closed,
.kk-ct-hours__row--closed.kk-ct-hours__row--special,
.kk-ct-hours__row--closed.kk-ct-hours__row--shabbos {
	background: none;
	border: 0;
	border-bottom: 1px solid var(--kk-border-light);
	border-radius: 0;
	margin: 0;
	padding: 10px 0;
}
.kk-ct-hours__row--closed:last-child { border-bottom: 0; }
.kk-ct-hours__row--closed .kk-ct-hours__dayname { font-weight: 500; color: var(--kk-text); }
.kk-ct-hours__row--closed .kk-ct-hours__time,
.kk-ct-hours__row--closed .kk-hours-close-hl {
	background: none;
	padding: 0;
	font-weight: 500;
	color: var(--kk-text-3);
}
/* today still stands out, just by text weight + a gold date */
.kk-ct-hours__row--closed.kk-ct-hours__row--today .kk-ct-hours__dayname { font-weight: 600; color: var(--kk-ink); }
.kk-ct-hours__row--closed.kk-ct-hours__row--today .kk-ct-hours__time,
.kk-ct-hours__row--closed.kk-ct-hours__row--today .kk-hours-close-hl { color: var(--kk-red); }
/* Fri/Sat keep their zmanim hover, without the boxed look */
.kk-ct-hours__row--closed.kk-ct-hours__row--shabbos:hover { background: var(--kk-gold-pale); }

/* ----- Store cards v2: one consistent row style for every day ----- */
.kk-ct-hours__row,
.kk-ct-hours__row--today,
.kk-ct-hours__row--special,
.kk-ct-hours__row--shabbos,
.kk-ct-hours__row--closed,
.kk-ct-hours__row--closed.kk-ct-hours__row--special,
.kk-ct-hours__row--closed.kk-ct-hours__row--shabbos {
	margin: 0;
	padding: 10px 12px;
	border: 0;
	border-bottom: 1px solid var(--kk-border-light);
	border-radius: 0;
	background: none;
}
.kk-ct-hours__row:last-child { border-bottom: 0; }
.kk-ct-hours__row--today,
.kk-ct-hours__row--today.kk-ct-hours__row--closed { background: var(--kk-gold-pale); border-radius: var(--kk-radius-xs); border-bottom-color: transparent; }
.kk-ct-hours__row .kk-ct-hours__dayname { font-weight: 500; color: var(--kk-text); }
.kk-ct-hours__row--today .kk-ct-hours__dayname { font-weight: 600; color: var(--kk-ink); }
.kk-ct-hours__row .kk-ct-hours__time { font-weight: 500; color: var(--kk-text-2); }
.kk-ct-hours__row--today .kk-ct-hours__time { font-weight: 600; color: var(--kk-ink); }
.kk-ct-hours__row--closed .kk-ct-hours__time { color: var(--kk-text-3); }
.kk-ct-hours__row--today.kk-ct-hours__row--closed .kk-ct-hours__time { color: var(--kk-red); }
.kk-ct-hours__row--shabbos { cursor: pointer; }
.kk-ct-hours__row--shabbos:hover,
.kk-ct-hours__row--closed.kk-ct-hours__row--shabbos:hover { background: var(--kk-surface, #F6F5F2); }
/* special (early-close etc.) times: plain bold, no pill */
.kk-ct-hours__time .kk-hours-close-hl { background: none; padding: 0; color: inherit; font-weight: 600; }

/* "Today" summary: same row rhythm, no badge inside */
.kk-ct-today { padding: 12px; }
.kk-ct-today .kk-ct-badge,
.kk-ct-today [class*="badge"] { background: none !important; padding: 0 !important; }
.kk-ct-today--closed .kk-ct-today__time { color: var(--kk-red); }

/* Address / phone rows: same height on both branch cards */
.kk-ct-store .kk-ct-detail { min-height: 52px; align-items: center; }
.kk-ct-detail__value a { color: inherit; }
/* The separate "Open Today" box repeated the highlighted today row — drop it on the branch cards */
.kk-ct-store .kk-ct-today { display: none; }
.kk-ct-store .kk-ct-card__title-row { margin-bottom: 8px; }
/* Equal-height branch cards, "Get Directions" pinned to the bottom of each */
.kk-ct-stores__grid { align-items: stretch; }
.kk-ct-store { display: flex; flex-direction: column; height: 100%; }
.kk-ct-store__body { display: flex; flex-direction: column; flex: 1; }
.kk-ct-store__body > .kk-ct-find__directions-btn { margin-top: auto; align-self: flex-start; }
.kk-ct-store__routes { margin-bottom: 24px; }
