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

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

.nftw-header { margin-bottom: 24px; }
.nftw-eyebrow { letter-spacing: 2px; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.nftw-eyebrow--lines {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.nftw-eyebrow--lines::before,
.nftw-eyebrow--lines::after {
	content: "";
	width: 28px;
	height: 1px;
	background: #c8963e;
	flex-shrink: 0;
}
.nftw-main-title { font-size: 46px; font-weight: 800; margin: 0 0 12px; line-height: 1.15; }
.nftw-subtitle { font-size: 17px; margin: 0; }

.nftw-panel {
	border: 1px solid #eee0c4;
	border-radius: 18px;
	padding: 24px;
}

.nftw-panel-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
}

.nftw-block-label {
	font-size: 20px;
	font-weight: 700;
	color: #1a2b4c;
}

.nftw-view-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	border: 1px solid #e0a545;
	border-radius: 30px;
	color: #c08a2e;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
}

.nftw-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 24px;
}

.nftw-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

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

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

.nftw-date-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 56px;
	padding: 8px 6px;
	border-radius: 8px;
	line-height: 1.1;
	font-weight: 700;
}
.nftw-date-badge .d { font-size: 20px; }
.nftw-date-badge .m,
.nftw-date-badge .y { font-size: 11px; font-weight: 600; }

.nftw-date-badge.nftw-navy   { background-color: #1a2b4c; color: #fff; }
.nftw-date-badge.nftw-brown  { background-color: #6b4326; color: #fff; }
.nftw-date-badge.nftw-green  { background-color: #1e5631; color: #fff; }
.nftw-date-badge.nftw-purple { background-color: #4b2e83; color: #fff; }
.nftw-date-badge.nftw-maroon { background-color: #7a1f2b; color: #fff; }

.nftw-ribbon {
	position: absolute;
	bottom: 12px;
	right: 12px;
	background-color: #e0a545;
	color: #fff;
	padding: 5px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
}

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

.nftw-title { font-size: 19px; font-weight: 700; margin: 0; }

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

.nftw-description { font-size: 14px; line-height: 1.5; margin: 0 0 6px; }

.nftw-countdown {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	margin: 6px 0 14px;
}

.nftw-countdown-item {
	text-align: center;
	padding: 8px 4px;
	border-radius: 8px;
}
.nftw-countdown-item .num { display: block; font-size: 18px; font-weight: 800; }
.nftw-countdown-item .label { display: block; font-size: 9px; font-weight: 600; letter-spacing: 0.5px; margin-top: 2px; }

.nftw-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-top: auto;
	flex-wrap: wrap;
}

.nftw-price {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	margin-right: auto;
}
.nftw-price i { font-style: normal; }
.nftw-price strong { font-size: 15px; display: block; }

.nftw-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 20px;
	border-radius: 30px;
	background-color: #1a2b4c;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
	transition: opacity 0.2s ease;
}
.nftw-btn i { font-style: normal; }
.nftw-btn.nftw-explore-btn { border: none; cursor: pointer; font-family: inherit; }

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

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

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

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

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

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

.nftw-popup-phone-row {
	display: flex;
	gap: 8px;
}
.nftw-popup-code-select {
	position: relative;
	flex-shrink: 0;
}
.nftw-popup-code-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 10px;
	white-space: nowrap;
	box-sizing: border-box;
	cursor: pointer;
	height: 100%;
}
.nftw-popup-code-caret {
	font-size: 10px;
	line-height: 1;
	margin-left: 2px;
}
.nftw-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;
}
.nftw-popup-code-list.open { display: block; }
.nftw-popup-code-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	cursor: pointer;
	font-size: 14px;
}
.nftw-popup-code-list li .nftw-cc-country {
	font-size: 12px;
	opacity: 0.65;
	margin-left: auto;
}
.nftw-popup-phone-row .nftw-popup-input { flex: 1; min-width: 0; }

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

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

/* Responsive */
@media (max-width: 1200px) {
	.nftw-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 900px) {
	.nftw-grid { grid-template-columns: repeat(2, 1fr) !important; }
	.nftw-main-title { font-size: 32px; }
}
@media (max-width: 600px) {
	.nftw-grid { grid-template-columns: 1fr !important; }
	.nftw-panel-top { flex-direction: column; align-items: flex-start; }
}
