/* Nexusa Destinations Widget - structural CSS (colors/fonts controlled via Elementor Style tab) */

.ndw-wrapper * { box-sizing: border-box; }

.ndw-header { text-align: center; margin-bottom: 20px; }
.ndw-caption {
	margin: 0 0 8px 0;
	line-height: 1.3;
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.ndw-caption--lines {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.ndw-caption--lines::before,
.ndw-caption--lines::after {
	content: "";
	width: 28px;
	height: 1px;
	background: #c8963e;
	flex-shrink: 0;
}
.ndw-main-title { font-size: 42px; font-weight: 800; margin: 0 0 10px; }
.ndw-subtitle { font-size: 16px; margin: 0; }

.ndw-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 24px 0 28px;
}

.ndw-filter-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #e4e4e4;
	background: #fff;
	color: #1a2b4c;
	padding: 10px 20px;
	border-radius: 30px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.ndw-filter-btn.active {
	background-color: #c08a2e;
	border-color: #c08a2e;
	color: #fff;
}

.ndw-filter-btn i, .ndw-filter-btn svg { font-size: 14px; width: 14px; height: 14px; }

.ndw-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
}

.ndw-card {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0,0,0,0.07);
	display: flex;
	flex-direction: column;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.ndw-card.ndw-hidden {
	display: none;
}

.ndw-image-wrap {
	position: relative;
	width: 100%;
	height: 220px;
	overflow: hidden;
}

.ndw-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ndw-location-badge {
	position: absolute;
	bottom: 12px;
	left: 12px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background-color: rgba(255,255,255,0.92);
	color: #1a2b4c;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
}
.ndw-location-badge i { font-style: normal; font-size: 11px; }

.ndw-wishlist {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: #fff;
	color: #1a2b4c;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	line-height: 1;
}
.ndw-wishlist.active { color: #e0446a; }

.ndw-content {
	padding: 16px 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.ndw-title { font-size: 18px; font-weight: 700; margin: 0; }

.ndw-duration { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.ndw-duration i { font-style: normal; font-size: 13px; }

.ndw-meta-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px;
	margin: 4px 0 6px;
	flex-wrap: wrap;
}

.ndw-price-block { display: flex; flex-direction: column; }
.ndw-price-label { font-size: 12px; }
.ndw-price-value { font-size: 18px; font-weight: 800; }
.ndw-price-value small { font-size: 12px; font-weight: 500; }

.ndw-rating { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; }
.ndw-rating i { font-style: normal; }
.ndw-rating small { font-weight: 400; color: #8a93a3; }

.ndw-icons-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 2px 0 6px;
}
.ndw-extra-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
.ndw-extra-icon i { font-size: 20px; color: #1a2b4c; }
.ndw-extra-icon svg { width: 20px; height: 20px; fill: #1a2b4c; }

.ndw-btn-wrap { display: flex; margin-top: auto; }

.ndw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	padding: 10px 18px;
	border: 1px solid #e0a545;
	border-radius: 30px;
	background-color: #fff;
	color: #c08a2e;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.2s ease;
}
.ndw-btn:hover { background-color: #c08a2e; color: #fff; }
.ndw-btn i { font-style: normal; }

.ndw-no-results {
	text-align: center;
	padding: 40px 0;
	font-size: 15px;
	color: #8a93a3;
}

.ndw-card.ndw-extra-hidden {
	display: none;
}

.ndw-viewmore-wrap {
	display: flex;
	justify-content: center;
	margin-top: 30px;
}

.ndw-viewmore-wrap { display: none; }
.ndw-viewmore-wrap.ndw-active { display: flex; }

.ndw-viewmore-btn,
.ndw-showless-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 32px;
	border: 1px solid #e0a545;
	border-radius: 30px;
	background-color: #fff;
	color: #c08a2e;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
}
.ndw-viewmore-btn:hover,
.ndw-showless-btn:hover { background-color: #c08a2e; color: #fff; }
.ndw-showless-btn { display: none; }

/* Lead Popup Form (colors/fonts controlled via Elementor Style tab) */
.ndw-popup-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.ndw-popup-overlay.active { display: flex; }

.ndw-popup-box {
	position: relative;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-sizing: border-box;
}

.ndw-popup-close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: none;
	border: none;
	cursor: pointer;
	line-height: 1;
	padding: 4px;
}

.ndw-popup-title { margin: 0 0 8px; }
.ndw-popup-desc { margin: 0 0 24px; }

.ndw-popup-field { margin-bottom: 18px; }
.ndw-popup-label { display: block; margin-bottom: 6px; font-weight: 600; }

.ndw-popup-input {
	width: 100%;
	display: block;
	box-sizing: border-box;
	outline: none;
}
.ndw-popup-input:focus { outline: none; }

.ndw-popup-phone-row {
	display: flex;
	gap: 8px;
}
.ndw-popup-code-select {
	position: relative;
	flex-shrink: 0;
}
.ndw-popup-code-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 10px;
	white-space: nowrap;
	box-sizing: border-box;
	cursor: pointer;
	height: 100%;
}
.ndw-popup-code-caret {
	font-size: 10px;
	line-height: 1;
	margin-left: 2px;
}
.ndw-popup-code-list {
	display: none;
	position: absolute;
	bottom: calc(100% + 6px);
	top: auto;
	left: 0;
	min-width: 190px;
	max-height: 220px;
	overflow-y: auto;
	list-style: none;
	margin: 0;
	padding: 6px 0;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 -8px 24px rgba(0,0,0,0.12);
	z-index: 10;
}
.ndw-popup-code-list.open { display: block; }
.ndw-popup-code-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	cursor: pointer;
	font-size: 14px;
}
.ndw-popup-code-list li .ndw-cc-country {
	font-size: 12px;
	opacity: 0.65;
	margin-left: auto;
}
.ndw-popup-phone-row .ndw-popup-input { flex: 1; min-width: 0; }

.ndw-popup-submit {
	width: 100%;
	border: none;
	cursor: pointer;
	display: block;
	margin-top: 6px;
}

@media (max-width: 480px) {
	.ndw-popup-box { max-height: 92vh; }
}

/* Responsive */
@media (max-width: 1200px) {
	.ndw-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 900px) {
	.ndw-grid { grid-template-columns: repeat(2, 1fr) !important; }
	.ndw-main-title { font-size: 30px; }
}
@media (max-width: 600px) {
	.ndw-grid { grid-template-columns: 1fr !important; }
	.ndw-filters { gap: 8px; }
	.ndw-filter-btn { padding: 8px 14px; font-size: 13px; }
}
