/* ==========================================================================
   Multi-day package template (single-tour-package.php)
   Loaded only on package pages. Tokens come from main.css.
   ========================================================================== */

.pkg-hero .inner-hero-copy { gap: 10px; }
.pkg-hero-sub {
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(22px, 2.6vw, 30px);
	line-height: 1.25;
	color: var(--gold-soft);
	max-width: 760px;
	margin: 0;
}
.pkg-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; margin-top: 8px; }
.pkg-cta { display: flex; flex-direction: column; gap: 6px; }
.pkg-cta-note { font-size: 13px; color: var(--muted-2); letter-spacing: 0.02em; text-align: center; }
.pkg-cta-note--light { color: #e8ecef; }

/* Stats bar */
.pkg-stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.pkg-stats-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .pkg-stats-row { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.pkg-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .pkg-stat { padding: 20px 8px; border-bottom: 0; } }
.pkg-stat:last-child { border-right: 0; }
.pkg-stat-num { font-family: var(--serif); font-size: 36px; font-weight: 600; color: var(--navy); line-height: 1; }
.pkg-stat-num--word { font-size: 28px; }
.pkg-stat-label { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--muted-2); }

/* Route strip */
.pkg-route { background: var(--surface); border-bottom: 1px solid var(--line); overflow-x: auto; }
.pkg-route-row { display: flex; align-items: flex-start; padding-block: 20px; min-width: 520px; }
.pkg-route-node { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; position: relative; text-align: center; }
.pkg-route-node:not(:last-child)::before { content: ""; position: absolute; top: 7px; left: 50%; width: 100%; height: 2px; background: var(--gold); }
.pkg-route-node:hover { text-decoration: none; }
.pkg-route-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--navy); border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--gold); position: relative; }
.pkg-route-name { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--navy); }
.pkg-route-days { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--accent); }

/* Sticky tabs */
.pkg-tabs { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); overflow-x: auto; }
.pkg-tabs-row { display: flex; gap: 22px; white-space: nowrap; }
@media (min-width: 960px) { .pkg-tabs-row { gap: 34px; } }
.pkg-tabs a { padding: 14px 0; font-size: 15px; font-weight: 700; letter-spacing: 0.05em; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; }
.pkg-tabs a:hover, .pkg-tabs a:focus-visible { color: var(--accent); border-bottom-color: var(--accent); text-decoration: none; }

/* Layout */
.pkg-layout { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 960px) { .pkg-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; } }
.pkg-main { display: flex; flex-direction: column; gap: 48px; min-width: 0; }
.pkg-aside { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 960px) { .pkg-aside { position: sticky; top: 72px; } }
@media (max-width: 959px) { .pkg-aside { order: -1; } }
.pkg-h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.1; margin: 4px 0 10px; }
.pkg-intro .tour-intro { font-size: 19px; }

/* Make it yours */
.pkg-yours-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 12px; }
@media (min-width: 640px) { .pkg-yours-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pkg-yours-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.pkg-yours-card h3 { font-size: 24px; }
.pkg-yours-card p { color: var(--muted); font-size: 16px; line-height: 1.55; margin: 0; }

/* Day cards */
.pkg-days-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 8px; }
@media (min-width: 640px) { .pkg-days-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pkg-day { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 70px; }
.pkg-day-media { position: relative; background: var(--navy); height: 190px; }
.pkg-day-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pkg-day-badge { position: absolute; top: 12px; left: 12px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; padding: 6px 12px; border-radius: 999px; }
.pkg-day-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.pkg-day-title { font-size: 26px; }
.pkg-day-text { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0; }
.pkg-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pkg-pills li { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 13px; color: var(--muted); }
.pkg-day-meta { margin: 2px 0 0; font-size: 13px; color: var(--muted-2); letter-spacing: 0.04em; }
.pkg-print { display: inline-block; margin-top: 16px; }

/* Included strip */
.pkg-strip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .pkg-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.pkg-strip h3 { font-size: 24px; margin-bottom: 6px; }
.pkg-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.pkg-strip li { position: relative; padding-left: 18px; }
.pkg-strip li::before { content: "·"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }

/* Hotels */
.pkg-hotels-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 8px; }
@media (min-width: 640px) { .pkg-hotels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pkg-hotel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.pkg-hotel img { width: 100%; height: 170px; object-fit: cover; display: block; }
.pkg-hotel-body { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 4px; }
.pkg-hotel-body .eyebrow { margin: 0; }
.pkg-hotel-body h3 { font-size: 24px; }
.pkg-hotel-body p { color: var(--muted); font-size: 15px; margin: 0; }

/* Reviews */
.pkg-reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; }
.pkg-reviews-head .ta-summary { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; white-space: nowrap; }
.pkg-reviews-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
@media (min-width: 640px) { .pkg-reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pkg-quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.pkg-quote p { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.4; color: var(--ink); margin: 0; }
.pkg-quote footer { font-size: 14px; color: var(--muted); }

/* FAQ */
.pkg-faq-list { display: flex; flex-direction: column; }
.pkg-faq-item { padding: 16px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.pkg-faq-item:last-child { border-bottom: 1px solid var(--line); }
.pkg-faq-item h3 { font-size: 23px; }
.pkg-faq-item p { color: var(--muted); font-size: 17px; margin: 0; }

/* At-a-glance card */
.glance-card { gap: 12px; }
.glance-card .eyebrow { margin: 0; }
.glance-rows { margin: 0; display: flex; flex-direction: column; }
.glance-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.glance-rows dt { color: var(--muted-2); margin: 0; }
.glance-rows dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.glance-wa { display: block; text-align: center; font-weight: 600; font-size: 16px; }
.glance-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 14px; }
.glance-foot .sidebar-ta { border: 0; padding: 0; font-size: 14px; }
.glance-foot a { font-weight: 600; }

/* Guide card */
.guide-card-head { display: flex; gap: 14px; align-items: center; }
.guide-card-head img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: 20% 30%; flex-shrink: 0; }
.guide-card-name { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; color: #fff; }
.guide-card-creds { font-size: 14px; color: #cfd8e0; line-height: 1.5; }
.guide-card-quote { font-size: 15px; color: #fff; font-style: italic; }

/* Other packages */
.pkg-other .eyebrow { margin-bottom: 16px; }
.pkg-other-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .pkg-other-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pkg-other-card { display: flex; gap: 18px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; text-decoration: none; color: inherit; }
.pkg-other-card:hover { text-decoration: none; border-color: var(--gold); }
.pkg-other-card img { width: 130px; height: 92px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.pkg-other-card > span { display: flex; flex-direction: column; gap: 3px; }
.pkg-other-card .eyebrow { margin: 0; }
.pkg-other-title { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--navy); }
.pkg-other-sub { font-size: 15px; color: var(--muted); }

/* Mobile sticky bar */
.pkg-bar { display: none; }
@media (max-width: 959px) {
	.ei-package { padding-bottom: 84px; }
	.ei-package .whatsapp-float { display: none; }
	.pkg-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
		display: flex; gap: 10px; align-items: center;
		background: var(--surface); border-top: 1px solid var(--line);
		padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
		box-shadow: 0 -6px 18px rgba(20, 40, 59, 0.08);
	}
	.pkg-bar-cta { flex: 1 1 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.2; padding: 12px 16px; }
	.pkg-bar-cta small { font-size: 11px; font-weight: 600; opacity: 0.9; }
	.pkg-bar-wa { width: 52px; height: 52px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
}

/* Print: the itinerary as a clean document */
@media print {
	.site-header, .site-footer, .whatsapp-float, .pkg-tabs, .pkg-bar, .pkg-aside, .trip-section, .pkg-other, .pkg-print, .pkg-hero-actions { display: none !important; }
	.pkg-hero { min-height: 0; }
	.inner-hero-copy { min-height: 0; padding-top: 24px; padding-bottom: 16px; }
	.pkg-layout { display: block; }
	.pkg-day, .pkg-yours-card, .pkg-quote, .pkg-hotel { break-inside: avoid; }
	.pkg-days-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	a { color: inherit; text-decoration: none; }
}
