@media (max-width: 767px), (max-width: 1366px) and (pointer: coarse), (display-mode: standalone) {
	.wpma-mobile .wpma-shell .wpma-open-explore {
		display: flex;
		align-items: center;
		gap: 12px;
		width: 100%;
		min-height: 52px;
		margin-block-end: 10px;
		padding: 10px 12px;
		border: 1px solid var(--wpma-line);
		border-radius: 14px;
		background: var(--wpma-soft-bg);
		color: var(--wpma-soft-text);
		font-weight: 650;
		text-align: start;
	}

	.wpma-open-explore span {
		flex: 1;
	}

	.wpma-section-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.wpma-shell .wpma-section-grid a {
		display: flex;
		align-items: center;
		gap: 8px;
		min-height: 62px;
		padding: 8px;
		border: 1px solid var(--wpma-line);
		border-radius: 15px;
		background: var(--wpma-surface);
		color: var(--wpma-ink);
		font-size: .92rem;
		font-weight: 620;
		line-height: 1.2;
	}

	.wpma-shell .wpma-section-grid a[aria-current="page"],
	.wpma-shell .wpma-section-grid a:active {
		background: var(--wpma-soft-bg);
		color: var(--wpma-soft-text);
	}

	.wpma-section-grid a span:nth-child(2) {
		flex: 1;
		overflow-wrap: anywhere;
	}

	.wpma-section-icon {
		display: grid;
		flex: 0 0 34px;
		width: 34px;
		height: 34px;
		place-items: center;
		border-radius: 12px;
		background: var(--wpma-soft-bg);
		color: var(--wpma-soft-text);
	}

	.wpma-section-grid a > .wpma-icon {
		width: 16px;
		height: 16px;
	}

	.wpma-section-grid a:dir(rtl) > .wpma-icon,
	.wpma-open-explore:dir(rtl) > .wpma-icon:last-child {
		transform: scaleX(-1);
	}

	/* Only the public travel inventory owns these selectors. Booking flows, property
	   details, and the theme's ordinary sections keep their own forms and layouts. */
	.wpma-app-content .hotel-listings.hotel-listings--results[data-listing-view] .hotel-listing-grid,
	.wpma-app-content .hp-guides:not(.hp-guide-profile) .hp-guides-grid {
		gap: 16px !important;
	}

	.wpma-app-content body .hotel-listings.hotel-listings--results[data-listing-view] .hp-catalog-card[data-hp-catalog-card],
	.wpma-app-content .hp-guides:not(.hp-guide-profile) .hp-guide-card {
		border-radius: 22px !important;
		box-shadow: 0 2px 7px rgb(22 35 39 / 9%) !important;
	}

	.wpma-app-content body .hotel-listings.hotel-listings--results[data-listing-view] .hp-catalog-card .hp-catalog-info,
	.wpma-app-content .hp-guides:not(.hp-guide-profile) .hp-guide-card-body {
		min-inline-size: 0;
		overflow-wrap: anywhere;
	}

	.wpma-app-content body .hotel-listings.hotel-listings--results[data-listing-view] .hp-catalog-card .hp-catalog-action {
		display: flex !important;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
	}

	.wpma-app-content body .hotel-listings.hotel-listings--results[data-listing-view] .hp-catalog-card .hp-catalog-cta {
		min-block-size: 48px !important;
		max-inline-size: 100%;
		margin: 0 !important;
		border-radius: 999px !important;
		padding-inline: 18px;
		white-space: normal;
	}

	.wpma-app-content .hp-guides:not(.hp-guide-profile) .hp-guides-filters {
		min-inline-size: 0;
		border-radius: 18px;
	}

	.wpma-app-content .hp-guides:not(.hp-guide-profile) .hp-guides-filters :is(input:not([type="hidden"]), button),
	.wpma-app-content .hotel-listings--results .hotel-listing-pagination :is(a, span),
	.wpma-app-content .hp-guides:not(.hp-guide-profile) :is(.hp-guides-reset, .hp-guides-paging a) {
		min-block-size: 48px;
		box-sizing: border-box;
	}

	.wpma-app-content .hp-guides:not(.hp-guide-profile) .hp-guides-filters input:not([type="hidden"]) {
		min-inline-size: 0;
		max-inline-size: 100%;
		font-size: max(16px, 1em);
	}

	.wpma-app-content .hp-guides:not(.hp-guide-profile) :is(.hp-guides-reset, .hp-guides-paging a) {
		display: inline-flex;
		align-items: center;
	}
}

@media (max-width: 360px) {
	.wpma-section-grid a > .wpma-icon {
		display: none;
	}
}
