/* ------------------------------------------------------------------
   KK Department Landing Pages
   Reusable for all store departments (Munch 'n Crunch, Sushi, etc.)
   ------------------------------------------------------------------ */

.kk-department {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: #333;
	line-height: 1.7;
}

/* ============ HERO ============ */

.kk-dept-hero {
	position: relative;
	min-height: 400px;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-color: #5a4630;
	overflow: hidden;
}

.kk-dept-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(20,15,8,0.88) 0%,
		rgba(20,15,8,0.7) 45%,
		rgba(20,15,8,0.25) 100%
	);
	z-index: 0;
}

.kk-dept-hero--no-image {
	background: linear-gradient(135deg, #5a4630 0%, #3d2e1e 60%, #2a1f14 100%);
	min-height: 320px;
}

.kk-dept-hero--no-image .kk-dept-hero__overlay {
	display: none;
}

.kk-dept-hero__inner {
	position: relative;
	z-index: 1;
	padding: 48px 0;
	display: flex;
	align-items: center;
	gap: 36px;
}

/* ── White square logo box ── */
.kk-dept-hero__logo {
	flex-shrink: 0;
	width: 130px;
	height: 130px;
	background: #fff;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.kk-dept-hero__logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* ── Title + subtitle text ── */
.kk-dept-hero__text {
	flex: 1;
	min-width: 0;
}

.kk-dept-hero__title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp(30px, 4.5vw, 46px);
	font-weight: 700;
	color: #fff;
	margin: 0 0 10px;
	line-height: 1.15;
	text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.kk-dept-hero__subtitle {
	font-size: 17px;
	color: rgba(255,255,255,0.9);
	margin: 0;
	max-width: 540px;
	line-height: 1.6;
	text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* ============ INTRO ============ */

.kk-dept-intro {
	padding: 56px 0;
	background: #fff;
}

.kk-dept-intro__inner {
	max-width: 780px;
}

.kk-dept-intro__heading {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 26px;
	font-weight: 700;
	color: #5a4630;
	margin: 0 0 16px;
	line-height: 1.25;
}

.kk-dept-intro__text {
	font-size: 15px;
	color: #555;
	line-height: 1.8;
}

.kk-dept-intro__text p {
	margin: 0 0 16px;
}

.kk-dept-intro__text p:last-child {
	margin-bottom: 0;
}

.kk-dept-intro__text h3 {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 20px;
	font-weight: 700;
	color: #5a4630;
	margin: 24px 0 8px;
}

.kk-dept-intro__text h3:first-child {
	margin-top: 0;
}

/* ============ FEATURES ============ */

.kk-dept-features {
	padding: 56px 0;
	background: #fafaf8;
}

.kk-dept-features__grid {
	display: grid;
	gap: 24px;
}

.kk-dept-features__grid--1 { grid-template-columns: 1fr; max-width: 400px; }
.kk-dept-features__grid--2 { grid-template-columns: repeat(2, 1fr); }
.kk-dept-features__grid--3 { grid-template-columns: repeat(3, 1fr); }
.kk-dept-features__grid--4 { grid-template-columns: repeat(4, 1fr); }

.kk-dept-feature-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 28px 24px;
	transition: transform 0.2s, box-shadow 0.2s;
}

.kk-dept-feature-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(90,70,48,0.08);
}

.kk-dept-feature-card__icon {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	background: linear-gradient(135deg, #faf7f0 0%, #f5eedf 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	color: #C5A355;
}

.kk-dept-feature-card__title {
	font-size: 16px;
	font-weight: 700;
	color: #333;
	margin: 0 0 6px;
}

.kk-dept-feature-card__desc {
	font-size: 13.5px;
	color: #777;
	line-height: 1.6;
	margin: 0;
}

/* ============ MENU CATEGORIES ============ */

.kk-dept-categories {
	padding: 48px 0;
	background: #fafaf8;
}

.kk-dept-categories__heading {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 26px;
	font-weight: 700;
	color: #5a4630;
	margin: 0 0 24px;
	text-align: center;
}

.kk-dept-categories__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.kk-dept-categories__tag {
	display: inline-block;
	padding: 8px 20px;
	font-size: 14px;
	font-weight: 500;
	color: #5a4630;
	background: #fff;
	border: 1px solid #e0d9cc;
	border-radius: 24px;
	transition: background 0.2s, color 0.2s;
}

.kk-dept-categories__tag:hover {
	background: #C5A355;
	color: #fff;
	border-color: #C5A355;
}

/* ============ GALLERY ============ */

.kk-dept-gallery {
	padding: 56px 0 64px;
	background: #fff;
}

.kk-dept-gallery__heading {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 26px;
	font-weight: 700;
	color: #5a4630;
	margin: 0 0 28px;
	text-align: center;
}

.kk-dept-gallery__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}

.kk-dept-gallery__item {
	display: block;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #f0ece6;
	position: relative;
}

.kk-dept-gallery__item::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0);
	transition: background 0.2s;
}

.kk-dept-gallery__item:hover::after {
	background: rgba(0,0,0,0.08);
}

.kk-dept-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.kk-dept-gallery__item:hover img {
	transform: scale(1.04);
}

/* ============ CTA ============ */

.kk-dept-cta {
	padding: 48px 0;
	background: linear-gradient(135deg, #5a4630 0%, #3d2e1e 100%);
	text-align: center;
}

.kk-dept-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.kk-dept-cta__text {
	font-size: 18px;
	color: rgba(255,255,255,0.9);
	margin: 0;
	max-width: 520px;
	font-style: italic;
	font-family: Georgia, 'Times New Roman', serif;
}

.kk-btn--gold {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 32px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #fff;
	background: linear-gradient(135deg, #c8a95e 0%, #b8963f 100%);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.2s, box-shadow 0.2s;
}

.kk-btn--gold:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(200,169,94,0.4);
}

/* ============ RESPONSIVE ============ */

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

@media (max-width: 768px) {
	.kk-dept-hero {
		min-height: auto;
	}

	.kk-dept-hero__overlay {
		background: linear-gradient(
			to bottom,
			rgba(20,15,8,0.75) 0%,
			rgba(20,15,8,0.6) 100%
		);
	}

	.kk-dept-hero__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		padding: 32px 0;
	}

	.kk-dept-hero__logo {
		width: 90px;
		height: 90px;
		padding: 12px;
		border-radius: 10px;
	}

	.kk-dept-hero__title {
		font-size: 28px;
	}

	.kk-dept-hero__subtitle {
		font-size: 15px;
	}

	.kk-dept-intro,
	.kk-dept-features,
	.kk-dept-gallery {
		padding: 40px 0;
	}

	.kk-dept-features__grid--3,
	.kk-dept-features__grid--2 {
		grid-template-columns: 1fr;
	}

	.kk-dept-gallery__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.kk-dept-gallery__grid {
		grid-template-columns: 1fr;
	}
}
