/* CLUBUZ Home Frontend */
:root {
	--clubuz-mobile-home-theme: #ffe27a;
}

.clubuz-home-categories,
.clubuz-home-categories * {
	box-sizing: border-box;
}

.clubuz-home-categories {
	width: 100%;
	max-width: 1180px;
	margin: 12px auto 4px;
	padding: 0 14px;
}

.clubuz-home-categories-track {
	display: grid;
	grid-template-columns: repeat(9, minmax(76px, 1fr));
	gap: 10px;
	align-items: start;
}

.clubuz-home-category {
	position: relative;
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 7px 4px 10px;
	color: #172033;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
}

.clubuz-home-category::after {
	position: absolute;
	right: 18%;
	bottom: 0;
	left: 18%;
	height: 3px;
	border-radius: 3px;
	background: transparent;
	content: "";
}

.clubuz-home-category:hover::after,
.clubuz-home-category.is-active::after {
	background: #2165ed;
}

.clubuz-home-category-image {
	display: grid;
	width: 66px;
	height: 66px;
	place-items: center;
	border: 1px solid #e1e9f5;
	border-radius: 50%;
	background: linear-gradient(145deg, #fff, #edf4ff);
	box-shadow: 0 5px 15px rgba(25, 60, 110, .12);
	font-size: 33px;
	transition: transform .2s ease, box-shadow .2s ease;
}

.clubuz-home-category:hover .clubuz-home-category-image {
	transform: translateY(-3px);
	box-shadow: 0 9px 20px rgba(25, 60, 110, .17);
}

.clubuz-home-category--all .clubuz-home-category-image { background: linear-gradient(145deg, #2563eb, #55a7ff); color: #fff; }
.clubuz-home-category--stores .clubuz-home-category-image { background: linear-gradient(145deg, #fff3dc, #ffd18a); }
.clubuz-home-category--products .clubuz-home-category-image { background: linear-gradient(145deg, #ffedf3, #ffc0d2); }
.clubuz-home-category--hotels .clubuz-home-category-image { background: linear-gradient(145deg, #eaf8ff, #bdeaff); }
.clubuz-home-category--rooms .clubuz-home-category-image { background: linear-gradient(145deg, #f1edff, #d5c8ff); }
.clubuz-home-category--professionals .clubuz-home-category-image { background: linear-gradient(145deg, #e8fff6, #b8f0d8); }
.clubuz-home-category--services .clubuz-home-category-image { background: linear-gradient(145deg, #fff6df, #ffe1a0); }
.clubuz-home-category--travel-providers .clubuz-home-category-image { background: linear-gradient(145deg, #e8f1ff, #bad2ff); }
.clubuz-home-category--travel-services .clubuz-home-category-image { background: linear-gradient(145deg, #fff0e9, #ffc9ad); }

.clubuz-home-banner,
.clubuz-home-banner * {
	box-sizing: border-box;
}

.clubuz-home-banner {
	position: relative;
	width: calc(100% - 28px);
	max-width: 1160px;
	margin: 20px auto 30px;
	overflow: hidden;
	border-radius: 22px;
	box-shadow: 0 14px 35px rgba(14, 36, 75, .13);
}

.clubuz-home-banner-track {
	display: flex;
	transition: transform .45s cubic-bezier(.22,.61,.36,1);
	will-change: transform;
}

.clubuz-home-banner-clone { display: none; }

.clubuz-home-banner-slide {
	display: flex;
	min-width: 100%;
	min-height: 300px;
	align-items: center;
	justify-content: space-between;
	padding: 42px 64px;
	overflow: hidden;
}

.clubuz-home-banner-slide--blue { background: linear-gradient(120deg, #0a3da6, #2378f5 58%, #67c7ff); color: #fff; }
.clubuz-home-banner-slide--gold { background: linear-gradient(120deg, #fff3c6, #ffd05d 55%, #ff9d36); color: #172033; }
.clubuz-home-banner-slide--green { background: linear-gradient(120deg, #075b4d, #0e9a6c 58%, #7ae2a8); color: #fff; }
.clubuz-home-banner-slide--purple { background: linear-gradient(120deg, #43158f, #7435d7 58%, #c287ff); color: #fff; }

.clubuz-home-banner-copy {
	position: relative;
	z-index: 2;
	max-width: 630px;
}

.clubuz-home-banner-copy > span {
	display: inline-block;
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.clubuz-home-banner-copy h2 {
	margin: 0 0 12px;
	color: inherit;
	font-size: clamp(30px, 4vw, 52px);
	font-weight: 850;
	line-height: 1.06;
}

.clubuz-home-banner-copy p {
	max-width: 580px;
	margin: 0 0 24px;
	color: inherit;
	font-size: 16px;
	line-height: 1.55;
	opacity: .92;
}

.clubuz-home-banner-copy a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	padding: 0 20px;
	border-radius: 12px;
	background: #fff;
	color: #0b3f9f;
	font-weight: 800;
	text-decoration: none !important;
}

.clubuz-home-banner-slide--gold .clubuz-home-banner-copy a { background: #172033; color: #fff; }

.clubuz-home-banner-art {
	display: grid;
	width: 230px;
	height: 230px;
	flex: 0 0 230px;
	place-items: center;
	border: 2px solid rgba(255,255,255,.35);
	border-radius: 50%;
	background: rgba(255,255,255,.18);
	box-shadow: inset 0 0 0 18px rgba(255,255,255,.08);
	font-size: 105px;
	transform: rotate(-6deg);
}

.clubuz-home-banner-dots {
	position: absolute;
	right: 0;
	bottom: 15px;
	left: 0;
	display: flex;
	justify-content: center;
	gap: 7px;
}

.clubuz-home-banner-dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: rgba(255,255,255,.62);
	cursor: pointer;
	transition: width .2s ease, background .2s ease;
}

.clubuz-home-banner-dots button.is-active {
	width: 26px;
	background: #fff;
}

.clubuz-home-banner-arrow {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: grid;
	width: 56px;
	height: 82px;
	place-items: center;
	padding: 0 0 5px;
	border: 1px solid rgba(255,255,255,.72);
	background: rgba(255,255,255,.94);
	box-shadow: 0 8px 24px rgba(8,27,62,.22);
	color: #163b78;
	font-family: Arial, sans-serif;
	font-size: 52px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.clubuz-home-banner-arrow:hover {
	background: #fff;
	box-shadow: 0 12px 28px rgba(8,27,62,.3);
	transform: translateY(-50%) scale(1.06);
}

.clubuz-home-banner-arrow:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.clubuz-home-banner-arrow--prev {
	left: 0;
	border-left: 0;
	border-radius: 0 16px 16px 0;
}

.clubuz-home-banner-arrow--next {
	right: 0;
	border-right: 0;
	border-radius: 16px 0 0 16px;
}

@media (max-width: 767px) {
	html,
	body,
	body.home #page,
	body.home .site,
	body.home .site-content,
	body.home .ast-container,
	body.home .site-main,
	body.home article,
	body.home .entry-content {
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	html,
	body,
	body.home #page,
	body.home .site {
		overflow-x: hidden !important;
	}

	body.home .site-content > .ast-container,
	body.home .site-main,
	body.home article,
	body.home .entry-content {
		margin-right: 0 !important;
		margin-left: 0 !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
	}

	.clubuz-home-banner-arrow { display: none; }
	.clubuz-main-header,
	.clubuz-main-header .clubuz-header-container,
	.clubuz-home-banner {
		background: var(--clubuz-mobile-home-theme);
		transition: background-color .45s ease;
	}

	.clubuz-main-header .clubuz-header-container {
		display: flex;
		flex-direction: column;
	}

	.clubuz-main-header .clubuz-header-mobile-top { order: 1; }
	.clubuz-main-header .clubuz-home-categories { order: 2; }
	.clubuz-main-header .clubuz-header-row { order: 3; }

	.clubuz-home-categories {
		max-width: none;
		margin: 0;
		padding: 0;
		overflow: hidden;
	}

	.clubuz-home-categories-track {
		display: flex;
		gap: 4px;
		padding: 1px 14px 3px;
		overflow-x: auto;
		scrollbar-width: none;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
	}

	.clubuz-home-categories-track::-webkit-scrollbar { display: none; }

	.clubuz-home-category {
		width: 76px;
		min-width: 76px;
		padding: 2px 2px 6px;
		scroll-snap-align: start;
		font-size: 11px;
	}

	.clubuz-home-category-image {
		width: 54px;
		height: 54px;
		font-size: 27px;
	}

	.clubuz-home-category-label {
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.clubuz-home-banner {
		width: 100%;
		max-width: none;
		margin: 0 auto 22px;
		padding: 16px 0 24px;
		border-radius: 0;
		box-shadow: 0 -24px 0 var(--clubuz-mobile-home-theme);
		touch-action: pan-y;
	}

	.clubuz-home-banner-track {
		box-sizing: border-box;
		width: 100%;
		gap: 10px;
		padding: 0;
	}

	.clubuz-home-banner-clone { display: flex; }

	.clubuz-home-banner-slide {
		position: relative;
		width: 74%;
		min-width: 74%;
		flex: 0 0 74%;
		min-height: 300px;
		align-items: center;
		justify-content: space-between;
		padding: 28px 20px 36px;
		border-radius: 18px;
		box-shadow: 0 8px 20px rgba(25, 40, 70, .14);
	}

	.clubuz-home-banner-copy { max-width: 76%; }
	.clubuz-home-banner-copy > span { margin-bottom: 8px; font-size: 10px; }
	.clubuz-home-banner-copy h2 { margin-bottom: 10px; font-size: 25px; }
	.clubuz-home-banner-copy p { margin-bottom: 17px; font-size: 13px; line-height: 1.45; }
	.clubuz-home-banner-copy a { min-height: 36px; padding: 0 14px; border-radius: 9px; font-size: 12px; }

	.clubuz-home-banner-art {
		position: absolute;
		right: -20px;
		bottom: -18px;
		width: 145px;
		height: 145px;
		flex: 0 0 145px;
		font-size: 66px;
		opacity: .82;
	}

	.clubuz-home-banner-dots {
		bottom: 7px;
	}
}

@media (min-width: 768px) and (max-width: 1040px) {
	.clubuz-home-categories-track {
		display: flex;
		overflow-x: auto;
	}
	.clubuz-home-category { min-width: 92px; }
}

@media (prefers-reduced-motion: reduce) {
	.clubuz-home-banner-track,
	.clubuz-home-category-image { transition: none; }
}
