/* =========================================================
   TAF / TIXR PACKAGE FINDER + CAROUSELS
   Cleaned + organized version
========================================================= */

/* =========================================================
   1) BASE LAYOUT
========================================================= */

html.taf-modal-open,
body.taf-modal-open {
	overflow: hidden;
}

.taf-grid,
.taf-collection-carousel,
.taf-carousel-block {
	width: 100%;
}

.taf-group {
	margin-bottom: 34px;
}

.taf-group-title {
	margin: 0 0 16px;
	font-size: 22px;
	line-height: 1.2;
}

/* =========================================================
   2) LEGACY FILTER / TOOLBAR INPUTS
   (kept in case some old markup still exists)
========================================================= */

.taf-toolbar-grid,
.taf-filter-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 14px;
}

.taf-toolbar-grid {
	margin-bottom: 18px;
}

.taf-toolbar-grid--sorting {
	grid-template-columns: minmax(260px, 2fr) minmax(110px, 0.7fr) minmax(90px, 0.6fr);
	align-items: end;
}

.taf-filter-item label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 6px;
}

.taf-filter-item select,
.taf-filter-item input[type="number"] {
	width: 100%;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid #d7d7d7;
	background: #fff;
	border-radius: 4px;
}

.taf-filter-item select {
	padding-right: 44px !important;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image:
		linear-gradient(45deg, transparent 50%, #666 50%),
		linear-gradient(135deg, #666 50%, transparent 50%);
	background-position:
		calc(100% - 18px) 50%,
		calc(100% - 12px) 50%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

.taf-filter-item select option:disabled {
	color: #999;
	background: #f5f5f5;
}

.taf-filter-item-reset {
	display: flex;
	align-items: flex-end;
	min-width: 0;
}

.taf-filter-item--sort,
.taf-filter-item--dir {
	min-width: 0;
}

.taf-price-input-wrap {
	position: relative;
}

.taf-price-input-symbol {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 14px;
	line-height: 1;
	color: #666;
	pointer-events: none;
}

.taf-filter-item--price input[type="number"] {
	padding-left: 28px;
}

.taf-sort-dir-btn {
	width: 100%;
	min-height: 42px;
	padding: 8px 12px;
	border: 1px solid #111;
	background: #fff;
	color: #111;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
}

.taf-sort-dir-btn:hover {
	background: #111;
	color: #fff;
}

/* hide unused old sorting / toggle UI */
.taf-toolbar-grid,
.taf-toolbar-grid--sorting,
.taf-filter-item--sort,
.taf-filter-item--dir,
.taf-sort-dir-btn,
.taf-filters-toggle {
	display: none !important;
}

/* =========================================================
   3) BUTTONS
========================================================= */

.taf-btn,
.taf-reset-btn,
.taf-toolbar-toggle-btn,
.taf-filter-chip-btn,
.taf-page,
.taf-grid-pagination-link {
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.taf-btn {
	display: inline-block;
	padding: 12px 10px;
	background: #111;
	color: #fff;
	text-decoration: none;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	border: 0;
}

.taf-btn:hover {
	background: #000;
	color: #fff;
}

.taf-btn--primary {
	background: #111;
	color: #fff;
}

.taf-btn--secondary {
	background: #f5f5f5;
	color: #111;
	border: 1px solid #dcdcdc;
	cursor: pointer;
}

.taf-btn--secondary:hover {
	background: #ececec;
	color: #111;
}

.taf-btn--full {
	display: block;
	width: 100%;
}

.taf-btn--disabled {
	pointer-events: none;
	opacity: 0.55;
}

.taf-btn--presale {
	cursor: pointer;
}

.taf-reset-btn {
	width: 100%;
	min-height: 42px;
	padding: 8px 12px;
	border: 1px solid #111;
	background: #fff;
	color: #111;
	border-radius: 10px;
	cursor: pointer;
}

.taf-reset-btn:hover {
	background: #111;
	color: #fff;
}

.taf-reset-btn--inline {
	width: auto;
	min-width: 128px;
	min-height: 40px;
}

/* =========================================================
   4) CARD SYSTEM
========================================================= */

.taf-card,
.taf-carousel-card {
	border: 1px solid #e2e2e2;
	border-radius: 20px;
	background: #fff;
	overflow: hidden;
}

.taf-card--hotel,
.taf-card--travel,
.taf-carousel-card {
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.taf-card-body,
.taf-carousel-card-body {
	padding: 16px;
	display: grid;
	row-gap: 10px;
}

.taf-card-title,
.taf-card-title--travel,
.taf-carousel-card-title {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
	color: #202020;
	padding-bottom: 0 !important;
}

.taf-carousel-card-title {
	padding-bottom: 0px !important;
}

.taf-card-title {
	margin-bottom: 0px;
}

.taf-card-subtitle--travel,
.taf-carousel-card-summary {
	font-size: 14px;
	line-height: 1.45;
	color: #5e5e5e;
}

.taf-card-subtitle--travel {
	display: none;
	margin: 0 0 6px;
}

.taf-card-body--travel {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.taf-carousel-card {
	max-width: 420px;
}

.taf-carousel-card-summary {
	margin: 0px;
}

.taf-carousel-card-meta {
	margin: 0 0 16px;
	font-size: 14px;
}

/* media */
.taf-card-media,
.taf-card-media--hotel,
.taf-card-media--travel,
.taf-carousel-card-media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f4f4f4;
}

.taf-card-media img,
.taf-card-media--hotel img,
.taf-card-media--travel img,
.taf-carousel-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* status badge */
.taf-status-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.taf-status-badge--overlay {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.taf-status-badge.is-available {
	background: #eef7ee;
	color: #1f6b2d;
}

.taf-status-badge.is-soldout {
	background: #f4f4f4;
	color: #666;
}

.taf-status-badge.is-code-needed {
	background: #111;
	color: #fff;
}

.taf-status-badge.is-available-soon {
	background: #666;
	color: #fff;
}

/* info blocks */
.taf-card-gridinfo {
	display: grid;
	grid-template-columns: 1fr 1fr 2fr;
	gap: 8px;
	margin-bottom: 2px;
}

.taf-info-box {
	background: #f5f5f5;
	border-radius: 12px;
	padding: 10px;
	text-align: center;
}

.taf-info-box--full {
	margin-bottom: 0;
	text-align: center;
}

.taf-info-box--price {
	margin-top: 0;
}

.taf-info-label {
	display: block;
	font-size: 11px;
	line-height: 1.2;
	color: #6e6e6e;
	margin-bottom: 4px;
	font-weight: 500;
}

.taf-info-value {
	display: block;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 500;
	color: #111;
}

.taf-info-value--compact,
.taf-info-value--inline,
.taf-info-value--small {
	font-size: 13px;
}

.taf-info-value--price {
	font-size: 14px;
	font-weight: 600;
}

.taf-price-disclaimer {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	line-height: 1.3;
	color: #6e6e6e;
}

/* generic text blocks */
.taf-meta {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.4;
}

.taf-block {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid #ececec;
}

.taf-description {
	margin-top: 18px;
	font-size: 14px;
	line-height: 1.55;
}

.taf-description > strong {
	display: block;
	margin-bottom: 8px;
}

.taf-list {
	margin: 10px 0 0 18px;
	padding: 0;
}

.taf-list li {
	margin-bottom: 10px;
}

.taf-muted {
	color: #666;
	font-size: 12px;
	margin-top: 4px;
}

.taf-tier {
	margin-top: 12px;
	padding: 12px;
	background: #fafafa;
	border: 1px solid #ececec;
	border-radius: 6px;
}

.taf-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
	font-size: 13px;
}

.taf-table th,
.taf-table td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: left;
	vertical-align: top;
}

.taf-table th {
	background: #f4f4f4;
}

/* actions */
.taf-actions {
	margin-top: 18px;
}

.taf-card-actions--single {
	margin-top: 4px;
}

.taf-card-actions--dual,
.taf-carousel-card-actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

/* =========================================================
   5) FINDER GRID + PAGINATION
========================================================= */

.taf-results-count {
	margin: 0;
	font-size: 14px;
	color: #555;
	white-space: nowrap;
	text-align: right;
}

.taf-grid-inner {
	--taf-grid-gap: 24px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--taf-grid-gap);
	justify-content: start;
	align-items: start;
}

.taf-grid-inner > .taf-card {
	min-width: 0;
}

.taf-grid-inner--shortcode {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.taf-pagination,
.taf-grid-pagination {
	margin-top: 24px;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.taf-grid-pagination {
	gap: 0;
}

.taf-page,
.taf-grid-pagination-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	margin: 4px;
	border: 1px solid #ddd;
	text-decoration: none;
	color: #111;
	background: #fff;
}

.taf-page.active,
.taf-grid-pagination-link.is-active {
	background: #111;
	color: #fff;
	border-color: #111;
}

/* =========================================================
   6) TOOLBAR + FILTERS
========================================================= */

.taf-toolbar,
.taf-results-count {
	margin-bottom: 0;
}

.taf-toolbar {
	margin-bottom: 14px;
}

.taf-toolbar-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 10px;
}

.taf-toolbar-heading-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.taf-toolbar-heading {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	color: #111;
}

.taf-toolbar-toggle-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 14px;
	border: 1px solid #d7d7d7;
	border-radius: 10px;
	background: #fff;
	color: #111;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
}

.taf-toolbar-toggle-btn:hover {
	border-color: #111;
}

.taf-toolbar-toggle-btn[aria-expanded="true"] {
	background: #111;
	color: #fff;
	border-color: #111;
}

.taf-toolbar-toggle-icon {
	font-size: 15px;
	line-height: 1;
}

.taf-toolbar-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 10px 12px;
	border: 1px solid #e2e2e2;
	border-radius: 12px;
	background: #fff;
	margin-bottom: 10px;
}

.taf-toolbar-bar-left,
.taf-toolbar-bar-right {
	display: flex;
	align-items: center;
}

.taf-toolbar-sub {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.taf-toolbar-sub-left {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1 1 420px;
	min-width: 280px;
	flex-wrap: wrap;
}

.taf-toolbar-results {
	font-size: 14px;
	color: #444;
	white-space: nowrap;
	text-align: right;
}

.taf-active-filters {
	margin: 0;
	flex: 1 1 auto;
	min-width: 180px;
}

.taf-active-filters-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.taf-active-filters-label {
	font-size: 14px;
	font-weight: 600;
}

.taf-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid #ddd;
	background: #fff;
	border-radius: 999px;
	cursor: pointer;
	font-size: 13px;
	line-height: 1;
}

.taf-filter-chip:hover {
	border-color: #111;
}

.taf-filter-chip-x {
	font-weight: 700;
	font-size: 14px;
}

.taf-filters-shell {
	margin-bottom: 16px;
	border: 1px solid #e2e2e2;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.taf-filters-panel {
	display: none;
	padding: 12px;
	border-top: 0;
}

.taf-filters-panel.is-open {
	display: block;
}

.taf-filter-groups-grid {
	column-count: 2;
	column-gap: 12px;
}

.taf-filter-group {
	display: inline-block;
	width: 100%;
	margin: 0 0 12px;
	padding: 10px 12px;
	border: 1px solid #ececec;
	border-radius: 10px;
	background: #fff;
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
}

.taf-filter-group:has(.taf-price-range-wrap) {
	padding-bottom: 14px;
}

.taf-filter-group-label {
	margin-bottom: 7px;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.2;
	color: #111;
}

.taf-filter-chip-group {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.taf-filter-chip-btn {
	padding: 6px 10px;
	border: 1px solid #d7d7d7;
	border-radius: 8px;
	background: #fff;
	color: #111;
	font-size: 13px;
	line-height: 1.2;
	cursor: pointer;
}

.taf-filter-chip-btn:hover {
	border-color: #111;
	background: #fff;
	color: #111;
}

.taf-filter-chip-btn.is-selected {
	background: #111;
	color: #fff;
	border-color: #111;
}

.taf-filter-chip-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	background: #f4f4f4;
	border-color: #e2e2e2;
	color: #7a7a7a;
}

/* price range */
.taf-filter-price-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.taf-price-range-values {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px;
	margin-bottom: 10px;
}

.taf-price-range-value {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 13px;
	line-height: 1.2;
	color: #111;
}

.taf-price-range-value-label {
	opacity: 0.7;
	font-size: 12px;
}

.taf-price-range-wrap {
	position: relative;
	height: 26px;
	display: flex;
	align-items: center;
	margin-bottom: 6px;
}

.taf-price-range-track {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 6px;
	border-radius: 999px;
	background: #dedede;
}

.taf-price-range-active {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	height: 6px;
	border-radius: 999px;
	background: #111;
}

.taf-price-range {
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
	left: 0;
	top: 30%;
	transform: translateY(-50%);
	width: 100%;
	background: transparent;
	pointer-events: none;
	margin: 0;
}

.taf-price-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #111;
	cursor: pointer;
	pointer-events: auto;
}

.taf-price-range::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #111;
	cursor: pointer;
	pointer-events: auto;
}

.taf-price-range::-webkit-slider-runnable-track,
.taf-price-range::-moz-range-track {
	background: transparent;
	height: 6px;
}

.taf-price-range-scale {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 11px;
	line-height: 1.2;
	color: #6e6e6e;
	margin-top: 4px;
}

/* =========================================================
   7) MODAL SYSTEM
========================================================= */

.taf-modal-backdrop {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.55);
	z-index: 99999;
}

.taf-modal {
	position: relative;
	width: min(1120px, 100%);
	max-height: calc(100vh - 40px);
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.taf-modal-scroll {
	max-height: calc(100vh - 40px);
	overflow: auto;
	padding: 24px;
	scrollbar-gutter: stable;
}

.taf-modal-scroll::-webkit-scrollbar {
	width: 10px;
}

.taf-modal-scroll::-webkit-scrollbar-thumb {
	background: #b8b8b8;
	border-radius: 999px;
}

.taf-modal-scroll::-webkit-scrollbar-track {
	background: transparent;
}

.taf-modal-close {
	position: absolute;
	top: 14px;
	right: 16px;
	border: 0;
	background: transparent;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
	color: #111;
	z-index: 5;
}

.taf-modal-header {
	margin-bottom: 18px;
	padding-right: 40px;
}

.taf-modal-title {
	margin: 0;
	font-size: 32px;
	line-height: 1.2;
	color: #111;
	padding-bottom: 0 !important;
}

.taf-modal-gallery-row {
	margin-bottom: 24px;
}

.taf-modal-content-row {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
	gap: 24px;
	align-items: start;
}

.taf-modal-left,
.taf-modal-right {
	min-width: 0;
}

/* modal carousel */
.taf-modal-carousel {
	position: relative;
}

.taf-modal-carousel-track {
	position: relative;
}

.taf-modal-carousel-slide {
	display: none;
}

.taf-modal-carousel-slide.is-active {
	display: block;
}

.taf-modal-carousel-slide-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	align-items: stretch;
}

.taf-modal-carousel-image {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 0;
	background: #f4f4f4;
}

.taf-modal-carousel-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.taf-modal-carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid #dcdcdc;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.96);
	color: #111;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	z-index: 3;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.taf-modal-carousel-btn--prev {
	left: 16px;
}

.taf-modal-carousel-btn--next {
	right: 16px;
}

/* modal text */
.taf-modal-section-heading,
.taf-modal-collection-heading,
.taf-modal-description h1,
.taf-modal-description h2,
.taf-modal-description h3,
.taf-modal-description h4,
.taf-modal-collection-description h1,
.taf-modal-collection-description h2,
.taf-modal-collection-description h3,
.taf-modal-collection-description h4 {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.25;
	font-weight: 700;
	color: #111;
}

.taf-modal-description-block {
	margin-bottom: 18px;
}

.taf-modal-description,
.taf-modal-collection-description {
	font-size: 14px;
	line-height: 1.5;
	color: #111;
}

.taf-modal-description ul,
.taf-modal-collection-description ul {
	margin: 0 0 12px;
	padding-left: 20px;
}

.taf-modal-description p,
.taf-modal-collection-description p {
	margin: 0 0 10px;
}

.taf-modal-separator {
	margin: 18px 0;
	border: 0;
	border-top: 1px solid #e5e5e5;
}

.taf-modal-description-block--collection,
.taf-modal-collection-box {
	margin-bottom: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

/* read more */
.taf-modal-text-block {
	position: relative;
}

.taf-modal-text-block .taf-modal-text-full,
.taf-modal-text-block:not(.is-collapsed) .taf-modal-text-full {
	display: block;
}

.taf-modal-text-block .taf-modal-text-excerpt,
.taf-modal-text-excerpt {
	display: none !important;
}

.taf-modal-text-block.is-collapsed .taf-modal-text-full {
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
	position: relative;
	padding-bottom: 10px;
}

.taf-modal-text-block.is-collapsed::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 28px;
	height: 52px;
	pointer-events: none;
	z-index: 1;
	background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

.taf-modal-readmore {
	position: relative;
	z-index: 3;
	margin-top: 10px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #111;
	font-size: 13px;
	line-height: 1.3;
	text-decoration: underline;
	cursor: pointer;
}

.taf-modal-readmore:hover {
	opacity: 0.75;
}

/* modal summary card */
.taf-card--modal-summary {
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
	border-color: #dddddd;
}

.taf-card--modal-summary:hover {
	transform: none;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}

/* =========================================================
   8) PRESALE MODAL / GRAVITY FORMS
========================================================= */

html.taf-modal-open,
body.taf-modal-open {
	overflow: hidden !important;
}

body.taf-modal-open {
	touch-action: none;
}

#taf-modal-root .taf-modal-backdrop {
	position: fixed;
	inset: 0;
	overflow: hidden;
	z-index: 999999;
}

#taf-modal-root .taf-modal {
	max-height: calc(100dvh - 48px);
	overflow: hidden;
}

#taf-modal-root .taf-modal-scroll {
	max-height: calc(100dvh - 48px);
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.taf-modal--presale {
	max-width: 760px;
}

.taf-modal-content-row--presale {
	display: block;
}

.taf-modal-left--presale {
	width: 100%;
	max-width: 100%;
	flex: 0 0 100%;
}

.taf-presale-form-wrap {
	width: 100%;
}

.taf-presale-form-wrap .gform_wrapper {
	margin: 0;
}

.taf-presale-form-wrap .gform_wrapper .gfield_label,
.taf-presale-form-wrap .gform_wrapper .small-text {
	color: #111;
	line-height:1.1 !important;
}

.taf-modal--presale .taf-modal-title {
	margin-bottom: 24px;
}

.taf-modal--presale .gform_wrapper .gfield_label {
	font-size: 14px;
	font-weight: 600;
}

.taf-modal--presale .gform_wrapper input[type="text"],
.taf-modal--presale .gform_wrapper input[type="email"],
.taf-modal--presale .gform_wrapper select {
	min-height: 58px;
	border-radius: 0;
}

.taf-modal--presale .gform_wrapper .gform_button {
	min-width: 146px;
}

.taf-modal--presale .gform_wrapper.gravity-theme .gform_footer {
	margin: 5px 0 0 !important;
    padding: 0px!important;
}

.taf-modal--presale .gform_confirmation_message {
	color: #111;
}

/* =========================================================
   9) SHORTCODE CAROUSELS
========================================================= */

.taf-carousel-block {
	margin: 24px 0;
}

.taf-carousel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.taf-carousel-heading-wrap {
	display: flex;
	flex-direction: column;
}

.taf-carousel-heading {
	margin: 0;
	padding-bottom: 8px;
	font-size: 28px;
	line-height: 1.15;
	color: #111;
	flex: 1 1 auto;
	min-width: 0;
}

.taf-carousel-description {
	max-width: 780px;
	font-size: 18px;
	line-height: 1.4;
	color: #111;
	opacity: 0.85;
}

.taf-carousel-price-pill {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 999px;
	background: #2ea3ff;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}

.taf-carousel-nav-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex: 0 0 auto;
	margin-left: auto;
}

.taf-carousel-nav {
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #111;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	line-height: 1;
	flex: 0 0 auto;
}

.taf-carousel-nav:hover {
	background: #000;
}

.taf-carousel-nav[disabled] {
	opacity: 0.35;
	cursor: not-allowed;
}

.taf-collection-carousel[data-taf-carousel-wrap] {
	position: relative;
	display: block;
	margin: 0;
}

.taf-collection-carousel .taf-carousel-nav {
	position: static;
	transform: none;
}

.taf-carousel-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(340px, 340px);
	justify-content: start;
	gap: 24px;
	width: 100%;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	padding: 2px;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.taf-carousel-track::-webkit-scrollbar {
	display: none;
}

.taf-carousel-slide {
	scroll-snap-align: start;
	width: 340px;
	min-width: 340px;
	max-width: 340px;
	height: 100%;
}

.taf-collection-carousel .taf-carousel-card {
	width: 340px;
	min-width: 340px;
	max-width: 340px;
	height: 100%;
	display: flex;
	flex-direction: column;
	border-radius: 20px;
	border: 1px solid #dfe7e2;
	background: #fff;
}

.taf-collection-carousel .taf-carousel-card-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 auto;
}

.taf-collection-carousel .taf-carousel-card-summary {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

.taf-collection-carousel .taf-carousel-card-meta {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: #444;
}

.taf-collection-carousel .taf-carousel-card-actions {
	margin-top: auto;
	padding-top: 4px;
}

.taf-collection-carousel--hotel .taf-carousel-card-title,
.taf-collection-carousel--non-hotel .taf-carousel-card-title,
.taf-collection-carousel--hotel-sale .taf-carousel-card-title {
	color: #202020;
}

.taf-collection-carousel--single .taf-carousel-nav-wrap {
	display: none;
}

/* =========================================================
   10) RESPONSIVE
========================================================= */

@media (max-width: 1280px) {
	.taf-grid-inner,
	.taf-grid-inner--shortcode {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.taf-grid-inner,
	.taf-grid-inner--shortcode {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.taf-carousel-track {
		grid-auto-columns: minmax(320px, 320px);
		gap: 18px;
	}

	.taf-carousel-slide,
	.taf-collection-carousel .taf-carousel-card {
		width: 320px;
		min-width: 320px;
		max-width: 320px;
	}
}

@media (max-width: 767px) {
	.taf-card-actions--dual,
	.taf-toolbar-grid--sorting,
	.taf-modal-content-row,
	.taf-modal-carousel-slide-grid,
	.taf-filter-price-grid {
		grid-template-columns: 1fr;
	}

	.taf-grid-inner,
	.taf-grid-inner--shortcode {
		grid-template-columns: 1fr;
	}

	.taf-filter-groups-grid {
		column-count: 1;
		column-gap: 0;
	}

	.taf-filter-group {
		margin: 0 0 10px;
		padding: 10px 12px;
	}

	.taf-filter-price-grid {
		gap: 10px;
	}

	.taf-toolbar-main,
	.taf-toolbar-sub {
		display: grid;
		gap: 10px;
	}

	.taf-toolbar-bar {
		flex-direction: row;
	}

	.taf-toolbar-sub {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.taf-toolbar-sub-left {
		min-width: 0;
	}

	.taf-results-count,
	.taf-toolbar-results {
		text-align: left;
		white-space: normal;
	}

	.taf-modal-scroll {
		padding: 18px;
	}

	.taf-modal-title {
		font-size: 22px;
	}

	.taf-carousel-header {
		gap: 12px;
	}

	.taf-carousel-heading {
		font-size: 22px;
	}

	.taf-carousel-nav {
		width: 34px;
		height: 34px;
		font-size: 18px;
	}

	.taf-carousel-track {
		grid-auto-columns: minmax(280px, 280px);
		gap: 14px;
	}

	.taf-carousel-slide,
	.taf-collection-carousel .taf-carousel-card {
		width: 280px;
		min-width: 280px;
		max-width: 280px;
	}

	.taf-modal-carousel-image img {
		height: 240px;
	}

	.taf-modal-carousel-btn {
		width: 42px;
		height: 42px;
		font-size: 22px;
	}
}
