/* Special Offers / Deals — homepage promo band + /offers/{slug} landing page.
   Prefix: tpo-  (kept separate from other modules; tweak colours via the variables below) */
:root {
	--tpo-navy: #0b2545;
	--tpo-navy-2: #13315c;
	--tpo-blue: #1d4e89;
	--tpo-accent: #ffb703;
	--tpo-accent-ink: #1a1a1a;
	--tpo-radius: 14px;
}

.tpo-container { max-width: 1300px; margin: 0 auto; padding: 0 20px; position: relative; }

/* ---------- shared bits ---------- */
.tpo-kicker {
	display: inline-flex; align-items: center; gap: 6px;
	background: rgba(255, 183, 3, .16); color: var(--tpo-accent);
	border: 1px solid rgba(255, 183, 3, .45); border-radius: 999px;
	padding: 5px 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.tpo-kicker--ended { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); color: #fff; }

.tpo-count { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.tpo-count-label { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .8); margin-right: 4px; }
.tpo-unit {
	display: inline-flex; align-items: baseline; gap: 3px;
	background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 10px; padding: 8px 12px; min-width: 66px; justify-content: center; color: #fff;
	backdrop-filter: blur(4px);
}
.tpo-unit b { font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; font-weight: 800; }
.tpo-unit i { font-style: normal; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; opacity: .8; }
.tpo-count--sm .tpo-unit { min-width: 0; padding: 6px 10px; }
.tpo-count--sm .tpo-unit b { font-size: 19px; }

.tpo-cta {
	display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
	background: var(--tpo-accent); color: var(--tpo-accent-ink) !important; text-decoration: none !important;
	font-weight: 800; font-size: 15px; padding: 12px 24px; border-radius: 999px;
	box-shadow: 0 8px 20px rgba(255, 183, 3, .35); transition: transform .15s, box-shadow .15s;
}
.tpo-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 183, 3, .45); }
.tpo-cta--sm { padding: 8px 18px; font-size: 13.5px; box-shadow: none; }

.tpo-badge {
	position: absolute; top: 12px; left: 12px; z-index: 3;
	background: #e11d48; color: #fff; font-size: 12px; font-weight: 800;
	padding: 5px 11px; border-radius: 999px; letter-spacing: .02em; box-shadow: 0 4px 10px rgba(225, 29, 72, .35);
}

/* ---------- homepage / page promo band ---------- */
[data-tp="offers-promo"] .tpo-promo {
	position: relative; overflow: hidden; padding: 52px 0;
	background:
		radial-gradient(ellipse 40% 60% at 8% 0%, rgba(255, 183, 3, .22), transparent 70%),
		radial-gradient(ellipse 45% 70% at 100% 100%, rgba(56, 189, 248, .22), transparent 70%),
		linear-gradient(120deg, var(--tpo-navy) 0%, var(--tpo-navy-2) 50%, var(--tpo-blue) 100%);
	color: #fff;
}
[data-tp="offers-promo"] .tpo-container {
	display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 36px; align-items: center;
}
.tpo-promo-head { display: flex; flex-direction: column; gap: 14px; }
.tpo-promo-title {
	margin: 0; color: #fff; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; font-weight: 700;
}
.tpo-promo-sub { margin: 0; color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.55; }

.tpo-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tpo-thumb {
	position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--tpo-radius);
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
	transition: transform .2s, box-shadow .2s;
}
.tpo-thumb:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0, 0, 0, .35); }
.tpo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.tpo-thumb:hover img { transform: scale(1.06); }
.tpo-thumb::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 45%, rgba(5, 15, 35, .85) 100%); pointer-events: none;
}
.tpo-thumb-name {
	position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 2; color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.3;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tpo-thumb-label {
	position: absolute; top: 8px; left: 8px; z-index: 2; background: #e11d48; color: #fff;
	font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px;
}
.tpo-thumb--more { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 16px; text-decoration: none; }
.tpo-thumb--more::after { display: none; }

/* ---------- landing page ---------- */
[data-tp="offers-page"] .tpo-hero {
	position: relative; overflow: hidden; color: #fff; min-height: 380px; display: flex; align-items: center;
	background: linear-gradient(120deg, var(--tpo-navy) 0%, var(--tpo-navy-2) 50%, var(--tpo-blue) 100%);
}
.tpo-hero-pic, .tpo-hero-pic img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tpo-hero-pic img { object-fit: cover; }
.tpo-hero-shade {
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(5, 15, 35, .82) 0%, rgba(5, 15, 35, .55) 55%, rgba(5, 15, 35, .25) 100%);
}
.tpo-hero--plain .tpo-hero-shade {
	background: radial-gradient(ellipse 40% 60% at 8% 0%, rgba(255, 183, 3, .2), transparent 70%);
}
.tpo-hero-inner { display: flex; flex-direction: column; gap: 16px; padding-top: 48px; padding-bottom: 48px; align-items: flex-start; }
.tpo-crumbs { font-size: 13px; color: rgba(255, 255, 255, .8); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tpo-crumbs a { color: #fff; text-decoration: none; }
.tpo-hero-title { margin: 0; color: #fff; font-size: clamp(30px, 5vw, 52px); line-height: 1.1; font-weight: 700; max-width: 880px; }
.tpo-hero-sub { margin: 0; max-width: 720px; font-size: clamp(15px, 1.6vw, 18px); color: rgba(255, 255, 255, .9); line-height: 1.55; }
.tpo-ended-note {
	background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); border-radius: 12px;
	padding: 12px 16px; max-width: 640px; font-size: 14.5px; line-height: 1.5;
}
.tpo-ended-note a { color: var(--tpo-accent); font-weight: 700; }

.tpo-sticky {
	position: sticky; top: 0; z-index: 900; background: rgba(11, 37, 69, .96); color: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25); backdrop-filter: blur(6px);
}
.tpo-sticky-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.tpo-sticky-name { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tpo-count--bar { flex-wrap: nowrap; gap: 6px; margin-left: auto; }
.tpo-count--bar .tpo-unit { min-width: 0; padding: 4px 9px; border-radius: 8px; }
.tpo-count--bar .tpo-unit b { font-size: 16px; }

.tpo-section { padding: 44px 0; }
.tpo-about { background: #fff; }
.tpo-prose { max-width: 900px; margin: 0 auto; font-size: 16px; line-height: 1.75; color: #1e293b; }
.tpo-prose img { max-width: 100%; height: auto; border-radius: 10px; }
.tpo-prose h2, .tpo-prose h3 { margin-top: 1.4em; }

.tpo-tours { background: #f5f8fc; }
.tpo-sec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.tpo-sec-head h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); color: #0f172a; }
.tpo-tabs { display: inline-flex; gap: 6px; background: #e2e8f0; padding: 4px; border-radius: 999px; flex-wrap: wrap; }
.tpo-tabs button {
	border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #334155; cursor: pointer;
}
.tpo-tabs button.is-on { background: var(--tpo-navy); color: #fff; box-shadow: 0 4px 10px rgba(11, 37, 69, .3); }
.tpo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.tpo-grid .cell { min-width: 0; }
.tpo-empty { text-align: center; color: #64748b; padding: 30px 0; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
	[data-tp="offers-promo"] .tpo-container { grid-template-columns: 1fr; gap: 22px; }
	.tpo-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
	[data-tp="offers-promo"] .tpo-promo { padding: 36px 0; }
	/* mobile carousel: swipeable row of thumbnails */
	.tpo-thumbs {
		display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
		margin: 0 -20px; padding: 2px 20px 8px; scrollbar-width: none;
	}
	.tpo-thumbs::-webkit-scrollbar { display: none; }
	.tpo-thumb { flex: 0 0 62%; max-width: 260px; scroll-snap-align: start; }
	.tpo-thumb--more { flex-basis: 40%; }
	.tpo-unit { min-width: 56px; padding: 6px 9px; }
	.tpo-unit b { font-size: 21px; }
	.tpo-sticky-name { display: none; }
	.tpo-count--bar { margin-left: 0; }
	.tpo-sticky-in { justify-content: space-between; }
	.tpo-hero { min-height: 320px; }
	.tpo-section { padding: 30px 0; }
	.tpo-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.tpo-thumb, .tpo-thumb img, .tpo-cta { transition: none; }
}

/* =====================================================================
   Homepage "Special Offers / Hot Deals" — grid on desktop, swipe carousel on mobile
   ===================================================================== */
[data-tp="offers-hot"] .tpo-hot { padding: 56px 0; background: #f5f8fc; }
.tpo-hot-head { text-align: center; max-width: 720px; margin: 0 auto 28px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tpo-hot-head .tpo-kicker { color: #b45309; background: rgba(255, 183, 3, .18); border-color: rgba(180, 83, 9, .35); }
.tpo-hot-title { margin: 0; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; color: #0f172a; }
.tpo-hot-sub { margin: 0; color: #475569; font-size: 15px; line-height: 1.55; }

.tpo-hot-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.tpo-hot-card {
	flex: 0 1 calc(25% - 17px); min-width: 250px; max-width: 360px; display: flex; flex-direction: column;
	background: #fff; border-radius: var(--tpo-radius); overflow: hidden;
	border: 1px solid #e2e8f0; box-shadow: 0 6px 18px rgba(15, 23, 42, .06); transition: transform .2s, box-shadow .2s;
}
.tpo-hot-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(15, 23, 42, .14); }
/* fixed aspect box → no layout shift while the lazy image loads */
.tpo-hot-media { position: relative; display: block; aspect-ratio: 8 / 5; overflow: hidden; background: linear-gradient(120deg, #dbe4ef, #eef3f9); }
.tpo-hot-media picture, .tpo-hot-media img { display: block; width: 100%; height: 100%; }
.tpo-hot-media img { object-fit: cover; transition: transform .5s; }
.tpo-hot-card:hover .tpo-hot-media img { transform: scale(1.06); }
.tpo-hot-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 15, 35, .72) 100%); pointer-events: none; }
.tpo-hot-flag {
	position: absolute; top: 10px; left: 10px; z-index: 2; background: #e11d48; color: #fff;
	font-size: 11.5px; font-weight: 800; padding: 4px 11px; border-radius: 999px; letter-spacing: .02em;
}
.tpo-hot-count { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; display: flex; gap: 6px; min-height: 30px; }
.tpo-hot-count > span {
	display: inline-flex; align-items: baseline; justify-content: center; gap: 2px; min-width: 46px; padding: 4px 8px;
	background: rgba(11, 37, 69, .72); border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; color: #fff; backdrop-filter: blur(3px);
}
.tpo-hot-count b { font-size: 15px; line-height: 1.2; font-weight: 800; font-variant-numeric: tabular-nums; }
.tpo-hot-count i { font-style: normal; font-size: 10px; text-transform: uppercase; opacity: .8; }

.tpo-hot-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 18px; flex: 1 1 auto; }
.tpo-hot-name { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 700; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tpo-hot-name a { color: #0f172a; text-decoration: none; }
.tpo-hot-desc { margin: 0; color: #475569; font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tpo-hot-btn {
	margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
	background: var(--tpo-accent); color: var(--tpo-accent-ink) !important; text-decoration: none !important;
	font-weight: 800; font-size: 14px; padding: 9px 20px; border-radius: 999px; transition: transform .15s, box-shadow .15s;
}
.tpo-hot-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(255, 183, 3, .4); }

@media (max-width: 1100px) { .tpo-hot-card { flex-basis: calc(33.333% - 15px); } }
@media (max-width: 768px) {
	[data-tp="offers-hot"] .tpo-hot { padding: 36px 0; }
	/* mobile carousel: swipeable snap row */
	.tpo-hot-track {
		flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 14px;
		scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
		margin: 0 -20px; padding: 4px 20px 14px; scrollbar-width: none;
	}
	.tpo-hot-track::-webkit-scrollbar { display: none; }
	.tpo-hot-card { flex: 0 0 82%; max-width: 330px; min-width: 0; scroll-snap-align: center; }
}
@media (prefers-reduced-motion: reduce) {
	.tpo-hot-card, .tpo-hot-media img, .tpo-hot-btn { transition: none; }
}

/* =====================================================================
   /offers/{slug} landing — banner bottom-aligned title + slow zoom in/out
   ===================================================================== */
[data-tp="offers-page"] .tpo-hero { align-items: flex-end; min-height: clamp(420px, 60vh, 600px); }
[data-tp="offers-page"] .tpo-hero-pic img { transform-origin: center; animation: tpoKenBurns 22s ease-in-out infinite alternate; will-change: transform; }
[data-tp="offers-page"] .tpo-hero-shade {
	background: linear-gradient(180deg, rgba(5, 15, 35, .25) 0%, rgba(5, 15, 35, .15) 35%, rgba(5, 15, 35, .88) 100%);
}
[data-tp="offers-page"] .tpo-hero--plain .tpo-hero-shade { background: radial-gradient(ellipse 40% 60% at 8% 0%, rgba(255, 183, 3, .2), transparent 70%); }
[data-tp="offers-page"] .tpo-hero-inner { width: 100%; padding-bottom: 36px; }
@keyframes tpoKenBurns { from { transform: scale(1); } to { transform: scale(1.14); } }
.tpo-sec-head--about { justify-content: center; text-align: center; margin-bottom: 18px; }
@media (max-width: 768px) { [data-tp="offers-page"] .tpo-hero { min-height: 380px; } }
@media (prefers-reduced-motion: reduce) { [data-tp="offers-page"] .tpo-hero-pic img { animation: none; } }

/* =====================================================================
   /offers/{slug} hero slider (multiple banners) — Owl-style slide, dots, arrows
   ===================================================================== */
.tpo-hero-shade { pointer-events: none; }
.tpo-slider { position: absolute; inset: 0; overflow: hidden; }
.tpo-slide { position: absolute; inset: 0; visibility: hidden; will-change: transform; }
.tpo-slide.is-cur, .tpo-slide.is-leave, .tpo-slide.is-enter { visibility: visible; }
.tpo-slide.is-cur, .tpo-slide.is-leave { transition: transform .85s cubic-bezier(.4, 0, .2, 1); }
.tpo-slide picture, .tpo-slide img { display: block; width: 100%; height: 100%; }
.tpo-slide img { object-fit: cover; transform-origin: center; }
.tpo-slide.is-cur img, .tpo-slide.is-leave img { animation: tpoZoomInOut 12s ease-in-out infinite; will-change: transform; }
@keyframes tpoZoomInOut { 0% { transform: scale(1); } 50% { transform: scale(1.12); } 100% { transform: scale(1); } }

.tpo-nav {
	position: absolute; top: 50%; z-index: 4; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .18); color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
	display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); transition: background .2s;
}
.tpo-nav:hover { background: rgba(255, 183, 3, .9); color: #1a1a1a; }
.tpo-nav--prev { left: 16px; }
.tpo-nav--next { right: 16px; }
.tpo-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 4; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.tpo-dot {
	pointer-events: auto; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px;
	background: rgba(255, 255, 255, .55); cursor: pointer; transition: width .25s, background .25s;
}
.tpo-dot.is-on { width: 28px; background: var(--tpo-accent); }
@media (max-width: 768px) {
	.tpo-nav { width: 36px; height: 36px; margin-top: -18px; font-size: 22px; }
	.tpo-nav--prev { left: 8px; }
	.tpo-nav--next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
	.tpo-slide.is-cur img, .tpo-slide.is-leave img { animation: none; }
}

/* ---------- animated main-menu button (offer) ---------- */
.tpo-menu-li { display: flex; align-items: center; list-style: none; }
.tpo-menu-btn {
	position: relative; display: inline-flex !important; align-items: center; gap: 7px; overflow: hidden; white-space: nowrap;
	padding: 8px 16px !important; border-radius: 999px !important; font-weight: 800 !important; font-size: 13.5px !important; line-height: 1.2;
	color: #fff !important; text-decoration: none !important; border: 0 !important;
	background: linear-gradient(110deg, #b30f1c, #e63946, #f4a62a, #1b8a4b, #b30f1c) 0 0 / 300% 100%;
	animation: tpoMenuFlow 6s linear infinite, tpoMenuPulse 2.4s ease-in-out infinite;
	box-shadow: 0 0 0 0 rgba(230, 57, 70, .55);
}
.tpo-menu-btn--default { background-image: linear-gradient(110deg, #0b2545, #1d4e89, #ffb703, #1d4e89, #0b2545); box-shadow: 0 0 0 0 rgba(255, 183, 3, .55); animation-name: tpoMenuFlow, tpoMenuPulseGold; }
.tpo-menu-btn:hover { transform: translateY(-1px) scale(1.04); filter: brightness(1.08); }
.tpo-menu-ico { font-size: 14px; animation: tpoMenuWiggle 2.8s ease-in-out infinite; transform-origin: 50% 80%; }
.tpo-menu-txt { position: relative; z-index: 1; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.tpo-menu-spark {
	position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); transform: skewX(-20deg);
	animation: tpoMenuShine 3.2s ease-in-out infinite;
}
.tpo-menu-li--drawer { display: block; padding: 6px 0; }
.tpo-menu-li--drawer .tpo-menu-btn { display: flex !important; width: 100%; padding: 13px 18px !important; font-size: 15px !important; }
@keyframes tpoMenuFlow { to { background-position: 300% 0; } }
@keyframes tpoMenuPulse { 0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, .55); } 70%, 100% { box-shadow: 0 0 0 11px rgba(230, 57, 70, 0); } }
@keyframes tpoMenuPulseGold { 0% { box-shadow: 0 0 0 0 rgba(255, 183, 3, .55); } 70%, 100% { box-shadow: 0 0 0 11px rgba(255, 183, 3, 0); } }
@keyframes tpoMenuWiggle { 0%, 55%, 100% { transform: rotate(0); } 62% { transform: rotate(-16deg); } 70% { transform: rotate(14deg); } 78% { transform: rotate(-9deg); } 86% { transform: rotate(6deg); } }
@keyframes tpoMenuShine { 0%, 45% { left: -60%; } 80%, 100% { left: 130%; } }
/* ---------- menu button: live border (comet circling the edge) ---------- */
@property --tpo-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.tpo-menu-btn {
	--tpo-fill: linear-gradient(110deg, #b30f1c, #e63946, #f4a62a, #1b8a4b, #b30f1c);
	--tpo-comet: conic-gradient(from var(--tpo-ang), transparent 0 52%, rgba(255, 255, 255, .25) 68%, #fff 90%, #ffe07a 100%);
	border: 2px solid transparent !important; padding: 6px 14px !important;
	background-image: var(--tpo-fill), var(--tpo-comet), linear-gradient(#f4c542, #c9951a) !important;
	background-size: 300% 100%, 100% 100%, 100% 100% !important;
	background-origin: padding-box, border-box, border-box !important;
	background-clip: padding-box, border-box, border-box !important;
	background-repeat: no-repeat !important;
	animation: tpoMenuFlow 6s linear infinite, tpoMenuSpin 2.6s linear infinite, tpoMenuPulse 2.4s ease-in-out infinite !important;
}
.tpo-menu-btn--default { --tpo-fill: linear-gradient(110deg, #0b2545, #1d4e89, #ffb703, #1d4e89, #0b2545); animation-name: tpoMenuFlow, tpoMenuSpin, tpoMenuPulseGold !important; }
.tpo-menu-li--drawer .tpo-menu-btn { padding: 11px 18px !important; }
@keyframes tpoMenuSpin { to { --tpo-ang: 360deg; } }
