/* A&L Properties – Filter & Card Styles */

/* ─── Properties page wrapper ─── */

/* ─── Filter row layout ─── */
.al-filter-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

/* ─── ROW 1: Dropdowns ─── */
.al-filter-dropdowns {
	gap: 12px;
	margin-bottom: 32px;
}

.al-filter-select {
	width: 200px;
	height: 43px;
	padding: 0 36px 0 14px;
	border: 1px solid #0F1125;
	border-radius: 0;
	background: #fff;
	font-family: 'Archivo', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #0F1125;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230F1125' stroke-width='1.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.al-filter-select:focus {
	outline: 2px solid #00CBB4;
	outline-offset: -2px;
}

/* Active dropdown state */
.al-filter-select.is-active,
.al-filter-select:not([value=""]):not(:invalid) {
	background-color: #EEF2F6;
}

/* ─── ROW 2: Filter tags ─── */
.al-filter-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	min-height: 0;
	margin-bottom: 55px;
}

.al-filter-tags:empty {
	margin-bottom: 0;
}

.al-filter-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 27px;
	padding: 0 10px;
	background: #EEF2F6;
	border-radius: 4px;
	font-family: 'Archivo', sans-serif;
	font-size: 12px;
	font-weight: 400;
	color: #0F1125;
	white-space: nowrap;
}

.al-filter-tag--clear {
	background: #0F1125;
	color: #fff;
}

.al-filter-tag__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	padding: 0;
	border: none;
	background: none;
	font-size: 14px;
	line-height: 1;
	color: inherit;
	cursor: pointer;
	opacity: 0.6;
}

.al-filter-tag__remove:hover {
	opacity: 1;
}

/* ─── ROW 3: Results count + sort ─── */
.al-filter-meta {
	justify-content: space-between;
	margin-bottom: 24px;
}

.al-results-count {
	font-size: 16px;
	font-weight: 400;
	color: #0F1125;
	margin: 0;
}

.al-sort-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
}

.al-sort-label {
	font-size: 16px;
	font-weight: 400;
	color: #0F1125;
}

.al-sort-select {
	border: none;
	background: none;
	font-family: 'Archivo', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #496991;
	cursor: pointer;
	padding: 0;
	appearance: auto;
}

.al-sort-select:focus {
	outline: 2px solid #00CBB4;
	outline-offset: 2px;
}

/* ─── Card grid ─── */
.al-property-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

/* ─── Loading state ─── */
.al-results-container {
	transition: opacity 0.2s ease;
}

.al-results--loading {
	opacity: 0.4;
	pointer-events: none;
}

/* ─── Property card ─── */
.al-property-card {
	display: flex;
	flex-direction: column;
	width: 370px;
	font-family: 'Archivo', sans-serif;
}

.al-property-card__image-wrap {
	position: relative;
	display: block;
	width: 100%;
	height: 260px;
	overflow: hidden;
	background: #EEF2F6;
	text-decoration: none;
}

.al-property-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.al-property-card__image--placeholder {
	width: 100%;
	height: 100%;
	background: #EEF2F6;
}

.al-property-card__badge {
	position: absolute;
	top: 15px;
	left: 5px;
	display: inline-block;
	padding: 4px 14px;
	background: #EEF2F6;
	border-radius: 25px;
	font-size: 14px;
	font-weight: 400;
	color: #0F1125;
	line-height: 1.4;
}

.al-property-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 0 0;
}

.al-property-card__price {
	font-size: 18px;
	font-weight: 600;
	color: #0F1125;
	margin: 0;
}

.al-property-card__lease-type {
	font-weight: 400;
}

.al-property-card__title {
	font-size: 24px;
	font-weight: 400;
	color: #0F1125;
	line-height: 1.15;
	margin: 0;
}

.al-property-card__title a {
	color: inherit;
	text-decoration: none;
}

.al-property-card__title a:hover {
	color: #496991;
}

.al-property-card__address {
	margin: 0;
}

.al-property-card__addr1,
.al-property-card__addr2 {
	display: block;
	font-size: 16px;
	font-weight: 300;
	color: #0F1125;
	text-transform: capitalize;
	line-height: 1.4;
}

.al-property-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

.al-tag {
	display: inline-block;
	height: 27px;
	line-height: 27px;
	padding: 0 10px;
	background: #EEF2F6;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 400;
	color: #0F1125;
	white-space: nowrap;
}

/* ─── Empty state ─── */
.al-empty-state {
	grid-column: 1 / -1;
	text-align: center;
	padding: 80px 20px;
}

.al-empty-heading {
	font-size: 24px;
	font-weight: 400;
	color: #496991;
	margin: 0 0 12px;
}

.al-empty-sub {
	font-size: 16px;
	color: #0F1125;
	margin: 0;
}

.al-empty-sub a {
	color: #00CBB4;
	text-decoration: underline;
}

.al-empty-sub a:hover {
	color: #0F1125;
}

/* ─── Suites section ─── */
.al-suites-wrap {
	font-family: 'Archivo', sans-serif;
}

/* Filter pills */
.al-suites-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 32px;
}

button.al-suites-pill {
	height: 38px;
	padding: 0 20px;
	background: transparent;
	border: 1px solid #0F1125;
	border-radius: 30px;
	font-family: 'Archivo', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #0F1125;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
	white-space: nowrap;
	text-align: center;
}

button.al-suites-pill:hover,
button.al-suites-pill:focus {
	background: #EEF2F6;
	color: #0F1125;
}

button.al-suites-pill.active {
	background: #BEC2E5;
	border-color: #0F1125;
	color: #0F1125;
}

/* Table — reset overrides */
.al-suites-table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 1rem;
	margin-block-end: 0;
}

.al-suites-table th,
.al-suites-table td {
	border: none;
}

table.al-suites-table tbody > tr:nth-child(odd) > td,
table.al-suites-table tbody > tr:nth-child(odd) > th {
	background-color: transparent;
}

table.al-suites-table tbody tr:hover > td,
table.al-suites-table tbody tr:hover > th {
	background-color: transparent;
}

.al-suites-table__header {
	border-bottom: 1px solid #3B4397;
}

.al-suites-table__th {
	padding: 12px 16px;
	text-align: left;
	font-family: 'Archivo', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #0F1125;
	vertical-align: middle;
	border-block-start:none!important;
}

/* Data rows */
.al-suites-table__row {
	height: 74px;
}

table.al-suites-table tbody > tr.al-suites-table__row:nth-child(even) > td {
	background: #EDEEF8;
}

.al-suites-table__cell {
	padding: 16px;
	text-align: left;
	vertical-align: middle;
	font-family: 'Archivo', sans-serif;
	font-size: 18px;
	font-weight: 400;
	color: #0F1125;
}

/* Per-column typography */
.al-suites-table__cell--suite {
	font-size: 24px;
	font-weight: 400;
}

.al-suites-table__cell--size {
	font-size: 18px;
	font-weight: 700;
}

.al-suites-table__cell--floor {
	font-size: 18px;
	font-weight: 400;
}

.al-suites-table__cell--rate {
	font-size: 18px;
	font-weight: 400;
}
.al-suites-table__cell--inquire{width:150px}

/* Buttons */
.al-suites-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 24px;
	border-radius: 30px;
	font-family: 'Archivo', sans-serif;
	font-size: 16px;
	font-weight: 400;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.al-suites-btn--ghost {
	background: transparent;
	border: 1px solid #0F1125;
	color: #0F1125;
}

.al-suites-btn--ghost:hover {
	color:#0F1125;
background: #BEC2E5;
}

.al-suites-btn--filled {
	background: #2D336F;
	border: 1px solid #2D336F;
	color: #fff;
}

.al-suites-btn--filled:hover {
	color:#0F1125;
	background: #BEC2E5;
	border-color:#BEC2E5
}

.al-suites-btn--filled svg {
	width: 15px;
	height: 8px;
	flex-shrink: 0;
}

/* Suite empty state */
.al-suites-wrap .al-no-results {
	padding: 40px 16px;
	text-align: center;
	font-size: 18px;
	color: #496991;
}

/* ─── Suites responsive — tablet ─── */
@media (max-width: 1024px) {
	.al-suites-table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.al-suites-table thead,
	.al-suites-table tbody,
	.al-suites-table tr,
	.al-suites-table th,
	.al-suites-table td {
		display: revert;
	}

	.al-suites-table {
		min-width: 900px;
	}

	.al-suites-filters {
		overflow-x: auto;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
	}

	.al-suites-pill {
		flex-shrink: 0;
	}
}

/* ─── Suites responsive — mobile ─── */
@media (max-width: 767px) {
	.al-suites-table {
		display: block;
		overflow: visible;
		min-width: 0;
	}

	.al-suites-table thead {
		display: none;
	}

	.al-suites-table tbody {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	.al-suites-table__row {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px 16px;
		padding: 20px;
		border: none;
		border-radius: 8px;
		height: auto;
		background: #fff !important;
	}

	.al-suites-table__cell {
		padding: 0;
		font-size: 16px;
	}

	.al-suites-table__cell--suite {
		width: 100%;
		font-size: 20px;
		font-weight: 600;
	}

	.al-suites-table__cell--suite::before { content: 'Suite '; }

	.al-suites-table__cell--size::before { content: 'Size: '; font-weight: 400; }
	.al-suites-table__cell--floor::before { content: 'Floor: '; font-weight: 400; }
	.al-suites-table__cell--rate { width: 100%; }

	.al-suites-table__cell--details,
	.al-suites-table__cell--inquire {
		margin-top: 8px;
	}

	.al-suites-btn {
		font-size: 14px;
		height: 36px;
		padding: 0 16px;
	}
}

/* ─── Room grid ─── */
.al-room-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 280px, 1fr ) );
	gap: 1.5rem;
}

.al-no-results {
	padding: 2rem;
	text-align: center;
	color: #888;
}

/* ─── Shared carousel ─── */
.al-tcar { width: 100%; }
.al-tcar-viewport { overflow: hidden; }
.al-tcar-track {
	display: flex;
	gap: 24px;
	transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}
.al-tcar-card {
	flex: 0 0 calc((100% - 48px) / 3);
	background: #fff;
	padding: 36px 32px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 28px;
	min-height: 318px;
	box-sizing: border-box;
}
.al-tcar-quote {
	font-family: Archivo, sans-serif;
	font-size: 18px;
	line-height: 1.45;
	color: #0F1125;
	margin: 0;
}
.al-tcar-name {
	font-family: Archivo, sans-serif;
	font-weight: 700;
	font-size: 14px;
	color: #496991;
	margin: 0;
}
.al-tcar-footer {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 28px;
}
.al-tcar-progress {
	position: relative;
	flex: 1;
	height: 2px;
	background: rgba(17,24,34,0.18);
	overflow: hidden;
}
.al-tcar-progress-bar {
	position: absolute;
	top: 0; bottom: 0;
	left: 0;
	background: #0F1125;
	width: 0;
	transition: left 0.55s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s ease;
}
.al-tcar-controls {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}
.al-tcar-btn {
	width: 38px;
	height: 38px;
	border: none;
	background: transparent;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: transform 0.4s ease;
}
.al-tcar-btn:hover:not([disabled]),
.al-tcar-btn:focus:not([disabled]) {
	transform: scale(1.1);
	background-color: initial;
}
.al-tcar-btn[disabled] {
	opacity: 0.35;
	cursor: not-allowed;
}
.al-tcar-btn svg {
	display: block;
}
@media (max-width: 1024px) {
	.al-tcar-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 767px) {
	.al-tcar-card { flex: 0 0 100%; min-height: 0; }
	.al-tcar-track { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.al-tcar-track,
	.al-tcar-progress-bar { transition: none; }
}

/* ─── Property gallery slider ─── */
.al-pgal {
	width: 100%;
	overflow: visible;
}

.al-pgal .al-tcar-viewport {
	/* Images bleed to the right; footer stays in container */
	width: calc(100% + (100vw - 100%) / 2);
	max-width: none;
	overflow: hidden;
}

.al-pgal .al-tcar-track {
	gap: 24px;
}

.al-pgal .al-pgal-slide {
	flex: 0 0 auto;
	padding: 0;
	min-height: auto;
	overflow: hidden;
	background: #EEF2F6;
}

.al-pgal-img {
	height: 415px !important;
	width: auto;
	object-fit: cover;
	display: block;
}

.al-pgal-footer {
	display: flex;
	align-items: center;
	gap: 40px;
	margin-top: 20px;
	max-width: 100%;
	box-sizing: border-box;
}

.al-pgal-counter {
	font-family: 'Archivo', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #0F1125;
	white-space: nowrap;
	flex-shrink: 0;
}

.al-pgal-counter .al-pgal-current {
	font-weight: 700;
	font-size: 18px;
}

.al-pgal-counter .al-pgal-total {
	color: #496991;
}

@media (max-width: 1024px) {
	.al-pgal .al-pgal-slide {
		flex: 0 0 100%;
	}
	.al-pgal-img {
		height: 360px !important;
	}
	.al-pgal-footer {
		padding: 0 40px;
	}
}

@media (max-width: 767px) {
	.al-pgal-img {
		height: 240px !important;
	}
	.al-pgal-footer {
		padding: 0 20px;
	}
}

/* ─── Suite modal ─── */
.al-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(17, 24, 34, 0.5);
	overflow-y: auto;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
.al-modal-overlay[aria-hidden="true"] {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}
.al-modal-overlay[aria-hidden="false"] {
	opacity: 1;
	visibility: visible;
}
body.al-modal-open {
	overflow: hidden;
}
.al-modal-panel {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -48%) scale(0.96);
	width: 90vw;
	max-width: 90rem;
	max-height: 90vh;
	background: #fff;
	display: flex;
	flex-direction: column;
	padding: 0;
	opacity: 0;
	visibility: hidden;
}
.al-modal-panel.al-modal--loaded {
	visibility: visible;
	animation: al-modal-show 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
/* Spinner centered on overlay while panel loads */
.al-modal-overlay[aria-hidden="false"]::after {
	content: '';
	position: fixed;
	top: calc(50% - 18px);
	left: calc(50% - 18px);
	width: 36px;
	height: 36px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: al-spin 0.7s linear infinite;
}
.al-modal-overlay .al-modal-panel.al-modal--loaded ~ *,
.al-modal-panel.al-modal--loaded + .al-modal-overlay::after { display: none; }
/* Hide overlay spinner once panel is visible */
.al-modal-overlay:has(.al-modal--loaded)::after {
	display: none;
}
@keyframes al-modal-show {
	0% {
		opacity: 0;
		transform: translate(-50%, -48%) scale(0.96);
	}
	100% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
}
.al-modal-header {
	position: absolute;
	top: 2rem;
	right: 2rem;
	z-index: 1;
}
.al-modal-close {
	width: 40px;
	height: 40px;
	border: none;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: #0F1125;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s ease;
}
.al-modal-close:hover {
	opacity: 0.6;
}
.al-modal-body {
	flex: 1;
	overflow-y: auto;
	transition: opacity 0.3s ease;
}
.al-modal-body--fading {
	opacity: 0;
	pointer-events: none;
}
@keyframes al-spin {
	to { transform: rotate(360deg); }
}
/* ─── Share via email button ─── */
.al-share-email-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex-shrink: 0;
	margin-top:5px
}
.al-share-email-btn svg {
	display: block;
}
.al-share-email-btn svg circle,
.al-share-email-btn svg path {
	transition: fill 0.3s ease, stroke 0.3s ease;
}
.al-share-email-btn:hover svg circle {
	fill: #BEC2E5;
}
.al-share-email-btn:hover svg path {
	fill: #0F1125;
}

/* ─── Rate text ─── */
.al-rate {
	color: #0F1125;
	font-family: 'Archivo', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 145%;
	margin: 0;
}

.al-modal-error {
	text-align: center;
	color: #496991;
	font-family: 'Archivo', sans-serif;
	font-size: 16px;
	padding: 40px 0;
}

/* ─── Gravity Form: Request a Viewing (modal) ─── */
#gform_wrapper_1 .gform_heading{display: none;}

#field_1_1 {
	border: none !important;
	padding: 0 !important;
	margin-inline: 0 !important;
}

#field_1_1 > legend.gfield_label {
	display: none !important;
}

#input_1_1.ginput_container_name {
	display: flex !important;
	gap: 2.5vw !important;
}

#input_1_1 .name_first,
#input_1_1 .name_last {
	flex: 1 1 0 !important;
	width: 50% !important;
	min-width: 0 !important;
	padding: 0!important;
}

#gform_fields_1 {
	column-gap: 2.5vw;
	grid-row-gap: 26px;
}

#gform_fields_1 .gfield.gfield--type-hidden{
	margin-bottom: 0!important;
}

#gform_fields_1 #field_1_3 {
	flex: 0 0 100% !important;
	width: 100% !important;
}

#gform_fields_1 .gform-field-label.gform-field-label--type-sub {
	margin-bottom: 8px !important;
}

#gform_submit_button_1 {
	display: inline-flex !important;
	align-items: center;
	gap: 3vw;
}

#gform_submit_button_1::after {
	content: '';
	display: inline-block;
	width: 15px;
	height: 8px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='8' viewBox='0 0 15 8' fill='none'%3E%3Cpath d='M0 3.85358L13 3.85358' stroke='%23111822'/%3E%3Cpath d='M10 0.353577L13.5 3.85358L10 7.35358' stroke='%23111822'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	flex-shrink: 0;
}

@media (max-width: 767px) {
	.al-modal-panel {
		width: 95vw;
		padding: 3rem 2rem;
		max-height: 95vh;
	}

	#gform_fields_1 #field_1_2,
	#gform_fields_1 #field_1_4 {
		flex: 0 0 100% !important;
		width: 100% !important;
	}

	#input_1_1.ginput_container_name {
		flex-direction: column !important;
	}
}

/* ─── Responsive ─── */

/* Tablet */
@media ( max-width: 1299px ) {
	.al-property-filter-wrap {
		padding: 0 40px;
	}

	.al-property-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.al-property-card {
		width: 100%;
	}

	.al-filter-dropdowns {
		flex-wrap: wrap;
	}

	.al-filter-select {
		width: calc(50% - 6px);
	}
}

/* Mobile */
@media ( max-width: 767px ) {
	.al-property-filter-wrap {
		padding: 0 20px;
	}

	.al-property-grid {
		grid-template-columns: 1fr;
	}

	.al-filter-select {
		width: 100%;
	}

	.al-filter-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.al-property-card__image-wrap {
		height: 220px;
	}
}
