/**
 * Our Locations — three columns: tabs | image | detail card.
 */

.our-locations {
	--our-loc-accent: #9d224e;
	--our-loc-tab-bg: #e6e6e6;
	--our-loc-tab-text: #333333;
	--our-loc-radius: 12px;
	--our-loc-tab-radius: 10px;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	font-family: inherit;
	box-sizing: border-box;
}

.our-locations *,
.our-locations *::before,
.our-locations *::after {
	box-sizing: border-box;
}

.our-locations__layout {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 24px;
	padding: 24px;
	min-height: 440px;
	background: #f5f5f5;
	border-radius: var(--our-loc-radius);
}

.our-locations__tabs {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 0 0 auto;
	min-width: 150px;
	max-width: 200px;
}

.our-locations__tab {
	display: block;
	width: 100%;
	margin: 0;
	padding: 14px 18px;
	border: none;
	border-radius: var(--our-loc-tab-radius);
	background: var(--our-loc-tab-bg);
	color: var(--our-loc-tab-text);
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.our-locations__tab:hover {
	filter: brightness(0.97);
}

.our-locations__tab:focus {
	outline: 2px solid var(--our-loc-accent);
	outline-offset: 2px;
}

.our-locations__tab.is-active {
	background: var(--our-loc-accent);
	color: #fff;
	box-shadow: 0 4px 14px rgba(157, 34, 78, 0.35);
}

/* Column 2: featured image */
.our-locations__media {
	flex: 1 1 0;
	min-width: 0;
	min-height: 320px;
	border-radius: var(--our-loc-radius);
	overflow: hidden;
	background: #e8e8e8;
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
}

.our-locations__media.is-empty {
	background: linear-gradient(145deg, #e8e8e8 0%, #dedede 100%);
}

.our-locations__media-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.our-locations__media-img[hidden] {
	display: none !important;
}

/* Column 3: map / details card */
.our-locations__panel-wrap {
	flex: 0 1 420px;
	display: flex;
	align-items: stretch;
	justify-content: center;
	min-width: 280px;
	max-width: 480px;
}

.our-locations__card {
	width: 100%;
	background: #fff;
	border-radius: var(--our-loc-radius);
	padding: 28px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
	align-self: center;
}

.our-locations__title {
	margin: 0 0 10px;
	font-size: 1.5rem;
	font-weight: 700;
	color: #111;
	line-height: 1.2;
}

.our-locations__address {
	margin: 0 0 14px;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #555;
}

.our-locations__whatsapp {
	margin: 0 0 18px;
	font-size: 0.95rem;
}

.our-locations__whatsapp[hidden] {
	display: none !important;
}

.our-locations__whatsapp-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #333;
	text-decoration: none;
	font-weight: 500;
}

.our-locations__whatsapp-link:hover {
	color: var(--our-loc-accent);
}

.our-locations__wa-icon {
	flex-shrink: 0;
	display: block;
}

.our-locations__map {
	margin: 0 0 20px;
	border-radius: 8px;
	overflow: hidden;
	line-height: 0;
	background: #eee;
	min-height: 200px;
}

.our-locations__map iframe {
	display: block;
	width: 100% !important;
	min-height: 220px;
	border: 0;
}

.our-locations__directions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 14px 20px;
	border: none;
	border-radius: 999px;
	background: var(--our-loc-accent);
	color: #fff !important;
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: filter 0.2s ease, opacity 0.2s ease;
}

.our-locations__directions:hover {
	filter: brightness(1.05);
}

.our-locations__directions.is-disabled {
	opacity: 0.55;
	pointer-events: none;
	cursor: not-allowed;
}

.our-locations__dir-icon {
	flex-shrink: 0;
}

@media (max-width: 900px) {
	.our-locations__layout {
		flex-wrap: wrap;
		padding: 20px;
		min-height: 0;
	}

	.our-locations__tabs {
		flex-direction: row;
		flex-wrap: wrap;
		min-width: 0;
		max-width: none;
		width: 100%;
		order: 1;
	}

	.our-locations__tab {
		flex: 1 1 auto;
		text-align: center;
		min-width: calc(50% - 6px);
	}

	.our-locations__media {
		order: 2;
		flex: 1 1 100%;
		min-height: 240px;
		max-height: 320px;
	}

	.our-locations__panel-wrap {
		order: 3;
		flex: 1 1 100%;
		max-width: none;
		min-width: 0;
	}

	.our-locations__card {
		max-width: none;
	}
}
