/* ==========================================================================
   SPOTTYGO TRAVEL PACKAGES & GROUP TOURS STOREFRONT DESIGN SYSTEM
   Phase 40 — Premium Listing, Discovery, Filters, SEO & Conversion UX
   ========================================================================== */

/* Fonts loaded via layout XML head */


:root {
    --tp-primary: #FE5611;
    --tp-primary-hover: #E04B0E;
    --tp-primary-light: #FFF7ED;
    --tp-accent: #2563EB;
    --tp-accent-hover: #1D4ED8;
    --tp-dark: #0F172A;
    --tp-slate: #1E293B;
    --tp-text-body: #334155;
    --tp-text-muted: #64748B;
    --tp-border: #E2E8F0;
    --tp-border-light: #F1F5F9;
    --tp-bg-card: #FFFFFF;
    --tp-bg-subtle: #F8FAFC;
    --tp-success: #16A34A;
    --tp-success-bg: #DCFCE7;
    --tp-warning: #D97706;
    --tp-warning-bg: #FEF3C7;
    --tp-danger: #DC2626;
    --tp-danger-bg: #FEE2E2;
    --tp-radius: 12px;
    --tp-radius-sm: 8px;
    --tp-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --tp-shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --tp-shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
}

/* Base Wrapper */
.tp-page-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 28px 24px 72px;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--tp-text-body);
    box-sizing: border-box;
}

/* ── Suppress Magento default unstyled page title wrapper ── */
.page-title-wrapper,
.page-title-wrapper .page-title,
h1.page-title {
    display: none !important;
}

/* ── Override Magento content area padding that collapses our layout ── */
.page-main,
.page-main > .columns,
.page-main > .columns > .column.main,
.page-layout-1column .page-main,
.page-layout-1column .page-main > .columns,
.page-layout-1column .page-main > .columns > .column.main {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* Breadcrumbs */
.tp-breadcrumbs {
    margin-bottom: 20px;
    font-size: 13px;
}
.tp-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--tp-text-muted);
}
.tp-breadcrumb-list a {
    color: var(--tp-text-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}
.tp-breadcrumb-list a:hover {
    color: var(--tp-primary);
}
.tp-breadcrumb-list .tp-sep {
    color: #CBD5E1;
}
.tp-breadcrumb-list .tp-active {
    color: var(--tp-dark);
    font-weight: 700;
}

/* Hero Header Banner */
.tp-header-banner {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #0F2951 100%);
    border-radius: var(--tp-radius);
    padding: 48px 40px;
    color: #FFFFFF;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--tp-shadow-md);
}
.tp-header-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(254, 86, 17, 0.12) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.tp-header-banner::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(254, 86, 17, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.tp-header-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}
.tp-header-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(254, 86, 17, 0.18);
    color: #FE8C5A;
    border: 1px solid rgba(254, 86, 17, 0.35);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.tp-header-title {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
    color: #FFFFFF;
    line-height: 1.2;
}
.tp-header-desc {
    font-size: 15px;
    color: #94A3B8;
    margin: 0 0 20px;
    line-height: 1.65;
    max-width: 600px;
}
.tp-header-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.tp-header-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.tp-header-stat-val {
    font-size: 22px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}
.tp-header-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   LISTING LAYOUT & SIDEBAR FILTERS
   ========================================================================== */

.tp-listing-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

/* Sidebar (Desktop) */
.tp-sidebar {
    grid-column: 1;
    background: var(--tp-bg-card);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    padding: 22px;
    box-shadow: var(--tp-shadow);
    position: sticky;
    top: 90px;
    box-sizing: border-box;
}

/* Main Results Column */
.tp-main-results {
    grid-column: 2;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Base Backdrop: Hidden by default */
.tp-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
    z-index: 1040;
}
.tp-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--tp-border-light);
}
.tp-sidebar-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tp-sidebar-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--tp-dark);
    margin: 0;
}
.tp-clear-all-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--tp-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}
.tp-clear-all-link:hover {
    color: var(--tp-primary-hover);
    text-decoration: underline;
}
.tp-sidebar-close {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--tp-dark);
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}

/* Filter Groups */
.tp-filter-group {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--tp-border-light);
}
.tp-filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.tp-filter-group-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--tp-dark);
    margin: 0 0 12px;
}
.tp-filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}
.tp-filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--tp-text-body);
    cursor: pointer;
    user-select: none;
    transition: color 0.15s ease;
}
.tp-filter-option:hover {
    color: var(--tp-primary);
}
.tp-filter-option input[type="radio"],
.tp-filter-option input[type="checkbox"] {
    accent-color: var(--tp-primary);
    cursor: pointer;
    width: 16px;
    height: 16px;
    margin: 0;
}

/* Price Inputs */
.tp-price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}
.tp-price-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-sm);
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}
.tp-price-input:focus {
    border-color: var(--tp-primary);
}
.tp-btn-apply-price {
    background: var(--tp-primary);
    color: #FFFFFF;
    border: none;
    border-radius: var(--tp-radius-sm);
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}
.tp-btn-apply-price:hover {
    background: var(--tp-primary-hover);
}

.tp-mobile-drawer-actions {
    display: none;
}

/* Mobile Filter Trigger Bar (Hidden on Desktop) */
.tp-mobile-filter-bar {
    display: none;
    margin-bottom: 20px;
    gap: 12px;
    align-items: center;
}
.tp-btn-mobile-filter {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--tp-bg-card);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-sm);
    padding: 10px 16px;
    height: 44px;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 700;
    color: var(--tp-dark);
    cursor: pointer;
    box-shadow: var(--tp-shadow);
}
.tp-filter-count-badge {
    background: var(--tp-primary);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 12px;
}
.tp-mobile-sort-wrap {
    flex: 1;
}
.tp-mobile-sort-wrap .tp-select-sort {
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 700;
}

/* ==========================================================================
   RESULTS TOOLBAR & VIEW CONTROLS
   ========================================================================== */

.tp-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    background: var(--tp-bg-card);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    padding: 14px 20px;
    margin-bottom: 24px;
    box-shadow: var(--tp-shadow);
}
.tp-toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.tp-results-count {
    font-size: 14px;
    font-weight: 700;
    color: var(--tp-dark);
}
.tp-active-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tp-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--tp-primary-light);
    color: #C2410C;
    border: 1px solid #FED7AA;
    padding: 3px 8px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}
.tp-chip-remove {
    color: #9A3412;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    line-height: 1;
}
.tp-chip-remove:hover {
    color: #7C2D12;
}

.tp-toolbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.tp-view-mode-toggle {
    display: flex;
    background: var(--tp-bg-subtle);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-sm);
    padding: 2px;
}
.tp-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--tp-text-muted);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
}
.tp-view-btn.active {
    background: #FFFFFF;
    color: var(--tp-primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.tp-view-btn:hover:not(.active) {
    color: var(--tp-dark);
}

.tp-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.tp-sort-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--tp-text-muted);
}
.tp-select-sort {
    padding: 7px 12px;
    border-radius: var(--tp-radius-sm);
    border: 1px solid var(--tp-border);
    background: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    color: var(--tp-dark);
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s ease;
}
.tp-select-sort:focus {
    border-color: var(--tp-primary);
}

/* ==========================================================================
   PACKAGE CARD COMPONENT (REUSABLE)
   ========================================================================== */

.tp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.tp-card {
    background: var(--tp-bg-card);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    overflow: hidden;
    box-shadow: var(--tp-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    display: flex;
    flex-direction: column;
}
.tp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tp-shadow-md);
    border-color: #CBD5E1;
}

/* Card Media */
.tp-card-media {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #CBD5E1 0%, #94A3B8 100%);
    overflow: hidden;
    flex-shrink: 0;
}
.tp-card-media-link {
    display: block;
    width: 100%;
    height: 100%;
}
.tp-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.tp-card:hover .tp-card-media img {
    transform: scale(1.06);
}
/* Gradient overlay for badge contrast */
.tp-card-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.35) 0%,
        transparent 40%,
        rgba(15, 23, 42, 0.45) 100%
    );
    pointer-events: none;
}
.tp-badge-type {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.88);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.tp-badge-duration {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--tp-dark);
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}

/* Card Content */
.tp-card-content {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.tp-card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.tp-card-dest {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--tp-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}
.tp-card-dest:hover {
    color: var(--tp-primary-hover);
    text-decoration: underline;
}
.tp-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--tp-dark);
}
.tp-card-rating .tp-star {
    color: #F59E0B;
}
.tp-card-rating .tp-review-count {
    color: var(--tp-text-muted);
    font-size: 11px;
}
.tp-card-featured-tag {
    font-size: 11px;
    font-weight: 700;
    color: #059669;
}

.tp-card-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--tp-dark);
    margin: 0 0 8px;
    line-height: 1.35;
}
.tp-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}
.tp-card-title a:hover {
    color: var(--tp-primary);
}
.tp-card-desc {
    font-size: 13px;
    color: var(--tp-text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Departure Slot Box */
.tp-card-slot {
    background: var(--tp-bg-subtle);
    border: 1px solid var(--tp-border-light);
    border-radius: var(--tp-radius-sm);
    padding: 9px 12px;
    margin-bottom: 16px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tp-slot-info {
    display: flex;
    flex-direction: column;
}
.tp-slot-label {
    font-size: 10.5px;
    text-transform: uppercase;
    color: var(--tp-text-muted);
    font-weight: 600;
}
.tp-slot-date {
    font-size: 12.5px;
    color: var(--tp-dark);
    font-weight: 700;
}
.tp-slot-seats {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}
.tp-slot-seats.available {
    background: var(--tp-success-bg);
    color: var(--tp-success);
}
.tp-slot-seats.almost_full {
    background: var(--tp-warning-bg);
    color: var(--tp-warning);
}
.tp-slot-seats.full {
    background: var(--tp-danger-bg);
    color: var(--tp-danger);
}
.tp-slot-on-demand {
    color: var(--tp-text-muted);
    font-size: 12px;
    justify-content: center;
}

/* Card Footer / Pricing & CTA */
.tp-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--tp-border-light);
    padding-top: 14px;
}
.tp-price-label {
    font-size: 10.5px;
    color: var(--tp-text-muted);
    display: block;
    text-transform: uppercase;
    font-weight: 600;
}
.tp-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.tp-price-val {
    font-size: 20px;
    font-weight: 800;
    color: var(--tp-dark);
    letter-spacing: -0.02em;
}
.tp-price-unit {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--tp-text-muted);
}
.tp-btn-view,
a.tp-btn-view,
a.tp-btn-view:link,
a.tp-btn-view:visited,
a.tp-btn-view:focus,
a.tp-btn-view:active {
    background: var(--tp-primary);
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: var(--tp-radius-sm);
    transition: background 0.15s ease, transform 0.12s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.tp-btn-view:hover,
a.tp-btn-view:hover {
    background: var(--tp-primary-hover);
    color: #FFFFFF !important;
    transform: translateY(-1px);
    text-decoration: none !important;
}

/* ==========================================================================
   LIST VIEW OVERRIDES
   ========================================================================== */

.tp-list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.tp-list-view .tp-card,
.tp-card-list {
    flex-direction: row;
}
.tp-list-view .tp-card-media,
.tp-card-list .tp-card-media {
    width: 320px;
    height: auto;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .tp-list-view .tp-card,
    .tp-card-list {
        flex-direction: column;
    }
    .tp-list-view .tp-card-media,
    .tp-card-list .tp-card-media {
        width: 100%;
        height: 200px;
    }
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.tp-pagination {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}
.tp-pagination-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    align-items: center;
}
.tp-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: var(--tp-radius-sm);
    border: 1px solid var(--tp-border);
    background: #FFFFFF;
    color: var(--tp-dark);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}
.tp-page-link:hover {
    border-color: var(--tp-primary);
    color: var(--tp-primary);
}
.tp-page-current {
    background: var(--tp-primary);
    border-color: var(--tp-primary);
    color: #FFFFFF !important;
}

/* Empty State */
.tp-empty-state {
    background: var(--tp-bg-card);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    padding: 60px 24px;
    text-align: center;
    box-shadow: var(--tp-shadow);
}
.tp-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
.tp-empty-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--tp-dark);
    margin: 0 0 8px;
}
.tp-empty-desc {
    font-size: 14.5px;
    color: var(--tp-text-muted);
    max-width: 500px;
    margin: 0 auto 24px;
    line-height: 1.6;
}
.tp-empty-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.tp-btn-empty-reset {
    background: var(--tp-bg-subtle);
    border: 1px solid var(--tp-border);
    color: var(--tp-dark);
    padding: 10px 20px;
    border-radius: var(--tp-radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease;
}
.tp-btn-empty-reset:hover {
    background: #E2E8F0;
}
.tp-btn-empty-browse {
    background: var(--tp-primary);
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: var(--tp-radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease;
}
.tp-btn-empty-browse:hover {
    background: var(--tp-primary-hover);
}

/* ==========================================================================
   HOMEPAGE INTEGRATION SECTIONS
   ========================================================================== */

.tp-home-section {
    padding: 40px 0;
}
.tp-section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}
.tp-btn-browse-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--tp-primary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--tp-radius-sm);
    border: 1px solid rgba(254, 86, 17, 0.3);
    transition: all 0.15s ease;
}
.tp-btn-browse-all:hover {
    background: var(--tp-primary-light);
    color: var(--tp-primary-hover);
}

/* Homepage Bottom View All Button */
.tp-home-bottom-bar {
    margin-top: 36px;
    margin-bottom: 24px;
    text-align: center;
}
.tp-home-bottom-bar .sg-view-all-btn,
.tp-home-bottom-bar a.sg-view-all-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    color: #0F172A !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 12px 28px !important;
    border-radius: 100px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
}
.tp-home-bottom-bar .sg-view-all-btn:hover,
.tp-home-bottom-bar a.sg-view-all-btn:hover {
    border-color: #FE5611 !important;
    color: #FE5611 !important;
    background: #FFF5EE !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(254, 86, 17, 0.15) !important;
}

/* Destination Discovery Pills */
.tp-home-destinations {
    background: var(--tp-bg-card);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    padding: 16px 20px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: var(--tp-shadow);
}
.tp-dest-intro {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--tp-dark);
    white-space: nowrap;
}
.tp-dest-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.tp-dest-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--tp-bg-subtle);
    border: 1px solid var(--tp-border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tp-dark);
    text-decoration: none;
    transition: all 0.15s ease;
}
.tp-dest-pill:hover,
.tp-dest-pill.active {
    background: var(--tp-primary-light);
    border-color: #FED7AA;
    color: #C2410C;
}
.tp-dest-badge {
    background: #E2E8F0;
    color: var(--tp-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
}
.tp-dest-pill:hover .tp-dest-badge,
.tp-dest-pill.active .tp-dest-badge {
    background: #FDBA74;
    color: #7C2D12;
}

/* Upcoming Departures Section */
.tp-upcoming-section {
    background: linear-gradient(135deg, #090E17 0%, #111827 50%, #1A2234 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 36px 32px;
    margin-top: 48px;
    color: #FFFFFF;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}
.tp-upcoming-header {
    margin-bottom: 28px;
}
.tp-urgent-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(254, 86, 17, 0.15);
    border: 1px solid rgba(254, 86, 17, 0.4);
    color: #FF8A50;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    backdrop-filter: blur(4px);
}
.tp-upcoming-title {
    font-size: 26px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}
.tp-upcoming-desc {
    font-size: 14px;
    color: #94A3B8;
    margin: 0;
    line-height: 1.5;
}

.tp-upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.tp-upcoming-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    backdrop-filter: blur(12px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.25s ease, 
                box-shadow 0.25s ease,
                background 0.25s ease;
    position: relative;
}
.tp-upcoming-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(254, 86, 17, 0.45);
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(254, 86, 17, 0.15);
}

/* Card Top Bar (Date & Seat Badge side by side) */
.tp-upcoming-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.tp-upcoming-date-box {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    background: rgba(254, 86, 17, 0.12);
    border: 1px solid rgba(254, 86, 17, 0.3);
    padding: 5px 11px;
    border-radius: 8px;
    flex-shrink: 0;
}
.tp-upcoming-month {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    color: #FF7A45;
    letter-spacing: 0.04em;
}
.tp-upcoming-day {
    font-size: 17px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
}
.tp-upcoming-year {
    font-size: 11.5px;
    font-weight: 600;
    color: #94A3B8;
}

/* Seat Availability Badges */
.tp-upcoming-seat-status {
    flex-shrink: 0;
}
.tp-seat-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.3;
    letter-spacing: 0.01em;
}
.tp-seat-pill.available {
    background: rgba(16, 185, 129, 0.16);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.35);
}
.tp-seat-pill.warning {
    background: rgba(245, 158, 11, 0.18);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}
.tp-seat-pill.full {
    background: rgba(239, 68, 68, 0.18);
    color: #F87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Card Body / Info */
.tp-upcoming-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}
.tp-upcoming-dest {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: #FF8A50;
    letter-spacing: 0.03em;
}
.tp-upcoming-pkg-name {
    font-size: 15.5px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}
.tp-upcoming-pkg-name a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.2s ease;
}
.tp-upcoming-pkg-name a:hover {
    color: #FF8A50;
}
.tp-upcoming-meeting {
    font-size: 12px;
    color: #94A3B8;
    line-height: 1.35;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tp-upcoming-meeting .tp-meeting-icon {
    margin-right: 3px;
    opacity: 0.8;
}

/* Card Footer (Price & CTA Button) */
.tp-upcoming-footer,
.tp-upcoming-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tp-upcoming-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.tp-price-mini-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748B;
    line-height: 1;
}
.tp-price-value-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: nowrap;
}
.tp-price-mini-val {
    font-size: 18px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.1;
    white-space: nowrap;
}
.tp-price-mini-unit {
    font-size: 10.5px;
    font-weight: 600;
    color: #94A3B8;
    white-space: nowrap;
}

/* The Proper View Tour Button */
.tp-btn-book-tour {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #FE5611 0%, #FF733B 100%);
    color: #FFFFFF !important;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(254, 86, 17, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1.2;
}
.tp-btn-book-tour:hover {
    background: linear-gradient(135deg, #E04B0E 0%, #FE5611 100%);
    box-shadow: 0 6px 18px rgba(254, 86, 17, 0.55);
    transform: translateY(-1px);
    color: #FFFFFF !important;
}
.tp-btn-book-tour:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(254, 86, 17, 0.3);
}
.tp-btn-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}
.tp-btn-book-tour:hover .tp-btn-arrow {
    transform: translateX(3px);
}

/* =========================================
   PDP (PACKAGE DETAIL PAGE) STYLES
   ========================================= */
.tp-pdp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 36px;
    align-items: start;
    margin-top: 24px;
    width: 100%;
    box-sizing: border-box;
}
.tp-pdp-main {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}
.tp-pdp-sidebar {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}
.tp-pdp-hero {
    border-radius: var(--tp-radius);
    overflow: hidden;
    position: relative;
    height: 400px;
    margin-bottom: 24px;
    box-shadow: var(--tp-shadow);
    width: 100%;
    box-sizing: border-box;
}
.tp-pdp-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tp-pdp-header {
    margin-bottom: 24px;
}
.tp-pdp-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--tp-dark);
    margin: 8px 0 12px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}
.tp-pdp-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}
.tp-fact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--tp-bg-subtle);
    border: 1px solid var(--tp-border);
    padding: 8px 14px;
    border-radius: var(--tp-radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--tp-dark);
}

/* PDP Sections */
.tp-section-box {
    background: var(--tp-bg-card);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    padding: 24px 28px;
    margin-bottom: 28px;
    box-shadow: var(--tp-shadow);
}
.tp-section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--tp-dark);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--tp-border-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Day-wise Itinerary Accordion */
.tp-itinerary-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.tp-day-card {
    border: 1px solid var(--tp-border);
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    transition: border-color 0.2s ease;
}
.tp-day-card.active {
    border-color: var(--tp-primary);
}
.tp-day-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--tp-bg-subtle);
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
    transition: background 0.15s ease;
}
.tp-day-header:hover {
    background: #f1f5f9;
}
.tp-day-badge {
    background: var(--tp-primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.tp-day-title-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--tp-dark);
    margin-left: 12px;
    flex-grow: 1;
}
.tp-day-icon {
    font-size: 14px;
    color: var(--tp-text-muted);
    transition: transform 0.2s ease;
}
.tp-day-card.active .tp-day-icon {
    transform: rotate(180deg);
}
.tp-day-body {
    display: none;
    padding: 20px;
    border-top: 1px solid var(--tp-border-light);
    font-size: 14px;
    line-height: 1.6;
    color: var(--tp-text-body);
}
.tp-day-card.active .tp-day-body {
    display: block;
}

/* Activities Grid within Day */
.tp-activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 16px 0;
}
.tp-act-box {
    background: var(--tp-bg-subtle);
    border: 1px solid var(--tp-border-light);
    border-radius: 8px;
    padding: 12px 14px;
}
.tp-act-time {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--tp-primary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.tp-act-text {
    font-size: 13px;
    color: var(--tp-dark);
    font-weight: 500;
}

/* Day Meta */
.tp-day-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--tp-border);
}
.tp-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    background: #f1f5f9;
    color: var(--tp-dark);
    padding: 4px 10px;
    border-radius: 6px;
}

/* Inclusions & Exclusions */
.tp-inc-exc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.tp-inc-box, .tp-exc-box {
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 14px;
    line-height: 1.6;
}
.tp-inc-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}
.tp-exc-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Sticky Booking Sidebar */
.tp-sticky-sidebar {
    position: sticky;
    top: 90px;
    background: var(--tp-bg-card);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    padding: 24px;
    box-shadow: var(--tp-shadow-md);
    width: 100%;
    box-sizing: border-box;
}
.tp-sidebar-price {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--tp-border-light);
}

/* Departure Selector Cards */
.tp-departure-selector {
    margin-bottom: 20px;
}
.tp-selector-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--tp-dark);
    margin-bottom: 10px;
    letter-spacing: 0.03em;
}
.tp-dep-radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 4px;
}
.tp-dep-option {
    border: 2px solid var(--tp-border);
    border-radius: 8px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tp-dep-option:hover:not(.disabled) {
    border-color: #FED7AA;
    background: var(--tp-primary-light);
}
.tp-dep-option.selected {
    border-color: var(--tp-primary);
    background: var(--tp-primary-light);
}
.tp-dep-option.disabled {
    opacity: 0.55;
    background: #f8fafc;
    cursor: not-allowed;
    border-color: #e2e8f0;
}
.tp-dep-date {
    font-size: 14px;
    font-weight: 700;
    color: var(--tp-dark);
}
.tp-dep-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Traveler Stepper */
.tp-traveler-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--tp-bg-subtle);
    border: 1px solid var(--tp-border);
    border-radius: 8px;
    padding: 6px 12px;
    margin-bottom: 20px;
}
.tp-stepper-btn {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    border: 1px solid var(--tp-border);
    background: #ffffff;
    font-size: 18px;
    font-weight: 700;
    color: var(--tp-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
}
.tp-stepper-btn:hover:not(:disabled) {
    background: #e2e8f0;
}
.tp-stepper-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.tp-stepper-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--tp-dark);
    min-width: 32px;
    text-align: center;
}

/* Booking Breakdown */
.tp-booking-summary {
    background: var(--tp-bg-subtle);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
}
.tp-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--tp-text-muted);
    margin-bottom: 6px;
}
.tp-summary-row.total {
    border-top: 1px solid var(--tp-border);
    padding-top: 8px;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 800;
    color: var(--tp-dark);
}

/* Primary Book Button */
.tp-btn-book {
    width: 100%;
    padding: 14px;
    background: var(--tp-primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.tp-btn-book:hover:not(:disabled) {
    background: var(--tp-primary-hover);
    transform: translateY(-1px);
}
.tp-btn-book:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================================================
   PDP STOREFRONT UX & MOBILE STICKY BAR
   ========================================================================== */

.tp-mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: 1px solid var(--tp-border);
    padding: 12px 18px;
    z-index: 999;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    align-items: center;
    justify-content: space-between;
}
.tp-mobile-sticky-info {
    display: flex;
    flex-direction: column;
}
.tp-mobile-sticky-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--tp-dark);
}
.tp-mobile-sticky-price small {
    font-size: 11px;
    font-weight: 500;
    color: var(--tp-text-muted);
}
.tp-mobile-sticky-dep {
    font-size: 11px;
    color: var(--tp-text-muted);
}
.tp-btn-mobile-book {
    background: var(--tp-primary);
    color: #FFFFFF;
    border: none;
    border-radius: var(--tp-radius-sm);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(254, 86, 17, 0.3);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* PDP Custom Box & Itinerary Header helper styles */
.tp-pdp-custom-box {
    margin: 16px 0;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.tp-pdp-custom-link,
a.tp-pdp-custom-link,
a.tp-pdp-custom-link:link,
a.tp-pdp-custom-link:visited,
a.tp-pdp-custom-link:focus,
a.tp-pdp-custom-link:active {
    background: #2563eb;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none !important;
    white-space: nowrap;
    display: inline-block;
    transition: background 0.15s ease, opacity 0.15s ease;
}
.tp-pdp-custom-link:hover,
a.tp-pdp-custom-link:hover {
    background: #1d4ed8;
    color: #ffffff !important;
    text-decoration: none !important;
}
.tp-pdp-custom-link span,
a.tp-pdp-custom-link span {
    color: #ffffff !important;
}
.tp-itinerary-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--tp-border-light);
    flex-wrap: wrap;
    gap: 8px;
}

/* ── Laptops & Small Desktops (992px - 1200px) ── */
@media (max-width: 1200px) and (min-width: 992px) {
    .tp-pdp-layout {
        grid-template-columns: minmax(0, 1fr) 350px;
        gap: 24px;
    }
    .tp-sticky-sidebar {
        padding: 20px;
    }
}

/* ── Tablets & Mobile Breakpoint (<= 991px) ── */
@media (max-width: 991px) {
    .tp-listing-layout {
        display: block;
        width: 100%;
    }
    .tp-main-results {
        grid-column: auto;
        width: 100%;
    }
    .tp-sidebar {
        grid-column: auto;
    }
    .tp-mobile-filter-bar {
        display: flex;
    }
    .tp-toolbar .tp-sort-wrap {
        display: none;
    }

    /* Off-canvas Filter Drawer on Mobile */
    .tp-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: -320px;
        width: 300px;
        z-index: 1050;
        border-radius: 0;
        overflow-y: auto;
        transition: left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        margin: 0;
    }
    .tp-sidebar.tp-drawer-open {
        left: 0;
    }
    .tp-sidebar-close {
        display: block;
    }
    .tp-mobile-drawer-actions {
        display: block;
        margin-top: 24px;
        padding-top: 16px;
        border-top: 1px solid var(--tp-border-light);
    }
    .tp-btn-apply-mobile {
        width: 100%;
        background: var(--tp-primary);
        color: #FFFFFF;
        border: none;
        border-radius: var(--tp-radius-sm);
        padding: 12px;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
    }

    /* Drawer Backdrop */
    .tp-drawer-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.55);
        backdrop-filter: blur(2px);
        z-index: 1040;
    }
    .tp-drawer-backdrop.tp-backdrop-open {
        display: block;
    }
    body.tp-no-scroll {
        overflow: hidden !important;
    }

    /* PDP Stacking: Switch 2-column grid to vertical fluid column */
    .tp-pdp-layout {
        display: flex;
        flex-direction: column;
        gap: 28px;
        margin-bottom: 84px; /* clearance for mobile sticky CTA bar */
        width: 100%;
        box-sizing: border-box;
    }
    .tp-pdp-main {
        width: 100%;
        min-width: 0;
    }
    .tp-pdp-sidebar {
        width: 100%;
        min-width: 0;
    }
    .tp-sticky-sidebar {
        position: static;
        width: 100%;
        box-sizing: border-box;
    }
    .tp-inc-exc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Mobile Sticky Bar on PDP */
    .tp-mobile-sticky-bar {
        display: flex;
    }

    /* Prevent floating WhatsApp button from covering sticky Book button */
    .spottygo-float-widget {
        bottom: 84px !important;
        right: 18px !important;
        z-index: 998 !important;
    }
}

/* ── Tablets Portrait & Large Handsets (<= 768px) ── */
@media (max-width: 768px) {
    .tp-page-wrapper {
        padding: 16px 14px 90px;
    }
    .tp-header-banner {
        padding: 24px 20px;
    }
    .tp-header-title {
        font-size: 24px;
    }
    .tp-grid {
        grid-template-columns: 1fr;
    }
    .tp-upcoming-section {
        padding: 24px 18px;
    }
    .tp-upcoming-grid {
        grid-template-columns: 1fr;
    }
    .tp-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .tp-toolbar-right {
        justify-content: space-between;
    }

    /* PDP 768px Optimizations */
    .tp-pdp-hero {
        height: 280px;
        border-radius: 12px;
        margin-bottom: 20px;
    }
    .tp-pdp-title {
        font-size: 24px;
        margin: 6px 0 10px;
        line-height: 1.3;
    }
    .tp-pdp-facts {
        gap: 8px;
        margin-bottom: 20px;
    }
    .tp-fact-item {
        padding: 6px 12px;
        font-size: 12.5px;
    }
    .tp-section-box {
        padding: 20px 16px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    .tp-section-title {
        font-size: 18px;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }
    .tp-day-header {
        padding: 14px 16px;
    }
    .tp-day-badge {
        font-size: 11px;
        padding: 3px 8px;
    }
    .tp-day-title-text {
        font-size: 14.5px;
        margin-left: 8px;
    }
    .tp-day-body {
        padding: 16px;
    }
    .tp-activities-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .tp-dep-option {
        padding: 10px 12px;
    }
    .tp-dep-date {
        font-size: 13.5px;
    }
    .tp-dep-badge {
        font-size: 10.5px;
        padding: 2px 6px;
    }
    .tp-traveler-stepper {
        padding: 8px 12px;
    }
    .tp-mobile-sticky-bar {
        padding: 10px 16px;
    }
    .tp-mobile-sticky-price {
        font-size: 16px;
    }
    .tp-btn-mobile-book {
        padding: 10px 20px;
        font-size: 13.5px;
    }
}

/* ── Standard & Small Mobile Screens (<= 480px) ── */
@media (max-width: 480px) {
    .tp-header-title {
        font-size: 21px;
    }
    .tp-card-media {
        height: 190px;
    }
    .tp-card-content {
        padding: 14px 16px;
    }
    .tp-price-val {
        font-size: 18px;
    }
    .tp-btn-view {
        padding: 8px 14px;
        font-size: 12px;
    }

    /* PDP 480px Specifics */
    .tp-pdp-hero {
        height: 220px;
        border-radius: 10px;
    }
    .tp-pdp-title {
        font-size: 20px;
        line-height: 1.28;
    }
    .tp-pdp-facts {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .tp-fact-item {
        padding: 8px 10px;
        font-size: 11.5px;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
    .tp-section-box {
        padding: 16px 14px;
        border-radius: 10px;
        margin-bottom: 16px;
    }
    .tp-section-title {
        font-size: 16.5px;
    }
    .tp-day-header {
        padding: 12px 10px;
        gap: 6px;
    }
    .tp-day-title-text {
        font-size: 13.5px;
        margin-left: 6px;
    }
    .tp-day-body {
        padding: 14px 10px;
    }
    .tp-act-box {
        padding: 10px 10px;
    }
    .tp-day-meta {
        gap: 6px;
    }
    .tp-meta-pill {
        font-size: 11px;
        padding: 3px 8px;
    }
    .tp-dep-option {
        padding: 8px 10px;
    }
    .tp-dep-date {
        font-size: 12.5px;
    }
    .tp-traveler-stepper {
        padding: 6px 10px;
    }
    .tp-stepper-btn {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    .tp-stepper-val {
        font-size: 15px;
        min-width: 28px;
    }
    .tp-booking-summary {
        padding: 10px 12px;
    }
    .tp-summary-row {
        font-size: 12px;
    }
    .tp-summary-row.total {
        font-size: 15px;
    }
    .tp-btn-book {
        padding: 12px;
        font-size: 14.5px;
    }
    .tp-mobile-sticky-bar {
        padding: 8px 14px;
    }
    .tp-mobile-sticky-price {
        font-size: 15px;
    }
    .tp-btn-mobile-book {
        padding: 8px 14px;
        font-size: 13px;
    }
    .spottygo-float-widget {
        bottom: 74px !important;
        right: 12px !important;
    }
}
