/* ============================================================
   TOTO Airport Section — detail pane + location list
   ============================================================ */

/* ── Wrapper ── */
.toto-airport-sec {
	--toto-ap-bg: #f5f5f5;
	--toto-ap-card: #ffffff;
	--toto-ap-border: #e5e5e5;
	--toto-ap-text: #0a0a0a;
	--toto-ap-muted: #6b7280;
	--toto-ap-link: #2563eb;
	--toto-ap-accent: #c0272d;
	background: var(--toto-ap-bg);
	color: var(--toto-ap-text);
	padding: 24px 16px 32px;
}

.toto-airport-sec img {
	margin: 0;
	padding: 0;
	max-width: none;
	height: auto;
}

.toto-airport-sec .toto-airport-card-thumb img {
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0 !important;
}

.toto-airport-sec .toto-airport-detail-trigger,
.toto-airport-sec .toto-airport-card-more {
	margin: 0 !important;
	text-decoration: none;
}

.toto-airport-sec-inner {
	max-width: 1280px;
	margin: 0 auto;
}

/* ── Toolbar ── */
.toto-airport-toolbar {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}

.toto-airport-search {
	flex: 1;
	min-width: 0;
	border: 1px solid var(--toto-ap-border);
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 15px;
	background: #fff;
	color: var(--toto-ap-text);
	font-family: inherit;
}

.toto-airport-search:focus {
	outline: none;
	border-color: var(--toto-ap-accent);
	box-shadow: 0 0 0 3px rgba(192, 39, 45, 0.12);
}

/* ── Filters ── */
.toto-airport-filters {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 14px;
	padding: 14px;
	background: #fff;
	border: 1px solid var(--toto-ap-border);
	border-radius: 12px;
}

.toto-airport-filter-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.toto-airport-filter-label {
	font-size: 12px;
	font-weight: 700;
	color: var(--toto-ap-muted);
	line-height: 1.2;
}

.toto-airport-filter {
	width: 100%;
	min-width: 0;
	border: 1px solid var(--toto-ap-border);
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	background: #fff;
	color: var(--toto-ap-text);
	font-family: inherit;
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--toto-ap-accent) 50%), linear-gradient(135deg, var(--toto-ap-accent) 50%, transparent 50%);
	background-position: calc(100% - 18px) calc(50% + 2px), calc(100% - 12px) calc(50% + 2px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-inline-end: 34px;
}

.toto-airport-sec--ar .toto-airport-filter {
	background-position: 12px calc(50% + 2px), 18px calc(50% + 2px);
	padding-inline-end: 12px;
	padding-inline-start: 34px;
}

.toto-airport-filter:focus {
	outline: none;
	border-color: var(--toto-ap-accent);
	box-shadow: 0 0 0 3px rgba(192, 39, 45, 0.12);
}

.toto-airport-filter:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	background-color: #f9fafb;
}

.toto-airport-filter-reset {
	grid-column: 1 / -1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 16px;
	border: 1.5px solid var(--toto-ap-accent);
	border-radius: 8px;
	background: #fff;
	color: var(--toto-ap-accent);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.toto-airport-filter-reset:hover,
.toto-airport-filter-reset:focus-visible {
	background: var(--toto-ap-accent);
	color: #fff;
	outline: none;
	box-shadow: 0 2px 8px rgba(192, 39, 45, 0.22);
}

.toto-airport-card.is-filter-hidden,
.toto-airport-detail-trigger.is-filter-hidden,
.toto-airport-card-details li.is-filter-hidden {
	display: none !important;
}

/* ── Body layout ── */
.toto-airport-body {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	background: #fff;
	border: 1px solid var(--toto-ap-border);
	border-radius: 12px;
	overflow: hidden;
}

/* ── Detail pane ── */
.toto-airport-detail-pane {
	min-height: 320px;
	background: #fafafa;
	display: flex;
	flex-direction: column;
}

.toto-airport-detail-view {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-height: 320px;
	position: relative;
}

.toto-airport-detail-panel {
	padding: 20px 20px 24px;
	overflow-y: auto;
	flex: 1 1 auto;
}

.toto-airport-detail-panel[hidden] {
	display: none !important;
}

.toto-airport-detail-media {
	margin: 0 0 16px;
	border-radius: 10px;
	overflow: hidden;
	background: #eceff1;
	border: 1px solid var(--toto-ap-border);
}

.toto-airport-detail-media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 280px;
	object-fit: cover;
	margin: 0 !important;
	padding: 0 !important;
}

.toto-airport-detail-title {
	margin: 0 0 12px;
	font-size: clamp(1.15rem, 2vw, 1.5rem);
	font-weight: 700;
	line-height: 1.3;
	color: var(--toto-ap-text);
}

.toto-airport-sec--ar .toto-airport-detail-title {
	text-align: right;
}

.toto-airport-detail-desc {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--toto-ap-muted);
}

.toto-airport-sec--ar .toto-airport-detail-desc {
	text-align: right;
}

.toto-airport-detail-desc p {
	margin: 0 0 0.75em;
}

.toto-airport-detail-desc p:last-child {
	margin-bottom: 0;
}

.toto-airport-detail-empty {
	padding: 48px 24px;
	text-align: center;
	color: var(--toto-ap-muted);
	font-size: 15px;
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.toto-airport-detail-empty[hidden] {
	display: none !important;
}

/* ── Products in detail pane ── */
.toto-airport-products {
	margin-top: 4px;
}

.toto-airport-prod-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.toto-airport-prod-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--toto-ap-border);
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s, transform 0.2s;
}

.toto-airport-prod-card:hover {
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
	color: inherit;
}

.toto-airport-prod-img {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f5f5f5;
}

.toto-airport-prod-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.toto-airport-prod-card:hover .toto-airport-prod-img img {
	transform: scale(1.04);
}

.toto-airport-prod-info {
	padding: 10px 12px 14px;
}

.toto-airport-prod-name {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--toto-ap-text);
}

.toto-airport-prod-desc {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--toto-ap-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.toto-airport-list-pane {
	border-top: 1px solid var(--toto-ap-border);
	max-height: none;
	overflow: visible;
}

.toto-airport-cards {
	display: flex;
	flex-direction: column;
}

/* ── Cards ── */
.toto-airport-card {
	display: block;
	padding: 9px 16px;
	border-bottom: 1px solid var(--toto-ap-border);
	background: var(--toto-ap-card);
	cursor: pointer;
	transition: background 0.15s ease, box-shadow 0.15s ease;
}

.toto-airport-card-head {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: start;
}

.toto-airport-card:hover,
.toto-airport-card.is-active {
	background: #fff8f8;
	box-shadow: inset 3px 0 0 var(--toto-ap-accent);
}

.toto-airport-sec--ar .toto-airport-card:hover,
.toto-airport-sec--ar .toto-airport-card.is-active {
	box-shadow: inset -3px 0 0 var(--toto-ap-accent);
}

.toto-airport-card:last-child {
	border-bottom: none;
}

.toto-airport-card.is-hidden {
	display: none;
}

.toto-airport-card-thumb {
	width: 52px;
	height: 30px;
	border-radius: 8px;
	overflow: hidden;
	background: #f3f4f6;
	border: 1px solid var(--toto-ap-border);
	margin: 0;
	padding: 0;
	flex-shrink: 0;
	align-self: start;
}

.toto-airport-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	max-width: none;
	border-radius: 0;
}

.toto-airport-card-thumb-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 28px;
}

.toto-airport-card-main {
	align-self: start;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.toto-airport-card-title {
	margin: 0 0 6px;
	padding: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--toto-ap-link);
}

.toto-airport-sec .toto-airport-card-title {
	margin-top: -2px !important;
	margin-bottom: 6px !important;
	padding-top: 0 !important;
}

.toto-airport-card-preview {
	margin: 0 0 8px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--toto-ap-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.toto-airport-card-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.toto-airport-card-count {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f3f4f6;
	border: 1px solid var(--toto-ap-border);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--toto-ap-muted);
}

.toto-airport-card-count-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--toto-ap-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.toto-airport-card-count-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--toto-ap-text);
}

.toto-airport-card-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 7px 14px;
	border: 1.5px solid var(--toto-ap-accent);
	border-radius: 6px;
	background: #fff;
	color: var(--toto-ap-accent);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.toto-airport-card-more::after {
	content: '›';
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.toto-airport-sec--ar .toto-airport-card-more::after {
	content: '‹';
}

.toto-airport-card-more:hover,
.toto-airport-card-more:focus-visible {
	background: var(--toto-ap-accent);
	color: #fff;
	text-decoration: none;
	outline: none;
	box-shadow: 0 2px 8px rgba(192, 39, 45, 0.25);
	transform: translateY(-1px);
}

.toto-airport-card-more[aria-expanded="true"] {
	background: var(--toto-ap-accent);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.toto-airport-card-more[aria-expanded="true"]::after {
	transform: rotate(90deg);
}

.toto-airport-sec--ar .toto-airport-card-more[aria-expanded="true"]::after {
	transform: rotate(-90deg);
}

.toto-airport-card-details {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--toto-ap-border);
}

.toto-airport-card-details[hidden] {
	display: none !important;
}

.toto-airport-card-details ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	width: 100%;
}

.toto-airport-card-details li {
	margin: 0;
	padding: 0;
	min-width: 0;
}

.toto-airport-detail-trigger {
	display: block;
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #e8eaed;
	border-radius: 8px;
	background: #f8f9fa;
	padding: 9px 12px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	color: #374151;
	text-align: start;
	text-decoration: none;
	cursor: pointer;
	white-space: normal;
	word-break: break-word;
	overflow-wrap: anywhere;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.toto-airport-detail-trigger::before {
	content: '›';
	display: inline-block;
	margin-inline-end: 6px;
	color: var(--toto-ap-accent);
	font-weight: 700;
	line-height: 1;
}

.toto-airport-sec--ar .toto-airport-detail-trigger::before {
	content: '‹';
}

.toto-airport-detail-trigger:hover,
.toto-airport-detail-trigger:focus-visible {
	background: #fff;
	border-color: rgba(192, 39, 45, 0.35);
	color: var(--toto-ap-accent);
	text-decoration: none;
	outline: none;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.toto-airport-detail-trigger.is-active {
	background: #fff8f8;
	border-color: var(--toto-ap-accent);
	color: var(--toto-ap-accent);
	font-weight: 600;
	box-shadow: inset 0 0 0 1px rgba(192, 39, 45, 0.08);
}

.toto-airport-card-side {
	text-align: end;
	min-width: 64px;
	padding-top: 0;
	align-self: start;
}

.toto-airport-card-side strong {
	display: block;
	font-size: 16px;
	line-height: 1.1;
	color: var(--toto-ap-text);
}

.toto-airport-card-side span {
	font-size: 11px;
	color: var(--toto-ap-muted);
}

.toto-airport-sec--ar .toto-airport-card-head {
	grid-template-columns: auto 72px minmax(0, 1fr);
	grid-template-areas: "side thumb main";
	direction: ltr;
}

.toto-airport-sec--ar .toto-airport-card-side {
	grid-area: side;
	text-align: start;
}

.toto-airport-sec--ar .toto-airport-card-thumb {
	grid-area: thumb;
}

.toto-airport-sec--ar .toto-airport-card-main {
	grid-area: main;
	direction: rtl;
	text-align: right;
}

.toto-airport-sec--ar .toto-airport-card-details ul {
	direction: ltr;
}

.toto-airport-sec--ar .toto-airport-card-details li:only-child {
	grid-column: 2;
}

.toto-airport-no-results {
	padding: 24px 16px;
	text-align: center;
	color: var(--toto-ap-muted);
	margin: 0;
}

/* ── Desktop: detail + list side by side ── */
@media (min-width: 992px) {
	.toto-airport-search {
		max-width: 320px;
	}

	.toto-airport-filters {
		grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
		align-items: end;
	}

	.toto-airport-filter-reset {
		grid-column: auto;
		white-space: nowrap;
		min-width: 130px;
	}

	.toto-airport-body {
		min-height: 560px;
		direction: ltr;
	}

	.toto-airport-prod-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}

	/* English: list left, detail right */
	.toto-airport-sec--en .toto-airport-body {
		grid-template-columns: 380px minmax(0, 1fr);
	}

	.toto-airport-sec--en .toto-airport-list-pane {
		order: 1;
		border-top: none;
		border-inline-end: 1px solid var(--toto-ap-border);
		border-inline-start: none;
		max-height: 560px;
		overflow-y: auto;
	}

	.toto-airport-sec--en .toto-airport-detail-pane {
		order: 2;
		min-height: 560px;
		border-top: none;
	}

	/* Arabic: detail left, list right */
	.toto-airport-sec--ar .toto-airport-body {
		grid-template-columns: minmax(0, 1fr) 380px;
	}

	.toto-airport-sec--ar .toto-airport-detail-pane {
		order: 1;
		min-height: 560px;
		border-top: none;
	}

	.toto-airport-sec--ar .toto-airport-list-pane {
		order: 2;
		border-top: none;
		border-inline-start: 1px solid var(--toto-ap-border);
		border-inline-end: none;
		max-height: 560px;
		overflow-y: auto;
	}

	.toto-airport-detail-view,
	.toto-airport-detail-panel {
		min-height: 520px;
	}
}

/* ── Mobile: inline accordion under each airport ── */
@media (max-width: 991px) {
	.toto-airport-detail-pane,
	.toto-airport-detail-view {
		display: none !important;
		min-height: 0 !important;
		height: 0 !important;
		max-height: 0 !important;
		overflow: hidden !important;
		padding: 0 !important;
		margin: 0 !important;
		border: 0 !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}

	.toto-airport-body {
		min-height: 0;
	}

	.toto-airport-list-pane {
		border-top: none;
	}

	.toto-airport-inline-detail {
		display: none;
		width: 100%;
		box-sizing: border-box;
		background: #fafafa;
		border-top: 1px solid var(--toto-ap-border);
	}

	.toto-airport-inline-detail.is-open {
		display: block;
	}

	.toto-airport-card-details li {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.toto-airport-card-details .toto-airport-inline-detail {
		margin-top: 6px;
		border-radius: 8px;
		border: 1px solid var(--toto-ap-border);
		overflow: hidden;
	}

	.toto-airport-card > .toto-airport-inline-detail {
		margin-top: 0;
	}

	.toto-airport-card-details li:has(.toto-airport-inline-detail.is-open) {
		grid-column: 1 / -1;
	}

	.toto-airport-inline-detail .toto-airport-detail-panel {
		min-height: 0;
		padding: 16px;
		background: #fafafa;
		visibility: visible;
		pointer-events: auto;
	}

	.toto-airport-inline-detail .toto-airport-detail-media img {
		max-height: 220px;
	}

	.toto-airport-inline-detail .toto-airport-detail-panel[hidden] {
		display: block !important;
	}

	.toto-airport-prod-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ── RTL typography ── */
.toto-airport-sec--ar .toto-airport-card-title,
.toto-airport-sec--ar .toto-airport-search,
.toto-airport-sec--ar .toto-airport-detail-title,
.toto-airport-sec--ar .toto-airport-prod-name {
	font-family: 'Cairo', 'GothamSSm', sans-serif;
}

.toto-airport-sec--en .toto-airport-card-title,
.toto-airport-sec--en .toto-airport-search,
.toto-airport-sec--en .toto-airport-detail-title,
.toto-airport-sec--en .toto-airport-prod-name {
	font-family: 'GothamSSm', 'Helvetica Neue', Arial, sans-serif;
}

.toto-airport-sec .toto-airport-mobile-list,
.toto-airport-sec .toto-custom-airport-map {
	display: none !important;
}




body.postid-1655 .toto-spj-content h2, body.postid-1655 .toto-spj-content h3, body.postid-1655 .toto-spj-content h4, body.postid-1474 .toto-spj-content h2, body.postid-1474 .toto-spj-content h3, body.postid-1474 .toto-spj-content h4 {
    line-height: 11px !important;
}