/**
 * Ghoomo Theme - Custom Supplementary Styles
 *
 * Rules for typography variants, layout utilities, color tokens,
 * and component hooks used across PHP templates and client JS.
 */

/* 1. Responsive Typography Variants */
@media (min-width: 40rem) {
	.sm\:text-display {
		font-size: 4rem;
		line-height: 1.05;
		letter-spacing: -0.02em;
	}

	.sm\:text-h1 {
		font-size: 3rem;
		line-height: 1.1;
		letter-spacing: -0.015em;
	}

	.sm\:text-h2 {
		font-size: 2.25rem;
		line-height: 1.15;
	}
}

/* 2. Layout & Sizing Utilities */
.min-h-0 {
	min-height: 0px;
}

.max-h-full {
	max-height: 100%;
}

.max-w-full {
	max-width: 100%;
}

.py-20 {
	padding-top: calc(var(--spacing, 0.25rem) * 20);
	padding-bottom: calc(var(--spacing, 0.25rem) * 20);
}

.leading-none {
	line-height: 1;
}

:where(.space-y-8 > :not(:last-child)) {
	--tw-space-y-reverse: 0;
	margin-block-start: calc(calc(var(--spacing, 0.25rem) * 8) * var(--tw-space-y-reverse));
	margin-block-end: calc(calc(var(--spacing, 0.25rem) * 8) * calc(1 - var(--tw-space-y-reverse)));
}

/* 3. Color Tokens & States */
@media (hover: hover) {
	.hover\:bg-palm-400:hover {
		background-color: #6ee03d;
	}

	.hover\:text-sun-950:hover {
		color: #431a03;
	}
}

.text-palm-800 {
	color: #235c12;
}

.text-sun-900 {
	color: #6b3007;
}

/* 4. Interactive Component & JavaScript Query Hooks */
.amenity-checkbox {
	accent-color: #1648d8;
}

.amenity-item-label {
	cursor: pointer;
}

.mobile-amenity-checkbox {
	accent-color: #1648d8;
}

.mobile-amenity-item-label {
	cursor: pointer;
}

.browse-action-reset {
	cursor: pointer;
}

.ghoomo-carousel-dots {
	display: flex;
}

.ghoomo-carousel-next,
.ghoomo-carousel-prev,
.ghoomo-dot-btn,
.ghoomo-lightbox-thumb,
.ghoomo-slot-tab {
	cursor: pointer;
}

.ghoomo-dot-indicator {
	display: block;
}

.ghoomo-review-slide {
	flex-shrink: 0;
}

.ghoomo-review-slides,
.ghoomo-slot-panel {
	width: 100%;
}
