/*
 * TripTastic WooCommerce product page
 * Add to child theme: assets/css/triptastic-woo-product.css
 */

:root {
	--tt-blue: #07558f;
	--tt-blue-dark: #063c67;
	--tt-blue-light: #eaf6ff;
	--tt-ink: #123b5a;
	--tt-gold: #e5b84b;
	--tt-border: #dcebf5;
	--tt-bg: #f7fbfe;
	--tt-white: #fff;
	--tt-radius: 18px;
	--tt-shadow: 0 12px 35px rgba(5, 66, 108, .09);
}

.triptastic-product-page {
	background:
		white !important;
}

.triptastic-product-page img {
	max-width: 100%;
	height: auto;
}

.tt-breadcrumbs {
	max-width: 1240px;
	margin: 0 auto;
	padding: 20px 24px 8px;
	font-size: 13px;
	color: #6f879a;
}

.tt-breadcrumb-inner {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tt-breadcrumbs a {
	color: var(--tt-blue);
	text-decoration: none;
}

.tt-product {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px 70px;
}

.tt-product-top {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(360px, .9fr);
	gap: 32px;
	align-items: start;
}

.tt-gallery {
	min-width: 0;
}

.tt-main-image {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	background: #eaf5fb;
	box-shadow: var(--tt-shadow);
	aspect-ratio: 16 / 10;
}

.tt-main-image-img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
}

.tt-image-stamp {
	position: absolute;
	right: 18px;
	top: 18px;
	padding: 10px 15px;
	border-radius: 999px;
	background: rgba(255,255,255,.93);
	color: var(--tt-blue);
	font-weight: 800;
	font-size: 12px;
	box-shadow: 0 6px 20px rgba(0,0,0,.1);
}

.tt-thumbs {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
	margin-top: 12px;
}

.tt-thumb {
	padding: 0;
	border: 2px solid transparent;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	aspect-ratio: 1 / .72;
}

.tt-thumb.is-active {
	border-color: var(--tt-blue);
}

.tt-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tt-booking-panel {
	position: sticky;
	top: 20px;
	padding: 28px;
	background: rgba(255,255,255,.96);
	border: 1px solid var(--tt-border);
	border-radius: 24px;
	box-shadow: var(--tt-shadow);
}

.tt-eyebrow {
	display: inline-flex;
	padding: 6px 10px;
	background: var(--tt-blue-light);
	border-radius: 999px;
	color: var(--tt-blue);
	font-weight: 800;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.tt-product-title {
	margin: 13px 0 8px;
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.05;
	color: var(--tt-blue-dark);
}

.tt-short-description {
	color: #577187;
	font-size: 15px;
	line-height: 1.7;
}

.tt-facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	padding: 17px 0;
	margin: 14px 0;
	border-top: 1px solid var(--tt-border);
	border-bottom: 1px solid var(--tt-border);
}

.tt-facts span {
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-size: 11px;
	line-height: 1.35;
}

.tt-facts strong {
	color: var(--tt-blue);
	font-size: 18px;
}

.tt-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #6d7f8c;
}

.tt-stars {
	color: #efb72f;
	letter-spacing: 2px;
	font-size: 17px;
}

.tt-price-wrap {
	margin: 15px 0 18px;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 5px;
}

.tt-from,
.tt-per {
	font-size: 13px;
	color: #728797;
}

.tt-price {
	font-size: 30px;
	font-weight: 900;
	color: var(--tt-blue-dark);
}

.tt-price del {
	opacity: .5;
	font-size: 18px;
}

.tt-booking-fields {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.tt-field label {
	display: block;
	font-size: 12px;
	font-weight: 800;
	margin-bottom: 6px;
	color: var(--tt-ink);
}

.tt-stepper {
	display: flex;
	align-items: center;
	border: 1px solid var(--tt-border);
	border-radius: 11px;
	overflow: hidden;
	background: #fff;
}

.tt-stepper input {
	width: 100%;
	min-width: 0;
	padding: 11px 4px;
	border: 0 !important;
	text-align: center;
	font-weight: 800;
	background: transparent;
	box-shadow: none !important;
}

.tt-step {
	border: 0;
	background: #f1f8fc;
	color: var(--tt-blue);
	width: 34px;
	min-width: 34px;
	height: 42px;
	cursor: pointer;
	font-size: 19px;
}

.tt-date-field {
	grid-column: 1 / -1;
}

.tt-date-field input {
	width: 100%;
	padding: 12px 13px;
	border: 1px solid var(--tt-border);
	border-radius: 11px;
	background: #fff;
	color: var(--tt-ink);
}

.tt-action-row {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 10px;
	margin-top: 15px;
}

.tt-add-cart,
.tt-favorite {
	min-height: 50px;
	border-radius: 12px !important;
	font-weight: 800 !important;
	cursor: pointer;
}

.tt-add-cart {
	border: 0 !important;
	background: linear-gradient(135deg, #096aa8, #064b7e) !important;
	color: #fff !important;
}

.tt-favorite {
	border: 1px solid #a9cee5;
	background: #fff;
	color: var(--tt-blue);
}

.tt-favorite.is-active {
	background: #eef8ff;
	border-color: var(--tt-blue);
}

.tt-trust-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 15px;
	font-size: 11px;
	color: #6d8190;
}

.tt-child-note {
	margin: 12px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: #fff9e8;
	font-size: 12px;
	color: #86631d;
}

.tt-product-content {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(270px, .6fr);
	gap: 32px;
	margin-top: 50px;
}

.tt-content-main {
	min-width: 0;
}

.tt-tabs {
	position: sticky;
	top: 0;
	z-index: 5;
	display: flex;
	gap: 26px;
	overflow-x: auto;
	padding: 13px 0;
	background: rgba(247,251,254,.94);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--tt-border);
}

.tt-tabs a {
	flex: 0 0 auto;
	text-decoration: none;
	color: #557187;
	font-weight: 800;
	font-size: 13px;
}

.tt-tabs a:hover {
	color: var(--tt-blue);
}

.tt-section {
	padding: 35px 0;
	border-bottom: 1px solid var(--tt-border);
}

.tt-section h2 {
	margin: 0 0 16px;
	font-size: 26px;
	color: var(--tt-blue-dark);
}

.tt-rich-content {
	color: #526c7e;
	line-height: 1.85;
}

.tt-itinerary {
	display: grid;
	gap: 15px;
}

.tt-itinerary-item {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 15px;
	align-items: start;
}

.tt-itinerary-number {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--tt-blue);
	color: #fff;
	font-weight: 900;
}

.tt-itinerary-item p {
	margin: 0;
	line-height: 1.7;
	color: #526c7e;
}

.tt-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

.tt-two-col .tt-section {
	padding-bottom: 20px;
}

.tt-section ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.tt-section li {
	position: relative;
	padding: 7px 0 7px 25px;
	color: #526c7e;
}

.tt-included li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #168b62;
	font-weight: 900;
}

.tt-excluded li:before {
	content: "×";
	position: absolute;
	left: 0;
	color: #d95c5c;
	font-weight: 900;
}

.tt-side-card,
.tt-side-note {
	margin-bottom: 18px;
	padding: 23px;
	background: #fff;
	border: 1px solid var(--tt-border);
	border-radius: 18px;
	box-shadow: 0 8px 24px rgba(5,66,108,.05);
}

.tt-side-card h3 {
	margin-top: 0;
	color: var(--tt-blue-dark);
}

.tt-side-card ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.tt-side-card li {
	padding: 10px 0;
	color: #536e80;
	border-bottom: 1px solid #edf4f8;
}

.tt-side-card li:last-child {
	border-bottom: 0;
}

.tt-side-card strong {
	color: #168b62;
	margin-right: 6px;
}

.tt-side-note {
	background: linear-gradient(145deg, #e9f7ff, #fff);
}

.tt-side-note strong {
	color: var(--tt-blue-dark);
}

.tt-side-note p {
	color: #5b7180;
	line-height: 1.6;
}

.tt-side-note a {
	display: inline-block;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--tt-blue);
	color: #fff;
	text-decoration: none;
	font-weight: 800;
}

.tt-related-products {
	margin-top: 55px;
}

.tt-related-products > h2 {
	color: var(--tt-blue-dark);
}

@media (max-width: 980px) {
	.tt-product-top,
	.tt-product-content {
		grid-template-columns: 1fr;
	}

	.tt-booking-panel {
		position: static;
	}

	.tt-product-side {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 18px;
	}

	.tt-side-card,
	.tt-side-note {
		margin-bottom: 0;
	}
}

@media (max-width: 650px) {
	.tt-product {
		padding: 0 14px 45px;
	}

	.tt-breadcrumbs {
		padding-left: 14px;
		padding-right: 14px;
	}

	.tt-booking-panel {
		padding: 20px 16px;
		border-radius: 18px;
	}

	.tt-main-image {
		border-radius: 17px;
	}

	.tt-thumbs {
		grid-template-columns: repeat(5, 1fr);
	}

	.tt-thumb:nth-child(n+6) {
		display: none;
	}

	.tt-facts {
		grid-template-columns: 1fr 1fr 1fr;
	}

	.tt-booking-fields {
		grid-template-columns: 1fr 1fr;
	}

	.tt-date-field {
		grid-column: 1 / -1;
	}

	.tt-action-row {
		grid-template-columns: 1fr;
	}

	.tt-two-col,
	.tt-product-side {
		grid-template-columns: 1fr;
	}

	.tt-tabs {
		gap: 18px;
	}
}
