/* Shared presentation for Oferta and Cruzeiro. Content comes from the package data. */

/* === Base and shared elements === */

/*
* Nikko Turismo
* Pacotes Turísticos — Visual System
*/

.nikko-pacote {
	position: relative;
	line-height: 1.55;
	color: var(--nikko-brand-ink);

	font-size: var(--nikko-text-body);
}

/* ---------------------------------------------------------
* Base
* --------------------------------------------------------- */

.nikko-pacote *,
.nikko-pacote *::before,
.nikko-pacote *::after {
	box-sizing: border-box;
}

.nikko-pacote-section {
	position: relative;
}

.nikko-pacote .nikko-container {
	margin-inline: auto;
}

.nikko-pacote-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 9px;
	color: var(--nikko-brand-wine);
	line-height: 1.4;
	text-transform: uppercase;
	font-size: var(--nikko-text-small);
	font-weight: 700;
	letter-spacing: .12em;
}

.nikko-pacote-eyebrow::before {
	content: '';
	display: block;
	height: 1px;
	background: currentColor;
	width: 24px;
}

/* ---------------------------------------------------------
* Headings
* --------------------------------------------------------- */

.nikko-pacote-section-heading {
	position: relative;
	margin-bottom: 18px;
	max-width: 720px;
}

.nikko-pacote-section-heading h2,
.nikko-pacote-hero__title,
.nikko-pacote-cta__box h2 {
	margin: 0;
}

.nikko-pacote-section-heading p {
	margin: 10px 0 0;
	color: var(--nikko-brand-muted);
	line-height: 1.6;
	max-width: 600px;
	font-size: var(--nikko-text-label);
}

/* ---------------------------------------------------------
* Rich text
* --------------------------------------------------------- */

.nikko-pacote-richtext {
	min-width: 0;
	overflow-wrap: anywhere;
	color: var(--nikko-brand-muted);
	font-size: var(--nikko-text-label);
	line-height: var(--nikko-copy-leading);
	max-width: 100%;
}

.nikko-pacote-richtext > :first-child {
	margin-top: 0;
}

.nikko-pacote-richtext > * {
	max-width: 100%;
}

.nikko-pacote-richtext pre {
	white-space: pre-wrap;
}

.nikko-pacote-richtext > :last-child {
	margin-bottom: 0;
}

.nikko-pacote-richtext p {
	margin: 0 0 0.8em;
}

.nikko-pacote-richtext ul,
.nikko-pacote-richtext ol {
	margin: 0 0 0.9em;
	padding-left: 1.2rem;
}

.nikko-pacote-richtext li {
	margin-bottom: 0.22rem;
}

.nikko-pacote-richtext a {
	white-space: normal;
	color: var(--nikko-brand-wine);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/* Scroll the existing table container, preserving native table layout. */

.nikko-pacote-richtext:has(> table),
.nikko-pacote-richtext :has(> table) {
	min-width: 0;
	max-width: 100%;
	overflow-x: auto;
	overscroll-behavior-x: contain;
}

.nikko-pacote-richtext table {
	display: table;
	width: 100% !important;
	max-width: 100%;
	height: auto !important;
	max-height: none !important;
	margin-block: 20px;
	border: 0 !important;
	border-collapse: collapse !important;
	border-spacing: 0;
	table-layout: auto !important;
}

.nikko-pacote-richtext table :is(thead, tbody, tfoot, tr, th, td) {
	height: auto !important;
}

.nikko-pacote-richtext :is(th, td) {
	white-space: normal;
	overflow-wrap: normal;
	word-break: normal;
	min-width: 140px;
	width: auto !important;
	padding: 14px 16px;
	border: 1px solid var(--nikko-brand-border) !important;
	vertical-align: top;
	color: var(--nikko-brand-ink);
	font-size: var(--nikko-text-label);
	line-height: var(--nikko-copy-leading);
}

.nikko-pacote-richtext table :is(thead th, tbody > tr:first-child > :is(th, td)) {
	background: var(--nikko-surface-soft);
	font-weight: 700;
}

@media (max-width: 767px) {
	.nikko-pacote-richtext :is(th, td) {
		padding: 12px 14px;
		font-size: var(--nikko-text-body);
		line-height: var(--nikko-copy-leading);
	}
}

.nikko-pacote-richtext :is(img, video, iframe) {
	max-width: 100%;
}

.nikko-pacote-richtext :is(img, video) {
	height: auto;
}

.nikko-pacote a.nikko-pacote-experience,
.nikko-pacote a.nikko-pacote-tag,
.nikko-pacote a.nikko-pacote-hero__location-link,
.nikko-pacote .nikko-pacote-hero__payment-options a {
	color: inherit;
	text-decoration: none;
}

.nikko-pacote a.nikko-pacote-experience:focus-visible,
.nikko-pacote a.nikko-pacote-tag:focus-visible,
.nikko-pacote a.nikko-pacote-hero__location-link:focus-visible,
.nikko-pacote .nikko-pacote-hero__payment-options a:focus-visible {
	outline: 2px solid var(--nikko-brand-wine);
	outline-offset: 3px;
}

.nikko-pacote .nikko-pacote-hero__taxonomy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 24px;
	margin-top: 13px;
}

.nikko-pacote .nikko-pacote-hero__taxonomy-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px 9px;
	min-width: 0;
}

.nikko-pacote .nikko-pacote-hero__taxonomy-label {
	color: var(--nikko-brand-muted);
	line-height: 1.2;
	text-transform: uppercase;
	font-size: var(--nikko-text-small);
	font-weight: 700;
	letter-spacing: .12em;
}

.nikko-pacote .nikko-pacote-hero__taxonomy-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
}

.nikko-pacote .nikko-pacote-hero__tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 27px;
	padding: 4px 8px;
	border: 1px solid rgba(41, 38, 37, 0.11);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.78);
	color: var(--nikko-brand-ink);
	font-weight: 600;
	line-height: 1.15;
	text-decoration: none;
	transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
	font-size: var(--nikko-text-small);
}

.nikko-pacote a.nikko-pacote-hero__tag:hover {
	border-color: rgba(155, 48, 48, 0.35);
	background: #fff;
	color: var(--nikko-brand-wine-dark);
}

.nikko-pacote .nikko-pacote-hero__tag:focus-visible {
	outline: 2px solid var(--nikko-brand-wine);
	outline-offset: 2px;
}

.nikko-pacote .nikko-pacote-hero__tag-icon {
	display: grid;
	place-items: center;
	flex: 0 0 15px;
	height: 15px;
	color: var(--nikko-brand-wine);
	width: 15px;
}

.nikko-pacote .nikko-pacote-hero__tag-icon svg {
	display: block;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
	width: 15px;
}

/* === Gallery === */

/* =========================================================
* GALLERY
* ========================================================= */

.nikko-pacote-gallery {
	position: relative;
}

.nikko-pacote-gallery__stage {
	position: relative;
	border-radius: var(--nikko-radius-lg);
}

.nikko-pacote-gallery__main {
	position: relative;
	display: block;
	padding: 0;
	border: 0;
	border-radius: var(--nikko-radius-lg);
	background: transparent;
	cursor: pointer;
	overflow: hidden;
	box-shadow: var(--nikko-shadow-md);
	width: 100%;
}

.nikko-pacote-gallery__main::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
	180deg,
	transparent 25%,
	rgba(0, 0, 0, 0.78)
	);
	pointer-events: none;
}

.nikko-pacote-gallery__main-image {
	display: block;
	height: var(--nikko-cover-height);
	object-fit: cover;
	border-radius: var(--nikko-radius-lg);
	transition: transform 0.55s cubic-bezier(.2,.7,.2,1), opacity 0.25s ease;
	width: 100%;
}

.nikko-pacote-gallery__main:hover .nikko-pacote-gallery__main-image {
	transform: scale(1.025);
}

.nikko-pacote-gallery__nav {
	position: absolute;
	top: calc(50% - var(--nikko-action-height) / 2);
	z-index: 3;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 50%;
	background: rgba(35, 30, 29, 0.56);
	color: #fff;
	font: inherit;
	font-size: 1.15rem;
	line-height: 1;
	backdrop-filter: blur(5px);
	cursor: pointer;
}

.nikko-pacote-gallery__nav:hover {
	background: rgba(35, 30, 29, 0.82);
}

.nikko-pacote-gallery__nav--prev {
	left: 14px;
}

.nikko-pacote-gallery__nav--next {
	right: 14px;
}

.nikko-pacote-gallery__counter {
	position: absolute;
	right: 14px;
	bottom: 14px;
	z-index: 3;
	padding: 5px 9px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 999px;
	background: rgba(35, 30, 29, 0.56);
	color: #fff;
	font-weight: 700;
	line-height: 1.3;
	backdrop-filter: blur(5px);
	font-size: var(--nikko-text-small);
}

.nikko-pacote-gallery :focus-visible {
	outline: 3px solid var(--nikko-brand-wine);
	outline-offset: 3px;
}

.nikko-pacote-gallery__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 12px;
}

.nikko-pacote-gallery__thumb {
	width: 64px;
	position: relative;
	padding: 0;
	border: 2px solid transparent;
	background: transparent;
	cursor: pointer;
	overflow: hidden;
	opacity: 0.78;
	transition: opacity 0.2s ease,
	transform 0.2s ease,
	border-color 0.2s ease;
	border-radius: var(--nikko-radius-sm);
}

.nikko-pacote-gallery__thumb:hover {
	opacity: 1;
	transform: translateY(-2px);
}

.nikko-pacote-gallery__thumb.is-active {
	border-color: var(--nikko-brand-wine);
	opacity: 1;
}

.nikko-pacote-gallery__thumb img {
	display: block;
	aspect-ratio: 1.2 / 0.8;
	object-fit: cover;
	width: 100%;
}

@media (max-width: 767px) {
	.nikko-pacote-gallery__nav--prev {
		left: 9px;
	}

	.nikko-pacote-gallery__nav--next,
	.nikko-pacote-gallery__counter {
		right: 9px;
	}

	.nikko-pacote-gallery__counter {
		bottom: 9px;
	}

}

@media (prefers-reduced-motion: reduce) {
	.nikko-pacote-gallery *,
	.nikko-pacote-gallery *::before,
	.nikko-pacote-gallery *::after {
		transition-duration: 0.01ms !important;
	}
}


/* Compact photographic layout. The contact form remains outside every tab. */
.nikko-pacote-layout {
 --nikko-cover-height: clamp(400px, 38vw, 520px);
 display: grid;
 grid-template-columns: minmax(0, 1fr) 340px;
 grid-template-areas: 'media contact' 'details contact' 'cta cta';
 grid-template-rows: max-content 1fr auto;
 align-items: start;
 gap: 24px;
 width: min(var(--nikko-content-width), calc(100% - 2 * var(--nikko-page-gutter)));
 padding-block: 28px 40px;
}
.nikko-pacote-layout > *,
.nikko-pacote-panel { min-width: 0; }
.nikko-pacote-layout .nikko-container { width: 100%; padding: 0; }
.nikko-pacote-hero { grid-area: media; }
.nikko-pacote-hero__visual { position: relative; }
.nikko-pacote-hero__visual--empty {
 min-height: var(--nikko-cover-height);
 border-radius: var(--nikko-radius-lg);
 background: var(--nikko-brand-wine-dark);
}
.nikko-pacote-hero__heading {
 position: absolute;
 inset: 0 20px auto;
 z-index: 2;
 display: flex;
 flex-direction: column;
 justify-content: flex-end;
 height: var(--nikko-cover-height);
 padding: 24px 0;
 pointer-events: none;
}
.nikko-pacote-hero__title {
 max-width: 90%;
 color: var(--nikko-surface);
 font-size: clamp(1.75rem, 3vw, 2.5rem);
 font-weight: 800;
 line-height: var(--nikko-heading-leading);
 overflow-wrap: anywhere;
 text-shadow: 0 2px 14px rgba(0,0,0,.3);
}
.nikko-pacote-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.nikko-pacote-hero__duration,
.nikko-pacote-hero__departure { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--nikko-surface); }
.nikko-pacote-hero__route { margin-top: 16px; }
.nikko-pacote-hero__route-label { color: var(--nikko-brand-muted); font-size: var(--nikko-text-small); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.nikko-pacote-hero__route-list { display: flex; flex-wrap: wrap; gap: 5px 8px; padding: 0; margin: 6px 0 0; list-style: none; font-size: var(--nikko-text-small); }
.nikko-pacote-hero__route-list li { display: inline-flex; align-items: center; gap: 8px; }
.nikko-pacote-hero__route-list li + li::before { content: '\2192'; color: var(--nikko-brand-wine); }
.nikko-pacote-contact { grid-area: contact; display: grid; gap: 16px; min-width: 0; }
.nikko-pacote-hero__booking,
.nikko-pacote-included__form,
.nikko-pacote-details {
 padding: 20px;
 border: 1px solid var(--nikko-brand-border);
 border-radius: var(--nikko-radius-md);
 background: var(--nikko-surface);
 box-shadow: var(--nikko-shadow-sm);
}
.nikko-pacote-hero__booking { display: grid; gap: 14px; }
.nikko-pacote-hero__price-item { display: grid; gap: 4px; }
.nikko-pacote-hero__price-item span,
.nikko-pacote-hero__payment-label { font-size: var(--nikko-text-small); color: var(--nikko-brand-muted); font-weight: 600; }
.nikko-pacote-hero__price-item strong { color: var(--nikko-brand-wine); font-size: var(--nikko-heading-card); line-height: var(--nikko-heading-leading); }
.nikko-pacote-hero__important { padding: 12px; border-radius: var(--nikko-radius-sm); background: var(--nikko-brand-wine-soft); }
.nikko-pacote-hero__important > strong { display: block; margin-bottom: 4px; color: var(--nikko-brand-wine-dark); font-size: var(--nikko-text-small); text-transform: uppercase; letter-spacing: .06em; }
.nikko-pacote-hero__important .nikko-pacote-richtext { font-size: var(--nikko-text-label); line-height: 1.6; }
.nikko-pacote-hero__payment-options { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 6px 0 0; padding: 0; }
.nikko-pacote-hero__payment-options li { padding: 3px 8px; border-radius: var(--nikko-action-radius); background: var(--nikko-brand-wine-soft); color: var(--nikko-brand-wine-dark); font-size: var(--nikko-text-small); }
.nikko-pacote-hero__booking .nikko-pacote-hero__whatsapp { width: 100%; text-align: center; }
.nikko-pacote-elementor-content,
.nikko-pacote-elementor-content > .elementor { min-width: 0; width: 100%; }
.nikko-pacote-included__form .formlayer-form-wrapper textarea.formlayer-input { min-height: 80px; resize: vertical; }
.nikko-pacote-details { grid-area: details; }
.nikko-pacote-tabs:not([hidden]) { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--nikko-brand-border); }
.nikko-pacote-tabs__hint { flex-basis: 100%; margin-bottom: 4px; font-size: var(--nikko-text-small); font-weight: 600; color: var(--nikko-brand-muted); }
.nikko-pacote-tabs__button {
 display: inline-flex;
 flex: 1 1 auto;
 align-items: center;
 justify-content: center;
 gap: 10px;
 min-height: var(--nikko-button-height);
 padding: 9px 12px;
 border: 1px solid var(--nikko-brand-border-strong);
 border-radius: var(--nikko-radius-sm);
 background: var(--nikko-surface-soft);
 color: var(--nikko-brand-ink);
 font: 600 var(--nikko-text-label)/1.4 var(--nikko-font-sans);
 cursor: pointer;
 transition: background-color var(--nikko-motion), border-color var(--nikko-motion), color var(--nikko-motion);
}
.nikko-pacote-tabs__button:hover { background: var(--nikko-brand-wine-soft); border-color: var(--nikko-brand-wine); color: var(--nikko-brand-wine-dark); }
.nikko-pacote-tabs__button[aria-selected='true'] { background: var(--nikko-brand-wine); border-color: var(--nikko-brand-wine); color: var(--nikko-surface); }
.nikko-pacote-tabs__button:focus-visible { outline: 3px solid var(--nikko-brand-wine); outline-offset: 3px; }
.nikko-pacote-tabs__button span { font-size: var(--nikko-text-body); }
.nikko-pacote-panel[hidden] { display: none; }
.nikko-pacote-panel > .nikko-pacote-section + .nikko-pacote-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--nikko-brand-border); }
.nikko-pacote-section-heading h2,
.nikko-pacote-cta__box h2 { font-size: var(--nikko-heading-card); font-weight: 750; line-height: 1.2; color: inherit; }
.nikko-pacote-richtext :is(h2,h3,h4,h5,h6) { font-size: var(--nikko-text-lead); line-height: 1.4; }
.nikko-pacote-included__cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.nikko-pacote-info-card { min-width: 0; padding: 14px; border: 1px solid var(--nikko-brand-border); border-radius: var(--nikko-radius-sm); }
.nikko-pacote-info-card h3 { display: flex; gap: 7px; margin: 0 0 10px; font-size: var(--nikko-text-body); }
.nikko-pacote-info-card--included h3::before { content: '\2713'; color: #34734c; }
.nikko-pacote-info-card--not-included h3::before { content: '\00d7'; color: var(--nikko-brand-wine); }
.nikko-pacote-itinerary__list { display: grid; gap: 8px; }
.nikko-pacote-itinerary__item { border: 1px solid var(--nikko-brand-border); border-radius: var(--nikko-radius-sm); }
.nikko-pacote-itinerary__summary { display: grid; grid-template-columns: 30px minmax(0,1fr) 24px; align-items: center; gap: 10px; min-height: var(--nikko-action-height); padding: 12px; cursor: pointer; list-style: none; }
.nikko-pacote-itinerary__summary::-webkit-details-marker { display: none; }
.nikko-pacote-itinerary__summary:focus-visible { outline: 3px solid var(--nikko-brand-wine); outline-offset: 2px; border-radius: var(--nikko-radius-sm); }
.nikko-pacote-itinerary__number { text-align: center; color: var(--nikko-brand-wine); font-size: var(--nikko-text-small); font-weight: 700; }
.nikko-pacote-itinerary__heading { font-size: var(--nikko-text-label); font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.nikko-pacote-itinerary__toggle { text-align: center; color: var(--nikko-brand-wine); transition: transform var(--nikko-motion); }
.nikko-pacote-itinerary__item[open] { border-color: var(--nikko-brand-wine); }
.nikko-pacote-itinerary__item[open] .nikko-pacote-itinerary__toggle { transform: rotate(45deg); }
.nikko-pacote-itinerary__content { padding: 0 16px 16px; }
.nikko-pacote-cta { grid-area: cta; }
.nikko-pacote-cta__box { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px; border-radius: var(--nikko-radius-md); background: var(--nikko-brand-wine); color: var(--nikko-surface); }
.nikko-pacote-cta__box .nikko-pacote-eyebrow { color: inherit; }
.nikko-pacote-cta__box p { margin: 8px 0 0; font-size: var(--nikko-text-label); }
.nikko-pacote__notice { padding: var(--nikko-panel-padding); color: var(--nikko-brand-wine); }
@media (max-width: 900px) {
 .nikko-pacote-layout { grid-template-columns: minmax(0,1fr); grid-template-areas: 'media' 'contact' 'details' 'cta'; grid-template-rows: auto; }
 .nikko-pacote-cta__box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
 .nikko-pacote-layout { --nikko-cover-height: clamp(300px, 85vw, 360px); padding-top: 18px; gap: 18px; }
 .nikko-pacote-hero__heading { inset-inline: 16px; }
 .nikko-pacote-hero__booking,
 .nikko-pacote-included__form,
 .nikko-pacote-details { padding: 16px; }
 .nikko-pacote-tabs__button { flex-basis: calc(50% - 4px); }
 .nikko-pacote-included__cards { grid-template-columns: minmax(0,1fr); }
}
